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

Active Publication Date: 2014-08-27
ALIBABA (CHINA) CO LTD
View PDF4 Cites 31 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In view of this, the technical problem to be solved in this application is to provide a method and system for long-term connections based on the routing layer, so as to solve the problem that t

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
  • Method and system for long connections based on router level
  • Method and system for long connections based on router level
  • Method and system for long connections based on router level

Examples

Experimental program
Comparison scheme
Effect test

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...

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 method and system for long connections based on a router level. The method includes the steps that in a local area network based on a router, access request sent by multiple terminals are received, and at least one long connection request is generated and sent to a server; after the server responds to the long connection requests and establishes the long connections, protocol fit processing is conducted on the access requests sent by the terminals, the access requests are sent to the server through the long connections, and request data fed back by the server are received through the long connections; the number of the access requests of the terminals is monitored, and in combination with the transmission capacity of the established long connections, the number of the long connections is controlled. The method and system solve the problems that in the environment of the local area network based on the router, the long connections are established through the terminals, unified communication management is not available, and the router can only establish short connections.

Description

technical field [0001] The present application relates to the field of data connection communication, and more specifically, to a method and system for persistent connection based on routing layer. Background technique [0002] With the development of communication technology, people can establish network connections between terminals and servers to realize interactive transmission of data and information. Not only that, different terminals can also use data transmission to communicate interactively, and people can use the above The Internet network established by the transmission method obtains the required information. [0003] Usually, in the Internet, when the communication parties have data interaction, a connection needs to be established, and after the data transmission is completed, the connection is disconnected, that is, each connection only completes the sending of one service, such a connection is called for short connections. However, as far as different clie...

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): H04L12/911H04L29/06H04L12/24
Inventor 聂永姚键潘柏宇卢述奇
Owner ALIBABA (CHINA) 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