Browser-based data communication method, client and browser-based data interaction system

A data communication and data interaction technology, applied in the network field, can solve the problems of slow data processing capacity, large amount of transmitted data, multi-bandwidth, etc., and achieve the effect of saving bandwidth, improving transmission efficiency, and reducing intermediate links

Active Publication Date: 2012-07-11
TENCENT TECH (SHENZHEN) CO LTD
View PDF1 Cites 18 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In the process of realizing the present invention, the inventor found that the prior art has at least the following problems: when the client and the Web server perform data communication, the Http protocol is used to transmit data during the communication interaction process, and the transmitted data needs to be loaded with all headers in the Http protocol , because the Http protocol stipulates a lot of protocol fields, resulting in a large amount of transmitted data, and the problem of occupying too much bandwidth, and the ability to process data gradually becomes a bottleneck

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
  • Browser-based data communication method, client and browser-based data interaction system
  • Browser-based data communication method, client and browser-based data interaction system
  • Browser-based data communication method, client and browser-based data interaction system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0056] The five-layer structure of the existing TCP / IP protocol is as follows: figure 1As shown, wherein, the first and second layers are network interface layers, including hardware device drivers and media access protocols, and the third layer is an interconnection network layer, including ARP (Address Resolution Protocol, Address Resolution Protocol) protocol, RARP (Reverse Address Resolution Protocol, reverse address translation protocol) protocol, the fourth layer is the transport layer, including TCP (Transmission Control Protocol transmission control protocol) protocol and UDP (User Data Protocol, user datagram protocol) protocol, the fifth layer is the application layer, Including DNS (Domain Name System, domain name system service) protocol, FTP (File Transfer Protocol, file transfer protocol) protocol, Http protocol, Telnet (remote login) protocol, the existing technology uses the Http protocol on the fifth layer to perform client and service Terminal data communicat...

Embodiment 2

[0063] see image 3 , for the client, the embodiment of the present invention provides a browser-based data communication method, specifically including:

[0064] 201: The client sends a connection request to the server through the Http protocol, so that the server returns a response message to establish a connection with the server;

[0065] A kind of Flash file is provided in this embodiment, after browser loads this Flash file, Flash file uses XML Socket to connect security policy server, obtains security policy file, after successfully obtaining security policy file, Flash file just is authorized to use Socket accesses a certain port of a private server, and the client can connect to the server through the Socket created by the Flash file. In this embodiment, the server is a private server.

[0066] For this step, the client can send a connection request to the private server through the Socket interface, and when the response information returned by the private server i...

Embodiment 3

[0078] see Figure 4 , the embodiment of the present invention provides another browser-based data communication method, which specifically includes:

[0079] 301: Receive the request packet;

[0080] 302: Verify whether the header of the request data packet is legal, and if it is legal, generate request data from the request data packet according to a preset private protocol.

[0081] Wherein, the method further includes: obtaining response data according to the request data, generating a response data packet from the response data according to a private protocol, and sending the response data packet to the client through the browser.

[0082] In the method provided by the embodiment of the present invention, the response data is generated into a response data packet according to a private protocol, and sent to the client, which is similar to the existing method that first needs to be sent to the browser through the Http protocol, and the browser sends the response data pack...

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 browser-based data communication method, a client and a browser-based data interaction system, and belongs to the technical field of networks. The method comprises the following steps of: receiving request data input by a user through a browser; generating a request data packet on the basis of the request data according to a preset private protocol; and sending the request data packet to a server. The client comprises a first receiving unit, a first generating unit and a first sending unit. The data interaction system comprises the client and the server. According to the browser-based data communication method, the request data packet is generated on the basis of the request data according to the private protocol and sent to the server. Compared with the conventional method for sending the request data to the browser through a hyper text transport protocol (Http) and sending the request data to the server by the browser through the Http, the browser-based data communication method has the advantages that: middle loops during data communication are reduced, other protocol fields in the Http are not carried during data communication, the data transmission amount is reduced, the bandwidth is saved, and the data transmission efficiency is improved.

Description

technical field [0001] The invention relates to the field of network technology, in particular to a data communication method based on a browser, a client and a data interaction system. Background technique [0002] With the development of the Internet, more and more users obtain the information they are interested in through the Internet. Flash files are popular because they contain rich media, such as simple animations, videos, presentations, applications and their connections. attention of the majority of users. Whether it is a simple and ordinary Flash animation or a complex Flash game, the client interacts with the server through the browser to achieve data communication. Specifically, the client initiates a request for data based on the browser and receives the response returned by the Web server. Data, and realize the data communication between the client and the server through the Internet protocol. [0003] At present, the browser-based data communication method i...

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
Patent Type & Authority Applications(China)
IPC IPC(8): H04L29/08H04L29/06
CPCH04L67/2828H04L67/289H04L29/089G06F17/30864H04L29/0809H04L29/08783H04L67/02H04L69/22H04L63/0428H04L63/168G06F21/606H04L67/5651
Inventor 王啸枫唐炯
Owner TENCENT TECH (SHENZHEN) CO 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