Data transmission method, device, equipment and storage medium

By recording and transmitting the first time and serial number of the data packet, the last node determines the transmission time of the data packet based on these information, solving the problem of difficulty in realizing deterministic delay transmission at low cost in the prior art, and realizing the data flow Deterministic delay transmission and low-cost deployment.

CN114422589BActive Publication Date: 2025-02-18CHINA MOBILE COMM LTD RES INST +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202011086200.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-10-12
Publication Date
2025-02-18
Estimated Expiration
2040-10-12

AI Technical Summary

Technical Problem

The prior art is difficult to achieve deterministic delay transmission at low cost and conveniently, especially when hardware upgrades to network devices are not required.

Method used

The first time and serial number of the data packet sent by the first node in the network is recorded through the sending device, and the information is sent to the last node through the network. The last node determines the transmission time of the data packet based on this information to ensure that the transmission interval of the data packet is consistent. .

Benefits of technology

Deterministic delay transmission of data flow is realized, ensuring that the transmission and reception intervals of two adjacent data packets in the network are consistent, and no intermediate nodes need to support new protocols or modify them, reducing deployment costs and difficulty.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114422589B_ABST
    Figure CN114422589B_ABST
Patent Text Reader

Abstract

The present invention discloses a data transmission method, device, equipment and storage medium. The method comprises: recording the first time and sequence number corresponding to each of two adjacent data packets sent by a transmitting end device in a network; sending the first time and sequence number corresponding to the two adjacent data packets to an end node in the network through the network; wherein the first time is used for the end node to determine the second time for sending the two adjacent data packets to the receiving end device; the time interval between the second time and the first time corresponding to the two adjacent data packets is the same; the second time and the sequence number are used for the end node to send the two adjacent data packets to the receiving end device.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of wireless communication technologies, and in particular to a data transmission method, device, equipment and storage medium. Background Art

[0002] With the rapid development of network technology and the latency requirements of vertical industries for data transmitted in the network, how to achieve deterministic latency transmission is becoming increasingly important, that is, how to ensure that the sending and receiving intervals of two adjacent data packets in the network are the same. Usually, time-sensitive network (TSN, Time Scalar Network) technology or deterministic network (DetNet, Deterministic Networking) technology can be used to achieve deterministic latency transmission, but it is necessary to upgrade the hardware of each device in the network, which is costly and difficult. Therefore, how to achieve deterministic latency transmission at low cost and conveniently has become a key technical issue. Summary of the invention

[0003] In view of this, embodiments of the present invention are intended to provide a data transmission method, apparatus, device and storage medium.

[0004] The technical solution of the embodiment of the present invention is achieved as follows:

[0005] At least one embodiment of the present invention provides a data transmission method, which is applied to a head node in a network, and the method includes:

[0006] Record the first time and sequence number corresponding to each of two adjacent data packets sent by a sending end device in the network;

[0007] Sending the first time instants and sequence numbers respectively corresponding to the two adjacent data packets to an end node in the network through the network;

[0008] Among them, the first moment is used for the end node to determine the second moment to send two adjacent data packets to the receiving device respectively; the time interval between the second moment and the first moment corresponding to the two adjacent data packets is the same; the second moment and the sequence number are used for the end node to send the two adjacent data packets to the receiving device.

[0009] In addition, according to at least one embodiment of the present invention, sending the first time instants and sequence numbers respectively corresponding to the two adjacent data packets to the end node in the network includes:

[0010] The first node carries the first time and sequence number corresponding to the two adjacent data packets in an Internet Protocol version 6 (IPv6) extension header field;

[0011] The first node carries the IPv6 extension header field in the IPv6 message;

[0012] The first node sends the IPv6 message to the last node in the network.

[0013] At least one embodiment of the present invention provides a data transmission method, which is applied to an end node in a network. The method includes:

[0014] The first time and sequence number corresponding to two adjacent data packets sent by the first node in the receiving network;

[0015] According to the first moments respectively corresponding to the two adjacent data packets, determining the second moments at which the two adjacent data packets are sent to the receiving end device respectively; the time interval between the second moments respectively corresponding to the two adjacent data packets and the first moments is the same;

[0016] The two adjacent data packets are sent to the receiving end device respectively according to the second time and sequence number.

[0017] In addition, according to at least one embodiment of the present invention, determining the second time instant at which the two adjacent data packets are respectively sent to the receiving end device includes:

[0018] Determine a node with the largest processing delay from a first node, at least one intermediate node, and a last node of the network, and determine a maximum processing delay corresponding to the node with the largest processing delay;

[0019] Based on the maximum processing delay and the first moments corresponding to the two adjacent data packets, the second moments for sending the two adjacent data packets to the receiving end device are determined.

[0020] In addition, according to at least one embodiment of the present invention, determining the second time instants at which the two adjacent data packets are sent to the receiving end device based on the maximum processing delay and the first time instants respectively corresponding to the two adjacent data packets includes:

[0021] Determine the number of nodes through which the two adjacent data packets are transmitted;

[0022] Multiplying the number of nodes by the maximum processing delay to obtain a first value;

[0023] For each of the two adjacent data packets, summing the value corresponding to the first moment of the corresponding data packet and the first value to obtain a second value;

[0024] The moment corresponding to the second value is taken as the second moment.

[0025] In addition, according to at least one embodiment of the present invention, after receiving the first time instants and sequence numbers respectively corresponding to the two adjacent data packets, the method further includes:

[0026] Detecting whether the sequence numbers of the two adjacent data packets are continuous;

[0027] If it is detected that the sequence numbers of the two adjacent data packets are not continuous, then counting starts when the latter of the two adjacent data packets is received;

[0028] When the count exceeds a preset threshold, a notification message is sent to the sending end device; the notification message is used to notify the sending end device to resend a data packet that is continuous with a previous data packet of the two adjacent data packets.

[0029] In addition, according to at least one embodiment of the present invention, after receiving the first time instants and sequence numbers respectively corresponding to the two adjacent data packets, the method further includes:

[0030] Detecting whether the sequence numbers of the two adjacent data packets are the same;

[0031] If it is detected that the sequence numbers of the two adjacent data packets are the same, any one of the two adjacent data packets is discarded.

[0032] At least one embodiment of the present invention provides a data transmission device, including:

[0033] A first processing unit, recording a first time and a sequence number corresponding to each of two adjacent data packets sent by a sending end device in the network;

[0034] A first sending unit, configured to send the first time points and sequence numbers respectively corresponding to the two adjacent data packets to an end node in the network through the network;

[0035] Among them, the first moment is used for the end node to determine the second moment to send two adjacent data packets to the receiving device respectively; the time interval between the second moment and the first moment corresponding to the two adjacent data packets is the same; the second moment and the sequence number are used for the end node to send the two adjacent data packets to the receiving device.

