CN112787953B - Deterministic traffic flow transmission method and device, electronic equipment and storage medium - Google Patents

Deterministic traffic flow transmission method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN112787953B
CN112787953B CN202010497519.0A CN202010497519A CN112787953B CN 112787953 B CN112787953 B CN 112787953B CN 202010497519 A CN202010497519 A CN 202010497519A CN 112787953 B CN112787953 B CN 112787953B
Authority
CN
China
Prior art keywords
time period
transmission time
bridge
deterministic
time
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010497519.0A
Other languages
Chinese (zh)
Other versions
CN112787953A (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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN202010497519.0A priority Critical patent/CN112787953B/en
Publication of CN112787953A publication Critical patent/CN112787953A/en
Application granted granted Critical
Publication of CN112787953B publication Critical patent/CN112787953B/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/10Flow control; Congestion control
    • H04L47/28Flow control; Congestion control in relation to timing considerations
    • H04L47/283Flow control; Congestion control in relation to timing considerations in response to processing delays, e.g. caused by jitter or round trip time [RTT]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J3/00Time-division multiplex systems
    • H04J3/16Time-division multiplex systems in which the time allocation to individual channels within a transmission cycle is variable, e.g. to accommodate varying complexity of signals, to vary number of channels transmitted
    • H04J3/1605Fixed allocated frame structures
    • H04J3/1611Synchronous digital hierarchy [SDH] or SONET

Abstract

The present disclosure provides a deterministic traffic flow delivery method, comprising: determining the starting time of the jth transmission time period of the physical network bridge according to the time of receiving the marking information of the ith transmission time period of the physical network bridge and the time delay control value of the virtual network bridge; the delay control value is used for performing delay control on the virtual network bridge, so that the total delay of the virtual network bridge for forwarding the deterministic service message is an integral multiple of the transmission time period; i, j is an integer greater than or equal to 2; and forwarding the deterministic service message which needs to be forwarded in the same transmission time period in the jth transmission time period according to the starting time of the jth transmission time period. The disclosure also provides a deterministic traffic flow transmitting apparatus, an electronic device, and a computer-readable storage medium.

Description

Deterministic traffic flow transmission method and device, electronic equipment and storage medium
Technical Field
The disclosed embodiments relate to the field of communications, and in particular, to a deterministic traffic flow transmission method and apparatus, an electronic device, and a computer-readable storage medium.
Background
The Time Sensitive Network (TSN) is a standard-based L2 ethernet architecture established by the Institute of Electrical and Electronics Engineers (IEEE) and meets a series of standard technologies of traditional best effort forwarding and deterministic forwarding, and is a typical representative technology adopted for 5G deterministic service. The TSN technology mainly aims at the traditional L2 Ethernet forwarding processing flow to carry out a series of standard technologies such as traffic supervision (IEEE802.1 Qci), queue management (IEEE802.1Qbv), scheduling enhancement (IEEE802.1 Qbu/Qch) and the like so as to meet the service requirement of deterministic forwarding.
As shown in fig. 1, the TSN technology is mainly applied to Local Area Networks (LANs) for deterministic forwarding according to time characteristics, where time delay and jitter of links between two adjacent TSN bridges in the Network are negligible, and interconnection between two adjacent TSN networks is achieved by directly connecting short-distance links. However, when the TSN technology is applied to a bridge which does not support the TSN technology in a long-distance metropolitan area network or a wide area network or a LAN, the delay and jitter of the interconnection path between two adjacent TSN bridges are often too large to be ignored with respect to the forwarding time period of the TSN bridge. Therefore, when two adjacent TSN bridges are interconnected through a bridge that does not support the TSN technology in the metro network, the wide area network, or the LAN, a requirement for supporting forwarding of the virtual TSN bridge or the logical TSN bridge is necessarily provided for a path between two adjacent TSN bridges. As shown in fig. 2, a virtual or logical TSN bridge is virtualized as a logical TSN bridge with one hop for two TSN bridges adjacent to it.
At present, after being transmitted through a virtual TSN bridge or a logic TSN bridge, TSN service flows cannot guarantee the deterministic forwarding of subsequent TSN service flows.
Disclosure of Invention
The embodiment of the disclosure provides a deterministic service flow transmission method and device, electronic equipment and a computer readable storage medium.
In a first aspect, an embodiment of the present disclosure provides a deterministic traffic flow transmission method, including:
determining the starting time of the jth transmission time period of the physical network bridge according to the time of receiving the marking information of the ith transmission time period of the physical network bridge and the time delay control value of the virtual network bridge; the delay control value is used for performing delay control on the virtual network bridge, so that the total delay of the virtual network bridge for forwarding the deterministic service message is an integral multiple of the transmission time period; i, j are integers greater than or equal to 2;
and forwarding the deterministic service message which needs to be forwarded in the same transmission time period in the jth transmission time period according to the starting time of the jth transmission time period.
In a second aspect, an embodiment of the present disclosure provides a deterministic traffic flow transmission method, including:
determining the starting position of the jth transmission time period of the physical network bridge according to the time of receiving the marking information of the ith transmission time period of the physical network bridge; wherein i, j is an integer greater than or equal to 1;
and forwarding the deterministic service message which needs to be forwarded in the same transmission time period in the jth transmission time period according to the starting position of the jth transmission time period of the physical bridge.
In a third aspect, an embodiment of the present disclosure provides an electronic device, including:
at least one processor;
a memory having at least one program stored thereon that, when executed by the at least one processor, causes the at least one processor to implement any of the deterministic traffic delivery methods described above.
In a fourth aspect, the disclosed embodiments provide a computer-readable storage medium having a computer program stored thereon, where the computer program, when executed by a processor, implements any of the above-mentioned deterministic traffic streaming methods.
The deterministic service stream transmission method provided by the embodiment of the present disclosure determines the starting time of the jth transmission time period of the physical bridge based on the time and the delay control value of the marking information of the ith transmission time period received by the physical bridge this time, and forwards the deterministic service packet that needs to be forwarded in the same transmission time period in the jth transmission time period, thereby implementing deterministic forwarding of the deterministic service stream by the virtual bridge.
Drawings
FIG. 1 is a schematic topology diagram of a TSN bridge of the related art;
fig. 2 is a schematic diagram of a TSN bridge topology interconnected by virtual TSN bridges in the related art;
fig. 3 is a diagram illustrating a related art virtual TSN bridge transmitting TSN traffic;
fig. 4 is a flowchart of a deterministic traffic flow delivery method provided by an embodiment of the present disclosure;
fig. 5 is a schematic diagram illustrating a relationship between a service forwarding window and a protection gap in a transmission time period according to an embodiment of the present disclosure;
fig. 6 is a flowchart of another deterministic traffic delivery method provided by an embodiment of the present disclosure;
fig. 7 is a schematic diagram of an Optical Transport Network (OTN) forwarding deterministic traffic flow in example 1 of the present disclosure;
fig. 8 is a schematic diagram of an Internet Protocol (IP) network forwarding deterministic traffic flow in example 2 of the present disclosure;
fig. 9 is a schematic diagram of a 5G LAN network forwarding deterministic traffic flows in example 3 of an embodiment of the present disclosure;
fig. 10 is a block diagram illustrating a deterministic traffic flow delivery apparatus according to an embodiment of the present disclosure;
fig. 11 is a block diagram of another deterministic traffic stream forwarding apparatus according to an embodiment of the present disclosure.
Detailed Description
In order to make those skilled in the art better understand the technical solution of the present disclosure, the deterministic traffic transmitting method and apparatus, the electronic device, and the computer-readable storage medium provided by the present disclosure are described in detail below with reference to the accompanying drawings.
Example embodiments will be described more fully hereinafter with reference to the accompanying drawings, but which may be embodied in different forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
Embodiments of the present disclosure and features of embodiments may be combined with each other without conflict.
As used herein, the term "and/or" includes any and all combinations of at least one of the associated listed items.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the disclosure. As used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms "comprises" and/or "comprising," when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of at least one other feature, integer, step, operation, element, component, and/or group thereof.
Unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art. It will be further understood that terms, such as those defined in commonly used dictionaries, should be interpreted as having a meaning that is consistent with their meaning in the context of the relevant art and the present disclosure, and will not be interpreted in an idealized or overly formal sense unless expressly so defined herein.
As shown in fig. 3, a virtual or logical TSN bridge generally includes three parts, an ingress Edge device (PE), an egress PE, and a virtual connection. At present, the forwarding scheme of the virtual TSN bridge or the logical TSN bridge mainly focuses on the processing of TSN traffic streams by the ingress PE and the egress PE, and needs to ensure the deterministic forwarding of TSN traffic streams after being forwarded by the virtual TSN bridge or the logical TSN bridge.
Although the embodiments of the present disclosure are proposed based on the problems encountered by TSN traffic during transmission, the solutions proposed by the embodiments of the present disclosure are also applicable to the transmission of other deterministic traffic, i.e., traffic that performs deterministic transmission according to time characteristics, and the embodiments of the present disclosure are represented by TSN traffic, but do not exclude other traffic having deterministic characteristics, and therefore, in the following embodiments, all the embodiments are described with deterministic traffic.
It should be noted that the deterministic traffic flow includes deterministic traffic packets transmitted at different times.
Also, in order to accommodate bridge types for transporting all types of deterministic traffic streams, in the following exemplary embodiments, physical bridges are used instead of TSN bridges, virtual bridges are used instead of virtual TSN bridges, and logical bridges are used instead of logical TSN bridges, that is, the physical bridges described in the following embodiments are not limited to TSN bridges only, virtual bridges are not limited to virtual TSN bridges only, logical bridges are not limited to logical TSN bridges only, and virtual bridges and logical bridges are equivalent concepts.
Also, although the description of the related TSN technologies adopts a method of forwarding TSN traffic, in order to adapt to more application scenarios, in the following embodiments, transmission instead of forwarding is used, for example, "transmission of deterministic traffic" is used instead of "forwarding of TSN traffic", and "transmission time period" is used instead of "forwarding time period". That is, the transmission described in the following embodiments is not limited to the case of representing reception and transmission only, and may also represent the case of representing reception only, or representing transmission only.
It should be noted that in some exemplary embodiments, transmitting only includes receiving. In other exemplary embodiments, the transmitting includes only sending. In other exemplary embodiments, the transmitting includes receiving and transmitting. For example, for a transmission time period, it is possible that for a certain transmission time period, the transmission time period is only used for receiving deterministic traffic flows, only used for sending deterministic traffic flows, or both. It is emphasized by the embodiments of the present disclosure that the transmission time periods are for the transmission of deterministic traffic flows, and as to which transmission time periods are for the reception of deterministic traffic flows, which transmission time periods are for the transmission of deterministic traffic flows, and which transmission time periods are for the reception and transmission of deterministic traffic flows can be determined according to practical situations.
In the embodiment of the present disclosure, the deterministic forwarding of a deterministic traffic flow by a virtual bridge or a logical bridge may be implemented in any of the following manners.
In the first mode, one node (for example, an egress PE) of the virtual bridge or the logical bridge performs delay and jitter control, the start time of the period is aligned, and other nodes forward the deterministic traffic packet normally.
In the second mode, each node in the virtual bridge or the logical bridge controls time delay and jitter, and only the egress PE performs the alignment of the start time of the cycle and the alignment of the cycle.
And in the third mode, each node in the virtual bridge or the logical bridge controls the jitter, and only the egress PE controls the time delay, the alignment of the starting time of the period and the alignment of the period.
And in the fourth mode, each node in the virtual bridge or the logical bridge controls time delay and jitter, and aligns the start time of the period and the period.
And fifthly, controlling time delay at one node (such as an exit PE) of the virtual bridge or the logical bridge, aligning the starting time of the period and the period, and forwarding the deterministic service message normally by other nodes.
And sixthly, controlling time delay at each node in the virtual bridge or the logical bridge, and only performing the alignment of the starting time of the period and the alignment of the period at the exit PE.
The seventh mode is that each node in the virtual bridge or the logical bridge controls the time delay, aligns the start time of the period and aligns the period.
And the eighth mode is that the period alignment is carried out on each node of the virtual bridge or the logical bridge, the control of time delay and jitter is carried out only on the exit PE, and the alignment of the starting time of the period is carried out.
It should be noted that the above periodic alignment includes: and centralizing the deterministic service messages transmitted in one transmission time period in the same transmission time period for forwarding.
In the above eight modes, it is necessary to obtain the delay requirement D and jitter requirement J of the deterministic traffic flow to the virtual bridge, and perform calculation and selection of a path and calculation of a delay control value according to D and J. During specific implementation, the D and the H can be transmitted to an entrance PE of the virtual bridge, and the entrance PE calculates and selects a path and calculates a delay control value; alternatively, the delay control value is directly transferred to the ingress PE and/or the egress PE. Specifically, D and J may be transmitted through an out-of-band control channel, or a delay control value may be transmitted to the ingress PE and/or the egress PE. The ingress PE and/or the egress PE of the virtual bridge may be dynamically advertised, for example, by statically configuring the ingress PE and/or the egress PE of the virtual bridge through a management plane, or by forwarding plane BGP protocol extensions. It should be noted that a suitable transmission path of the virtual bridge may be calculated and selected in the network based on D and J, the calculation of the path requires reservation of a margin for precise delay and jitter control, and the margin is reserved according to the service characteristics and network jitter. Or the method can be simplified to only select the transmission path of the virtual bridge according to D, and in order to support the accurate time delay and jitter control of the end-to-end virtual connection and reduce the time delay, the margin is recommended to be 3 times of the transmission time period C; the ingress PE and the egress PE predict C to be used for burst tolerance and alignment processing, and reserve C to be used for end-to-end jitter control and period alignment.
The accurate measurement of the delay and jitter of the virtual bridge can be performed before the deterministic traffic flow is routed, or the accurate delay and jitter performance can be periodically measured and used for the calculation and selection of the path, which can also be simplified to the measurement and routing of only the delay according to the above description. The accuracy for the measurement is at least an order of magnitude higher than the accuracy required for the delay and jitter.
In all the above eight modes, the flag information of the transmission time period of the physical bridge needs to be transmitted to the node that needs to perform the start time alignment and the period alignment of the period, so as to implement the alignment of the start time of the period and the alignment of the period, and a specific transmission mode is described in the following embodiments.
In the above eight modes, the delay control value needs to be calculated and transmitted or configured to the node that needs to perform delay control and the node that needs to perform periodic alignment, thereby implementing delay control. The specific calculation of the delay control value is described in the following embodiments.
Fig. 4 is a flowchart of a deterministic traffic flow delivery method according to an embodiment of the present disclosure.
In a first aspect, referring to fig. 4, an embodiment of the present disclosure provides a deterministic traffic flow transmission method, which may be applied to nodes that need to perform cycle start time alignment and cycle alignment in the foregoing manners one to eight.
The method comprises the following steps:
step 400, determining the starting time of the jth transmission time period of the physical network bridge according to the time of receiving the marking information of the ith transmission time period of the physical network bridge and the time delay control value of the virtual network bridge; the delay control value is used for carrying out delay control on the virtual network bridge, so that the total delay of the virtual network bridge for forwarding the deterministic service message is an integral multiple of the transmission time period; i, j are integers greater than or equal to 2.
In some exemplary embodiments, for the above-described manner one and manner eight, the delay control value is (D) T1 +D J1 ) The remainder of/C; wherein D is T1 Delay of transmission of deterministic traffic packets for virtual bridges, D J1 The delay introduced for jitter control of the virtual bridge is denoted by C, the transmission time period.
In some exemplary embodiments, the delay control value is (D) for the above two and four modes T2 +D J2 ) The remainder of/C; wherein D is T2 For the transmission delay of a deterministic traffic packet by a node in a virtual bridge (i.e. the node itself that executes the method), D J2 The delay introduced for jitter control of a node in a virtual bridge.
In some exemplary embodiments, for the above mode three, the delay control value is (D) T1 +D J2 ) The remainder of/C.
In some exemplary embodiments, for the fifth mode, the delay control value is D T1 The remainder of/C.
In some exemplary embodiments, for the above-mentioned mode six and mode seven, the delay control value is D T2 The remainder of/C; wherein D is T2 The transmission delay of deterministic traffic packets for a node in the virtual bridge, i.e. the node itself that executes the method, is delayed.
In some exemplary embodiments, if it is required that the transmission delay of each node in the bridge to the deterministic traffic packet is the same, D T1 =ND T2 Where N is the number of nodes included in the virtual bridge.
In some exemplary embodiments, the transmission time period comprises a period of Qbv gating of IEEE802.1 or a period of Qch circular queue forwarding of IEEE 802.1.
In some exemplary embodiments, the transmission time period includes only the traffic forwarding window W. In other exemplary embodiments, to tolerate different time accuracies, the transmission time period includes a traffic forwarding window W and a guard gap G, W being used for transmission of actual deterministic traffic flows, G providing tolerance of time accuracy and other overhead, with the proportions and actual positional relationships thereof being distributed as the case may be. For example, as shown in fig. 5, the transmission time period includes: a service forwarding window W and two protection gaps G; the service forwarding window W is located in the middle of the two protection gaps G, and the time lengths of the two protection gaps G are equal. Of course, fig. 5 merely shows an example of an implementation, and does not mean that the structural composition of the transmission time period of fig. 5 is the only implementation, and the specific structural composition is not used to limit the scope of the embodiments of the present disclosure.
In some example embodiments, the accuracy of jitter control is greater than or equal to J when the virtual bridge is jitter controlled o Min { J, C } accuracy, the control accuracy being at least greater than J o The precision of the method is higher by one order of magnitude; wherein J is the jitter value required by the deterministic service packet, J max =D max -D min ,J max Is the maximum value of jitter, D max Maximum value of the delay required for deterministic traffic packets, D min The minimum value of the delay required for deterministic traffic packets.
After the completion of jitter control, the delay characteristics and jitter characteristics of the virtual bridge may be expressed as:
F(D,J,C)—>F’(D T1 +D J ,J o ,C)。
wherein, F represents the deterministic service flow before being forwarded by the virtual bridge, and F' represents the deterministic service flow after being forwarded by the virtual bridge.
In some exemplary embodiments, jitter control may be implemented via a specified forwarding technique, or may be implemented via a jitter buffer.
In some exemplary embodiments, the marking information includes: transmitting a start marker or an end marker of a time period; determining the starting time of the jth transmission time period of the physical bridge according to the time of receiving the marking information of the ith transmission time period of the physical bridge and the time delay control value comprises the following steps:
determining the start time of the jth transit time period of the physical bridge to be: t3+ T4+ nT 5; wherein, T3 is the time when the start flag or the end flag of the transmission time period is received this time, T4 is the delay control value, T5 is the duration of the transmission time period, and n is an integer greater than or equal to 0.
It should be noted that, for the case that the label information includes the start label or the end label of the transmission time period, the ingress PE may add the label information in the content of the start time or the end time of the protection Gap of the transmission time period (such as an ethernet Inter-Packet Gap), transmit the added label information to the node that needs to perform the start time alignment and the period alignment of the period through each node in the virtual bridge, obtain the label information from the content of the Gap for performing the period alignment by the node that needs to perform the start time alignment and the period alignment of the period, and directly transmit the label information without obtaining the label information from the content of the Gap for the node that does not need to perform the start time alignment and the period alignment of the period in the virtual bridge.
In some exemplary embodiments, the marking information includes: transmitting a start mark of a service forwarding window of a time period; determining the starting time of the jth transmission time period of the physical bridge according to the time of receiving the marking information of the ith transmission time period of the physical bridge and the time delay control value comprises the following steps:
determining the start time of the service forwarding window of the jth transmission time period of the physical bridge as follows: t6+ T4+ nT 5; wherein, T6 is the time when the start marker of the service forwarding window is received this time, T4 is a delay control value, T5 is the duration of the transmission time period, and n is an integer greater than or equal to 0.
In some exemplary embodiments, the marking information includes: transmitting an end marker of a service forwarding window of a time period; determining the starting time of the jth transmission time period of the physical bridge according to the time of receiving the marking information of the ith transmission time period of the physical bridge and the time delay control value comprises the following steps:
determining the start time of the service forwarding window of the jth transmission time period of the physical bridge as follows: t7+ T4+ T8+ nT 5; wherein, T7 is the time when the end marker of the service forwarding window is received this time, T4 is a delay control value, T8 is the duration of the protection gap in the transmission time period, T5 is the duration of the transmission time period, and n is an integer greater than or equal to 0.
It should be noted that, for the case that the mark information includes the start mark or the end mark of the traffic forwarding window of the transmission time period, if there is a deterministic traffic packet transmission at the start time or the end time of the traffic forwarding window of the transmission time period, the entry PE may add mark information to the deterministic traffic packet transmitted at the start time or the end time of the traffic forwarding window of the transmission time period for transmission, and transmit the packet to the node requiring the start time alignment and the period alignment of the period through each node in the virtual bridge, the node requiring the start time alignment and the period alignment of the period acquires the mark information from the deterministic traffic packet for the start time alignment and the period alignment of the period, and the node not requiring the start time alignment and the period alignment of the period in the virtual bridge does not acquire the mark information from the deterministic traffic packet, directly transmitting the raw materials.
If the start time or the end time of the service forwarding window in the transmission time period does not have deterministic service message transmission, a filled mark message can be actively inserted into the start time or the end time of the service forwarding window in the transmission time period by the entrance PE, mark information is added into the mark message for transmission, the mark message is transmitted to a node needing to carry out the start time alignment and the period alignment of the period through each node in the virtual bridge, the node needing to carry out the start time alignment and the period alignment of the period obtains the mark information from the mark message for the period alignment, and the node not needing to carry out the start time alignment and the period alignment of the period in the virtual bridge does not obtain the mark information from the mark message and directly transmits the mark information.
In some exemplary embodiments, the marking information further comprises at least one of:
and transmitting a period identifier and a service identifier of the time period.
It should be noted that the transmission time periods corresponding to different types of deterministic service packets may be the same or different. The start time or the end time of the transmission time period corresponding to the different types of deterministic service packets may be the same or different. If the marking information comprises the service identification, the marking information is only effective to the deterministic service message of the type corresponding to the service identification, and is ineffective to other deterministic service messages of other types.
It should be noted that, if the tag information includes a cycle identifier of the transmission time period, when the deterministic service packet is forwarded, the cycle identifier also needs to be added to the deterministic service packet; or only adding cycle identifiers to the first and last deterministic traffic packets sent during the transmission time period.
Step 401, forwarding the deterministic service packet which needs to be forwarded in the same transmission time period in the jth transmission time period according to the start time of the jth transmission time period.
In some exemplary embodiments, the deterministic traffic packets that need to be forwarded within the same transmission time period include: and receiving the deterministic service message in a time period between two adjacent times of receiving the marking information.
In some exemplary embodiments, the deterministic traffic packets that need to be forwarded within the same transmission time period include: deterministic traffic packets containing the same transmission time period identification.
In some exemplary embodiments, the deterministic traffic packets that need to be forwarded within the same transmission time period include: two deterministic traffic packets comprising the same cycle identity, and all deterministic traffic packets received between the time of receiving two deterministic traffic packets comprising the same cycle identity.
In some example embodiments, if the transmission time period includes only the traffic forwarding window, the forwarding of the deterministic traffic packet may be performed throughout the transmission time period.
If the transmission time period includes a traffic forwarding window W and a protection gap G, and the start time or the end time of the next transmission time period is determined in step 400, the start time or the end time of the traffic forwarding window W may be determined according to the ratio between the traffic forwarding window W and the protection gap G and the actual position relationship, and then a deterministic traffic stream that needs to be transmitted in the same transmission time period is transmitted in the traffic forwarding window of the next transmission time period.
In some exemplary embodiments, before determining the start time of the jth transmission time period of the physical bridge according to the time when the marking information of the ith transmission time period of the physical bridge is received this time and the delay control value, the method further includes:
and acquiring the time of receiving the marking information.
In some exemplary embodiments, for the case that the mark information includes a start mark or an end mark of the transmission time period, since the ingress PE adds mark information in the gap content of the start time or the end time of the protection gap of the transmission time period to transmit, and transmits the mark information to the node that needs to perform the start time alignment and the period alignment of the period through each node in the virtual bridge, the node that needs to perform the start time alignment and the period alignment of the period obtains the mark information from the gap content to perform the start time alignment and the period alignment of the period, and the node that does not need to perform the start time alignment and the period alignment of the period in the virtual bridge does not obtain the mark information from the gap content, and the mark information is directly transmitted; therefore, the following method can be adopted to obtain the time of receiving the marking information this time:
judging whether the gap content received this time contains mark information; and if the gap content received this time contains the marking information, determining the time of receiving the marking information this time as the time of receiving the gap content this time.
In some exemplary embodiments, for the case where the marker information includes a start marker or an end marker of a traffic forwarding window of a transmission time period, since the ingress PE adds the tag information to the deterministic traffic or tag message transmitted at the start time or end time of the traffic forwarding window of the transmission time period, and is transmitted to the node which needs to carry out the initial time alignment and the period alignment of the period through each node in the virtual bridge, the node which needs to carry out the initial time alignment and the period alignment of the period obtains the mark information from the deterministic service message or the mark message to carry out the initial time alignment and the period alignment of the period, for nodes which do not need to carry out period initial time alignment and period alignment in the virtual bridge, marking information is not obtained from the deterministic service message or the marking message, and the marking information is directly transmitted through; therefore, the following method may be adopted to obtain the time when the tag information is received this time:
judging whether the received deterministic service message or the mark message contains mark information; and if the received deterministic service message or the mark message contains mark information, determining the time of receiving the mark information as the time of receiving the deterministic service message or the mark message.
The deterministic service flow transmission method provided by the embodiment of the disclosure determines the jth transmission time period based on the time and the delay control value of the marking information of the ith transmission time period received by the physical network bridge this time, and forwards the deterministic service flow which needs to be forwarded in the same transmission time period in the jth transmission time period, thereby realizing the deterministic forwarding of the deterministic service flow by the virtual network bridge.
Fig. 6 is a flowchart of another deterministic traffic delivery method according to an embodiment of the present disclosure.
In a second aspect, referring to fig. 6, an embodiment of the present disclosure provides another deterministic traffic flow transmission method, which may be applied to a node that needs to perform periodic alignment in the above-described manner eight.
The method comprises the following steps:
step 600, determining the starting position of the jth transmission time period of the physical network bridge according to the time of receiving the marking information of the ith transmission time period of the physical network bridge; wherein i, j is an integer greater than or equal to 1.
In some exemplary embodiments, the transmission time period comprises a period of Qbv gating of IEEE802.1 or a period of Qch circular queue forwarding of IEEE 802.1.
In some exemplary embodiments, the transmission time period includes only the traffic forwarding window W. In other exemplary embodiments, to tolerate different time accuracies, the transmission time period includes a traffic forwarding window W and a guard gap G, W is used for transmission of the actual deterministic traffic stream, G provides tolerance of time accuracy and other overhead, and the ratio and actual positional relationship thereof are assigned according to actual circumstances. For example, as shown in fig. 5, the transmission time period includes: a service forwarding window W and two protection gaps G; the service forwarding window W is located in the middle of the two protection gaps G, and the time lengths of the two protection gaps G are equal. Of course, fig. 5 merely shows an example of an implementation, and does not mean that the structural composition of the transmission time period of fig. 5 is the only implementation, and the specific structural composition is not used to limit the scope of the embodiments of the present disclosure.
In some exemplary embodiments, the marking information includes: a start marker or an end marker of a transmission time period; determining the starting position of the jth transmission time period of the physical bridge according to the time of receiving the marking information of the ith transmission time period of the physical bridge comprises the following steps:
determining the starting position of the jth transmission time period of the physical bridge as: t3+ nT 5; wherein, T3 is the time when the start flag or the end flag of the transmission time period is received this time, T5 is the duration of the transmission time period, and n is an integer greater than or equal to 0.
It should be noted that, for the case that the marker information includes the start marker or the end marker of the transmission time period, the entry PE may add the marker information in the content of the start time or the end time of the protection gap (such as IPG) of the transmission time period to transmit, and transmit to the node that needs to perform the period alignment through each node in the virtual bridge, the node that needs to perform the period alignment acquires the marker information from the content of the gap to perform the period alignment, and for the node that does not need to perform the period alignment in the virtual bridge, the marker information is not acquired from the content of the gap, and the node is directly passed through.
In some exemplary embodiments, the marking information includes: transmitting a start mark of a service forwarding window of a time period; determining the starting position of the jth transmission time period of the physical bridge according to the time of the received marking information of the ith transmission time period of the physical bridge comprises the following steps:
determining the starting position of the service forwarding window of the jth transmission time period of the physical bridge as follows: t6+ nT 5; wherein, T6 is the time of receiving the start mark of the service forwarding window this time, T5 is the duration of the transmission time period, and n is an integer greater than or equal to 0.
In some exemplary embodiments, the marking information includes: transmitting an end marker of a service forwarding window of a time period; determining the starting position of the jth transmission time period of the physical bridge according to the time of receiving the marking information of the ith transmission time period of the physical bridge comprises the following steps:
determining the starting position of a service forwarding window of the ith transmission time period of the physical bridge as follows: t7+ T8+ nT 5; wherein, T7 is the time when the end flag of the service forwarding window is received this time, T8 is the duration of the protection gap of the transmission time period, T5 is the duration of the transmission time period, and n is an integer greater than or equal to 0.
It should be noted that, for the case that the mark information includes the start mark or the end mark of the service forwarding window of the transmission time period, if there is a deterministic service packet transmission at the start time or the end time of the service forwarding window of the transmission time period, the entry PE may add mark information to the deterministic service packet transmitted at the start time or the end time of the service forwarding window of the transmission time period for transmission, and transmit the packet to the node requiring period alignment through each node in the virtual bridge, the node requiring period alignment acquires the mark information from the deterministic service packet for period alignment, and for the node not requiring period alignment in the virtual bridge, the mark information is not acquired from the deterministic service packet, and the transparent transmission is performed directly.
If there is no deterministic service message transmission at the start time or end time of the service forwarding window of the transmission time period, a filled mark message can be actively inserted at the start time or end time of the service forwarding window of the transmission time period by the ingress PE, and mark information is added in the mark message for transmission, and is transmitted to the node needing to be periodically aligned through each node in the virtual bridge, the node needing to be periodically aligned acquires the mark information from the mark message for periodic alignment, and for the node not needing to be periodically aligned in the virtual bridge, the mark information is not acquired from the mark message, and the transmission is directly performed.
In some exemplary embodiments, the marking information further comprises at least one of:
and transmitting a period identifier and a service identifier of the time period.
It should be noted that the transmission time periods corresponding to different types of deterministic service packets may be the same or different. The start time or the end time of the transmission time period corresponding to the different types of deterministic service packets may be the same or different. If the marking information comprises the service identification, the marking information is only valid for the deterministic service message of the type corresponding to the service identification, and is invalid for other deterministic service messages of other types.
It should be noted that, if the tag information includes a period identifier of the transmission time period, when the deterministic service packet is forwarded, the period identifier also needs to be added to the deterministic service packet; or only adding cycle identifiers to the first and last deterministic traffic packets sent during the transmission time period.
Step 601, forwarding the deterministic service message which needs to be forwarded in the same transmission time period in the jth transmission time period according to the start position of the jth transmission time period of the physical network bridge.
In some exemplary embodiments, the deterministic traffic packets that need to be forwarded within the same transmission time period include: and receiving the deterministic service message in a time period between the time of receiving the marking information twice and the time of receiving the marking information last time.
In some exemplary embodiments, the deterministic traffic packets that need to be forwarded within the same transmission time period include: deterministic traffic packets containing the same transmission time period identification.
In some exemplary embodiments, the deterministic traffic packets that need to be forwarded within the same transmission time period include: two deterministic traffic messages comprising the same period identity, and all deterministic traffic messages received between the time of receiving two deterministic traffic messages comprising the same period identity.
In some example embodiments, if the transmission time period includes only the traffic forwarding window, the forwarding of the deterministic traffic packet may be performed throughout the transmission time period.
If the transmission time period includes a traffic forwarding window W and a protection gap G, and the start time or the end time of the next transmission time period is determined in step 400, the start time or the end time of the traffic forwarding window W may be determined according to the ratio between the traffic forwarding window W and the protection gap G and the actual position relationship, and then a deterministic traffic stream that needs to be transmitted in the same transmission time period is transmitted in the traffic forwarding window of the next transmission time period.
In some exemplary embodiments, the method further comprises, before determining the start time of the next transmission time period of the physical bridge based on the time and latency control value of the present time of receipt of the tag information of the transmission time period of the physical bridge, the method further comprising:
and acquiring the time of receiving the marking information.
In some exemplary embodiments, for the case that the marker information includes a start marker or an end marker of the transmission time period, because the entry PE adds the marker information in the content of the Idle of the start time or the end time of the protection gap of the transmission time period to transmit, and transmits the identifier information to the node that needs to be periodically aligned through each node in the virtual bridge, the node that needs to be periodically aligned obtains the marker information from the content of the Idle to perform periodic alignment, and for the node that does not need to be periodically aligned in the virtual bridge, the marker information is not obtained from the content of the Idle, and the node is directly passed through; therefore, the following method can be adopted to obtain the time of receiving the marking information this time:
judging whether the gap content received this time contains mark information; and if the gap content received this time contains the marking information, determining the time of receiving the marking information this time as the time of receiving the gap content this time.
In some exemplary embodiments, for the case that the marker information includes a start marker or an end marker of a service forwarding window of a transmission time period, because the inlet PE adds the marker information to a deterministic service packet or a marker packet transmitted at the start time or the end time of the service forwarding window of the transmission time period for transmission, and transmits the marker information to a node requiring period alignment through each node in the virtual bridge, the node requiring period alignment acquires the marker information from the deterministic service packet or the marker packet for period alignment, and for the node not requiring period alignment in the virtual bridge, the marker information is not acquired from the deterministic service packet or the marker packet, and the transparent transmission is performed directly; therefore, the following method may be adopted to obtain the time when the tag information is received this time:
judging whether the received deterministic service message or the mark message contains mark information or not; if the deterministic service message or the marker message received this time contains the marker information, the time of receiving the marker information this time is determined as the time of receiving the deterministic service message or the marker message this time.
The deterministic service flow transmission method provided by the embodiment of the disclosure determines the jth transmission time period based on the time and the delay control value of the marking information of the ith transmission time period received by the physical network bridge this time, and forwards the deterministic service flow which needs to be forwarded in the same transmission time period in the jth transmission time period, thereby realizing the deterministic forwarding of the deterministic service flow by the virtual network bridge.
The implementation process of the above method is described by several examples, which are only for convenience of description and cannot limit the method of the embodiments of the present disclosure in the application scenarios of the following several examples, and the listed examples do not limit the scope of the embodiments of the present disclosure.
Example 1
In this example, a deterministic traffic stream (e.g., a TSN traffic stream) traverses a Time Division Multiplexing (TDM) network (e.g., an OTN network), and since a delay and jitter of a path of the deterministic traffic stream traversing the OTN network cannot be ignored with respect to a transmission Time period of a physical bridge, in order to ensure that the deterministic traffic stream can still ensure a deterministic forwarding feature after being forwarded through the OTN network, the following method may be adopted:
acquiring, by a Software Defined Network (SDN) controller, a delay requirement D and a jitter requirement J of a TSN traffic flow on a transmission path of an OTN Network, and related information of a transmission time period of a physical bridge (for example, a duration C of the transmission time period, a start time, an end time of a traffic forwarding window of the transmission time period, and the like), and configuring, by the SDN controller, the delay requirement D, the jitter requirement J, and the related information of the transmission time period of the physical bridge to two PE nodes of the OTN Network connecting the TSN bridge.
For an OTN network, to ensure the forwarding effect of a TSN traffic stream, the TSN traffic stream is mapped into a dedicated Optical Channel Data Unit (ODUk) container, and the marking information of a transmission time period is transmitted through an overhead field available in the ODUk container. Because the ODUk end-to-end channel has the characteristics of relatively fixed forwarding delay and low jitter, it is sufficient that the output PE of the OTN network supports the delay control function, that is, the output PE controls the end-to-end forwarding delay of the TSN service stream by adding a buffer, so that the delay of the output PE on the TSN service stream sequence is an integral multiple of the TSN forwarding period, and the period phase alignment is completed according to the flag information in the overhead (as shown in fig. 7).
Example 2
In this example, the deterministic traffic (e.g. TSN traffic) traverses a packet switching network (e.g. an IP network), and since the delay and jitter of the path of the deterministic traffic traversing the IP network cannot be ignored with respect to the transmission time period of the physical bridge, in order to ensure that the deterministic traffic can still ensure its deterministic forwarding characteristics after being forwarded through the IP network, the following method may be adopted:
automatically identifying, by an ingress PE of an IP router, characteristics of TSN traffic flows by employing pattern matching, the characteristics comprising: delay requirements D and jitter requirements J of the TSN traffic flow on the transmission path of the IP network, and information about the transmission time period of the physical bridge (e.g., duration C of the transmission time period, start time and end time of a traffic forwarding window of the transmission time period, etc.), and the characteristics are notified to an egress PE of the IP connection through a Border Gateway Protocol (BGP).
For an IP network, an elastic bandwidth forwarding channel is provided, In order to ensure the forwarding effect of a TSN service stream, it is necessary to guarantee related bandwidth resources for a specified TSN service stream and perform end-to-end resource reservation, and characteristics of the TSN service stream may be transferred through an In-Band (In-Band) Operation Administration and Maintenance (OAM) technique.
The IP network end-to-end forwarding is characterized by elastic bandwidth, relatively stable average forwarding delay and large jitter. Due to the characteristic of large jitter of IP end-to-end forwarding, jitter control must be performed first, and IP forwarding hop-by-hop jitter control or egress PE uniform jitter control may be performed optionally, at this time, additional forwarding delay will be generated by the jitter control relatively, the end-to-end delay control of the virtual bridge needs to overlap the delay generated by the jitter control on the basis of normal end-to-end forwarding delay, and then the delay control function of the egress PE is utilized to satisfy that the delay of the TSN service stream of the egress PE is an integral multiple of the transmission time period, and the period phase alignment is completed according to the label information of the transmission time period carried by the Inband OAM (as shown in fig. 8).
Example 3
In this example, the deterministic traffic (such as TSN traffic) traverses the 5G LAN, and since the delay and jitter of the path of the deterministic traffic traversing the 5G LAN cannot be ignored with respect to the transmission time period of the physical bridge, in order to ensure that the deterministic traffic can still guarantee its deterministic forwarding feature after being forwarded through the 5G LAN, the following method may be adopted:
obtaining characteristics of a TSN traffic flow through AN Access Network (AN)/Core Network (CN), wherein the characteristics comprise: the delay requirement D and jitter requirement J of the TSN traffic flow on the Transmission path of the IP Network, and the related information of the Transmission time period of the physical bridge (e.g., the duration C of the Transmission time period, the start time and the end time of the traffic forwarding window of the Transmission time period, etc.), and the characteristics of the TSN traffic flow are notified to the Transmission Network (TN) through the end-to-end traffic orchestration system.
For 5G LAN network, the virtual bridge forwarding consists of three parts, AN AN forwarding part, TN forwarding part and CN forwarding part. Most of its processing is the same as in example 2, the only difference being that end-to-end delay and jitter measurement, jitter control and delay control need to support across different network domains, i.e. three domains from AN, TN to CN. The edge nodes of the AN and CN are respectively considered as PE nodes of the IP network (as shown in fig. 9).
In a third aspect, an embodiment of the present disclosure provides an electronic device, including:
at least one processor;
a memory having at least one program stored thereon, which when executed by the at least one processor causes the at least one processor to implement any of the deterministic traffic streaming methods described above.
Wherein, the processor is a device with data processing capability, which includes but is not limited to a Central Processing Unit (CPU) and the like; memory is a device with data storage capabilities including, but not limited to, random access memory (RAM, more specifically SDRAM, DDR, etc.), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), FLASH memory (FLASH).
In some embodiments, the processor, memory, and the like are interconnected by a bus, which in turn connects with other components of the computing device.
In a fourth aspect, the disclosed embodiments provide a computer-readable storage medium having a computer program stored thereon, where the computer program, when executed by a processor, implements any of the above-mentioned deterministic traffic streaming methods.
Fig. 10 is a block diagram of a deterministic traffic stream forwarding apparatus according to an embodiment of the present disclosure.
In a fifth aspect, referring to fig. 10, an embodiment of the present disclosure provides a deterministic traffic flow transmission apparatus, which may be disposed in a node that needs to perform start time alignment and period alignment of a period in the above-described manners one to eight.
The device includes:
a first transmission time period determining module 1001, configured to determine the starting time of a jth transmission time period of the physical network bridge according to the time when the marking information of the ith transmission time period of the physical network bridge is received this time and the delay control value of the virtual network bridge; the delay control value is used for carrying out delay control on the virtual network bridge, so that the total delay of the virtual network bridge for forwarding the deterministic service message is an integral multiple of the transmission time period; i, j is an integer greater than or equal to 2;
the first service packet forwarding module 1002 is configured to forward, in the jth transmission time period, the deterministic service packet that needs to be forwarded in the same transmission time period according to the start time of the jth transmission time period.
In some exemplary embodiments, the first transmission time period determination module 1001 is further configured to:
and acquiring the time of receiving the marking information.
In some exemplary embodiments, the first transmission time period determining module 1001 is specifically configured to obtain the time when the tag information is received this time by using the following method:
judging whether gap content received in a protection gap of the ith transmission time period contains mark information or not; if the gap content received in the protection gap of the ith transmission time period comprises the marking information, the time of receiving the marking information is determined as the time of receiving the gap content in the protection gap of the ith transmission time period.
In some exemplary embodiments, the first transmission time period determining module 1001 is specifically configured to obtain the time when the tag information is received this time by using the following method:
judging whether the received deterministic service message or the mark message contains mark information;
and if the received deterministic service message or the mark message contains mark information, determining the time of receiving the mark information as the time of receiving the deterministic service message or the mark message.
In some exemplary embodiments, the latency control value is any one of:
(D T1 +D J1 ) The remainder of/C;
(D T2 +D J2 ) The remainder of/C;
(D T1 +D J2 ) The remainder of/C;
D T1 the remainder of/C;
D T2 the remainder of/C;
wherein D is T1 Delay of transmission of deterministic traffic packets for the forwarding path of a virtual bridge, D J1 The delay introduced for jitter control of the virtual bridge, C is the transmission time period, D T2 Delay of transmission of deterministic traffic packets for the forwarding path of a node in a virtual bridge, D J2 The delay introduced for jitter control of a node in a virtual bridge.
In some exemplary embodiments, the marking information includes: transmitting a start marker or an end marker of a time period; the first transmission time period determining module 1001 is specifically configured to determine, according to the time when the marking information of the ith transmission time period of the physical bridge is received this time and the delay control value, the start time of the jth transmission time period of the physical bridge by using the following method:
determining the start time of the jth transit time period of the physical bridge to be: t3+ T4+ nT 5; wherein, T3 is the time when the start flag or the end flag of the transmission time period is received this time, T4 is the delay control value, T5 is the duration of the transmission time period, and n is an integer greater than or equal to 0.
In some exemplary embodiments, the marking information includes: transmitting a start mark of a service forwarding window of a time period; the first transmission time period determining module 1001 is specifically configured to determine, according to the time when the marking information of the ith transmission time period of the physical bridge is received this time and the delay control value, the start time of the jth transmission time period of the physical bridge by using the following method:
determining the starting time of the service forwarding window of the jth transmission time period of the physical bridge as follows: t6+ T4+ nT 5; wherein, T6 is the time when the start marker of the service forwarding window is received this time, T4 is a delay control value, T5 is the duration of the transmission time period, and n is an integer greater than or equal to 0.
In some exemplary embodiments, the marking information includes: transmitting an end marker of a service forwarding window of a time period; the first transmission time period determining module 1001 is specifically configured to determine, according to the time when the marking information of the ith transmission time period of the physical bridge is received this time and the delay control value, the start time of the jth transmission time period of the physical bridge by using the following method:
determining the start time of the service forwarding window of the jth transmission time period of the physical bridge as follows: t7+ T4+ T8+ nT 5; wherein, T7 is the time when the end marker of the service forwarding window is received this time, T4 is a delay control value, T8 is the duration of the protection gap in the transmission time period, T5 is the duration of the transmission time period, and n is an integer greater than or equal to 0.
In some exemplary embodiments, the marking information further comprises at least one of:
and transmitting a period identifier and a service identifier of the time period.
In some exemplary embodiments, the deterministic traffic packets that need to be forwarded within the same transmission time period include:
receiving a deterministic service message in a time period between two adjacent times of receiving the marking information;
or, the deterministic service messages including the same transmission time period identifiers;
or, two deterministic traffic packets comprising the same cycle identity, and all deterministic traffic packets received between the time of receiving two deterministic traffic packets comprising the same cycle identity.
The specific implementation process of the deterministic traffic flow transmitting apparatus is the same as that of the deterministic traffic flow transmitting method in the foregoing embodiment, and is not described here again.
Fig. 11 is a block diagram of another deterministic traffic stream forwarding apparatus according to an embodiment of the present disclosure.
In a sixth aspect, referring to fig. 11, an embodiment of the present disclosure provides another deterministic traffic flow transmission apparatus, which may be disposed at a node that needs to perform periodic alignment in the above-described manner eight.
The device includes:
a second transmission time period determining module 1101, configured to determine a starting position of a jth transmission time period of the physical bridge according to the time when the marking information of the ith transmission time period of the physical bridge is received this time; wherein i, j is an integer greater than or equal to 1;
a second service packet forwarding module 1102, configured to forward, in a jth transmission time period of the physical bridge, a deterministic service packet that needs to be forwarded in the same transmission time period according to an initial position of the jth transmission time period.
In some exemplary embodiments, the second transmission time period determining module 1101 is further configured to:
and acquiring the time of receiving the marking information.
In some exemplary embodiments, the second transmission time period determining module 1101 is specifically configured to implement the following method to obtain the time of receiving the tag information this time:
judging whether the gap content received this time contains mark information;
and if the gap content received this time contains the marking information, determining the time of receiving the marking information this time as the time of receiving the gap content this time.
In some exemplary embodiments, the second transmission time period determining module 1101 is specifically configured to implement the following method to obtain the time of receiving the tag information this time:
judging whether the received deterministic service message or the mark message contains mark information or not;
and if the received deterministic service message or the mark message contains mark information, determining the time of receiving the mark information as the time of receiving the deterministic service message or the mark message.
In some exemplary embodiments, the marking information includes: transmitting a start marker or an end marker of a time period; the second transmission time period determining module 1101 is specifically configured to determine the starting position of the jth transmission time period of the physical bridge according to the time when the marking information of the ith transmission time period of the physical bridge is received this time in the following manner:
determining the starting position of the jth transmission time period of the physical bridge as: t3+ nT 5; where T3 is the time when the start flag or the end flag of the transmission time period is received this time, T5 is the duration of the transmission time period, and n is an integer greater than or equal to 0.
In some exemplary embodiments, the marking information includes: transmitting a start mark of a service forwarding window of a time period; the second sending time period determining module 1101 is specifically configured to implement the following steps of determining the starting position of the jth transmission time period of the physical bridge according to the time of the received marking information of the ith transmission time period of the physical bridge, where the time is:
determining the starting position of the service forwarding window of the jth transmission time period of the physical bridge as follows: t6+ nT 5; wherein, T6 is the time of receiving the start mark of the service forwarding window this time, T5 is the duration of the transmission time period, and n is an integer greater than or equal to 0.
In some exemplary embodiments, the marking information includes: transmitting an end marker of a service forwarding window of a time period; the second transmission time period determining module 1101 is specifically configured to determine the starting position of the jth transmission time period of the physical bridge according to the time when the marking information of the ith transmission time period of the physical bridge is received this time in the following manner:
determining the starting position of a service forwarding window of the ith transmission time period of the physical bridge as follows: t7+ T8+ nT 5; wherein, T7 is the time of receiving the end marker of the service forwarding window this time, T8 is the duration of the protection gap of the transmission time period, T5 is the duration of the transmission time period, and n is an integer greater than or equal to 0.
In some exemplary embodiments, the marking information further comprises at least one of:
and transmitting a period identifier and a service identifier of the time period.
In some exemplary embodiments, the deterministic traffic packets that need to be forwarded within the same transmission time period include:
receiving a deterministic service message in a time period between two adjacent times of receiving the marking information;
or, the deterministic service messages including the same transmission time period identifiers;
or, two deterministic traffic packets comprising the same cycle identity, and all deterministic traffic packets received between the time of receiving two deterministic traffic packets comprising the same cycle identity.
The specific implementation process of the deterministic traffic flow transmitting apparatus is the same as that of the deterministic traffic flow transmitting method in the foregoing embodiment, and is not described here again.
It will be understood by those of ordinary skill in the art that all or some of the steps of the methods, systems, functional modules/units in the devices disclosed above may be implemented as software, firmware, hardware, or suitable combinations thereof. In a hardware implementation, the division between functional modules/units mentioned in the above description does not necessarily correspond to the division of physical components; for example, one physical component may have multiple functions, or one function or step may be performed by several physical components in cooperation. Some or all of the physical components may be implemented as software executed by a processor, such as a central processing unit, digital signal processor, or microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit. Such software may be distributed on computer readable media, which may include computer storage media (or non-transitory media) and communication media (or transitory media). The term computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data, as is well known to those of ordinary skill in the art. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, Digital Versatile Disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can be accessed by the computer. In addition, communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media as is well known to those skilled in the art.
Example embodiments have been disclosed herein, and although specific terms are employed, they are used and should be interpreted in a generic and descriptive sense only and not for purposes of limitation. In some instances, features, characteristics and/or elements described in connection with a particular embodiment may be used alone or in combination with features, characteristics and/or elements described in connection with other embodiments, unless expressly stated otherwise, as would be apparent to one skilled in the art. Accordingly, it will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the scope of the disclosure as set forth in the appended claims.

