CN113271264A - Data stream transmission method and device of time-sensitive network - Google Patents

Data stream transmission method and device of time-sensitive network Download PDF

Info

Publication number
CN113271264A
CN113271264A CN202110552876.7A CN202110552876A CN113271264A CN 113271264 A CN113271264 A CN 113271264A CN 202110552876 A CN202110552876 A CN 202110552876A CN 113271264 A CN113271264 A CN 113271264A
Authority
CN
China
Prior art keywords
transmitted
node
data stream
queue
transmission
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.)
Granted
Application number
CN202110552876.7A
Other languages
Chinese (zh)
Other versions
CN113271264B (en
Inventor
薛俊礼
寿国础
刘雅琼
胡怡红
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing University of Posts and Telecommunications
Original Assignee
Beijing University of Posts and Telecommunications
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 Beijing University of Posts and Telecommunications filed Critical Beijing University of Posts and Telecommunications
Priority to CN202110552876.7A priority Critical patent/CN113271264B/en
Publication of CN113271264A publication Critical patent/CN113271264A/en
Application granted granted Critical
Publication of CN113271264B publication Critical patent/CN113271264B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/50Queue scheduling
    • H04L47/62Queue scheduling characterised by scheduling criteria

Abstract

The embodiment of the application provides a data stream transmission method and device of a time-sensitive network. The scheme is as follows: acquiring mapping information and GCL corresponding to a plurality of data streams to be transmitted; the mapping information and the GCL are determined according to the transmission delay function of each data stream to be transmitted, and the transmission delay is minimized under the preset constraint condition; when at least one data stream to be transmitted is received, storing the at least one data stream to be transmitted into a plurality of virtual queues; based on the mapping relation between the virtual queues and the physical queues included in the mapping information, mapping and storing the data streams to be transmitted in the virtual queues to the physical queues; and aiming at the transmission gate on each physical queue, transmitting the data stream to be transmitted stored in the physical queue after the transmission gate is opened based on GCL. By applying the technical scheme provided by the embodiment of the application, the mutual interference among the data streams is avoided, the time delay requirement of data stream transmission is ensured, and the number of the data streams which can be dispatched by the TSN is increased.

Description

Data stream transmission method and device of time-sensitive network
Technical Field
The application relates to the technical field of internet of things, in particular to a data stream transmission method and device of a time-sensitive network.
Background
In a Time Sensitive Network (TSN), in order to enable a network node to accurately transmit a data stream, and thus provide a delay guarantee for a deterministic service Traffic (i.e., a Scheduled Traffic (ST)), a Time Aware Scheduling (TAS) mode is used to implement Traffic Scheduling in the TSN.
The TAS mode mainly consists of a gating mechanism and a scheduling algorithm. The gating mechanism is a hardware mechanism, and controls data stream transmission by setting the gate state of a transmission gate on a physical queue. And operating a scheduling algorithm in the flow scheduling process, calculating to obtain a gating List (GCL), and maintaining the Gate state and the time interval of each transmission Gate in the GCL, so that the opening and closing of each transmission Gate in the TSN are controlled according to the GCL, and the Control of data stream transmission is realized.
However, when traffic scheduling is performed by the TAS method, a plurality of data streams are inevitably transmitted in the same physical queue due to the limitation of physical resources of the physical queue, particularly in the case of a large number of data streams. At this time, the transmission delay is random due to mutual interference among the data streams, and it is difficult to meet the delay requirement of data stream transmission, thereby limiting the number of data streams schedulable by the TSN.
Disclosure of Invention
An object of the embodiments of the present application is to provide a method and an apparatus for transmitting data streams in a time-sensitive network, so as to avoid related interference between data streams under a condition of physical resource limitation, ensure a delay requirement of data stream transmission, and increase the number of data streams schedulable by a TSN. The specific technical scheme is as follows:
the embodiment of the application provides a data stream transmission method of a time sensitive network, which is applied to a target node in a Time Sensitive Network (TSN), wherein a plurality of virtual queues are preset in the target node, and the method comprises the following steps:
acquiring mapping information and GCL corresponding to a plurality of data streams to be transmitted; the mapping information and the GCL are determined according to the transmission delay function of each to-be-transmitted data stream under the condition of minimizing transmission delay under the preset constraint condition, the transmission delay function of each to-be-transmitted data stream is constructed according to quintuple information of each to-be-transmitted data stream and path information in the TSN, and the preset constraint condition is determined according to queue resources in each node in the TSN, the time when each to-be-transmitted data stream is transmitted to the next node and the deadline in the quintuple information of each to-be-transmitted data stream;
when at least one data stream to be transmitted in the plurality of data streams to be transmitted is received, storing the at least one data stream to be transmitted into the plurality of virtual queues;
based on the mapping relation between the virtual queues and the physical queues included in the mapping information, mapping and storing the data streams to be transmitted stored in the virtual queues to the physical queues;
and aiming at the transmission gate on each physical queue, after the transmission gate on the physical queue is opened based on the opening time specified by the GCL, transmitting the data stream to be transmitted stored in the physical queue.
Optionally, the transmission delay function of each to-be-transmitted data stream is represented as:
Figure BDA0003075883550000021
wherein edkFor a data stream f to be transmittedkAlong the transmission pathkTransmission delay of transmission, vi-1Path for transmission pathkNode v ofi-1,viPath for transmission pathkNode v ofi,[vi-1,vi]Representing a slave node vi-1Transmission to node vi
Figure BDA0003075883550000022
For a data stream f to be transmittedkSlave node vi-1Transmission to node viPropagation delay of time, denoted as data stream f to be transmittedkAt node vi-1To node viThe time delay experienced by propagation on the physical link between,
Figure BDA0003075883550000023
for a data stream f to be transmittedkAt the source node srckThe serialization delay of (a) is delayed,
Figure BDA0003075883550000024
for a data stream f to be transmittedkAt the destination node dstkOf (a) is a serialized time delay of V'kPath for transmission pathkAll of the nodes in the network are connected,
Figure BDA0003075883550000025
for a data stream f to be transmittedkNode viThe time delay of the serialization of (a) and (b),
Figure BDA0003075883550000026
is a node viData flow f to be transmittedkIs represented as a data stream f to be transmittedkAt node viThe forwarding delay experienced by the TSN is taken into account,
Figure BDA0003075883550000027
for a data stream f to be transmittedkAt node viThe queuing delay of (1) is expressed as a data stream f to be transmittedkAt node viWaiting for a queuing delay when transmitting to a next node;
said queuing delay
Figure BDA0003075883550000028
Expressed as:
Figure BDA0003075883550000029
wherein the content of the first and second substances,
Figure BDA00030758835500000210
is a node viPhysical queue of output portqmThe opening time of the upper transmission gate is,
Figure BDA00030758835500000211
for a data stream f to be transmittedkTransmission to node viPhysical queue q of output portmThe time of the corresponding time is the corresponding time,
Figure BDA00030758835500000212
for a data stream f to be transmittedkAt node viThe time offset parameter of (a) to (b),
Figure BDA00030758835500000213
for a data stream f to be transmittedrAt node viWith a serialization delay of (k-1) the data stream to be transmitted fkPhysical queue q of the placemArranged in a data stream f to be transmittedkNumber of preceding data streams to be transmitted, Wi(k, m) is node viAnd mapping information between the medium virtual queue k and the physical queue m, wherein k is the virtual queue serial number, and m is the physical queue serial number.
Optionally, the preset constraint condition includes a first constraint condition, a second constraint condition, and a third constraint condition;
the first constraint is expressed as:
Figure BDA00030758835500000214
wherein the content of the first and second substances,
Figure BDA00030758835500000215
for a full term, denoted each, V is the set of all nodes in the TSN, F is the set of all data streams to be transmitted, lkFor a data stream f to be transmittedkThe length of (a) of (b),
Figure BDA00030758835500000216
is a node viPhysical queue q of output portmThe bandwidth of the communication channel is controlled,
Figure BDA00030758835500000217
is a node viPhysical queue q of output portmUpper transfer door open window, gciIs a node vi(ii) a cycle period of the GCL of (1);
the second constraint is expressed as:
Figure BDA0003075883550000031
wherein f iskFor a data stream f to be transmittedk,fjFor a data stream f to be transmittedj
Figure BDA0003075883550000032
Is a node viVirtual queue vq in (1)n
Figure BDA0003075883550000033
Is a node viPhysical queue q in an output portm
Figure BDA0003075883550000034
For storage at node viVirtual queue vq ofnTo be transmitted stream fkThe corresponding mapped physical queue is a physical queue qm
Figure BDA0003075883550000035
Is a node viVirtual queue vq in (1)n′
Figure BDA0003075883550000036
Is a node viIn (2) a physical queue qm′
Figure BDA0003075883550000037
For storage at node viVirtual queue vq ofn′To be transmitted stream fjThe corresponding mapped physical queue is a physical queue qm′
Figure BDA0003075883550000038
Is a node viPhysical queue q of output portmThe opening time of the upper transmission gate is,
Figure BDA0003075883550000039
is a node viPhysical queue q of output portm′The opening time of the upper transmission gate is,
Figure BDA00030758835500000310
is a physical queue qm′The open time period of the upper transmission gate,
Figure BDA00030758835500000311
is a physical queue qmThe opening duration of the upper transmission gate is U, and the operation is a union set;
the third constraint is expressed as:
Figure BDA00030758835500000312
wherein stkFor a data stream f to be transmittedkAt the moment when the source node starts transmitting, edkFor a data stream f to be transmittedkAlong the transmission pathkTransmission delay in transmission, dlkFor a data stream f to be transmittedkThe deadline of (2).
Optionally, the mapping information and the GCL are calculated by using the following formula:
min{sum{edk|fk∈F}}
Figure BDA00030758835500000313
Figure BDA00030758835500000314
Figure BDA00030758835500000315
where min is the minimum operation and sum is the sum operation, { edk|fke.F is the transmission time delay set of the data stream to be transmitted edkFor a data stream fkAlong the transmission pathkThe transmission delay of the transmission, s.t. represents a constraint,
Figure BDA00030758835500000316
for a full term, denoted each, V is the set of all nodes in the TSN, F is the set of all data streams to be transmitted, lkFor a data stream f to be transmittedkThe length of (a) of (b),
Figure BDA00030758835500000317
is a node viPhysical queue q of output portmThe bandwidth of the allocation is determined by the bandwidth allocation,
Figure BDA00030758835500000318
is a node viPhysical queue q of output portmUpper transfer door open window, gciIs a node viCycle period of GCL in (1), fkFor a data stream f to be transmittedk,fjFor a data stream f to be transmittedj
Figure BDA00030758835500000319
Is a node viVirtual queue vq in (1)n
Figure BDA00030758835500000320
Is a node viPhysical queue q in an output portm
Figure BDA00030758835500000321
For storage at node viVirtual queue vq ofnTo be transmitted stream fkThe corresponding mapped physical queue is a physical queue qm
Figure BDA00030758835500000322
Is a node viVirtual queue vq in (1)n′
Figure BDA00030758835500000323
Is a node viIn (2) a physical queue qm′
Figure BDA00030758835500000324
For storage at node viVirtual queue vq ofn′To be transmitted stream fjThe corresponding mapped physical queue is a physical queue qm′
Figure BDA0003075883550000041
Is a node viPhysical queue q of output portmThe opening time of the upper transmission gate is,
Figure BDA0003075883550000042
is a node viPhysical queue q of output portm′The opening time of the upper transmission gate is,
Figure BDA0003075883550000043
is a physical queue qm′The open time period of the upper transmission gate,
Figure BDA0003075883550000044
is a physical queue qmThe opening duration of the upper transmission gate, U is the union operation, stkFor a data stream f to be transmittedkAt the moment when the source node starts transmitting, edkFor a data stream f to be transmittedkAlong the transmission pathkTransmission delay in transmission, dlkFor a data stream f to be transmittedkThe deadline of (2).
Optionally, the mapping information further includes a numerical value indicating an order in which each data stream to be transmitted is mapped to the physical queue;
the step of mapping and storing the data streams to be transmitted stored in the plurality of virtual queues to the physical queues based on the mapping relationship between the virtual queues and the physical queues included in the mapping information includes:
and based on the mapping relation between the virtual queues and the physical queues included in the mapping information and a numerical value indicating the sequence of mapping each data stream to be transmitted to the physical queues, mapping and storing each data stream to be transmitted stored in the plurality of virtual queues to the physical queues.
The embodiment of the present application further provides a data stream transmission device for a time-sensitive network, which is applied to a target node in a TSN of the time-sensitive network, where the target node is preset with a plurality of virtual queues, and the device includes:
the device comprises an acquisition module, a transmission module and a transmission module, wherein the acquisition module is used for acquiring mapping information and GCL corresponding to a plurality of data streams to be transmitted; the mapping information and the GCL are determined according to the minimum transmission delay and the minimum transmission delay of the transmission delay function of each to-be-transmitted data stream under a preset constraint condition, the transmission delay function of each to-be-transmitted data stream is constructed according to quintuple information of each to-be-transmitted data stream and path information in the TSN, and the preset constraint condition is determined based on queue resources in each node in the TSN, the time when each to-be-transmitted data stream is transmitted to the next node and the deadline in the quintuple information of each to-be-transmitted data stream;
the first storage module is used for storing at least one data stream to be transmitted into the plurality of virtual queues when the at least one data stream to be transmitted in the plurality of data streams to be transmitted is received;
a second storage module, configured to map and store data streams to be transmitted stored in the plurality of virtual queues to a physical queue based on a mapping relationship between the virtual queue and the physical queue included in the mapping information;
and the transmission module is used for transmitting the data stream to be transmitted stored in the physical queue after the transmission gate on the physical queue is opened based on the opening time specified by the GCL aiming at the transmission gate on each physical queue.
Optionally, the transmission delay function of each to-be-transmitted data stream is represented as:
Figure BDA0003075883550000045
wherein edkFor a data stream f to be transmittedkAlong the transmission pathkTransmission delay of transmission, vi-1Path for transmission pathkNode v ofi-1,viPath for transmission pathkNode v ofi,[vi-1,vi]Representing a slave node vi-1Transmission to node vi
Figure BDA0003075883550000046
For a data stream f to be transmittedkSlave node vi-1Transmission to node viPropagation delay of time, denoted as data stream f to be transmittedkAt node vi-1To node viThe time delay experienced by propagation on the physical link between,
Figure BDA0003075883550000047
for a data stream f to be transmittedkAt the source node srckThe serialization delay of (a) is delayed,
Figure BDA0003075883550000051
for a data stream f to be transmittedkAt the destination node dstkOf (a) is a serialized time delay of V'kPath for transmission pathkAll of the nodes in the network are connected,
Figure BDA0003075883550000052
for a data stream f to be transmittedkNode viThe time delay of the serialization of (a) and (b),
Figure BDA0003075883550000053
is a node viData flow f to be transmittedkIs represented as a data stream f to be transmittedkAt node viThe forwarding delay experienced by the TSN is taken into account,
Figure BDA0003075883550000054
is to be transmittedStream fkAt node viThe queuing delay of (1) is expressed as a data stream f to be transmittedkAt node viWaiting for a queuing delay when transmitting to a next node;
said queuing delay
Figure BDA0003075883550000055
Expressed as:
Figure BDA0003075883550000056
wherein the content of the first and second substances,
Figure BDA0003075883550000057
is a node viThe opening moment of the transmission gate on the physical queue qm of the output port,
Figure BDA0003075883550000058
for a data stream f to be transmittedkTransmission to node viPhysical queue q of output portmThe time of the corresponding time is the corresponding time,
Figure BDA0003075883550000059
for a data stream f to be transmittedkAt node viThe time offset parameter of (a) to (b),
Figure BDA00030758835500000510
for a data stream f to be transmittedrAt node viWith a serialization delay of (k-1) the data stream to be transmitted fkPhysical queue q of the placemArranged in a data stream f to be transmittedkNumber of preceding data streams to be transmitted, Wi(k, m) is node viAnd mapping information between the medium virtual queue k and the physical queue m, wherein k is the virtual queue serial number, and m is the physical queue serial number.
Optionally, the preset constraint condition includes a first constraint condition, a second constraint condition, and a third constraint condition;
the first constraint is expressed as:
Figure BDA00030758835500000511
wherein the content of the first and second substances,
Figure BDA00030758835500000512
for a full term, denoted each, V is the set of all nodes in the TSN, F is the set of all data streams to be transmitted, lkFor a data stream f to be transmittedkThe length of (a) of (b),
Figure BDA00030758835500000513
is a node viPhysical queue q of output portmThe bandwidth of the allocation is determined by the bandwidth allocation,
Figure BDA00030758835500000514
is a node viPhysical queue q of output portmUpper transfer door open window, gciIs a node vi(ii) a cycle period of the GCL of (1);
the second constraint is expressed as:
Figure BDA00030758835500000516
wherein f iskFor a data stream f to be transmittedk,fjFor a data stream f to be transmittedj
Figure BDA00030758835500000517
Is a node viVirtual queue vq in (1)n
Figure BDA00030758835500000518
Is a node viPhysical queue q in an output portm
Figure BDA00030758835500000519
For storage at node viVirtual queue vq ofnTo be transmitted stream fkThe corresponding mapped physicsThe queues are physical queues qm
Figure BDA00030758835500000520
Is a node viVirtual queue vq in (1)n′
Figure BDA00030758835500000521
Is a node viIn (2) a physical queue qm′
Figure BDA00030758835500000522
For storage at node viVirtual queue vq ofn′To be transmitted stream fjThe corresponding mapped physical queue is a physical queue qm′
Figure BDA00030758835500000523
Is a node viPhysical queue q of output portmThe opening time of the upper transmission gate is,
Figure BDA00030758835500000524
is a node viPhysical queue q of output portm′The opening time of the upper transmission gate is,
Figure BDA00030758835500000525
is a physical queue qm′The open time period of the upper transmission gate,
Figure BDA0003075883550000061
is a physical queue qmThe opening duration of the upper transmission gate is U, and the operation is a union set;
the third constraint is expressed as:
Figure BDA0003075883550000062
wherein stkFor a data stream f to be transmittedkAt the moment when the source node starts transmitting, edkFor a data stream f to be transmittedkAlong the transmission pathkTransmission ofTime delay of transmission, dlkFor a data stream f to be transmittedkThe deadline of (2).
Optionally, the mapping information and the GCL are calculated by using the following formula:
min{sum{edk|fk∈F}}
Figure BDA0003075883550000063
Figure BDA0003075883550000064
Figure BDA0003075883550000065
where min is the minimum operation and sum is the sum operation, { edk|fke.F is the transmission time delay set of the data stream to be transmitted edkFor a data stream fkAlong the transmission pathkThe transmission delay of the transmission, s.t. represents a constraint,
Figure BDA0003075883550000066
for a full term, denoted each, V is the set of all nodes in the TSN, F is the set of all data streams to be transmitted, lkFor a data stream f to be transmittedkThe length of (a) of (b),
Figure BDA0003075883550000067
is a node viPhysical queue q of output portmThe bandwidth of the allocation is determined by the bandwidth allocation,
Figure BDA0003075883550000068
is a node viPhysical queue q of output portmUpper transfer door open window, gciIs a node viCycle period of GCL in (1), fkFor a data stream f to be transmittedk,fjFor a data stream f to be transmittedj
Figure BDA00030758835500000610
Is a node viVirtual queue vq in (1)n
Figure BDA00030758835500000611
Is a node viPhysical queue q in an output portm
Figure BDA00030758835500000612
For storage at node viVirtual queue vq ofnTo be transmitted stream fkThe corresponding mapped physical queue is a physical queue qm
Figure BDA00030758835500000613
Is a node viVirtual queue vq in (1)n′
Figure BDA00030758835500000614
Is a node viIn (2) a physical queue qm′
Figure BDA00030758835500000615
For storage at node viVirtual queue vq ofn′To be transmitted stream fjThe corresponding mapped physical queue is a physical queue qm′
Figure BDA00030758835500000616
Is a node viPhysical queue q of output portmThe opening time of the upper transmission gate is,
Figure BDA00030758835500000617
is a node viPhysical queue q of output portm′The opening time of the upper transmission gate is,
Figure BDA00030758835500000618
is a physical queue qm′The open time period of the upper transmission gate,
Figure BDA00030758835500000619
is a physical queue qmThe opening duration of the upper transmission gate, U is the union operation, stkFor a data stream f to be transmittedkAt the moment when the source node starts transmitting, edkFor a data stream f to be transmittedkAlong the transmission pathkTransmission delay in transmission, dlkFor a data stream f to be transmittedkThe deadline of (2).
Optionally, the mapping information further includes a numerical value indicating an order in which each data stream to be transmitted is mapped to the physical queue;
the second storage module is specifically configured to map and store each to-be-transmitted data stored in the plurality of virtual queues to the physical queue based on a mapping relationship between the virtual queue and the physical queue included in the mapping information and a numerical value indicating a sequence in which each to-be-transmitted data stream is mapped to the physical queue.
The embodiment of the application also provides a TSN node, which comprises a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory complete mutual communication through the communication bus;
a memory for storing a computer program;
and the processor is used for realizing the data stream transmission method steps of any one time-sensitive network when executing the program stored in the memory.
An embodiment of the present application further provides a computer-readable storage medium, in which a computer program is stored, and when being executed by a processor, the computer program implements any of the above steps of the data stream transmission method for a time-sensitive network.
Embodiments of the present application further provide a computer program product containing instructions, which when run on a computer, cause the computer to execute any one of the above-mentioned methods for data streaming of a time-sensitive network.
The embodiment of the application has the following beneficial effects:
according to the data stream transmission method and device for the time-sensitive network, a plurality of virtual queues are preset in each node in the TSN, so that when any node receives at least one data stream to be transmitted, the data stream to be transmitted stored in the virtual queues can be mapped and stored to the physical queues according to the obtained mapping information, and then the transmission gate on the physical queue is opened according to the obtained GCL specified open time to transmit the data stream to be transmitted in the physical queue. Compared with the related technology, the data to be transmitted is mapped and stored from the virtual queue to the physical queue through the mapping information, and the GCL controls the opening of the transmission gate on the physical queue, so that the stream isolation of a plurality of data streams to be transmitted can be effectively realized, and the mutual interference among the data streams to be transmitted is avoided. In addition, the mapping information and the GCL are determined according to the minimum transmission delay and the minimum transmission delay of the transmission delay function of each to-be-transmitted data under the preset constraint condition, and are constrained by the preset constraint condition, that is, the bandwidth resource of the physical queue of each node, the time when each to-be-transmitted data stream is transmitted to the next node, and the constraint condition corresponding to the deadline in the quintuple information of each to-be-transmitted data stream, so that the determined mapping information and the GCL ensure the transmission time of each to-be-transmitted data stream on the premise of meeting the deadline of each to-be-transmitted data, that is, the maximization of the number of the data streams transmitted by each node on the premise of ensuring the minimum transmission delay and the minimum transmission delay. Therefore, by adopting the technical scheme provided by the application, under the condition of physical resource limitation, the isolation among a plurality of data streams is realized through the configuration of virtual resources in the virtual queue, the mutual interference among the data streams is avoided, the time delay requirement of data stream transmission is ensured, and the number of data streams schedulable by the TSN is increased.
Of course, not all advantages described above need to be achieved at the same time in the practice of any one product or method of the present application.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and it is also obvious for a person skilled in the art to obtain other embodiments according to the drawings.
FIG. 1 is a schematic diagram of any node in a TSN of the related art;
fig. 2 is a schematic flowchart of a data stream transmission method of a time-sensitive network according to an embodiment of the present application;
fig. 3 is a schematic diagram of a data streaming process of a time-sensitive network according to an embodiment of the present application;
fig. 4 is a schematic diagram of the number of TSN maximum schedulable data streams provided by the embodiment of the present application;
fig. 5 is a schematic diagram of a cumulative distribution of propagation delays according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of a data stream transmission apparatus of a time-sensitive network according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of a TSN node according to an embodiment of the present disclosure.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments that can be derived by one of ordinary skill in the art from the description herein are intended to be within the scope of the present disclosure.
A plurality of nodes (i.e., TSN nodes) are included in the TSN, each node being an electronic device. Here, the number of nodes included in the TSN is not particularly limited.
For ease of understanding, fig. 1 is used as an example for illustration. Fig. 1 is a schematic diagram of any node in a TSN of the related art. In the node shown in fig. 1, 4 physical queues, physical queue 1-physical queue 4, are included on the output port of the node. There is a corresponding transmission gate on each physical queue, transmission gate S1-transmission gate S4. The GCL module in the node shown in FIG. 1 implements the opening and closing of the transmission gate S1-transmission gate S4 according to the received GCL, thereby implementing the transmission of the data stream stored in the corresponding physical queue.
When a large number of data streams to be transmitted are received by the TSN, because the number of the data streams to be transmitted is large, the number of the data streams to be transmitted received by the node shown in fig. 1 may be one or more. For example, there are 7 data streams to be transmitted at a time transmitted by the node shown in fig. 1. At this time, due to the limitation of the physical resource of the physical queue in the node, in the transmission process, the related interference between different data streams in the same physical queue and the mutual interference between data streams in different physical queues also cause that the transmission delay of each to-be-transmitted data stream has randomness, so that the transmission delay of the data stream may not meet the transmission delay requirement of the data stream, for example, exceed the deadline (i.e., deadline) of the data stream, thereby limiting the number of data streams schedulable by the TSN.
In order to solve the problems in the related art, embodiments of the present application provide a data streaming method for a time-sensitive network. As shown in fig. 2, fig. 2 is a schematic flowchart of a data stream transmission method of a time-sensitive network according to an embodiment of the present application. The method is applied to a target node in the TSN, and a plurality of virtual queues are preset in the target node. The method specifically comprises the following steps.
Step S201, obtaining mapping information and GCL corresponding to a plurality of data streams to be transmitted.
The mapping information and the GCL are determined according to the transmission delay function of each to-be-transmitted data stream under the condition of a preset constraint, and the transmission delay function of each to-be-transmitted data stream is constructed according to the quintuple information of each to-be-transmitted data stream and the path information in the TSN. The preset constraint condition is determined based on queue resources in each node in the TSN, the time when each data stream to be transmitted is transmitted to the next node, and the deadline in the quintuple information of each data stream to be transmitted.
Step S202, when at least one data stream to be transmitted in the multiple data streams to be transmitted is received, storing the at least one data stream to be transmitted into the multiple virtual queues.
Step S203, based on the mapping relationship between the virtual queue and the physical queue included in the mapping information, mapping and storing the to-be-transmitted data stream stored in the plurality of virtual queues to the physical queue.
Step S204 is to transmit the data stream to be transmitted stored in each physical queue after the transmission gate on the physical queue is opened based on the open time specified by the GCL for the transmission gate on the physical queue.
In this embodiment of the present application, the TSN includes a plurality of nodes, and each node is preset with a plurality of virtual queues. The target node may be any node in the TSN. Here, the number of nodes included in the target node, TSN, and the number of virtual queues included in each node are not particularly limited.
By adopting the method provided by the embodiment of the application, a plurality of virtual queues are preset in each node in the TSN, so that when any node receives at least one data stream to be transmitted, the data stream to be transmitted stored in the virtual queue can be mapped and stored to the physical queue according to the obtained mapping information, and then the data stream to be transmitted in the physical queue is transmitted by opening the transmission gate on the physical queue according to the obtained GCL specified open time. Compared with the related technology, the data to be transmitted is mapped and stored from the virtual queue to the physical queue through the mapping information, and the GCL controls the opening of the transmission gate on the physical queue, so that the stream isolation of a plurality of data streams to be transmitted can be effectively realized, and the mutual interference among the data streams to be transmitted is avoided. In addition, the mapping information and the GCL are determined according to the minimum transmission delay and the minimum transmission delay of the transmission delay function of each to-be-transmitted data under the preset constraint condition, and are constrained by the preset constraint condition, that is, the bandwidth resource of the physical queue of each node, the time when each to-be-transmitted data stream is transmitted to the next node, and the constraint condition corresponding to the deadline in the quintuple information of each to-be-transmitted data stream, so that the determined mapping information and the GCL ensure the transmission time of each to-be-transmitted data stream on the premise of meeting the deadline of each to-be-transmitted data, that is, the maximization of the number of the data streams transmitted by each node on the premise of ensuring the minimum transmission delay and the minimum transmission delay. Therefore, by adopting the technical scheme provided by the application, under the condition of physical resource limitation, the isolation among a plurality of data streams is realized through the configuration of virtual resources in the virtual queue, the mutual interference among the data streams is avoided, the time delay requirement of data stream transmission is ensured, and the number of data streams schedulable by the TSN is increased.
The following examples are given to illustrate the examples of the present application.
For the step S201, mapping information and GCL corresponding to a plurality of data streams to be transmitted are obtained.
In this step, after a first node in the TSN receives data streams to be transmitted sent by a plurality of other devices, a traffic scheduling module included in a configuration scheduling layer in the network constructs and obtains a transmission delay function of each data stream to be transmitted when the data stream to be transmitted is transmitted in the TSN according to quintuple information of each data stream to be transmitted and path information in the TSN by using a scheduling algorithm, so that the sum of transmission delays is minimized under a preset constraint condition according to the transmission delay function of each data stream to be transmitted, and mapping information and GCL are determined. At this time, the traffic scheduling module may issue the mapping information and the GCL to each node in the TSN. Each node in the TSN receives the mapping information and the GCL sent by the traffic scheduling module. For the determination of the mapping information and GCL, reference is made to the following description, which is not specifically described herein.
In this embodiment of the present application, when the target node is the first node in the TSN, the steps of obtaining the mapping information and the GCL are performed after the step of receiving the data stream to be transmitted. When the target node is not the first node in the TSN, the above steps of obtaining the mapping information and the GCL are performed before the step of receiving the data stream to be transmitted. Here, the execution sequence of the step of the target node acquiring the mapping information and the GCL and the step of the target node receiving the data stream to be processed is not particularly limited.
The data stream to be transmitted is the ST stream. The data streams in the TSN may include timely serviced data streams and punctual serviced data streams. The data streams for the just-in-time service and the data streams for the just-in-time service are collectively referred to as ST streams. The delay requirement of the timely-served data stream defines an upper limit value of the transmission delay, that is, the data stream must be transmitted at a time corresponding to the upper limit value. The delay requirement of the data stream of the just-in-time service defines an upper limit value and a lower limit value of the transmission delay, that is, the data stream must be transmitted within a time period corresponding to the upper limit value and the lower limit value.
With respect to the step S202, when at least one data stream to be transmitted in the multiple data streams to be transmitted is received, the at least one data stream to be transmitted is stored in the multiple virtual queues.
In this step, when the target node receives at least one to-be-transmitted data stream of the multiple to-be-transmitted data streams, a corresponding virtual queue may be allocated for each received to-be-transmitted data stream, and each to-be-transmitted data stream is stored in the allocated virtual queue.
When the corresponding virtual queue is allocated to each received data to be transmitted, each virtual queue can be allocated to only one data stream to be transmitted. That is, only one data stream to be transmitted is stored in each virtual queue.
In an optional embodiment, the target node may allocate a corresponding virtual queue to each received data stream to be transmitted according to the virtual resource of each virtual queue and the data amount of each data stream to be transmitted. Here, the allocation of the virtual queue corresponding to each data stream to be transmitted is not specifically described.
In step S203, the to-be-transmitted data streams stored in the virtual queues are mapped and stored to the physical queues based on the mapping relationship between the virtual queues and the physical queues included in the mapping information.
In this embodiment, the mapping information received by each node in the TSN includes a mapping relationship between the virtual queue and the physical queue, and a numerical value (i.e., a sequence number) indicating an order in which each data stream to be transmitted is mapped to the physical queue.
In an optional embodiment, in step S203, based on the mapping relationship between the virtual queue and the physical queue included in the mapping information, the to-be-transmitted data stream stored in the multiple virtual queues is mapped and stored to the physical queue, which may be specifically represented as:
and mapping and storing each data to be transmitted stored in the plurality of virtual queues to the physical queue based on the mapping relation between the virtual queues and the physical queues included in the mapping information and a numerical value indicating the sequence of mapping each data stream to be transmitted to the physical queue.
For the sake of understanding, the above mapping information is described by taking the form of a mapping matrix as an example. In the mapping matrix, the value of a matrix element corresponding to the mapping relationship between a virtual queue and a physical queue is 0, which indicates that the data stream to be transmitted stored in the virtual queue cannot be mapped and stored in the physical queue. The value of a matrix element corresponding to the mapping relation between a certain virtual queue and a certain physical queue is greater than 0, which indicates that the data stream to be transmitted stored in the virtual queue is mapped and stored to the physical queue, and the matrix element greater than 0 indicates the sequence of the data stream to be transmitted stored in the virtual queue mapped to the physical queue.
Assume now that the number of virtual queues in the target node is 4, queue A1-queue A4. The number of physical queues is 2, queue B1 and queue B2. The number of the data streams to be transmitted currently received by the target node is 4, namely, the data streams 1 to 4, and the data streams 1 to 4 are respectively and correspondingly stored in the queues a1 to a 4. The mapping information between the virtual queue and the physical queue in the node may be shown as a matrix a, where the matrix a:
Figure BDA0003075883550000111
according to the matrix a, the target node may determine that data stream 1 and data stream 4 stored in the queue a1 and the queue a4 are mapped and stored in the queue B2, data stream 2 and data stream 3 stored in the queue a2 and the queue A3 are mapped and stored in the queue B1, and the mapping sequence corresponding to data stream 1-data stream 4 sequentially is: data stream 1, data stream 2, data stream 3 and data stream 4.
The above embodiment only exemplifies that the mapping information is represented in the form of a mapping matrix, and besides, the mapping information may be represented in other forms, such as a mapping table. Here, the expression form of the mapping information is not particularly limited.
In this embodiment, the target node includes a plurality of physical queues, and the number of the physical queues included in the target node is not specifically limited.
In step S204, that is, for the transmission gate on each physical queue, after the transmission gate on the physical queue is opened based on the open time specified by the GCL, the data stream to be transmitted stored in the physical queue is transmitted.
In this step, each physical queue in the target node has a corresponding transmission gate, and after the GCL is obtained, the GCL includes a gate state and a time interval corresponding to the transmission gate in each physical queue. The target node may control the opening or closing of the transmission gate on each physical queue, and the opening duration or the closing duration according to the acquired gate state and time interval included in the GCL. After the data streams to be transmitted stored in each virtual queue are mapped and stored in the physical queues, the target node may open the transmission gate on each physical queue according to the obtained open time specified by the GCL, and sequentially transmit each data stream to be transmitted according to the arrangement order of the data streams to be transmitted on each physical queue when the transmission gate on each physical queue is open.
In the embodiment of the present application, the data stream transmission method of the time-sensitive network shown in fig. 2 is described by taking transmission of a data stream to be transmitted on one node of a TSN as an example. And according to the difference of the source node and the destination node in the quintuple information of each data stream to be transmitted, the transmission path of each data stream to be transmitted in the TSN is different. That is, each data stream to be transmitted passes through different nodes. The transmission process of each node on the corresponding transmission path of each data stream to be transmitted can refer to the transmission process in the target node, which is not specifically described herein.
For ease of understanding, the transmission process of the data stream to be transmitted received by the TSN is described below with reference to fig. 3. Fig. 3 is a schematic diagram of a data stream transmission process of a time-sensitive network according to an embodiment of the present application.
The configuration scheduling layer and the network infrastructure layer are mainly included in fig. 3. The configuration scheduling layer comprises a topology building module, a flow scheduling module and a virtual resource pool. The topology discovery in the topology construction module is used for determining the topology relationship among the nodes in the TSN, that is, the connection relationship among the nodes. And the path calculation in the topology construction module is used for calculating the path information of the TSN according to the output result of the topology discovery. And the traffic scheduling module is used for performing mapping table calculation and GCL calculation so as to obtain the mapping information and GCL, and sending the calculated mapping information and GCL to the node 1-node n. The queue resources of the virtual queue allocated to each node in the TSN, that is, the queues, buffers, bandwidths, and the like shown in fig. 3, are recorded in the virtual resource pool. The network facility layer comprises a terminal 1, a TSN and a terminal 2. The TSN includes a plurality of nodes, i.e., node 1-node n shown in fig. 3.
Now, assume that the terminal 1 sends a data stream a, i.e. the data stream to be transmitted, to the terminal 2 through the TSN, where a transmission path of the data stream a is from node 1 to node n in the TSN shown in fig. 3. The transmission of this data stream a is accompanied by the transmission of a large number of other data streams to be transmitted.
When the node 1 in the TSN receives the data stream a and other data streams to be transmitted, the traffic scheduling module determines a mapping table corresponding to a mapping relationship between a virtual queue and a physical queue, that is, the mapping information, and a GCL corresponding to each transmission gate, according to quintuple information of each data stream to be transmitted currently, path information of the TSN calculated by the topology construction module, and queue resources in the virtual resource pool, and sends the determined mapping table and the GCL to each node in the TSN.
After data flow a is transmitted to node 1, node 1 may assign one of queue a 1-queue D1 included in the virtual queue to data flow a. For example, node 1 assigns queue a1 to data flow a. At this point, data flow a will be stored in queue a 1. According to the mapping table sent by the traffic scheduling module, the data stream a stored in the queue a1 is mapped and stored into a corresponding physical queue (i.e., the queue 11 or the queue 12 shown in fig. 3). For example, data flow a is mapped to physical queue 11. The transmission gates on the queue 11 are opened and closed according to the GCL issued by the traffic scheduling module. If there is no other data stream to be transmitted before the data stream a in the queue 11, the data stream a is transmitted to the node 2 in the TSN when the transmission gate on the queue 11 is opened next time. By analogy, data stream a is transmitted to node n according to the transmission path of data stream a, so that data stream a is transmitted to terminal 2 through node n.
Compared with the related art, by arranging the virtual queue in each node of the TSN, the method and the system can realize the flow isolation of a plurality of data flows under the condition of not being limited by physical resources, avoid the mutual interference among the data flows to be transmitted, ensure the time delay requirement of data flow transmission and increase the number of the data flows schedulable by the TSN.
In this embodiment of the present application, the multiple data streams to be transmitted may be represented as a data stream set, that is, a set F, where any data stream to be transmitted in the set is denoted as a data stream F to be transmittedk,fk∈F。
Each data stream f to be transmittedke.F from quintuple information (src)k,dstk,dlk,pk,lk) And (4) showing. Wherein, srckFor a data stream f to be transmittedkSource node of, dstkFor a data stream f to be transmittedkDestination node of dlkFor a data stream f to be transmittedkDeadline of pkFor a data stream f to be transmittedkPeriod of (a) ofkFor a data stream f to be transmittedkLength of (d).
L in the above five-tuple informationkExpressed as the size of the data stream to be transmitted in each period, lkThe unit is a byte. Dl as described abovekMeans must be in dlkData flow f to be transmitted is completed beforekTo be transmitted.
In the embodiment of the present application, all the parameters in the five-tuple information of each data stream to be transmitted are positive integers for the sake of no loss of generality.
In the embodiment of the present application, the TSN may be expressed as (V, E) in the directed graph G. Where V is the set of all nodes in the TSN, E is the set of all physical links in the TSN, and the link [ V ] in Ei,vj]Connection source node viAnd destination node vj. By node viFor example, at node viInvolving a plurality of virtual queues, i.e. VQiSpecifically, it can be expressed as:
Figure BDA0003075883550000131
node viThe output port corresponds to a set of physical queues QiSpecifically, it can be expressed as:
Figure BDA0003075883550000132
in an optional embodiment, when the TSN receives multiple data to be transmitted, the traffic scheduling module may determine a transmission path of each data stream to be transmitted in the TSN according to a source node and a destination node in the received quintuple information of each data stream to be transmitted and path information in the TSN. Therefore, for each data stream to be transmitted, a transmission delay function when the data stream to be transmitted is transmitted in the TSN, that is, a transmission delay function corresponding to the transmission delay (that is, end-to-end delay) in the process of transmitting the data stream to be transmitted from the source node to the target node, is constructed according to the propagation delay, the forwarding delay, the serialization delay and the queuing delay of the data stream to be transmitted when the data stream to be transmitted is transmitted between every two nodes on the corresponding transmission path. The queuing delay is determined according to a time offset parameter corresponding to the data stream to be transmitted after the data stream to be transmitted is mapped to the physical queue from the virtual queue.
Specifically, for each acquired data stream to be transmitted, the quintuple information of the data stream to be transmitted includes a source node and a destination node, that is, the srckAnd dstkAccording to eachThe source node and the destination node included in the quintuple information of the data stream to be transmitted and the path information in the TSN calculated by the path calculation module can obtain the transmission path of each data stream to be transmitted when the data stream is transmitted in the TSN. I.e., each node through which each data stream to be transmitted passes when transmitted in the TSN, and the order of each node through which each data stream passes.
For ease of understanding, the data stream f to be transmitted is still referred to abovekFor example, a data stream f to be transmittedkTransmission path in TSNkCan be expressed as: pathk={[srck,v1],[v1,v2],...,[vi-1,vi],[vi,dstk]}。
After the transmission path of each data stream to be transmitted in the TSN is determined, considering that each data stream to be transmitted needs to sequentially pass through a serialization process, a data transmission process, a queuing process and a forwarding process when transmitted between any two nodes, for each data stream to be transmitted, a transmission delay function when the data stream to be transmitted is transmitted in the TSN is constructed and obtained according to a propagation delay, a forwarding delay, a serialization delay and a queuing delay which are correspondingly generated when the data stream to be transmitted is transmitted between every two nodes on the corresponding transmission path.
For the sake of understanding, only the data stream f to be transmitted is described abovekAt its corresponding transmission pathkUpper by node vi-1Transmission to node viThe description is given for the sake of example.
Data stream f to be transmittedkAt the slave node vi-1Transmission to node viAt node v, ati-1To transmit data stream fkThe serialization process is carried out, and the process generates serialization time delay which is marked as
Figure BDA0003075883550000141
After the serialization process, pass through node vi-1And node viThe physical link between the two transmits the serialized data stream f to be transmittedkPropagation to node viThis process will create propagation delayIs marked as
Figure BDA0003075883550000142
At node viWill receive node vi-1Transmitted serialized data stream f to be transmittedkAt this time, the received data stream is serialized, and this process generates serialization delay, which is recorded as
Figure BDA0003075883550000143
After the serialization process, the data stream f to be transmittedkStoring the data stream f to be transmitted in the virtual queue according to the determined mapping relation between the virtual queue and the physical queuekWill be mapped to a physical queue and await transmission to the next node via the transmission gate on that physical queue, in the process due to the data flow f to be transmittedkThere may be other data streams to be transmitted in the mapped physical queue, so this process will generate queuing delay, which is denoted as
Figure BDA0003075883550000144
In this embodiment, the above serialization process may be divided into serialization processes (i.e. transmitting the data stream to be transmitted from the node cache to the physical link), as described above
Figure BDA0003075883550000145
Corresponding serialization process and deserialization process (i.e., transferring data to be transferred from physical link cache to node), as described above
Figure BDA0003075883550000146
Corresponding serialization processing procedure. Since each data stream to be transmitted is serialized and deserialized in each node, for convenience of description, the data stream f to be transmitted iskAt the slave node vi-1Transmission to node viThere is no distinction between serialization and deserialization.
In an optional embodiment, the transmission delay function of each data stream to be transmitted, which is constructed according to the quintuple information of each data stream to be transmitted and the path information in the TSN, may be represented as:
Figure BDA0003075883550000147
wherein edkFor a data stream f to be transmittedkAlong the transmission pathkTransmission delay of the transmission, i.e. the above-mentioned end-to-end delay, vi-1Path for transmission pathkNode v ofi-1,viPath for transmission pathkNode v ofi,[vi-1,vi]Representing a slave node vi-1Transmission to node vi
Figure BDA0003075883550000148
For a data stream f to be transmittedkSlave node vi-1Transmission to node viPropagation delay of time, denoted as data stream f to be transmittedkAt node vi-1To node viThe time delay experienced by propagation on the physical link between,
Figure BDA0003075883550000149
for a data stream f to be transmittedkAt the source node srckThe serialization delay of (a) is delayed,
Figure BDA0003075883550000151
for a data stream f to be transmittedkAt the destination node dstkOf (a) is a serialized time delay of V'kPath for transmission pathkAll of the nodes in the network are connected,
Figure BDA0003075883550000152
for a data stream f to be transmittedkNode viThe time delay of the serialization of (a) and (b),
Figure BDA0003075883550000153
is a nodeviData flow f to be transmittedkIs represented as a data stream f to be transmittedkAt node viThe forwarding delay experienced by the TSN is taken into account,
Figure BDA0003075883550000154
for a data stream f to be transmittedkAt node viThe queuing delay of (1) is expressed as a data stream f to be transmittedkAt node viWaiting for the queuing delay to be transmitted to the next node.
In the embodiments of the present application, the above
Figure BDA0003075883550000155
Comprising a data stream f to be transmittedkNode viThe serialization delay generated by the up-serialization process and the serialization delay generated by the de-serialization process.
In this embodiment, for each physical queue in the nodes, because multiple data streams to be transmitted may be stored in the physical queue, after a transmission gate on the physical queue is opened, the data streams to be transmitted stored in the physical queue are sequentially transmitted to a corresponding next node according to the sequence in which the data streams to be transmitted are mapped and stored in the physical queue. That is, only one pending data stream stored in the physical queue of the transmission gate is transmitted every time the transmission gate is opened. Therefore, the queuing delay is determined by the delay of waiting for the transmission gate to open and the delay required by the transmission of the data stream to be transmitted, which is arranged before the data stream to be transmitted, in the physical queue to complete transmission. And, as the number of data streams to be transmitted stored in the physical queue increases, the queuing delay is delayed for the transmission delay edkWill gradually increase.
In an alternative embodiment, the queuing delay is
Figure BDA0003075883550000156
Can be expressed as:
Figure BDA0003075883550000157
wherein the content of the first and second substances,
Figure BDA0003075883550000158
is a node viThe opening moment of the transmission gate on the physical queue qm of the output port,
Figure BDA0003075883550000159
for a data stream f to be transmittedkTransmission to node viPhysical queue q of output portmThe time of the corresponding time is the corresponding time,
Figure BDA00030758835500001510
for a data stream f to be transmittedkAt node viThe time offset parameter of (a) to (b),
Figure BDA00030758835500001511
for a data stream f to be transmittedrAt node viWith a serialization delay of (k-1) the data stream to be transmitted fkPhysical queue q of the placemArranged in a data stream f to be transmittedkNumber of preceding data streams to be transmitted, Wi(k, m) is node viAnd mapping information between the medium virtual queue k and the physical queue m, wherein k is the virtual queue serial number, and m is the physical queue serial number.
As described above
Figure BDA00030758835500001512
For a data stream f to be transmittedkAnd the time offset parameter between the data stream to be transmitted and the head of the physical queue where the data stream is located. I.e. the data stream f to be transmitted is arranged in the physical queuekThe time delay required by the completion of the transmission of the previous data stream to be transmitted.
In an alternative embodiment, the preset constraint condition may include a first constraint condition, a second constraint condition and a third constraint condition. The first constraint condition is determined based on queue resources of a physical queue of each node in the TSN, the second constraint condition is determined based on the time of transmission of each data stream to be transmitted to the next node, and the third constraint condition is determined based on the deadline in the quintuple information of each data stream to be transmitted.
In an alternative embodiment, the first constraint condition may be expressed as:
Figure BDA00030758835500001513
wherein the content of the first and second substances,
Figure BDA00030758835500001514
for a full term, denoted each, V is the set of all nodes in the TSN, F is the set of all data streams to be transmitted, lkFor a data stream f to be transmittedkThe length of (a) of (b),
Figure BDA0003075883550000161
is a node viPhysical queue q of output portmThe bandwidth of the allocation is determined by the bandwidth allocation,
Figure BDA0003075883550000162
is a node viPhysical queue q of output portmUpper transfer door open window, gciIs a node viCycle period of the GCL in (1).
In this embodiment of the present application, when the data stream to be transmitted is a periodic time-sensitive traffic, a cycle period of each physical queue is a period of the data stream, and a cycle period of the GCL is a least common multiple of the cycle period of each physical queue.
In the embodiment of the present application, for each data stream to be transmitted, if the data stream to be transmitted cannot be completely transmitted within one open duration of the transmission gate on the physical queue, the data stream to be transmitted will wait for the transmission of the next open duration to the transmission gate, even wait for the transmission of the next gating period to the transmission gate, which will result in the transmission delay (i.e., ed)k) Variations occur that affect the accuracy of the determined mapping information and GCL. Therefore, each data stream to be transmitted needs to be transmitted within one gating period of the transmission gate. Passing the limit of the first constraintTherefore, each data stream to be transmitted can be effectively ensured to be transmitted within one opening duration of the transmission gate on the physical queue of the node, that is, each time the transmission gate is opened, only one data stream to be transmitted is transmitted, so that the determined mapping relation and the accuracy of the GCL are ensured.
In an alternative embodiment, the second constraint may be expressed as:
Figure BDA0003075883550000164
wherein f iskFor a data stream f to be transmittedk,fjFor a data stream f to be transmittedj
Figure BDA0003075883550000165
Is a node viVirtual queue vq in (1)n
Figure BDA0003075883550000166
Is a node viPhysical queue q in an output portm
Figure BDA0003075883550000167
For storage at node viVirtual queue vq ofnTo be transmitted stream fkThe corresponding mapped physical queue is a physical queue qm
Figure BDA0003075883550000168
Is a node viVirtual queue vq in (1)n′
Figure BDA0003075883550000169
Is a node viIn (2) a physical queue qm′
Figure BDA00030758835500001610
For storage at node viVirtual queue vq ofn′To be transmitted stream fjThe corresponding mapped physical queue is physicalQueue qm′
Figure BDA00030758835500001611
Is a node viPhysical queue q of output portmThe opening time of the upper transmission gate is,
Figure BDA00030758835500001612
is a node viPhysical queue q of output portm′The opening time of the upper transmission gate is,
Figure BDA00030758835500001613
is a physical queue qm′The open time period of the upper transmission gate,
Figure BDA00030758835500001614
is a physical queue qmThe opening duration of the upper transmission gate is U, and the U is a union operation.
In the embodiment of the present application, in order to avoid interference of data streams to be transmitted in different queues during transmission, a situation that transmission gates on multiple physical queues overlap in a time domain within an opening duration is not allowed in each node, that is, only one transmission gate is opened in each node at a time, and only one data stream to be transmitted is transmitted through the transmission gate, so that stream isolation between multiple data streams to be transmitted in different physical queues is achieved. Therefore, the transmission gates on the plurality of physical queues can be guaranteed not to be overlapped in time domain within the opening duration through the second constraint condition, so that the stream isolation among the plurality of data streams to be transmitted is guaranteed.
In an alternative embodiment, the third constraint condition may be expressed as:
Figure BDA0003075883550000171
wherein stkFor a data stream f to be transmittedkAt the moment when the source node starts transmitting, edkFor a data stream f to be transmittedkAlong the transmission pathkWhile transmittingYan, dlkFor a data stream f to be transmittedkThe deadline of (2).
The data stream f to be transmitted can be made to be transmitted by the limitation of the third constraint conditionkAt the moment when the source node starts to send and the data flow f to be transmittedkAlong the transmission pathkThe sum of the transmission delays during transmission is less than the data stream f to be transmittedkThereby ensuring that the data stream f is to be transmittedkThe transmission can be completed before the corresponding deadline, so that the time delay requirement of each data stream to be transmitted is met, and the effectiveness of the transmitted data stream to be transmitted is ensured.
In the embodiment of the application, for a plurality of data streams to be transmitted stored in the same physical queue, because each data stream to be transmitted has a corresponding time offset parameter, and the time offset parameters corresponding to each data stream to be transmitted are different, the data streams to be transmitted in the same physical queue can be transmitted without affecting each other, that is, the data streams to be transmitted do not interfere with each other, thereby ensuring the stream isolation among the data streams to be transmitted in each physical queue, and reducing the randomness of the transmission delay of the data streams to be transmitted.
In the embodiment of the present application, in each node, when the virtual queue maps each data stream to be transmitted to each physical queue, the data stream to be transmitted is mapped according to the value of the corresponding matrix element in the mapping matrix, so that two data streams to be transmitted cannot be transmitted simultaneously in the same physical link. That is, due to the constraint of the flow isolation of each data flow in the physical queue, the flow isolation of the data flow transmitted in the physical link can be ensured.
In this embodiment of the present application, the mapping information and the GCL are determined according to a minimum maximum transmission delay of a transmission delay function of each to-be-transmitted data under the preset constraint condition.
In an optional embodiment, the traffic scheduling module may determine mapping information and GCL corresponding to a plurality of data streams to be transmitted by using the following formula:
min{sum{edk|fk∈F}}
Figure BDA0003075883550000172
Figure BDA0003075883550000173
Figure BDA0003075883550000174
where min is the minimum operation and sum is the sum operation, { edk|fke.F is the transmission time delay set of the data stream to be transmitted edkFor a data stream fkAlong the transmission pathkThe transmission delay of the transmission, s.t. represents a constraint,
Figure BDA0003075883550000175
for a full term, denoted each, V is the set of all nodes in the TSN, F is the set of all data streams to be transmitted, lkFor a data stream f to be transmittedkThe length of (a) of (b),
Figure BDA0003075883550000176
is a node viPhysical queue q of output portmThe bandwidth of the allocation is determined by the bandwidth allocation,
Figure BDA0003075883550000177
is a node viPhysical queue q of output portmUpper transfer door open window, gciIs a node viCycle period of GCL in (1), fkFor a data stream f to be transmittedk,fjFor a data stream f to be transmittedj
Figure BDA0003075883550000181
Is a node viVirtual queue vq in (1)n
Figure BDA0003075883550000182
Is a node viPhysical queue q in an output portm
Figure BDA0003075883550000183
For storage at node viVirtual queue vq ofnTo be transmitted stream fkThe corresponding mapped physical queue is a physical queue qm
Figure BDA0003075883550000184
Is a node viVirtual queue vq in (1)n′
Figure BDA0003075883550000185
Is a node viIn (2) a physical queue qm′
Figure BDA0003075883550000186
For storage at node viVirtual queue vq ofn′To be transmitted stream fjThe corresponding mapped physical queue is a physical queue qm′
Figure BDA0003075883550000187
Is a node viPhysical queue q of output portmThe opening time of the upper transmission gate is,
Figure BDA0003075883550000188
is a node viPhysical queue q of output portm′The opening time of the upper transmission gate is,
Figure BDA0003075883550000189
is a physical queue qm′The open time period of the upper transmission gate,
Figure BDA00030758835500001810
is a physical queue qmThe opening duration of the upper transmission gate, U is the union operation, stkFor a data stream f to be transmittedkAt the moment when the source node starts to transmit,edkFor a data stream f to be transmittedkAlong the transmission pathkTransmission delay in transmission, dlkFor a data stream f to be transmittedkThe deadline of (2).
In an optional embodiment, for each node in the TSN, when determining the mapping information between the virtual queues and the physical queues included in the mapping information, if the number of the virtual queues in the node is greater than the number of the physical queues, the virtual queues may be used as a cluster, so as to determine the mapping relationship between each cluster and the physical queues, and obtain the mapping relationship between each virtual queue and the physical queues. Because the physical queues corresponding to each virtual queue in the same cluster are the same, in order to ensure the orderliness when mapping data streams to be transmitted in different virtual queues in the same cluster, a merging and sorting algorithm can be used for sorting, that is, specific numerical values corresponding to matrix elements larger than 0 in the mapping matrix are determined.
In an optional embodiment, when the merging and sorting algorithm is used for sorting, sorting may be performed according to the remaining transmission duration of each data stream to be transmitted. For example, the transmission order corresponding to the to-be-transmitted data stream with the smaller remaining transmission duration is earlier, and the numerical value indicating that the to-be-transmitted data stream is mapped to the physical queue order in the mapping information is smaller. The remaining transmission duration may be represented as a time difference between a deadline of the data stream to be transmitted and a current time. Here, the sorting method by the merge sorting algorithm is not particularly limited.
In the above embodiment, only the merging and sorting algorithm is taken as an example to describe the sorting of the data streams to be transmitted in different virtual queues in the same cluster. Other sorting algorithms may be used for sorting. For example, other ranking algorithms include, but are not limited to, bubble ranking algorithms, quick ranking algorithms, insert ranking algorithms, and select ranking algorithms. Here, the sorting algorithm used for sorting the data streams to be transmitted in different virtual queues in the same cluster is not specifically limited.
In an alternative embodiment, when determining the queue resources of the transmission gates on the physical queue of each node, the GCL may be calculated by using an Integer Linear Programming (ILP) solver or a Satisfiability Modeling Theory (SMT) solver. Here, the method of determining the GCL is not particularly limited.
For ease of understanding, the following description is made in conjunction with specific examples. It is assumed that the destination nodes of all data flows are the same. The period of each data stream is 100 microseconds (us) -2 milliseconds (ms), and each data stream to be transmitted needs to be transmitted within the cycle period of a gating list. The total hop count is set to be 7 hops, the propagation delay is 0.5us, and the serialization delay is 1 us. Wherein, each time a data stream passes through a node, the data stream is represented as 1 hop, and the numerical value of the hop number is equal to the number of links included on a transmission path. The link bandwidths (i.e., B) are 1 gigabit per second (Gbps) and 10Gbps, respectively. The length (i.e., L) of the data stream transmitted during the cycle of one gating list is 64 bytes, 256 bytes, 1518 bytes. The probability of 3/4/5/6/7 hops per data flow path is 0.1/0.1/0.1/0.3/0.4, respectively. The period is the same for all data streams. All data streams are transmitted through the TSN, resulting in the schematic diagram shown in fig. 4. Fig. 4 is a schematic diagram of the number of TSN maximum schedulable data streams according to the embodiment of the present application.
In fig. 4, the curve 401 corresponds to 64 bytes, B10 Gbps, the curve 402 corresponds to 256 bytes, B10 Gbps, the curve 403 corresponds to 64 bytes, B1 Gbps, the curve 404 corresponds to 1518 bytes, B10 Gbps, the curve 405 corresponds to 256 bytes, B1 Gbps, the curve 406 corresponds to 1518 bytes, and B1 Gbps.
In the curve 401-406 shown in fig. 4, the number of data streams schedulable by the TSN increases approximately linearly with the deadline of the data stream.
Comparing the curves 401, 402 and 404 shown in fig. 4, or comparing the curves 403, 405 and 406 shown in fig. 4, the number of data streams schedulable by the TSN will decrease with the increase of the length of the data stream under the same link bandwidth.
For example, in fig. 4, when the data stream is 256 bytes and 1518 bytes in length, the number of TSN schedulable data streams is about 1/2 and 1/23 of the number of TSN schedulable data streams when the length is 64 bytes.
As another example, when the data stream has a deadline of 2ms (i.e., 2000us) and a link bandwidth of 1Gbps, if the data stream has a length of 64 bytes (i.e., curve 403), 256 bytes (i.e., curve 405), and 1518 bytes (i.e., curve 405), the number of TSN maximum schedulable data streams is 3911, 978, and 168, respectively.
In addition, the number of data streams that can be scheduled by the TSN is related to the link bandwidth at different link bandwidths. For example, in fig. 4, at a link bandwidth of 10Gbps, the number of TSN schedulable data streams is about 10 times the number of TSN schedulable data streams at a link bandwidth of 1Gbps, i.e., the ratio of the link bandwidths.
For example, curve 401 and curve 403 in fig. 4 are data streams of the same length (i.e., 64 bytes), respectively, and the number of data streams schedulable by TSN at link bandwidths of 10Gbps and 1Gbps varies accordingly. In the curves 401 and 403, the number of TSN adjustable data streams shown in the curve 401 is about 10 times the number of TSN adjustable data streams shown in the curve 403 at the same final limit.
This shows that, when the traffic transmission method provided in the embodiment of the present application is used, the queuing delay of a data stream is mainly affected by the transmission delay of other data streams.
When the length of the data stream is 1518 bytes and the deadline requirement is less than 500us, the number of data streams that can be dispatched by the TSN is relatively more distant. For example, a 1518 byte data stream may be scheduled at a bandwidth of 10Gbps (i.e., curve 404) for a TSN of 87 for a 100us deadline, and at a bandwidth of 1Gbps (i.e., curve 406) for a TSN of 4. This is because the length of the data stream is 1518 bytes, the delay introduced by 5-hop, 6-hop and 7-hop paths, except the queuing delay, already exceeds 100us, only the data streams with 3-hop and 4-hop paths can be scheduled, and the delay introduced by the 3-hop path, except the queuing delay, also exceeds 50us, so the number of data streams schedulable by the TSN is relatively small.
In fig. 4, as the number of data streams increases, although the data streaming method for the time-sensitive network provided by the embodiment of the present application increases the number of data streams that can be scheduled by the TSN, the limitation of physical resources is the most critical limiting factor, and the link bandwidth becomes the critical physical resource in the data streaming method for the time-sensitive network provided by the embodiment of the present application, especially for the data streams with larger lengths.
As shown in fig. 5, fig. 5 is a schematic diagram of a cumulative distribution of propagation delays according to an embodiment of the present application. Where, N is 100, B is 10Gbps, N is 200, B is 10Gbps, N is 100, B is 1Gbps, N is 200, and B is 1Gbps, respectively, for the curve 501 and the curve 504, respectively. Where N represents the number of data streams.
In the curves 501-504 shown in fig. 5, when N is 100 or N is 200, the transmission delay of all data streams is less than 100 us. When N is 100 and B is 1Gbps (i.e., curve 503), the maximum transmission delay of the data stream is about 48us, the average transmission delay is about 33us, and the transmission delay of 50% of the data streams is less than 35 us. When N is 200 and B is 1Gbps (i.e., curve 504), the maximum transmission delay of the data stream is about 100us, the average transmission delay is about 57us, the transmission delay of 50% of the data streams is less than 58us, and the minimum transmission delay is about 7 us. The mean transmission delay is similar to the median, and the curve of the Cumulative Distribution Function (CDF) is approximately linear, which indicates that the transmission delay Distribution is relatively uniform, and also indicates that the time offset parameters between two adjacent data streams are approximately equal (mainly because the transmission delays are equal due to the equal lengths of all the data streams). The CDF curve exhibits the same characteristics when B is 10Gbps (i.e., curve 501 and curve 502).
In fig. 5, when N is 100, if B is 10Gbps (i.e., curve 501), the maximum transmission delay of the data stream is about 12us, which is 1/4 of B is 1Gbps (i.e., curve 503). When N is 200, if B is 10Gbps (i.e., curve 502), the maximum transmission delay of the data stream is about 15us, which is about 1/6 when B is 1Gbps (i.e., curve 504). The minimum transit delays for curves 501 and 502 are each about 3us, and curves 503 and 504 are 1/2 of the minimum transit delay.
With the CDF curve shown in fig. 5, as the number of data streams increases, the ratio of the queuing delay of the data streams to the transmission delay of the data streams increases significantly compared to other delays.
Based on the same inventive concept, according to the data stream transmission method of the time-sensitive network provided by the embodiment of the present application, the embodiment of the present application further provides a data stream transmission device of the time-sensitive network. As shown in fig. 6, fig. 6 is a schematic structural diagram of a data stream transmission apparatus of a time-sensitive network according to an embodiment of the present application. The device is applied to a target node in a TSN (traffic service network), a plurality of virtual queues are preset in the target node, and the device comprises:
an obtaining module 601, configured to obtain mapping information and GCL corresponding to multiple data streams to be transmitted; the mapping information and the GCL are determined according to the transmission delay function of each to-be-transmitted data stream under the condition of the minimum transmission delay under the preset constraint condition, the transmission delay function of each to-be-transmitted data stream is constructed according to the quintuple information of each to-be-transmitted data stream and the path information in the TSN, and the preset constraint condition is determined according to the queue resource in each node in the TSN, the time when each to-be-transmitted data stream is transmitted to the next node and the deadline in the quintuple information of each to-be-transmitted data stream;
a first storage module 602, configured to store at least one to-be-transmitted data stream into a plurality of virtual queues when at least one to-be-transmitted data stream in a plurality of to-be-transmitted data streams is received;
a second storage module 603, configured to map and store data streams to be transmitted stored in the multiple virtual queues to the physical queues based on a mapping relationship between the virtual queues and the physical queues included in the mapping information;
the transmission module 604 is configured to transmit, for a transmission gate on each physical queue, a data stream to be transmitted stored in the physical queue after the transmission gate on the physical queue is opened based on the open time specified by the GCL.
Optionally, the transmission delay function of each to-be-transmitted data stream is represented as:
Figure BDA0003075883550000211
wherein edkFor a data stream f to be transmittedkAlong the transmission pathkTransmission delay of transmission, vi-1Path for transmission pathkNode v ofi-1,viPath for transmission pathkNode v ofi,[vi-1,vi]Representing a slave node vi-1Transmission to node vi
Figure BDA0003075883550000212
For a data stream f to be transmittedkSlave node vi-1Transmission to node viPropagation delay of time, denoted as data stream f to be transmittedkAt node vi-1To node viThe time delay experienced by propagation on the physical link between,
Figure BDA0003075883550000213
for a data stream f to be transmittedkAt the source node srckThe serialization delay of (a) is delayed,
Figure BDA0003075883550000214
for a data stream f to be transmittedkAt the destination node dstkOf (a) is a serialized time delay of V'kPath for transmission pathkAll of the nodes in the network are connected,
Figure BDA0003075883550000215
for a data stream f to be transmittedkNode viThe time delay of the serialization of (a) and (b),
Figure BDA0003075883550000216
is a node viData flow f to be transmittedkIs represented as a data stream f to be transmittedkAt node viThe forwarding delay experienced by the TSN is taken into account,
Figure BDA0003075883550000217
for a data stream f to be transmittedkAt node viThe queuing delay of (1) is expressed as a data stream f to be transmittedkAt node viWaiting for a queuing delay when transmitting to a next node;
the queuing delay
Figure BDA0003075883550000218
Expressed as:
Figure BDA0003075883550000219
wherein the content of the first and second substances,
Figure BDA00030758835500002110
is a node viPhysical queue q of output portmThe opening time of the upper transmission gate is,
Figure BDA00030758835500002111
for a data stream f to be transmittedkTransmission to node viPhysical queue q of output portmThe time of the corresponding time is the corresponding time,
Figure BDA00030758835500002112
for a data stream f to be transmittedkAt node viThe time offset parameter of (a) to (b),
Figure BDA00030758835500002113
for a data stream f to be transmittedrAt node viWith a serialization delay of (k-1) the data stream to be transmitted fkPhysical queue q of the placemArranged in a data stream f to be transmittedkNumber of preceding data streams to be transmitted, Wi(k, m) is node viAnd mapping information between the medium virtual queue k and the physical queue m, wherein k is the virtual queue serial number, and m is the physical queue serial number.
Optionally, the preset constraint condition includes a first constraint condition, a second constraint condition, and a third constraint condition;
the first constraint condition is expressed as:
Figure BDA00030758835500002114
wherein the content of the first and second substances,
Figure BDA00030758835500002115
for a full term, denoted each, V is the set of all nodes in the TSN, F is the set of all data streams to be transmitted, lkFor a data stream f to be transmittedkThe length of (a) of (b),
Figure BDA0003075883550000221
is a node viPhysical queue q of output portmThe bandwidth of the allocation is determined by the bandwidth allocation,
Figure BDA0003075883550000222
is a node viPhysical queue q of output portmUpper transfer door open window, gciIs a node viCycle period of the GCL in (1).
The second constraint is expressed as:
Figure BDA0003075883550000224
wherein f iskFor a data stream f to be transmittedk,fjFor a data stream f to be transmittedj
Figure BDA0003075883550000225
Is a node viVirtual queue vq in (1)n
Figure BDA0003075883550000226
Is a node viPhysical queue q in an output portm
Figure BDA0003075883550000227
For storage at node viVirtual team ofColumn vqnTo be transmitted stream fkThe corresponding mapped physical queue is a physical queue qm
Figure BDA0003075883550000228
Is a node viVirtual queue vq in (1)n′
Figure BDA0003075883550000229
Is a node viIn (2) a physical queue qm′
Figure BDA00030758835500002210
For storage at node viVirtual queue vq ofn′To be transmitted stream fjThe corresponding mapped physical queue is a physical queue qm′
Figure BDA00030758835500002211
Is a node viPhysical queue q of output portmThe opening time of the upper transmission gate is,
Figure BDA00030758835500002212
is a node viPhysical queue q of output portm′The opening time of the upper transmission gate is,
Figure BDA00030758835500002213
is a physical queue qm′The open time period of the upper transmission gate,
Figure BDA00030758835500002214
is a physical queue qmThe opening duration of the upper transmission gate is U, and the U is a union operation.
The third constraint is expressed as:
Figure BDA00030758835500002215
wherein stkFor a data stream f to be transmittedkAt the moment when the source node starts transmitting, edkFor a data stream f to be transmittedkAlong the transmission pathkTransmission delay in transmission, dlkFor a data stream f to be transmittedkThe deadline of (2).
Optionally, the mapping information and the GCL are calculated by using the following formula:
min{sum{edk|fk∈F}}
Figure BDA00030758835500002216
Figure BDA00030758835500002217
Figure BDA00030758835500002218
where min is the minimum operation and sum is the sum operation, { edk|fke.F is the transmission time delay set of the data stream to be transmitted edkFor a data stream fkAlong the transmission pathkThe transmission delay of the transmission, s.t. represents a constraint,
Figure BDA00030758835500002219
for a full term, denoted each, V is the set of all nodes in the TSN, F is the set of all data streams to be transmitted, lkFor a data stream f to be transmittedkThe length of (a) of (b),
Figure BDA00030758835500002220
is a node viPhysical queue q of output portmThe bandwidth of the allocation is determined by the bandwidth allocation,
Figure BDA00030758835500002221
is a node viPhysical queue q of output portmUpper transfer door open window, gciIs a node viCycle period of GCL in (1), fkFor data to be transmittedFlow fk,fjFor a data stream f to be transmittedj
Figure BDA00030758835500002223
Is a node viVirtual queue vq in (1)n
Figure BDA00030758835500002224
Is a node viPhysical queue q in an output portm
Figure BDA0003075883550000231
For storage at node viVirtual queue vq ofnTo be transmitted stream fkThe corresponding mapped physical queue is a physical queue qm
Figure BDA0003075883550000232
Is a node viVirtual queue vq in (1)n′
Figure BDA0003075883550000233
Is a node viIn (2) a physical queue qm′
Figure BDA0003075883550000234
For storage at node viVirtual queue vq ofn′To be transmitted stream fjThe corresponding mapped physical queue is a physical queue qm′
Figure BDA0003075883550000235
Is a node viPhysical queue q of output portmThe opening time of the upper transmission gate is,
Figure BDA0003075883550000236
is a node viPhysical queue q of output portm′The opening time of the upper transmission gate is,
Figure BDA0003075883550000237
is a physical queue qm′Upload toThe length of time that the gate is opened,
Figure BDA0003075883550000238
is a physical queue qmThe opening duration of the upper transmission gate, U is the union operation, stkFor a data stream f to be transmittedkAt the moment when the source node starts transmitting, edkFor a data stream f to be transmittedkAlong the transmission pathkTransmission delay in transmission, dlkFor a data stream f to be transmittedkThe deadline of (2).
Optionally, the mapping information further includes a numerical value indicating an order in which each data stream to be transmitted is mapped to the physical queue;
the second storage module 603 may be specifically configured to map and store each to-be-transmitted data stored in the plurality of virtual queues to the physical queue based on a mapping relationship between the virtual queue and the physical queue included in the mapping information and a numerical value indicating an order in which each to-be-transmitted data stream is mapped to the physical queue.
By applying the device provided by the embodiment of the application, a plurality of virtual queues are preset in each node in the TSN, so that when any node receives at least one data stream to be transmitted, the data stream to be transmitted stored in the virtual queue can be mapped and stored to the physical queue according to the obtained mapping information, and then the data stream to be transmitted in the physical queue is transmitted by opening the transmission gate on the physical queue according to the obtained GCL specified open time. Compared with the related technology, the data to be transmitted is mapped and stored from the virtual queue to the physical queue through the mapping information, and the GCL controls the opening of the transmission gate on the physical queue, so that the stream isolation of a plurality of data streams to be transmitted can be effectively realized, and the mutual interference among the data streams to be transmitted is avoided. In addition, the mapping information and the GCL are determined according to the minimum transmission delay and the minimum transmission delay of the transmission delay function of each to-be-transmitted data under the preset constraint condition, and are constrained by the preset constraint condition, that is, the bandwidth resource of the physical queue of each node, the time when each to-be-transmitted data stream is transmitted to the next node, and the constraint condition corresponding to the deadline in the quintuple information of each to-be-transmitted data stream, so that the determined mapping information and the GCL ensure the transmission time of each to-be-transmitted data stream on the premise of meeting the deadline of each to-be-transmitted data, that is, the maximization of the number of the data streams transmitted by each node on the premise of ensuring the minimum transmission delay and the minimum transmission delay. Therefore, by adopting the technical scheme provided by the application, under the condition of physical resource limitation, the isolation among a plurality of data streams is realized through the configuration of virtual resources in the virtual queue, the mutual interference among the data streams is avoided, the time delay requirement of data stream transmission is ensured, and the number of data streams schedulable by the TSN is increased.
Based on the same inventive concept, according to the data stream transmission method of the time-sensitive network provided by the embodiment of the present application, the embodiment of the present application further provides a TSN node, as shown in fig. 7, including a processor 701, a communication interface 702, a memory 703 and a communication bus 704, where the processor 701, the communication interface 702 and the memory 703 complete mutual communication through the communication bus 704,
a memory 703 for storing a computer program;
the processor 701 is configured to implement the following steps when executing the program stored in the memory 703:
acquiring mapping information and GCL corresponding to a plurality of data streams to be transmitted; the mapping information and the GCL are determined according to the transmission delay function of each to-be-transmitted data stream under the condition of the minimum transmission delay under the preset constraint condition, the transmission delay function of each to-be-transmitted data stream is constructed according to the quintuple information of each to-be-transmitted data stream and the path information in the TSN, and the preset constraint condition is determined according to the queue resource in each node in the TSN, the time when each to-be-transmitted data stream is transmitted to the next node and the deadline in the quintuple information of each to-be-transmitted data stream;
when at least one data stream to be transmitted in a plurality of data streams to be transmitted is received, storing the at least one data stream to be transmitted into a plurality of virtual queues;
based on the mapping relation between the virtual queues and the physical queues included in the mapping information, mapping and storing the data streams to be transmitted stored in the virtual queues to the physical queues;
and aiming at the transmission gate on each physical queue, after the transmission gate on the physical queue is opened based on the opening time specified by the GCL, transmitting the data stream to be transmitted stored in the physical queue.
The node provided by the embodiment of the application is characterized in that a plurality of virtual queues are preset in each node in the TSN, so that when any node receives at least one data stream to be transmitted, the data stream to be transmitted stored in the virtual queue can be mapped and stored to the physical queue according to the obtained mapping information, and then the data stream to be transmitted in the transmission gate transmission physical queue on the physical queue is opened according to the obtained GCL specified open time. Compared with the related technology, the data to be transmitted is mapped and stored from the virtual queue to the physical queue through the mapping information, and the GCL controls the opening of the transmission gate on the physical queue, so that the stream isolation of a plurality of data streams to be transmitted can be effectively realized, and the mutual interference among the data streams to be transmitted is avoided. In addition, the mapping information and the GCL are determined according to the minimum transmission delay and the minimum transmission delay of the transmission delay function of each to-be-transmitted data under the preset constraint condition, and are constrained by the preset constraint condition, that is, the bandwidth resource of the physical queue of each node, the time when each to-be-transmitted data stream is transmitted to the next node, and the constraint condition corresponding to the deadline in the quintuple information of each to-be-transmitted data stream, so that the determined mapping information and the GCL ensure the transmission time of each to-be-transmitted data stream on the premise of meeting the deadline of each to-be-transmitted data, that is, the maximization of the number of the data streams transmitted by each node on the premise of ensuring the minimum transmission delay and the minimum transmission delay. Therefore, by adopting the technical scheme provided by the application, under the condition of physical resource limitation, the isolation among a plurality of data streams is realized through the configuration of virtual resources in the virtual queue, the mutual interference among the data streams is avoided, the time delay requirement of data stream transmission is ensured, and the number of data streams schedulable by the TSN is increased.
The communication bus mentioned in the TSN node may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The communication bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown, but this does not mean that there is only one bus or one type of bus.
The communication interface is used for communication between the TSN node and other devices.
The Memory may include a Random Access Memory (RAM) or a Non-Volatile Memory (NVM), such as at least one disk Memory. Optionally, the memory may also be at least one memory device located remotely from the processor.
The Processor may be a general-purpose Processor, including a Central Processing Unit (CPU), a Network Processor (NP), and the like; but also Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components.
Based on the same inventive concept, according to the data stream transmission method of the time-sensitive network provided by the embodiment of the present application, the embodiment of the present application further provides a computer-readable storage medium, in which a computer program is stored, and the computer program, when executed by a processor, implements the steps of the data stream transmission method of any one of the time-sensitive networks.
Based on the same inventive concept, according to the data streaming method of the time-sensitive network provided in the embodiments of the present application, the embodiments of the present application also provide a computer program product containing instructions, which when run on a computer, causes the computer to execute the data streaming method of any one of the time-sensitive networks in the embodiments.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the application to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, from one website site, computer, server, or data center to another website site, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that incorporates one or more of the available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. The term "comprising", without further limitation, means that the element so defined is not excluded from the group consisting of additional identical elements in the process, method, article, or apparatus that comprises the element.
All the embodiments in the present specification are described in a related manner, and the same and similar parts among the embodiments may be referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for embodiments of the apparatus, TSN node, computer-readable storage medium, computer program product, and the like, since they are substantially similar to the method embodiments, the description is relatively simple, and for relevant points, reference may be made to some descriptions of the method embodiments.
The above description is only for the preferred embodiment of the present application and is not intended to limit the scope of the present application. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application are included in the protection scope of the present application.

Claims (10)

1. A data stream transmission method of a time sensitive network is applied to a target node in a Time Sensitive Network (TSN), wherein a plurality of virtual queues are preset in the target node, and the method comprises the following steps:
acquiring mapping information and a gating list GCL corresponding to a plurality of data streams to be transmitted; the mapping information and the GCL are determined according to the transmission delay function of each to-be-transmitted data stream under the condition of minimizing transmission delay under the preset constraint condition, the transmission delay function of each to-be-transmitted data stream is constructed according to quintuple information of each to-be-transmitted data stream and path information in the TSN, and the preset constraint condition is determined according to queue resources in each node in the TSN, the time when each to-be-transmitted data stream is transmitted to the next node and the deadline in the quintuple information of each to-be-transmitted data stream;
when at least one data stream to be transmitted in the plurality of data streams to be transmitted is received, storing the at least one data stream to be transmitted into the plurality of virtual queues;
based on the mapping relation between the virtual queues and the physical queues included in the mapping information, mapping and storing the data streams to be transmitted stored in the virtual queues to the physical queues;
and aiming at the transmission gate on each physical queue, after the transmission gate on the physical queue is opened based on the opening time specified by the GCL, transmitting the data stream to be transmitted stored in the physical queue.
2. The method of claim 1, wherein the transmission delay function of each data stream to be transmitted is represented as:
Figure FDA0003075883540000011
wherein edkFor a data stream f to be transmittedkAlong the transmission pathkTransmission delay of transmission, vi-1Path for transmission pathkNode v ofi-1,viPath for transmission pathkNode v ofi,[vi-1,vi]Representing a slave node vi-1Transmission to node vi
Figure FDA0003075883540000012
For a data stream f to be transmittedkSlave node vi-1Transmission to node viPropagation delay of time, denoted as data stream f to be transmittedkAt node vi-1To node viThe time delay experienced by propagation on the physical link between,
Figure FDA0003075883540000013
for a data stream f to be transmittedkAt the source node srckThe serialization delay of (a) is delayed,
Figure FDA0003075883540000014
for a data stream f to be transmittedkAt the destination node dstkOf (a) is a serialized time delay of V'kPath for transmission pathkAll of the nodes in the network are connected,
Figure FDA0003075883540000015
for a data stream f to be transmittedkNode viThe time delay of the serialization of (a) and (b),
Figure FDA0003075883540000016
is a node viData flow f to be transmittedkIs represented as a data stream f to be transmittedkAt node viThe forwarding delay experienced by the TSN is taken into account,
Figure FDA0003075883540000017
for a data stream f to be transmittedkAt node viThe queuing delay of (1) is expressed as a data stream f to be transmittedkAt node viWaiting for a queuing delay when transmitting to a next node;
said queuing delay
Figure FDA0003075883540000018
Expressed as:
Figure FDA0003075883540000019
wherein the content of the first and second substances,
Figure FDA00030758835400000110
is a node viPhysical queue q of output portmThe opening time of the upper transmission gate is,
Figure FDA00030758835400000111
for a data stream f to be transmittedkTransmission to node viPhysical queue q of output portmThe time of the corresponding time is the corresponding time,
Figure FDA00030758835400000112
for a data stream f to be transmittedkAt node viThe time offset parameter of (a) to (b),
Figure FDA0003075883540000021
for a data stream f to be transmittedrAt node viWith a serialization delay of (k-1) the data stream to be transmitted fkPhysical queue q of the placemArranged in a data stream f to be transmittedkNumber of preceding data streams to be transmitted, Wi(k, m) is node viAnd mapping information between the medium virtual queue k and the physical queue m, wherein k is the virtual queue serial number, and m is the physical queue serial number.
3. The method of claim 1, wherein the preset constraints comprise a first constraint, a second constraint, and a third constraint;
the first constraint is expressed as:
Figure FDA0003075883540000022
wherein the content of the first and second substances,
Figure FDA0003075883540000023
for a full term, denoted each, V is the set of all nodes in the TSN, F is the set of all data streams to be transmitted, lkFor a data stream f to be transmittedkThe length of (a) of (b),
Figure FDA0003075883540000024
is a node viPhysical queue q of output portmThe bandwidth of the communication channel is controlled,
Figure FDA0003075883540000025
is a node viPhysical queue q of output portmUpper transfer door open window, gciIs a node vi(ii) a cycle period of the GCL of (1);
the second constraint is expressed as:
Figure FDA0003075883540000026
wherein f iskFor a data stream f to be transmittedk,fjFor a data stream f to be transmittedj
Figure FDA0003075883540000027
Is a node viVirtual queue vq in (1)n
Figure FDA0003075883540000028
Is a node viPhysical queue q in an output portm
Figure FDA0003075883540000029
For storage at node viVirtual queue vq ofnTo be transmitted stream fkThe corresponding mapped physical queue is a physical queue qm
Figure FDA00030758835400000210
Is a node viVirtual queue vq in (1)n′
Figure FDA00030758835400000211
Is a node viIn (2) a physical queue qm′
Figure FDA00030758835400000212
For storage at node viVirtual queue vq ofn′To be transmitted stream fjThe corresponding mapped physical queue is a physical queue qm′
Figure FDA00030758835400000213
Is a node viPhysical queue q of output portmThe opening time of the upper transmission gate is,
Figure FDA00030758835400000214
is a section ofPoint viPhysical queue q of output portm′The opening time of the upper transmission gate is,
Figure FDA00030758835400000215
is a physical queue qm′The open time period of the upper transmission gate,
Figure FDA00030758835400000216
is a physical queue qmThe opening duration of the upper transmission gate is the union operation;
the third constraint is expressed as:
Figure FDA00030758835400000217
wherein stkFor a data stream f to be transmittedkAt the moment when the source node starts transmitting, edkFor a data stream f to be transmittedkAlong the transmission pathkTransmission delay in transmission, dlkFor a data stream f to be transmittedkThe deadline of (2).
4. The method according to claim 2 or 3, wherein the mapping information and the GCL are calculated using the following formulas:
min{sum{edk|fk∈F}}
Figure FDA00030758835400000218
Figure FDA0003075883540000031
Figure FDA0003075883540000032
whereinMin is the minimum operation, sum is the sum operation, { edk|fke.F is the transmission time delay set of the data stream to be transmitted edkFor a data stream fkAlong the transmission pathkThe transmission delay of the transmission, s.t. represents a constraint,
Figure FDA0003075883540000033
for a full term, denoted each, V is the set of all nodes in the TSN, F is the set of all data streams to be transmitted, lkFor a data stream f to be transmittedkThe length of (a) of (b),
Figure FDA0003075883540000034
is a node viPhysical queue q of output portmThe bandwidth of the allocation is determined by the bandwidth allocation,
Figure FDA0003075883540000035
is a node viPhysical queue q of output portmUpper transfer door open window, gciIs a node viCycle period of GCL in (1), fkFor a data stream f to be transmittedk,fjFor a data stream f to be transmittedj
Figure FDA0003075883540000036
Is a node viVirtual queue vq in (1)n
Figure FDA0003075883540000037
Is a node viPhysical queue q in an output portm
Figure FDA0003075883540000038
For storage at node viVirtual queue vq ofnTo be transmitted stream fkThe corresponding mapped physical queue is a physical queue qm
Figure FDA0003075883540000039
Is a section ofPoint viVirtual queue vq in (1)n′
Figure FDA00030758835400000310
Is a node viIn (2) a physical queue qm′
Figure FDA00030758835400000311
For storage at node viVirtual queue vq ofn′To be transmitted stream fjThe corresponding mapped physical queue is a physical queue qm′
Figure FDA00030758835400000312
Is a node viPhysical queue q of output portmThe opening time of the upper transmission gate is,
Figure FDA00030758835400000313
is a node viPhysical queue q of output portm′The opening time of the upper transmission gate is,
Figure FDA00030758835400000314
is a physical queue qm′The open time period of the upper transmission gate,
Figure FDA00030758835400000315
is a physical queue qmThe opening duration of the upper transfer gate, U, is a union operation, stkFor a data stream f to be transmittedkAt the moment when the source node starts transmitting, edkFor a data stream f to be transmittedkAlong the transmission pathkTransmission delay in transmission, dlkFor a data stream f to be transmittedkThe deadline of (2).
5. The method of claim 1, wherein the mapping information further comprises a numerical value indicating an order in which each data stream to be transmitted is mapped to the physical queue;
the step of mapping and storing the data streams to be transmitted stored in the plurality of virtual queues to the physical queues based on the mapping relationship between the virtual queues and the physical queues included in the mapping information includes:
and based on the mapping relation between the virtual queues and the physical queues included in the mapping information and a numerical value indicating the sequence of mapping each data stream to be transmitted to the physical queues, mapping and storing each data stream to be transmitted stored in the plurality of virtual queues to the physical queues.
6. A data stream transmission device of a time sensitive network is applied to a target node in a Time Sensitive Network (TSN), wherein a plurality of virtual queues are preset in the target node, and the device comprises:
the device comprises an acquisition module, a transmission module and a control module, wherein the acquisition module is used for acquiring mapping information and a gating list GCL corresponding to a plurality of data streams to be transmitted; the mapping information and the GCL are determined according to the minimum transmission delay and the minimum transmission delay of the transmission delay function of each to-be-transmitted data stream under a preset constraint condition, the transmission delay function of each to-be-transmitted data stream is constructed according to quintuple information of each to-be-transmitted data stream and path information in the TSN, and the preset constraint condition is determined based on queue resources in each node in the TSN, the time when each to-be-transmitted data stream is transmitted to the next node and the deadline in the quintuple information of each to-be-transmitted data stream;
the first storage module is used for storing at least one data stream to be transmitted into the plurality of virtual queues when the at least one data stream to be transmitted in the plurality of data streams to be transmitted is received;
a second storage module, configured to map and store data streams to be transmitted stored in the plurality of virtual queues to a physical queue based on a mapping relationship between the virtual queue and the physical queue included in the mapping information;
and the transmission module is used for transmitting the data stream to be transmitted stored in the physical queue after the transmission gate on the physical queue is opened based on the opening time specified by the GCL aiming at the transmission gate on each physical queue.
7. The apparatus of claim 6, wherein the transmission delay function of each data stream to be transmitted is represented as:
Figure FDA0003075883540000041
wherein edkFor a data stream f to be transmittedkAlong the transmission pathkTransmission delay of transmission, vi-1Path for transmission pathkNode v ofi-1,viPath for transmission pathkNode v ofi,[vi-1,vi]Representing a slave node vi-1Transmission to node vi
Figure FDA0003075883540000042
For a data stream f to be transmittedkSlave node vi-1Transmission to node viPropagation delay of time, denoted as data stream f to be transmittedkAt node vi-1To node viThe time delay experienced by propagation on the physical link between,
Figure FDA0003075883540000043
for a data stream f to be transmittedkAt the source node srckThe serialization delay of (a) is delayed,
Figure FDA0003075883540000044
for a data stream f to be transmittedkAt the destination node dstkOf (a) is a serialized time delay of V'kPath for transmission pathkAll of the nodes in the network are connected,
Figure FDA0003075883540000045
for a data stream f to be transmittedkNode viThe time delay of the serialization of (a) and (b),
Figure FDA0003075883540000046
is a node viData flow f to be transmittedkIs represented as a data stream f to be transmittedkAt node viThe forwarding delay experienced by the TSN is taken into account,
Figure FDA0003075883540000047
for a data stream f to be transmittedkAt node viThe queuing delay of (1) is expressed as a data stream f to be transmittedkAt node voWaiting for a queuing delay when transmitting to a next node;
said queuing delay
Figure FDA0003075883540000048
Expressed as:
Figure FDA0003075883540000049
wherein the content of the first and second substances,
Figure FDA00030758835400000410
is a node viPhysical queue q of output portmThe opening time of the upper transmission gate is,
Figure FDA00030758835400000411
for a data stream f to be transmittedkTransmission to node viPhysical queue q of output portmThe time of the corresponding time is the corresponding time,
Figure FDA00030758835400000412
for a data stream f to be transmittedkAt node viThe time offset parameter of (a) to (b),
Figure FDA00030758835400000413
for a data stream f to be transmittedrAt node viWith a serialization delay of (k-1) the data stream to be transmitted fkPhysical queue q of the placemArranged in a data stream f to be transmittedkNumber of preceding data streams to be transmitted, Wi(k, m) is node viAnd mapping information between the medium virtual queue k and the physical queue m, wherein k is the virtual queue serial number, and m is the physical queue serial number.
8. The apparatus of claim 6, wherein the preset constraints comprise a first constraint, a second constraint, and a third constraint;
the first constraint is expressed as:
Figure FDA0003075883540000051
wherein the content of the first and second substances,
Figure FDA0003075883540000052
for a full term, denoted each, V is the set of all nodes in the TSN, F is the set of all data streams to be transmitted, lkFor a data stream f to be transmittedkThe length of (a) of (b),
Figure FDA0003075883540000053
is a node viPhysical queue q of output portmThe bandwidth of the allocation is determined by the bandwidth allocation,
Figure FDA0003075883540000054
is a node viPhysical queue q of output portmUpper transfer door open window, gciIs a node vi(ii) a cycle period of the GCL of (1);
the second constraint is expressed as:
Figure FDA0003075883540000055
wherein f iskFor a data stream f to be transmittedk,fjFor a data stream f to be transmittedj
Figure FDA0003075883540000056
Is a node viVirtual queue vq in (1)n
Figure FDA0003075883540000057
Is a node viPhysical queue q in an output portm
Figure FDA0003075883540000058
For storage at node viVirtual queue vq ofnTo be transmitted stream fkThe corresponding mapped physical queue is a physical queue qm
Figure FDA0003075883540000059
Is a node viVirtual queue vq in (1)n′
Figure FDA00030758835400000510
Is a node viIn (2) a physical queue qm′
Figure FDA00030758835400000511
For storage at node viVirtual queue vq ofn′To be transmitted stream fjThe corresponding mapped physical queue is a physical queue qm′
Figure FDA00030758835400000512
Is a node viPhysical queue q of output portmThe opening time of the upper transmission gate is,
Figure FDA00030758835400000513
is a node viPhysical queue q of output portm′The opening time of the upper transmission gate is,
Figure FDA00030758835400000514
is a physical queue qm′The open time period of the upper transmission gate,
Figure FDA00030758835400000515
is a physical queue qmThe opening duration of the upper transmission gate is the union operation;
the third constraint is expressed as:
Figure FDA00030758835400000516
wherein stkFor a data stream f to be transmittedkAt the moment when the source node starts transmitting, edkFor a data stream f to be transmittedkAlong the transmission pathkTransmission delay in transmission, dlkFor a data stream f to be transmittedkThe deadline of (2).
9. The apparatus according to claim 7 or 8, wherein the mapping information and the GCL are calculated by using the following formula:
min{sum{edk|fk∈F}}
Figure FDA00030758835400000517
Figure FDA00030758835400000518
Figure FDA00030758835400000519
where min is the minimum operation and sum is the sum operation, { edk|fke.F is the transmission time delay set of the data stream to be transmitted edkFor a data stream fkAlong the transmission pathkTransmission delay of transmission, s.t. denotesThe constraint condition is that,
Figure FDA0003075883540000061
for a full term, denoted each, V is the set of all nodes in the TSN, F is the set of all data streams to be transmitted, lkFor a data stream f to be transmittedkThe length of (a) of (b),
Figure FDA0003075883540000062
is a node viPhysical queue q of output portmThe bandwidth of the allocation is determined by the bandwidth allocation,
Figure FDA0003075883540000063
is a node viPhysical queue q of output portmUpper transfer door open window, gciIs a node viCycle period of GCL in (1), fkFor a data stream f to be transmittedk,fjFor a data stream f to be transmittedj
Figure FDA0003075883540000064
Is a node viVirtual queue vq in (1)n
Figure FDA0003075883540000065
Is a node viPhysical queue q in an output portm
Figure FDA0003075883540000066
For storage at node viVirtual queue vq ofnTo be transmitted stream fkThe corresponding mapped physical queue is a physical queue qm
Figure FDA0003075883540000067
Is a node viVirtual queue vq in (1)n′
Figure FDA0003075883540000068
Is a node viInQueue qm′
Figure FDA0003075883540000069
For storage at node viVirtual queue vq ofn′To be transmitted stream fjThe corresponding mapped physical queue is a physical queue qm′
Figure FDA00030758835400000610
Is a node viPhysical queue q of output portmThe opening time of the upper transmission gate is,
Figure FDA00030758835400000611
is a node viPhysical queue q of output portm′The opening time of the upper transmission gate is,
Figure FDA00030758835400000612
is a physical queue qm′The open time period of the upper transmission gate,
Figure FDA00030758835400000613
is a physical queue qmThe opening duration of the upper transfer gate, U, is a union operation, stkFor a data stream f to be transmittedkAt the moment when the source node starts transmitting, edkFor a data stream f to be transmittedkAlong the transmission pathkTransmission delay in transmission, dlkFor a data stream f to be transmittedkThe deadline of (2).
10. The apparatus of claim 6, wherein the mapping information further comprises a numerical value indicating an order in which each data stream to be transmitted is mapped to the physical queue;
the second storage module is specifically configured to map and store each to-be-transmitted data stored in the plurality of virtual queues to the physical queue based on a mapping relationship between the virtual queue and the physical queue included in the mapping information and a numerical value indicating a sequence in which each to-be-transmitted data stream is mapped to the physical queue.
CN202110552876.7A 2021-05-20 2021-05-20 Data stream transmission method and device of time-sensitive network Active CN113271264B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110552876.7A CN113271264B (en) 2021-05-20 2021-05-20 Data stream transmission method and device of time-sensitive network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110552876.7A CN113271264B (en) 2021-05-20 2021-05-20 Data stream transmission method and device of time-sensitive network

Publications (2)

Publication Number Publication Date
CN113271264A true CN113271264A (en) 2021-08-17
CN113271264B CN113271264B (en) 2022-06-21

Family

ID=77232168

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110552876.7A Active CN113271264B (en) 2021-05-20 2021-05-20 Data stream transmission method and device of time-sensitive network

Country Status (1)

Country Link
CN (1) CN113271264B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113645149A (en) * 2021-10-15 2021-11-12 鹏城实验室 Time-sensitive network gating list implementation method and gating list entry generation method
CN113821516A (en) * 2021-10-12 2021-12-21 上海交通大学 Time-sensitive network switching architecture based on virtual queue
CN114244680A (en) * 2021-12-17 2022-03-25 网络通信与安全紫金山实验室 End-to-end deterministic transmission control method, device, equipment and medium
CN114390000A (en) * 2022-01-17 2022-04-22 北京邮电大学 TSN traffic scheduling method based on enqueue shaping and related equipment
CN114866482A (en) * 2022-07-07 2022-08-05 中汽创智科技有限公司 Data stream transmission method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7936770B1 (en) * 2005-03-08 2011-05-03 Enterasys Networks, Inc. Method and apparatus of virtual class of service and logical queue representation through network traffic distribution over multiple port interfaces
CN111669787A (en) * 2020-06-05 2020-09-15 国网上海市电力公司 Resource allocation method and device based on time delay sensitive network slice
CN111757521A (en) * 2019-03-29 2020-10-09 北京三星通信技术研究有限公司 Semi-static scheduling method, base station equipment and user equipment

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7936770B1 (en) * 2005-03-08 2011-05-03 Enterasys Networks, Inc. Method and apparatus of virtual class of service and logical queue representation through network traffic distribution over multiple port interfaces
CN111757521A (en) * 2019-03-29 2020-10-09 北京三星通信技术研究有限公司 Semi-static scheduling method, base station equipment and user equipment
CN111669787A (en) * 2020-06-05 2020-09-15 国网上海市电力公司 Resource allocation method and device based on time delay sensitive network slice

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
QUAN, WEI等: "《On-line Traffic Scheduling optimization in IEEE 802.1Qch based Time-Sensitive Networks》", 《2020 IEEE 22ND INTERNATIONAL CONFERENCE ON HIGH PERFORMANCE COMPUTING AND COMMUNICATIONS; IEEE 18TH INTERNATIONAL CONFERENCE ON SMART CITY; IEEE 6TH INTERNATIONAL CONFERENCE ON DATA SCIENCE AND SYSTEMS (HPCC/SMARTCITY/DSS)》 *
孟星等: "《TSN 中时间感知整形器测试方案设计及实现》", 《测控技术》 *

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113821516A (en) * 2021-10-12 2021-12-21 上海交通大学 Time-sensitive network switching architecture based on virtual queue
CN113821516B (en) * 2021-10-12 2023-09-05 上海交通大学 Time sensitive network switching system based on virtual queue
CN113645149A (en) * 2021-10-15 2021-11-12 鹏城实验室 Time-sensitive network gating list implementation method and gating list entry generation method
CN114244680A (en) * 2021-12-17 2022-03-25 网络通信与安全紫金山实验室 End-to-end deterministic transmission control method, device, equipment and medium
CN114244680B (en) * 2021-12-17 2023-06-27 网络通信与安全紫金山实验室 End-to-end deterministic transmission control method, device, equipment and medium
CN114390000A (en) * 2022-01-17 2022-04-22 北京邮电大学 TSN traffic scheduling method based on enqueue shaping and related equipment
CN114390000B (en) * 2022-01-17 2023-08-01 北京邮电大学 TSN flow scheduling method and related equipment based on enqueue shaping
CN114866482A (en) * 2022-07-07 2022-08-05 中汽创智科技有限公司 Data stream transmission method and device
CN114866482B (en) * 2022-07-07 2022-11-15 中汽创智科技有限公司 Data stream transmission method and device

Also Published As

Publication number Publication date
CN113271264B (en) 2022-06-21

Similar Documents

Publication Publication Date Title
CN113271264B (en) Data stream transmission method and device of time-sensitive network
WO2019084970A1 (en) Packet forwarding method, forwarding device, and network device
WO2020236301A1 (en) Systems and methods for per traffic class routing
CN114928894A (en) Deterministic scheduling method and device for time-sensitive network
US8248945B1 (en) System and method for Ethernet per priority pause packet flow control buffering
CN107454017B (en) Mixed data stream cooperative scheduling method in cloud data center network
KR102360461B1 (en) Central network cofigurator, and time-sensitive networking control system including the same
WO2019127597A1 (en) Method, device and system for sending message
US20200092202A1 (en) High-quality adaptive bitrate video through multiple links
JP4820466B2 (en) Semiconductor system, repeater and chip circuit
WO2021147368A1 (en) Method and apparatus for adjusting service level, device, system and storage medium
Abdallah et al. Wormhole networks properties and their use for optimizing worst case delay analysis of many-cores
WO2021259104A1 (en) Artificial intelligence chip and data processing method based on artificial intelligence chip
CN111211988B (en) Data transmission method and system for distributed machine learning
CN108768778B (en) Network delay calculation method, device, equipment and storage medium
Giroudot et al. Tightness and computation assessment of worst-case delay bounds in wormhole networks-on-chip
CN114172849A (en) Deterministic traffic shaping method based on game theory
US20190044857A1 (en) Deadline driven packet prioritization for ip networks
JP5245007B2 (en) How to control admission and allocate resources to data flows without a priori knowledge in a virtual network
US20220210078A1 (en) Method implemented by computer means of a communicating entity in a packet-switched network, and computer program and computer-readable non-transient recording medium thereof, and communicating entity of a packet-switched network
JP5087595B2 (en) Edge node, window size control method and program
Wang et al. Pursuing differentiated services in a sdn-based iot-oriented pub/sub system
CN106972987B (en) Time delay analysis method for end-to-end data transmission of WirelessHART network in smart grid
Bezerra et al. A machine learning-based optimization for end-to-end latency in TSN networks
CN114095449A (en) Flow control method, network device and storage medium

Legal Events

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