[0036] In addition, according to at least one embodiment of the present invention, the first sending unit is specifically configured to:

[0037] The first node carries the first time and sequence number corresponding to the two adjacent data packets in an Internet Protocol version 6 IPv6 extension header field;

[0038] The first node carries the IPv6 extension header field in the IPv6 message;

[0039] The first node sends the IPv6 message to the last node in the network.

[0040] At least one embodiment of the present invention provides a data transmission device, including:

[0041] A receiving unit, configured to receive first time points and sequence numbers corresponding to the two adjacent data packets respectively;

[0042] A second processing unit is used to determine, according to the first moments respectively corresponding to the two adjacent data packets, a second moment at which the two adjacent data packets are respectively sent to a receiving end device; the time interval between the second moment respectively corresponding to the two adjacent data packets and the first moment is the same;

[0043] The second sending unit is used to send the two adjacent data packets to the receiving end device respectively according to the second time and sequence number.

[0044] In addition, according to at least one embodiment of the present invention, the second processing unit is specifically configured to:

[0045] Determine a node with the largest processing delay from a first node, at least one intermediate node, and a last node of the deterministic network;

[0046] Based on the processing delay corresponding to the node with the largest processing delay and the first time of the two adjacent data packets, the second time of sending the two adjacent data packets to the receiving end device is determined.

[0047] In addition, according to at least one embodiment of the present invention, the second processing unit is specifically configured to:

[0048] Determine the number of nodes through which the two adjacent data packets are transmitted;

[0049] Multiplying the number of nodes by the maximum processing delay to obtain a first value;

[0050] For each of the two adjacent data packets, summing the value corresponding to the first moment of the corresponding data packet and the first value to obtain a second value;

[0051] The moment corresponding to the second value is taken as the second moment.

[0052] In addition, according to at least one embodiment of the present invention, the device further includes:

[0053] A detection unit is used to detect whether the sequence numbers of the two adjacent data packets are continuous after receiving the first time and sequence number respectively corresponding to the two adjacent data packets; if it is detected that the sequence numbers of the two adjacent data packets are not continuous, start counting when the latter of the two adjacent data packets is received; when the count exceeds a preset threshold, send a notification message to the sending end device; the notification message is used to notify the sending end device to resend a data packet that is continuous with the previous data packet of the two adjacent data packets.

[0054] In addition, according to at least one embodiment of the present invention, the detection unit is further used for:

[0055] After receiving the first time and sequence number respectively corresponding to the two adjacent data packets, detect whether the sequence numbers of the two adjacent data packets are the same; if it is detected that the sequence numbers of the two adjacent data packets are the same, discard any one of the two adjacent data packets.

[0056] At least one embodiment of the present invention provides a data transmission system, including:

[0057] A sending end device, used to send two adjacent data packets to the first node in the network;

[0058] The head node is used to record the first time and sequence number corresponding to each of two adjacent data packets sent by the sending end device in the network; and send the first time and sequence number corresponding to the two adjacent data packets to the end node in the network through the deterministic network;

[0059] The end node is used to receive the first time and sequence number corresponding to the two adjacent data packets respectively; determine the second time to send the two adjacent data packets to the receiving end device respectively according to the first time corresponding to the two adjacent data packets; send the two adjacent data packets to the receiving end device according to the second time and sequence number; the time interval between the second time and the first time corresponding to the two adjacent data packets is the same;

[0060] The receiving end device is used to receive two adjacent data packets sent by the end node.

[0061] At least one embodiment of the present invention provides a first network device, including:

[0062] A first processor records a first time and a sequence number corresponding to each of two adjacent data packets sent by a sending end device in the network;

[0063] A first communication interface, used to send the first time points and sequence numbers respectively corresponding to the two adjacent data packets to an end node in the network through the network;

[0064] Among them, the first moment is used for the end node to determine the second moment to send two adjacent data packets to the receiving device respectively; the time interval between the second moment and the first moment corresponding to the two adjacent data packets is the same; the second moment and the sequence number are used for the end node to send the two adjacent data packets to the receiving device.

[0065] At least one embodiment of the present invention provides a second network device, including:

[0066] The second communication interface is used to receive first time points and sequence numbers corresponding to two adjacent data packets sent by a first node in the network;

[0067] A second processor is used to determine, according to the first moments respectively corresponding to the two adjacent data packets, a second moment at which the two adjacent data packets are respectively sent to a receiving end device; the time interval between the second moment respectively corresponding to the two adjacent data packets and the first moment is the same;

[0068] The second communication interface is further used to send the two adjacent data packets to the receiving end device respectively according to the second time and sequence number.

[0069] At least one embodiment of the present invention provides a first network device, characterized in that it includes a processor and a memory for storing a computer program that can be run on the processor, wherein the processor is used to execute the steps of the above-mentioned method on the head node side when running the computer program.

[0070] At least one embodiment of the present invention provides a second network device, comprising a processor and a memory for storing a computer program that can be run on the processor, wherein the processor is configured to execute the steps of the above-mentioned end node side method when running the computer program.

[0071] At least one embodiment of the present invention provides a storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the computer program implements the steps of any of the methods on the head node side or executes the steps of any of the methods on the end node side.

[0072] The data transmission method, device, equipment and storage medium provided by the embodiment of the present invention, the first node in the network records the first time and sequence number corresponding to each of the two adjacent data packets sent by the sending end device in the network; the first node sends the first time and sequence number corresponding to the two adjacent data packets to the end node in the network through the network; wherein the first time is used for the end node to determine the second time to send the two adjacent data packets to the receiving end device; the time interval between the second time and the first time corresponding to the two adjacent data packets is the same; the second time and the sequence number are used for the end node to send the two adjacent data packets to the receiving end device. The technical solution of the embodiment of the present invention is adopted, the first node in the network records the first time and sequence number of the data packet sent by the sending end device, the end node in the network sends the data packet in time and sequence according to these two parameters, restores the order and time interval of the data packet sent by the sending end device, and realizes the deterministic delay transmission of the data stream, that is, ensures that the sending and receiving intervals of the two adjacent data packets in the network are the same. In this process, the intermediate node does not need to support the new protocol or make any modifications, so that the deterministic delay transmission is realized at low cost and portability. BRIEF DESCRIPTION OF THE DRAWINGS

[0073] Figure 1 Schematic diagram of the system architecture of the data transmission method according to the embodiment of the present invention;

[0074] Figure 2 is a schematic diagram of deterministic delay transmission according to an embodiment of the present invention;

[0075] Figure 3 The implementation process of the data transmission method of the embodiment of the present invention is shown in FIG. Figure 1 ;

[0076] Figure 4 is a schematic diagram of an IPv6 extension header field according to an embodiment of the present invention;

