CN110858791A - Distributed parallel transmission method, device, equipment and storage medium - Google Patents

Distributed parallel transmission method, device, equipment and storage medium Download PDF

Info

Publication number
CN110858791A
CN110858791A CN201810962356.1A CN201810962356A CN110858791A CN 110858791 A CN110858791 A CN 110858791A CN 201810962356 A CN201810962356 A CN 201810962356A CN 110858791 A CN110858791 A CN 110858791A
Authority
CN
China
Prior art keywords
data packet
network device
indication message
sequence number
groups
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.)
Pending
Application number
CN201810962356.1A
Other languages
Chinese (zh)
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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201810962356.1A priority Critical patent/CN110858791A/en
Publication of CN110858791A publication Critical patent/CN110858791A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/0001Systems modifying transmission characteristics according to link quality, e.g. power backoff
    • H04L1/0006Systems modifying transmission characteristics according to link quality, e.g. power backoff by adapting the transmission format
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/12Arrangements for detecting or preventing errors in the information received by using return channel
    • H04L1/16Arrangements for detecting or preventing errors in the information received by using return channel in which the return channel carries supervisory signals, e.g. repetition request signals
    • H04L1/18Automatic repetition systems, e.g. Van Duuren systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/12Arrangements for detecting or preventing errors in the information received by using return channel
    • H04L1/16Arrangements for detecting or preventing errors in the information received by using return channel in which the return channel carries supervisory signals, e.g. repetition request signals
    • H04L1/18Automatic repetition systems, e.g. Van Duuren systems
    • H04L1/1829Arrangements specially adapted for the receiver end
    • H04L1/1861Physical mapping arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L5/00Arrangements affording multiple use of the transmission path
    • H04L5/003Arrangements for allocating sub-channels of the transmission path
    • H04L5/0053Allocation of signaling, i.e. of overhead other than pilot signals

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Quality & Reliability (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The application provides a distributed parallel transmission method, a device, equipment and a storage medium, comprising the following steps: the first network device generates N data packet groups for transmitting N transactions, wherein N is an integer greater than 1, the N transactions are in one-to-one correspondence with the N data packet groups, each data packet group comprises at least one data packet, and the data packet comprises: the system comprises a first serial number, a second serial number and a transaction identifier, wherein the first serial number is the serial number of a data packet in N data packet groups, the second serial number is the serial number of the data packet in the corresponding data packet group, and the transaction identifier is used for identifying a transaction corresponding to the data packet; the first network device sends N data packet groups to the second network device in parallel on the target link. Thereby improving data transmission efficiency.

Description

Distributed parallel transmission method, device, equipment and storage medium
Technical Field
The present application relates to the field of communications technologies, and in particular, to a distributed parallel transmission method, apparatus, device, and storage medium.
Background
Under the scene of internet of things internet of everything interconnection, network equipment accessed to the internet of things is also increased in a geometric level, which brings important challenges to the whole internet of things, and data transmission efficiency is an important index for determining the performance of the internet of things.
Currently, in the internet of things, two network devices transmit transactions in the form of a plurality of packets, wherein the packets are sequentially transmitted on a link (e.g., a Transmission Control Protocol (TCP) link), which results in that when a certain packet is lost, the subsequent packet can be sent to the opposite end only after the lost packet is forwarded and received, which is called Head-of-line blocking (HOL). Therefore, the phenomenon of head of line blocking will cause the problem of low data transmission efficiency.
Disclosure of Invention
The application provides a distributed parallel transmission method, a device, equipment and a storage medium, thereby improving the data transmission efficiency.
In a first aspect, the present application provides a distributed parallel transmission method, including: the first network device generates N data packet groups for transmitting N transactions, wherein N is an integer greater than 1, the N transactions are in one-to-one correspondence with the N data packet groups, each data packet group comprises at least one data packet, and the data packet comprises: the first sequence number is the sequence number of the data packet in the N data packet groups, the second sequence number is the sequence number of the data packet in the corresponding data packet group, and the transaction identifier is used for identifying the transaction corresponding to the data packet; and the first network equipment sends the N data packet groups to the second network equipment in parallel on the target link.
The beneficial effects of the embodiment of the application include: the first network equipment can send N data packet groups to the second network equipment in parallel on the target link, wherein N is an integer larger than 1, and on the basis, even if the data packet group corresponding to one transaction is blocked at the line head, normal data packet transmission of other transactions is not influenced, so that the data transmission efficiency is improved.
Optionally, the method further comprises: the first network equipment receives a first indication message sent by the second network equipment, wherein the first indication message comprises: m pieces of indication information, wherein M is the number of the data packets included in the N data packet groups, and the indication information is used for indicating whether the corresponding data packets are successfully received; and the first network equipment transmits the data packet which is not successfully received according to the first indication message.
The beneficial effects of the embodiment of the application include: the second network device sends a first indication message to the first network device. The first network device transmits the unsuccessfully received data packet according to the first indication message. Thereby ensuring the reliability of data transmission.
Optionally, the method further comprises: the first network device receives a second indication message sent by the second network device, where the second indication message is used to indicate a range of first sequence numbers or a range of second sequence numbers corresponding to P unsuccessfully received data packets, and P is an integer greater than 1; and the first network equipment transmits the P unsuccessfully received data packets according to the second indication message.
The beneficial effects of the embodiment of the application include: the second network device sends a second indication message to the first network device. The first network device transmits the data packet which is not successfully received according to the second indication message. Thereby ensuring the reliability of data transmission.
Optionally, the method further comprises: the first network equipment receives a third indication message sent by the second network equipment; wherein the third indication message comprises: a transaction identification of the unsuccessfully received data packet, and a second sequence number of the unsuccessfully received data packet; or, the third indication message includes: a first sequence number of a unsuccessfully received data packet; and the first network equipment retransmits the unsuccessfully received data packet according to the third indication message.
The beneficial effects of the embodiment of the application include: the second network device sends a third indication message to the first network device. The first network device transmits the unsuccessfully received data packet according to the third indication message. Thereby ensuring the reliability of data transmission.
Optionally, the method further comprises: the first network equipment determines the transmission breakpoint of the N data packet groups; the first network device receives a fourth indication message sent by the second network device, where the fourth indication message is used to indicate that the abnormal condition of the second network device has recovered; and the first network equipment resends the data packet starting from the transmission breakpoint to the second network equipment according to the fourth indication message.
The beneficial effects of the embodiment of the application include: the first network device determines transmission breakpoints for the N data packet groups. And the first network equipment receives a fourth indication message sent by the second network equipment, and the first network equipment resends the data packet starting from the transmission breakpoint to the second network equipment according to the fourth indication message. On one hand, the continuous transmission of the data packet can be ensured, and on the other hand, the reliability of data transmission can be ensured.
Optionally, the method further comprises: the first network equipment determines the transmission breakpoint of the N data packet groups; the first network device receives a fifth indication message sent by the second network device, where the fifth indication message is used to indicate that a packet transmission service on the second network device has been switched to a third network device; and the first network equipment sends the data packet starting from the transmission breakpoint to the third network equipment according to the fifth indication message.
The beneficial effects of the embodiment of the application include: the first network device determines a transmission breakpoint for the N data packet groups. And the first network equipment receives a fifth indication message sent by the second network equipment, wherein the fifth indication message is used for indicating that the data packet transmission service on the second network equipment is switched to the third network equipment. And the first network equipment sends the data packet starting from the transmission breakpoint to the third network equipment according to the fifth indication message, so that on one hand, the continuous transmission of the data packet can be ensured, and on the other hand, the reliability of data transmission can be ensured.
Optionally, the 1 st data packet in the data packet group includes: an identity of the first network device and an identity of the second network device; the ith data packet in the data packet group does not include: the identifier of the first network device and the identifier of the second network device, where i is an integer greater than 1 and less than or equal to Q, and Q is the number of packets included in the packet group.
The beneficial effects of the embodiment of the application include: since the ith packet does not include: the identity of the first network device and the identity of the second network device may be used to save network overhead.
The following provides a distributed parallel transmission method on the second network device side, and the effect thereof can refer to the effect corresponding to the distributed parallel transmission method on the second network device side, which is not described in detail below.
In a second aspect, the present application provides a distributed parallel transmission method, including: the second network equipment receives N data packet groups which are transmitted by the first network equipment on a target link in parallel; the N data packet groups are used for transmitting N transactions, N is an integer greater than 1, the N transactions are in one-to-one correspondence with the N data packet groups, each data packet group includes at least one data packet, and the data packet includes: the system comprises a first sequence number, a second sequence number and a transaction identifier, wherein the first sequence number is the sequence number of the data packet in the N data packet groups, the second sequence number is the sequence number of the data packet in the corresponding data packet group, and the transaction identifier is used for identifying the transaction corresponding to the data packet.
Optionally, the method further comprises: the second network device sends a first indication message to the first network device, wherein the first indication message comprises: and M pieces of indication information, wherein M is the number of the data packets included in the N data packet groups, and the indication information is used for indicating whether the corresponding data packets are successfully received.
Optionally, the method further comprises: and the second network device sends a second indication message to the first network device, where the second indication message is used to indicate a range of first sequence numbers or a range of second sequence numbers corresponding to P unsuccessfully received data packets, and P is an integer greater than 1.
Optionally, the method further comprises: when the second network device determines that a data packet which is not successfully received before is not received within a preset time; the second network equipment sends a third indication message to the first network equipment; wherein the third indication message comprises: a transaction identification of the unsuccessfully received data packet, and a second sequence number of the unsuccessfully received data packet; or, the third indication message includes: the first sequence number of the unsuccessfully received data packet.
Optionally, the method further comprises: when the abnormal condition of the second network equipment is recovered, the second network equipment sends a fourth indication message to the first network equipment, wherein the fourth indication message is used for indicating that the abnormal condition of the second network equipment is recovered; and the second network equipment receives the data packet which is retransmitted by the first network equipment and begins from the transmission breakpoint.
Optionally, the method further comprises: when the data packet transmission service on the second network device needs to be switched to a third network device, the second network device sends a fifth indication message to the first network device, where the fifth indication message is used to indicate that the data packet transmission service on the second network device has been switched to the third network device.
Optionally, the 1 st data packet in the data packet group includes: an identity of the first network device and an identity of the second network device; the ith data packet in the data packet group does not include: the identifier of the first network device and the identifier of the second network device, where i is an integer greater than 1 and less than or equal to Q, and Q is the number of packets included in the packet group.
A distributed parallel transmission apparatus, a device, a computer storage medium, and a computer program product will be provided below.
In a third aspect, an embodiment of the present application provides a distributed parallel transmission apparatus, including:
a generating module, configured to generate N data packet groups for transmitting N transactions, where N is an integer greater than 1, the N transactions are in one-to-one correspondence with the N data packet groups, each data packet group includes at least one data packet, and the data packet includes: the system comprises a first serial number, a second serial number and a transaction identifier, wherein the first serial number is the serial number of a data packet in N data packet groups, the second serial number is the serial number of the data packet in the corresponding data packet group, and the transaction identifier is used for identifying the transaction corresponding to the data packet.
And the first sending module is used for sending the N data packet groups to the second network equipment in parallel on the target link.
Optionally, the apparatus further comprises:
a first receiving module, configured to receive a first indication message sent by a second network device, where the first indication message includes: and M pieces of indication information, wherein M is the number of the data packets included in the N data packet groups, and the indication information is used for indicating whether the corresponding data packets are successfully received.
And the first transmission module is used for transmitting the data packet which is not successfully received according to the first indication message.
Optionally, the apparatus further comprises:
a second receiving module, configured to receive a second indication message sent by a second network device, where the second indication message is used to indicate a range of a first sequence number or a range of a second sequence number corresponding to P unsuccessfully received data packets, and P is an integer greater than 1.
And the second transmission module is used for transmitting the P unsuccessfully received data packets according to the second indication message.
Optionally, the apparatus further comprises:
and the third receiving module is used for receiving a third indication message sent by the second network equipment. Wherein the third indication message includes: a transaction identification of a data packet that was not successfully received, and a second sequence number of the data packet that was not successfully received. Alternatively, the third indication message includes: the first sequence number of the unsuccessfully received data packet.
And the second sending module is used for resending the data packet which is not successfully received according to the third indication message.
Optionally, the apparatus further comprises:
and the first determining module is used for determining the transmission breakpoint of the N data packet groups.
A fourth receiving module, configured to receive a fourth indication message sent by the second network device, where the fourth indication message is used to indicate that the abnormal condition of the second network device is recovered.
And a third sending module, configured to resend the data packet starting from the transmission breakpoint to the second network device according to the fourth indication message.
Optionally, the apparatus further comprises:
and the second determining module is used for determining the transmission breakpoint of the N data packet groups.
A fifth receiving module, configured to receive a fifth indication message sent by the second network device, where the fifth indication message is used to indicate that the packet transmission service on the second network device has been switched to the third network device.
And the fourth sending module is used for sending the data packet starting from the transmission breakpoint to the third network equipment according to the fifth indication message.
Optionally, the 1 st data packet in the data packet group includes: an identification of the first network device and an identification of the second network device. The ith packet in the packet group does not include: the identifier of the first network device and the identifier of the second network device, where i is an integer greater than 1 and less than or equal to Q, and Q is the number of packets included in the packet group.
In a fourth aspect, an embodiment of the present application provides a distributed parallel transmission apparatus, including:
the first receiving module is configured to receive N data packet groups that are sent by the first network device on the target link in parallel. Wherein, N data packet group is used for transmitting N affairs, and N is for being greater than 1 integer, and N affairs and N data packet group one-to-one, every data packet group include at least one data packet, and the data packet includes: the system comprises a first serial number, a second serial number and a transaction identifier, wherein the first serial number is the serial number of a data packet in N data packet groups, the second serial number is the serial number of the data packet in the corresponding data packet group, and the transaction identifier is used for identifying the transaction corresponding to the data packet.
Optionally, the apparatus further comprises:
a first sending module, configured to send a first indication message to a first network device, where the first indication message includes: and M pieces of indication information, wherein M is the number of the data packets included in the N data packet groups, and the indication information is used for indicating whether the corresponding data packets are successfully received.
Optionally, the apparatus further comprises:
a second sending module, configured to send a second indication message to the first network device, where the second indication message is used to indicate a range of the first sequence number or a range of the second sequence number corresponding to P unsuccessfully received data packets, and P is an integer greater than 1.
Optionally, the apparatus further comprises: a determination module 1304 and a third sending module 1305.
When the determining module determines that the data packet which is not successfully received before is not received within the preset time. The third sending module sends a third indication message to the first network device.
Wherein the third indication message includes: a transaction identification of a data packet that was not successfully received, and a second sequence number of the data packet that was not successfully received. Alternatively, the first and second electrodes may be,
the third indication message includes: the first sequence number of the unsuccessfully received data packet.
Optionally, the apparatus further comprises:
and the fourth sending module is used for sending a fourth indication message to the first network device when the abnormal condition of the second network device is recovered, wherein the fourth indication message is used for indicating that the abnormal condition of the second network device is recovered.
And the second receiving module is used for receiving the data packet which is retransmitted by the first network equipment and starts from the transmission breakpoint.
Optionally, the apparatus further comprises:
a fifth sending module, configured to send a fifth indication message to the first network device when the data packet transmission service on the second network device needs to be switched to a third network device, where the fifth indication message is used to indicate that the data packet transmission service on the second network device has been switched to the third network device.
Optionally, the 1 st data packet in the data packet group includes: an identification of the first network device and an identification of the second network device. The ith packet in the packet group does not include: the identifier of the first network device and the identifier of the second network device, where i is an integer greater than 1 and less than or equal to Q, and Q is the number of packets included in the packet group.
In a fifth aspect, an embodiment of the present application provides a network device, including: a processor and a memory for storing executable instructions of the processor to cause the processor to implement the method as described in the first aspect or an alternative form of the first aspect.
In a sixth aspect, an embodiment of the present application provides a network device, including: a processor and a memory for storing executable instructions of the processor to cause the processor to implement the method as described in the second aspect or an alternative of the second aspect.
In a seventh aspect, an embodiment of the present application provides a computer storage medium, including: computer instructions for implementing a method as described in the first aspect or alternatives to the first aspect.
In an eighth aspect, an embodiment of the present application provides a computer storage medium, including: computer instructions for implementing a method according to the second aspect or alternatives to the second aspect.
In a ninth aspect, an embodiment of the present application provides a computer program product, including: computer instructions for implementing a method as described in the first aspect or alternatives to the first aspect.
In a tenth aspect, an embodiment of the present application provides a computer program product, including: computer instructions for implementing a method according to the second aspect or alternatives to the second aspect.
The application provides a distributed parallel transmission method, a device, equipment and a storage medium, comprising the following steps: the first network device generates N data packet groups for transmitting N transactions, wherein N is an integer greater than 1, the N transactions are in one-to-one correspondence with the N data packet groups, each data packet group comprises at least one data packet, and the data packet comprises: the first sequence number is the sequence number of the data packet in the N data packet groups, the second sequence number is the sequence number of the data packet in the corresponding data packet group, and the transaction identifier is used for identifying the transaction corresponding to the data packet; and the first network equipment sends the N data packet groups to the second network equipment in parallel on the target link. Because the first network device can send N data packet groups to the second network device in parallel on the target link, wherein N is an integer greater than 1, even if the data packet group corresponding to one transaction is blocked at the end of line, the normal data packet transmission of other transactions is not influenced, and thus the data transmission efficiency is improved.
Drawings
Fig. 1 is an application scenario diagram of a technical solution of the present application according to an embodiment of the present application;
fig. 2 is an interaction flowchart of a distributed parallel transmission method according to an embodiment of the present application;
fig. 3 is an interaction flowchart of a distributed parallel transmission method according to another embodiment of the present application;
FIG. 4 is a diagram illustrating parallel transmission between different transactions according to an embodiment of the present application;
fig. 5 is an interaction flowchart of a distributed parallel transmission method according to still another embodiment of the present application;
fig. 6 is an interaction flowchart of a distributed parallel transmission method according to another embodiment of the present application;
FIG. 7 is a diagram illustrating concurrent transmission between different transactions according to an embodiment of the present application;
fig. 8 is an interaction flowchart of a distributed parallel transmission method according to still another embodiment of the present application;
fig. 9 is a schematic diagram illustrating an occurrence of an abnormality in a second network device according to an embodiment of the present application;
fig. 10 is an interaction flowchart of a distributed parallel transmission method according to another embodiment of the present application;
fig. 11 is a schematic diagram of service switching performed by a second network device and a third network device according to an embodiment of the present application;
fig. 12 is a schematic structural diagram of a distributed parallel transmission apparatus 1200 according to an embodiment of the present application;
fig. 13 is a schematic structural diagram of a distributed parallel transmission apparatus 1300 according to an embodiment of the present application;
fig. 14 is a schematic structural diagram of a network device 1400 according to an embodiment of the present application;
fig. 15 is a schematic structural diagram of a network device 1500 according to an embodiment of the present application.
Detailed Description
As described above, in the internet of things, two network devices transmit transactions in the form of multiple data packets, wherein the data packets are sequentially transmitted on one link, which results in that when a certain data packet is lost, the subsequent data packet can only be sent to the opposite end after the lost data packet is forwarded and received, which is called head-of-line blocking HOL. Therefore, the phenomenon of head of line blocking will cause the problem of low data transmission efficiency. In order to solve the above technical problem, the present application provides a distributed parallel transmission method, apparatus, device and storage medium.
Fig. 1 is an application scenario diagram of the technical solution provided in an embodiment of the present application, and as shown in fig. 1, a network element related to the technical solution of the present application includes: at least one first network device 11 (two first network devices 11 are exemplified in fig. 1) and at least one second network device 12 (one second network device 12 is exemplified in fig. 1), and communication can be realized between any one first network device 11 and any one second network device 12. Optionally, the first network device 11 is a client (client), and the second network device 12 is a server (server); alternatively, the first network device 11 is a server (server), and the second network device 12 is a client (client). The client (client) can be a computer, a mobile phone, a printer, a refrigerator, a robot, a sensor, an electric meter, a water meter and other equipment in the Internet of things.
It should be noted that the application scenario shown in fig. 1 is only an exemplary application scenario of the present disclosure, and the application scenario of the present disclosure is not limited thereto. The technical solution of the present application will be described in detail with reference to the application scenario shown in fig. 1.
Example one
Fig. 2 is an interaction flowchart of a distributed parallel transmission method according to an embodiment of the present application, and as shown in fig. 2, the method includes the following steps:
step S201: the first network device generates N data packet groups for transmitting N transactions (sessions),
step S202: and the first network equipment sends the N data packet groups to the second network equipment in parallel on the target link.
Wherein, N is the integer that is greater than 1, and N affairs and N data packet group one-to-one, every data packet group includes at least one data packet, and the data packet includes: a first sequence number, a second sequence number, and a transaction identification. Optionally, the first sequence number, the second sequence number, and the transaction identifier are carried in a header of the data packet, but not limited thereto. As shown in table 1:
TABLE 1
Data packet head (Header)
First Sequence number (SEQ) Sequence number of data packet in N data packet group
Second serial number (session. SEQ) Sequence number of data packet in corresponding data packet group
AffairsIdentification (Session ID) Identifying transactions to which data packets correspond
Taking N as 3 as an example, 3 data packet groups generated by the first network device for transmitting 3 transactions are shown in table 2:
TABLE 2
SEQ 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
Session ID 1 2 3 1 2 3 1 2 3 1 2 3 1 2 3 1 2 3 1 2 3 1 2 3 1 2
Session.SEQ 1 1 1 2 2 2 3 3 3 4 4 4 5 5 5 6 6 6 7 7 7 8 8 8 9 9
All the data packets corresponding to the same Session ID are called a data packet group corresponding to the Session ID. For example: when the Session ID is 1, the packet group corresponding to the Session ID includes the following packets: {1, 1, 1}, {4, 1, 2}, {7, 1, 3}, {10, 1, 4}, {13, 1, 5}, {16, 1, 6}, {19, 1, 7}, {22, 1, 8}, {25, 1, 9}, in each { }, the first item represents SEQ, the second item represents Session ID, and the third item represents Session ID.
Further, the target link is also referred to as a target connection, and the target link may be a TCP link or a connection, or a User Datagram Protocol (UDP) link or a connection, etc. This is not limited by the present application.
The application provides a distributed parallel transmission method, wherein a first network device can send N data packet groups to a second network device in parallel on a target link, N is an integer greater than 1, and based on the N data packet groups, even if the data packet group corresponding to one transaction is blocked at the end of a line, normal data packet transmission of other transactions is not influenced, so that the data transmission efficiency is improved.
Example two
Based on the first embodiment, further, fig. 3 is an interaction flowchart of a distributed parallel transmission method according to another embodiment of the present application, as shown in fig. 3, after the step S202, the distributed parallel transmission method further includes the following steps:
step S203 a: the second network device sends a first indication message to the first network device.
Step S204 a: the first network device transmits the unsuccessfully received data packet according to the first indication message.
Wherein the first indication message includes: and M pieces of indication information, wherein M is the number of the data packets included in the N data packet groups, and the indication information is used for indicating whether the corresponding data packets are successfully received.
For example: the packet marked with an "x" in table 3 indicates that the packet is lost.
TABLE 3
Figure BDA0001774103140000071
For the case of table 3, optionally, the first indication message is as shown in table 4:
TABLE 4
Figure BDA0001774103140000072
Where 1 indicates that the corresponding packet has been successfully received and 0 indicates that the corresponding packet has not been successfully received. Of course, 0 may also be used to indicate that the corresponding data packet has been successfully received, and 1 indicates that the corresponding data packet has not been successfully received, which is not limited in this application.
It should be noted that, the manner of indicating the unsuccessfully received data packet by the first indication message is suitable for the discrete packet loss situation or the continuous packet loss situation, which is not limited in this application.
Based on this, when the data packet is successfully received and there is no packet loss before the data packet in the same transaction, the second network device performs the next processing on the data packet, such as forwarding to other network devices for processing. When the data packet is lost, the second network device sends a first indication message to the first network device to indicate the first network device to retransmit the data packet. When the data packet is successfully received, but under the same transaction, a packet loss condition exists before the data packet, the second network device caches the data packet.
Specifically, for the example of table 3, table 5 shows a data packet that needs to be processed next, where the 1 st row of table 5 represents 3 transaction identification Session IDs, which are 1, 2, and 3 respectively. Seq ID of the second sequence number of each packet is identified by a number below each 1 column of Session ID, taking column 1 as an example, column 1 in table 5 indicates that all the 1 st to 9 th packets in transaction 1 are packets that need to be processed next.
TABLE 4
Figure BDA0001774103140000073
Figure BDA0001774103140000081
In particular, for the example of table 3, table 6 shows that the second network device is required to send a first indication message to the first network device to indicate retransmitted data packets (these missing data packets are marked with an "x" in table 6), and that the second network device is required to cache the data packets. Where line 1 of table 6 represents 3 transaction identification Session IDs, 1, 2, and 3, respectively. Seq ID number of the second sequence number of each packet is identified by a number below each 1 column of Session ID, taking column 3 as an example, table 6 column 3 indicates that the 5 th packet and the 8 th packet in transaction 3 need to be retransmitted, and the 6 th packet, the 7 th packet, and the 9 th packet need to be cached by the second network device.
TABLE 5
1 2 3
×4 ×5
5 6
6 7
×7 ×8
8 9
9
Further, as described above, for some transactions, a packet loss situation may occur, and for other transactions, a packet loss situation may not exist. Based on this, the parallel transmission mode between different transactions is as follows. Fig. 4 is a schematic diagram of parallel transmission among different transactions according to an embodiment of the present application, and as shown in fig. 4, a first network device transmits a session1 and a session2 to a second network device in parallel, and a normal case of the first network device transmitting a session1 to the second network device is as follows: the first network device sequentially sends 1 st data packet {1, 1, 1} (wherein, the 1 st "1" indicates that the first sequence number SEQ of the data packet is 1, the 2 nd "1" indicates that the transaction identifier Session ID corresponding to the data packet is 1, and the 3 rd "1" indicates that the first sequence number session.seq corresponding to the data packet is 1, and the format of other related data packets is the same as that of the data packet and is not described below), the 2 nd data packet {1, 1, 2}, the 5 th data packet {5, 1, 2}, however, as shown in fig. 4, the second network device only receives the 1 st data packet, the 5 th data packet, but does not receive the 2 nd data packet, that is, the 2 nd data packet is lost. In this case, the first network device caches the 5 th data packet, and after the 2 nd data packet is successfully received, the second network device performs the next processing on the 5 th data packet, and the mode for the first network device to transmit the session2 to the second network device is as follows: the first network equipment sequentially sends a 3 rd data packet {3, 2, 1} and a 4 th data packet {4, 2, 2}, and the second network equipment respectively processes the 3 rd data packet and the 4 th data packet after receiving the 3 rd data packet and the 4 th data packet. It can be seen that even though transaction 1 has a line block, the line block on transaction 1 has no normal transmission of transaction 2 because it is in a parallel transmission relationship with transaction 2.
In an embodiment of the present application, the second network device sends a first indication message to the first network device. The first network device transmits the unsuccessfully received data packet according to the first indication message. Thereby ensuring the reliability of data transmission.
EXAMPLE III
Based on the first embodiment, further, fig. 5 is an interaction flowchart of a distributed parallel transmission method according to still another embodiment of the present application, as shown in fig. 5, after the step S202, the distributed parallel transmission method further includes the following steps:
step S203 b: and the first network equipment receives a second indication message sent by the second network equipment.
Step S204 b: the first network device transmits P consecutive unsuccessfully received data packets according to the second indication message.
Specifically, the second indication message is used to indicate a range of the first sequence number or a range of the second sequence number corresponding to P unsuccessfully received data packets, where P is an integer greater than 1. For example: the second indication message is: 400, 200, 300, wherein 400 denotes the first sequence number of the newest data packet currently received by the second network device, and the data packets with the first sequence numbers from 200 to 300 are not successfully received before the data packet. Alternatively, 400 indicates the second sequence number of the latest data packet currently received by the second network device, and the data packets with the second sequence numbers from 200 to 300 are not successfully received before the data packet.
Optionally, when the second network device determines that the packet loss rate reaches the preset number within the preset time period, the second indication message is used to indicate a range of the first sequence number corresponding to P consecutive unsuccessfully received data packets. And when the second network device determines that the packet loss rate does not reach the preset number within the preset time period, the second indication message is used for indicating the range of the second sequence number corresponding to the P unsuccessfully received data packets.
It should be noted that, the manner of indicating the unsuccessfully received data packet through the second indication message is suitable for the case of continuously packet loss, which is not limited in the present application.
In an embodiment of the present application, the second network device sends the second indication message to the first network device. The first network device transmits the data packet which is not successfully received according to the second indication message. Thereby ensuring the reliability of data transmission. Further, when the second network device determines that the packet loss rate reaches the preset number within the preset time period, the second indication message is used to indicate a range of the first sequence number corresponding to P unsuccessfully received data packets. And when the second network device determines that the packet loss rate does not reach the preset number within the preset time period, the second indication message is used for indicating the range of the second sequence number corresponding to the P unsuccessfully received data packets. Thereby enabling flexible indication of unsuccessfully received data packets.
Example four
Based on the first embodiment, the second embodiment or the third embodiment (the following is to explain based on the second embodiment), further, fig. 6 is an interaction flowchart of a distributed parallel transmission method provided in another embodiment of the present application, as shown in fig. 6, after the step S204a, the distributed parallel transmission method further includes the following steps:
step S205 a: and the first network equipment receives a third indication message sent by the second network equipment.
Step S206 a: and the first network equipment retransmits the data packet which is not successfully received according to the third indication message.
Wherein the third indication message includes: a transaction identification of the unsuccessfully received data packet, and a second sequence number of the unsuccessfully received data packet; alternatively, the third indication message includes: the first sequence number of the unsuccessfully received data packet. For example: fig. 7 is a schematic diagram of parallel transmission among different transactions according to an embodiment of the present application, and as shown in fig. 7, a first network device transmits a session1 and a session2 to a second network device in parallel, and a normal case of the first network device transmitting a session1 to the second network device is as follows: the first network device sequentially transmits a 1 st data packet {1, 1, 1}, a 2 nd data packet {1, 1, 2}, a 5 th data packet {5, 1, 2}, but packet loss occurs in the 2 nd packet, based on which, the second network device may send a first indication message to the first network device, indicating that the 2 nd packet is lost, the first network device retransmits the 2 nd packet {6, 1, 2}, before the second network device successfully receives the 2 nd data packet, the second network device buffers the received 5 th data packet, however, the retransmitted 2 nd data packet generates packet loss, after the 2 nd data packet is retransmitted, the first network device continues to send the 7 th packet and the 8 th packet to the second network device, and before the second network equipment successfully receives the 2 nd data packet, the second network equipment caches the received 7 th data packet and 8 th data packet. Because the second network device still does not successfully receive the 2 nd packet, based on this, the second network device sends the first indication message to the first network device to instruct the first network device to retransmit the 2 nd packet, and based on this, the first network device preferentially sends the 2 nd packet {10, 1, 2}, and the manner for the first network device to transmit the session2 to the second network device is as follows: the first network device sequentially transmits a 3 rd data packet {3, 2, 1}, a 4 th data packet {4, 2, 2}, and a 9 th data packet {9, 2, 2 }.
In an embodiment of the present application, the second network device sends a third indication message to the first network device. The first network device transmits the unsuccessfully received data packet according to the third indication message. Thereby ensuring the reliability of data transmission. Further, when the fourth embodiment is the second embodiment or the third embodiment, that is, after the first network device receives the first indication message or the second indication message, the first network device retransmits the unsuccessfully received data packet again with failure, in this case, the second network device may send a third indication message to the first network device, where the third indication message carries the transaction identifier of the unsuccessfully received data packet and the second sequence number of the unsuccessfully received data packet; alternatively, the third indication message includes: the first sequence number of the unsuccessfully received data packet. After receiving the third indication message, the first network device preferentially sends the unsuccessfully received data packet, thereby further improving the reliability of data transmission.
EXAMPLE five
Based on the first embodiment, the second embodiment, the third embodiment or the fourth embodiment (the first embodiment is described below), further, fig. 8 is an interactive flowchart of a distributed parallel transmission method according to a further embodiment of the present application, as shown in fig. 8, after the step S202, the distributed parallel transmission method further includes the following steps:
step S203 c: the first network device determines transmission breakpoints for the N data packet groups.
Step S204 c: and the first network equipment receives a fourth indication message sent by the second network equipment, wherein the fourth indication message is used for indicating that the abnormal condition of the second network equipment is recovered.
Step S205 c: and the first network equipment resends the data packet starting from the transmission breakpoint to the second network equipment according to the fourth indication message.
Specifically, after the second network device receives the data packet, the second network device typically sends an Acknowledgement (ACK) to the first network device, where the ACK is used to indicate that the data packet has been successfully received. Based on this, when the first network device does not receive the ACK corresponding to the target data packet, the first network device determines that the target data packet is not successfully received. The target data packet is any one of N data packet groups, and the transmission breakpoint of the N data packet groups is the first sequence number of the target data packet.
The reason why the target data packet is not successfully received is many, and the abnormality of the second network device is a common reason, for example: the process in the second network device for receiving the N packet groups is abnormal. Specifically, fig. 9 is a schematic diagram of an occurrence of an exception of a second network device according to an embodiment of the present application, as shown in fig. 9, B1 may be understood as a process in which an exception occurs, and B2 may be understood as a new process, or an exception is recovered from a B1 process, based on which, when the exception condition of the second network device is recovered, the second network device may send a fourth indication message to the first network device, so that the first network device may send a data packet from a transmission breakpoint to the second network device again according to the fourth indication message. In fig. 9, the block with 1 indicates the packet of transaction 1, and the block with 2 indicates the packet of transaction 2.
In the embodiment of the present application, the first network device determines the transmission break point of the N data packet groups. And the first network equipment receives a fourth indication message sent by the second network equipment, and the first network equipment resends the data packet starting from the transmission breakpoint to the second network equipment according to the fourth indication message. On one hand, the continuous transmission of the data packet can be ensured, and on the other hand, the reliability of data transmission can be ensured.
EXAMPLE six
Based on the first embodiment, the second embodiment, the third embodiment, the fourth embodiment or the fifth embodiment (the first embodiment is described below), further, fig. 10 is an interaction flowchart of a distributed parallel transmission method according to another embodiment of the present application, as shown in fig. 10, after the step S202, the distributed parallel transmission method further includes the following steps:
step S203 d: the first network device determines a transmission breakpoint for the N data packet groups.
Step S204 d: and the first network equipment receives a fifth indication message sent by the second network equipment, wherein the fifth indication message is used for indicating that the data packet transmission service on the second network equipment is switched to the third network equipment.
Step S205 d: and the first network equipment sends the data packet starting from the transmission breakpoint to the third network equipment according to the fifth indication message.
Specifically, after the second network device receives the data packet, the second network device typically sends an ACK to the first network device, which indicates that the data packet has been successfully received. Based on this, when the first network device does not receive the ACK corresponding to the target data packet, the first network device determines that the target data packet is not successfully received. The target data packet is any one of N data packet groups, and the transmission breakpoint of the N data packet groups is the first sequence number of the target data packet.
Specifically, fig. 11 is a schematic diagram of service switching between the second network device and the third network device provided in an embodiment of the present application, and as shown in fig. 11, the second network device switches the transmission service to the third network device, and based on this, the second network device sends a fifth indication message to the first network device, so that the first network device sends a data packet starting from the transmission breakpoint to the third network device according to the fifth indication message.
In this embodiment of the present application, the first network device determines a transmission breakpoint of the N data packet groups. And the first network equipment receives a fifth indication message sent by the second network equipment, wherein the fifth indication message is used for indicating that the data packet transmission service on the second network equipment is switched to the third network equipment. And the first network equipment sends the data packet starting from the transmission breakpoint to the third network equipment according to the fifth indication message, so that on one hand, the continuous transmission of the data packet can be ensured, and on the other hand, the reliability of data transmission can be ensured.
EXAMPLE seven
Based on the first embodiment, the second embodiment, the third embodiment, the fourth embodiment, the fifth embodiment or the sixth embodiment, optionally, the 1 st data packet in the data packet group includes: an identity of the first network device and an identity of the second network device; the ith packet in the packet group does not include: the identifier of the first network device and the identifier of the second network device, where i is an integer greater than 1 and less than or equal to Q, and Q is the number of packets included in the packet group. The "1 st packet" refers to a packet having a first sequence number of 1. Based on this, since the ith packet does not include: the identity of the first network device and the identity of the second network device may be used to save network overhead.
Alternatively, a set formed by a plurality of network devices may be referred to as a cluster, and when one network device joins the cluster, a unique identifier is generated according to its own identity, and the identity and the identifier are broadcast to the cluster, so that other network devices in the cluster can obtain their identities and identifiers. When a network device exits from the cluster abnormally and rejoins the cluster again, the network device can retrieve its own identifier from other network devices through its identity.
It should be noted that the transaction identifiers in the network devices are independent from each other, that is, even if two identical transaction identifiers exist in two network devices, they can be distinguished by the identifiers of the network devices, so as to avoid the conflict of the transaction identifiers between the network devices.
Example eight
Fig. 12 is a schematic structural diagram of a distributed parallel transmission apparatus 1200 according to an embodiment of the present application, and as shown in fig. 12, the apparatus 1200 includes:
a generating module 1201, configured to generate N data packet groups for transmitting N transactions, where N is an integer greater than 1, the N transactions are in one-to-one correspondence with the N data packet groups, each data packet group includes at least one data packet, and the data packet includes: the system comprises a first serial number, a second serial number and a transaction identifier, wherein the first serial number is the serial number of a data packet in N data packet groups, the second serial number is the serial number of the data packet in the corresponding data packet group, and the transaction identifier is used for identifying the transaction corresponding to the data packet.
A first sending module 1202, configured to send N data packet groups in parallel to the second network device on the target link.
Optionally, the apparatus further comprises:
a first receiving module 1203, configured to receive a first indication message sent by a second network device, where the first indication message includes: and M pieces of indication information, wherein M is the number of the data packets included in the N data packet groups, and the indication information is used for indicating whether the corresponding data packets are successfully received.
A first transmission module 1204, configured to transmit the unsuccessfully received data packet according to the first indication message.
Optionally, the apparatus further comprises:
a second receiving module 1205 is configured to receive a second indication message sent by the second network device, where the second indication message is used to indicate a range of first sequence numbers or a range of second sequence numbers corresponding to P unsuccessfully received data packets, and P is an integer greater than 1.
A second transmitting module 1206, configured to transmit the P unsuccessfully received data packets according to the second indication message.
Optionally, the apparatus further comprises:
a third receiving module 1207, configured to receive a third indication message sent by the second network device. Wherein the third indication message includes: a transaction identification of a data packet that was not successfully received, and a second sequence number of the data packet that was not successfully received. Alternatively, the third indication message includes: the first sequence number of the unsuccessfully received data packet.
A second sending module 1208, configured to resend the unsuccessfully received data packet according to the third indication message.
Optionally, the apparatus further comprises:
a first determining module 1209, configured to determine a transmission breakpoint of the N data packet groups.
A fourth receiving module 1210, configured to receive a fourth indication message sent by the second network device, where the fourth indication message is used to indicate that the abnormal condition of the second network device is recovered.
A third sending module 1211, configured to resend the data packet starting from the transmission breakpoint to the second network device according to the fourth indication message.
Optionally, the apparatus further comprises:
a second determining module 1212, configured to determine a transmission breakpoint for the N data packet groups.
A fifth receiving module 1213, configured to receive a fifth indication message sent by the second network device, where the fifth indication message is used to indicate that the packet transmission service on the second network device has been switched to the third network device.
A fourth sending module 1214, configured to send the data packet starting from the transmission breakpoint to the third network device according to the fifth indication message.
Optionally, the 1 st data packet in the data packet group includes: an identification of the first network device and an identification of the second network device. The ith packet in the packet group does not include: the identifier of the first network device and the identifier of the second network device, where i is an integer greater than 1 and less than or equal to Q, and Q is the number of packets included in the packet group.
The distributed parallel transmission apparatus provided in the embodiment of the present application may be used to execute the distributed parallel transmission method corresponding to the first network device, and the content and effect of the distributed parallel transmission apparatus may refer to the method embodiment, which is not described in detail herein.
Example nine
Fig. 13 is a schematic structural diagram of a distributed parallel transmission apparatus 1300 according to an embodiment of the present application, and as shown in fig. 13, the apparatus 1300 includes:
a first receiving module 1301, configured to receive N data packet groups that are sent by the first network device on the target link in parallel. Wherein, N data packet group is used for transmitting N affairs, and N is for being greater than 1 integer, and N affairs and N data packet group one-to-one, every data packet group include at least one data packet, and the data packet includes: the system comprises a first serial number, a second serial number and a transaction identifier, wherein the first serial number is the serial number of a data packet in N data packet groups, the second serial number is the serial number of the data packet in the corresponding data packet group, and the transaction identifier is used for identifying the transaction corresponding to the data packet.
Optionally, the apparatus further comprises:
a first sending module 1302, configured to send a first indication message to a first network device, where the first indication message includes: and M pieces of indication information, wherein M is the number of the data packets included in the N data packet groups, and the indication information is used for indicating whether the corresponding data packets are successfully received.
Optionally, the apparatus further comprises:
a second sending module 1303, configured to send a second indication message to the first network device, where the second indication message is used to indicate a range of the first sequence number or a range of the second sequence number corresponding to P unsuccessfully received data packets, and P is an integer greater than 1.
Optionally, the apparatus further comprises: a determination module 1304 and a third sending module 1305.
When the determination module 1304 determines that a previously unsuccessfully received data packet has not been received within a preset time. The third sending module 1305 sends a third indication message to the first network device.
Wherein the third indication message includes: a transaction identification of a data packet that was not successfully received, and a second sequence number of the data packet that was not successfully received. Alternatively, the first and second electrodes may be,
the third indication message includes: the first sequence number of the unsuccessfully received data packet.
Optionally, the apparatus further comprises:
a fourth sending module 1306, configured to send a fourth indication message to the first network device when the abnormal condition of the second network device is recovered, where the fourth indication message is used to indicate that the abnormal condition of the second network device is recovered.
A second receiving module 1307 is configured to receive the data packet that is retransmitted by the first network device and starts from the transmission breakpoint.
Optionally, the apparatus further comprises:
a fifth sending module 1308, configured to send a fifth indication message to the first network device when the packet transmission service on the second network device needs to be switched to a third network device, where the fifth indication message is used to indicate that the packet transmission service on the second network device has been switched to the third network device.
Optionally, the 1 st data packet in the data packet group includes: an identification of the first network device and an identification of the second network device. The ith packet in the packet group does not include: the identifier of the first network device and the identifier of the second network device, where i is an integer greater than 1 and less than or equal to Q, and Q is the number of packets included in the packet group.
The distributed parallel transmission apparatus provided in the embodiment of the present application may be used to execute the distributed parallel transmission method corresponding to the second network device, and the content and effect of the distributed parallel transmission apparatus may refer to the method embodiment, which is not described in detail herein.
Example ten
Fig. 14 is a schematic structural diagram of a network device 1400 according to an embodiment of the present application, and as shown in fig. 14, the network device 1400 includes: a processor 1401, a transceiver 1402, and a memory 1403, wherein the memory is configured to store executable instructions of the processor 1401, such that the processor 1401 implements the following functionality.
A processor 1401, configured to generate N data packet groups for transmitting N transactions, where N is an integer greater than 1, the N transactions are in one-to-one correspondence with the N data packet groups, each data packet group includes at least one data packet, and the data packet includes: the system comprises a first serial number, a second serial number and a transaction identifier, wherein the first serial number is the serial number of a data packet in N data packet groups, the second serial number is the serial number of the data packet in the corresponding data packet group, and the transaction identifier is used for identifying the transaction corresponding to the data packet.
A transceiver 1402 for transmitting the N groups of packets in parallel to the second network device over the target link.
Optionally, the transceiver 1402 is further configured to receive a first indication message sent by the second network device, where the first indication message includes: and M pieces of indication information, wherein M is the number of the data packets included in the N data packet groups, and the indication information is used for indicating whether the corresponding data packets are successfully received.
The transceiver 1402 is further configured to transmit the unsuccessfully received data packet according to the first indication message.
Optionally, the transceiver 1402 is further configured to receive a second indication message sent by the second network device, where the second indication message is used to indicate a range of the first sequence numbers or a range of the second sequence numbers corresponding to P unsuccessfully received data packets, and P is an integer greater than 1.
The transceiver 1402 is further configured to transmit P unsuccessfully received data packets according to the second indication message.
Optionally, the transceiver 1402 is further configured to receive a third indication message sent by the second network device. Wherein the third indication message includes: a transaction identification of a data packet that was not successfully received, and a second sequence number of the data packet that was not successfully received. Alternatively, the third indication message includes: the first sequence number of the unsuccessfully received data packet.
The transceiver 1402 is further configured to retransmit the unsuccessfully received data packet according to the third indication message.
Optionally, the processor 1401 is further configured to determine a transmission breakpoint for the N packet groups.
The transceiver 1402 is further configured to receive a fourth indication message sent by the second network device, where the fourth indication message is used to indicate that the abnormal condition of the second network device is recovered.
The transceiver 1402 is further configured to resend the data packet beginning from the transmission breakpoint to the second network device according to the fourth indication message.
Optionally, the processor 1401 is further configured to determine a transmission breakpoint for the N packet groups.
The transceiver 1402 is further configured to receive a fifth indication message sent by the second network device, where the fifth indication message is used to indicate that the packet transmission service on the second network device has been switched to the third network device.
The transceiver 1402 is further configured to send a data packet starting from the transmission breakpoint to the third network device according to the fifth indication message.
Optionally, the 1 st data packet in the data packet group includes: an identification of the first network device and an identification of the second network device. The ith packet in the packet group does not include: the identifier of the first network device and the identifier of the second network device, where i is an integer greater than 1 and less than or equal to Q, and Q is the number of packets included in the packet group.
The network device provided in this embodiment of the present application may be configured to execute the distributed parallel transmission method corresponding to the first network device, and the content and effect of the method embodiment may be referred to, which is not described again in this embodiment of the present application.
EXAMPLE eleven
Fig. 15 is a schematic structural diagram of a network device 1500 according to an embodiment of the present application, and as shown in fig. 15, the network device 1500 includes: a processor 1501, a transceiver 1502, and a memory 1503 for storing executable instructions of the processor 1501 to cause the processor 1501 to implement the following functions.
A transceiver 1502 is configured to receive N data packet groups that are transmitted by the first network device in parallel on the target link. Wherein, N data packet group is used for transmitting N affairs, and N is for being greater than 1 integer, and N affairs and N data packet group one-to-one, every data packet group include at least one data packet, and the data packet includes: the system comprises a first serial number, a second serial number and a transaction identifier, wherein the first serial number is the serial number of a data packet in N data packet groups, the second serial number is the serial number of the data packet in the corresponding data packet group, and the transaction identifier is used for identifying the transaction corresponding to the data packet.
Optionally, the transceiver 1502 is further configured to send a first indication message to the first network device, where the first indication message includes: and M pieces of indication information, wherein M is the number of the data packets included in the N data packet groups, and the indication information is used for indicating whether the corresponding data packets are successfully received.
Optionally, the transceiver 1502 is further configured to send a second indication message to the first network device, where the second indication message is used to indicate a range of first sequence numbers or a range of second sequence numbers corresponding to P unsuccessfully received data packets, and P is an integer greater than 1.
Alternatively, when processor 1501 determines that a previously unsuccessfully received data packet has not been received within a preset time. The transceiver 1502 transmits a third indication message to the first network device.
Wherein the third indication message includes: a transaction identification of a data packet that was not successfully received, and a second sequence number of the data packet that was not successfully received. Alternatively, the first and second electrodes may be,
the third indication message includes: the first sequence number of the unsuccessfully received data packet.
Optionally, the transceiver 1502 is further configured to send a fourth indication message to the first network device when the abnormal condition of the second network device is recovered, where the fourth indication message is used to indicate that the abnormal condition of the second network device is recovered.
The transceiver 1502 is further configured to receive a data packet retransmitted by the first network device from the transmission breakpoint.
Optionally, the transceiver 1502 is further configured to send a fifth indication message to the first network device when the packet transmission service on the second network device needs to be switched to a third network device, where the fifth indication message is used to indicate that the packet transmission service on the second network device has been switched to the third network device.
Optionally, the 1 st data packet in the data packet group includes: an identification of the first network device and an identification of the second network device. The ith packet in the packet group does not include: the identifier of the first network device and the identifier of the second network device, where i is an integer greater than 1 and less than or equal to Q, and Q is the number of packets included in the packet group.
The network device provided in this embodiment of the present application may be configured to execute the distributed parallel transmission method corresponding to the second network device, and the content and effect of the method may refer to the method embodiment, which is not described in detail herein.
An embodiment of the present application further provides a computer storage medium, including: for the content and the effect of the distributed parallel transmission method executed by the first network device, reference may be made to the method embodiment, which is not described herein again.
An embodiment of the present application further provides a computer storage medium, including: for the content and the effect of the distributed parallel transmission method executed by the second network device, reference may be made to the method embodiment, which is not described herein again.
An embodiment of the present application further provides a computer program product, including: for the content and the effect of the distributed parallel transmission method executed by the first network device, reference may be made to the method embodiment, which is not described herein again.
An embodiment of the present application further provides a computer program product, including: for the content and the effect of the distributed parallel transmission method executed by the second network device, reference may be made to the method embodiment, which is not described herein again.

Claims (30)

1. A distributed parallel transmission method, comprising:
the first network device generates N data packet groups for transmitting N transactions, wherein N is an integer greater than 1, the N transactions are in one-to-one correspondence with the N data packet groups, each data packet group comprises at least one data packet, and the data packet comprises: the first sequence number is the sequence number of the data packet in the N data packet groups, the second sequence number is the sequence number of the data packet in the corresponding data packet group, and the transaction identifier is used for identifying the transaction corresponding to the data packet;
and the first network equipment sends the N data packet groups to the second network equipment in parallel on the target link.
2. The method of claim 1, further comprising:
the first network device receives a first indication message sent by the second network device, where the first indication message includes: m pieces of indication information, wherein M is the number of the data packets included in the N data packet groups, and the indication information is used for indicating whether the corresponding data packets are successfully received;
and the first network equipment transmits the data packet which is not successfully received according to the first indication message.
3. The method of claim 1, further comprising:
the first network device receives a second indication message sent by the second network device, where the second indication message is used to indicate a range of first sequence numbers or a range of second sequence numbers corresponding to P unsuccessfully received data packets, and P is an integer greater than 1;
and the first network equipment transmits the P unsuccessfully received data packets according to the second indication message.
4. The method of claim 2 or 3, further comprising:
the first network equipment receives a third indication message sent by the second network equipment; wherein the third indication message comprises: a transaction identification of the unsuccessfully received data packet, and a second sequence number of the unsuccessfully received data packet; or, the third indication message includes: a first sequence number of a unsuccessfully received data packet;
and the first network equipment retransmits the unsuccessfully received data packet according to the third indication message.
5. The method according to any one of claims 1-4, further comprising:
the first network equipment determines the transmission breakpoint of the N data packet groups;
the first network device receives a fourth indication message sent by the second network device, where the fourth indication message is used to indicate that the abnormal condition of the second network device has recovered;
and the first network equipment resends the data packet starting from the transmission breakpoint to the second network equipment according to the fourth indication message.
6. The method according to any one of claims 1-4, further comprising:
the first network equipment determines the transmission breakpoint of the N data packet groups;
the first network device receives a fifth indication message sent by the second network device, where the fifth indication message is used to indicate that a packet transmission service on the second network device has been switched to a third network device;
and the first network equipment sends the data packet starting from the transmission breakpoint to the third network equipment according to the fifth indication message.
7. The method of any of claims 1-5, wherein the 1 st packet in the group of packets comprises: an identity of the first network device and an identity of the second network device;
the ith data packet in the data packet group does not include: the identifier of the first network device and the identifier of the second network device, where i is an integer greater than 1 and less than or equal to Q, and Q is the number of packets included in the packet group.
8. A distributed parallel transmission method, comprising:
the second network equipment receives N data packet groups which are transmitted by the first network equipment on a target link in parallel; the N data packet groups are used for transmitting N transactions, N is an integer greater than 1, the N transactions are in one-to-one correspondence with the N data packet groups, each data packet group includes at least one data packet, and the data packet includes: the system comprises a first sequence number, a second sequence number and a transaction identifier, wherein the first sequence number is the sequence number of the data packet in the N data packet groups, the second sequence number is the sequence number of the data packet in the corresponding data packet group, and the transaction identifier is used for identifying the transaction corresponding to the data packet.
9. The method of claim 8, further comprising:
the second network device sends a first indication message to the first network device, wherein the first indication message comprises: and M pieces of indication information, wherein M is the number of the data packets included in the N data packet groups, and the indication information is used for indicating whether the corresponding data packets are successfully received.
10. The method of claim 8, further comprising:
and the second network device sends a second indication message to the first network device, where the second indication message is used to indicate a range of first sequence numbers or a range of second sequence numbers corresponding to P unsuccessfully received data packets, and P is an integer greater than 1.
11. The method of claim 9 or 10, further comprising:
when the second network device determines that a data packet which is not successfully received before is not received within a preset time; the second network equipment sends a third indication message to the first network equipment;
wherein the third indication message comprises: a transaction identification of the unsuccessfully received data packet, and a second sequence number of the unsuccessfully received data packet; alternatively, the first and second electrodes may be,
the third indication message includes: the first sequence number of the unsuccessfully received data packet.
12. The method according to any one of claims 8-11, further comprising:
when the abnormal condition of the second network equipment is recovered, the second network equipment sends a fourth indication message to the first network equipment, wherein the fourth indication message is used for indicating that the abnormal condition of the second network equipment is recovered;
and the second network equipment receives the data packet which is retransmitted by the first network equipment and begins from the transmission breakpoint.
13. The method according to any one of claims 8-11, further comprising:
when the data packet transmission service on the second network device needs to be switched to a third network device, the second network device sends a fifth indication message to the first network device, where the fifth indication message is used to indicate that the data packet transmission service on the second network device has been switched to the third network device.
14. The method of any of claims 8-12, wherein the 1 st packet in the group of packets comprises: an identity of the first network device and an identity of the second network device;
the ith data packet in the data packet group does not include: the identifier of the first network device and the identifier of the second network device, where i is an integer greater than 1 and less than or equal to Q, and Q is the number of packets included in the packet group.
15. A distributed parallel transmission apparatus, comprising:
a generating module, configured to generate N data packet groups for transmitting N transactions, where N is an integer greater than 1, the N transactions are in one-to-one correspondence with the N data packet groups, each data packet group includes at least one data packet, and the data packet includes: the first sequence number is the sequence number of the data packet in the N data packet groups, the second sequence number is the sequence number of the data packet in the corresponding data packet group, and the transaction identifier is used for identifying the transaction corresponding to the data packet;
and the first sending module is used for sending the N data packet groups to the second network equipment in parallel on the target link.
16. The apparatus of claim 15, further comprising:
a first receiving module, configured to receive a first indication message sent by the second network device, where the first indication message includes: m pieces of indication information, wherein M is the number of the data packets included in the N data packet groups, and the indication information is used for indicating whether the corresponding data packets are successfully received;
and the first transmission module is used for transmitting the data packet which is not successfully received according to the first indication message.
17. The apparatus of claim 15, further comprising:
a second receiving module, configured to receive a second indication message sent by the second network device, where the second indication message is used to indicate a range of first sequence numbers or a range of second sequence numbers corresponding to P unsuccessfully received data packets, and P is an integer greater than 1;
and a second transmission module, configured to transmit the P unsuccessfully received data packets according to the second indication message.
18. The apparatus of claim 16 or 17, further comprising:
a third receiving module, configured to receive a third indication message sent by the second network device; wherein the third indication message comprises: a transaction identification of the unsuccessfully received data packet, and a second sequence number of the unsuccessfully received data packet; or, the third indication message includes: a first sequence number of a unsuccessfully received data packet;
and the second sending module is used for resending the unsuccessfully received data packet according to the third indication message.
19. The apparatus of any one of claims 15-18, further comprising:
a first determining module, configured to determine a transmission breakpoint of the N data packet groups;
a fourth receiving module, configured to receive a fourth indication message sent by the second network device, where the fourth indication message is used to indicate that the abnormal condition of the second network device has recovered;
a third sending module, configured to resend the data packet starting from the transmission breakpoint to the second network device according to the fourth indication message.
20. The apparatus of any one of claims 15-18, further comprising:
a second determining module, configured to determine a transmission breakpoint of the N data packet groups;
a fifth receiving module, configured to receive a fifth indication message sent by the second network device, where the fifth indication message is used to indicate that a packet transmission service on the second network device has been switched to a third network device;
a fourth sending module, configured to send, to the third network device, a data packet starting from the transmission breakpoint according to the fifth indication message.
21. A distributed parallel transmission apparatus, comprising:
a first receiving module, configured to receive N data packet groups sent by a first network device on a target link in parallel; the N data packet groups are used for transmitting N transactions, N is an integer greater than 1, the N transactions are in one-to-one correspondence with the N data packet groups, each data packet group includes at least one data packet, and the data packet includes: the system comprises a first sequence number, a second sequence number and a transaction identifier, wherein the first sequence number is the sequence number of the data packet in the N data packet groups, the second sequence number is the sequence number of the data packet in the corresponding data packet group, and the transaction identifier is used for identifying the transaction corresponding to the data packet.
22. The apparatus of claim 21, further comprising:
a first sending module, configured to send a first indication message to the first network device, where the first indication message includes: and M pieces of indication information, wherein M is the number of the data packets included in the N data packet groups, and the indication information is used for indicating whether the corresponding data packets are successfully received.
23. The apparatus of claim 21, further comprising:
a second sending module, configured to send a second indication message to the first network device, where the second indication message is used to indicate a range of first sequence numbers or a range of second sequence numbers corresponding to P unsuccessfully received data packets, and P is an integer greater than 1.
24. The apparatus of claim 22 or 23, further comprising: a determining module and a third sending module;
when the determining module determines that a data packet which is not successfully received before is not received within a preset time; the third sending module sends a third indication message to the first network device;
wherein the third indication message comprises: a transaction identification of the unsuccessfully received data packet, and a second sequence number of the unsuccessfully received data packet; alternatively, the first and second electrodes may be,
the third indication message includes: the first sequence number of the unsuccessfully received data packet.
25. The apparatus of any one of claims 21-24, further comprising:
a fourth sending module, configured to send a fourth indication message to the first network device when the abnormal condition of the second network device is recovered, where the fourth indication message is used to indicate that the abnormal condition of the second network device is recovered;
and the second receiving module is used for receiving the data packet which is retransmitted by the first network equipment and starts from the transmission breakpoint.
26. The apparatus of any one of claims 21-24, further comprising:
a fifth sending module, configured to send a fifth indication message to the first network device when the data packet transmission service on the second network device needs to be switched to a third network device, where the fifth indication message is used to indicate that the data packet transmission service on the second network device has been switched to the third network device.
27. A network device, comprising: a processor and a memory for storing executable instructions of the processor to cause the processor to implement the method of any one of claims 1-7.
28. A network device, comprising: a processor and a memory for storing executable instructions of the processor to cause the processor to implement the method of any one of claims 8-14.
29. A computer storage medium, comprising: computer instructions for implementing the method according to any one of claims 1 to 7.
30. A computer storage medium, comprising: computer instructions for implementing the method according to any one of claims 8-14.
CN201810962356.1A 2018-08-22 2018-08-22 Distributed parallel transmission method, device, equipment and storage medium Pending CN110858791A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810962356.1A CN110858791A (en) 2018-08-22 2018-08-22 Distributed parallel transmission method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810962356.1A CN110858791A (en) 2018-08-22 2018-08-22 Distributed parallel transmission method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN110858791A true CN110858791A (en) 2020-03-03

Family

ID=69636052

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810962356.1A Pending CN110858791A (en) 2018-08-22 2018-08-22 Distributed parallel transmission method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN110858791A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111885564A (en) * 2020-07-03 2020-11-03 海尔优家智能科技(北京)有限公司 Data transmission method, equipment upgrading method and computer readable storage medium
CN111970102A (en) * 2020-08-31 2020-11-20 Oppo广东移动通信有限公司 Data processing method and device, electronic equipment and storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1494402A1 (en) * 2003-07-01 2005-01-05 Thomson Multimedia Broadband Belgium Transmission control device and process for an interface between communication networks and associated products
CN101064910A (en) * 2006-04-24 2007-10-31 维豪信息技术有限公司 Call control based terminal-to-terminal breakpoint transmission method
CN101188556A (en) * 2007-10-16 2008-05-28 武汉烽火网络有限责任公司 Efficient multicast forward method based on sliding window in share memory switching structure
CN101207466A (en) * 2006-12-20 2008-06-25 阿尔卡特朗讯公司 Retransmission scheme for lossy media
CN101719918A (en) * 2009-11-27 2010-06-02 北京交通大学 Improved multi-joint and multi-path transmission method
CN106453137A (en) * 2016-09-20 2017-02-22 北京航空航天大学 Dynamic multicast enqueue algorithm for relieving HOL Blocking
CN106528327A (en) * 2016-09-30 2017-03-22 华为技术有限公司 Data processing method and backup server
CN108243211A (en) * 2016-12-24 2018-07-03 华为技术有限公司 A kind of data transmission method and device

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1494402A1 (en) * 2003-07-01 2005-01-05 Thomson Multimedia Broadband Belgium Transmission control device and process for an interface between communication networks and associated products
CN101064910A (en) * 2006-04-24 2007-10-31 维豪信息技术有限公司 Call control based terminal-to-terminal breakpoint transmission method
CN101207466A (en) * 2006-12-20 2008-06-25 阿尔卡特朗讯公司 Retransmission scheme for lossy media
CN101188556A (en) * 2007-10-16 2008-05-28 武汉烽火网络有限责任公司 Efficient multicast forward method based on sliding window in share memory switching structure
CN101719918A (en) * 2009-11-27 2010-06-02 北京交通大学 Improved multi-joint and multi-path transmission method
CN106453137A (en) * 2016-09-20 2017-02-22 北京航空航天大学 Dynamic multicast enqueue algorithm for relieving HOL Blocking
CN106528327A (en) * 2016-09-30 2017-03-22 华为技术有限公司 Data processing method and backup server
CN108243211A (en) * 2016-12-24 2018-07-03 华为技术有限公司 A kind of data transmission method and device

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
李小菜: "《HTTP协议重定向》", 《HTTPS://WWW.CNBLOGS.COM/BQ-MED/P/8602629.HTML》 *
聂永: "《HTTP/2笔记之帧》", 《HTTP://WWW.BLOGJAVA.NET/YONGBOY/ARCHIVE/2015/03/20/423655.HTML》 *
聂永: "《HTTP/2笔记之流和多路复用》", 《HTTP://WWW.BLOGJAVA.NET/YONGBOY/ARCHIVE/2015/03/19/423611.ASPX》 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111885564A (en) * 2020-07-03 2020-11-03 海尔优家智能科技(北京)有限公司 Data transmission method, equipment upgrading method and computer readable storage medium
CN111885564B (en) * 2020-07-03 2024-03-22 海尔优家智能科技(北京)有限公司 Data transmission method, equipment upgrading method and computer readable storage medium
CN111970102A (en) * 2020-08-31 2020-11-20 Oppo广东移动通信有限公司 Data processing method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
US7970828B2 (en) Liveness monitoring in a publish/subscribe messaging system
US7693058B2 (en) Method for enhancing transmission quality of streaming media
US20080256409A1 (en) Hybrid corrective scheme for dropped packets
KR101430032B1 (en) Method for improving a tcp data transmission process in case the physical transmission medium is disconnected
US10044482B2 (en) Apparatus and method for transmitting a message to multiple receivers
CN106330414A (en) Message transmission method and device
KR101533870B1 (en) Apparatus and method for retransmitting message in message transmission system
US20120250547A1 (en) Wireless communication device, wireless communication method, and wireless communication system
KR101600060B1 (en) Protocol booster for sctp in multicast networks
US8243736B2 (en) Packet capturing device
CN110858791A (en) Distributed parallel transmission method, device, equipment and storage medium
CA2561712C (en) Data repair enhancements for multicast/broadcast data distribution
CN111181698B (en) Data processing method, device, equipment and medium
CN109586932B (en) Multicast method and terminal equipment
CN109120385B (en) Data transmission method, device and system based on data transmission system
GB2592314A (en) Modified methods and system of transmitting and receiving transmission control protocol segments over internet protocol packets
US8762449B2 (en) Method of downloading large size data to a large number of networked client machines from a single server
WO2016003250A1 (en) Method and device for transmitting and receiving multimedia data
JP2017092692A (en) Data transmission control system and method, and data transmission control program
CN113890769B (en) TCP blocking method
CN107294848B (en) Method and device for sending router request message
CN102215240B (en) Streaming media signalling sending method and equipment as well as point-to-point streaming media system
JP4476898B2 (en) Communication system, communication terminal device, and data request method
EP3432500A1 (en) Point-to-point transmitting method based on the use of an erasure coding scheme and a tcp/ip protocol
CN117978747A (en) Reliability multicast method and system based on sender confirmation maximum reliability frame

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20200303