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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com