[0077] Figure 5 It is a schematic diagram of an implementation flow of a first node sending the first time and sequence number of two adjacent data packets to a last node according to an embodiment of the present invention;

[0078] Figure 6 The implementation process of the data transmission method of the embodiment of the present invention is shown in FIG. Figure 2 ;

[0079] Figure 7a It is a schematic diagram of the implementation process of the end node realizing deterministic delay transmission in an embodiment of the present invention;

[0080] Figure 7b It is a schematic diagram of the system architecture for implementing a deterministic delay transmission application at the end node of an embodiment of the present invention;

[0081] Figure 8 The structure diagram of the data transmission device according to the embodiment of the present invention is as follows: Figure 1 ;

[0082] Fig. 9 The structure diagram of the data transmission device according to the embodiment of the present invention is as follows: Figure 2 ;

[0083] Fig.10 It is a schematic diagram of the structure of a data transmission system according to an embodiment of the present invention;

[0084] Fig.11 This is a schematic diagram of the composition structure of the first network device according to an embodiment of the present invention. Figure 1 ;

[0085] Fig.12 This is a schematic diagram of the composition structure of the first network device according to an embodiment of the present invention. Figure 2 . DETAILED DESCRIPTION

[0086] Before introducing the technical solution of the embodiment of the present invention, the related technology is first described.

[0087] In related technologies, many vertical industry applications require not only low latency but also deterministic transmission latency for network data transmission. For example, scenarios such as industrial control, telemedicine, and robotics require end-to-end precise transmission of control signals. Deterministic latency is the basis for the collaboration of multiple control systems, such as multi-robot linkage, flexible manufacturing, and human-machine interaction. In 2007, the Audio Video Bridging (AVB) Task Group was created with the goal of replacing the High Definition Multimedia Interface (HDMI), speakers, and coaxial cables in homes with Ethernet to achieve deterministic latency transmission of audio and video streams in Ethernet. In 2012, the AVB Task Group was renamed the TSN Task Group. The TSN standard defines multiple protocols from four aspects: time synchronization, traffic scheduling and shaping, reliability, and configuration management, so that time-sensitive traffic can be transmitted with deterministic latency in Ethernet, but these protocols focus on Layer 2 (i.e., data link layer) network implementation. In 2015, the Internet Engineering Task Force (IETF) established the DetNet working group, which is committed to achieving deterministic delay transmission of data streams on Layer 3 (i.e. IP layer) networks.

[0088] In the related technologies, TSN technology or DetNet technology can be used to achieve deterministic delay transmission. However, both TSN and DetNet have high requirements for network equipment. Specifically, TSN technology involves many protocols, most of which are specially formulated for deterministic delay. Existing network equipment needs software and hardware upgrades to support them, and requires each device on the data transmission path to support these protocols. The implementation cost is high and difficult. At present, TSN technology is mostly used in local area networks and is difficult to promote in wide area networks. DetNet technology is formulating IP layer deterministic delay transmission protocols, but the underlying transmission is still based on TSN technology, and the problem of high cost of network hop-by-hop devices supporting these protocols has not been solved. Therefore, how to achieve deterministic delay transmission at low cost and conveniently has become a key technical issue.

[0089] Based on this, in various embodiments of the present invention, the first node in the network records the first time and sequence number corresponding to each data packet in two adjacent data packets sent by the sending end device in the network; the first node sends the first time and sequence number corresponding to the two adjacent data packets to the end node in the network through the network; wherein the first time is used for the end node to determine the second time to send the two adjacent data packets to the receiving end device; the time interval between the second time and the first time corresponding to the two adjacent data packets is the same; the second time and the sequence number are used for the end node to send the two adjacent data packets to the receiving end device.

[0090] The present invention will be described in further detail below in conjunction with the accompanying drawings and embodiments.

[0091] Figure 1 Schematic diagram of the system architecture of the data transmission method according to the embodiment of the present invention. Figure 1 As shown, the system includes:

[0092] The sending end device, also called the source end device, is used to send a data packet to the first node in the network; the data packet carries the first time and sequence number of the sending end device sending the data packet to the first node;

[0093] The head node, i.e., a network element device connected to the sending end device, is used to record the first time and sequence number corresponding to each of two adjacent data packets sent by the sending end device;

[0094] at least one intermediate node, used to transmit the data packet sent by the first node to the last node;

[0095] The end node, i.e., the network element device connected to the receiving end device, is used to determine the second time instant at which two adjacent data packets are respectively sent to the receiving end device; the time interval between the second time instant and the first time instant corresponding to the two adjacent data packets is the same; and the two adjacent data packets are sent to the receiving end device according to the second time instant and the sequence number corresponding to the two adjacent data packets.

[0096] The receiving device is used to receive data packets sent by the end node.

[0097] The concept of deterministic latency is explained below.

[0098] Deterministic latency can mean that when a transmitting device sends a data packet, the receiving device can receive the data packet at a certain time (for example, T), and this certain time T is fixed. Similarly, when the transmitting device sends two data packets in succession, the time interval between the time when the receiving device receives the two data packets is the same as the time interval between the time when the transmitting device sends the two data packets, that is, the receiving device can restore the timing and time interval of the data stream sent by the transmitting device. Figure 2 As shown, the time interval between the moment when the receiving device receives data packet 1 and the moment when the sending device sends data packet 1 is represented by T1, the time interval between the moment when the receiving device receives data packet 2 and the moment when the sending device sends data packet 2 is represented by T2, and the time interval between the moment when the receiving device receives data packet 3 and the moment when the sending device sends data packet 3 is represented by T3. If T1=T2=T3, it indicates that deterministic delay transmission can be achieved; wherein, deterministic delay transmission can reduce jitter during data packet transmission.

[0099] The embodiment of the present invention provides a data transmission method, which is applied to a first node in a network, such as Figure 3 As shown, the method includes:

[0100] Step 301: Record the first time and sequence number corresponding to each of two adjacent data packets sent by a sending end device in the network;

[0101] Step 302: sending the first time points and sequence numbers corresponding to the two adjacent data packets to an end node in the network through the network;

[0102] Among them, the first moment is used for the end node to determine the second moment to send two adjacent data packets to the receiving device respectively; the time interval between the second moment and the first moment corresponding to the two adjacent data packets is the same; the second moment and the sequence number are used for the end node to send the two adjacent data packets to the receiving device.

[0103] Here, in step 301, the network may include a sending device, a head node, at least one intermediate node, an end node, and a receiving device; the sending device and the receiving device may specifically refer to terminal devices, and the head node, at least one intermediate node, and the end node may specifically refer to network devices such as gateways and routers.

[0104] Here, in step 302, in actual application, when the first node sends the first moment and sequence number corresponding to the two adjacent data packets to the end node in the network, the intermediate node in the network does not need to parse the two adjacent data packets, that is, the two parameters, namely the first moment and sequence number, are opaque to the intermediate node.

