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

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 provided b

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

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

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
Owner GUANGZHOU KUGOU TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products