Method and system for long connections based on router level
A long connection and routing technology, applied in transmission systems, digital transmission systems, data exchange networks, etc., can solve the problems of unified communication management routing that can only establish short connections, long connections are not established by terminals, etc., to achieve the goal of reducing delay Effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0037] 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:
[0038] 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.
[0039] 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.
[0040] 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
[0050] 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:
[0051] 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.
[0052] 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
[0059] Combine below image 3 , the specific application of the method based on the long connection at the routing level is described in detail:
[0060] 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.
[0061] 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