[0105] It should be noted that, in the process of the end node receiving the data packets continuously sent by the first node, if the data packet arrives at the end node earlier than T, the end node waits for a period of time until time T, and then sends the data packet to the receiving device; if the data packet does not arrive at the end node at time T, the end node considers that the data packet is lost, and no longer waits, and continues to prepare to send the next data packet; wherein T represents the transmission delay of the data packet in the network, that is, the time interval between the second moment and the first moment corresponding to the data packet.

[0106] In actual application, the first node can add an IPv6 extension header field in the IPv6 message. The newly added extension header field is used to carry the first time and sequence number of each data packet. The two parameters are sent to the end node through the IPv6 message, and the intermediate node does not need to perceive the two parameters, that is, it does not need to parse the extension header. The role settings of the first node, the end node and the intermediate node can be pre-configured in the network.

[0107] Based on this, in one embodiment, sending the first time points and sequence numbers respectively corresponding to the two adjacent data packets to the end node in the network includes:

[0108] The first node carries the first time and sequence number respectively corresponding to the two adjacent data packets in the IPv6 extension header field;

[0109] The first node carries the IPv6 extension header field in the IPv6 message;

[0110] The first node sends the IPv6 message to the last node in the network.

[0111] Table 1 is the correspondence between the first time and the sequence number of the data packet sent by the first node to the last node. As shown in Table 1, the first node sends multiple data packets to the last node in sequence, and each data packet carries two parameters, the first time and the sequence number.

[0112] Data Pack The first moment Ts Sequence ID Packet 1 T1=8:06:05 001 Data Pack 2 T1=8:07:01 002 Data Pack 3 T1=8:08:02 003 Packet 4 T1=8:09:05 004

[0113] Table 1

[0114] Here, the IPv6 extension header field can implement optional functions of the IP layer, and can be specifically located between the IPv6 basic header and the Payload; wherein, the IPv6 basic header carries the basic information required to forward the IPv6 message; the IPv6 extension header field carries the extended function, namely the two parameters of the first time and the sequence number.

[0115] Figure 4 This is a schematic diagram of the IPv6 extension header fields, such as Figure 4 As shown, in order to carry the timestamp Ts and sequence number SequenceID corresponding to the first moment in the IPv6 message, the byte length of the IPv6 extended header field can be 16 bytes, for example, byte length = 193; Next Header: indicates the protocol type of the next header, with a length of 1 byte; Hdr Ext Len: indicates the length of the extended header (excluding Next Header), with a length of 1 byte; SequenceID: indicates the data packet count value received by the first node, with a length of 6 bytes; TimeStamp.second: data packet timestamp, second value, 4 bytes; TimeStamp.nanosecond: data packet timestamp, nanosecond value, 4 bytes.

[0116] In one example, if Figure 5 As shown, the process of the first node sending the first time and sequence number of two adjacent data packets to the last node is described, including:

[0117] Step 501: The head node carries the first time and sequence number corresponding to the two adjacent data packets in the IPv6 extension header field.

[0118] Here, after the sending device sends the data packet to the first node, the first node records the timestamp Ts (corresponding to the first moment) and the data packet number SequenceID (corresponding to the sequence number) of the data packet input that requires deterministic delay transmission at the device entrance; wherein the entrance time is accurate to the nanosecond level, and the SequenceID increases in sequence, and after counting to the maximum value, it reverses and starts counting again from 1.

[0119] Step 502: The head node carries the IPv6 extension header field in an IPv6 message.

[0120] Here, after recording the two parameters of the first time and the sequence number, the first node carries the ingress timestamp Ts and sequenceID of the data packet in the IPv6 extension header field of the data packet to send to the end node.

[0121] Step 503: The head node sends the IPv6 message to the end node in the network.

[0122] Here, the first node sends the first time and sequence number of two adjacent data packets to the last node, which has the following advantages:

[0123] (1) The first node in the network records the first time and sequence number of the data packet sent by the sending device. The end node in the network can send data packets in time and sequence based on these two parameters, restore the order and time interval of the data packets sent by the sending device, that is, restore the traffic model of the sending device to achieve deterministic delay transmission of the data stream.

[0124] (2) Intermediate nodes do not need to support new protocols or make any modifications. They are easy to deploy and simple to implement. They do not require equipment modification across the entire network and have low deployment costs. They are not limited to any application area and can be implemented in both local area networks and wide area networks.

[0125] By adopting the technical solution of the embodiment of the present invention, the first node in the network records the first moment and sequence number of the data packet sent by the sending device, and the end node in the network sends the data packet in time and sequence according to these two parameters, and restores the order and time interval of the data packets sent by the sending device to achieve deterministic delay transmission of the data stream, that is, to ensure that the sending and receiving intervals of two adjacent data packets in the network are the same. In this process, the intermediate nodes do not need to support new protocols or make any modifications. In this way, deterministic delay transmission is achieved in a low-cost and portable manner.

[0126] Correspondingly, an embodiment of the present invention provides a data transmission method, which is applied to an end node in a network, such as Figure 6 As shown, the method includes:

[0127] Step 601: Receive the first time points and sequence numbers corresponding to the two adjacent data packets respectively;

[0128] Step 602: determining, according to the first moments respectively corresponding to the two adjacent data packets, the second moments respectively corresponding to the two adjacent data packets to be sent to the receiving end device; the time interval between the second moments respectively corresponding to the two adjacent data packets and the first moments is the same;

[0129] Step 603: Send the two adjacent data packets to the receiving device respectively according to the second time and sequence number.

[0130] Here, in step 601, the network may include a sending device, a head node, at least one intermediate node, an end node, and a receiving device; the sending device and the receiving device may specifically refer to terminal devices, and the head node, at least one intermediate node, and the end node may specifically refer to network devices such as gateways and routers.

[0131] Here, in step 602, in actual application, when the first node sends the first time and sequence number corresponding to the two adjacent data packets to the end node in the network, the intermediate node in the network does not need to parse the two adjacent data packets, that is, the two parameters, namely the first time and sequence number, are opaque to the intermediate node.

[0132] In actual application, if there is a loop or load balancing on the link forwarding data packets, the data packets received by the end node may not arrive in sequence according to the sequence number marked by the first node. In this way, the end node needs to collect the disordered data packets and then send them in sequence according to the sequence number. However, since the cache space of the end node is limited, if the waiting time is too long, the cache overflow will cause packet loss, but if the waiting time is too short, all data packets may not be received. In addition, considering that the device types and models corresponding to the nodes are different, the internal cache sizes are also different, resulting in different forwarding processing times. Therefore, the maximum processing delay corresponding to each node in the network is used to determine the time when the end node sends the data packet to the receiving device, that is, to determine the longest storage time of the end node, and obtain the cache size of the end node for end node device selection.