Claims (17)

1. A deterministic traffic streaming method applied to a node requiring periodic start time alignment and periodic alignment in a virtual bridge or a logical bridge, the method comprising:
determining the starting time of the jth transmission time period of the physical network bridge according to the time of receiving the marking information of the ith transmission time period of the physical network bridge and the time delay control value of the virtual network bridge; the delay control value is used for performing delay control on the virtual network bridge, so that the total delay of the virtual network bridge for forwarding the deterministic service message is an integral multiple of the transmission time period; i, j are integers greater than or equal to 2;
and forwarding the deterministic service message which needs to be forwarded in the same transmission time period in the jth transmission time period according to the starting time of the jth transmission time period.
2. The method of claim 1, wherein the method further comprises, before determining the start time of the jth transmission time period of the physical bridge according to the time and the delay control value of the current time of receiving the marking information of the ith transmission time period of the physical bridge, the method further comprises:
and acquiring the time of receiving the marking information.
3. The method according to claim 2, wherein the obtaining of the time when the tag information is received this time comprises:
judging whether gap content received in a protection gap of the ith transmission time period contains the mark information or not;
if the gap content received in the protection gap of the ith transmission time period comprises the marking information, determining that the time of receiving the marking information is the time of receiving the gap content in the protection gap of the ith transmission time period.
4. The method according to claim 2, wherein the obtaining of the time when the tag information is received this time comprises:
judging whether the deterministic service message or the mark message received this time contains the mark information;
if the deterministic service message or the marking message received this time contains the marking information, determining the time of receiving the marking information as the time of receiving the deterministic service message or the marking message this time.
5. The method of any of claims 1-4, wherein the latency control value is any one of:
(D T1 +D J1 ) The remainder of/C;
(D T2 +D J2 ) The remainder of/C;
(D T1 +D J2 ) The remainder of/C;
D T1 the remainder of/C;
D T2 the remainder of/C;
wherein D is T1 Transmission delay of the deterministic service packet for the forwarding path of the virtual bridge, D J1 The delay introduced for jitter control of the virtual bridge, C being the transfer time period, D T2 A transmission delay of said deterministic traffic packet for a forwarding path of a node in said virtual bridge, D J2 A time delay introduced for jitter control of a node in the virtual bridge.
6. The method of any of claims 1-4, wherein the labeling information comprises: a start marker or an end marker of the transmission time period; the determining the starting time of the jth transmission time period of the physical bridge according to the time of receiving the marking information of the ith transmission time period of the physical bridge and the time delay control value comprises the following steps:
determining a start time of a jth of the transfer time periods of the physical bridge as: t3+ T4+ nT 5; wherein T3 is the time when the start flag or the end flag of the transmission time period is received this time, T4 is the delay control value, T5 is the duration of the transmission time period, and n is an integer greater than or equal to 0.
7. The method of any of claims 1-4, wherein the labeling information comprises: a start marker of a service forwarding window of the transmission time period; the determining the starting time of the jth transmission time period of the physical bridge according to the time of receiving the marking information of the ith transmission time period of the physical bridge and the time delay control value comprises the following steps:
determining a start time of a traffic forwarding window of a jth of the transmission time period of the physical bridge as: t6+ T4+ nT 5; wherein, T6 is the time when the start marker of the service forwarding window is received this time, T4 is the delay control value, T5 is the duration of the transmission time period, and n is an integer greater than or equal to 0.
8. The method of any of claims 1-4, wherein the labeling information comprises: an end marker of a service forwarding window of the transmission time period; the determining the starting time of the jth transmission time period of the physical bridge according to the time of receiving the marking information of the ith transmission time period of the physical bridge and the time delay control value comprises the following steps:
determining a start time of a traffic forwarding window of a jth of the transmission time period of the physical bridge as: t7+ T4+ T8+ nT 5; wherein, T7 is the time when the end marker of the service forwarding window is received this time, T4 is the delay control value, T8 is the duration of the protection gap in the transmission time period, T5 is the duration of the transmission time period, and n is an integer greater than or equal to 0.
9. The method of claim 8, the tagging information further comprising at least one of:
and the period identifier and the service identifier of the transmission time period.
10. The method according to any of claims 1-4, wherein the deterministic traffic packets that need to be forwarded within the same transmission time period comprise:
receiving a deterministic service message in a time period between two adjacent times of receiving the marking information;
or, the deterministic service messages including the same transmission time period identifiers;
or, two deterministic traffic packets comprising the same cycle identity, and all deterministic traffic packets received between the time of receiving two deterministic traffic packets comprising the same cycle identity.
11. A deterministic traffic flow transmission method is applied to nodes needing period alignment in a virtual bridge or a logical bridge, and comprises the following steps:
determining the starting position of the jth transmission time period of the physical network bridge according to the time of receiving the marking information of the ith transmission time period of the physical network bridge; wherein i, j is an integer greater than or equal to 1;
and forwarding the deterministic service message which needs to be forwarded in the same transmission time period in the jth transmission time period according to the starting position of the jth transmission time period of the physical bridge.
12. The method of claim 11, wherein the tagging information comprises: a start marker or an end marker of the transfer time period; the determining the starting position of the jth transmission time period of the physical bridge according to the time of receiving the marking information of the ith transmission time period of the physical bridge comprises:
determining a starting location of a jth of said transmission time periods of said physical bridges as: t3+ nT 5; wherein, T3 is the time when the start flag or the end flag of the transmission time period is received this time, T5 is the duration of the transmission time period, and n is an integer greater than or equal to 0.
13. The method of claim 11, wherein the tagging information comprises: a start marker of a service forwarding window of the transmission time period; the determining the starting position of the jth transmission time period of the physical bridge according to the time of the received marking information of the ith transmission time period of the physical bridge comprises:
determining the starting position of the service forwarding window of the jth transmission time period of the physical bridge as: t6+ nT 5; wherein, T6 is the time when the start marker of the service forwarding window is received this time, T5 is the duration of the transmission time period, and n is an integer greater than or equal to 0.
14. The method of claim 11, wherein the tagging information comprises: an end marker of a service forwarding window of the transmission time period; the determining the starting position of the jth transmission time period of the physical bridge according to the time of receiving the marking information of the ith transmission time period of the physical bridge comprises:
determining the starting position of the service forwarding window of the ith transmission time period of the physical bridge as follows: t7+ T8+ nT 5; wherein, T7 is the time when the end marker of the service forwarding window is received this time, T8 is the duration of the protection gap of the transmission time period, T5 is the duration of the transmission time period, and n is an integer greater than or equal to 0.
15. The method of claim 11, wherein the deterministic traffic packets that need to be forwarded within the same transmission time period comprise:
receiving a deterministic service message in a time period between two adjacent times of receiving the marking information;
or, the deterministic service messages including the same transmission time period identifier;
or, two deterministic traffic packets comprising the same cycle identity, and all deterministic traffic packets received between the time of receiving two deterministic traffic packets comprising the same cycle identity.
16. An electronic device, comprising:
at least one processor;
memory having stored thereon at least one program which, when executed by the at least one processor, causes the at least one processor to implement the deterministic traffic streaming method according to any of claims 1-15.
17. A computer-readable storage medium, having stored thereon a computer program which, when being executed by a processor, carries out the method of deterministic traffic streaming according to any of the claims 1-15.
CN202010497519.0A 2020-06-03 2020-06-03 Deterministic traffic flow transmission method and device, electronic equipment and storage medium Active CN112787953B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010497519.0A CN112787953B (en) 2020-06-03 2020-06-03 Deterministic traffic flow transmission method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010497519.0A CN112787953B (en) 2020-06-03 2020-06-03 Deterministic traffic flow transmission method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN112787953A CN112787953A (en) 2021-05-11
CN112787953B true CN112787953B (en) 2022-09-02

