Message forwarding method, device, system, equipment and storage medium
By encapsulating TSN-profile information in SRv6 SRH in DetNet SRv6 network, the problem that the service consistent with the TSN network is not available in the DetNet SRv6 network is solved, and a consistent TSN policy processing is achieved for deterministic service flows within the SRv6 network. , ensuring transmission quality.
Patent Information
- Application Number
- CN202010449905.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-05-25
- Publication Date
- 2024-12-03
- Estimated Expiration
- 2040-05-25
AI Technical Summary
In the DetNet SRv6 network, it is impossible to provide services consistent with those in the TSN network for deterministic service flows, because the DetNet SRv6 packets do not carry TSN policy information related to TSN traffic, resulting in the forwarding nodes within the SRv6 domain being unable to obtain the current DetNet SRv6 service flow TSN policy information.
By extending the SRv6 capabilities, the TSN-profile information that needs to be announced to each node in the SRH of SRv6 is encapsulated and carried by the TSN-profile information that needs to be announced to each node. This information is transmitted with the DetNet SRv6 service message. Each node within the DetNet SRv6 network extracts and Analyze the TSN-profile information carried in the SRH, and obtain the TSN policies that each node needs to impose on the message, so as to advertise and transmit TSN information in SRv6.
It realizes the service consistent with the TSN requirements for the encapsulated DetNet packets within the SRv6 network, ensuring the transmission quality of deterministic service flows.
Smart Images