[0133] Based on this, in one embodiment, determining the second time instant at which the two adjacent data packets are sent to the receiving device respectively includes:

[0134] Determine a node with the largest processing delay from a first node, at least one intermediate node, and a last node of the network, and determine a maximum processing delay corresponding to the node with the largest processing delay;

[0135] Based on the maximum processing delay and the first moments corresponding to the two adjacent data packets, the second moments for sending the two adjacent data packets to the receiving end device are determined.

[0136] Table 2 is the correspondence between each node in the network and the corresponding processing delay. As shown in Table 2, the processing delay of the first node is 3 seconds, the processing delay of the intermediate node 1 is 4 seconds, the processing delay of the intermediate node 2 is 2 seconds, the processing delay of the intermediate node 3 is 5 seconds, and the processing delay of the end node is 2 seconds. In this way, the end node can determine the second time to send the data packet to the sending device based on the processing delay of the intermediate node 3 and the first time carried by the data packet.

[0137] Each node in the network Processing delay First Node 3 seconds Intermediate Node 1 4 seconds Intermediate Node 2 2 seconds Intermediate Node 3 5 seconds End Node 2 seconds

[0138] Table 2

[0139] In actual application, to calculate the processing delay corresponding to the node with the largest processing delay in the deterministic network, it is necessary to calculate the number of nodes N passed by the data packet during transmission. Specifically, SRv6 technology can be used to determine the forwarding path. After the sending device determines the transmission path and the number of hops passed, it can be notified to the end node through the network management system or SDN controller so that the end node can calculate the second time to send the data packet to the receiving device.

[0140] Based on this, in one embodiment, the end node determines the second time instants for sending the two adjacent data packets to the receiving end device based on the maximum processing delay and the first time instants corresponding to the two adjacent data packets, including:

[0141] The end node determines the number of nodes through which the two adjacent data packets are transmitted;

[0142] The end node multiplies the number of nodes by the maximum processing delay to obtain a first value;

[0143] For each of the two adjacent data packets, the end node sums the value corresponding to the first moment of the corresponding data packet and the first value to obtain a second value; and uses the moment corresponding to the second value as the second moment.

[0144] For example, assume that among all nodes in the forwarding path (including the first node and the intermediate nodes), the device with the longest forwarding processing time requires a processing delay of Tmax, that is, the longest processing time for the device to maintain no packet loss under no-load or congestion conditions. If the forwarding path needs to pass through N devices, the maximum delay is N×Tmax, so the end-to-end maximum processing delay T=N×Tmax. Assuming that the first time when the sending device sends data packet 1 is T1, the second time when the end node sends data packet 1 to the receiving device is T2=T1+T=T1+N×Tmax; the first time when the sending device sends data packet 2 is T3, the second time when the end node sends data packet 3 to the receiving device is T4=T3+T=T3+N×Tmax.

[0145] In one example, if Figure 7a As shown, combined Figure 7b The system architecture diagram shown in the figure describes the process of achieving deterministic delay transmission at the end node, including:

[0146] Step 701: The end node determines the number of nodes through which the first node transmits two adjacent data packets.

[0147] Step 702: The end node determines a node with the largest processing delay and a corresponding maximum processing delay from a first node, at least one intermediate node, and an end node of the deterministic network.

[0148] Step 703: The end node multiplies the number of nodes by the maximum processing delay to obtain a first value.

[0149] Step 704: For each of the two adjacent data packets, the end node sums the value corresponding to the first moment of the corresponding data packet and the first value to obtain a second value; and uses the moment corresponding to the second value as the second moment.

[0150] Here, the end node sends the corresponding data packet to the receiving end device, such as a terminal, according to the second time. Since the first time can represent the time when the sending end device sends the data packet to the head node, the second time can represent the time when the receiving end device receives the data packet, and the time interval between the second time and the first time corresponding to adjacent data packets is the same, deterministic delay transmission can be achieved.

[0151] Here, the end node implements deterministic delay transmission based on the first time and sequence number carried by the data packet, which has the following advantages:

[0152] (1) The end node in the network sends data packets in time and sequence according to the two parameters of the first time and sequence number recorded by the first node in the network, and restores the order and time interval of the data packets sent by the sending device, that is, restores the traffic model of the sending device to achieve deterministic delay transmission of the data stream.

[0153] (2) Intermediate nodes do not need to support new protocols or make any modifications. They are easy to deploy and simple to implement. They do not require equipment modification across the entire network and have low deployment costs. They are not limited to any application area and can be implemented in both local area networks and wide area networks.

[0154] In actual applications, link congestion or link anomalies in a deterministic network may cause packet loss. When the sequence number SequenceID of the data packets received by the end node is discontinuous, for example, the end node receives two data packets with sequence numbers SequenceID 100 and 102, and does not receive data packet 101, the timing can be started from the receipt of data packet 102. If 101 is not received within the preset time, the sending device is notified to resend the data packet.

[0155] Based on this, in one embodiment, after the end node receives the first time and sequence number corresponding to the two adjacent data packets, the method further includes:

[0156] The end node detects whether the sequence numbers of the two adjacent data packets are continuous;

[0157] If the end node detects that the sequence numbers of the two adjacent data packets are not continuous, the end node starts counting when receiving the latter of the two adjacent data packets;

[0158] When the count exceeds a preset threshold, the end node sends a notification message to the sending end device; the notification message is used to notify the sending end device to resend a data packet that is continuous with a previous data packet of the two adjacent data packets.

[0159] The preset threshold may be set according to actual conditions, for example, it may be the processing delay corresponding to the node with the largest processing delay in the network.

[0160] In actual applications, link congestion or link anomalies in a deterministic network can cause packet loss. When the sequence number SequenceID of the data packet received by the end node is discontinuous, for example, the end node receives two data packets with sequence numbers SequenceID 100 and 102, but does not receive data packet 101, then the timing can be started from the receipt of data packet 102. If 101 is not received after a preset time, the sending device is notified to resend the data packet. If the end node notifies the sending device to resend the data packet, but still does not receive the data packet after a preset time, the sending device will no longer be notified to retransmit and the following data packets will continue to be sent.

[0161] Based on this, in one embodiment, the method further includes:

[0162] The end node starts counting after sending a notification message to the sending end device;

[0163] When the count exceeds a second threshold, the end node sends a second notification message to the sending end device; the second notification message is used to notify the sending end device to continue sending new data packets.

[0164] In actual applications, when a link in a deterministic network is abnormal, duplicate data packets will be sent. When the sequence numbers SequenceID of the data packets received by the end nodes are the same, one of the data packets can be discarded.