Family

ID=75749178

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010497519.0A Active CN112787953B (en) 2020-06-03 2020-06-03 Deterministic traffic flow transmission method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112787953B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114726805B (en) * 2022-03-28 2023-11-03 新华三技术有限公司 Message processing method and device

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111200846A (en) * 2018-11-19 2020-05-26 华为技术有限公司 Time delay sensitive network communication method and device thereof

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112042159B (en) * 2018-02-28 2024-01-16 诺基亚技术有限公司 Transparent integration of 3GPP networks into TSN industrial networks
CN110545241B (en) * 2018-05-28 2022-05-17 华为技术有限公司 Message processing method and device
WO2020036911A1 (en) * 2018-08-14 2020-02-20 Nokia Technologies Oy Signalling of deterministic system capabilities depending on absolute transmission time (tsn, detnet, etc.)
CN116867087A (en) * 2018-09-27 2023-10-10 中兴通讯股份有限公司 Service transmission method and device
US11930392B2 (en) * 2018-11-20 2024-03-12 Nokia Technologies Oy Latency-bounded packet delivery in mobile communication system
CN109890082B (en) * 2019-03-08 2022-05-24 中国航空工业集团公司洛阳电光设备研究所 Time-triggered TT frame message transmission method

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111200846A (en) * 2018-11-19 2020-05-26 华为技术有限公司 Time delay sensitive network communication method and device thereof

