WO2013152614A1 - 一种基于应用层数据的网络接入系统和方法 - Google Patents
一种基于应用层数据的网络接入系统和方法 Download PDFInfo
- Publication number
- WO2013152614A1 WO2013152614A1 PCT/CN2012/087969 CN2012087969W WO2013152614A1 WO 2013152614 A1 WO2013152614 A1 WO 2013152614A1 CN 2012087969 W CN2012087969 W CN 2012087969W WO 2013152614 A1 WO2013152614 A1 WO 2013152614A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- client
- server
- data
- application layer
- network access
- Prior art date
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1001—Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
Definitions
- the present invention relates to the field of communications technologies, and in particular, to a network access system and method based on application layer data. Background of the invention
- Transmission Control Protocol is a connection-oriented (connection-oriented), reliable, byte-based transport layer communication protocol, by the Internet Engineering Task Force (IETF) RIETF RFC 793 Description ( specified ) honor In the Streamlined Computer Network Open System Interconnection (OSI) model, it performs the functions specified by the Layer 4 transport layer.
- the TCP protocol stipulates that a connection should be established before the application layer data is transmitted.
- the two sides of the communication need to perform several times of information synchronization, which is generally called a three-way handshake.
- Three grips typically require two or three network packets with no application layer data to interact.
- the access server does not access the application layer data, but only receives the first packet for establishing a connection (for TCP, the first packet is usually the three-way handshake).
- the first packet is usually the three-way handshake.
- the access server receives the TCP three-way handshake packet, since the data packet does not contain the application layer data, the access server cannot select the back-end server for data forwarding.
- network access based on application layer data means that when data is forwarded, data of the application layer needs to be accessed to determine the forwarding target.
- the incoming server first establishes a TCP connection with the client through a three-way handshake, and then the access server receives application layer data from the client through the TCP connection.
- the access server parses the data that can be used for scheduling from the application layer data, selects a specific back-end server according to the data, that is, the target to which the application layer data is to be forwarded, and then establishes a TCP connection through the three-way handshake with the back-end server. Then, the back-end server returns data to the access server through the TCP connection with the access server, and the access server sends the data to the client through the TCP connection with the client, thereby implementing network access of the client.
- the access server needs to establish a TCP connection with the client and the back-end server through three-way handshake respectively, so the implementation complexity is high.
- the establishment of a TCP connection between the access server and the client and the back-end server necessarily requires a large amount of CPU and memory resources, and the data reception and transmission also requires additional memory copying, and the incoming and outgoing traffic needs to pass through the access server, so its work Inefficient, it is easy to become a bottleneck.
- the embodiment of the invention provides a network access system based on application layer data to reduce implementation complexity.
- the embodiment of the invention also proposes a network access method based on application layer data to reduce implementation complexity.
- a network access system based on application layer data comprising: at least one client, an access server, and a backend server group, wherein: a client, configured to establish a TCP connection with the access server, and send a data request to the access server based on the TCP connection;
- An access server configured to select, from the backend server group, a backend server serving the client according to the data request, and send the TCP protocol information negotiated in the TCP connection to the selected backend server ;
- the selected backend server is configured to directly provide data to the client according to the TCP protocol information.
- a network access method based on application layer data comprising:
- the client establishes a TCP connection with the access server, and sends a data request to the access server based on the TCP connection;
- the access server selects a backend server serving the client according to the data request, and sends the TCP protocol information negotiated in the TCP connection establishment process to the selected backend server;
- the selected backend server provides data directly to the client based on the TCP protocol information.
- the client first establishes a TCP connection with the access server, and sends a data request to the access server based on the TCP connection, and the access server requests the backend according to the data.
- the server group selects the back-end server serving the client, and then sends the TCP protocol information negotiated in the TCP connection to the selected back-end server, and then the selected back-end server does not pass the access according to the TCP protocol information.
- the server provides data directly to the client.
- the back-end server no longer performs a three-step handshake with the access server, but directly connects with the client according to the TCP protocol information to implement network access, so that the access server only needs to The client establishes a TCP connection without establishing a TCP connection with the backend server, thus reducing implementation complexity.
- the access server since the access server only needs to establish a TCP connection with the client, it does not need to establish a TCP connection with the backend server, thereby reducing the demand for CPU and memory resources.
- the outgoing traffic of the back-end server does not need to pass through the access server, the working efficiency of the access server is also improved.
- the backend server since the backend server no longer forwards data to the client through the access server, it can be considered to directly interact with the client from the perspective of the backend server, so for the backend server, the entire interaction process becomes Very simple. BRIEF DESCRIPTION OF THE DRAWINGS
- FIG. 1 is a schematic structural diagram of a network access system based on application layer data according to an embodiment of the present invention
- FIG. 2 is a flow chart of a network access method based on application layer data according to an embodiment of the present invention. Mode for carrying out the invention
- FIG. 1 is a schematic diagram showing the structure of a network access system based on application layer data according to an embodiment of the present invention.
- the system includes a client 101, an access server 102, and a backend server farm, wherein the backend server farm is comprised of at least two backend servers 103.
- a client 101 configured to establish a TCP connection with the access server 102, and send a data request to the access server 102 based on the TCP connection;
- An access server 102 configured to select, from the backend server group, a backend server 103 serving the client according to the data request (exemplarily, the backend selected in FIG.
- the server is the lowermost backend server of FIG. 1 and sends the TCP protocol information negotiated in the TCP connection to the selected backend server;
- the selected backend server 103 is configured to provide data directly to the client 101 without accessing the server 102 according to the TCP protocol information.
- the access server 102 parses the forwarding schedule information from the application layer content of the data request sent by the client 101, and determines the backend server 103 serving the client 101 based on the forwarding schedule information.
- the forwarding scheduling information may include a domain name of the server, a cookie information or an instant messaging number, and the like.
- the access server 102 forwards the scheduling information based on the domain name, cookie information, or instant messaging number of the server to determine the backend server 103 that specifically serves the client 101.
- the access server 102 may also determine the backend server 103 that serves the client 101 in accordance with other means such as load balancing.
- the TCP protocol information includes the IP address and port of the client.
- the selected backend server 103 can parse the IP address and port of the client 101 from the TCP protocol information, and then coexist with the parsed client IP address and port, and directly access the client through the access server 102.
- End 101 provides a data packet.
- the TCP protocol information may further include any one of the following information or any combination of at least two: a client data sequence number, and a data sequence number that informs the client when the server handshakes the proxy.
- the access server tells the client's flow control window size, whether to support timestamps, optional acknowledgment SACK (Selective Acknowledgement), display congestion notification ECN (Explicit Congestion Notification) or Window scaling.
- the embodiment of the present invention further provides a flow chart of a network access method based on application layer data.
- FIG. 2 is a flow chart of a network access method based on application layer data according to an embodiment of the present invention. Figure.
- the method includes:
- Step 201 The client establishes a TCP connection with the access server, and sends a data request to the access server based on the TCP connection.
- the client and the access server preferably establish a TCP connection with the server by means of a three-way handshake. Specifically include:
- the client and the access server negotiate TCP protocol information, and the access server saves the negotiated TCP protocol information for subsequent transmission to the back-end server.
- the TCP protocol information includes the client's IP address and port.
- the TCP protocol information may further include a sequence number, an acknowledgment number or a check word, etc., according to a corresponding specification of the TCP protocol.
- Step 202 The access server selects a backend server serving the client according to the data request, and sends the TCP protocol information negotiated in the TCP connection establishment process to the selected backend server.
- Step 203 The selected backend server directly provides data to the client according to the TCP protocol information without accessing the server.
- the selected backend server first parses out the client's IP address and port from the TCP protocol information, and then the selected backend server provides the client with the data packet according to the client's IP address and port. It can be seen that after receiving the TCP protocol information sent by the access server, the backend server no longer performs a three-step handshake with the access server, but directly generates a connection request with the client, and the kernel of the backend server will be the client.
- the message accessing the backend server informs the backend server of the user state.
- the access server continues to send subsequent packets of the client connected to the backend server to the backend server, and then the data packet replied by the backend server does not pass through the access server but returns directly to the client.
- the client first establishes a TCP connection with the access server, and sends a data request to the access server based on the TCP connection, and the access server requests from the backend server group according to the data request.
- the backend server that serves the client is selected, and the TCP protocol information negotiated in the TCP connection is sent to the selected backend server, and then the selected backend server provides data to the client according to the TCP protocol information.
- the back-end server no longer performs a three-step handshake with the access server, but directly connects with the client according to the TCP protocol information to implement network access, so that the access server only needs to The client establishes a TCP connection without establishing a TCP connection with the backend server, thus reducing implementation complexity.
- the access server since the access server only needs to establish a TCP connection with the client, it does not need to establish a TCP connection with the backend server, thus reducing the need for CPU and memory resources. At the same time, the outbound server does not need to go through the access server, so it also improves the efficiency of the access server.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
- Computer And Data Communications (AREA)
- Telephonic Communication Services (AREA)
Abstract
Description
Claims
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US14/512,488 US9819730B2 (en) | 2012-04-13 | 2014-10-13 | System and method for network access based on application layer data |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2012101077232A CN103379130A (zh) | 2012-04-13 | 2012-04-13 | 一种基于应用层数据的网络接入系统和方法 |
CN201210107723.2 | 2012-04-13 |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US14/512,488 Continuation US9819730B2 (en) | 2012-04-13 | 2014-10-13 | System and method for network access based on application layer data |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2013152614A1 true WO2013152614A1 (zh) | 2013-10-17 |
Family
ID=49327050
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2012/087969 WO2013152614A1 (zh) | 2012-04-13 | 2012-12-31 | 一种基于应用层数据的网络接入系统和方法 |
Country Status (4)
Country | Link |
---|---|
US (1) | US9819730B2 (zh) |
CN (1) | CN103379130A (zh) |
MY (1) | MY174320A (zh) |
WO (1) | WO2013152614A1 (zh) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104166586B (zh) * | 2014-09-04 | 2017-02-15 | 中南大学 | 一种基于虚拟化技术的透明计算方法及透明计算系统 |
CN105072154B (zh) * | 2015-07-09 | 2019-01-15 | 广州华多网络科技有限公司 | 一种网络应用接入方法及其设备 |
CN107635010B (zh) * | 2017-10-13 | 2021-04-13 | 网易(杭州)网络有限公司 | 流量调度方法、装置、计算机可读存储介质及电子设备 |
CN111262721B (zh) * | 2018-11-30 | 2021-06-15 | 贵州白山云科技股份有限公司 | 虚拟内网加速方法、系统、配置方法、装置、设备、介质 |
CN111683158B (zh) * | 2020-08-12 | 2020-11-06 | 南京天创电子技术有限公司 | 一种实现同步请求响应的mqtt协议通信方法 |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101252591A (zh) * | 2008-04-03 | 2008-08-27 | 中国科学技术大学 | 实现上下行数据分离的方法和装置 |
CN101296238A (zh) * | 2008-06-17 | 2008-10-29 | 杭州华三通信技术有限公司 | 一种保持安全套接层会话持续性的方法及设备 |
WO2011066435A2 (en) * | 2009-11-25 | 2011-06-03 | Citrix Systems, Inc. | Systems and methods for client ip address insertion via tcp options |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7853781B2 (en) * | 2001-07-06 | 2010-12-14 | Juniper Networks, Inc. | Load balancing secure sockets layer accelerator |
-
2012
- 2012-04-13 CN CN2012101077232A patent/CN103379130A/zh active Pending
- 2012-12-31 MY MYPI2014702939A patent/MY174320A/en unknown
- 2012-12-31 WO PCT/CN2012/087969 patent/WO2013152614A1/zh active Application Filing
-
2014
- 2014-10-13 US US14/512,488 patent/US9819730B2/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101252591A (zh) * | 2008-04-03 | 2008-08-27 | 中国科学技术大学 | 实现上下行数据分离的方法和装置 |
CN101296238A (zh) * | 2008-06-17 | 2008-10-29 | 杭州华三通信技术有限公司 | 一种保持安全套接层会话持续性的方法及设备 |
WO2011066435A2 (en) * | 2009-11-25 | 2011-06-03 | Citrix Systems, Inc. | Systems and methods for client ip address insertion via tcp options |
Also Published As
Publication number | Publication date |
---|---|
US20150032807A1 (en) | 2015-01-29 |
CN103379130A (zh) | 2013-10-30 |
US9819730B2 (en) | 2017-11-14 |
MY174320A (en) | 2020-04-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10237153B2 (en) | Packet retransmission method and apparatus | |
De Caro et al. | Comparison of two lightweight protocols for smartphone-based sensing | |
CN109412946B (zh) | 一种确定回源路径的方法、装置、服务器及可读存储介质 | |
EP2741463B1 (en) | Data packet transmission method | |
EP3459217A1 (en) | Transporting udp packets over an mptcp connection | |
US10530644B2 (en) | Techniques for establishing a communication connection between two network entities via different network flows | |
WO2014037760A1 (zh) | 增加数据流传输的方法和系统 | |
KR20140070426A (ko) | 다중 경로 연결을 확립하기 위한 방법 및 멀티 홈 장비 | |
WO2021063147A1 (zh) | 异构网络的报文转发方法及装置 | |
US9571409B2 (en) | Maximum transmission unit negotiation method and data terminal | |
WO2013152614A1 (zh) | 一种基于应用层数据的网络接入系统和方法 | |
WO2018076580A1 (zh) | 无线网络双边加速传输方法和系统 | |
Liri et al. | Robustness of iot application protocols to network impairments | |
CN111865940B (zh) | 一种传输优化的方法及装置 | |
WO2011015020A1 (zh) | 文件传输方法、系统及客户端 | |
US7564848B2 (en) | Method for the establishing of connections in a communication system | |
WO2012163262A1 (zh) | 一种转发数据的方法及网关 | |
JP3998649B2 (ja) | 無線端末、アクセスポイント装置、データ通信システム及びデータ通信方法 | |
WO2015167375A1 (en) | Method and tcp proxy for supporting communication between a client device and a server node | |
WO2020154872A1 (zh) | 一种传输控制协议加速方法和装置 | |
WO2010022671A1 (zh) | 数据传输的方法、代理装置和系统 | |
US9172774B2 (en) | Technique for managing communications at a router | |
JP2002281106A (ja) | データ通信方法及びそのシステム | |
JP3867896B2 (ja) | ルータ装置 | |
WO2023174865A1 (en) | Mp-dccp proxy to enable multipath transmission of dccp data packets between a sender and a receiver |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 12874292 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
WWE | Wipo information: entry into national phase |
Ref document number: IDP00201406997 Country of ref document: ID |
|
32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205 DATED 05/03/2015) |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 12874292 Country of ref document: EP Kind code of ref document: A1 |