[0165] Based on this, in one embodiment, after the end node receives the first time and sequence number corresponding to the two adjacent data packets, the method further includes:

[0166] The end node detects whether the sequence numbers of the two adjacent data packets are the same;

[0167] If the end node detects that the sequence numbers of the two adjacent data packets are the same, any one of the two adjacent data packets is discarded.

[0168] By adopting the technical solution of the embodiment of the present invention, the first node in the network records the first moment and sequence number of the data packet sent by the sending device, and the end node in the network sends the data packet in time and sequence according to these two parameters, and restores the order and time interval of the data packets sent by the sending device to achieve deterministic delay transmission of the data stream, that is, to ensure that the sending and receiving intervals of two adjacent data packets in the network are the same. In this process, the intermediate nodes do not need to support new protocols or make any modifications. In this way, deterministic delay transmission is achieved in a low-cost and portable manner.

[0169] In order to implement the data transmission method of the embodiment of the present invention, the embodiment of the present invention also provides a data transmission device, Figure 8 Schematic diagram of the structure of the data transmission device according to the embodiment of the present invention; Figure 8 As shown, the device comprises:

[0170] The first processing unit 81 records the first time and sequence number corresponding to each of two adjacent data packets sent by a sending end device in the network;

[0171] A first sending unit 82, configured to send the first time points and sequence numbers respectively corresponding to the two adjacent data packets to an end node in the network through the network;

[0172] Among them, the first moment is used for the end node to determine the second moment to send two adjacent data packets to the receiving device respectively; the time interval between the second moment and the first moment corresponding to the two adjacent data packets is the same; the second moment and the sequence number are used for the end node to send the two adjacent data packets to the receiving device.

[0173] In one embodiment, the first sending unit 82 is specifically configured to:

[0174] The first node carries the first time and sequence number corresponding to the two adjacent data packets in an Internet Protocol version 6 IPv6 extension header field;

[0175] The first node carries the IPv6 extension header field in the IPv6 message;

[0176] The first node sends the IPv6 message to the last node in the network.

[0177] In actual application, the first sending unit 82 can be implemented by a communication interface in a data transmission device; the first processing unit 81 can be implemented by a processor in the data transmission device.

[0178] It should be noted that: the data transmission device provided in the above embodiment only uses the division of the above program modules as an example when performing data transmission. In actual applications, the above processing can be assigned to different program modules as needed, that is, the internal structure of the device is divided into different program modules to complete all or part of the processing described above. In addition, the data transmission device provided in the above embodiment and the embodiment of the prediction method based on transmission power belong to the same concept. The specific implementation process is detailed in the method embodiment, which will not be repeated here.

[0179] In order to implement the data transmission method of the embodiment of the present invention, the embodiment of the present invention also provides a data transmission device, Fig. 9 Schematic diagram of the structure of the data transmission device according to the embodiment of the present invention; Fig. 9 As shown, the device comprises:

[0180] A receiving unit 91, configured to receive first time points and sequence numbers corresponding to the two adjacent data packets respectively;

[0181] The second processing unit 92 is used to determine the second time instants at which the two adjacent data packets are sent to the receiving end device according to the first time instants respectively corresponding to the two adjacent data packets; the time interval between the second time instants and the first time instant respectively corresponding to the two adjacent data packets is the same;

[0182] The second sending unit 93 is used to send the two adjacent data packets to the receiving end device respectively according to the second time and sequence number.

[0183] In one embodiment, the second processing unit 92 is specifically configured to:

[0184] Determine a node with the largest processing delay from a first node, at least one intermediate node, and a last node of the deterministic network;

[0185] Based on the processing delay corresponding to the node with the largest processing delay and the first time of the two adjacent data packets, the second time of sending the two adjacent data packets to the receiving end device is determined.

[0186] In one embodiment, the second processing unit 92 is specifically configured to:

[0187] Determine the number of nodes through which the two adjacent data packets are transmitted;

[0188] Multiplying the number of nodes by the maximum processing delay to obtain a first value;

[0189] For each of the two adjacent data packets, summing the value corresponding to the first moment of the corresponding data packet and the first value to obtain a second value;

[0190] The moment corresponding to the second value is taken as the second moment.

[0191] In one embodiment, the device further comprises:

[0192] A detection unit is used to detect whether the sequence numbers of the two adjacent data packets are continuous after receiving the first time and sequence number respectively corresponding to the two adjacent data packets; if it is detected that the sequence numbers of the two adjacent data packets are not continuous, start counting when the latter of the two adjacent data packets is received; when the count exceeds a preset threshold, send a notification message to the sending end device; the notification message is used to notify the sending end device to resend a data packet that is continuous with the previous data packet of the two adjacent data packets.

[0193] In one embodiment, the detection unit is further used for:

[0194] After receiving the first time and sequence number respectively corresponding to the two adjacent data packets, detect whether the sequence numbers of the two adjacent data packets are the same; if it is detected that the sequence numbers of the two adjacent data packets are the same, discard any one of the two adjacent data packets.

[0195] In actual application, the receiving unit 91 and the second sending unit 93 can be implemented by a communication interface in a data transmission device; the second processing unit 92 and the detection unit can be implemented by a processor in the data transmission device.

[0196] It should be noted that: the data transmission device provided in the above embodiment only uses the division of the above program modules as an example when performing data transmission. In actual applications, the above processing can be assigned to different program modules as needed, that is, the internal structure of the device is divided into different program modules to complete all or part of the processing described above. In addition, the data transmission device provided in the above embodiment and the embodiment of the prediction method based on transmission power belong to the same concept. The specific implementation process is detailed in the method embodiment, which will not be repeated here.

[0197] In order to implement the data transmission method of the embodiment of the present invention, the embodiment of the present invention also provides a data transmission system. Fig.10 FIG. 1 is a schematic diagram of the structure of a data transmission system according to an embodiment of the present invention; Fig.10 As shown, the system comprises:

[0198] The sending end device 101 is used to send two adjacent data packets to the first node in the network;

[0199] The head node 102 is used to record the first time and sequence number corresponding to each of two adjacent data packets sent by the sending end device in the network; and send the first time and sequence number corresponding to the two adjacent data packets to the end node in the network through at least one intermediate node in the network;

[0200] The end node 103 is used to receive the first time and sequence number corresponding to the two adjacent data packets respectively; determine the second time to send the two adjacent data packets to the receiving end device respectively according to the first time corresponding to the two adjacent data packets; send the two adjacent data packets to the receiving end device according to the second time and sequence number; the time interval between the second time and the first time corresponding to the two adjacent data packets is the same;

[0201] The receiving end device 104 is used to receive two adjacent data packets sent by the end node.

[0202] It should be noted that the implementation process of the first node 102 and the last node 103 has been described above and will not be repeated here.