Figure CN113726657B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of communication technology, and in particular to a message forwarding method, apparatus, system, device and storage medium. Background Art
[0002] Time Sensitive Networking (TSN) provides Ethernet transmission services with bounded latency, lower jitter, and extremely low packet loss rate by providing TSN services in Layer 2 bridged networks. Deterministic Networking (DetNet) can be used to provide deterministic services for DetNet services in Layer 3 networks, and to carry DetNet information by extending the SRH (Segment Routing Header) of the Internet Protocol Version 6 (SRv6).
[0003] When using DetNet SRv6 to connect TSN local network domains, the edge nodes of the SRv6 domain can identify TSN service flows and convert them into DetNet SRv6 service flows, but cannot provide services consistent with the requirements in the TSN network for the DetNet services within the SRv6 network. Summary of the invention
[0004] The present application provides a message forwarding method, apparatus, system, device and storage medium, which can provide services consistent with the requirements in the TSN network for deterministic business flows within the SRv6 network.
[0005] In a first aspect, an embodiment of the present application provides a message forwarding method, including: carrying time-sensitive network TSN policy information in a segment routing header of an Internet Protocol version 6 segment routing SRv6 service message of a deterministic network; and sending an SRv6 service message carrying the TSN policy information.
[0006] In a second aspect, an embodiment of the present application provides a message forwarding method, including: obtaining time-sensitive network TSN policy information carried in the segment routing header from the segment routing header of the Internet Protocol version 6 segment routing SRv6 service message of the received deterministic network; and processing the message according to the TSN policy information.
[0007] In a third aspect, an embodiment of the present application provides a message forwarding method, including: a first node device carries time-sensitive network TSN policy information in a segment routing header of an Internet Protocol version 6 segment routing SRv6 service message of a deterministic network, and sends an SRv6 service message carrying the TSN policy information; a second node device obtains the time-sensitive network TSN policy information carried in the segment routing header from the segment routing header of the received SRv6 service message of the deterministic network, and processes the message according to the TSN policy information.
[0008] In a fourth aspect, an embodiment of the present application provides a first node device, including: a message encapsulation module, used to carry time-sensitive network TSN policy information in the segment routing header of the Internet Protocol version 6 segment routing SRv6 service message of the deterministic network; a message sending module, used to send the SRv6 service message carrying the TSN policy information.
[0009] In a fifth aspect, an embodiment of the present application provides a second node device, including: a policy acquisition module, used to obtain the time-sensitive network TSN policy information carried in the segment routing header from the segment routing header of the Internet Protocol version 6 segment routing SRv6 service message of the received deterministic network; a message processing module, used to process the message according to the TSN policy information.
[0010] In a sixth aspect, an embodiment of the present application provides a message forwarding system, including: a first node device, used to carry time-sensitive network TSN policy information in a segment routing header of an Internet Protocol version 6 segment routing SRv6 service message of a deterministic network, and send an SRv6 service message carrying the TSN policy information; a second node device, used to obtain the time-sensitive network TSN policy information carried in the segment routing header from the segment routing header of the received SRv6 service message of the deterministic network, and perform message processing according to the TSN policy information.
[0011] In the seventh aspect, an embodiment of the present application provides a message forwarding device, characterized in that it includes a memory and a processor; the memory is used to store programs; the processor is used to read the executable program code stored in the memory to execute any aspect of the message forwarding method.
[0012] In an eighth aspect, an embodiment of the present application provides a computer-readable storage medium, in which instructions are stored. When the instructions are executed on a computer, the computer executes the message forwarding method of any of the above aspects.
[0013] According to the message forwarding method, apparatus, system, device and storage medium of the embodiments of the present application, by extending the capabilities of SRv6, TSN-profile information that needs to be notified to each node is encapsulated in the SRv6 SRH, and the information is transmitted together with the DetNetSRv6 service message; when receiving the message, each node inside the DetNet SRv6 network extracts and parses the TSN-profile information carried in the SRH, so as to learn the TSN policy that each node needs to apply to the message, thereby notifying and transmitting the TSN information in SRv6, and providing services consistent with TSN requirements for the encapsulated DetNet packets through the nodes in the SRv6 domain.
[0014] With regard to the above embodiments and other aspects of the present application and their implementation, further description is provided in the accompanying drawings, detailed description and claims. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] Figure 1 A schematic diagram showing a scenario of TSN local network domain connection via DetNet SRv6;
[0016] Figure 2 is a flow chart showing a message forwarding method according to an embodiment of the present application;
[0017] Figure 3a This is a schematic diagram of a TSN strategy information TLV format encoding method according to an embodiment of the present application;
[0018] Figure 3b This is a schematic diagram of a TSN strategy information TLV format encoding method according to another embodiment of the present application;
[0019] Figure 4 A schematic diagram showing a process of an SRv6 ingress edge node processing a TSN service message according to an embodiment of the present application is shown;
[0020] Figure 5 A schematic diagram of an existing SRv6 SRH message header format in one embodiment is shown;
[0021] Figure 6a A schematic diagram of a message structure for carrying TSN policy information by extending a variable-length TLV field according to an embodiment of the present application is shown;
[0022] Figure 6b A schematic diagram showing a message structure of carrying TSN policy information by extending a variable-length TLV field according to another embodiment;
[0023] Figure 7 A schematic diagram of a message structure in which TSN policy information is carried through a segment identifier SID field of a non-forwarding type SRv6 according to an embodiment of the present application is shown;
[0024] Figure 8 A schematic diagram of a message structure in which TSN policy information is carried through the segment identifier SID field of the existing forwarding type SRv6 according to an embodiment of the present application is shown;
[0025] Fig. 9 A schematic diagram showing a flow chart of a message forwarding method according to another embodiment of the present application;
[0026] Fig.10 A schematic diagram showing a flow chart of a message forwarding method according to another embodiment of the present application;
[0027] Fig.11 A schematic diagram of the structure of a first node device provided according to an embodiment of the present application is shown;
[0028] Fig.12 A schematic diagram of the structure of a second node device provided according to an embodiment of the present application is shown;
[0029] Fig.13 A schematic diagram of the structure of a message forwarding node system provided according to an embodiment of the present application is shown;
[0030] Fig.14 It is a structural diagram showing an exemplary hardware architecture of a computing device capable of implementing the message forwarding method and apparatus according to an embodiment of the present application. DETAILED DESCRIPTION
[0031] In order to make the purpose, technical solution and advantages of the present application more clear, the embodiments of the present application will be described in detail below with reference to the accompanying drawings. It should be noted that the embodiments and features in the embodiments of the present application can be combined with each other arbitrarily without conflict.
[0032] The Institute of Electrical and Electronics Engineers (IEEE) 802.1Q standard Time Sensitive Networking (TSN) working group proposed various methods and mechanisms to provide bounded latency, jitter and extremely low packet loss rate for TSN services in Layer 2 bridged networks, such as traffic scheduling (IEEE8021Qbv), per-stream filtering (IEEE 8021Qci), and circular queue forwarding (IEEE 8021Qch). These methods and mechanisms can be flexibly combined to meet the needs of TSN services under specific scenarios and requirements. The configuration and application of network nodes to provide TSN service services in a certain application scenario is called TSN policy information (TSN-profile).
[0033] The Internet Engineering Task Force (IETF) is working on the deterministic network working group to solve various problems in providing deterministic services for DetNet services in a three-layer network. Some drafts propose methods for DetNet SRv6 encapsulation in SRv6 (Segment Routing for IPv6) networks by extending the SRH of SRv6 to carry DetNet information. Based on this, the DetNet working group further proposed methods for TSN local area network domain connection (TSN over DetNet SRv6) in other drafts.
[0034] Figure 1 Figure 2 shows a schematic diagram of a TSN local network domain connection via DetNet SRv6. Figure 1 As shown, the TSN local area network domain may be a TSN simulation network domain.
[0035] This scenario includes two TSN service flows, one of which is a service flow transmitted from TSN device A to TSN device C, and the other is a service flow transmitted from TSN device B to TSN device D.
[0036] exist Figure 1 In the figure, the service flow (service flow 1) transmitted from TSN device A to TSN device C is forwarded by the inbound edge node device 01, forwarding node device 02, transparent transmission node device 03, relay node device 04 and outbound edge node device 05 in the SRv6 domain, and reaches TSN device C; the service flow (service flow 2) transmitted from TSN device B to TSN device D is forwarded by the inbound edge node device 01, forwarding node device 02, transparent transmission node device 03, relay node device 04 and outbound edge node device 05 in the SRv6 domain, and reaches TSN device C.
[0037] Figure 1 The types and quantities of node devices within the SRv6 domain shown are merely illustrative and should not be construed as limiting the scope of protection of the present application. Moreover, for the sake of simplicity of description, in the following embodiments, the node devices in the TSN local area network domain may be referred to as nodes. For example, the inbound edge node device may be referred to as the inbound edge node, and the forwarding node device 02, the transparent transmission node device 03, and the relay node device 04 may be referred to as the forwarding node, the transparent transmission node, and the relay node.
[0038] exist Figure 1In the example, the controller (not shown) or the network management device sends the DetNet SRv6 policy information to the SRv6 ingress edge node, and the SRv6 ingress edge node needs to identify the TSN service flow and convert the identified TSN service flow into the DetNet SRv6 service flow. Specifically, the SRv6 ingress edge node can identify the TSN service flow, map it with the DetNet SRv6 segmented routing header (SRH), and indicate the copy flow identification ID and message sequence number (Sequence Number) strategy.
[0039] In the embodiment of the present application, the forwarding nodes and relay nodes within the SRv6 domain also need to be able to identify the DetNet service flow and provide the DetNet service flow with the required deterministic services. However, in the scenario of TSN local area network domain connection through DetNet SRv6, since the DetNet SRv6 message does not carry TSN policy information related to TSN traffic. Therefore, the forwarding nodes within the SRv6 domain cannot obtain the TSN policy information carried by the current DetNet SRv6 service flow, and thus cannot provide the service sublayer and transport sublayer services that are consistent with the requirements in the TSN network for the deterministic service flow.
[0040] exist Figure 1 In the example, if the two TSN service flows received by the ingress edge node of the DetNet SRv6 network have different application scenarios and service requirements, the internal forwarding nodes of the SRv6 network domain need to provide corresponding TSN service services for the two service flows, such as different gating strategies, traffic shaping and congestion protection.
[0041] Figure 2 is a flow chart showing a message forwarding method according to an embodiment of the present application. Figure 2 As shown, the message forwarding method in the embodiment of the present application can be applied to the first node device, and the method can include the following steps.
[0042] Step S110, carrying time-sensitive network TSN policy information in a segment routing header of an Internet Protocol version 6 segment routing SRv6 service message of a deterministic network.
[0043] Step S120: Send an SRv6 service message carrying TSN policy information.
[0044] In the embodiment of the present application, the first node device may be an inbound edge node device. The node device may be a router or a switch, or a forwarder under a network architecture of a software defined network (SDN).
[0045] According to the message forwarding method of the embodiment of the present application, the capability of SRv6 can be extended, and the inbound edge node device carries the TSN policy information that needs to be notified to each node device in the segment routing header of the SRv6 message, and sends the DetNet SRv6 service message carrying the TSN policy information. Thus, when each node device in the DetNet SRv6 network receives the message, it can extract and parse the TSN policy information carried in the SRH to obtain the TSN policy that each node device needs to apply to the message.
[0046] In one embodiment, the TSN policy information that can be transmitted includes, but is not limited to, one or more of the following policy information items in different application scenarios:
[0047] TSN strategy applied to IEEE standard P802.1CM-2018, Time-Sensitive Networking for Fronthaul application scenario;
[0048] TSN strategy information for industrial automation application scenarios (TSN-Profile For Industrial Automation) applied to the International Electrotechnical Commission (IEC) / IEEE standard 60802;
[0049] Applied to IEEE standard P802.1DC, TSN policy information in the service quality application scenario provided by the network system (TSN-profile For Quality of Service Provision by Network Systems);
[0050] Applied to IEEE standard P802.1DF, TSN policy information in service provider network application scenarios (ProfileFor Service Provider Networks);
[0051] Applied to IEEE standard P802.1DG, TSN-Profile for Automotive In-Vehicle Ethernet Communications; and,
[0052] Applied to IEEE standard P802.1CM, Enhancements to Fronthaul Profiles to Support New Fronthaul Interface, Synchronization, and Syntonization Standards TSN policy information in application scenarios.
[0053] The TSN policy information in different application scenarios in the above examples can be understood as a general description of the TSN policy information in each application scenario. According to the transmitted service flow category and service flow characteristics, the TSN policy information can be subdivided into specific policy information, and each specific policy information can be composed of a set of specific forwarding actions and policies.
[0054] As a specific example, taking the TSN policy information applied to the standard P802.1DG, automotive in-vehicle Ethernet communication application scenario as an example, the TSN policy information may include multiple specific policy information, for example, the audio system policy information (Profile for Audio Systems), video system policy information (Profile for Vedio Systems) or control system policy information (Profile for Control Systems) listed in the standard P802.1DG protocol draft and other specific policy information.
[0055] In one embodiment, step S110 may specifically include: S10, determining TSN policy information according to a service flow category and / or service flow characteristics of a predetermined message, wherein the predetermined message is a received TSN service message, or an SRv6 service message obtained after flow mapping processing is performed on the TSN service message; S20, carrying the TSN policy information in a segment routing header in a type-length-value TLV format.
[0056] The type field in the TLV format is used to indicate the type of TSN policy information, and the value field in the TLV format is used to indicate the TSN policy information in each predetermined application scenario.
[0057] In this embodiment, the predetermined message may be TSN policy information determined according to the characteristics of the incoming TSN message of the first node device, or according to the characteristics of the SRv6 message after the TSN message is mapped.
[0058] In one embodiment, the service flow category can be used to indicate the category to which the service flow belongs. The category to which the service flow belongs includes but is not limited to: audio and video services, industrial control services, automobile control services, etc.
[0059] In one embodiment, the service flow feature may include a service flow ID. For example, within a DetNet SRv6 network, a service flow ID (DetNet Flow-id) of a deterministic network may be used to uniquely identify a deterministic network service flow. The service flow feature may be carried in an SRv6 header.
[0060] In one embodiment, the value of the value field is the TSN policy information under the predetermined application scenario; or, the value field includes a scenario identification field and a specific policy field; wherein the scenario identification field is used to identify the predetermined application scenario, and the specific policy field is used to identify the TSN policy information corresponding to the predetermined application scenario.
[0061] In this embodiment, the TSN policy information may be encoded in a TLV format. In the TLV format encoding, a type value may be assigned to indicate that the TLV is a TSN policy information type, and a value value may be used to specify a specific profile in each scenario.
[0062] Below through Figure 3a and Figure 3b , describing two encoding methods of TSN policy information in TLV format in an embodiment of the present application. Figure 3a This is a schematic diagram of a TSN strategy information TLV format encoding method according to an embodiment of the present application; Figure 3b This is a schematic diagram of a TSN policy information TLV format encoding method according to another embodiment of the present application.
[0063] like Figure 3a As shown, the TSN policy information is encoded into a type-length-value (Type, Length, Value, TLV) format. The TLV-profile Type in the TLV format indicates the TSN policy information type, the value of the length Length is used to indicate the length of the TSN policy information, and the value of the Value field corresponds one-to-one to the specific profile in each application scenario.
[0064] As an example, in the TLV format of TSN policy information, the length of the Type field can be, for example, 1 octet, and Type=3 is assigned; the length of the Length field can be, for example, 1 octet, and the value is 2, indicating that the Value field occupies 2 octets. The Value field corresponds to the specific profile in each scenario.
[0065] Reference Figure 3aIn the TLV encoding format, as a specific example, value=1 may refer to the audio system policy information (Profile for Audio Systems) in the standard P802.1DG application scenario; wherein the standard P802.1DG is used to identify the application scenario, and the Profile for Audio Systems identifies a specific configuration information commonly used in the application.
[0066] As another specific example, Figure 3a The value=2 in the example may refer to the video system policy information (Profile for Vedio Systems) applied to the standard P802.1DG application scenario;
[0067] Value=3 may refer to, for example, control system strategy information (Profile for Control Systems) of a standard P802.1DG application scenario;
[0068] value=4 may refer to the first configuration information profile1 of the standard P802.1DF application scenario; and
[0069] Value=5 may refer to the second configuration information profile2 of the standard P802.1DF application scenario, wherein profile1 is different from profile2.
[0070] It should be understood that the above-mentioned value field value is not limited to the above-mentioned example. In practical applications, the value field value can be set according to actual needs, and the embodiments of the present application do not make specific limitations.
[0071] like Figure 3b As shown, the TSN policy information is encoded in TLV format, where the value field can be divided into two parts: the scenario identifier (SCENERIO) field and the specific policy (SPECIFIED) field. The SCENERIO field is used to specify the application scenario of the TSN policy information, and the SPECIFIED field is used to specify the specific policy information under the application scenario. The combination of the values of the two fields can uniquely determine the specific policy information under a certain application scenario.
[0072] As an example, the value field length is 2 octets, and SCENERIO and SPECIFIED each occupy 1 octet. As a specific example, SCENERIO and SPECIFIED in the value field length are expressed in the format of "SCENERIO: SPECIFIED".
[0073] Reference Figure 3bIn the TLV encoding format, as a specific example, value=1:1 can represent the audio system policy information (Profile for Audio Systems) in the standard P802.1DG application scenario.
[0074] As another specific example, Figure 3b The value = 1:2 refers to the video system policy information (Profile for Vedio Systems) in the standard P802.1DG application scenario.
[0075] value=1:3, refers to the control system strategy information (Profile for Control Systems) in the standard P802.1DG application scenario; ...;
[0076] value=2:1, refers to the first configuration information profile1 in the application scenario in the standard P802.1DF application scenario;
[0077] value=2:2, refers to the second configuration information profile2 in the standard P802.1DF application scenario, where profile1 is different from profile2;
[0078] In the above Figure 3a and Figure 3b In the description, the formats, values and meanings of the TLVs in the TSN policy information listed are only for illustration and are not intended to limit the present application. In actual application, they can be set according to specific application scenarios and will not be described in detail here.
[0079] In one embodiment, step S110 may specifically include the following steps.
[0080] S21, performing flow matching and flow mapping processing on the header information of the received TSN service message to obtain the service flow identifier of the TSN service message, and to obtain the SRv6 service message of the deterministic network converted from the TSN service message.
[0081] S22, based on a preset mapping relationship between the service flow identifier and the TSN policy information, and according to the TSN service message, determine the TSN policy information corresponding to the service flow identifier.
[0082] S23, carrying predetermined deterministic service configuration information and TSN policy information in the segment routing header of the SRv6 service message of the deterministic network.
[0083] In this embodiment, the SRv6 ingress edge node processes the header information of the received TSN service message, and can maintain the mapping relationship between the service flow identification ID and the TSN policy information in the SRv6 ingress edge node. The mapping relationship can be obtained by the controller configuration or by the internal notification of the TSN bridge network domain, and the embodiment of the present application does not make specific limitations.
[0084] Figure 4 FIG. 1 is a flow chart showing a process of an SRv6 ingress edge node processing a TSN service message according to an embodiment of the present application. Figure 5 As shown, in one embodiment, the SRv6 ingress edge node processes the TSN service message, which may include the following steps.
[0085] S31, the SRv6 ingress edge node receives the TSN message.
[0086] S32, judging whether the flow matching and flow mapping processing of the TSN message is successful. If successful, executing step S33, if failed, executing step S36.
[0087] In this step, the flow matching of the TSN message may include: determining the service flow identifier of the TSN message according to the message attribute information and the flow matching rule. The flow matching rule may include the correspondence between the message attribute information and the service flow identifier, and the flow identifier may be used to identify the message including the message attribute information; the flow matching rule may be the rule information sent by the controller to the SRv6 ingress edge node, and in this step, the TSN service message may be converted into the SRv6 service message of the deterministic network through the flow mapping (conversion) processing.
[0088] Step S33: If the flow matching and flow mapping processing is successfully performed on the TSN message, the TSN policy information corresponding to the service flow identifier is searched according to the mapping relationship between the service flow identifier and the TSN policy information.
[0089] In this step, if the TSN policy information is successfully found, step S34 is executed; if the TSN policy information is not successfully found, step S35 is executed.
[0090] Step S34, carrying the DetNet information and TSN strategy information in the DetNet SRv6 message.
[0091] In this step, the DetNet information may be pre-acquired deterministic service configuration information corresponding to the deterministic service demand.
[0092] S35, the SRv6 ingress edge node sends the DetNet SRv6 message to other node devices in the SRv6 network domain.
[0093] S36: If the TSN policy information is not successfully found, the message forwarding process is performed according to the predetermined DetNet SRv6 message forwarding process.
[0094] In this embodiment, after receiving the TSN service message, the SRv6 ingress edge node performs flow matching and mapping according to the TSN message header to obtain the TSN message ID and the DetNet SRv6 service message; according to the TSN message ID, the preset message ID and TSN policy information table are searched to obtain the TSN-profile information corresponding to the TSN service flow. If the match or query fails, the original forwarding process is followed. If successful, the DetNet information and the TSN policy are encapsulated together into the DetNet SRv6 data packet, and the DetNetSRv6 data packet is forwarded.
[0095] In one embodiment, step S110 may specifically include the following steps.
[0096] S41, carrying optional type length value information in the segment routing header, the optional type length value information is used to carry TSN policy information; or, S42, carrying optional type length value information in the segment routing header, the optional type length value information is used to carry TSN policy information; or, S43, using other information field information of the SID of the forwarding type already in the segment routing header to carry TSN policy information.
[0097] Figure 5 FIG. 1 shows a schematic diagram of the existing SRv6 SRH message header format. Figure 5 As shown, the SRv6 SRH header includes the following fields.
[0098] Next Header, used to identify the type of header following the SRH;
[0099] Header extension length (Hdr Ext Len), the length of the SRH header, for example, the length of the segment list Segment List[0] to Segment List[n] in the SRH;
[0100] Routing Type, which identifies the routing header type;
[0101] Segment Left: the number of intermediate nodes that should be visited before reaching the destination node;
[0102] Last Entry, contains the index of the last element of the segment list in the segment list;
[0103] Data packet identification Flag;
[0104] The tag of the data packets in the same group is used to identify the data packets in the same group;
[0105] Location field Location and function field Function (segment list SegmentList[0] for relay node or edge node);
[0106] Segment List[n]; and variable-length Optional TLVs field.
[0107] exist Figure 5 When the SRH header shown carries TSN policy information, the SRH header can be extended in a variety of ways to carry TSN policy information through the DetNet SRv6 message. The following describes three ways of extending the SRH when carrying TSN policy information in the SRH of the SRv6 message in conjunction with the accompanying drawings. The specific extended message format can be found in the embodiments.
[0108] Figure 6a A schematic diagram of a message structure for carrying TSN policy information by extending a variable-length TLV field according to an embodiment of the present application is shown; Figure 6b A schematic diagram of a message structure for carrying TSN policy information by extending a variable-length TLV field according to another embodiment is shown.
[0109] like Figure 6a As shown, the TSN policy information can be carried through the variable-length TLV field of the SRv6 SRH, and the value field in the variable-length TLV field corresponds to a specific TSN policy information in a predetermined application scenario.
[0110] Take the audio system policy information (Profile for Audio Systems) in the P802.1DG application scenario as an example. Figure 6a In the example, Type=3 indicates the TSN policy information type, Length=2 indicates the length of the TSN policy information, and value=1 may indicate, for example, the audio system policy information (Profile for Audio Systems) in the standard P802.1DG application scenario.
[0111] like Figure 6b As shown, the TSN policy information can be carried through the variable-length TLV field of the SRv6 SRH, and the value field in the variable-length TLV field includes a scenario identifier (SCENERIO) field and a specific policy (SPECIFIED) field.
[0112] The field SCENERIO=1 indicates the standard P802.1DG application scenario, and the field SPECIFIED=1 indicates the audio system policy information (Profile for Audio Systems) in the standard P802.1DG application scenario.
[0113] exist Figure 6a and 6b In the embodiment, the TSN policy information is carried in the Optional TLVs field, and the Optional TLVs field may also include other TLVs, which are not specifically limited in the embodiment of the present application.
[0114] Figure 7 A schematic diagram of a message structure in which TSN policy information is carried through a segment identifier SID field of a non-forwarding type SRv6 according to an embodiment of the present application is shown.
[0115] exist Figure 7 In the SRv6 SRH, a non-forwarding TSN policy information segment identifier SID (TSN-profile SID) can be added. The TSN-profile SID can be located after Segment List[n] of the forwarding SID list, or before Segment List[0] of the SID list. The location of the TSN-profile SID does not affect the parsing and application of TSN-actions.
[0116] Figure 7 For the format and value of TSN policy information carried in TSN-profile SID, please refer to Figure 6a and 6b When the TSN policy information is carried by the Optional TLVs field, the TSN policy information format and the value of the TLV field. The embodiments of this application are not described in detail. In addition, the position of the TSN-profile SID listed in this embodiment in the SRH is only used as an example and should not be understood as limiting the scope of protection of this application.
[0117] Figure 8 A schematic diagram of a message structure in which TSN policy information is carried through the segment identifier SID field of the existing forwarding type SRv6 according to an embodiment of the present application is shown.
[0118] exist Figure 8 In the forwarding type SRv6, the SID includes a location identifier (Locator, LOC), a function (Function, FUNC) and variables (Args, ARG), and the SID of SRv6 can be expressed as LOC: FUNC: ARG.
[0119] Among them, LOC can be used to route and forward data packets, FUNC can be used to indicate the forwarding action performed by the device, and ARG can be used to provide functions that support other information. In the embodiment of the present application, TSN-profile information can be carried by ARG.
[0120] If there are two TSN policy information TSN-profile 1 and TSN-profile 2, where TSN-profile 1 TLV occupies 4 octets and TSN-profile 2 TLV occupies 6 octets, the two TSN-profiles are carried in the ARG as shown in the attached figure. Figure 8 shown.
[0121] It should be noted that the format of TSN-profile carried by ARG in the embodiment of the present application is not specifically limited. For example, whether the LOC & FUNC fields occupy 16 bits is not considered in the present application. The format and value of TSN-profile carried by ARG can be referred to Figure 6a and 6b When the TSN policy information is carried by the Optional TLVs field, the TSN policy information format and the value of the TLV field. Also, the number of TSN-profiles carried by ARG in the embodiments of the present application is only used as an example and should not be understood as limiting the scope of protection of the embodiments of the present application.
[0122] According to the message forwarding method of the embodiment of the present application, the capability of SRv6 can be extended, and the inbound edge node carries the TSN-profile information that needs to be notified to each node device in the SRv6 domain in the SRv6 SRH, and the information is transmitted together with the DetNetSRv6 service message. When receiving the message, each node inside the DetNet SRv6 network extracts and parses the TSN-profile information carried in the SRH, so as to learn the TSN strategy that each node needs to apply to the message, so that the forwarding nodes and relay nodes inside the SRv6 domain can provide service sublayer and transport sublayer services consistent with the requirements in the TSN network for deterministic service flows.
[0123] Fig. 9 A flow chart of a message forwarding method according to another embodiment of the present application is shown. The message forwarding method can be applied to a second device, which can be, for example, a node device in an SRv6 domain. Fig. 9 As shown, the message forwarding method may include the following steps.
[0124] S210, acquiring time-sensitive network TSN policy information carried in the segment routing header from the segment routing header of the received Internet Protocol version 6 segment routing SRv6 service message of the deterministic network.
[0125] S220: Process the message according to the TSN policy information.
[0126] In one embodiment, in step S210, the step of obtaining the TSN policy information carried by the segment routing header may specifically include the following steps.
[0127] S51, obtain TSN policy information through the optional type length value information carried in the segment routing header; or, S52, obtain TSN policy information through the non-forwarding type segment identifier SID carried in the segment routing header; or, S53, obtain TSN policy information using other information field information of the forwarding type SID already in the segment routing header.
[0128] In step S51, when a node in the DetNet SRv6 domain receives an extended DetNet SRv6 message and finds that the Optional TLVs are not empty, the Optional TLVs are parsed in sequence. If the type is the preset TSN-profile type, the message is processed in sequence according to the Type value and value in the Optional TLVs field.
[0129] In step S52, when a node in the DetNet SRv6 domain receives an extended DetNet SRv6 message, it processes the SID in sequence. If the SID type is a TSN-profile SID, the value of the SID is extracted to obtain the carried TSN-profile, and the message is extracted and processed in sequence according to the type and value values. The TSN-profile SID is a non-forwarding type segment identifier SID newly added in SRv6.
[0130] In step S53, the SRv6 SID can be expressed as LOC:FUNC:ARG, where ARG can be used to carry TSN-profile information. When the node processes the SIDs in the DetNet SRv6 message SRH in sequence, if the ARG content is not empty, the ARG content is extracted to obtain the TSN-profile TLV, and the message is processed according to the type and value in the TLV. In this step, the TSN-profile information is carried by extending the SRv6 SID itself.
[0131] In one embodiment, the TSN policy information is in a type-length-value TLV format, and the type field in the TLV format is used to indicate the type of the TSN policy information, and the value field in the TLV format is used to indicate the TSN policy information in each predetermined application scenario.
[0132] In one embodiment, the value of the value field is the TSN policy information under the predetermined application scenario; or, the value field includes a scenario identification field and a specific policy field; wherein the scenario identification field is used to identify the predetermined application scenario, and the specific policy field is used to identify the TSN policy information corresponding to the predetermined application scenario.
[0133] According to the message forwarding method of the embodiment of the present application, when a node in the DetNet SRv6 domain receives a DetNet SRv6 message, it extracts and parses the TSN-profile information carried in the SRH of the message, thereby obtaining the TSN policy that each node needs to apply to the message, and processes the message according to the TSN policy, thereby providing the service sublayer and transport sublayer services that are consistent with the requirements in the TSN network for the deterministic service flow within the SRv6 network.
[0134] Fig.10 A flow chart of a message forwarding method according to another embodiment of the present application is shown. The message forwarding method can be applied to a first forwarding device and a second forwarding device. The method comprises the following steps.
[0135] S310, the first node device carries time-sensitive network TSN policy information in a segment routing header of an Internet Protocol version 6 segment routing SRv6 service message of a deterministic network, and sends an SRv6 service message carrying the TSN policy information.
[0136] S320, the second node device obtains the time-sensitive network TSN policy information carried in the segment routing header from the segment routing header of the received SRv6 service message of the deterministic network, and processes the message according to the TSN policy information.
[0137] In this embodiment, the message processing flow of the first node device can refer to the corresponding process in the message forwarding method embodiment applied to the first node device described in the aforementioned embodiment; the message processing flow of the second point device can refer to the corresponding process in the message forwarding method embodiment applied to the second node device described in the aforementioned embodiment, which will not be repeated here.
[0138] The node device according to the embodiment of the present application is described in detail below with reference to the accompanying drawings. Fig.11 FIG. 2 shows a schematic diagram of the structure of a first node device provided according to an embodiment of the present application. The first node device may be an inbound edge node device of an SRv6 domain. Fig.11As shown, the first node device includes the following modules.
[0139] The message encapsulation module 410 is used to carry the time-sensitive network TSN policy information in the segment routing header of the Internet Protocol version 6 segment routing SRv6 service message of the deterministic network; the message sending module 420 is used to send the SRv6 service message carrying the TSN policy information.
[0140] In one embodiment, the message encapsulation module 410 may include: a policy information determination unit, used to determine the TSN policy information according to the service flow category and / or service flow characteristics of a predetermined message, wherein the predetermined message is a received TSN service message, or an SRv6 service message obtained after flow mapping processing based on the TSN service message; a policy information encapsulation unit, used to carry the TSN policy information in a segment routing header in a type-length-value TLV format; wherein the type field in the TLV format is used to indicate the type of the TSN policy information, and the value field in the TLV format is used to indicate the TSN policy information in each predetermined application scenario.
[0141] In one embodiment, the value of the value field is the TSN policy information under each predetermined application scenario; or, the value field includes a scenario identification field and a specific policy field; wherein the scenario identification field is used to identify each predetermined application scenario, and the specific policy field is used to identify the TSN policy information corresponding to each predetermined application scenario.
[0142] In one embodiment, the message encapsulation module 410 may include: a flow matching and mapping unit, which is used to perform flow matching and flow mapping processing on the header information of the received TSN service message to obtain the service flow identifier of the TSN service message, and to obtain the SRv6 service message of the deterministic network converted from the TSN service message; a policy information mapping unit, which is used to determine the TSN policy information corresponding to the service flow identifier according to the TSN service message based on the mapping relationship between the preset service flow identifier and the TSN policy information; the message encapsulation module 410 is also used to carry predetermined deterministic service configuration information and TSN policy information in the segment routing header of the SRv6 service message of the deterministic network.
[0143] In one embodiment, the message encapsulation module 410 can be specifically used to carry optional type length value information in the segment routing header, and the optional type length value information is used to carry TSN policy information; or, carry a non-forwarding type segment identifier SID in the segment routing header, and the non-forwarding type SID is used to carry TSN policy information; or, use other information field information of the forwarding type SID already in the segment routing header to carry TSN policy information.
[0144] According to the first node device of the embodiment of the present application, by extending the capabilities of SRv6, the ingress edge node encapsulates the TSN-profile information that needs to be notified to each node in the SRv6SRH, and the information is transmitted together with the DetNet SRv6 service message, so that the nodes in the SRv6 domain provide services consistent with TSN requirements for the encapsulated DetNet packets.
[0145] It should be clear that the present application is not limited to the specific configurations and processes described in the above embodiments and shown in the figures. For the convenience and brevity of description, a detailed description of the known methods is omitted here, and the specific working processes of the systems, modules and units described above can refer to the corresponding processes in the aforementioned method embodiments, which will not be repeated here.
[0146] Fig.12 FIG. 2 shows a schematic diagram of the structure of a second node device provided according to an embodiment of the present application. The second node device may be a forwarding node or a relay node in an SRv6 domain. Fig.12 As shown, the second node device includes the following modules.
[0147] A policy acquisition module 510 is used to acquire the time-sensitive network TSN policy information carried in the segment routing header from the segment routing header of the received Internet Protocol version 6 segment routing SRv6 service message of the deterministic network;
[0148] The message processing module 520 is used to process messages according to TSN policy information.
[0149] In one embodiment, when the policy acquisition module 510 is used to obtain the time-sensitive network TSN policy information carried by the segment routing header, it can be specifically used to: obtain the TSN policy information through the optional type length value information carried by the segment routing header; or obtain the TSN policy information through the non-forwarding type segment identifier SID carried by the segment routing header; or obtain the TSN policy information using other information field information of the forwarding type SID already in the segment routing header.
[0150] In one embodiment, the TSN policy information is in a type-length-value TLV format, and the type field in the TLV format is used to indicate the type of the TSN policy information, and the value field in the TLV format is used to indicate the TSN policy information in each predetermined application scenario.
[0151] In one embodiment, the value of the value field is the TSN policy information under each predetermined application scenario; or, the value field includes a scenario identification field and a specific policy field; wherein the scenario identification field is used to identify each predetermined application scenario, and the specific policy field is used to identify the TSN policy information corresponding to each predetermined application scenario.
[0152] According to the second node device of the embodiment of the present application, when each node inside the DetNet SRv6 network receives a message, it can extract and parse the TSN-profile information carried in the SRH, so as to learn the TSN policy that each node needs to apply to the message, thereby announcing and transmitting TSN information in the DetNet SRv6 network domain, and providing services consistent with TSN requirements for the encapsulated DetNet packets.
[0153] It should be clear that the present application is not limited to the specific configurations and processes described in the above embodiments and shown in the figures. For the convenience and brevity of description, a detailed description of the known methods is omitted here, and the specific working processes of the systems, modules and units described above can refer to the corresponding processes in the aforementioned method embodiments, which will not be repeated here.
[0154] Fig.13 FIG. 1 shows a schematic diagram of the structure of a message forwarding system provided according to an embodiment of the present application. Fig.13 As shown, the message forwarding system may include: a first node device 610 and a second node device 620.
[0155] The first node device 610 is configured to carry the time-sensitive network TSN policy information in the segment routing header of the Internet Protocol version 6 segment routing SRv6 service message of the deterministic network, and send the SRv6 service message carrying the TSN policy information;
[0156] The second node device 620 is used to obtain the time-sensitive network TSN policy information carried in the segment routing header from the segment routing header of the received SRv6 service message of the deterministic network, and process the message according to the TSN policy information.
[0157] In this embodiment, for the convenience and brevity of description, a detailed description of the known method is omitted here. The specific working process of the first node device can refer to the corresponding process in the aforementioned method embodiment applied to the first node device, and the specific working process of the second node device can refer to the corresponding process in the aforementioned method embodiment applied to the second node device, which will not be repeated here.
[0158] Fig.14 It is a structural diagram showing an exemplary hardware architecture of a computing device capable of implementing the message forwarding method and apparatus according to an embodiment of the present application.
[0159] like Fig.14As shown, the computing device 700 includes an input device 701, an input interface 702, a central processing unit 703, a memory 704, an output interface 705, and an output device 706. The input interface 702, the central processing unit 703, the memory 704, and the output interface 705 are connected to each other via a bus 710, and the input device 701 and the output device 706 are connected to the bus 710 via the input interface 702 and the output interface 705, respectively, and are further connected to other components of the computing device 700.
[0160] Specifically, the input device 701 receives input information from the outside and transmits the input information to the central processing unit 703 through the input interface 702; the central processing unit 703 processes the input information based on the computer executable instructions stored in the memory 704 to generate output information, temporarily or permanently stores the output information in the memory 704, and then transmits the output information to the output device 706 through the output interface 705; the output device 706 outputs the output information to the outside of the computing device 700 for user use.
[0161] In one embodiment, Fig.14 The computing device 700 shown may be implemented as a message forwarding device, which may include: a memory configured to store a program; and a processor configured to run the program stored in the memory to execute the message forwarding method described in the above embodiment.
[0162] The above is only an exemplary embodiment of the present application and is not intended to limit the scope of protection of the present application. In general, various embodiments of the present application can be implemented in hardware or special circuits, software, logic or any combination thereof. For example, some aspects can be implemented in hardware, while other aspects can be implemented in firmware or software that can be executed by a controller, a microprocessor or other computing device, although the present application is not limited thereto.
[0163] Embodiments of the present application may be implemented by executing computer program instructions by a data processor of a mobile device, for example in a processor entity, or by hardware, or by a combination of software and hardware. The computer program instructions may be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-dependent instructions, microcode, firmware instructions, state setting data, or source code or object code written in any combination of one or more programming languages.
[0164] The block diagram of any logic flow in the accompanying drawings of the present application can represent program steps, or can represent interconnected logic circuits, modules and functions, or can represent a combination of program steps and logic circuits, modules and functions. The computer program can be stored on a memory. The memory can have any type suitable for the local technical environment and can be implemented using any suitable data storage technology, such as but not limited to read-only memory (ROM), random access memory (RAM), optical memory device and system (digital versatile disc DVD or CD disc), etc. Computer-readable media may include non-transient storage media. The data processor can be any type suitable for the local technical environment, such as but not limited to a general-purpose computer, a special-purpose computer, a microprocessor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a programmable logic device (FGPA) and a processor based on a multi-core processor architecture.
[0165] By way of exemplary and non-limiting examples, a detailed description of exemplary embodiments of the present application has been provided above. However, various modifications and adjustments to the above embodiments will be apparent to those skilled in the art when considered in conjunction with the accompanying drawings and claims, but will not depart from the scope of the present application. Therefore, the proper scope of the present application will be determined according to the claims.
Claims
1. A message forwarding method, applied to a first node device, comprising: The segment routing header of the Internet Protocol Version 6 Segment Routing SRv6 service message of the deterministic network carries the time-sensitive network TSN policy information; Sending an SRv6 service message carrying the TSN policy information; The segment routing header of the SRv6 service message in the deterministic network carries TSN policy information, including: Performing flow matching and flow mapping processing on the header information of the received TSN service message to obtain the service flow identifier of the TSN service message, and obtaining the SRv6 service message of the deterministic network obtained by converting the TSN service message; Based on a preset mapping relationship between a service flow identifier and TSN policy information, determining TSN policy information corresponding to the service flow identifier according to the TSN service message; The segment routing header of the SRv6 service message of the deterministic network carries the predetermined deterministic service configuration information and the TSN policy information.
2. The method according to claim 1, wherein: The segment routing header of the SRv6 service message in the deterministic network carries TSN policy information, including: According to the service flow category and / or service flow characteristics of the predetermined message, wherein the predetermined message is a received TSN service message, or an SRv6 service message obtained after flow mapping processing is performed on the TSN service message; The TSN policy information is carried in the segment routing header in a type-length-value TLV format; wherein, The type field in the TLV format is used to indicate the type of the TSN policy information, and the value field in the TLV format is used to indicate the TSN policy information in each predetermined application scenario.
3. The method according to claim 2, wherein: The value field is TSN strategy information in a predetermined application scenario; or, The value field includes a scenario identification field and a specific strategy field; wherein, The scenario identification field is used to identify a predetermined application scenario, and the specific strategy field is used to identify TSN strategy information corresponding to the predetermined application scenario.
4. The method according to claim 1, wherein: The segment routing header of the SRv6 service message in the deterministic network carries TSN policy information, including: The segment routing header carries optional type length value information, where the optional type length value information is used to carry the TSN policy information; or, The segment routing header carries a non-forwarding type segment identifier SID, where the non-forwarding type SID is used to carry the TSN policy information; or The TSN policy information is carried by utilizing other information fields of the SID of the forwarding type already in the segment routing header.
5. A message forwarding method, applied to a second node device, comprising: Acquire time-sensitive network (TSN) policy information carried in the segment routing header from a segment routing header of a received Internet Protocol version 6 (SRv6) service message of a deterministic network; Processing the message according to the TSN strategy information; The time-sensitive network TSN policy information is configured by the first node device in the segment routing header of the SRv6 service message in the following manner: performing flow matching and flow mapping processing on the header information of the received TSN service message to obtain the service flow identifier of the TSN service message, and obtaining the SRv6 service message of the deterministic network converted from the TSN service message; based on the mapping relationship between the preset service flow identifier and the TSN policy information, determining the TSN policy information corresponding to the service flow identifier according to the TSN service message; The segment routing header of the SRv6 service message of the deterministic network carries the predetermined deterministic service configuration information and the TSN policy information.
6. The method according to claim 5, wherein: The obtaining of the TSN policy information carried by the segment routing header includes: Obtain the TSN strategy information through the optional type length value information carried by the segment routing header; or, Acquire the TSN policy information through the non-forwarding type segment identifier SID carried in the segment routing header; or, The TSN policy information is acquired by using other information field information of the SID of the forwarding type already in the segment routing header.
7. The method according to claim 5, wherein: The TSN policy information is in a type-length-value TLV format, and the type field in the TLV format is used to indicate the type of the TSN policy information, and the value field in the TLV format is used to indicate the TSN policy information in each predetermined application scenario.
8. The method according to claim 7, wherein: The value field is TSN strategy information in a predetermined application scenario; or, The value field includes a scenario identification field and a specific strategy field; wherein, The scenario identification field is used to identify a predetermined application scenario, and the specific strategy field is used to identify TSN strategy information corresponding to the predetermined application scenario.
9. A message forwarding method, comprising: The first node device carries the time-sensitive network TSN policy information in the segment routing header of the Internet Protocol version 6 segment routing SRv6 service message of the deterministic network, and sends the SRv6 service message carrying the TSN policy information; The second node device obtains the time-sensitive network TSN policy information carried in the segment routing header from the received SRv6 service message of the deterministic network, and processes the message according to the TSN policy information; The segment routing header of the SRv6 service message in the deterministic network carries TSN policy information, including: performing flow matching and flow mapping processing on the header information of the received TSN service message to obtain the service flow identifier of the TSN service message, and obtaining the SRv6 service message of the deterministic network converted from the TSN service message; based on the mapping relationship between the preset service flow identifier and the TSN policy information, determining the TSN policy information corresponding to the service flow identifier according to the TSN service message; The segment routing header of the SRv6 service message of the deterministic network carries the predetermined deterministic service configuration information and the TSN policy information.
10. A first node device, comprising: A message encapsulation module is used to carry the time-sensitive network TSN policy information in the segment routing header of the Internet Protocol version 6 segment routing SRv6 service message of the deterministic network; A message sending module, used to send an SRv6 service message carrying the TSN policy information; The segment routing header of the SRv6 service message in the deterministic network carries TSN policy information, including: performing flow matching and flow mapping processing on the header information of the received TSN service message to obtain the service flow identifier of the TSN service message, and obtaining the SRv6 service message of the deterministic network converted from the TSN service message; based on the mapping relationship between the preset service flow identifier and the TSN policy information, determining the TSN policy information corresponding to the service flow identifier according to the TSN service message; The segment routing header of the SRv6 service message of the deterministic network carries the predetermined deterministic service configuration information and the TSN policy information.
11. A second node device, comprising: A policy acquisition module, configured to acquire time-sensitive network TSN policy information carried in a segment routing header of a received Internet Protocol version 6 segment routing SRv6 service message of a deterministic network; A message processing module, used to process messages according to the TSN strategy information; The time-sensitive network TSN policy information is configured by the first node device in the segment routing header of the SRv6 service message in the following manner: performing flow matching and flow mapping processing on the header information of the received TSN service message to obtain the service flow identifier of the TSN service message, and obtaining the SRv6 service message of the deterministic network converted from the TSN service message; based on the mapping relationship between the preset service flow identifier and the TSN policy information, determining the TSN policy information corresponding to the service flow identifier according to the TSN service message; The segment routing header of the SRv6 service message of the deterministic network carries the predetermined deterministic service configuration information and the TSN policy information.
12. A message forwarding system, comprising: The first node device is used to carry the time-sensitive network TSN policy information in the segment routing header of the Internet Protocol version 6 segment routing SRv6 service message of the deterministic network, and send the SRv6 service message carrying the TSN policy information; The second node device is used to obtain the time-sensitive network TSN policy information carried by the segment routing header from the segment routing header of the received SRv6 service message of the deterministic network, and perform message processing according to the TSN policy information; The segment routing header of the SRv6 service message in the deterministic network carries TSN policy information, including: performing flow matching and flow mapping processing on the header information of the received TSN service message to obtain the service flow identifier of the TSN service message, and obtaining the SRv6 service message of the deterministic network converted from the TSN service message; based on the mapping relationship between the preset service flow identifier and the TSN policy information, determining the TSN policy information corresponding to the service flow identifier according to the TSN service message; The segment routing header of the SRv6 service message of the deterministic network carries the predetermined deterministic service configuration information and the TSN policy information.
13. A message forwarding device, characterized in that: including memory and processor; The memory is used to store executable program codes; The processor is used to read the executable program code stored in the memory to execute the message forwarding method of any one of claims 1 to 4 or any one of claims 5 to 8.
14. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes instructions, and when the instructions are executed on a computer, the computer executes the message forwarding method according to any one of claims 1 to 4 or any one of claims 5 to 8.
Citation Information
Patent Citations
Uplink scheduling in wireless networks
CN101946463A
TSN scheduling method oriented to real-time application demand
CN108809707A
Communication method and device
CN110831249A
Method, device and system for obtaining SRv6 tunnel information
CN110971433A
Method of data packet transmission and / or reception
EP3499805A1
