Unlock instant, AI-driven research and patent intelligence for your innovation.

Communication method and device between client and local webpage

A local web page and client-side technology, applied in the network field, can solve the problems of poor real-time communication method and poor communication flexibility, and achieve the effect of improving flexibility and real-time performance.

Inactive Publication Date: 2016-02-24
GUANGZHOU KUGOU TECH
View PDF7 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, in the prior art, if the client needs to communicate with the local web page, it can only be relayed through the server, and can only take the form of one question and one answer, that is, the web page sends the request to the server, and the server sends the request to the server. After learning the request, the client sends the data to the local webpage. The real-time performance of this communication method is very poor, and because of the one-way communication, the flexibility of its communication is also very poor.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Communication method and device between client and local webpage
  • Communication method and device between client and local webpage
  • Communication method and device between client and local webpage

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0020] In order to make the objectives, technical solutions, and advantages of the present invention clearer, the embodiments of the present invention will be described in further detail below in conjunction with the accompanying drawings.

[0021] AS3, short for ActionScript3.0, refers to an object-oriented programming language.

[0022] Swf, short for shockwaveflash, refers to the special format of ADOBE's animation design software Flash.

[0023] Long connection (longconnection) means that multiple data packets can be sent continuously on a connection.

[0024] Short connection (shortconnection) is a concept relative to long connection. It means that in the process of data transmission, a connection is established only when data needs to be sent. After the data is sent, the connection is disconnected, that is, every time The connection only completes the sending of one service.

[0025] figure 1 It is a flowchart of a communication method between a client and a local webpage provide...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a method and device for communicating between a client and a webpage, and belongs to the technical field of networks. The method comprises the following steps: starting a local socket service of the client while detecting the starting o the client; when the appointed webpage is opened, establishing a socket connection between a flash program and the client through the flash program in an appointed webpage and the local socket service, enabling the appointed webpage to communicate with the client through the socket connection. The communication connection between the local webpage and the client is established through the adoption of the socket service and a built-in flash program of the webpage, so that the webpage and the client can be interacted with each other in real time when the data needs to interact without the transit of a server, the real-time of the data is greatly improved; the communication connection is a dual-way connection, and the flexibility of the communication is greatly improved in comparison with the original one-way connection.

Description

Technical field [0001] The present invention relates to the field of network technology, in particular to a communication method and device between a client and a local webpage. Background technique [0002] With the development of network technology, service providers can usually provide services in many different ways, such as clients and portals. For example, for audio-visual service providers, they can provide an audio-visual client or an audio-visual client. The portal website enriches the user's audio-visual hardware options and satisfies the user's audition needs to the greatest extent. [0003] Both the client and the web service can be run on the same device. In order to enhance the audio-visual experience, the web service can communicate with the client through the relay of the server, so as to synchronize the web service according to the actual running situation on the client, or provide other services. service. [0004] However, in the prior art, if the client needs to ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): H04L29/06H04L29/08
CPCH04L67/02H04L67/141H04L69/162
Inventor 张君伟
Owner GUANGZHOU KUGOU TECH