[0203] The embodiment of the present invention further provides a first network device, such as Fig.11 As shown, including:

[0204] The first communication interface 111 is capable of exchanging information with other devices;

[0205] The first processor 112 is connected to the first communication interface 111 and is used to execute the method provided by one or more technical solutions on the smart device side when running a computer program. The computer program is stored in the memory 113.

[0206] It should be noted that: the specific processing process of the first processor 112 and the first communication interface 111 is detailed in the method embodiment, which will not be repeated here.

[0207] Of course, in actual application, the various components in the first network device 110 are coupled together through the bus system 114. It can be understood that the bus system 114 is used to realize the connection and communication between these components. In addition to the data bus, the bus system 114 also includes a power bus, a control bus, and a status signal bus. However, for the sake of clarity, Fig.11 Various buses are labeled as bus system 114 .

[0208] The first memory 113 in the embodiment of the present application is used to store various types of data to support the operation of the network device 100. Examples of such data include: any computer program used to operate on the first network device 110.

[0209] The method disclosed in the above embodiment of the present application can be applied to the first processor 112, or implemented by the first processor 112. The first processor 112 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by an integrated logic circuit of hardware or software instructions in the first processor 112. The above-mentioned first processor 112 may be a general-purpose processor, a digital data processor (DSP, Digital Signal Processor), or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. The processor 112 can implement or execute the various methods, steps and logic block diagrams disclosed in the embodiments of the present application. A general-purpose processor may be a microprocessor or any conventional processor, etc. In combination with the steps of the method disclosed in the embodiment of the present application, it can be directly embodied as a hardware decoding processor to execute, or it can be executed by a combination of hardware and software modules in the decoding processor. The software module can be located in a storage medium, which is located in the first memory 113, and the first processor 112 reads the information in the first memory 113 and completes the steps of the above method in combination with its hardware.

[0210] The embodiment of the present invention further provides a second network device, such as Fig.12 As shown, including:

[0211] The second communication interface 121 is capable of exchanging information with other devices;

[0212] The second processor 122 is connected to the second communication interface 121 and is used to execute the method provided by one or more technical solutions on the smart device side when running a computer program. The computer program is stored in the second memory 123.

[0213] It should be noted that: the specific processing process of the processor second processor 122 and the second communication interface 121 is detailed in the method embodiment, which will not be repeated here.

[0214] Of course, in actual application, the various components in the second network device 120 are coupled together through the bus system 124. It can be understood that the bus system 124 is used to realize the connection and communication between these components. In addition to the data bus, the bus system 124 also includes a power bus, a control bus, and a status signal bus. However, for the sake of clarity, Fig.12 Various buses are labeled as bus system 124 .

[0215] The second memory 123 in the embodiment of the present application is used to store various types of data to support the operation of the network device 120. Examples of such data include: any computer program used to operate on the second network device 120.

[0216] The method disclosed in the above embodiment of the present application can be applied to the second processor 122, or implemented by the second processor 122. The second processor 122 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the hardware integrated logic circuit or software instructions in the second processor 122. The above-mentioned second processor 122 may be a general-purpose processor, a digital data processor (DSP, Digital Signal Processor), or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. The second processor 122 can implement or execute the various methods, steps and logic block diagrams disclosed in the embodiments of the present application. The general-purpose processor may be a microprocessor or any conventional processor, etc. In combination with the steps of the method disclosed in the embodiment of the present application, it can be directly embodied as a hardware decoding processor to execute, or it can be executed by a combination of hardware and software modules in the decoding processor. The software module may be located in a storage medium, which is located in the second memory 123, and the second processor 122 reads the information in the second memory 123 and completes the steps of the above method in combination with its hardware.

[0217] In an exemplary embodiment, the first network device 110 and the second network device 120 may be implemented by one or more application specific integrated circuits (ASICs), DSPs, programmable logic devices (PLDs), complex programmable logic devices (CPLDs), field programmable gate arrays (FPGAs), general-purpose processors, controllers, microcontrollers (MCUs), microprocessors, or other electronic components to perform the aforementioned method.

[0218] It can be understood that the memory (first memory 113, second processor 123) of the embodiment of the present application can be a volatile memory or a non-volatile memory, and can also include both volatile and non-volatile memories. Among them, the non-volatile memory can be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), a magnetic random access memory (FRAM), a flash memory, a magnetic surface memory, an optical disc, or a compact disc read-only memory (CD-ROM); the magnetic surface memory can be a disk memory or a tape memory. The volatile memory can be a random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of RAM are available, such as static random access memory (SRAM), synchronous static random access memory (SSRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), and direct RAM bus random access memory (DRRAM).The memories described in the embodiments of the present application are intended to include, but are not limited to, these and any other suitable types of memories.

[0219] In an exemplary embodiment, the embodiment of the present invention further provides a storage medium, namely a computer storage medium, specifically a computer-readable storage medium, for example, including a first memory 113 storing a computer program, and the computer program can be executed by the first processor 112 of the first network device 110 to complete the steps of the aforementioned method. The computer-readable storage medium can be a memory such as FRAM, ROM, PROM, EPROM, EEPROM, Flash Memory, magnetic surface storage, optical disk, or CD-ROM.

[0220] It should be noted that: "first", "second", etc. are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence.

[0221] In addition, the technical solutions described in the embodiments of the present invention can be arbitrarily combined without conflict.

[0222] The above description is only a preferred embodiment of the present invention and is not intended to limit the protection scope of the present invention.

Claims

1. A data transmission method, characterized in that: Applied to a first node in a network, the method comprises: receiving two adjacent data packets sent by a sending device in a network; Record the first time and sequence number corresponding to each of two adjacent data packets sent by a sending end device in the network; Sending the first time instants and sequence numbers respectively corresponding to the two adjacent data packets to an end node in the network through the network; Among them, the first moment is used for the end node to determine the second moment to send the two adjacent data packets to the receiving end device respectively based on the maximum processing delay corresponding to the node in the network and the number of nodes passed by the two adjacent data packets; the time interval between the second moment and the first moment corresponding to the two adjacent data packets is the same; the second moment and the sequence number are used for the end node to send the two adjacent data packets to the receiving end device.

2. The method according to claim 1, characterized in that The sending the first time points and sequence numbers respectively corresponding to the two adjacent data packets to the end node in the network comprises: The first node carries the first time and sequence number corresponding to the two adjacent data packets in an Internet Protocol version 6 IPv6 extension header field; The first node carries the IPv6 extension header field in the IPv6 message; The first node sends the IPv6 message to the last node in the network.