Also Published As

Publication number Publication date
CN112787953A (en) 2021-05-11

Similar Documents

Publication Publication Date Title
EP3468123B1 (en) Method and device for use in processing low-latency traffic
KR102071439B1 (en) Method and network node for obtaining the target transmission path
CN106803814B (en) Method, device and system for establishing flexible Ethernet path
Kramer et al. Supporting differentiated classes of service in Ethernet passive optical networks
CN102143052B (en) Method, equipment and system for lossless bandwidth
US11722407B2 (en) Packet processing method and apparatus
US8989019B2 (en) Transmission system, managing computer, and logical path construction method
US20120106560A1 (en) Inter-domain routing in an n-ary-tree and source-routing based communication framework
EP2135393B1 (en) Ethernet spanning tree provision
US20230388215A1 (en) Network control method and device
CN116711287A (en) Circular Queue and Forwarding (CQF) segmentation
CN107070815B (en) Synchronous message queuing delay control method and device in SDN network
CN112787953B (en) Deterministic traffic flow transmission method and device, electronic equipment and storage medium
Amari et al. AeroRing: Avionics full duplex ethernet ring with high availability and QoS management
US20090003329A1 (en) Repeater, Communication System, Control Circuit, Connector, and Computer Program
CN114221912B (en) Time-sensitive network access method for non-periodic time-triggered service flow
US20240048502A1 (en) Packet forwarding method, electronic device, and storage medium
CN102362468A (en) Routing device, communications system, and routing method
CN114301852A (en) Message transmission control, generation and transmission method, configuration method, equipment and medium
CN108092866B (en) Method, equipment and system for switching tunnel
CN116233031B (en) Implementation method of time-sensitive network switch model
JP2018088577A (en) Communication device
Heidinger et al. Quality of service IP cabin infrastructure
JP6281338B2 (en) Transmission apparatus and transmission method
CN116938719A (en) Deterministic service method, equipment and medium for realizing network bottom layer resource perception

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