Method and system for long connection based on routing layer
A long connection and routing technology, applied in the transmission system, digital transmission system, electrical components, etc., can solve the problem that the unified communication management route can only establish a short connection, and the long connection is not established by the terminal, so as to reduce the delay.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0035] Such as figure 1 As shown, it is a method for a persistent connection based on the routing layer described in Embodiment 1 of the present application, the method includes:
[0036] Step 101, in a route-based local area network, receive access requests sent by multiple terminals, generate at least one persistent connection request and send it to a server.
[0037] The local area network described in the above step 101 is based on a local area network composed of network devices with routing functions, including but not limited to: routers, Hubs (multi-port network forwarders) and other devices.
[0038] When a user uses a terminal located in the local area network (including: computer terminal, mobile terminal, etc., not specifically limited here) to perform Internet operations (such as: accessing websites, downloading data, etc.), the programs or threads running on the terminal, such as : The browser and the download thread will send an access request to access the cor...
Embodiment 2
[0048] Such as figure 2 As shown, it is a method for a long connection based on the routing layer described in Embodiment 2 of the present application, the method includes:
[0049] Step 201, receiving access requests based on http and TCP protocols sent by multiple terminals located in the local area network, and counting the amount of data corresponding to the received access requests, and generating a matching number of long connection requests according to the amount of data sent to the server.
[0050] The number of initially established long connections will be determined according to the amount of data corresponding to the access requests sent by different terminals. Although the types of access requests sent by each terminal are different, the access requests are usually displayed in the form of message strings. By reading the The Content-Length (connection length, indicating the amount of data to be transmitted) in the header of the message string can know the amoun...
Embodiment 3
[0057] Combine below image 3 , the specific application of the method based on the long connection at the routing level is described in detail:
[0058] N terminals such as terminal 1, terminal 2 ... terminal N form a local area network, and establish a connection with the cloud server through the Hub Layer (multi-service request unified forwarder layer), where the Hub Layer can be a device with routing function ( Such as: a router), may also be software with a routing function, and a router is taken as an example in this embodiment.
[0059] N terminals send out different types of access requests respectively: the access request of terminal 1 is http short connection request, the access request of terminal 2 is http long connection request, the access request of terminal 3 is SPDY protocol request, and the access request of terminal 4 is TCP The connection request and the access request of terminal 5 are proxy protocol requests, and the access request of terminal N is a con...
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