3. A data transmission method, characterized in that: Applied to an end node in a network, the method comprises: Receive the first time and sequence number corresponding to two adjacent data packets sent by the first node in the network; wherein the first time is the time corresponding to when the sending end device in the network sends each of the two adjacent data packets to the first node; Determine, according to the first moments respectively corresponding to the two adjacent data packets, the second moments respectively corresponding to the two adjacent data packets and the first moment respectively, the time interval between the second moments respectively corresponding to the two adjacent data packets and the first moment respectively is the same, and the second moment is also associated with the maximum processing delay corresponding to the node in the network and the number of nodes passed by the two adjacent data packets; The two adjacent data packets are sent to the receiving end device respectively according to the second time and sequence number.

4. The method according to claim 3, characterized in that: The determining of the second time instant at which the two adjacent data packets are respectively sent to the receiving end device comprises: Determine a node with the largest processing delay from a first node, at least one intermediate node, and a terminal node of the network, and determine a maximum processing delay corresponding to the node with the largest processing delay; Based on the maximum processing delay and the first moments corresponding to the two adjacent data packets, the second moments for sending the two adjacent data packets to the receiving end device are determined.

5. The method according to claim 4, characterized in that The determining, based on the maximum processing delay and the first moments respectively corresponding to the two adjacent data packets, of the second moments at which the two adjacent data packets are respectively sent to the receiving end device comprises: Determine the number of nodes through which the two adjacent data packets are transmitted; Multiplying the number of nodes by the maximum processing delay to obtain a first value; For each of the two adjacent data packets, summing the value corresponding to the first moment of the corresponding data packet and the first value to obtain a second value; The moment corresponding to the second value is taken as the second moment.

6. The method according to claim 3, characterized in that After receiving the first time instants and sequence numbers respectively corresponding to the two adjacent data packets, the method further includes: Detecting whether the sequence numbers of the two adjacent data packets are continuous; If it is detected that the sequence numbers of the two adjacent data packets are not continuous, then counting starts when the latter of the two adjacent data packets is received; When the count exceeds a preset threshold, a notification message is sent to the sending end device; the notification message is used to notify the sending end device to resend a data packet that is continuous with a previous data packet of the two adjacent data packets.

7. The method according to claim 3, characterized in that After receiving the first time instants and sequence numbers respectively corresponding to the two adjacent data packets, the method further includes: Detecting whether the sequence numbers of the two adjacent data packets are the same; If it is detected that the sequence numbers of the two adjacent data packets are the same, any one of the two adjacent data packets is discarded.

8. A data transmission device, characterized in that: include: A first processing unit, configured to receive two adjacent data packets sent by a sending end device in the network; Record the first time and sequence number corresponding to each of two adjacent data packets sent by a sending end device in the network; A first sending unit, configured to send the first time points and sequence numbers respectively corresponding to the two adjacent data packets to an end node in the network through the network; Among them, the first moment is used for the end node to determine the second moment to send two adjacent data packets to the receiving end device respectively based on the maximum processing delay corresponding to the node in the network and the number of nodes passed by the two adjacent data packets; the time interval between the second moment and the first moment corresponding to the two adjacent data packets is the same; the second moment and the sequence number are used for the end node to send the two adjacent data packets to the receiving end device.

9. A data transmission device, characterized in that: include: A receiving unit, configured to receive first moments and sequence numbers corresponding to two adjacent data packets sent by a head node in a network; wherein the first moment is a moment corresponding to when a transmitting end device in the network sends each of two adjacent data packets to the head node; A second processing unit is used to determine, according to the first moments respectively corresponding to the two adjacent data packets, a second moment at which the two adjacent data packets are respectively sent to a receiving end device; the time interval between the second moments respectively corresponding to the two adjacent data packets and the first moment is the same, and the second moment is also associated with a maximum processing delay corresponding to a node in the network and a number of nodes passed by the two adjacent data packets; The second sending unit is used to send the two adjacent data packets to the receiving end device respectively according to the second time and sequence number.

10. A data transmission system, characterized in that: include: A sending end device, used to send two adjacent data packets to the first node in the network; The head node is used to record the first time and sequence number corresponding to each data packet in two adjacent data packets sent by the sending end device in the network; Sending the first time instants and sequence numbers respectively corresponding to the two adjacent data packets to an end node in the network through the network; The end node is used to receive the first time and sequence number corresponding to the two adjacent data packets respectively; Determine, according to the first moments respectively corresponding to the two adjacent data packets, the second moments at which the two adjacent data packets are respectively sent to the receiving end device; send the two adjacent data packets to the receiving end device according to the second moment and the sequence number; the time interval between the second moment and the first moment respectively corresponding to the two adjacent data packets is the same, and the second moment is also associated with the maximum processing delay corresponding to the node in the network and the number of nodes passed by the two adjacent data packets; The receiving end device is used to receive two adjacent data packets sent by the end node.

11. A first network device, characterized in that: include: A first communication interface, used to receive two adjacent data packets sent by a sending end device in the network; A first processor records a first time and a sequence number corresponding to each of two adjacent data packets sent by a sending end device in the network; A first communication interface, used to send the first time points and sequence numbers respectively corresponding to the two adjacent data packets to an end node in the network through the network; Among them, the first moment is used for the end node to determine the second moment to send two adjacent data packets to the receiving end device respectively based on the maximum processing delay corresponding to the node in the network and the number of nodes passed by the two adjacent data packets; the time interval between the second moment and the first moment corresponding to the two adjacent data packets is the same; the second moment and the sequence number are used for the end node to send the two adjacent data packets to the receiving end device.

12. A second network device, characterized in that: include: A second communication interface, used to receive first moments and sequence numbers corresponding to two adjacent data packets sent by a first node in the network; wherein the first moment is the moment corresponding to when a transmitting end device in the network sends each of two adjacent data packets to the first node; A second processor is used to determine, according to the first moments respectively corresponding to the two adjacent data packets, a second moment at which the two adjacent data packets are respectively sent to a receiving end device; the time interval between the second moments respectively corresponding to the two adjacent data packets and the first moment is the same, and the second moment is also associated with a maximum processing delay corresponding to a node in the network and the number of nodes passed by the two adjacent data packets; The second communication interface is further used to send the two adjacent data packets to the receiving end device respectively according to the second time and sequence number.

13. A first network device, characterized in that: comprising a processor and a memory for storing a computer program capable of being executed on the processor, Wherein, when the processor is used to run the computer program, it executes the steps of the method described in claim 1 or 2.

14. A second network device, characterized in that: comprising a processor and a memory for storing a computer program capable of being executed on the processor, Wherein, when the processor is used to run the computer program, it executes the steps of the method described in any one of claims 3 to 7.

15. A storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method described in claim 1 or 2 are implemented, or the steps of any one of the methods described in claims 3 to 7 are implemented.

Citation Information

Patent Citations

  • Data synchronization implementing method

    CN101247156A

  • RTP (Real-time Transport Protocol)-based stream media transmission method in 3G network

    CN102932378A