Data communication method and apparatus

A technology of data communication and data communication system, applied in the field of data communication methods and devices, can solve the problem of occupying server communication resources, unable to guarantee the reliability, integrity and robustness of client data communication, and aggravating server communication resources occupation, etc. problems, to reduce the consumption of network traffic, ensure uniqueness and stability, and improve reliability.

Active Publication Date: 2012-10-17
ALIBABA GRP HLDG LTD
View PDF3 Cites 11 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The existing technology can only share a socket communication channel between multiple pages of the same type of browser, and cannot realize the sharing of socket communication channels across browsers
When the public socket communication channel disappears, each type of browser will provide a public socket communication channel, for example, the FireFox browser provides a public socket communication channel, the IE browser provides a public socket communication channel, and the Safari browser also provides a The public socket communication channel cannot guarantee the uniqueness of the public socket communication channel, which occupies a large amount of communication resources on the server side
In the scheme of realizing public socket communication channel based on cookie information, when tw

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
  • Data communication method and apparatus
  • Data communication method and apparatus
  • Data communication method and apparatus

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0022] The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Apparently, the described embodiments are part of the embodiments of the present application, not all of them. Based on the embodiments in the present application, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present application.

[0023] Such as image 3 As shown, it is a flow chart of the data communication method in Embodiment 1 of the present application, which is applied to a data communication system including a client and a server. The client is installed with one or more browser programs, and the browser program has a built-in flash Plug-in, when the browser program creates a new browser page, the above method includes the following steps:

[0024] In step 301, the browser ...

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 application discloses a data communication method and an apparatus, wherein the method and the apparatus are applied to a data communication system including a client and a server terminal. One or more browser programs are installed at the client; flash plug-in units are installed internally in the browser programs; and flash application files are contained in browser pages established by the browser programs. The data communication method comprises: a browser program operates a flash application file in an established browser page in a built-in flash plug-in unit so as to try to expose local connection interface in the flash application file; and then when the local connection interface is exposed successfully, the browser program establishes a communication channel with the server terminal and carries out data communication with the server terminal by the communication channel. With utilization of the data communication method and the apparatus, a technology of multi-page, cross-domain and cross-browser sharing of a socket communication channel can be realized; and reliability, completeness and robustness of data communication can be improved.

Description

technical field [0001] The present application relates to the technical field of communication, and in particular to a data communication method and device. Background technique [0002] The browser generally uses HTTP for data communication with the server, but in some scenarios, for example, where real-time data needs to be guaranteed, a socket (socket) communication channel can be used for data communication with the server. Compared with HTTP, socket communication is a lower-level persistent connection communication method. When the socket connection is established, the client and the server can send and receive data bidirectionally in real time. When the browser uses the socket communication channel to interact with the server, it can establish a socket communication channel with the server for each browser page, such as figure 1 As shown, this communication method requires the server to invest more communication resources, which increases hardware and management cost...

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
Inventor 曹文文李宁
Owner ALIBABA GRP HLDG LTD
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