CN106911707B - Bidirectional decoupling transmission control method and system - Google Patents

Bidirectional decoupling transmission control method and system Download PDF

Info

Publication number
CN106911707B
CN106911707B CN201710154778.1A CN201710154778A CN106911707B CN 106911707 B CN106911707 B CN 106911707B CN 201710154778 A CN201710154778 A CN 201710154778A CN 106911707 B CN106911707 B CN 106911707B
Authority
CN
China
Prior art keywords
node
interface
receiving
message
sending
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710154778.1A
Other languages
Chinese (zh)
Other versions
CN106911707A (en
Inventor
陈晓辉
陈力
尹华锐
王卫东
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
University of Science and Technology of China USTC
Original Assignee
University of Science and Technology of China USTC
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by University of Science and Technology of China USTC filed Critical University of Science and Technology of China USTC
Priority to CN201710154778.1A priority Critical patent/CN106911707B/en
Publication of CN106911707A publication Critical patent/CN106911707A/en
Application granted granted Critical
Publication of CN106911707B publication Critical patent/CN106911707B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/16Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
    • H04L69/163In-band adaptation of TCP data exchange; In-band control procedures
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5007Internet protocol [IP] addresses

Abstract

The application provides a bidirectional decoupling transmission control method and system, which comprise a first node and a second node for information interaction, wherein the first node and the second node are respectively provided with two unidirectional network interfaces with opposite transmission directions. The first node transmits a handshake SYN message through the first sending interface, and transmits a first receiving IP address of a first receiving interface of the first node to the second node by using TCP header option information included in the handshake SYN message. And the second node sends a SYN/ACK message to the first receiving interface through the second sending interface according to the first receiving IP address, and the first node sends a handshake ACK message to the second node through the first sending interface after receiving the SYN/ACK message. The method and the device distribute the forward and reverse data streams to two interfaces with different transmission directions in the information transmission process, and realize bidirectional transmission control service on two unidirectional network paths with different data transmission directions.

Description

Bidirectional decoupling transmission control method and system
Technical Field
The present application relates to the field of network communication technologies, and in particular, to a bidirectional decoupling transmission control method and system.
Background
According to the design principle of Network communication, data transmission needs to establish connection between Network Interface Cards (NIC) of two communication parties (source node and destination node), once the connection is established, a path from the source node to the destination node is formed, that is, an end-to-end logical channel is established. The traditional transmission control method realizes self-adaptive and distributed transmission control based on the logic channel. Among the existing Transmission Control methods, the Transmission Control Protocol (TCP) is most widely used, and the complete workflow and corresponding functions of TCP are defined in rfc (request For comments)493 document of ietf (internet engineering Task force).
In the transmission control method represented by TCP, as shown in fig. 1, when data is transmitted between 2 nodes in the conventional transmission control method of TCP, a bidirectional path is established between a client node a and a server node b, that is, a bidirectional accessible logical channel is formed between network interface cards of a source node and a destination node. Specifically, as shown in fig. 2, in an IP (Internet Protocol, Protocol for interconnection between networks) communication network, the transmission control method of the conventional TCP configures an IP address for each of the node a and the NodeB, that is, configures IP _ Addr _ a for the node a, configures IP _ Addr _ B for the NodeB, and establishes a bidirectional passable logical channel between the two IP addresses IP _ Addr _ A, IP _ Addr _ B. The basic functions of connection establishment, data transmission, data retransmission, connection removal and the like are all established on the basis that the single network card supports bidirectional communication.
However, some new communication technologies, such as visible light communication and millimeter wave communication, can easily provide downlink transmission rates exceeding 1Gbps, but there are many obstacles to the uplink design, and even in some cases, only downlink transmission can be provided, and uplink transmission cannot be provided, so that a unidirectional network interface is formed. From the principle of information transmission, 2 unidirectional network interfaces with opposite transmission directions are integrated together to provide bidirectional data transmission capability, but the traditional transmission control method of the TCP cannot operate on 2 unidirectional network interfaces with different transmission directions.
Therefore, the conventional transmission control method of the TCP can only be based on one bidirectional path, and cannot be implemented on two unidirectional paths.
Disclosure of Invention
In view of this, the present application provides a bidirectional decoupling transmission control method and system, so as to solve the problem that the conventional transmission control method of the TCP is only based on one bidirectional path and cannot be implemented on two unidirectional paths. The technical scheme is as follows:
based on one aspect of the present application, the present application provides a bidirectional decoupling transmission control method, which is applied to an IP communication network of an interconnection protocol between networks, where the IP communication network at least includes a first node and a second node that perform information interaction, and the first node and the second node are respectively configured with two unidirectional network interfaces with opposite transmission directions, where the first node includes a first sending interface and a first receiving interface, and the second node includes a second sending interface and a second receiving interface; the method comprises the following steps:
setting a first sending IP address for the first sending interface in advance, setting a first receiving IP address for the first receiving interface, setting a second sending IP address for the second sending interface, and setting a second receiving IP address for the second receiving interface;
the first node sends a handshake SYN message to the second node through the first sending interface, where the handshake SYN message includes Transmission Control Protocol (TCP) header option information, and the TCP header option information includes a first receiving IP address of the first node;
the second node receives the handshake SYN message through the second receiving interface;
the second node sends a SYN/acknowledgement character ACK message to a first receiving interface corresponding to the first receiving IP address through the second sending interface according to the first receiving IP address in the handshake SYN message;
the first node receives the SYN/ACK message through the first receiving interface;
and the first node sends a handshake ACK message to the second node through the first sending interface.
Preferably, the TCP header option information includes a kid information item, a Subtype information item, and detailed option information, wherein the kid information item is set to a first setting value, the Subtype information item is set to a second setting value, and the detailed option information includes a first sending IP address and a first receiving IP address of the first node.
Preferably, after the first node sends a handshake ACK packet to the second node through the first sending interface, the method further includes:
the first node sends a conventional data message and/or a first heartbeat data message to a second receiving interface of the second node through the first sending interface;
the second node receives the conventional data message and/or the first heartbeat data message through the second receiving interface;
the second node sends a conventional ACK message and/or a second heartbeat data message to the first receiving interface of the first node through the second sending interface;
and the first node receives the conventional ACK message and/or the second heartbeat data message through the first receiving interface.
Preferably, the first heartbeat data message and the second heartbeat data message respectively include TCP header option information;
the TCP header option information comprises a kid information item, a Subtype information item and detailed option information, wherein the kid information item is set as a first set value, the Subtype information item is set as a third set value, and the detailed option information comprises a time stamp of the moment when the sending node sends the heartbeat data message.
Preferably, the method further comprises:
the first node sends a FIN message to a second receiving interface of the second node through the first sending interface;
the second node receives the FIN message through the second receiving interface;
the second node sends an ACK message to a first receiving interface of the first node through the second sending interface;
after the data transmission of the second node is finished, transmitting a FIN message to a first receiving interface of the first node through the second transmitting interface;
the first node receives the ACK message and the FIN message in sequence through the first receiving interface;
and the first node sends an ACK message to a second receiving interface of the second node through the first sending interface.
Based on another aspect of the present application, the present application provides a bidirectional decoupled transmission control system, which at least includes a first node and a second node that perform information interaction, where the first node and the second node are respectively configured with two unidirectional network interfaces with opposite transmission directions, where the first node includes a first sending interface and a first receiving interface, and the second node includes a second sending interface and a second receiving interface; the first sending interface is provided with a first sending IP address, the first receiving interface is provided with a first receiving IP address, the second sending interface is provided with a second sending IP address, and the second receiving interface is provided with a second receiving IP address;
the first node sends a data message to the second node through the first sending interface;
the second node receives the data message through the second receiving interface;
the second node sends a response data message to the first node through the second sending interface;
and the first node receives the response data message through the first receiving interface.
In the bidirectional decoupling transmission control method and system provided by the application, a first node and a second node are respectively configured with two unidirectional network interfaces with opposite transmission directions, wherein the first node comprises a first sending interface and a first receiving interface, and the second node comprises a second sending interface and a second receiving interface. The first node sends a handshake SYN (handshake signal used when TCP/IP establishes a connection) message to the second node through the first sending interface, where the handshake SYN message includes TCP header option information, and the TCP header option information includes a first receiving IP address of the first node. And the second node receives the handshake SYN message through the second receiving interface, and sends a SYN/ACK (Acknowledgement character) message to the first receiving interface corresponding to the first receiving IP address through the second sending interface according to the first receiving IP address in the handshake SYN message. And the first node receives the SYN/ACK message through the first receiving interface and sends a handshake ACK message to the second node through the first sending interface.
In the application, a first node transmits a handshake SYN message through a first sending interface, and transmits configuration information of a first receiving IP address of a first receiving interface of the first node to a second node by using TCP header option information included in the handshake SYN message. The second node sends SYN/ACK message to the first receiving interface through the second sending interface according to the first receiving IP address, thereby, two unidirectional network paths are established between the first node and the second node, and forward and reverse data flow in the information transmission process is distributed to two interfaces with different transmission directions, namely, bidirectional transmission control service is realized on the two unidirectional network paths. Compared with the traditional transmission control method of the TCP, the bidirectional decoupling transmission control method provided by the application realizes bidirectional transmission control service on two unidirectional network paths with different data transmission directions, improves the flexibility of network transmission data, and is particularly suitable for network nodes with unidirectional network interfaces.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, it is obvious that the drawings in the following description are only embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a schematic diagram of a working principle of bidirectional decoupling transmission control implemented based on a bidirectional path in a conventional transmission control method of a TCP;
fig. 2 is a schematic diagram illustrating IP address configuration and interface transmission directions of two nodes that need to exchange information with each other in a conventional TCP transmission control method;
fig. 3 is a schematic diagram illustrating a working principle of bidirectional decoupling transmission control implemented based on two unidirectional paths in the bidirectional decoupling transmission control method provided in the present application;
fig. 4 is a flowchart of a bidirectional decoupling transmission control method provided in the present application;
fig. 5 is a schematic structural diagram of a bidirectional decoupled transmission control system provided in the present application;
fig. 6 is a diagram illustrating TCP header option information in the present application;
fig. 7 is a diagram illustrating the subtype format of the option information when the node a notifies the NodeB of the receipt of the IP address in the present application;
fig. 8 is another flowchart of a bidirectional decoupled transmission control method provided in the present application;
fig. 9 is a schematic diagram of a format of TCP header option information included in a heartbeat data packet in the present application;
fig. 10 is a flowchart of another bidirectional decoupling transmission control method provided in the present application;
fig. 11 is a timing diagram of a bidirectional decoupled transmission control method provided in the present application;
fig. 12 is a schematic structural diagram of a bidirectional decoupled transmission control system provided in the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
One of the main ideas of the present application comprises: the bidirectional decoupling transmission control method provided by the application is realized based on two unidirectional passable paths with different transmission directions instead of establishing a network path on one bidirectional passable path, and as shown in fig. 3, the data packets of the information transmission process in the information transmission forward and backward directions are distributed to two unidirectional paths with opposite directions.
The bidirectional decoupling transmission control method is applied to an IP communication network, the IP communication network at least comprises a first node and a second node which carry out information interaction, the first node and the second node are respectively provided with two unidirectional network interfaces with opposite transmission directions, the first node comprises a first sending interface and a first receiving interface, and the second node comprises a second sending interface and a second receiving interface.
For convenience of description, in the following embodiments of the present application, a first node is specifically a client node, denoted as NodeB, and a second node is specifically a server node, denoted as NodeB, for example.
As shown in fig. 4, it shows a flowchart of a bidirectional decoupled transmission control method provided in the present application, including:
step 101, setting a first sending IP address for the first sending interface in advance, setting a first receiving IP address for the first receiving interface, setting a second sending IP address for the second sending interface, and setting a second receiving IP address for the second receiving interface.
As shown in fig. 5, the present application configures two independent IP addresses for both the first node (client node a) and the second node (serving node b). Specifically, a first sending IP address is set for a first sending interface of node a, which is denoted as IP _ Addr _ a1, a first receiving IP address is set for a first receiving interface of node a, which is denoted as IP _ Addr _ a2, a second sending IP address is set for a second sending interface of node B, which is denoted as IP _ Addr _ B1, and a second receiving IP address is set for a second receiving interface of node B, which is denoted as IP _ Addr _ B2. The IP _ Addr _ A1 to IP _ Addr _ B2 and the IP _ Addr _ B1 to IP _ Addr _ A2 respectively establish a unidirectional logic channel.
Step 102, the first node sends a handshake SYN message to the second node through the first sending interface. Wherein the handshake SYN message includes TCP header option information, the TCP header option information including a first received IP address of the first node.
In the embodiment of the application, a node a and a NodeB establish a connection relationship first.
Specifically, the node a sends a handshake SYN packet to the node b through the first sending interface. The source IP address in the handshake SYN message is IP _ Addr _ a1, and the destination IP address is IP _ Addr _ B2.
In particular, in the present application, the handshake SYN message further includes TCP header option information, where the TCP header option information includes the first receiving IP address IP _ Addr _ a2 of the node a.
In the present application, the TCP Header (TCP Header) option information is shown in fig. 6, and includes a kid information item, a Subtype information item, and detailed option information. The TCP header option information in this application immediately follows the urgent pointer (URG) of the TCP header. Specifically, in the embodiment of the present application, the kid information item is set to a first set value, such as 0x1F, the Subtype information item is set to a second set value, such as 0x00, and the detailed option information includes the first sending IP address IP _ addr _ a1 and the first receiving IP address IP _ addr _ a2 of the node a. The method and the device realize data message separation in two aspects by adding TCP header option information to the message transmitted by the TCP, and enable transmission control to work on two one-way network interfaces.
In the practical application of the present application, the kid information item indicates the type of extension information, and the bidirectional decoupling function in the present application is enabled by setting kidd flag to 0x 1F. Length identifies the Length of the option information, and the Subtype information item identifies the option information of different subtypes. According to the definition of kidd in RFC793, RFC1323, RFC2018, RFC1323 and RFC6824, part of the kidd is already used, and 0x1F (namely decimal 31) selected in the application is an undefined type of the existing protocol. The Subtype-specific data in fig. 6 is Subtype option data of indefinite length.
Fig. 7 is a diagram illustrating the subtype format of the option information when the node a notifies the node b of the local IP address reception. The Subtype information item is set to 0x00, the IPVer information item is set to 4 or 6, the Subtype information item represents the addresses of IPV4 and IPV6 formats respectively, and the Client Receiver Address information item is the network interface Address used by NodeA for receiving, and can be the Address of IPV4 or IPV6 format.
And step 103, the second node receives the handshake SYN message through the second receiving interface.
And step 104, the second node sends the SYN/ACK message to the first receiving interface corresponding to the first receiving IP address through the second sending interface according to the first receiving IP address in the handshake SYN message.
After receiving the handshake SYN message through the second receiving interface, the NodeB interprets the first receiving IP address IP _ addr _ a2 contained in the handshake SYN message, and then sends the SYN/ACK message to the first receiving interface corresponding to the first receiving IP address IP _ addr _ a2 through the second sending interface.
The source IP address in the SYN/ACK message is IP _ Addr _ B1, and the destination IP address is IP _ Addr _ A2. In the TCP header option information included in the SYN/ACK message, the kid information item is set to 0x1F, and the other information items do not require. Optionally, the detailed option information may include a second transmission IP address IP _ Addr _ B1 of the NodeB.
And 105, the first node receives the SYN/ACK message through the first receiving interface.
And step 106, the first node sends a handshake ACK message to the second node through the first sending interface.
After receiving the SYN/ACK message returned by the NodeB, the node a sends an ACK message through the IP _ Addr _ a1 through the first receiving interface. The source IP address in the ACK message is IP _ Addr _ a1, and the destination IP address is IP _ Addr _ B2. In the TCP header option information contained in the ACK message, a kid information item is set to be 0x1F, a Subtype information item is set to be 0x00, and the rest information items do not need to be processed.
Through the above-mentioned step 101 and 106, the node a and the NodeB realize handshaking, that is, the present application realizes establishing connection between the node a and the NodeB.
By applying the above technical solution provided in the present application, the first node transmits the handshake SYN packet through the first sending interface, and transmits the configuration information of the first receiving IP address of the first receiving interface to the second node by using the TCP header option information included in the handshake SYN packet. The second node sends SYN/ACK message to the first receiving interface through the second sending interface according to the first receiving IP address, thereby, two unidirectional network paths are established between the first node and the second node, and forward and reverse data flow in the information transmission process is distributed to two interfaces with different transmission directions, namely, bidirectional transmission control service is realized on the two unidirectional network paths. Compared with the traditional transmission control method of the TCP, the bidirectional decoupling transmission control method provided by the application realizes bidirectional transmission control service on two unidirectional network paths with different data transmission directions, improves the flexibility of network transmission data, and is particularly suitable for network nodes with unidirectional network interfaces.
Based on the foregoing embodiment, after establishing a connection between a node a and a node b, the node a and the node b perform data transmission, specifically as shown in fig. 8, including:
step 201, the first node sends a normal data packet and/or a first heartbeat data packet to a second receiving interface of the second node through the first sending interface.
In the present application, the node a may send a conventional data packet and/or a first heartbeat data packet to the node b. The source IP address in the normal data packet and the first heartbeat data packet is IP _ Addr _ a1, and the destination IP address is IP _ Addr _ B2.
Step 202, the second node receives the normal data packet and/or the first heartbeat data packet through the second receiving interface.
Step 203, the second node sends a conventional ACK packet and/or a second heartbeat data packet to the first receiving interface of the first node through the second sending interface.
The source IP address in the normal ACK packet and the second heartbeat data packet is IP _ Addr _ B1, and the destination IP address is IP _ Addr _ a 2.
Step 204, the first node receives the conventional ACK packet and/or the second heartbeat data packet through the first receiving interface.
In this embodiment of the present application, both node a and NodeB may send heartbeat data messages, where a first heartbeat data message sent by node a and a second heartbeat data message sent by NodeB respectively include TCP header option information. As shown in fig. 9, the TCP header option information includes a kid information item, a Subtype information item, detailed option information, and a TimeStamp ID. The kid information item is set to be a first set value 0x1F, the Subtype information item is set to be a third set value 0x01, the detailed option information comprises a time stamp of the moment when the sending node sends the heartbeat data message, specifically, the detailed option information in the first heartbeat data message comprises the time stamp of the moment when the node A sends the first heartbeat data message, and the detailed option information in the second heartbeat data message comprises the time stamp of the moment when the node B sends the second heartbeat data message. The TimeStamp ID of 10 bits in the subtype information item is a cyclically incremented counter, and TimeStamp is the TimeStamp that the network node corresponds to when the information item was generated. The subtype information item is used for measuring the time delay of the unidirectional path by the NodeA and the NodeB.
Therefore, in the transmission process of the application, the time delay measurement information of the two unidirectional paths can be provided by using the heartbeat data message.
Based on the above embodiments, after the data transmission between the node a and the node b is completed, the stage of removing the connection between the node a and the node b is entered, as shown in fig. 10, which includes:
step 301, the first node sends a FIN (end flag) packet to the second receiving interface of the second node through the first sending interface.
The source IP address in the FIN message is IP _ Addr _ a1, and the destination IP address is IP _ Addr _ B2.
Step 302, the second node receives the FIN packet through the second receiving interface.
Step 303, the second node sends an ACK packet to the first receiving interface of the first node through the second sending interface.
The source IP address in the ACK message is IP _ Addr _ B1, and the destination IP address is IP _ Addr _ a 2.
And step 304, after the data transmission of the second node is finished, transmitting a FIN message to the first receiving interface of the first node through the second transmitting interface.
The source IP address in the FIN message is IP _ Addr _ B1, and the destination IP address is IP _ Addr _ a 2.
In step 305, the first node receives the ACK packet and the FIN packet sequentially through the first receiving interface.
Step 306, the first node sends an ACK packet to the second receiving interface of the second node through the first sending interface.
The bidirectional decoupling transmission control method provided by the present application includes three stages, which are a handshake stage, a data transmission stage, and a connection removal stage, and as shown in fig. 11, the applicant summarizes and discusses the transmission control method at each stage of the present application as follows:
firstly, a node A initiates a handshake process, which requires 3 times of message interaction, and the message interaction sequence is as follows: (1) node A sends a handshake SYN message through IP _ Addr _ A1, wherein the target IP address in the TCP header of the handshake SYN message is IP _ Addr _ B2, seq is a random initial value x, as shown in FIG. 7, in the TCP header option information, a kidd information item is set to be 0x1F, a Subtype information item is set to be 0x00, and the detailed option information content is set to be the receiving IP address IP _ Addr _ A2 of node A; (2) the NodeB receives the handshake SYN message via IP _ Addr _ B2, and then sends a SYN/ACK message via IP _ Addr _ B1, where the destination IP address in the TCP header of the SYN/ACK message is IP _ Addr _ a2, seq is the random initial value y, and ACK is x + 1. In the TCP header option information, the kidd information item is set to 0x 1F; (3) node a receives the SYN/ACK message through IP _ Addr _ a2, and then sends an ACK message through IP _ Addr _ a1, where the target IP address in the TCP header of the ACK message is IP _ Addr _ B2, and ACK is y + 1. In the TCP header option information, the kidd information item is set to 0x 1F.
Subsequently, the node a and the node B start data transmission, wherein the node a and the node B exchange data messages according to the transmission and response mode of the conventional TCP, that is, the node a transmits a TCP message through IP _ Addr _ a1, the node B receives the message through IP _ Addr _ B2 and transmits an ACK message through IP _ Addr _ B1, and the client node a receives the ACK message through IP _ Addr _ a 2. Because a very large transmission delay difference may exist between the node a to node b unidirectional path and the node b to node a unidirectional path, the present application further defines a heartbeat data packet to assist in completing the measurement of the transmission delay of the two paths, so as to be used for the optimization of the transmission strategy. The format of the heartbeat datagram is shown in fig. 9, in the TCP header option information, a kid information item is set to 0x1F, a Subtype information item is set to 0x01, a 10-bit TimeStamp ID information item is a cyclically-incremented counter, each node is maintained separately, and the detailed option information content is set to be a 32-bit TimeStamp of the time when the sending node sends the heartbeat datagram.
After the data transmission is finished, connection and removal are carried out, 4 times of message interaction are required in the removal stage, and the message sequence is as follows: (1) node A sends FIN message through IP _ Addr _ A1, and node B receives the message through IP _ Addr _ B2; (2) the NodeB sends an ACK message through IP _ Addr _ B1; (3) the NodeB sends a FIN message through IP _ Addr _ B1, and the NodeA receives an ACK message and the FIN message sequentially through IP _ Addr _ A2; (4) and the node A sends an ACK message through the IP _ Addr _ A1 to finish the data transmission.
On the basis of the foregoing embodiments, the present application further provides a bidirectional decoupling transmission control system, as shown in fig. 12, at least including a first node 100 and a second node 200 that perform information interaction, where the first node 100 and the second node 200 are respectively configured with two unidirectional network interfaces with opposite transmission directions, where the first node 100 includes a first sending interface 101 and a first receiving interface 102, and the second node 200 includes a second sending interface 201 and a second receiving interface 202; the first sending interface 101 is provided with a first sending IP address, the first receiving interface 102 is provided with a first receiving IP address, the second sending interface 201 is provided with a second sending IP address, and the second receiving interface 202 is provided with a second receiving IP address;
the first node 100 sends a data packet to the second node 200 through the first sending interface 101;
the second node 200 receives the data packet through the second receiving interface 202;
the second node 200 sends a response data packet to the first node 100 through the second sending interface 201;
the first node 100 receives the response data packet through the first receiving interface 102.
It should be noted that, in the present specification, the embodiments are all described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments may be referred to each other. For the device-like embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The foregoing describes in detail a bidirectional decoupling transmission control method and system provided by the present application, and specific examples are applied herein to explain the principles and embodiments of the present application, and the description of the foregoing embodiments is only used to help understand the method and its core ideas of the present application; meanwhile, for a person skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (6)

1. A bidirectional decoupling transmission control method is applied to an IP communication network of an interconnection protocol between networks, the IP communication network at least comprises a first node and a second node which carry out information interaction, and is characterized in that the first node and the second node are respectively provided with two unidirectional network interfaces with opposite transmission directions, wherein the first node comprises a first sending interface and a first receiving interface, and the second node comprises a second sending interface and a second receiving interface; the method comprises the following steps:
setting a first sending IP address for the first sending interface in advance, setting a first receiving IP address for the first receiving interface, setting a second sending IP address for the second sending interface, and setting a second receiving IP address for the second receiving interface;
the first node sends a handshake SYN message to the second node through the first sending interface, where the handshake SYN message includes Transmission Control Protocol (TCP) header option information, and the TCP header option information includes a first receiving IP address of the first node;
the second node receives the handshake SYN message through the second receiving interface;
the second node sends a SYN/acknowledgement character ACK message to a first receiving interface corresponding to the first receiving IP address through the second sending interface according to the first receiving IP address in the handshake SYN message;
the first node receives the SYN/ACK message through the first receiving interface;
and the first node sends a handshake ACK message to the second node through the first sending interface.
2. The method according to claim 1, wherein the TCP header option information includes a kid information item set to a first setting value, a Subtype information item set to a second setting value, and detailed option information including a first transmitting IP address and a first receiving IP address of the first node.
3. The method of claim 1, wherein after the first node sends a handshake ACK packet to the second node via the first sending interface, the method further comprises:
the first node sends a conventional data message and/or a first heartbeat data message to a second receiving interface of the second node through the first sending interface;
the second node receives the conventional data message and/or the first heartbeat data message through the second receiving interface;
the second node sends a conventional ACK message and/or a second heartbeat data message to the first receiving interface of the first node through the second sending interface;
and the first node receives the conventional ACK message and/or the second heartbeat data message through the first receiving interface.
4. The method according to claim 3, wherein the first heartbeat data message and the second heartbeat data message each include TCP header option information;
the TCP header option information comprises a kid information item, a Subtype information item and detailed option information, wherein the kid information item is set as a first set value, the Subtype information item is set as a third set value, and the detailed option information comprises a time stamp of the moment when the sending node sends the heartbeat data message.
5. The method according to claim 3 or 4, characterized in that the method further comprises:
the first node sends a FIN message to a second receiving interface of the second node through the first sending interface;
the second node receives the FIN message through the second receiving interface;
the second node sends an ACK message to a first receiving interface of the first node through the second sending interface;
after the data transmission of the second node is finished, transmitting a FIN message to a first receiving interface of the first node through the second transmitting interface;
the first node receives the ACK message and the FIN message in sequence through the first receiving interface;
and the first node sends an ACK message to a second receiving interface of the second node through the first sending interface.
6. A bidirectional decoupling transmission control system at least comprises a first node and a second node for information interaction, and is characterized in that the first node and the second node are respectively provided with two unidirectional network interfaces with opposite transmission directions, wherein the first node comprises a first sending interface and a first receiving interface, and the second node comprises a second sending interface and a second receiving interface; the first sending interface is provided with a first sending IP address, the first receiving interface is provided with a first receiving IP address, the second sending interface is provided with a second sending IP address, and the second receiving interface is provided with a second receiving IP address;
the first node sends a data message to the second node through the first sending interface;
the second node receives the data message through the second receiving interface;
the second node sends a response data message to the first node through the second sending interface;
and the first node receives the response data message through the first receiving interface.
CN201710154778.1A 2017-03-15 2017-03-15 Bidirectional decoupling transmission control method and system Active CN106911707B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710154778.1A CN106911707B (en) 2017-03-15 2017-03-15 Bidirectional decoupling transmission control method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710154778.1A CN106911707B (en) 2017-03-15 2017-03-15 Bidirectional decoupling transmission control method and system

Publications (2)

Publication Number Publication Date
CN106911707A CN106911707A (en) 2017-06-30
CN106911707B true CN106911707B (en) 2020-01-03

Family

ID=59187588

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710154778.1A Active CN106911707B (en) 2017-03-15 2017-03-15 Bidirectional decoupling transmission control method and system

Country Status (1)

Country Link
CN (1) CN106911707B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108694249B (en) * 2018-05-30 2022-02-25 平安科技(深圳)有限公司 Data processing method, data processing device, computer equipment and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1229214A (en) * 1998-03-16 1999-09-22 王海鹰 Asymmetric channel transmission system of computer network
CN103067394A (en) * 2013-02-07 2013-04-24 北京网康科技有限公司 Transmission control protocol (TCP) connecting establishment method and establishment device based on one-way data package

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120163167A1 (en) * 2010-12-27 2012-06-28 Symbol Technologies, Inc. Transmission control protocol optimization systems and methods for wireless networks
KR101610715B1 (en) * 2014-06-11 2016-04-08 한국전자통신연구원 One-way data transmission and reception system, and one-way data transmission and reception method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1229214A (en) * 1998-03-16 1999-09-22 王海鹰 Asymmetric channel transmission system of computer network
CN103067394A (en) * 2013-02-07 2013-04-24 北京网康科技有限公司 Transmission control protocol (TCP) connecting establishment method and establishment device based on one-way data package

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Architectural Guidelines for Multipath TCP Development;A.Ford;《Internet Engineering Task Force》;20110331;正文"1.3 Reference Scenario" *

Also Published As

Publication number Publication date
CN106911707A (en) 2017-06-30

Similar Documents

Publication Publication Date Title
US10237153B2 (en) Packet retransmission method and apparatus
EP1354455B1 (en) A method and apparatus for automatically determining an appropriate transmission method in a network
EP1722523B1 (en) Apparatus and method for reserving session resource in IPv4/IPv6 combination network
US7499445B2 (en) System and method for routing ISIS traffic through unidirectional links of a computer network
US7502860B1 (en) Method and apparatus for client-side flow control in a transport protocol
TWI322606B (en) Tunneling device, channel tunnel distribution method using the same and program
WO2017219557A1 (en) Data transmission method and data transmission apparatus
JP2005287045A (en) Method for discovery of device connected to ip network and device to carry out the method
EP1940093A4 (en) Method of internet protocol(ip) message transmission, negotiated bandwidth saving capability and saving network bandwidth
JPWO2007052764A1 (en) Session relay apparatus and session relay method
WO2011100911A2 (en) Detection processing method, data transmitter, data receiver and communication system
JP6200576B2 (en) Network device with tunnel establishment control based on site-type attributes received from other network devices
WO2016050177A1 (en) Pmtu determination method, network device and system
EP0921655A3 (en) Multicast transmission method
US20180145905A1 (en) Data link layer-based communication method, device, and system
US9043477B2 (en) Communication system, server, terminal, packet data transferring method, and program therefor
CN109039915B (en) Method and system for establishing data connection channel
WO2012089107A1 (en) Method and device for transmitting information over ipv4 network
CN106302213A (en) A kind of method and device of data transmission
CN106911707B (en) Bidirectional decoupling transmission control method and system
CN110771117B (en) Session layer communication using ID-oriented network
CN107231249B (en) Method for acquiring physical topology information of forwarding node, controller and forwarding node
JP3519628B2 (en) Relay device
US20120072513A1 (en) Method and system for obtaining host identity tag
WO2002003147A2 (en) Method for detecting invalid packets by rewriting transaction identifiers

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant