Eureka AIR delivers breakthrough ideas for toughest innovation challenges, trusted by R&D personnel around the world.

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.

Active Publication Date: 2016-08-17
ALIBABA (CHINA) CO LTD
View PDF4 Cites 0 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 the long-term connection is established by the terminal in a routing-based local area network environment without unified communication management and the routing can only problem with short connection

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 connection based on routing layer
  • Method and system for long connection based on routing layer
  • Method and system for long connection based on routing layer

Examples

Experimental program
Comparison scheme
Effect test

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

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 present application discloses a method and system for a persistent connection based on a routing layer, including: in a routing-based local area network, receiving access requests sent by multiple terminals, generating at least one persistent connection request and sending it to a server; After responding to the persistent connection request and establishing the persistent connection, performing protocol adaptation processing on the access requests sent by multiple terminals to the server through the persistent connection, and receiving feedback from the server through the persistent connection the request data; monitor the amount of access requests of the terminal and combine the established transmission capacity of the long connection to control the number of the long connection. The present application solves the problem that in a routing-based local area network environment, long connections are established by terminals without unified communication management and routing 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 clien...

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 Patents(China)
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
Eureka Blog
Learn More
PatSnap group products