WO2024001733A1 - Packet transmission method, apparatus, and system - Google Patents

Packet transmission method, apparatus, and system Download PDF

Info

Publication number
WO2024001733A1
WO2024001733A1 PCT/CN2023/099596 CN2023099596W WO2024001733A1 WO 2024001733 A1 WO2024001733 A1 WO 2024001733A1 CN 2023099596 W CN2023099596 W CN 2023099596W WO 2024001733 A1 WO2024001733 A1 WO 2024001733A1
Authority
WO
WIPO (PCT)
Prior art keywords
information
message
bounded delay
indication information
bounded
Prior art date
Application number
PCT/CN2023/099596
Other languages
French (fr)
Chinese (zh)
Inventor
杨帆
周天然
耿雪松
常晓东
陈爽
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2024001733A1 publication Critical patent/WO2024001733A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/50Queue scheduling
    • H04L47/56Queue scheduling implementing delay-aware scheduling

Definitions

  • the present application relates to the field of network technology, and in particular to a message transmission method, device and system.
  • This application provides a message transmission method, device and system that can ensure the certainty of the end-to-end delay of the message in the deterministic network (that is, guarantee the end-to-end certainty of the message in the deterministic network). extension).
  • the technical solution of this application is as follows:
  • a message transmission method is provided, which is applied to a first network node in a first deterministic network.
  • the method includes: the first network node obtains a first message, and the first message carries a first type indication. information and the first bounded delay information, the first type indication information is used to indicate the type of the first bounded delay information, and the first bounded delay information is used to ensure the first message in the first deterministic network End-to-end deterministic delay; the first network node forwards the first message according to the first type indication information and the first bounded delay information.
  • the first message is a service message of the first service flow.
  • the technical solution provided by this application carries the first bounded delay information and the first type of indication information used to indicate the first bounded delay information in the first message transmitted in the first deterministic network to assist The network node in the first deterministic network forwards the first message, ensuring the end-to-end deterministic delay of the first message in the first deterministic network.
  • the first bounded delay information includes time resource information or service requirement information.
  • the time resource information is used to indicate resources in the network node for transmitting the first message.
  • the service requirement information is used to indicate the service requirement of the first message.
  • the time resource information is bottom resource information or abstract resource information.
  • the bottom resource information directly indicates the resource in the network node that transmits the first message.
  • the time resource information includes at least one of the following: queue indication information, cycle indication information, time slot indication information, and priority information.
  • the queue indication information is used to indicate the queue in the network node for transmitting the first message.
  • the period indication information is used to indicate the cycle period of transmitting the first message in the network node.
  • the time slot indication information is used to indicate the time slot in which the first message is transmitted in the network node.
  • the priority information is used to indicate the priority of the first message and thereby indicate the queue corresponding to the priority.
  • the service requirement information includes at least one of the following: delay requirement information, jitter requirement information, and deadline requirement information.
  • the delay requirement information is used to indicate the delay requirement of the first message.
  • the jitter requirement information is used to indicate the first service Stream jitter requirements.
  • the deadline requirement information is used to indicate the deadline requirement of the first message.
  • the delay requirement information includes at least one of the following: end-to-end delay requirement information and local delay requirement information.
  • the end-to-end delay requirement information is used to indicate the end-to-end delay requirement of the first message in the first deterministic network.
  • the local delay requirement information corresponds to at least one network node in the first deterministic network, and the local delay requirement information is used to indicate the delay requirement of the first message in the corresponding network node.
  • the jitter requirement information includes at least one of the following: end-to-end jitter requirement information, local jitter requirement information.
  • the end-to-end jitter requirement information is used to indicate the end-to-end jitter requirement of the first service flow in the first deterministic network.
  • the local jitter requirement information corresponds to at least one network node in the first deterministic network, and the local delay requirement information is used to indicate the jitter requirement of the first service flow in the corresponding network node.
  • the first message is a service message of the first service flow.
  • the deadline requirement information includes at least one of the following: end-to-end deadline requirement information, local deadline requirement information.
  • the end-to-end deadline requirement information is used to indicate the deadline requirement for the first packet to leave the first deterministic network.
  • the local deadline requirement information corresponds to the network node, and the local deadline requirement information is used to indicate the deadline requirement for the first message to leave the corresponding network node.
  • the first network node forwards the first message according to the first type indication information and the first bounded delay information, including:
  • the first network node determines the type of the first bounded delay information according to the first type indication information; the first network node determines the type of the first bounded delay information according to the first bounded delay information and the type of the first bounded delay information.
  • a first resource used to transmit the first message; the first network node forwards the first message through the first resource. For example, the first network node determines based on the first type indication information that the first bounded delay information includes time resource information, and the time resource information is abstract resource information, and the first network node determines the first bounded delay information based on the time resource information and the local mapping relationship.
  • One resource is based on the first type indication information that the first bounded delay information includes time resource information, and the time resource information is abstract resource information, and the first network node determines the first bounded delay information based on the time resource information and the local mapping relationship.
  • the first network node determines that the first bounded delay information includes service requirement information according to the first type indication information, the first network node determines the resources in the first network node that satisfy the service requirement information, and the first network node determines the resources in the first network node that satisfy the service requirement information.
  • the first resource is determined among the resources of the business requirement information.
  • the first network node determines the first resource in the first network node for transmitting the first message based on the first type indication information and the first bounded delay information, and forwards the first message through the first resource.
  • One packet helps ensure the end-to-end deterministic delay of the first packet in the first deterministic network.
  • the first message also carries second bounded delay information and second type indication information.
  • the second type indication information is used to indicate the type of the second bounded delay information.
  • the second bounded delay information is In order to ensure the end-to-end deterministic delay of the first message in the first deterministic network, the second type indication information and the second bounded delay information are used by the second network node to forward the first message, and the second network The node is in the first deterministic network.
  • the second network node is an upstream node of the first network node, or the second network node is a downstream node of the first network node.
  • the type of the second bounded delay information is different from the type of the first bounded delay information.
  • the first bounded delay information is time resource information
  • the second bounded delay information is service requirement information.
  • the first bounded delay information is queue indication information
  • the second bounded delay information is cycle indication information.
  • the first network node is an entry node of the first deterministic network, and the first network node obtains the first message, including: the first network node receives the second message; the first network node receives the control sent by the controller. message, the control message includes the first type indication information and the first bounded delay information; the first network node generates the first message according to the second message, the first type indication information and the first bounded delay information. arts. For example, the first network node adds the first type indication information and the first bounded delay information to the second message to obtain the first message.
  • the second message is a service message of the first service flow.
  • the entry node of the first deterministic network based on the received second message and control message, Generate a first message carrying the first type indication information and the first bounded delay information, so that a network node (for example, a first network node) in the first deterministic network can use the first bounded delay information and the first type
  • the instruction information forwards the first message, ensuring the end-to-end deterministic delay of the first message in the first deterministic network.
  • the method further includes: the first network node sends capability information of the first network node to the controller, and the controller is configured to determine the first network node based on the capability information.
  • Type indication information and first bounded delay information are configured to determine the first network node based on the capability information.
  • the first network node is an entry node of the first deterministic network, and the first network node obtains the first message, including: the first network node receives the second message, and the second message comes from the second deterministic network.
  • the second message carries the target bounded delay information; the first network node obtains the first type indication information and the first bounded delay information according to the target bounded delay information; the first network node obtains the first type indication information and the first bounded delay information according to the second message and the first bounded delay information.
  • a type of indication information and first bounded delay information are used to generate a first message. For example, the first network node adds the first type indication information and the first bounded delay information to the second message to obtain the first message.
  • the entry node of the first deterministic network generates a first type indication information and a first bounded delay based on the received second message and the target bounded delay information carried in the second message.
  • the first message of the delay information facilitates the network node (for example, the first network node) in the first deterministic network to forward the first message according to the first bounded delay information and the first type indication information, ensuring that the first message is End-to-end deterministic delay in the first deterministic network.
  • the first message is an Internet Protocol version 6 (IPv6) message
  • IPv6 Internet Protocol version 6
  • the first type indication information and the first bounded delay information are both located in the IPv6 extension header of the first message.
  • the IPv6 extension header includes any one of the following: hop by hop header (HBH), destination options header (destination options header, DOH), segment routing header (segment routing header, SRH).
  • hop-by-hop header is also called the hop-by-hop options header (HBH).
  • the IPv6 extension header is HBH or DOH, and the first type indication information and the first bounded delay information are both located in the option field of the IPv6 extension header.
  • the IPv6 extension header is an SRH.
  • the SRH includes a segment list.
  • the first type indication information and the first bounded delay information are both located in the segment list.
  • the segment list includes a first segment identifier (SID), and the first type indication information and the first bounded delay information are both located in the parameters (arguments) field of the first SID.
  • SID segment identifier
  • the IPv6 extension header is an SRH.
  • the SRH includes a type-length-value (TLV) field.
  • TLV type-length-value
  • the first type indication information and the first bounded delay information are both located in the TLV field.
  • the SRH also includes a segment list.
  • the segment list includes a first SID.
  • the first bounded delay information and the first SID both correspond to the first network node.
  • the type of the first SID is a target type.
  • the target type The TLV field indicating the SRH carries bounded delay information corresponding to the first SID.
  • the TLV field carries multiple type indication information and multiple bounded delay information.
  • the multiple type indication information corresponds to the multiple bounded delay information.
  • Each type indication information is used to indicate the correspondence.
  • the type of bounded delay information the plurality of bounded delay information includes the first bounded delay information, the plurality of type indication information includes the first type indication information;
  • the segment list includes a plurality of SIDs, the plurality of The SID has a one-to-one correspondence with a plurality of network nodes along the way of the first message.
  • the plurality of bounded delay information has a one-to-one correspondence with a plurality of network nodes along the way of the first message.
  • the number of the plurality of bounded delay information does not vary.
  • the type of the SID corresponding to the bounded delay information among the multiple SIDs is the target type. That is to say, the plurality of SIDs correspond to multiple network nodes along the first message, and the plurality of bounded delay information corresponds to all of the plurality of network nodes. Or a partial one-to-one correspondence, whereby the plurality of bounded delay information corresponds to all or part of the plurality of SIDs, and the type of the SID corresponding to the bounded delay information among the plurality of SIDs is the target type.
  • the segment list includes multiple SIDs, the multiple SIDs correspond to multiple network nodes along the first message, and the first bounded delay information corresponds to the multiple network nodes.
  • the multiple SIDs correspond to the multiple network nodes along the first message.
  • the types are all target types.
  • the first network node is the egress node of the first deterministic network
  • the first message is a segment routing internet protocol version 6 (SRv6) message
  • the SRH of the first message is It includes a segment list and a TLV field.
  • the segment list includes multiple SIDs.
  • the multiple SIDs correspond to multiple network nodes along the first message.
  • the first type indication information and the first bounded delay information are both located in the segment list.
  • the first bounded delay information only corresponds to the first network node, and the type of the SID corresponding only to the first network node among the plurality of SIDs is the target type.
  • the first message carries a bounded delay information
  • the bounded delay information only corresponds to the egress node of the first deterministic network.
  • the first packet also carries slice indication information, and the slice indication information is located in the IPv6 extension header of the first packet.
  • the first packet carries slice indication information, first bounded delay information and first type indication information used to indicate the first bounded delay information.
  • the network in the first deterministic network The node forwards the first message according to the slice indication information, the first bounded delay information and the first type indication information, ensuring the end-to-end deterministic delay of the first message in the first deterministic network, and ensuring determines the deterministic delay of the first packet within the network slice indicated by the slice indication information.
  • the slice indication information and the first bounded delay information are located in the same IPv6 extension header of the first packet; or,
  • the slice indication information and the first bounded delay information are located in different IPv6 extension headers of the first message.
  • the first type indication information and the first bounded delay information are located in the same IPv6 extension header of the first message.
  • the slice indication information is located in the HBH of the first packet, and the first type indication information and the first bounded delay information are both located in the SRH of the first packet.
  • the first message is a multiprotocol label switching (MPLS) message
  • MPLS multiprotocol label switching
  • EH MPLS extension header
  • a message transmission method includes: the controller receives capability information of a first network node, and the first network node is in a first deterministic network; and the controller obtains the first type of information based on the capability information. Indication information and first bounded delay information.
  • the first type of indication information is used to indicate the type of the first bounded delay information.
  • the first bounded delay information is used to ensure packets carrying the first bounded delay information. End-to-end deterministic delay in the first deterministic network; the controller sends a control message to the first network node, where the control message includes first type indication information and first bounded delay information.
  • the controller generates a control message according to the first type indication information and the first bounded delay information, and then sends the control message to the first network node.
  • the first network node is an entry node of the first deterministic network.
  • the controller determines the first type indication information and the first bounded delay information based on the capability information of the first network node, and sends the first type indication information and the first bounded delay information to the first network node.
  • the control message of the delay information can facilitate the first network node to forward the service message carrying the first type of indication information and the first bounded delay information, ensuring the end-to-end delivery of the service message in the first deterministic network Deterministic delay.
  • the first bounded delay information includes time resource information or service requirement information.
  • the time resource information includes at least one of the following: queue indication information, cycle indication information, time slot indication information, and priority information.
  • the service requirement information includes at least one of the following: delay requirement information, jitter requirement information, and deadline requirement information.
  • the delay requirement information includes at least one of the following: end-to-end delay requirement information and local delay requirement information.
  • the jitter requirement information includes at least one of the following: end-to-end jitter requirement information, local jitter requirement information.
  • the deadline requirement information includes at least one of the following: end-to-end deadline requirement information, local deadline requirement information.
  • the controller receives capability information of the first network node, including: the controller receives capability information of multiple network nodes, the multiple network nodes are in the first deterministic network, and the multiple network nodes include the first network node; correspondingly, the controller obtains the first type indication information and the first bounded delay information according to the capability information, including: the controller obtains at least one bounded delay information and at least one type according to the capability information of the plurality of network nodes.
  • the at least one bounded delay information corresponds to the at least one type indication information
  • each type indication information is used to indicate the type of the corresponding bounded delay information
  • the at least one bounded delay information includes a third Bounded delay information
  • the at least one type indication information includes first type indication information
  • the control message includes the at least one bounded delay information and the at least one type indication information.
  • the controller obtains at least one bounded delay information and at least one type indication information based on the capability information of multiple network nodes, and sends the at least one bounded delay information to the entry node of the first deterministic network.
  • the entry node of the first deterministic network can generate a control message carrying the at least one type indication information and the at least one bounded information based on the control message.
  • the first message of the delay information facilitates the network node in the first deterministic network to forward the first message according to the at least one bounded delay information and the at least one type indication information, ensuring that the first message is processed in the first deterministic End-to-end deterministic delay in the network.
  • the at least one bounded delay information also includes second bounded delay information
  • the at least one type indication information also includes second type indication information
  • the second type indication information is used to indicate the second bounded delay.
  • the type of information, the second bounded delay information is used to ensure the end-to-end deterministic delay of the packet carrying the second bounded delay information in the first deterministic network, the type of the second bounded delay information It is different from the first bounded delay information type.
  • the second bounded delay information and the first bounded delay information are arranged in sequence in the control message, and the second type indication information and the first type indication information are arranged in sequence in the control message.
  • the arrangement order of the second type indication information and the first type indication information is the same as the arrangement order of the second bounded delay information and the first bounded delay information.
  • control message includes a first TLV field and a second TLV field arranged in sequence, the first type indication information and the first bounded delay information are located in the first TLV field, the second type indication information and the second The bounded delay information is located in the second TLV field.
  • the second bounded delay information and the first bounded delay information are arranged in sequence.
  • control message includes an information stack, which includes a first information item and a second information item arranged in sequence.
  • the first information item includes the first type indication information and the first bounded delay information
  • the second information item includes the first type indication information and the first bounded delay information.
  • the information items include second type indication information and second bounded delay information. In this way, the second bounded delay information and the first bounded delay information are arranged in sequence.
  • a message transmission device including various modules for executing the method provided in the above-mentioned first aspect or any optional manner of the first aspect.
  • a fourth aspect provides a message transmission device, including various modules for executing the method provided in the above-mentioned second aspect or any optional manner of the second aspect.
  • the modules in the above third aspect or the fourth aspect can be implemented based on software, hardware, or a combination of software and hardware, and the modules can be arbitrarily combined or divided based on specific implementation.
  • a message transmission device including a memory and a processor; the memory is used to store a computer program; the processor is used to execute the computer program stored in the memory so that the message transmission device executes the above-mentioned The method provided by one aspect or any optional method of the first aspect.
  • a message transmission device including a memory and a processor; the memory is used to store a computer program; the processor is used to execute the computer program stored in the memory so that the message transmission device performs the above-mentioned step
  • a message transmission system in a seventh aspect, includes a plurality of network nodes, and at least one network node among the plurality of network nodes includes a message as provided in the third aspect or the fifth aspect. transmission device.
  • the message transmission system further includes a controller, and the controller includes the message transmission device provided in the fourth aspect or the sixth aspect.
  • a computer-readable storage medium is provided.
  • a computer program is stored in the computer-readable storage medium.
  • the computer program is executed, the above-mentioned first aspect or any optional method of the first aspect is implemented.
  • a computer program product includes a program or code.
  • the program or code When the program or code is executed, the method provided by the above-mentioned first aspect or any optional method of the first aspect is implemented. Alternatively, implement the method provided in the above second aspect or any optional manner of the second aspect.
  • a chip in a tenth aspect, includes programmable logic circuits and/or program instructions. When the chip is run, it is used to implement the method provided by the above-mentioned first aspect or any optional method of the first aspect, Alternatively, implement the method provided in the above second aspect or any optional manner of the second aspect.
  • the technical solution provided by this application carries the first bounded delay information and the first type of indication information used to indicate the first bounded delay information in the first message transmitted in the first deterministic network to assist The network node in the first deterministic network forwards the first message, ensuring the end-to-end deterministic delay of the first message in the first deterministic network.
  • Figure 1 is a schematic diagram of a message transmission system provided by an embodiment of the present application.
  • FIG. 2 is a schematic diagram of another message transmission system provided by an embodiment of the present application.
  • FIG. 3 is a schematic diagram of a BLI data field provided by an embodiment of the present application.
  • Figure 4 is a schematic diagram of an option field provided by an embodiment of the present application.
  • Figure 5 is a schematic diagram of a first message provided by an embodiment of the present application.
  • FIG. 6 is a schematic diagram of an MPLS EH provided by an embodiment of the present application.
  • Figure 7 is a schematic diagram of another first message provided by an embodiment of the present application.
  • Figure 8 is a schematic diagram of yet another first message provided by an embodiment of the present application.
  • Figure 9 is a schematic diagram of an SRH provided by an embodiment of the present application.
  • Figure 10 is a schematic diagram of another SRH provided by an embodiment of the present application.
  • Figure 11 is a schematic diagram of yet another SRH provided by an embodiment of the present application.
  • Figure 12 is a schematic diagram of another SRH provided by the embodiment of the present application.
  • Figure 13 is a flow chart of a message transmission method provided by an embodiment of the present application.
  • Figure 14 is a schematic diagram of yet another first message provided by an embodiment of the present application.
  • Figure 15 is a flow chart of another message transmission method provided by an embodiment of the present application.
  • Figure 16 is a schematic diagram of message transmission provided by an embodiment of the present application.
  • Figure 17 is another schematic diagram of message transmission provided by the embodiment of the present application.
  • Figure 18 is a schematic diagram of a message transmission device provided by an embodiment of the present application.
  • Figure 19 is a schematic diagram of another message transmission device provided by an embodiment of the present application.
  • Figure 20 is a schematic diagram of yet another message transmission device provided by an embodiment of the present application.
  • Figure 21 is a schematic diagram of yet another message transmission device provided by an embodiment of the present application.
  • IEEE time-sensitive network (TSN) technology and Internet Engineering Task Force (IETF) deterministic networking (DetNet) technology are both committed to developing business forwarding from "best effort” ( “best-effort (BE)” is upgraded to "on-time, accurate, and fast”, and is a network technology that controls and reduces the end-to-end delay of services.
  • IEEE TSN technology is an Ethernet technology developed by the TSN group in the IEEE 802.1 working group, which allows time synchronization and low-latency services through the 802 network.
  • IETF DetNet technology is a network technology developed by the IETF DetNet working group.
  • IETF DetNet technology focuses on implementing deterministic paths on Layer 2 bridging and Layer 3 routing segments.
  • IP Internet protocol
  • MPLS multi-protocol label switching
  • IEEE TSN technology and IETF DetNet technology are both network technologies developed to ensure the end-to-end deterministic delay of services.
  • a message transmission scheme that can be applied to deterministic networks is needed to forward services with deterministic requirements to ensure the end-to-end deterministic delay of these services in deterministic networks.
  • This application provides a message transmission scheme.
  • the message transmitted in a deterministic network carries bounded delay information and type indication information used to indicate the type of the bounded delay information to assist in the deterministic network.
  • the network node forwards the message, ensuring the end-to-end deterministic delay of the message in the deterministic network.
  • the first network node in the first deterministic network obtains the first message carrying the first type indication information and the first bounded delay information, and forwards the first message according to the first type indication information and the first bounded delay information.
  • the first type indication information is used to indicate the type of the first bounded delay information
  • the first bounded delay information is used to ensure the end-to-end deterministic time of the first message in the first deterministic network. delay, thereby ensuring the end-to-end deterministic delay of the first message in the first deterministic network.
  • the first deterministic network is TSN, and it can also be other deterministic networks that may be developed in the future to ensure delay. That is to say, the message transmission solution provided by this application can be applied to deterministic networks that have been developed, and can also be applied to deterministic networks that may be developed in the future.
  • Network nodes can be physical nodes or logical nodes.
  • Physical nodes are network devices such as switches or routers.
  • Logical nodes are functional modules in network equipment. For example, logical nodes are virtual switches, virtual routers, etc. deployed in network equipment.
  • the message transmission system includes at least one deterministic network (DetNet).
  • the deterministic network is a TSN or other DetNet used to ensure delay.
  • the multiple deterministic networks are deterministic networks based on the same deterministic technology, for example, the multiple deterministic networks are all TSN; or, the multiple deterministic networks
  • the network includes deterministic networks based on different deterministic technologies. For example, some of the multiple deterministic networks are TSN, and other deterministic networks are other DetNets used to ensure delay.
  • each deterministic network is a communication network such as a data center network (DCN), metropolitan area network, wide area network or campus network.
  • DCN data center network
  • DCN data center network
  • metropolitan area network wide area network or campus network.
  • each deterministic network includes at least one network node in the message transmission system, and each deterministic network includes edge network nodes and may also include core network nodes.
  • the edge network node is, for example, a provider edge (PE) device, and the core network node is, for example, a provider (P) device.
  • PE provider edge
  • P provider
  • the message transmission system also includes at least one controller, each controller is connected to at least one network node in the message transmission system, and each controller is used to control the network node connected to the controller.
  • the message transmission system includes a deterministic network and a controller. The controller is located within the deterministic network or outside the deterministic network. The controller communicates with network nodes in the deterministic network. Communication connection.
  • the message transmission system includes multiple deterministic networks and a controller. The controller is located outside the multiple deterministic networks. The controller communicates with network nodes in the multiple deterministic networks. connect.
  • the message transmission system includes multiple deterministic networks and multiple controllers. The multiple controllers include inter-domain controllers and multiple intra-domain controllers.
  • the multiple intra-domain controllers correspond to each other one by one. Located in the multiple deterministic networks, each intra-domain controller communicates with the network nodes in the deterministic network where it is located to control the network nodes in the deterministic network where it is located; the inter-domain controller communicates with the multiple deterministic networks.
  • the intra-domain controller communicates and connects to control network nodes in the deterministic network through the intra-domain controller.
  • the controller integrates functions such as network management, business control, and network analysis.
  • the controller can be integrated into the network device or independent of the network device.
  • the controller is a functional module deployed in a server, or a server, or a server cluster composed of several servers, or a cloud computing service center. When the message transmission system includes multiple controllers, all or part of the multiple controllers may be deployed in one server.
  • the deterministic network includes a transmission path, and the transmission path includes multiple network nodes.
  • the network nodes on the transmission path include an ingress node, an egress node, and at least one intermediate (transit) node located between the ingress node and the egress node.
  • the number of intermediate nodes is different, or the transmission path only includes entry nodes and exit nodes, but not intermediate nodes.
  • the names of network nodes, entry nodes, intermediate nodes, exit nodes, transmission paths, etc. in this application are only exemplary.
  • network nodes are also called network devices, forwarding nodes, forwarding devices, gateway nodes, Gateway equipment, routing nodes, routing equipment, etc.
  • the entry node is also called an entry device, a head node, a head node device, a first node, a first node device, etc.
  • Intermediate nodes are also called transit nodes, transit devices, intermediate devices, etc.
  • the egress node is also called an egress device, an end node, a tail node device, etc.; the transmission path is also called a forwarding path, a communication path, a communication tunnel, etc.
  • the transmission path is segment routing traffic engineering.
  • SR-TE resource reservation protocol-traffic engineering
  • SR resource reservation protocol-traffic engineering
  • SR Internet Protocol version 6 segment routing
  • SRv6 Internet Protocol version 6 segment routing
  • FIG. 1 shows a schematic diagram of a message transmission system provided by an embodiment of the present application.
  • the message transmission system includes a deterministic network 1 and a controller 300 .
  • the controller 300 is located outside the deterministic network 1 .
  • the deterministic network 1 includes network nodes 101 to 103, and the controller 300 is communicatively connected to the network nodes 101 to 103.
  • the network nodes 101 to 103 are all network nodes that support the network protocol corresponding to the deterministic network 1.
  • the deterministic network 1 is TSN
  • the network nodes 101 to 103 are all network nodes that support the TSN protocol (for example, they are called TSN nodes).
  • Deterministic network 1 may also include network nodes that do not support the network protocol corresponding to deterministic network 1, such as the left side of network node 101, between network node 101 and network node 102, between network node 102 and network node 103, and between network nodes 101 and 102. To the right of node 103, etc., there may be network nodes that do not support the network protocol corresponding to the deterministic network 1. These network nodes are not shown in Figure 1 for the sake of simplicity. Furthermore, the data plane of deterministic network 1 can be IPv6 or MPLS.
  • deterministic network 1 is IPv6 DetNet, SRv6 DetNet, MPLS DetNet, TSN over IPv6 DetNet (TSN based on IPv6 DetNet), TSN over SRv6 DetNet (TSN based on SRv6 DetNet), TSN over MPLS DetNet (based on MPLS DetNet) TSN).
  • the transmission path S1 of the business flow in the deterministic network 1 is 101->102->103, then the network node 101 is the entry node, the network node 102 is the intermediate node, and the network node 103 is the exit node. Both the network node 101 and the network node 103 may be PE devices, and the network node 102 may be a P device.
  • Figure 1 illustrates an example in which a message transmission system includes a deterministic network and a controller, and the controller is located outside the deterministic network. In other embodiments, the controller is located within the deterministic network.
  • the message transmission system provided by this application may also include multiple deterministic networks. The following takes the message transmission system including two deterministic networks as an example.
  • FIG. 2 shows a schematic diagram of another message transmission system provided by an embodiment of the present application.
  • the message transmission system shown in Figure 2 also includes a deterministic network 2, and the controller 300 is located outside the deterministic network 2.
  • deterministic network 1 includes network nodes 201-202.
  • the controller 300 is also communicatively connected with the network nodes 201-202, and the network node 202 is communicatively connected with the network node 101 in the deterministic network 1.
  • the network nodes 201 to 202 are all network nodes that support the network protocol corresponding to the deterministic network 2.
  • deterministic network 2 is TSN, and network nodes 201 to 202 are all TSN nodes.
  • Deterministic network 2 may also include network nodes that do not support the network protocol corresponding to deterministic network 2, such as the left side of network node 201, the area between network node 201 and network node 202, the right side of network node 202, etc. There may be network nodes that do not support the network protocol.
  • the network nodes of the network protocol corresponding to the deterministic network 2 are not shown in Figure 2 for the sake of simplicity.
  • deterministic network 2 is IPv6 DetNet, SRv6 DetNet, MPLS DetNet, TSN over IPv6 DetNet, TSN over SRv6 DetNet, TSN over MPLS DetNet.
  • the transmission path S2 of the business flow in the deterministic network 2 is 201->202, then the network node 201 is the entry node and the network node 202 is the exit node.
  • Figure 2 illustrates the direct connection between deterministic network 1 and deterministic network 2 as an example. In practical applications, other network devices or network systems may be deployed between deterministic network 1 and deterministic network 2. The embodiments of this application are This is not limited.
  • the message transmission systems shown in Figures 1 and 2 are only examples and are not used to limit the technical solutions of the embodiments of the present application.
  • the number of network nodes, the number of controllers, the number of deterministic networks and the relationship between deterministic networks in the message transmission system can be configured as needed.
  • the deterministic network in the embodiment of this application may also be called a deterministic network domain, a deterministic transmission domain, a deterministic management domain, etc.
  • the embodiment of the present application adopts a deterministic network (such as a deterministic network
  • the message transmitted in 1) carries bounded delay information and type indication information used to indicate the type of the bounded delay information to assist the network node in the deterministic network 1 to forward the message to ensure that the message is
  • the end-to-end deterministic delay in the deterministic network 1 that is, the deterministic delay from the time the packet enters the deterministic network 1 to the time it leaves the deterministic network 1).
  • the network nodes mentioned in this application refer to network nodes in a deterministic network that support relevant deterministic network protocols and comply with relevant deterministic network standards.
  • BLI bounded latency information
  • Bounded delay information refers to information used to ensure the end-to-end deterministic delay of packets in a deterministic network. In other words: information used to ensure bounded end-to-end delay of packets in deterministic networks. This bounded delay information can also ensure the end-to-end deterministic jitter of packets in a deterministic network.
  • the bounded delay information and the type indication information used to indicate the bounded delay information may be carried in the service message to assist the network node in the deterministic network in forwarding the service message.
  • the service message carrying the bounded delay information and the type indication information used to indicate the bounded delay information is the first message.
  • the first message belongs to the first service flow.
  • the bounded delay information and the type indication information are
  • the type indication information is used by the network node in the first deterministic network to forward the first message as an example.
  • the bounded delay information is time resource information or service requirement information.
  • the time resource information is used to indicate resources in the network node for transmitting the first message, and the time resource information may be a time resource identification (ID).
  • the service requirement information is used to indicate the service requirement of the first message.
  • the time resource information is bottom resource information or abstract resource information.
  • the bottom resource information directly indicates the resource in the network node that transmits the first message.
  • the time resource information includes at least one of the following: queue indication information, period indication information, time slot indication information, and priority information.
  • the queue indication information is used to indicate the queue in the network node for transmitting the first message.
  • the queue indication information is information such as a queue identifier and a queue number.
  • the cycle indication information is used to indicate a cycle (cycle) period for transmitting the first message in the network node, and the cycle indication information is information such as a cycle identifier and a cycle number.
  • the time slot indication information is used to indicate the time slot in which the first message is transmitted in the network node.
  • the time slot indication information is information such as a time slot identifier, a time slot number, and so on.
  • the priority information is used to indicate the priority of the first message and thereby indicate the queue corresponding to the priority in the network node.
  • the priority information may be quality of service (QoS) priority information, differentiated services code point (DSCP) priority information, type of service (ToS) priority information or 802.1p Priority information.
  • QoS quality of service
  • DSCP differentiated services code point
  • ToS type of service
  • 802.1p Priority information The priority indicated by this priority information can be QoS priority, DSCP priority, ToS priority information or 802.1p priority.
  • the queue indication information is the resource indication information used in the queue-based scheduling mechanism
  • the period indication information is the resource indication information used in the circular queuing mechanism
  • the time slot indication information is the resource indication information used in the time slot-based scheduling mechanism.
  • the service requirement information includes at least one of the following: delay requirement information, jitter requirement information, and deadline requirement information.
  • the delay requirement information is used to indicate the delay requirement of the first message.
  • the jitter requirement information is used for the jitter requirement of the first service flow.
  • the jitter is also called delay variation or delay variation.
  • the deadline requirement information is used to indicate the deadline requirement of the first message.
  • the delay requirement information is also referred to as delay budget (delay budget) information
  • the jitter requirement information is also referred to as jitter budget (jitter budget) information
  • the deadline requirement is also called deadline budget information.
  • the delay requirement information includes at least one of the following: end-to-end delay requirement information and local delay delay requirement information.
  • the jitter requirement information includes at least one of the following: end-to-end jitter requirement information, local jitter delay requirement information.
  • the deadline requirement information includes at least one of the following: end-to-end deadline requirement information, local deadline requirement information.
  • the end-to-end delay requirement information is used to indicate the end-to-end delay requirement of the first message in the first deterministic network.
  • the end-to-end delay of the first message in the first deterministic network needs to be equal to the end-to-end delay requirement. End-to-end delay required by the information.
  • the local delay requirement information corresponds to at least one network node.
  • the local delay requirement information is used to indicate the delay requirement of the first message in the corresponding network node, and the transmission delay of the first message in the corresponding network node. It cannot be greater than the local delay required by the local delay requirement information.
  • the end-to-end jitter requirement information is used to indicate the end-to-end jitter requirement of the first service flow in the first deterministic network.
  • the end-to-end jitter of the first service flow in the first deterministic network needs to be equal to the end-to-end jitter.
  • the local jitter requirement information corresponds to at least one network node.
  • the local jitter requirement information is used to indicate the jitter requirement of the first service flow in the corresponding network node.
  • the jitter of the first service flow in the corresponding network node cannot be greater than the local time.
  • the end-to-end deadline requirement information is used to indicate the deadline requirement for the first packet to leave the first deterministic network, and the first packet needs to leave the first deterministic network within the deadline required by the end-to-end deadline requirement information,
  • the deadline for the first packet to leave the first deterministic network is the birth timestamp of the first packet (packet birth timestamp) plus the end-to-end delay of the first packet in the first deterministic network.
  • the local deadline requirement information corresponds to the network node.
  • the local deadline requirement information is used to indicate the deadline requirement for the first message to leave the corresponding network node.
  • the first message needs to leave within the deadline required by the local deadline requirement information.
  • the corresponding network node the end-to-end delay requirement information is also called end-to-end delay budget (end to end delay budget) information, and the local delay requirement information is also called local delay budget (local delay budget) Information
  • end-to-end jitter requirement information is also called end-to-end jitter budget (end to end jitter budget) information
  • local jitter requirement information is also called local jitter budget (local jitter budget) information
  • end-to-end deadline requirement The information is also called end-to-end deadline budget information
  • the local deadline requirement information is also called local deadline budget information.
  • time resource information and service requirement information are two different types of bounded delay information.
  • Time resource information and service requirement information can be two major categories of bounded delay information.
  • Queue indication information, period indication information, time slot indication information and priority information are four different types of time resource information, and these four types of information are four subcategories of time resource information.
  • End-to-end delay requirement information, local delay requirement information, end-to-end jitter requirement information, local jitter requirement information, end-to-end deadline requirement information and local deadline requirement information are six different types of business requirement information. The six types of information are six subcategories of business requirement information.
  • bounded delay information can be indicated by different type indication information, so that network nodes can distinguish different bounded delay information.
  • type indication information used to indicate the type of the bounded delay information are shown in Table 1 below.
  • queue indication information, period indication information, time slot indication information and priority information all belong to time resource information
  • type indication information "1" is used to indicate queue indication information (or to indicate bounded delay information)
  • the type of the indication information is queue indication information); the type indication information "2" is used to indicate the period indication information (or the type used to indicate the bounded delay information is the period indication information); the type indication information "3" is used to indicate the time slot Indication information (or used to indicate that the type of bounded delay information is slot indication information); type indication information "4" is used to indicate priority information (or used to indicate that the type of bounded delay information is priority information), the others are the same and will not be described here.
  • the time resource information described above is all bottom resource information.
  • This bottom resource information indicates the bottom resources of the network node.
  • the queue indication information is used to indicate the queue in the network node
  • the period indication information is used to indicate the cycle period of the network node.
  • the slot indication information is used to indicate the time slot in the network node
  • the priority information is used to indicate the priority of the message and thereby indicate the queue corresponding to the priority in the network node.
  • the time resource information in the embodiments of this application can also be abstract information of these underlying resource information.
  • the above-mentioned underlying resource information is abstracted to obtain the abstract resource information corresponding to the above-mentioned underlying resource information, and the underlying resource information and abstract resources are established.
  • Mapping relationship between information can locally store the mapping relationship between underlying resource information and abstract resource information.
  • the network node determines the corresponding underlying resource information based on the abstract resource information and local mapping relationships carried in the service message.
  • the network node determines the network node used to forward the service message based on the underlying resource information.
  • the underlying resource and forwards the service message through the underlying resource.
  • Abstract the underlying resource information establish the mapping relationship between the underlying resource information and the abstract resource information, and carry the abstract resource information in the business packets. This design can realize the data plane parameters carried by the business packets (such as abstract resource information).
  • the network node is decoupled from the underlying implementation technology of the network node, making it more adaptable to the underlying mechanism, and the underlying parameters of the network node (such as underlying resource information) do not need to be exposed to the data plane, resulting in higher security.
  • the bounded delay information described above is only an example of this application.
  • the bounded delay information may also be other information used to ensure the end-to-end deterministic delay of messages in a deterministic network.
  • the bounded delay information can also be delay compensation information.
  • the delay compensation information is used to instruct the network node to perform delay compensation on the message carrying the delay compensation information to ensure that the message is End-to-end deterministic latency in deterministic networks.
  • the delay compensation information includes local delay compensation (local delay compensation) information.
  • Delay compensation information belongs to business requirement information, and delay compensation information is used in multipath transmission scenarios. For example, a certain service flow is carried through at least two paths, and the delays of the at least two paths are different.
  • the service flow can be delayed on at least one path. Compensation is made so that the end-to-end deterministic delays of packets transmitted through the at least two paths in a certain service flow are equal or the difference is small.
  • the type indication information used to indicate the type of bounded delay information is called type indication information corresponding to the bounded delay information.
  • the following takes the first message as an example to introduce the bounded delay information and the type index corresponding to the bounded delay information. Indicates how information is carried in service packets.
  • the first packet carries at least one bounded delay information and at least one type indication information.
  • the at least one bounded delay information corresponds to the at least one type indication information.
  • Each type indication information Used to indicate the type of corresponding bounded delay information, the at least one bounded delay information and the at least one type indication information are used to assist the network node in the first deterministic network to forward the first message.
  • the at least one bounded delay information corresponds to at least one network node in the first deterministic network
  • each network node corresponds to all or part of the at least one bounded delay information
  • each network node corresponds to each network node according to the at least one bounded delay information.
  • the first message is forwarded with bounded delay information and type indication information corresponding to each network node.
  • the first message carries a bounded delay information and a type indication information.
  • the bounded delay information corresponds to multiple network nodes in the first deterministic network. The multiple network nodes are all based on the The first message is forwarded with bounded delay information and indication information of this type.
  • the first message carries a bounded delay information and a type indication information.
  • the bounded delay information corresponds to a network node (such as an egress node) in the first deterministic network. The network node Forward the first message according to the bounded delay information and the type indication information.
  • the first message carries a plurality of bounded delay information and a plurality of type indication information, and the plurality of bounded delay information corresponds to a plurality of network nodes in the first deterministic network.
  • Each network node among the plurality of network nodes forwards the first message according to bounded delay information and type indication information corresponding to each network node.
  • the first message carries a plurality of bounded delay information and a plurality of type indication information, and the plurality of bounded delay information is related to each network node in the first deterministic network.
  • each network node forwards the first message in combination with the local policy according to the plurality of bounded delay information and the plurality of type indication information.
  • the first message carries a plurality of bounded delay information and a plurality of type indication information
  • the plurality of bounded delay information corresponds to one network node in the first deterministic network
  • the one network node According to the plurality of bounded delay information and the plurality of type indication information, the first message is forwarded in combination with the local policy.
  • the multiple bounded delay information are of the same type. For example, the multiple bounded delay information are all period indication information.
  • At least two of the plurality of bounded delay information are of different types; for example, some of the plurality of bounded delay information are time resource information, and others are service requirement information; and then For example, some of the plurality of bounded delay information are queue indication information, others are period indication information, and still others are delay requirement information.
  • the first message is an IPv6 message.
  • the first message includes an IPv6 extension header.
  • the bounded delay information and the type indication information corresponding to the bounded delay information are both located in the IPv6 extension header.
  • the IPv6 extension header includes the following Any one: HBH, DOH, SRH.
  • the first message is an MPLS message, and the bounded delay information and the type indication information corresponding to the bounded delay information are both located in the MPLS extension header of the first message. That is, the bounded delay information and the type indication information corresponding to the bounded delay information are carried in the HBH, DOH, SRH or MPLS extension header.
  • a BLI data field is extended in the HBH, DOH or MPLS extension header, and the BLI data field carries bounded delay information and type indication information corresponding to the bounded delay information.
  • the segment list or TLV field of the SRH carries bounded delay information and type indication information corresponding to the bounded delay information. Therefore, this application includes multiple implementation methods for carrying bounded delay information and type indication information corresponding to the bounded delay information in the first message. The various implementation methods are introduced below. Before that, the BLI data field provided by the embodiment of this application is first introduced.
  • the BLI data field provided by the embodiment of the present application includes at least one BLI data space (space), and each BLI data space is used to carry bounded delay information and type indication information corresponding to the bounded delay information.
  • each BLI data space includes a type indication subspace and a BLI subspace.
  • the BLI subspace is used to carry bounded delay information
  • the type indication subspace is used to carry type indication information corresponding to the bounded delay information.
  • each BLI data space also includes the format (format) subspace, the format subspace is used to carry the format of the corresponding bounded delay information, and the formats of different bounded delay information are different.
  • the time resource information, delay requirement information, and jitter requirement information are 16-bit unsigned numbers (16 bit unsigned integer), 32-bit unsigned numbers (32 bit unsigned integer), or 64-bit unsigned numbers (32 bit unsigned integer)
  • the deadline requirement information is a network time protocol (NTP) 32-bit timestamp, an NTP 64-bit timestamp, a precision time protocol (PTP) 64-bit timestamp, or a PTP 80-bit time. stamp.
  • NTP network time protocol
  • PTP precision time protocol
  • the first BLI data space may also include a flags subspace, which is used to indicate whether there are more BLI data spaces after the first BLI data space.
  • the flag subspace includes multiple flag bits.
  • the number of the multiple flag bits indicates the maximum number of BLI data spaces that the BLI data field can include.
  • the value of each flag bit is 0 or 1.
  • the value of the multiple flag bits is The number of flag bits that are 1 indicates the number of BLI data spaces actually included in the BLI data field.
  • FIG. 3 is a schematic diagram of a BLI data field provided by an embodiment of the present application.
  • the BLI data field includes m BLI data spaces, m ⁇ 1, and m is an integer.
  • the BLI data space includes a type indication subspace, a format subspace, a BLI subspace and a reserved subspace.
  • the BLI data space 1 also includes a flag subspace.
  • the flag subspace is used to indicate that the BLI data field includes the m BLIs. data space.
  • the BLI subspace is used to carry bounded delay information
  • the type indication subspace is used to carry the type indication information corresponding to the bounded delay information
  • the format subspace is used to carry the bounded delay information.
  • the format of the message When m>1, the m pieces of bounded delay information carried by the BLI data field are of the same type, or at least two of the m pieces of bounded delay information are of different types.
  • the following describes the implementation method of carrying bounded delay information and type indication information in the first message.
  • the first implementation method the first message is an IPv6 message, and the first message includes an HBH.
  • the HBH includes an option field.
  • the bounded delay information and the type indication information corresponding to the bounded delay information are both located in the option field. middle.
  • the option field includes a BLI data field, and the bounded delay information and the type indication information corresponding to the bounded delay information are both located in the BLI data field.
  • FIG. 4 is a schematic diagram of an option field provided by an embodiment of the present application.
  • the option field includes an option type (option type) subfield, an option data length (option data length) subfield, and a BLI data field (the BLI data field is a subfield in the option field).
  • the option type subfield is used to indicate the type of the option field.
  • the highest three bits of the option type subfield are 001.
  • the network node if the network node cannot recognize the option type, the The network node skips this option field, and the network node can change the value of the option type subfield during processing of the option field.
  • the option data length subfield is used to indicate the length of the BLI data field.
  • FIG. 5 is a schematic diagram of a first message provided by an embodiment of the present application.
  • the first message is an IPv6 message.
  • the first message includes a payload, a user datagram protocol (UDP) header, other IPv6 extension headers, HBH, IPv6 header, and media access control (media). access control (MAC) header and Ethernet header (ETH).
  • the HBH includes the option fields shown in Figure 3. This option field carries m bounded delay information and m type indication information.
  • the m bounded delay information corresponds to each network node along the first message. Each network node responds to the m bounded delay information.
  • the delay information and the m type indication information are combined with the local policy to forward the first message.
  • the second implementation method the first message is an IPv6 message, and the first message includes a DOH.
  • the DOH includes an option field.
  • the bounded delay information and the type indication information corresponding to the bounded delay information are both located in the option field. middle.
  • the option field includes a BLI data field, and the bounded delay information and the type indication information corresponding to the bounded delay information are both located in the BLI data field.
  • the option field is located in the DOH of the first message
  • the m bounded delay information carried by the option field corresponds to at least one network node along the first message
  • the m The bounded delay information corresponds to each network node in the at least one network node, and each network node forwards the first message according to the m bounded delay information and the m type indication information in combination with a local policy.
  • the at least one network node is in the first deterministic network, and the at least one network node all hits the destination address carried by the DOH.
  • the at least one network node includes an egress node of the first deterministic network.
  • the third implementation method the first message is an MPLS message, and the first message includes an MPLS extension header (EH).
  • EH MPLS extension header
  • MPLS EH includes a BLI data field, and bounded delay information and type indication information corresponding to the bounded delay information are both located in the BLI data field.
  • FIG. 6 is a schematic diagram of an MPLS EH provided by an embodiment of the present application.
  • the MPLS EH includes a next header (NH) field, a header extension length (HLEN) field, a reserved field and a BLI data field.
  • the NH field is used to indicate the type of EH following this MPLS EH.
  • the HLEN field is used to indicate the length of the BLI data field.
  • the first message is an MPLS message, and the first message includes an EH stack.
  • the EH stack includes multiple MPLS EHs, and the multiple MPLS EHs are related to multiple MPLS EHs along the way of the first message. There is a one-to-one correspondence between network nodes, and each MPLS EH carries at least one bounded delay information and type indication information corresponding to the at least one bounded delay information.
  • the first message may also include an MPLS label stack (lable stack).
  • the MPLS label stack includes multiple MPLS labels, and the multiple MPLS labels correspond to multiple network nodes along the first message. For example, the multiple MPLS EHs correspond to the multiple MPLS labels one-to-one, and the multiple network nodes are all in the first deterministic network.
  • FIG. 7 is a schematic diagram of another first message provided by an embodiment of the present application.
  • the first message is an MPLS message, and the first message includes an MPLS payload, an EH stack, a common header of PAH (CH), a bottom label of the stack (BoS), and an MPLS label stack.
  • PAH is post-stack MNA header in English and stack MNA header in Chinese.
  • MNA is MPLS network actions in English and MPLS network actions in Chinese.
  • the EH stack includes n MPLS EHs, and the structure of each MPLS EH is shown in Figure 6.
  • the n MPLS EHs correspond one-to-one to the n network nodes along the first message, and each of the n network nodes processes the first message according to the corresponding MPLS EH.
  • Figure 7 takes the n MPLS EHs each including m BLI data spaces as an example. Therefore, each of the n MPLS EHs carries m bounded delay information and m type indication information. In other embodiments, , at least two MPLS EHs among the n MPLS EHs carry different amounts of bounded delay information.
  • the first message includes an MPLS EH used to carry bounded delay information
  • the MPLS EH is connected to a network node along the first message (such as the egress node of the first deterministic network)
  • the MPLS EH carries at least one bounded delay information and type indication information corresponding to the at least one bounded delay information.
  • FIG. 8 is a schematic diagram of yet another first message provided by an embodiment of the present application.
  • the first message is an MPLS message.
  • the first message includes an MPLS payload, MPLS EH, UDP header, IPv6 header, MAC header and ETH.
  • the structure of the MPLS EH is shown in Figure 6.
  • the MPLS EH is different from the first Corresponding to the egress node of the deterministic network, the egress node processes the first message according to the MPLS EH.
  • the fourth implementation method the first message is an SRv6 message, the first message includes an SRH, the SRH includes a segment list, the bounded delay information and the type indication information corresponding to the bounded delay information are both in the segment list.
  • the segment list includes multiple SIDs, each SID includes a location (locator) field and a function (function) Field and parameter (argument) fields, the bounded delay information and the type indication information corresponding to the bounded delay information are located in the parameter field of the SID.
  • the first message carries at least one bounded delay information and at least one type indication information.
  • the at least one bounded delay information corresponds to the at least one type indication information.
  • the at least one bounded delay information is one-to-one.
  • One correspondence is located in the parameter field of at least one SID, and each type indication information and its corresponding bounded delay information are located in the same parameter field.
  • the plurality of SIDs are in one-to-one correspondence with a plurality of network nodes along the route of the first message. Therefore, the at least one bounded delay information is in a one-to-one correspondence with at least one of the plurality of network nodes.
  • each SID carries a bounded delay information and a type indication information.
  • Figure 9 is a schematic diagram of an SRH provided by an embodiment of the present application.
  • the SRH includes the following fields: next header, header extension length, routing type, remaining segment (segment left, SL), last entry, flags, tag, ⁇ Segment List[1], Segment List[2]...Segment List[n]> and optional TLV.
  • Each segment list in segment list [1], segment list [2]...segment list [n] is a SID.
  • the parameter field of each segment list in segment list [1], segment list [2]...segment list [n] includes a bounded delay information and a type indication information.
  • the parameter field in each segment list The type indication information is used to indicate the type of bounded delay information in the parameter field.
  • the SRH shown in Figure 9 carries n bounded delay information and n type indication information, n ⁇ 1, and n is an integer.
  • n the n pieces of bounded delay information are of the same type, or at least two of the n pieces of bounded delay information are of different types.
  • the types of the n bounded delay information may be preconfigured types, and the above n SIDs may not carry type indication information. This document The application examples do not limit this.
  • the fifth implementation method the first message is an SRv6 message, and the first message includes an SRH.
  • the SRH includes a TLV field.
  • the bounded delay information and the type indication information corresponding to the bounded delay information are both located in the TLV field. middle.
  • the TLV field carries at least one bounded delay information and at least one type indication information, and the at least one bounded delay information corresponds to at least one network node in the first deterministic network.
  • the at least one bounded delay information corresponds to the at least one network node, or each network node in the at least one network node corresponds to all the bounded delay information in the at least one bounded delay information.
  • the SRH also includes a segment list.
  • the segment list includes a plurality of SIDs.
  • the plurality of SIDs correspond one-to-one to a plurality of network nodes along the first message, and the plurality of network nodes are in the first deterministic network.
  • the number of the at least one bounded delay information is not greater than the number of the multiple SIDs
  • the type of the SID corresponding to the bounded delay information among the multiple SIDs is the target type (corresponding to the SID and bounded delay information of the same network node).
  • Delay information corresponding) indicates that the above TLV field includes bounded delay information corresponding to the corresponding SID.
  • the target type is END.BLI, that is, the SID corresponding to the bounded delay information is END.BLI SID.
  • the type of the SID that does not correspond to bounded delay information among the multiple SIDs is END or END.X.
  • END SID is the destination node (endpoint) SID, which identifies a certain destination node in the network.
  • END.X SID is the endpoint SID of the three-layer cross-connection, which identifies a certain link in the network.
  • the SRH includes a segment list and a TLV field.
  • the segment list includes multiple SIDs.
  • the multiple SIDs correspond to multiple network nodes along the first message.
  • the TLV field carries multiple bounded Delay information and multiple types of indication information.
  • the multiple bounded delay information corresponds to the multiple types of indication information.
  • the multiple bounded delay information corresponds to multiple network nodes along the first message.
  • the number of the plurality of type indication information is not greater than the number of the plurality of SIDs, and the type of the SID corresponding to the bounded delay information among the plurality of SIDs is the target type.
  • Figure 10 is a schematic diagram of another SRH provided by an embodiment of the present application.
  • the SRH includes the following fields: next header, header extension length, routing type, remaining segments, last entry, flag, label, ⁇ segment list[1], segment list[2]...segment list[n]> and TLV. Segment list[1], Segment list[2]... Each segment list in segment list [n] is a SID.
  • the TLV field includes the following subfields: type, length, remaining BLI, reservation, and ⁇ BLI list[1], BLI list[2]...BLI list[m]>.
  • the type subfield is used to indicate the type of the TLV field.
  • the length subfield is used to indicate the length of the data field of the TLV field.
  • the remaining BLI field indicates the number of unprocessed BLI lists remaining before reaching the destination node.
  • Each BLI list is used to carry a bounded delay information and a type indication information.
  • the type indication information in each BLI list is used to indicate the The type of bounded delay information in the BLI list.
  • the SRH shown in Figure 10 carries n SIDs, m bounded delay information and m type indication information, n ⁇ m ⁇ 1, and n and m are both integers, and the n SIDs correspond to bounded delay information.
  • the SID is the SID and the SID is END.BLI.
  • m>1 the m pieces of bounded delay information are of the same type, or at least two of the m pieces of bounded delay information are of different types.
  • the BLI list may not carry type indication information, and the type of the m pieces of bounded delay information may be indicated through the type subfield in the TLV field.
  • Figure 10 is just an example.
  • the amount of bounded delay information carried by the SRH is less than the number of SIDs carried by the SRH (for example, the SRH carries n SIDs)
  • n BLIs can also be set in the TLV field of the SRH. List, the n BLI lists correspond to the n SIDs one-to-one, and the n SIDs are all END.BLI SIDs.
  • the content of part of the BLI lists in the n BLI lists is set to empty. This is not the case in the embodiment of the present application. Make limitations.
  • the SRH includes a segment list and a TLV field.
  • the segment list includes multiple SIDs.
  • the multiple SIDs correspond to multiple network nodes along the first message.
  • the TLV field carries a bounded Delay information and a type indication information, the bounded delay information corresponds to the plurality of network nodes, the types of the plurality of SIDs are target types, and each network node in the plurality of network nodes is based on the one
  • the first message is processed using the boundary delay information and the type indication information.
  • Figure 11 is a schematic diagram of yet another SRH provided by an embodiment of the present application.
  • the SRH includes the following fields: next header, header extension length, routing type, remaining segments, last entry, flag, label, ⁇ segment list[1], segment list[2]...segment list[n]> and TLV.
  • Each segment list in segment list [1], segment list [2]...segment list [n] is a SID.
  • the TLV field includes the following subfields: type, length, reservation, type indication, and BLI.
  • the type subfield is used to indicate the type of the TLV field.
  • the length subfield is used to indicate the length of the data field of the TLV field.
  • the BLI subfield is used to carry bounded delay information.
  • the type subfield is used to carry the type.
  • this type of indication information is used to indicate the type of the bounded delay information.
  • the SRH shown in Figure 11 carries n SIDs, a bounded delay information and a type indication information.
  • n is an integer greater than or equal to 1.
  • the bounded delay information corresponds to the n SIDs.
  • the n are all END.BLI SIDs.
  • the TLV field may not include a type indication subfield, and the type of bounded delay information may be indicated through the type subfield in the TLV field.
  • the BLI field shown in Figure 3 is extended in the TLV field to carry multiple bounded delay information and multiple type indication information, so that the BLI field corresponds to the n SIDs, and the multiple The network node corresponding to each SID in the SID processes the first message according to the plurality of bounded delay information and the plurality of type indication information, which is not limited in the embodiment of the present application.
  • the SRH includes a segment list and a TLV field.
  • the segment list includes multiple SIDs.
  • the multiple SIDs correspond to multiple network nodes along the first message.
  • the TLV field carries a bounded Delay information and a type indication information, the bounded delay information corresponds to the last network node among the plurality of network nodes (for example, the egress node of the first deterministic network), and the last SID among the plurality of SIDs
  • the type is the target type.
  • Figure 12 is a schematic diagram of another SRH provided by the embodiment of the present application. The structure of this SRH is the same as that of the SRH shown in Figure 11.
  • the SRH shown in Figure 12 carries n SIDs, a bounded delay information and a type indication information.
  • the bounded delay information corresponds to the last SID among the n SIDs, and the last SID is the END.BLI SID.
  • the TLV field in the SRH shown in Figure 12 may not include a type indication subfield, and the type of bounded delay information may be indicated through the type subfield in the TLV field.
  • the BLI field shown in Figure 3 is extended in the TLV field to carry multiple bounded delay information and multiple type indication information, so that the BLI field corresponds to the last SID, and the last SID
  • the corresponding network node processes the first message according to the plurality of bounded delay information and the plurality of type indication information, which is not limited in the embodiments of the present application.
  • Figure 13 shows a flow chart of a message transmission method provided by an embodiment of the present application.
  • the message transmission method is applied to the first network node in the first deterministic network.
  • the first network node is an entry node, an intermediate node or an exit node of the first deterministic network.
  • the first deterministic network is the deterministic network 1 in Figure 1 or Figure 2
  • the first network node is any one of the network nodes 101 to 103.
  • the method includes the following steps S301 to S302.
  • the first network node obtains the first message.
  • the first message carries the first type of indication information and the first bounded delay information.
  • the first type of indication information is used to indicate the type of the first bounded delay information.
  • a bounded delay information is used to ensure the end-to-end deterministic delay of the first message in the first deterministic network.
  • the first packet carries the first type indication information and the first bounded delay information, and the first type indication information and the first bounded delay information are used by the first network node to forward the first packet.
  • the first type indication information and the first bounded delay information can also be used by other network nodes in the first deterministic network to forward the first message, which is not limited in the embodiments of the present application.
  • the first bounded delay information includes time resource information or service requirement information.
  • the first bounded delay information may be one bounded delay information; or, the first bounded delay information may include multiple bounded delay information, and the multiple bounded delay information may be of different types.
  • the first bounded delay information is any bounded delay information in Table 1.
  • the first bounded delay information includes at least two bounded delay information in Table 1.
  • the first message is an IPv6 message, and the first type indication information and the first bounded delay information are both located in the IPv6 extension header of the first message.
  • the IPv6 extension header includes HBH, DOH, Any one of SRH.
  • the first message is an MPLS message, and the first type indication information and the first bounded delay information are both located in the MPLS extension header of the first message.
  • the first message is an IPv6 message as shown in Figure 5.
  • the HBH of the first message carries m bounded delay information and m type indication information.
  • the first bounded delay information includes the m Bounded delay information
  • the first type indication information includes the m type indication information
  • the first type indication information and the first bounded delay information are used for multiple network nodes along the first message to forward the first message , these multiple network nodes are all in the first deterministic network.
  • the first message is an MPLS message as shown in Figure 8.
  • the MPLS EH of the first message carries m bounded delay information and m type indication information.
  • the first bounded delay information includes The m pieces of bounded delay information and the first type indication information include the m pieces of type indication information.
  • the first type indication information and the first bounded delay information are used by the egress node of the first deterministic network to forward the first message. .
  • the first message is an SRv6 message (an IPv6 message).
  • the first message includes an SRH as shown in Figure 11.
  • the SRH carries a bounded delay information and a type indication information.
  • the SRH One bounded delay information is the first bounded delay information
  • the one type indication information is the first type indication information
  • the first type indication information and the first bounded delay information are used for multiple points along the first message.
  • the network node forwards the first message, and the multiple network nodes are all in the first deterministic network.
  • the first message is an SRv6 message, and the first message includes an SRH as shown in Figure 12.
  • the SRH carries a bounded delay information and a type indication information.
  • the bounded delay information is The first bounded delay information
  • the class The type indication information is the first type indication information
  • the first type indication information and the first bounded delay information are used for the egress node of the first deterministic network to forward the first message.
  • the first packet also carries second bounded delay information and second type indication information.
  • the second type indication information is used to indicate the type of the second bounded delay information.
  • the second bounded delay information The delay information is used to ensure the end-to-end deterministic delay of the first message in the first deterministic network, and the second type indication information and the second bounded delay information are used by the second network node to forward the first message, The second network node is in the first deterministic network.
  • the second bounded delay information is one bounded delay information, or the second bounded delay information includes multiple bounded delay information.
  • the second bounded delay information includes a plurality of bounded delay information, the types of the plurality of bounded delay information are different.
  • the type of the second bounded delay information is different from the type of the first bounded delay information.
  • the second bounded delay information and the first bounded delay information are any two bounded delay information in Table 1, and the type of the second bounded delay information is the same as the first bounded delay information.
  • the first bounded delay information is queue indication information
  • the second bounded delay information is cycle indication information.
  • the first bounded delay information includes at least two bounded delay information in Table 1
  • the second bounded delay information includes at least two bounded delay information in Table 1
  • the second bounded delay information includes at least two bounded delay information in Table 1.
  • the type of the at least one bounded delay information included in the bounded delay information is different from the type of the at least one bounded delay information included in the first bounded delay information.
  • the first bounded delay information includes queue indication information and period indication information
  • the second bounded delay information includes queue indication information and time slot indication information.
  • the type of the second bounded delay information and the type of the first bounded delay information may be the same.
  • the first bounded delay information and the second bounded delay information are located in the same IPv6 extension header of the first packet, or the first bounded delay information and the second bounded delay information are in the same IPv6 extension header of the first packet.
  • the delay information is located in different IPv6 extension headers of the first packet.
  • the plurality of type indication information includes first type indication information and second type indication information.
  • the first message is an IPv6 message
  • the plurality of bounded delay information and the plurality of type indication information are located in the IPv6 extension header of the first message.
  • the first message is an MPLS message
  • the plurality of bounded delay information and the plurality of type indication information are located in the MPLS extension header of the first message.
  • the first message is an MPLS message as shown in Figure 7.
  • the first message includes n MPLS EHs. Each MPLS EH carries m bounded delay information and m type indication information.
  • the first The bounded delay information and the second bounded delay information are the bounded delay information carried by any two MPLS EHs among the n MPLS EHs
  • the first type indication information and the second type indication information are the bounded delay information carried by any two of the n MPLS EHs.
  • Type indication information carried by MPLS EH For example, MPLS EH1 carries first bounded delay information and first type indication information, and MPLS EH2 carries second bounded delay information and second type indication information.
  • the first message is an SRv6 message, and the first message includes an SRH as shown in Figure 9.
  • the SRH carries n bounded delay information and n type indication information.
  • the first bounded delay The information and the second bounded delay information are any two bounded delay information among the n bounded delay information.
  • the first type indication information and the first bounded delay information are located in the same parameter field.
  • the second The type indication information and the second bounded delay information are located in the same parameter field.
  • the first bounded delay message The information is bounded delay information 1, the first type indication information is type indication information 1; the second bounded delay information is bounded delay information 2, and the second type indication information is type indication information 2.
  • the first message is an SRv6 message, and the first message includes an SRH as shown in Figure 10.
  • the SRH includes m BLI lists, and each BLI list is used to carry a bounded delay information and a
  • the type indication information, the first bounded delay information and the second bounded delay information are the bounded delay information carried by any two BLI lists among the m BLI lists, the first type indication information and the second type indication
  • the information is the type indication information carried by any two BLI lists.
  • the first bounded delay information and the first type indication information are carried in the BLI list [1]
  • the second bounded delay information and the second type indication information are carried in the BLI list [2].
  • the first message is an IPv6 message, and the first message also carries slice indication information.
  • the slice indication information is located in the IPv6 extension header of the first message.
  • the slice indication information is located in the first IPv6 extension header. in the HBH, DOH or SRH of the message.
  • the slice indication information indicates a network slice used to forward the first packet, and the slice indication information may be a slice identifier (identifier, ID).
  • the slice indication information and the first bounded delay information are located in the same IPv6 extension header of the first message.
  • the slice indication information and the first bounded delay information are located in different IPv6 extension headers of the first message.
  • the first bounded delay information is located in the SRH, and the slice indication information is located in the HBH.
  • Figure 14 is a schematic diagram of yet another first message provided by an embodiment of the present application.
  • the first message is an SRv6 message, and the first message includes a payload, SRH, HBH and IPv6 header.
  • the structure of the SRH is the same as Figure 9.
  • the SRH carries m bounded delay information.
  • the first bounded delay information is any bounded delay information among the m bounded delay information.
  • the slice ID is located in the HBH.
  • HBH includes the following fields: next header, header extension length, flag, slice ID and reservation.
  • the IPv6 header includes the following fields: version field, traffic class, flow label, payload length, next header, hop limit, source ) address, destination address.
  • the slice indication information is carried in the HBH of the first message.
  • Each network node along the first route can determine the corresponding network slice based on the slice indication information, and then forward the first message through the network slice. For example, the network nodes along the first packet forward the first packet according to the slice indication information, the bounded delay information, and the type indication information used to indicate the bounded delay information. This not only ensures that the first packet
  • the end-to-end deterministic delay of the first message in the first deterministic network can also be guaranteed to ensure the deterministic delay of the first message in the network slice indicated by the slice indication information.
  • the first network node is an entry node, an intermediate node or an exit node of the first deterministic network.
  • the first network node receives the first message from a previous hop node of the first network node, and the previous hop node is in the first deterministic network. middle.
  • the first network node When the first network node is an entry node of the first deterministic network, the first network node generates the first message.
  • the following of S301 mainly introduces the implementation plan for the first network node to obtain the first message when the first network node is the entry node of the first deterministic network.
  • the first network node obtains a plurality of type indication information and a plurality of bounded delay information.
  • the plurality of type indication information corresponds to the plurality of bounded delay information.
  • the plurality of type indication information includes: The first type of indication information and the second type of indication information, the plurality of bounded delay information include the first bounded delay information and the second bounded delay information, the first network node according to the second message, the plurality of bounded delay information The type indication information and the plurality of bounded delay information generate a first message.
  • the first network node receives a control message sent by the controller.
  • the control message includes first type indication information and first bounded delay information.
  • the first network node obtains the first time delay from the control message.
  • the control message includes multiple types of indication information and multiple bounded delay information.
  • the multiple types of indication information correspond to the multiple bounded delay information.
  • Each type of indication information is used to indicate The corresponding type of bounded delay information, the plurality of bounded delay information includes the first bounded delay information, the plurality of type indication information includes the first type indication information, and the first network node obtains the first bounded delay information from the control message. Obtain the plurality of type indication information and the plurality of bounded delay information.
  • the plurality of bounded delay information corresponds to a plurality of network nodes along the first service flow, the plurality of network nodes are all in the first deterministic network, and the first message belongs to the first service flow.
  • Each TLV field in the plurality of TLV fields may also include a node identifier to indicate the network node corresponding to the bounded delay information carried by each TLV field.
  • Each information item among the plurality of information items may further include a node identifier to indicate the network node corresponding to the bounded delay information included in each information item.
  • the node identifier may be the SID of the node, or other indication information used to identify the network node.
  • the first network node before the first network node receives the control message sent by the controller, the first network node sends the capability information of the first network node to the controller, and the controller determines the first type of indication information based on the capability information of the first network node. and the first bounded delay information.
  • the first bounded delay information is underlying resource information
  • the capability information of the first network node includes the underlying resource information of the first network node
  • the controller obtains the capability information of the first network node from the capability information of the first network node.
  • the controller determines the underlying resource information of the first network node as the first bounded delay information and generates first type indication information for indicating the type of the first bounded delay information.
  • the second packet comes from the second deterministic network, and the second packet carries target bounded delay information.
  • the target bounded delay information is used to ensure that the second packet travels in the second deterministic network. End-to-end deterministic latency.
  • the first deterministic network is deterministic network 1
  • the second deterministic network is deterministic network 2.
  • the target bounded delay information is used to ensure the end-to-end arrival of the second message in deterministic network 2.
  • End deterministic delay The first network node may obtain the first type indication information and the first bounded delay information according to the target bounded delay information carried in the second message.
  • the first network node obtains a plurality of type indication information and a plurality of bounded delay information according to the target bounded delay information, and the plurality of type indication information is related to the plurality of bounded delay information.
  • the plurality of bounded delay information includes the first bounded delay information.
  • the plurality of type indication information includes first type indication information.
  • the first network node stores an association relationship between the target bounded delay information and the plurality of bounded delay information (for example, it is called a first association relationship).
  • a mapping relationship is used to obtain the multiple bounded delay information.
  • the first association relationship is configured in the first network node through the command line, or it can be configured on the controller and sent to the first network node by the controller, or it can be generated by the controller and sent to of the first network node.
  • the first network node forwards the first message according to the first type indication information and the first bounded delay information.
  • the first network node determines the underlying resource information corresponding to the time resource information based on the time resource information (that is, abstract resource information) and the local mapping relationship, The first network node determines the underlying resource indicated by the underlying resource information, and the first network node determines the first resource among the underlying resources indicated by the underlying resource information. For example.
  • the time resource information (that is, abstract resource information) included in the first bounded delay information is resource ID1.
  • the first network node determines that the underlying resource information corresponding to the resource ID1 is queue ID1 according to the resource ID1 and the local mapping relationship.
  • the first network node determines that the underlying resource information corresponding to the resource ID1 is queue ID1.
  • the network node determines the queue indicated by queue ID1 as the first resource.
  • the time resource information included in the first bounded delay information is resource ID2, and the first network node determines that the underlying resource information corresponding to the resource ID2 includes queue ID1 and cycle ID1 according to the resource ID2 and the local mapping relationship.
  • the node determines the queue indicated by queue ID1 (assumed to be queue 1), and determines the cycle period indicated by period ID1 (assumed to be cycle cycle 1).
  • the first network node determines queue 1 or cycle period 1 as the first in combination with the local policy. resource.
  • the first network node determines that the first bounded delay information includes service requirement information according to the first type indication information, and the first network node determines that the service requirement is met in the first network node according to the service requirement information. information resources, and then determine the first resource among these resources that meet the information requirements of the business. For example, the first network node determines the queue and/or cycle period and/or time slot in the first network node that satisfies the service requirement information based on the service requirement information. The first network node combines the local policy and determines the queue and/or cycle period and/or time slot in the first network node when the service requirement information is satisfied. The first resource is determined in the queue and/or cycle period and/or time slot.
  • the information resources in the first network node that meet the service requirements include queue 1, cycle period 1 and time slot 1. If the first network node adopts a layer (layer1, L1) scheduling strategy for service scheduling, the first network node Determine time slot 1 as the first resource; if the first network node adopts the two-layer (layer2, L2) scheduling strategy or the three-layer (layer3, L3) The scheduling policy performs service scheduling, and the first network node determines queue 1 or cycle period 1 as the first resource.
  • layer1, L1 scheduling strategy for service scheduling the first network node Determine time slot 1 as the first resource
  • the scheduling policy performs service scheduling, and the first network node determines queue 1 or cycle period 1 as the first resource.
  • the first packet also carries slice indication information, and the first network node forwards the first packet according to the first type indication information, the first bounded delay information and the slice indication information. For example, the first network node determines the network slice according to the slice indication information, and determines the first network slice for transmitting the first message in the network slice according to the first type indication information and the first bounded delay information.
  • the bounded delay information and the slice indication information are combined to locate the resources used to transmit the first message on the network slice, which not only ensures the end-to-end arrival of the first message in the first deterministic network It also ensures the deterministic delay of the first message within the network slice indicated by the slice indication information.
  • the first network node in the first deterministic network obtains the first message carrying the first type indication information and the first bounded delay information, and according to The first type indication information and the first bounded delay information forward the first message.
  • the first type of indication information is used to indicate the type of the first bounded delay information
  • the first bounded delay information is used to ensure the end-to-end deterministic delay of the first message in the first deterministic network. Therefore, this application assists the first deterministic network by carrying bounded delay information and type indication information for indicating the type of the bounded delay information in the first message transmitted in the first deterministic network.
  • the network node forwards the first message, ensuring the end-to-end deterministic delay of the first message in the first deterministic network.
  • the technical solutions provided by the embodiments of this application can be applied to various network scenarios such as IPv6 DetNet, SRv6 DetNet, MPLS DetNet, TSN over IPv6 DetNet, TSN over SRv6 DetNet, TSN over MPLS DetNet, etc.
  • Figure 15 shows a flow chart of another message transmission method provided by an embodiment of the present application.
  • This message transmission method applies to the controller.
  • the method includes the following steps S501 to S503.
  • the controller receives capability information of the first network node, and the first network node is in the first deterministic network.
  • the first network node sends the capability information of the first network node to the controller through the interior gateway protocol (interior gateway protocol, IGP) or the border gateway protocol link-state (BGP-LS).
  • IGP interior gateway protocol
  • BGP-LS border gateway protocol link-state
  • the control The server receives the capability information of the first network node through IGP or BGP-LS.
  • the capability information of the first network node is used to indicate the first network node's processing capability of the first service flow
  • the capability information of the first network node includes the underlying resources of the first network node that can be used to transmit the first service flow.
  • the capability information of the first network node includes at least one of queue indication information, cycle indication information, time slot indication information and priority information
  • the queue indication information is used to indicate that the first network node can be used for transmission
  • the queue of the first service flow the period indication information is used to indicate the cycle period in the first network node that can be used to transmit the first service flow
  • the time slot indication information is used to indicate that the first network node can be used to transmit the first service flow.
  • the priority information is used to indicate the priority queue in the first network node that can be used to transmit the first service flow.
  • the capability information of the first network node also includes service requirement information of the first service flow, and the service requirement information includes at least one of the following: delay requirement information, jitter requirement information, and deadline requirement information.
  • the delay requirement information includes at least one of the following: end-to-end delay requirement information and local delay requirement information.
  • the jitter requirement information includes at least one of the following: end-to-end jitter requirement information, local jitter requirement information.
  • the deadline requirement information includes at least one of the following: end-to-end deadline requirement information, local deadline requirement information.
  • the capability information of the first network node may also include other information. The embodiments of this application do not limit the specific content of the capability information of the first network node.
  • the first deterministic network includes multiple network nodes, the multiple network nodes include the first network node, and each network node in the multiple network nodes sends a message to the controller through IGP or BGP-LS.
  • the controller receives the capability information of each network node in the plurality of network nodes through IGP or BGP-LS.
  • the capability information of each network node includes information on underlying resources in each network node that can be used to transmit the first service flow, and may also include service requirement information of the first service flow.
  • the controller obtains the first type indication information and the first bounded delay information according to the capability information of the first network node.
  • the first type indication information is used to indicate the type of the first bounded delay information.
  • the first bounded delay information is used to indicate the type of the first bounded delay information.
  • the delay information is used to ensure the end-to-end deterministic delay of the packet carrying the first bounded delay information in the first deterministic network.
  • the first bounded delay information includes time resource information or business requirement information.
  • the time resource information is used to indicate resources in the network node for transmitting the first service flow.
  • the service requirement information is used to indicate the service requirement of the first service flow.
  • the time resource information is bottom resource information or abstract information of bottom resource information (referred to as abstract resource information for short).
  • the bottom resource information directly indicates the resource transmitting the first service flow in the network node.
  • the first bounded delay information includes time resource information, and the time resource information is bottom layer resource information, and the capability information of the first network node includes the bottom layer of the first network node that can be used to transmit the first service flow.
  • Resource information (referred to as the underlying resource information of the first network node)
  • the controller determines the first bounded delay information and the first type indication information based on the underlying resource information of the first network node.
  • the underlying resource information of the first network node includes at least one of queue indication information, period indication information, time slot indication information and priority information, and the controller uses the queue indication information, the period indication information, the time slot indication information and the priority information. At least one of the slot indication information and the priority information is determined as the first bounded delay information, and the controller generates first type indication information indicating the type of the first bounded delay information.
  • the first bounded delay information includes time resource information, and the time resource information is abstract resource information.
  • the capability information of the first network node includes underlying resource information of the first network node.
  • the underlying resource information of a network node is abstracted to obtain abstract resource information.
  • the controller determines the abstract resource information as the first bounded delay information, and the controller generates a third parameter indicating the type of the first bounded delay information.
  • a type of indication information In this embodiment, the controller can also establish a mapping relationship between the underlying resource information and the abstract resource information, and send the mapping relationship to the first network node for use by the first network node in forwarding the first service flow.
  • the controller acquires at least one bounded delay information and at least one type indication information based on the capability information of multiple network nodes in the first deterministic network, and the at least one bounded delay information is consistent with the at least one type indication information.
  • Each type of indication information is used to indicate the type of corresponding bounded delay information.
  • Each bounded delay information is used to ensure that the packet carrying each bounded delay information is An end-to-end deterministic delay in a deterministic network, the at least one bounded delay information includes first bounded delay information, and the at least one type indication information includes first type indication information.
  • the capability information of each network node includes the underlying resources in each network node that can be used to transmit the first service flow.
  • information (the information on the underlying resources in each network node that can be used to transmit the first service flow is referred to as the underlying resource information of each network node)
  • the controller determines the at least one based on the underlying resource information of the multiple network nodes. bounded delay information, and generating at least one type indication information used to indicate the at least one bounded delay information.
  • the at least one bounded delay information corresponds to all network nodes along the first service flow, and the at least one bounded delay information is used to assist all network nodes along the first service flow in forwarding the first service flow.
  • the at least one bounded delay information corresponds to an egress node of the first deterministic network, and the at least one bounded delay information is used to assist all network nodes along the first service flow in forwarding the first service flow.
  • the at least one bounded delay information corresponds to at least one network node along the first service flow, and each bounded delay information is used to assist the corresponding network node in forwarding the first service flow.
  • the at least one bounded delay information is a plurality of bounded delay information, the plurality of bounded delay information is hop-by-hop auxiliary forwarding information, and each bounded delay information is used to assist the first service flow along the way. The one-hop network node forwards the first service flow.
  • the at least one bounded delay information is a plurality of bounded delay information
  • the plurality of bounded delay information are of the same type, or at least two of the plurality of bounded delay information are bounded delays.
  • the at least one bounded delay information also includes second bounded delay information, and the type of the second bounded delay information is different from the type of the first bounded delay information.
  • the first bounded delay information is queue indication information
  • the second bounded delay information is cycle indication information.
  • the first bounded delay information is queue indication information
  • the second bounded delay information is abstract resource information.
  • the at least one bounded delay information is a plurality of bounded delay information
  • the bounded delay information is abstract resource information.
  • the controller abstracts the underlying resource information of each network node among the multiple network nodes to obtain abstract resource information corresponding to the underlying resource information of each network node.
  • the controller determines the abstract resource information as a bounded delay.
  • Information the controller can obtain multiple bounded delay information.
  • the plurality of network nodes include network nodes 101 to 103.
  • the underlying resource information used by network node 101 to transmit the first business flow is queue ID1
  • the underlying resource information used by network node 102 to transmit the first business flow is cycle ID1.
  • the underlying resource information used by the network node 103 to transmit the first service flow is time slot ID1.
  • the controller abstracts queue ID1 as resource ID11, abstracts cycle ID1 as resource ID12, and abstracts time slot ID1 as resource ID13.
  • Resource ID11, Resource ID12 and resource ID13 are both boundary delay information.
  • the controller establishes a mapping relationship between queue ID1 and resource ID11 (for example, called mapping relationship 1), and sends mapping relationship 1 to the network node 101, so that the network node 101 forwards the first service carrying the resource ID11. Determine underlying resource information when streaming.
  • the controller establishes a mapping relationship between cycle ID1 and resource ID12 (for example, called mapping relationship 2), and sends mapping relationship 2 to the network node 102, so that the network node 102 can determine the underlying resource information when forwarding the first service flow carrying resource ID12. .
  • the controller establishes a mapping relationship between the time slot ID1 and the resource ID13 (for example, called mapping relationship 3), and sends the mapping relationship 3 to the network node 103, so that the network node 103 can determine the underlying resources when forwarding the first service flow carrying the resource ID13. information.
  • the controller abstracts the underlying resource information of multiple network nodes and obtains abstract resource information corresponding to the underlying resource information of multiple network nodes, that is, bounded delay information.
  • the plurality of network nodes include network nodes 101 to 103.
  • the underlying resource information used by network node 101 to transmit the first business flow is queue ID1
  • the underlying resource information used by network node 102 to transmit the first business flow is cycle ID1.
  • the underlying resource information used by the network node 103 to transmit the first service flow is time slot ID1.
  • the controller abstracts queue ID1, cycle ID1 and time slot ID1 into resource ID1, which is the bounded delay information.
  • the controller establishes the mapping relationship between queue ID1, cycle ID1, time slot ID1 and resource ID1, and sends the mapping relationship to the network node 101 ⁇ network node 103 for forwarding by the network node 101 ⁇ network node 103 Determine the underlying resource information when carrying the first service flow of resource ID1.
  • the controller sends a control message to the first network node, where the control message includes the first type indication information and the first bounded delay information.
  • the controller first generates a control message and then sends the control message to the first network node. For example, the controller sends a control message to the first network node through network protocols such as path computation element communication protocol (PCEP) and border gateway protocol (BGP).
  • PCEP path computation element communication protocol
  • BGP border gateway protocol
  • the control message includes the first type indication information and the first bounded delay information to instruct the first network node to process the first service according to the first type indication information and the first bounded delay information. flow.
  • the control message also includes second type indication information and second bounded delay information.
  • the second bounded delay information and the first bounded delay information are arranged in order in the control message.
  • the second type of indication information and the first type of indication information are arranged sequentially in the control message.
  • the order of the second type of indication information and the first type of indication information is consistent with the second bounded delay information and the first bounded delay information. are sorted in the same order.
  • control message includes a first TLV field and a second TLV field arranged in sequence, the first type indication information and the first bounded delay information are located in the first TLV field, the second type indication information and the first bounded delay information are located in the first TLV field.
  • the second bounded delay information is located in the second TLV field.
  • control message includes an information stack, the information stack includes a first information item and a second information item arranged in sequence, and the first information item includes first type indication information and first bounded delay information, The second information item includes second type indication information and second bounded delay information.
  • the control message includes a plurality of bounded delay information and a plurality of type indication information, the plurality of bounded delay information corresponds to the plurality of type indication information, and the plurality of bounded delay information corresponds to the plurality of type indication information.
  • the delay information includes first bounded delay information and second bounded delay information, and the multiple types of indication information include first type indication information and second type indication information.
  • the plurality of bounded delay information are arranged in sequence in the control message, the plurality of type indication information are arranged in sequence in the control message, and the arrangement order of the plurality of type indication information is consistent with the plurality of bounded delay information.
  • the information is arranged in the same order.
  • the control message includes multiple TLV fields arranged in sequence, the multiple bounded delay information is located in the multiple TLV fields in one-to-one correspondence, and each type indication information has its corresponding bounded delay information.
  • the multiple bounded delay information corresponds to multiple network nodes in the first deterministic network, and each TLV field also includes a node identifier to indicate that each The network node corresponding to the bounded delay information carried by the TLV field.
  • the control message includes an information stack. The information stack includes multiple information items arranged in sequence. The multiple bounded delay information is included in the multiple information items in one-to-one correspondence.
  • Each type indicates The information and its corresponding bounded delay information are included in the same information item.
  • the multiple bounded delay information corresponds to multiple network nodes in the first deterministic network.
  • Each information item also includes A node identifier to indicate the network node corresponding to the bounded delay information included in each information item.
  • S503 takes the first network node being the entry node of the first deterministic network as an example.
  • the actual meaning of S503 is: the controller sends a control message to the entry node of the first deterministic network.
  • Figure 16 is a schematic diagram of message transmission provided by an embodiment of the present application.
  • Figure 16 shows a diagram from network node 101 to network node 105 transmits the first service flow description.
  • Network nodes 101 to 105 are all in the first deterministic network.
  • Network node 101 is the entry node of the first deterministic network.
  • Network node 105 is the exit node of the first deterministic network.
  • Basic slices are deployed in the first deterministic network. , Network Slice 1 and Network Slice 2.
  • Figure 16 takes as an example that the packet of the first service flow carries a slice ID and a plurality of bounded delay information, and the plurality of bounded delay information corresponds to a plurality of network nodes along the packet.
  • HBH carries slice ID1.
  • SRH includes an SL field and a segment list.
  • the segment list includes 4 SIDs that correspond to network nodes 102 to 105.
  • the parameter (args) field of each SID carries a bounded delay information and is used to indicate the bounded delay.
  • Type indication information of the type of extension information (the type indication information is not shown in the figure for simplicity), and the value of the SL field indicates the number of remaining unprocessed SIDs arriving at the destination node.
  • the IPv6 header includes an IPv6 source address (SA) field and an IPv6 destination address (DA) field.
  • the IPv6SA field is used to carry IPv6SA
  • the IPv6 DA field is used to carry IPv6 DA.
  • the IPv6 SA of message 2 is SID101 (the SID corresponding to network node 101, briefly represented as "101" in the figure), and the IPv6 DA of message 2 is SID102.
  • the network node 101 forwards the message 2 to the network node 102 through the network slice 1 according to the slice ID1.
  • the network node 103 executes the instruction corresponding to SID103.
  • the network node 103 decrements the value of the SL field of message 3 by 1 and modifies the IPv6 DA of message 3 to SID104 to obtain message 4.
  • the network node 103 determines the cycle period 1 indicated by the cycle ID1 in the cycle period corresponding to the network slice 1 based on the slice ID1 and the cycle ID1 carried by the SID103.
  • the network node 103 forwards the message 4 to the network node 104 through the cycle period 1.
  • the network node 104 executes the instruction corresponding to SID104.
  • the network node 104 decrements the value of the SL field of message 4 by 1 and modifies the IPv6 DA of message 4 to SID105 to obtain message 5.
  • the network node 104 determines the time slot 1 indicated by the time slot ID1 in the time slot corresponding to the network slice 1 based on the time slot ID1 carried by the slice ID1 and the SID104.
  • the network node 104 forwards the message 5 to the network node 105 through the time slot 1.
  • the network node 105 executes the instruction corresponding to the SID 105.
  • the network node 105 strips off the IPv6 header, HBH and SRH of the message 5 to obtain the message 1.
  • the network node 105 determines the resources that meet the delay requirements indicated by the local delay information among the resources corresponding to the network slice 1.
  • the network node 105 determines the resources that meet the delay requirements indicated by the local delay information. Delay required resource forwarding packet 1.
  • Figure 17 is another schematic diagram of message transmission provided by an embodiment of the present application.
  • Figure 17 illustrates the transmission of the first service flow from the network node 101 to the network node 105 as an example.
  • Network nodes 101 to 105 are all in the first deterministic network, and network node 101 is the entry node of the first deterministic network, and the network node 105 is the exit node of the first deterministic network.
  • the first deterministic network is deployed with basic slice, network slice 1 and network slice 2.
  • Figure 16 takes as an example that the packet of the first service flow carries a slice ID and a bounded delay information, and the bounded delay information is abstract resource information.
  • HBH carries slice ID1.
  • SRH includes an SL field, a segment list and a TLV field.
  • the segment list includes 4 SIDs that correspond to network nodes 102 to 105.
  • the types of the 4 SIDs are all END.BLI.
  • the TLV field carries resource ID 1 and for Type indication information indicating the type of resource ID1 (the type indication information is not shown in the figure for simplicity), resource ID1 is abstract resource information, and the value of the SL field indicates the number of unprocessed SIDs remaining at the destination node.
  • the above is an introduction to the method embodiments of the present application.
  • the following describes device embodiments of the present application.
  • the device of the present application can be used to perform the method of the present application.
  • Figure 18 is a schematic diagram of a message transmission device 1800 provided by an embodiment of the present application.
  • the message transmission device 1800 is applied to the first network node in the first deterministic network.
  • the message transmission device 1800 is the first network node or a functional component in the first network node.
  • the message transmission device 1800 includes a processing module 1810 and a sending module 1820.
  • the time resource information includes at least one of the following: queue indication information, cycle indication information, time slot indication information, and priority information.
  • the delay requirement information includes at least one of the following: end-to-end delay requirement information, local delay requirement information; the jitter requirement information includes at least one of the following: end-to-end jitter requirement information, local jitter requirement information; cutoff
  • the deadline requirement information includes at least one of the following: end-to-end deadline requirement information, local deadline requirement information.
  • the sending module 1820 is configured to: determine the type of the first bounded delay information according to the first type indication information;
  • the type of the second bounded delay information is different from the type of the first bounded delay information.
  • the IPv6 extension header is HBH or DOH, and the first type indication information and the first bounded delay information are both located in the option field of the IPv6 extension header.
  • the IPv6 extension header is an SRH.
  • the SRH includes a segment list.
  • the first type indication information and the first bounded delay information are both located in the segment list.
  • the segment list includes a first SID, and both the first type indication information and the first bounded delay information are located in the parameter field of the first SID.
  • the IPv6 extension header is an SRH.
  • the SRH includes a TLV field.
  • the first type indication information and the first bounded delay information are both located in the TLV field.
  • the SRH also includes a segment list, the segment list includes a first SID, the first bounded delay information and the first SID both correspond to the first network node, and the type of the first SID is a target type.
  • the TLV field carries multiple type indication information and multiple bounded delay information.
  • the multiple type indication information and the multiple bounded delay information correspond to one-to-one, and each type indication information is used to indicate the corresponding
  • the type of bounded delay information the plurality of bounded delay information includes the first bounded delay information, the plurality of type indication information includes the first type indication information;
  • the segment list includes a plurality of SIDs, the plurality of The SID has a one-to-one correspondence with multiple network nodes along the way of the first message.
  • the multiple bounded delay information has a one-to-one correspondence with the multiple network nodes along the way of the first message.
  • the number of the multiple bounded delay information Not greater than the number of the multiple SIDs, the type of the SID corresponding to the bounded delay information among the multiple SIDs is the target type.
  • the segment list includes multiple SIDs, the multiple SIDs correspond to multiple network nodes along the first message, the first bounded delay information corresponds to the multiple network nodes, and the multiple SIDs correspond to the multiple network nodes along the first message.
  • the types of SIDs are all target types.
  • the slice indication information and the first bounded delay information are located in different IPv6 extension headers of the first message.
  • the message transmission device provided by the embodiment of the present application carries the first bounded delay information and the first type indication used to indicate the type of the first bounded delay information in the first message.
  • the information assists the network node in the first deterministic network to forward the first message, ensuring the end-to-end deterministic delay of the first message in the first deterministic network.
  • Figure 19 is a schematic diagram of another message transmission device 1900 provided by an embodiment of the present application.
  • the message transmission device 1900 is applied to the controller.
  • the message transmission device 1900 is the controller or a functional component in the controller.
  • the message transmission device 1900 includes: a receiving module 1910, a processing module 1920 and a sending module 1930.
  • the receiving module 1910 is configured to receive capability information of the first network node, where the first network node is in the first deterministic network.
  • the receiving module 1910 please refer to the relevant description in S501 above.
  • the processing module 1920 is configured to obtain the first type indication information and the first bounded delay information according to the capability information of the first network node.
  • the first type indication information is used to indicate the type of the first bounded delay information.
  • the first bounded delay information is The bounded delay information is used to ensure the end-to-end deterministic delay of the packet carrying the first bounded delay information in the first deterministic network.
  • the sending module 1930 is configured to send a control message to the first network node, where the control message includes first type indication information and first bounded delay information.
  • the control message includes first type indication information and first bounded delay information.
  • the first bounded delay information includes time resource information or service requirement information.
  • the time resource information includes at least one of the following: queue indication information, cycle indication information, and time slot indication information. information, priority information.
  • the service requirement information includes at least one of the following: delay requirement information, jitter requirement information, and deadline requirement information.
  • the delay requirement information includes at least one of the following: end-to-end delay requirement information, local delay requirement information; the jitter requirement information includes at least one of the following: end-to-end jitter requirement information, local jitter requirement information; cutoff
  • the deadline requirement information includes at least one of the following: end-to-end deadline requirement information, local deadline requirement information.
  • the receiving module 1910 is configured to receive capability information of multiple network nodes, the multiple network nodes are in the first deterministic network, and the multiple network nodes include the first network node;
  • the processing module 1920 is configured to obtain at least one bounded delay information and at least one type indication information according to the capability information of the plurality of network nodes.
  • the at least one bounded delay information corresponds to the at least one type indication information.
  • the at least one bounded delay information also includes second bounded delay information
  • the at least one type indication information also includes second type indication information
  • the second type indication information is used to indicate the second bounded delay.
  • the second bounded delay information is used to ensure the end-to-end deterministic delay of the packet carrying the second bounded delay information in the first deterministic network.
  • the second bounded delay information The type is different from the type of the first bounded delay information.
  • the second bounded delay information and the first bounded delay information are arranged in order in the control message
  • the second type indication information and the first type indication information are arranged in order in the control message
  • the second type indication information is arranged in order in the control message.
  • the arrangement order of the type indication information and the first type indication information is the same as the arrangement order of the second bounded delay information and the first bounded delay information.
  • control message includes a first TLV field and a second TLV field arranged in sequence, the first type indication information and the first bounded delay information are located in the first TLV field, the second type indication information and the first bounded delay information are located in the first TLV field.
  • the second bounded delay information is located in the second TLV field.
  • control message includes an information stack.
  • the information stack includes a first information item and a second information item arranged in sequence.
  • the first information item includes the first type indication information and the first bounded delay information.
  • the second information item includes second type indication information and second bounded delay information.
  • embodiments of the present application provide a message transmission device, which obtains the first bounded delay information and the type used to indicate the first bounded delay information according to the capability information of the first network node.
  • the first type of indication information and sends a control message including the first type of indication information and the first bounded delay information to the first network node, so that the first network node can obtain the first type of indication based on the control message information and the first bounded delay information of the service message (for example, the first message), and then forward the service message according to the first type indication information and the first bounded delay information, ensuring that the service message is End-to-end deterministic delay in a deterministic network.
  • the message transmission device provided by the embodiment of the present application can also be implemented using an application-specific integrated circuit (ASIC) or a programmable logic device (PLD).
  • ASIC application-specific integrated circuit
  • PLD programmable logic device
  • the above-mentioned PLD can be a complex programmable logical device (CPLD), a field-programmable gate array (FPGA), a general array logic (GAL) or any combination thereof.
  • CPLD complex programmable logical device
  • FPGA field-programmable gate array
  • GAL general array logic
  • the methods provided by the above method embodiments can also be implemented through software.
  • each module in the above message transmission device can also be a software module.
  • FIG. 20 shows a schematic diagram of yet another message transmission device 2000 provided by an embodiment of the present application.
  • the message transmission device 2000 is a network node or a functional component in a network node.
  • the message transmission device 2000 includes a main control board 2010, an interface board 2030 and an interface board 2040.
  • a switching network board (not shown in Figure 20) is also included.
  • the switching network board is used to complete data exchange between interface boards (interface boards are also called line cards or service boards).
  • the main control board 2010 is used to complete functions such as system management, equipment maintenance, and protocol processing.
  • the interface board 2030 and the interface board 2040 are used to provide various service interfaces (for example, POS interface, GE interface, ATM interface, etc.) and implement packet forwarding.
  • the main control board 2010, the interface board 2030 and the interface board 2040 are connected to the system backplane through a system bus to achieve intercommunication.
  • the interface board 2030 includes one or more processors 2031.
  • the processor 2031 is used to control and manage the interface board 2030 and communicate with the central processor 2012 on the main control board 2010 .
  • the memory 2032 on the interface board 2030 is used to store capability information, bounded delay information, etc.
  • the interface board 2030 includes one or more network interfaces 2033 for receiving and sending messages. The specific implementation will not be described again here. As shown in Figure 20, the main control board 2010 also includes a memory 2014. The memory 2014 is used to store system management information, protocols, etc., which is not limited in the embodiment of the present application.
  • this embodiment includes multiple interface boards and adopts a distributed forwarding mechanism.
  • the operations on the interface board 2040 are basically similar to the operations on the interface board 2030.
  • the interface board 2040 includes one or more network interfaces 2043 for receiving and sending messages, a memory 2042 for storing capability information and bounded delay information, and a processor 2041 for interfacing with the interface board. 2040 performs control management and communicates with the central processor 2012 on the main control board 2010. For the sake of simplicity, the interface board 2040 will not be described in detail here.
  • main control boards there may be one or more main control boards, and when there are multiple main control boards, they can include the main main control board and the backup main control board.
  • the multiple interface boards can communicate with each other through one or more switching network boards. When there are multiple interface boards, they can jointly achieve load sharing and redundant backup.
  • Under the centralized forwarding architecture network nodes do not need switching network boards, and the interface boards are responsible for processing business data of the entire system.
  • network nodes include multiple interface boards. Data exchange between multiple interface boards can be realized through switching network boards, providing large-capacity data exchange and processing capabilities. Therefore, the data access and processing capabilities of network nodes with a distributed architecture are greater than those with a centralized architecture.
  • the specific architecture used depends on the network deployment scenario and is not limited here.
  • the memory 2032 and/or the memory 2042 is a read-only memory (ROM) or other type of static storage device that can store static information and instructions, a random access memory (random access memory, RAM) or other types of dynamic storage devices that can store information and instructions, or electrically erasable programmable read-only memory (EEPROM), compact disc read-only memory, CD-ROM) or other optical disc storage, optical disc storage (including compressed disc, Laser disc, optical disc, digital versatile disc, Blu-ray disc, etc.), magnetic disk or other magnetic storage device, or any other medium that can be used to carry or store the desired program code in the form of instructions or data structures and that can be accessed by a computer, But not limited to this.
  • the memory 2032 may exist independently and be connected to the processor 2031 through a communication bus, or may be integrated with the processor 2031.
  • the memory 2042 may exist independently and be connected to the processor 2041 through a communication bus, or may be integrated with the processor 2041.
  • the memory 2032 is used to store program codes, and is controlled by the processor 2031 to execute part or all of the steps of the method provided by the above embodiments.
  • the processor 2031 is used to execute program codes stored in the memory 2032.
  • the program code may include one or more software modules. This one or more software modules may be the functional modules provided in the above embodiment shown in Figure 18.
  • the memory 2042 can also be used to store program codes, and the processor 2041 controls the execution to execute some or all steps of the method provided by the above embodiments.
  • the memory 2014 can also be used to store program codes, and the execution is controlled by the central processor 2012 to execute part or all of the steps of the method provided by the above embodiments.
  • the message transmission device 2100 may be a network node or a functional component in a network node, or may be a controller or a functional component in the controller.
  • the message transmission device 2100 includes a processor 2102, a memory 2104, a communication interface 2106, and a bus 2108.
  • the processor 2102, the memory 2104, and the communication interface 2106 are communicatively connected through the bus 2108. In other embodiments, the processor 2102, the memory 2104, and the communication interface 2106 may also be connected in other ways.
  • the memory 2104 is used to store a computer program 21042, which may include instructions and data.
  • the memory 2104 can be various types of storage media, such as RAM, ROM, non-volatile RAM (non-volatile RAM, NVRAM), programmable ROM (programmable ROM, PROM), erasable PROM (erasable PROM, EPROM) , electrically erasable PROM (electrically erasable PROM, EEPROM), flash memory, optical memory and registers, etc.
  • the communication interface 2106 may include an input/output (I/O) interface, a physical interface, a logical interface, and other interfaces for realizing device interconnection within the message transmission device 2100, and for realizing message transmission.
  • I/O input/output
  • the physical interface may be a gigabit Ethernet (GE) interface, which may be used to interconnect the message transmission device 2100 with other devices.
  • the logical interface may be an interface within the message transmission device 2100, which may be used to implement the message transmission device 2100.
  • the device interconnection inside the text transmission device 2100. Easy to understand, communication interface 2106 It can be used to communicate between the message transmission device 2100 and other devices.
  • the communication interface 2106 is used to send and receive messages between the message transmission device 2100 and other devices.
  • the communication interface 2106 can implement the aforementioned sending module 1820 and receiving module 1910. , sending module 1930 and other related functions.
  • the communication interface 2106 may also include a transceiver for sending and receiving messages.
  • the transceiver may also implement related functions of the aforementioned sending module 1820, receiving module 1910, sending module 1930, etc.
  • the bus 2108 may be any type of communication bus used to interconnect the processor 2102, the memory 2104, and the communication interface 2106, such as a system bus.
  • the above-mentioned devices may be arranged on separate chips, or at least part or all of them may be arranged on the same chip. Whether each device is independently installed on different chips or integrated on one or more chips often depends on the needs of product design.
  • the embodiments of this application do not limit the specific implementation forms of the above devices.
  • the message transmission device 2100 shown in FIG. 21 is only an example, and the message transmission device 2100 may also include other components.
  • the message transmission device 2100 transmits messages by executing all or part of the steps of the method provided in the above embodiments.
  • Embodiments of the present application provide a message transmission system.
  • the message transmission system includes multiple network nodes. At least one network node among the multiple network nodes includes the message transmission system shown in Figure 18, Figure 20 or Figure 21. device.
  • the message transmission system also includes a controller, which includes the message transmission device shown in Figure 19 or Figure 21.
  • the message transmission system is as shown in Figure 1 or Figure 2.
  • Embodiments of the present application provide a computer-readable storage medium.
  • a computer program is stored in the computer-readable storage medium.
  • the computer program is executed (for example, executed by a network node, a controller, one or more processors, etc.) When, all or part of the steps of the message transmission method provided by the above method embodiment are implemented.
  • Embodiments of the present application provide a computer program product.
  • the computer program product includes a program or code.
  • the program or code When the program or code is executed (for example, executed by a network node, a controller, one or more processors, etc.), the following is implemented: All or part of the steps of the message transmission method provided by the above method embodiments.
  • Embodiments of the present application provide a chip, which includes programmable logic circuits and/or program instructions. When running, the chip implements all or part of the steps of the message transmission method provided in the above method embodiments.
  • the computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another, for example, the computer instructions may be transferred from a website, computer, server, or data
  • the center transmits to another website, computer, server or data center through wired (such as coaxial cable, optical fiber, digital subscriber line) or wireless (such as infrared, wireless, microwave, etc.) means.
  • the computer-readable storage medium may be any available medium that can be accessed by a computer, or a data storage device such as a server, data center, or the like that includes one or more available media integrated therein.
  • the available media may be magnetic media (eg, floppy disks, hard disks, tapes), optical media, or semiconductor media (eg, solid state drives), etc.
  • the term “at least one” in this application refers to one or more, and the term “plurality” refers to two or more.
  • the symbol “/” generally means or, for example, A/B can mean A or B.
  • the term “and/or” in this application is only an association relationship describing related objects, indicating that there can be three relationships, for example, A and/or B, which can mean: A alone exists, A and B exist simultaneously, alone There are three situations B.
  • words such as “first”, “second” and “third” are used to distinguish the same or similar items with basically the same functions and effects. Those skilled in the art can understand that words such as “first”, “second” and “third” do not limit the number and execution order.
  • the disclosed devices can be implemented in other configurations.
  • the device embodiments described above are only illustrative.
  • the division of units is only a logical function division. In actual implementation, there may be other division methods.
  • multiple units or components may be combined or integrated. to another system, or some features can be ignored, or not implemented.
  • a unit described as a separate component may or may not be physically separate.
  • a component described as a unit may or may not be a physical unit, and may be located in one place, or may be distributed to multiple network nodes. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

A packet transmission method, apparatus, and system, relating to the technical field of networks. The method comprises: a first network node in a first deterministic network acquires a first packet, and forwards the first packet according to first type indication information and first bounded latency information (BLI) carried in the first packet. The first type indication information is used for indicating the type of the first BLI, and the first BLI is used for ensuring end-to-end deterministic latency of the first packet in the first deterministic network. According to the packet transmission scheme in the present application, the end-to-end deterministic latency of the first packet in the first deterministic network can be ensured.

Description

报文传输方法、装置及系统Message transmission method, device and system
本申请要求申请日为2022年06月30日、申请号为202210771414.9、申请名称为“一种报文处理的方法、设备及系统”的中国专利申请,以及,申请日为2022年09月30日、申请号为202211216213.9、申请名称为“报文传输方法、装置及系统”的中国专利申请的优先权,这两件专利申请的全部内容通过引用结合在本申请中。This application requires a Chinese patent application with an application date of June 30, 2022, an application number of 202210771414.9, and an application title of "A message processing method, equipment and system", and the application date is September 30, 2022 , the priority of the Chinese patent application with application number 202211216213.9 and the application title "Message Transmission Method, Device and System", the entire contents of these two patent applications are incorporated by reference in this application.
技术领域Technical field
本申请涉及网络技术领域,特别涉及一种报文传输方法、装置及系统。The present application relates to the field of network technology, and in particular to a message transmission method, device and system.
背景技术Background technique
在工业互联网场景中,自动化控制业务对网络的端到端时延提出了确定性要求。因此,需要一种报文传输方法来保障自动化控制业务在网络中的端到端时延的确定性。In the industrial Internet scenario, automation control services place deterministic requirements on the end-to-end delay of the network. Therefore, a message transmission method is needed to ensure the certainty of the end-to-end delay of automated control services in the network.
发明内容Contents of the invention
本申请提供一种报文传输方法、装置及系统,能够保障报文在确定性网络中的端到端时延的确定性(也即保障报文在确定性网络中的端到端确定性时延)。本申请的技术方案如下:This application provides a message transmission method, device and system that can ensure the certainty of the end-to-end delay of the message in the deterministic network (that is, guarantee the end-to-end certainty of the message in the deterministic network). extension). The technical solution of this application is as follows:
第一方面,提供了一种报文传输方法,应用于第一确定性网络中的第一网络节点,该方法包括:第一网络节点获取第一报文,第一报文携带第一类型指示信息和第一有界时延信息,第一类型指示信息用于指示第一有界时延信息的类型,第一有界时延信息用于保障第一报文在第一确定性网络中的端到端确定性时延;第一网络节点根据第一类型指示信息和第一有界时延信息转发第一报文。其中,第一报文是第一业务流的业务报文。In a first aspect, a message transmission method is provided, which is applied to a first network node in a first deterministic network. The method includes: the first network node obtains a first message, and the first message carries a first type indication. information and the first bounded delay information, the first type indication information is used to indicate the type of the first bounded delay information, and the first bounded delay information is used to ensure the first message in the first deterministic network End-to-end deterministic delay; the first network node forwards the first message according to the first type indication information and the first bounded delay information. The first message is a service message of the first service flow.
本申请提供的技术方案,在第一确定性网络中传输的第一报文中携带第一有界时延信息和用于指示该第一有界时延信息的第一类型指示信息,以辅助第一确定性网络中的网络节点转发第一报文,保障了第一报文在第一确定性网络中的端到端确定性时延。The technical solution provided by this application carries the first bounded delay information and the first type of indication information used to indicate the first bounded delay information in the first message transmitted in the first deterministic network to assist The network node in the first deterministic network forwards the first message, ensuring the end-to-end deterministic delay of the first message in the first deterministic network.
可选的,第一有界时延信息包括时间资源信息或业务要求信息。该时间资源信息用于指示网络节点中传输第一报文的资源。该业务要求信息用于指示第一报文的业务要求。其中,该时间资源信息是底层资源信息或抽象资源信息,底层资源信息直接指示网络节点中传输第一报文的资源,抽象资源信息与底层资源信息之间具有映射关系,抽象资源信息通过该映射关系间接直接指示网络节点中传输第一报文的资源。Optionally, the first bounded delay information includes time resource information or service requirement information. The time resource information is used to indicate resources in the network node for transmitting the first message. The service requirement information is used to indicate the service requirement of the first message. The time resource information is bottom resource information or abstract resource information. The bottom resource information directly indicates the resource in the network node that transmits the first message. There is a mapping relationship between the abstract resource information and the bottom resource information. The abstract resource information passes through this mapping. The relationship indirectly directly indicates the resource in the network node that transmits the first message.
可选的,时间资源信息包括以下至少一种:队列指示信息、周期指示信息、时隙指示信息、优先级信息。该队列指示信息用于指示网络节点中传输第一报文的队列。该周期指示信息用于指示网络节点中传输第一报文的循环周期。该时隙指示信息用于指示网络节点中传输第一报文的时隙。该优先级信息用于指示第一报文的优先级从而指示对应该优先级的队列。Optionally, the time resource information includes at least one of the following: queue indication information, cycle indication information, time slot indication information, and priority information. The queue indication information is used to indicate the queue in the network node for transmitting the first message. The period indication information is used to indicate the cycle period of transmitting the first message in the network node. The time slot indication information is used to indicate the time slot in which the first message is transmitted in the network node. The priority information is used to indicate the priority of the first message and thereby indicate the queue corresponding to the priority.
可选的,业务要求信息包括以下至少一种:时延要求信息、抖动要求信息、截止期限要求信息。该时延要求信息用于指示第一报文的时延要求。该抖动要求信息用于指示第一业务 流的抖动要求。该截止期限要求信息用于指示第一报文的截止期限要求。Optionally, the service requirement information includes at least one of the following: delay requirement information, jitter requirement information, and deadline requirement information. The delay requirement information is used to indicate the delay requirement of the first message. The jitter requirement information is used to indicate the first service Stream jitter requirements. The deadline requirement information is used to indicate the deadline requirement of the first message.
可选的,时延要求信息包括以下至少一种:端到端时延要求信息、本地时延要求信息。该端到端时延要求信息用于指示第一报文在第一确定性网络中的端到端时延要求。该本地时延要求信息与第一确定性网络中的至少一个网络节点对应,该本地时延要求信息用于指示第一报文在对应的网络节点中的时延要求。Optionally, the delay requirement information includes at least one of the following: end-to-end delay requirement information and local delay requirement information. The end-to-end delay requirement information is used to indicate the end-to-end delay requirement of the first message in the first deterministic network. The local delay requirement information corresponds to at least one network node in the first deterministic network, and the local delay requirement information is used to indicate the delay requirement of the first message in the corresponding network node.
可选的,抖动要求信息包括以下至少一种:端到端抖动要求信息、本地抖动要求信息。该端到端抖动要求信息用于指示第一业务流在第一确定性网络中的端到端抖动要求。该本地抖动要求信息与第一确定性网络中的至少一个网络节点对应,该本地时延要求信息用于指示第一业务流在对应的网络节点中的抖动要求。第一报文是第一业务流的业务报文。Optionally, the jitter requirement information includes at least one of the following: end-to-end jitter requirement information, local jitter requirement information. The end-to-end jitter requirement information is used to indicate the end-to-end jitter requirement of the first service flow in the first deterministic network. The local jitter requirement information corresponds to at least one network node in the first deterministic network, and the local delay requirement information is used to indicate the jitter requirement of the first service flow in the corresponding network node. The first message is a service message of the first service flow.
可选的,截止期限要求信息包括以下至少一种:端到端截止期限要求信息、本地截止期限要求信息。该端到端截止期限要求信息用于指示第一报文离开第一确定性网络的截止期限要求。该本地截止期限要求信息与网络节点对应,该本地截止期限要求信息用于指示第一报文离开对应的网络节点的截止期限要求。Optionally, the deadline requirement information includes at least one of the following: end-to-end deadline requirement information, local deadline requirement information. The end-to-end deadline requirement information is used to indicate the deadline requirement for the first packet to leave the first deterministic network. The local deadline requirement information corresponds to the network node, and the local deadline requirement information is used to indicate the deadline requirement for the first message to leave the corresponding network node.
可选的,第一网络节点根据第一类型指示信息和第一有界时延信息转发第一报文,包括:Optionally, the first network node forwards the first message according to the first type indication information and the first bounded delay information, including:
第一网络节点根据第一类型指示信息确定第一有界时延信息的类型;第一网络节点根据第一有界时延信息和第一有界时延信息的类型,确定第一网络节点中用于传输第一报文的第一资源;第一网络节点通过第一资源转发第一报文。例如,第一网络节点根据第一类型指示信息确定第一有界时延信息包括时间资源信息,且该时间资源信息是抽象资源信息,第一网络节点根据该时间资源信息和本地映射关系确定第一资源。再例如,第一网络节点根据第一类型指示信息确定第一有界时延信息包括业务要求信息,第一网络节点确定第一网络节点中满足该业务要求信息的资源,第一网络节点在满足该业务要求信息的资源中确定第一资源。The first network node determines the type of the first bounded delay information according to the first type indication information; the first network node determines the type of the first bounded delay information according to the first bounded delay information and the type of the first bounded delay information. A first resource used to transmit the first message; the first network node forwards the first message through the first resource. For example, the first network node determines based on the first type indication information that the first bounded delay information includes time resource information, and the time resource information is abstract resource information, and the first network node determines the first bounded delay information based on the time resource information and the local mapping relationship. One resource. For another example, the first network node determines that the first bounded delay information includes service requirement information according to the first type indication information, the first network node determines the resources in the first network node that satisfy the service requirement information, and the first network node determines the resources in the first network node that satisfy the service requirement information. The first resource is determined among the resources of the business requirement information.
本申请提供的技术方案,第一网络节点根据第一类型指示信息和第一有界时延信息确定第一网络节点中用于传输第一报文的第一资源,并通过第一资源转发第一报文,有助于保障第一报文在第一确定性网络中的端到端确定性时延。In the technical solution provided by this application, the first network node determines the first resource in the first network node for transmitting the first message based on the first type indication information and the first bounded delay information, and forwards the first message through the first resource. One packet helps ensure the end-to-end deterministic delay of the first packet in the first deterministic network.
可选的,第一报文还携带第二有界时延信息和第二类型指示信息,第二类型指示信息用于指示第二有界时延信息的类型,第二有界时延信息用于保障第一报文在第一确定性网络中的端到端确定性时延,第二类型指示信息和第二有界时延信息用于第二网络节点转发第一报文,第二网络节点在第一确定性网络中。其中,第二网络节点是第一网络节点的上游节点,或者,第二网络节点是第一网络节点的下游节点。Optionally, the first message also carries second bounded delay information and second type indication information. The second type indication information is used to indicate the type of the second bounded delay information. The second bounded delay information is In order to ensure the end-to-end deterministic delay of the first message in the first deterministic network, the second type indication information and the second bounded delay information are used by the second network node to forward the first message, and the second network The node is in the first deterministic network. Wherein, the second network node is an upstream node of the first network node, or the second network node is a downstream node of the first network node.
可选的,第二有界时延信息的类型与第一有界时延信息的类型不同。例如,第一有界时延信息是时间资源信息,第二有界时延信息是业务要求信息。再例如,第一有界时延信息是队列指示信息,第二有界时延信息是周期指示信息。Optionally, the type of the second bounded delay information is different from the type of the first bounded delay information. For example, the first bounded delay information is time resource information, and the second bounded delay information is service requirement information. For another example, the first bounded delay information is queue indication information, and the second bounded delay information is cycle indication information.
可选的,第一网络节点是第一确定性网络的入口节点,第一网络节点获取第一报文,包括:第一网络节点接收第二报文;第一网络节点接收控制器发送的控制报文,该控制报文包括第一类型指示信息和第一有界时延信息;第一网络节点根据第二报文、第一类型指示信息和第一有界时延信息,生成第一报文。例如,第一网络节点在第二报文中添加第一类型指示信息和第一有界时延信息得到第一报文。其中,第二报文是第一业务流的业务报文。Optionally, the first network node is an entry node of the first deterministic network, and the first network node obtains the first message, including: the first network node receives the second message; the first network node receives the control sent by the controller. message, the control message includes the first type indication information and the first bounded delay information; the first network node generates the first message according to the second message, the first type indication information and the first bounded delay information. arts. For example, the first network node adds the first type indication information and the first bounded delay information to the second message to obtain the first message. The second message is a service message of the first service flow.
本申请提供的技术方案,第一确定性网络的入口节点根据接收到的第二报文和控制报文, 生成携带第一类型指示信息和第一有界时延信息的第一报文,便于第一确定性网络中的网络节点(例如第一网络节点)根据第一有界时延信息和第一类型指示信息转发第一报文,保障了第一报文在第一确定性网络中的端到端确定性时延。In the technical solution provided by this application, the entry node of the first deterministic network, based on the received second message and control message, Generate a first message carrying the first type indication information and the first bounded delay information, so that a network node (for example, a first network node) in the first deterministic network can use the first bounded delay information and the first type The instruction information forwards the first message, ensuring the end-to-end deterministic delay of the first message in the first deterministic network.
可选的,在第一网络节点接收控制器发送的控制报文之前,该方法还包括:第一网络节点向控制器发送第一网络节点的能力信息,控制器用于根据该能力信息确定第一类型指示信息和第一有界时延信息。Optionally, before the first network node receives the control message sent by the controller, the method further includes: the first network node sends capability information of the first network node to the controller, and the controller is configured to determine the first network node based on the capability information. Type indication information and first bounded delay information.
可选的,第一网络节点是第一确定性网络的入口节点,第一网络节点获取第一报文,包括:第一网络节点接收第二报文,第二报文来自第二确定性网络,第二报文携带目标有界时延信息;第一网络节点根据目标有界时延信息获取第一类型指示信息和第一有界时延信息;第一网络节点根据第二报文、第一类型指示信息和第一有界时延信息,生成第一报文。例如,第一网络节点在第二报文中添加第一类型指示信息和第一有界时延信息得到第一报文。Optionally, the first network node is an entry node of the first deterministic network, and the first network node obtains the first message, including: the first network node receives the second message, and the second message comes from the second deterministic network. , the second message carries the target bounded delay information; the first network node obtains the first type indication information and the first bounded delay information according to the target bounded delay information; the first network node obtains the first type indication information and the first bounded delay information according to the second message and the first bounded delay information. A type of indication information and first bounded delay information are used to generate a first message. For example, the first network node adds the first type indication information and the first bounded delay information to the second message to obtain the first message.
本申请提供的技术方案,第一确定性网络的入口节点根据接收到的第二报文和该第二报文携带的目标有界时延信息生成携带第一类型指示信息和第一有界时延信息的第一报文,便于第一确定性网络中的网络节点(例如第一网络节点)根据第一有界时延信息和第一类型指示信息转发第一报文,保障了第一报文在第一确定性网络中的端到端确定性时延。In the technical solution provided by this application, the entry node of the first deterministic network generates a first type indication information and a first bounded delay based on the received second message and the target bounded delay information carried in the second message. The first message of the delay information facilitates the network node (for example, the first network node) in the first deterministic network to forward the first message according to the first bounded delay information and the first type indication information, ensuring that the first message is End-to-end deterministic delay in the first deterministic network.
可选的,第一报文是互联网协议第6版(internet protocol version 6,IPv6)报文,第一类型指示信息和第一有界时延信息均位于第一报文的IPv6扩展头中。Optionally, the first message is an Internet Protocol version 6 (IPv6) message, and the first type indication information and the first bounded delay information are both located in the IPv6 extension header of the first message.
可选的,该IPv6扩展头包括以下任意一个:逐跳头(hop by hop header,HBH)、目的选项头(destination options header,DOH)、段路由头(segment routing header,SRH)。逐跳头也被称为逐跳选项头(hop by hop options header,HBH)。Optionally, the IPv6 extension header includes any one of the following: hop by hop header (HBH), destination options header (destination options header, DOH), segment routing header (segment routing header, SRH). The hop-by-hop header is also called the hop-by-hop options header (HBH).
可选的,该IPv6扩展头为HBH或DOH,第一类型指示信息和第一有界时延信息均位于该IPv6扩展头的选项(option)字段中。Optionally, the IPv6 extension header is HBH or DOH, and the first type indication information and the first bounded delay information are both located in the option field of the IPv6 extension header.
可选的,该IPv6扩展头为SRH,该SRH包括段列表(segment list),第一类型指示信息和第一有界时延信息均位于该段列表中。Optionally, the IPv6 extension header is an SRH. The SRH includes a segment list. The first type indication information and the first bounded delay information are both located in the segment list.
可选的,该段列表包括第一段标识(segment identifier,SID),第一类型指示信息和第一有界时延信息均位于第一SID的参数(arguments)字段中。Optionally, the segment list includes a first segment identifier (SID), and the first type indication information and the first bounded delay information are both located in the parameters (arguments) field of the first SID.
可选的,该IPv6扩展头为SRH,该SRH包括类型长度值(type-lenghth-value,TLV)字段,第一类型指示信息和第一有界时延信息均位于该TLV字段中。Optionally, the IPv6 extension header is an SRH. The SRH includes a type-length-value (TLV) field. The first type indication information and the first bounded delay information are both located in the TLV field.
可选的,该SRH还包括段列表,该段列表包括第一SID,第一有界时延信息和第一SID均与第一网络节点对应,第一SID的类型为目标类型,该目标类型指示SRH的TLV字段携带第一SID对应的有界时延信息。Optionally, the SRH also includes a segment list. The segment list includes a first SID. The first bounded delay information and the first SID both correspond to the first network node. The type of the first SID is a target type. The target type The TLV field indicating the SRH carries bounded delay information corresponding to the first SID.
可选的,该TLV字段携带多个类型指示信息和多个有界时延信息,该多个类型指示信息与该多个有界时延信息一一对应,每个类型指示信息用于指示对应的有界时延信息的类型,该多个有界时延信息包括第一有界时延信息,该多个类型指示信息包括第一类型指示信息;该段列表包括多个SID,该多个SID与第一报文沿途的多个网络节点一一对应,该多个有界时延信息与第一报文沿途的多个网络节点一一对应,该多个有界时延信息的数量不大于该多个SID的数量,该多个SID中对应有界时延信息的SID的类型为目标类型。也即,该多个SID与第一报文沿途的多个网络节点一一对应,该多个有界时延信息与该多个网络节点中的全部 或部分一一对应,由此该多个有界时延信息与该多个SID中的全部或部分一一对应,该多个SID中对应有界时延信息的SID的类型为目标类型。Optionally, the TLV field carries multiple type indication information and multiple bounded delay information. The multiple type indication information corresponds to the multiple bounded delay information. Each type indication information is used to indicate the correspondence. The type of bounded delay information, the plurality of bounded delay information includes the first bounded delay information, the plurality of type indication information includes the first type indication information; the segment list includes a plurality of SIDs, the plurality of The SID has a one-to-one correspondence with a plurality of network nodes along the way of the first message. The plurality of bounded delay information has a one-to-one correspondence with a plurality of network nodes along the way of the first message. The number of the plurality of bounded delay information does not vary. Greater than the number of the multiple SIDs, the type of the SID corresponding to the bounded delay information among the multiple SIDs is the target type. That is to say, the plurality of SIDs correspond to multiple network nodes along the first message, and the plurality of bounded delay information corresponds to all of the plurality of network nodes. Or a partial one-to-one correspondence, whereby the plurality of bounded delay information corresponds to all or part of the plurality of SIDs, and the type of the SID corresponding to the bounded delay information among the plurality of SIDs is the target type.
可选的,该段列表包括多个SID,该多个SID与第一报文沿途的多个网络节点一一对应,第一有界时延信息与该多个网络节点对应,该多个SID的类型均为目标类型。Optionally, the segment list includes multiple SIDs, the multiple SIDs correspond to multiple network nodes along the first message, and the first bounded delay information corresponds to the multiple network nodes. The multiple SIDs correspond to the multiple network nodes along the first message. The types are all target types.
可选的,第一网络节点是第一确定性网络的出口节点,第一报文是分段路由互联网协议第6版(segment routing internet protocol version 6,SRv6)报文,第一报文的SRH包括段列表和TLV字段,该段列表包括多个SID,该多个SID与第一报文沿途的多个网络节点一一对应,第一类型指示信息和第一有界时延信息均位于该TLV字段中,第一有界时延信息仅与第一网络节点对应,该多个SID中仅与第一网络节点对应的SID的类型为目标类型。例如,第一报文携带一个有界时延信息,该一个有界时延信息仅与第一确定性网络的出口节点对应。Optionally, the first network node is the egress node of the first deterministic network, the first message is a segment routing internet protocol version 6 (SRv6) message, and the SRH of the first message is It includes a segment list and a TLV field. The segment list includes multiple SIDs. The multiple SIDs correspond to multiple network nodes along the first message. The first type indication information and the first bounded delay information are both located in the segment list. In the TLV field, the first bounded delay information only corresponds to the first network node, and the type of the SID corresponding only to the first network node among the plurality of SIDs is the target type. For example, the first message carries a bounded delay information, and the bounded delay information only corresponds to the egress node of the first deterministic network.
可选的,第一报文还携带切片指示信息,该切片指示信息位于第一报文的IPv6扩展头中。Optionally, the first packet also carries slice indication information, and the slice indication information is located in the IPv6 extension header of the first packet.
本申请提供的技术方案,第一报文携带切片指示信息、第一有界时延信息和用于指示该第一有界时延信息的第一类型指示信息,第一确定性网络中的网络节点根据该切片指示信息、第一有界时延信息和第一类型指示信息转发第一报文,保障了第一报文在第一确定性网络中的端到端确定性时延,且保障了第一报文在该切片指示信息指示的网络切片内的确定性时延。In the technical solution provided by this application, the first packet carries slice indication information, first bounded delay information and first type indication information used to indicate the first bounded delay information. The network in the first deterministic network The node forwards the first message according to the slice indication information, the first bounded delay information and the first type indication information, ensuring the end-to-end deterministic delay of the first message in the first deterministic network, and ensuring determines the deterministic delay of the first packet within the network slice indicated by the slice indication information.
可选的,该切片指示信息与第一有界时延信息位于第一报文的同一IPv6扩展头中;或者,Optionally, the slice indication information and the first bounded delay information are located in the same IPv6 extension header of the first packet; or,
该切片指示信息与第一有界时延信息位于第一报文的不同IPv6扩展头中。第一类型指示信息和第一有界时延信息位于第一报文的同一IPv6扩展头中。例如,该切片指示信息位于第一报文的HBH中,第一类型指示信息和第一有界时延信息均位于第一报文的SRH中。The slice indication information and the first bounded delay information are located in different IPv6 extension headers of the first message. The first type indication information and the first bounded delay information are located in the same IPv6 extension header of the first message. For example, the slice indication information is located in the HBH of the first packet, and the first type indication information and the first bounded delay information are both located in the SRH of the first packet.
可选的,第一报文是多协议标签交换(multiprotocol label switching,MPLS)报文,第一类型指示信息和第一有界时延信息位于第一报文的MPLS扩展头(extension header,EH)中。Optionally, the first message is a multiprotocol label switching (MPLS) message, and the first type indication information and the first bounded delay information are located in the MPLS extension header (EH) of the first message. )middle.
第二方面,提供了一种报文传输方法,该方法包括:控制器接收第一网络节点的能力信息,第一网络节点在第一确定性网络中;控制器根据该能力信息获取第一类型指示信息和第一有界时延信息,第一类型指示信息用于指示第一有界时延信息的类型,第一有界时延信息用于保障携带第一有界时延信息的报文在第一确定性网络中的端到端确定性时延;控制器向第一网络节点发送控制报文,该控制报文包括第一类型指示信息和第一有界时延信息。例如,控制器根据第一类型指示信息和第一有界时延信息生成控制报文,然后向第一网络节点发送该控制报文。可选的,第一网络节点是第一确定性网络的入口节点。In a second aspect, a message transmission method is provided. The method includes: the controller receives capability information of a first network node, and the first network node is in a first deterministic network; and the controller obtains the first type of information based on the capability information. Indication information and first bounded delay information. The first type of indication information is used to indicate the type of the first bounded delay information. The first bounded delay information is used to ensure packets carrying the first bounded delay information. End-to-end deterministic delay in the first deterministic network; the controller sends a control message to the first network node, where the control message includes first type indication information and first bounded delay information. For example, the controller generates a control message according to the first type indication information and the first bounded delay information, and then sends the control message to the first network node. Optionally, the first network node is an entry node of the first deterministic network.
本申请提供的技术方案,控制器根据第一网络节点的能力信息确定第一类型指示信息和第一有界时延信息,并向第一网络节点发送包括第一类型指示信息和第一有界时延信息的控制报文,可以便于第一网络节点转发携带第一类型指示信息和第一有界时延信息的业务报文,保障该业务报文在第一确定性网络中的端到端确定性时延。In the technical solution provided by this application, the controller determines the first type indication information and the first bounded delay information based on the capability information of the first network node, and sends the first type indication information and the first bounded delay information to the first network node. The control message of the delay information can facilitate the first network node to forward the service message carrying the first type of indication information and the first bounded delay information, ensuring the end-to-end delivery of the service message in the first deterministic network Deterministic delay.
可选的,第一有界时延信息包括时间资源信息或业务要求信息。Optionally, the first bounded delay information includes time resource information or service requirement information.
可选的,时间资源信息包括以下至少一种:队列指示信息、周期指示信息、时隙指示信息、优先级信息。Optionally, the time resource information includes at least one of the following: queue indication information, cycle indication information, time slot indication information, and priority information.
可选的,业务要求信息包括以下至少一种:时延要求信息、抖动要求信息、截止期限要求信息。Optionally, the service requirement information includes at least one of the following: delay requirement information, jitter requirement information, and deadline requirement information.
可选的,时延要求信息包括以下至少一种:端到端时延要求信息、本地时延要求信息。 Optionally, the delay requirement information includes at least one of the following: end-to-end delay requirement information and local delay requirement information.
可选的,抖动要求信息包括以下至少一种:端到端抖动要求信息、本地抖动要求信息。Optionally, the jitter requirement information includes at least one of the following: end-to-end jitter requirement information, local jitter requirement information.
可选的,截止期限要求信息包括以下至少一种:端到端截止期限要求信息、本地截止期限要求信息。Optionally, the deadline requirement information includes at least one of the following: end-to-end deadline requirement information, local deadline requirement information.
可选的,控制器接收第一网络节点的能力信息,包括:控制器接收多个网络节点的能力信息,该多个网络节点在第一确定性网络中,该多个网络节点包括第一网络节点;相应的,控制器根据能力信息获取第一类型指示信息和第一有界时延信息,包括:控制器根据该多个网络节点的能力信息获取至少一个有界时延信息和至少一个类型指示信息,该至少一个有界时延信息与该至少一个类型指示信息一一对应,每个类型指示信息用于指示对应的有界时延信息的类型,该至少一个有界时延信息包括第一有界时延信息,该至少一个类型指示信息包括第一类型指示信息,该控制报文包括该至少一个有界时延信息和该至少一个类型指示信息。Optionally, the controller receives capability information of the first network node, including: the controller receives capability information of multiple network nodes, the multiple network nodes are in the first deterministic network, and the multiple network nodes include the first network node; correspondingly, the controller obtains the first type indication information and the first bounded delay information according to the capability information, including: the controller obtains at least one bounded delay information and at least one type according to the capability information of the plurality of network nodes. Indication information, the at least one bounded delay information corresponds to the at least one type indication information, each type indication information is used to indicate the type of the corresponding bounded delay information, the at least one bounded delay information includes a third Bounded delay information, the at least one type indication information includes first type indication information, and the control message includes the at least one bounded delay information and the at least one type indication information.
本申请提供的技术方案,控制器根据多个网络节点的能力信息获取至少一个有界时延信息和至少一个类型指示信息,并向第一确定性网络的入口节点发送包括该至少一个有界时延信息和该至少一个类型指示信息的控制报文,第一确定性网络的入口节点接收到该控制报文之后,可以根据该控制报文生成携带该至少一个类型指示信息和该至少一个有界时延信息的第一报文,便于第一确定性网络中的网络节点根据该至少一个有界时延信息和该至少一个类型指示信息转发第一报文,保障第一报文在第一确定性网络中的端到端确定性时延。In the technical solution provided by this application, the controller obtains at least one bounded delay information and at least one type indication information based on the capability information of multiple network nodes, and sends the at least one bounded delay information to the entry node of the first deterministic network. After receiving the control message, the entry node of the first deterministic network can generate a control message carrying the at least one type indication information and the at least one bounded information based on the control message. The first message of the delay information facilitates the network node in the first deterministic network to forward the first message according to the at least one bounded delay information and the at least one type indication information, ensuring that the first message is processed in the first deterministic End-to-end deterministic delay in the network.
可选的,该至少一个有界时延信息还包括第二有界时延信息,该至少一个类型指示信息还包括第二类型指示信息,第二类型指示信息用于指示第二有界时延信息的类型,第二有界时延信息用于保障携带第二有界时延信息的报文在第一确定性网络中的端到端确定性时延,第二有界时延信息的类型与第一有界时延信息的类型不同。Optionally, the at least one bounded delay information also includes second bounded delay information, and the at least one type indication information also includes second type indication information, and the second type indication information is used to indicate the second bounded delay. The type of information, the second bounded delay information is used to ensure the end-to-end deterministic delay of the packet carrying the second bounded delay information in the first deterministic network, the type of the second bounded delay information It is different from the first bounded delay information type.
可选的,第二有界时延信息和第一有界时延信息在控制报文中依序排列,第二类型指示信息和第一类型指示信息在该控制报文中依序排列,第二类型指示信息和第一类型指示信息的排列顺序与第二有界时延信息和第一有界时延信息的排列顺序相同。Optionally, the second bounded delay information and the first bounded delay information are arranged in sequence in the control message, and the second type indication information and the first type indication information are arranged in sequence in the control message. The arrangement order of the second type indication information and the first type indication information is the same as the arrangement order of the second bounded delay information and the first bounded delay information.
可选的,控制报文包括依序排列的第一TLV字段和第二TLV字段,第一类型指示信息和第一有界时延信息位于第一TLV字段中,第二类型指示信息和第二有界时延信息位于第二TLV字段中。通过这样的方式实现第二有界时延信息和第一有界时延信息依序排列。Optionally, the control message includes a first TLV field and a second TLV field arranged in sequence, the first type indication information and the first bounded delay information are located in the first TLV field, the second type indication information and the second The bounded delay information is located in the second TLV field. In this way, the second bounded delay information and the first bounded delay information are arranged in sequence.
可选的,控制报文包括信息栈,该信息栈包括依序排列的第一信息项和第二信息项,第一信息项包括第一类型指示信息和第一有界时延信息,第二信息项包括第二类型指示信息和第二有界时延信息。通过这样的方式实现第二有界时延信息和第一有界时延信息依序排列。Optionally, the control message includes an information stack, which includes a first information item and a second information item arranged in sequence. The first information item includes the first type indication information and the first bounded delay information, and the second information item includes the first type indication information and the first bounded delay information. The information items include second type indication information and second bounded delay information. In this way, the second bounded delay information and the first bounded delay information are arranged in sequence.
第三方面,提供了一种报文传输装置,包括用于执行如上述第一方面或第一方面的任一可选方式所提供的方法的各个模块。In a third aspect, a message transmission device is provided, including various modules for executing the method provided in the above-mentioned first aspect or any optional manner of the first aspect.
第四方面,提供了一种报文传输装置,包括用于执行如上述第二方面或第二方面的任一可选方式所提供的方法的各个模块。A fourth aspect provides a message transmission device, including various modules for executing the method provided in the above-mentioned second aspect or any optional manner of the second aspect.
上述第三方面或第四方面中的所述模块可以基于软件、硬件或软件和硬件的结合实现,且所述模块可以基于具体实现进行任意组合或分割。The modules in the above third aspect or the fourth aspect can be implemented based on software, hardware, or a combination of software and hardware, and the modules can be arbitrarily combined or divided based on specific implementation.
第五方面,提供了一种报文传输装置,包括存储器和处理器;该存储器用于存储计算机程序;该处理器用于执行该存储器中存储的计算机程序以使得该报文传输装置执行如上述第一方面或第一方面的任一可选方式所提供的方法。 In a fifth aspect, a message transmission device is provided, including a memory and a processor; the memory is used to store a computer program; the processor is used to execute the computer program stored in the memory so that the message transmission device executes the above-mentioned The method provided by one aspect or any optional method of the first aspect.
第六方面,提供了一种报文传输装置,包括存储器和处理器;该存储器用于存储计算机程序;该处理器用于执行该存储器中存储的计算机程序以使得该报文传输装置执行如上述第二方面或第二方面的任一可选方式所提供的方法。In a sixth aspect, a message transmission device is provided, including a memory and a processor; the memory is used to store a computer program; the processor is used to execute the computer program stored in the memory so that the message transmission device performs the above-mentioned step The method provided by the second aspect or any alternative method of the second aspect.
第七方面,提供了一种报文传输系统,该报文传输系统包括多个网络节点,该多个网络节点中的至少一个网络节点包括如上述第三方面或第五方面所提供的报文传输装置。In a seventh aspect, a message transmission system is provided. The message transmission system includes a plurality of network nodes, and at least one network node among the plurality of network nodes includes a message as provided in the third aspect or the fifth aspect. transmission device.
可选的,该报文传输系统还包括控制器,该控制器包括如上述第四方面或第六方面所提供的报文传输装置。Optionally, the message transmission system further includes a controller, and the controller includes the message transmission device provided in the fourth aspect or the sixth aspect.
第八方面,提供了一种计算机可读存储介质,该计算机可读存储介质中存储有计算机程序,该计算机程序被执行时,实现如上述第一方面或第一方面的任一可选方式所提供的方法,或者,实现如上述第二方面或第二方面的任一可选方式所提供的方法。In an eighth aspect, a computer-readable storage medium is provided. A computer program is stored in the computer-readable storage medium. When the computer program is executed, the above-mentioned first aspect or any optional method of the first aspect is implemented. The method provided, or, implement the method provided by the above second aspect or any optional manner of the second aspect.
第九方面,提供了一种计算机程序产品,该计算机程序产品包括程序或代码,该程序或代码被执行时,实现如上述第一方面或第一方面的任一可选方式所提供的方法,或者,实现如上述第二方面或第二方面的任一可选方式所提供的方法。In a ninth aspect, a computer program product is provided. The computer program product includes a program or code. When the program or code is executed, the method provided by the above-mentioned first aspect or any optional method of the first aspect is implemented. Alternatively, implement the method provided in the above second aspect or any optional manner of the second aspect.
第十方面,提供了一种芯片,该芯片包括可编程逻辑电路和/或程序指令,该芯片运行时用于实现如上述第一方面或第一方面的任一可选方式所提供的方法,或者,实现如上述第二方面或第二方面的任一可选方式所提供的方法。In a tenth aspect, a chip is provided. The chip includes programmable logic circuits and/or program instructions. When the chip is run, it is used to implement the method provided by the above-mentioned first aspect or any optional method of the first aspect, Alternatively, implement the method provided in the above second aspect or any optional manner of the second aspect.
本申请提供的技术方案带来的有益效果是:The beneficial effects brought by the technical solution provided by this application are:
本申请提供的技术方案,在第一确定性网络中传输的第一报文中携带第一有界时延信息和用于指示该第一有界时延信息的第一类型指示信息,以辅助第一确定性网络中的网络节点转发第一报文,保障了第一报文在第一确定性网络中的端到端确定性时延。The technical solution provided by this application carries the first bounded delay information and the first type of indication information used to indicate the first bounded delay information in the first message transmitted in the first deterministic network to assist The network node in the first deterministic network forwards the first message, ensuring the end-to-end deterministic delay of the first message in the first deterministic network.
附图说明Description of drawings
图1是本申请实施例提供的一种报文传输系统的示意图;Figure 1 is a schematic diagram of a message transmission system provided by an embodiment of the present application;
图2是本申请实施例提供的另一种报文传输系统的示意图;Figure 2 is a schematic diagram of another message transmission system provided by an embodiment of the present application;
图3是本申请实施例提供的一种BLI数据字段的示意图;Figure 3 is a schematic diagram of a BLI data field provided by an embodiment of the present application;
图4是本申请实施例提供的一种选项字段的示意图;Figure 4 is a schematic diagram of an option field provided by an embodiment of the present application;
图5是本申请实施例提供的一种第一报文的示意图;Figure 5 is a schematic diagram of a first message provided by an embodiment of the present application;
图6是本申请实施例提供的一种MPLS EH的示意图;Figure 6 is a schematic diagram of an MPLS EH provided by an embodiment of the present application;
图7是本申请实施例提供的另一种第一报文的示意图;Figure 7 is a schematic diagram of another first message provided by an embodiment of the present application;
图8是本申请实施例提供的再一种第一报文的示意图;Figure 8 is a schematic diagram of yet another first message provided by an embodiment of the present application;
图9是本申请实施例提供的一种SRH的示意图;Figure 9 is a schematic diagram of an SRH provided by an embodiment of the present application;
图10是本申请实施例提供的另一种SRH的示意图;Figure 10 is a schematic diagram of another SRH provided by an embodiment of the present application;
图11是本申请实施例提供的再一种SRH的示意图;Figure 11 is a schematic diagram of yet another SRH provided by an embodiment of the present application;
图12是本申请实施例提供的又一种SRH的示意图;Figure 12 is a schematic diagram of another SRH provided by the embodiment of the present application;
图13是本申请实施例提供的一种报文传输方法的流程图;Figure 13 is a flow chart of a message transmission method provided by an embodiment of the present application;
图14是本申请实施例提供的又一种第一报文的示意图;Figure 14 is a schematic diagram of yet another first message provided by an embodiment of the present application;
图15是本申请实施例提供的另一种报文传输方法的流程图;Figure 15 is a flow chart of another message transmission method provided by an embodiment of the present application;
图16是本申请实施例提供的一种报文传输示意图; Figure 16 is a schematic diagram of message transmission provided by an embodiment of the present application;
图17是本申请实施例提供的另一种报文传输示意图;Figure 17 is another schematic diagram of message transmission provided by the embodiment of the present application;
图18是本申请实施例提供的一种报文传输装置的示意图;Figure 18 is a schematic diagram of a message transmission device provided by an embodiment of the present application;
图19是本申请实施例提供的另一种报文传输装置的示意图;Figure 19 is a schematic diagram of another message transmission device provided by an embodiment of the present application;
图20是本申请实施例提供的再一种报文传输装置的示意图;Figure 20 is a schematic diagram of yet another message transmission device provided by an embodiment of the present application;
图21是本申请实施例提供的又一种报文传输装置的示意图。Figure 21 is a schematic diagram of yet another message transmission device provided by an embodiment of the present application.
具体实施方式Detailed ways
下面将结合附图对本申请实施方式作进一步地描述。The embodiments of the present application will be further described below in conjunction with the accompanying drawings.
在工业互联网场景中,自动化控制业务,尤其是精准的运动控制(motion control)业务,对网络的端到端时延提出了确定性要求。例如,国际电工委员会(International Electro technical Commission,IEC)/电气和电子工程师协会(Institute of Electrical and Electronics Engineers,IEEE)60802工业自动化用例文档、IEC制造业流量类型文档定义了对业务传输保障的要求:截止期限(deadline)、时延、带宽。这些要求均用于保障业务在网络中的端到端时延的确定性,或者说端到端时延有界(也即,端到端时延小于时延阈值)。In the industrial Internet scenario, automation control services, especially precise motion control services, place deterministic requirements on the end-to-end delay of the network. For example, the International Electrotechnical Commission (IEC)/Institute of Electrical and Electronics Engineers (IEEE) 60802 Industrial Automation Use Case Document and IEC Manufacturing Traffic Type Document define requirements for business transmission assurance: Deadline, delay, bandwidth. These requirements are used to ensure the certainty of the end-to-end delay of services in the network, or that the end-to-end delay is bounded (that is, the end-to-end delay is less than the delay threshold).
IEEE时间敏感网络(time scalar network,TSN)技术和国际互联网工程任务组(Internet Engineering Task Force,IETF)确定性网络(deterministic networking,DetNet)技术都是致力于开发将业务转发从“尽力而为(best-effort,BE)”提升到“准时、准确、快速”,控制并降低业务的端到端时延的网络技术。IEEE TSN技术是IEEE 802.1工作小组中的TSN小组发展的以太网技术,其允许通过802网络实现时间同步的低时延服务。IETF DetNet技术是IETF DetNet工作组发展的网络技术,IETF DetNet技术专注于在第2层桥接和第3层路由段上实现确定性路径,这些确定性路径可以提供时延、丢包、抖动等的最坏情况界限,以此提供端到端确定性时延(也即保障端到端时延的确定性)。DetNet工作组的目标在于通过互联网协议(internet protocol,IP)技术、多协议标签交换(multi-protocol label switching,MPLS)技术等将确定性网络技术扩展到广域网上。IEEE time-sensitive network (TSN) technology and Internet Engineering Task Force (IETF) deterministic networking (DetNet) technology are both committed to developing business forwarding from "best effort" ( "best-effort (BE)" is upgraded to "on-time, accurate, and fast", and is a network technology that controls and reduces the end-to-end delay of services. IEEE TSN technology is an Ethernet technology developed by the TSN group in the IEEE 802.1 working group, which allows time synchronization and low-latency services through the 802 network. IETF DetNet technology is a network technology developed by the IETF DetNet working group. IETF DetNet technology focuses on implementing deterministic paths on Layer 2 bridging and Layer 3 routing segments. These deterministic paths can provide delay, packet loss, jitter, etc. The worst-case limit is used to provide end-to-end deterministic delay (that is, to ensure the certainty of end-to-end delay). The goal of the DetNet working group is to extend deterministic network technology to wide area networks through Internet protocol (IP) technology and multi-protocol label switching (MPLS) technology.
IEEE TSN技术和IETF DetNet技术都是为了保障业务的端到端确定性时延发展的网络技术。然而,在业务转发过程中,需要一种能够应用于确定性网络的报文传输方案来转发具有确定性要求的业务,以保障这些业务在确定性网络中的端到端确定性时延。IEEE TSN technology and IETF DetNet technology are both network technologies developed to ensure the end-to-end deterministic delay of services. However, during the service forwarding process, a message transmission scheme that can be applied to deterministic networks is needed to forward services with deterministic requirements to ensure the end-to-end deterministic delay of these services in deterministic networks.
本申请提供了一种报文传输方案,在确定性网络中传输的报文中携带有界时延信息和用于指示该有界时延信息的类型的类型指示信息辅助该确定性网络中的网络节点转发该报文,保障了该报文在该确定性网络中的端到端确定性时延。例如,第一确定性网络中的第一网络节点获取携带第一类型指示信息和第一有界时延信息的第一报文,根据第一类型指示信息和第一有界时延信息转发第一报文,第一类型指示信息用于指示第一有界时延信息的类型,第一有界时延信息用于保障第一报文在第一确定性网络中的端到端确定性时延,由此,保障了第一报文在第一确定性网络中的端到端确定性时延。第一确定性网络是TSN,也可以是未来可能发展出来的用于保障时延的其他确定性网络。也即,本申请提供的报文传输方案可以应用于已发展出来的确定性网络,也可以应用于未来可能发展出来的确定性网络。This application provides a message transmission scheme. The message transmitted in a deterministic network carries bounded delay information and type indication information used to indicate the type of the bounded delay information to assist in the deterministic network. The network node forwards the message, ensuring the end-to-end deterministic delay of the message in the deterministic network. For example, the first network node in the first deterministic network obtains the first message carrying the first type indication information and the first bounded delay information, and forwards the first message according to the first type indication information and the first bounded delay information. A message, the first type indication information is used to indicate the type of the first bounded delay information, and the first bounded delay information is used to ensure the end-to-end deterministic time of the first message in the first deterministic network. delay, thereby ensuring the end-to-end deterministic delay of the first message in the first deterministic network. The first deterministic network is TSN, and it can also be other deterministic networks that may be developed in the future to ensure delay. That is to say, the message transmission solution provided by this application can be applied to deterministic networks that have been developed, and can also be applied to deterministic networks that may be developed in the future.
下面介绍本申请的技术方案,首先介绍本申请实施例的应用场景。 The technical solutions of this application are introduced below. First, the application scenarios of the embodiments of this application are introduced.
本申请实施例的应用场景提供一种报文传输系统,其中包括通信连接的多个网络节点。网络节点可以是物理节点或逻辑节点。物理节点是交换机或路由器等网络设备。逻辑节点是网络设备中的功能模块,例如逻辑节点是部署在网络设备中虚拟交换机、虚拟路由器等。The application scenario of the embodiments of the present application provides a message transmission system, which includes multiple network nodes connected by communication. Network nodes can be physical nodes or logical nodes. Physical nodes are network devices such as switches or routers. Logical nodes are functional modules in network equipment. For example, logical nodes are virtual switches, virtual routers, etc. deployed in network equipment.
在本申请实施例中,该报文传输系统包括至少一个确定性网络(deterministic networking,DetNet),该确定性网络是TSN,也可以是用于保障时延的其他DetNet。当该报文传输系统包括多个确定性网络时:该多个确定性网络是基于相同确定性技术的确定性网络,例如,该多个确定性网络都是TSN;或者,该多个确定性网络包括基于不同确定性技术的确定性网络,例如,该多个确定性网络中的一些确定性网络是TSN,另一些确定性网络是用于保障时延的其他DetNet。可选的,每个确定性网络是一个数据中心网络(data center network,DCN)、城域网络、广域网络或园区网络等通信网络。此外,每个确定性网络的数据面(data plane)是IPv6或MPLS,该IPv6可以是SRv6或其他的IPv6。每个确定性网络包括报文传输系统中的至少一个网络节点,每个确定性网络包括边缘网络节点,还可以包括核心网络节点。边缘网络节点例如是运营商边缘(provider edge,PE)设备,核心网络节点例如是运营商(provider,P)设备。In this embodiment of the present application, the message transmission system includes at least one deterministic network (DetNet). The deterministic network is a TSN or other DetNet used to ensure delay. When the message transmission system includes multiple deterministic networks: the multiple deterministic networks are deterministic networks based on the same deterministic technology, for example, the multiple deterministic networks are all TSN; or, the multiple deterministic networks The network includes deterministic networks based on different deterministic technologies. For example, some of the multiple deterministic networks are TSN, and other deterministic networks are other DetNets used to ensure delay. Optionally, each deterministic network is a communication network such as a data center network (DCN), metropolitan area network, wide area network or campus network. In addition, the data plane of each deterministic network is IPv6 or MPLS, and the IPv6 can be SRv6 or other IPv6. Each deterministic network includes at least one network node in the message transmission system, and each deterministic network includes edge network nodes and may also include core network nodes. The edge network node is, for example, a provider edge (PE) device, and the core network node is, for example, a provider (P) device.
可选的,该报文传输系统还包括至少一个控制器,每个控制器与该报文传输系统中的至少一个网络节点连接,每个控制器用于对该控制器连接的网络节点进行控制。一种实现方式中,该报文传输系统包括一个确定性网络和一个控制器,该控制器位于该确定性网络内或者位于该确定性网络外,该控制器与该确定性网络中的网络节点通信连接。另一种实现方式中,该报文传输系统包括多个确定性网络和一个控制器,该控制器位于该多个确定性网络外,该控制器与该多个确定性网络中的网络节点通信连接。再一种实现方式中,该报文传输系统包括多个确定性网络和多个控制器,该多个控制器包括域间控制器和多个域内控制器,该多个域内控制器一一对应位于该多个确定性网络中,每个域内控制器与其所在的确定性网络中的网络节点通信连接,以对其所在的确定性网络中的网络节点进行控制;域间控制器与该多个域内控制器通信连接,以通过域内控制器对确定性网络中的网络节点进行控制。其中,控制器融合了网络管理、业务控制和网络分析等功能,控制器可以集成在网络设备中,也可以独立于网络设备。例如,控制器是部署在服务器中的功能模块,或者是一台服务器,或者由若干台服务器组成的服务器集群,或者是一个云计算服务中心。当该报文传输系统包括多个控制器时,该多个控制器中的全部或部分可以部署在一台服务器中。Optionally, the message transmission system also includes at least one controller, each controller is connected to at least one network node in the message transmission system, and each controller is used to control the network node connected to the controller. In one implementation, the message transmission system includes a deterministic network and a controller. The controller is located within the deterministic network or outside the deterministic network. The controller communicates with network nodes in the deterministic network. Communication connection. In another implementation, the message transmission system includes multiple deterministic networks and a controller. The controller is located outside the multiple deterministic networks. The controller communicates with network nodes in the multiple deterministic networks. connect. In another implementation, the message transmission system includes multiple deterministic networks and multiple controllers. The multiple controllers include inter-domain controllers and multiple intra-domain controllers. The multiple intra-domain controllers correspond to each other one by one. Located in the multiple deterministic networks, each intra-domain controller communicates with the network nodes in the deterministic network where it is located to control the network nodes in the deterministic network where it is located; the inter-domain controller communicates with the multiple deterministic networks. The intra-domain controller communicates and connects to control network nodes in the deterministic network through the intra-domain controller. Among them, the controller integrates functions such as network management, business control, and network analysis. The controller can be integrated into the network device or independent of the network device. For example, the controller is a functional module deployed in a server, or a server, or a server cluster composed of several servers, or a cloud computing service center. When the message transmission system includes multiple controllers, all or part of the multiple controllers may be deployed in one server.
在本申请实施例中,确定性网络中包括传输路径,传输路径上包括多个网络节点。按照传输方向来分,传输路径上的网络节点包括入口(ingress)节点、出口(egress)节点以及位于入口节点与出口节点之间的至少一个中间(transit)节点。根据传输路径的长短的不同,中间节点的数量不同,或者传输路径上仅包括入口节点和出口节点,而不包括中间节点。本申请关于网络节点、入口节点、中间节点、出口节点、传输路径等的称呼仅仅是示例性的,在一些实施场景中,网络节点也被称为网络设备、转发节点、转发设备、网关节点、网关设备、路由节点、路由设备等。入口节点也被称为入口设备、头节点(head node)、头节点设备、首节点、首节点设备等。中间节点也被称为中转节点、中转设备、中间设备等。出口节点也被称为出口设备、尾节点(end node)、尾节点设备等;传输路径也被称为转发路径、通信路径、通信隧道等。例如,所述传输路径是分段路由流量工程(segment routing traffic engineering, SR-TE)隧道、基于流量工程扩展的资源预留协议(resource reservation protocol-traffic engineering,RSVP-TE)隧道、分段路由(segment routing,SR)隧道或互联网协议第6版分段路由(internet protocol version 6 segment routing,SRv6)隧道等。In this embodiment of the present application, the deterministic network includes a transmission path, and the transmission path includes multiple network nodes. According to the transmission direction, the network nodes on the transmission path include an ingress node, an egress node, and at least one intermediate (transit) node located between the ingress node and the egress node. Depending on the length of the transmission path, the number of intermediate nodes is different, or the transmission path only includes entry nodes and exit nodes, but not intermediate nodes. The names of network nodes, entry nodes, intermediate nodes, exit nodes, transmission paths, etc. in this application are only exemplary. In some implementation scenarios, network nodes are also called network devices, forwarding nodes, forwarding devices, gateway nodes, Gateway equipment, routing nodes, routing equipment, etc. The entry node is also called an entry device, a head node, a head node device, a first node, a first node device, etc. Intermediate nodes are also called transit nodes, transit devices, intermediate devices, etc. The egress node is also called an egress device, an end node, a tail node device, etc.; the transmission path is also called a forwarding path, a communication path, a communication tunnel, etc. For example, the transmission path is segment routing traffic engineering. SR-TE) tunnel, resource reservation protocol-traffic engineering (RSVP-TE) tunnel based on traffic engineering extensions, segment routing (SR) tunnel, or Internet Protocol version 6 segment routing (internet protocol version 6 segment routing, SRv6) tunnel, etc.
作为一个示例,图1示出了本申请实施例提供的一种报文传输系统的示意图。该报文传输系统包括确定性网络1和控制器300,控制器300位于确定性网络1外。确定性网络1包括网络节点101~103,控制器300与网络节点101~103通信连接。网络节点101~103均是支持确定性网络1对应的网络协议的网络节点。例如,确定性网络1是TSN,网络节点101~103均是支持TSN协议的网络节点(例如称为TSN节点)。确定性网络1中还可能包括不支持确定性网络1对应的网络协议的网络节点,例如网络节点101左侧、网络节点101与网络节点102之间、网络节点102与网络节点103之间、网络节点103右侧等,可能存在不支持确定性网络1对应的网络协议的网络节点,图1为了简洁未示出这些网络节点。此外,确定性网络1的数据面可以是IPv6或MPLS。示例的,确定性网络1是IPv6 DetNet、SRv6 DetNet、MPLS DetNet、TSN over IPv6 DetNet(基于IPv6 DetNet的TSN)、TSN over SRv6 DetNet(基于SRv6 DetNet的TSN)、TSN over MPLS DetNet(基于MPLS DetNet的TSN)。对于某一业务流,该业务流在确定性网络1中的传输路径S1为101->102->103,则网络节点101是入口节点,网络节点102是中间节点,网络节点103是出口节点。网络节点101和网络节点103均可以是PE设备,网络节点102可以是P设备。As an example, FIG. 1 shows a schematic diagram of a message transmission system provided by an embodiment of the present application. The message transmission system includes a deterministic network 1 and a controller 300 . The controller 300 is located outside the deterministic network 1 . The deterministic network 1 includes network nodes 101 to 103, and the controller 300 is communicatively connected to the network nodes 101 to 103. The network nodes 101 to 103 are all network nodes that support the network protocol corresponding to the deterministic network 1. For example, the deterministic network 1 is TSN, and the network nodes 101 to 103 are all network nodes that support the TSN protocol (for example, they are called TSN nodes). Deterministic network 1 may also include network nodes that do not support the network protocol corresponding to deterministic network 1, such as the left side of network node 101, between network node 101 and network node 102, between network node 102 and network node 103, and between network nodes 101 and 102. To the right of node 103, etc., there may be network nodes that do not support the network protocol corresponding to the deterministic network 1. These network nodes are not shown in Figure 1 for the sake of simplicity. Furthermore, the data plane of deterministic network 1 can be IPv6 or MPLS. For example, deterministic network 1 is IPv6 DetNet, SRv6 DetNet, MPLS DetNet, TSN over IPv6 DetNet (TSN based on IPv6 DetNet), TSN over SRv6 DetNet (TSN based on SRv6 DetNet), TSN over MPLS DetNet (based on MPLS DetNet) TSN). For a certain business flow, the transmission path S1 of the business flow in the deterministic network 1 is 101->102->103, then the network node 101 is the entry node, the network node 102 is the intermediate node, and the network node 103 is the exit node. Both the network node 101 and the network node 103 may be PE devices, and the network node 102 may be a P device.
图1以报文传输系统包括一个确定性网络和一个控制器,且该控制器位于该确定性网络外为例说明,在其他实施例中,该控制器位于该确定性网络内。此外,本申请提供的报文传输系统还可能包括多个确定性网络,下面以该报文传输系统包括两个确定性网络为例说明。Figure 1 illustrates an example in which a message transmission system includes a deterministic network and a controller, and the controller is located outside the deterministic network. In other embodiments, the controller is located within the deterministic network. In addition, the message transmission system provided by this application may also include multiple deterministic networks. The following takes the message transmission system including two deterministic networks as an example.
作为另一个示例,图2示出了本申请实施例提供的另一种报文传输系统的示意图。在图1的基础上,图2所示的报文传输系统还包括确定性网络2,控制器300位于确定性网络2外。关于确定性网络1的描述请参考图1相关部分,这里主要介绍确定性网络2。确定性网络2包括网络节点201~202,控制器300还与网络节点201~202通信连接,并且网络节点202与确定性网络1中的网络节点101通信连接。其中,网络节点201~202均是支持确定性网络2对应的网络协议的网络节点。例如,确定性网络2是TSN,网络节点201~202均是TSN节点。确定性网络2中还可能包括不支持确定性网络2对应的网络协议的网络节点,例如网络节点201左侧、网络节点201与网络节点202之间、网络节点202右侧等,可能存在不支持确定性网络2对应的网络协议的网络节点,图2为了简洁未示出这些网络节点。示例的,确定性网络2是IPv6 DetNet、SRv6 DetNet、MPLS DetNet、TSN over IPv6 DetNet、TSN over SRv6 DetNet、TSN over MPLS DetNet。对于某一业务流,该业务流在确定性网络2中的传输路径S2为201->202,则网络节点201是入口节点,网络节点202是出口节点。As another example, FIG. 2 shows a schematic diagram of another message transmission system provided by an embodiment of the present application. On the basis of Figure 1, the message transmission system shown in Figure 2 also includes a deterministic network 2, and the controller 300 is located outside the deterministic network 2. For a description of deterministic network 1, please refer to the relevant parts of Figure 1. Here we mainly introduce deterministic network 2. The deterministic network 2 includes network nodes 201-202. The controller 300 is also communicatively connected with the network nodes 201-202, and the network node 202 is communicatively connected with the network node 101 in the deterministic network 1. Among them, the network nodes 201 to 202 are all network nodes that support the network protocol corresponding to the deterministic network 2. For example, deterministic network 2 is TSN, and network nodes 201 to 202 are all TSN nodes. Deterministic network 2 may also include network nodes that do not support the network protocol corresponding to deterministic network 2, such as the left side of network node 201, the area between network node 201 and network node 202, the right side of network node 202, etc. There may be network nodes that do not support the network protocol. The network nodes of the network protocol corresponding to the deterministic network 2 are not shown in Figure 2 for the sake of simplicity. For example, deterministic network 2 is IPv6 DetNet, SRv6 DetNet, MPLS DetNet, TSN over IPv6 DetNet, TSN over SRv6 DetNet, TSN over MPLS DetNet. For a certain business flow, the transmission path S2 of the business flow in the deterministic network 2 is 201->202, then the network node 201 is the entry node and the network node 202 is the exit node.
图2以确定性网络1与确定性网络2直接连接为例说明,实际应用中,确定性网络1与确定性网络2之间还可能部署有其他的网络设备或网络系统,本申请实施例对此不做限定。Figure 2 illustrates the direct connection between deterministic network 1 and deterministic network 2 as an example. In practical applications, other network devices or network systems may be deployed between deterministic network 1 and deterministic network 2. The embodiments of this application are This is not limited.
图1和图2所示报文传输系统仅用于举例,并非用于限制本申请实施例的技术方案。在实现过程中,可以根据需要配置报文传输系统中的网络节点的数量、控制器的数量、确定性网络的数量以及确定性网络之间的关系。本申请实施例中的确定性网络也可以称为确定性网络域、确定性传输域或确定性管理域等。本申请实施例通过在确定性网络(例如确定性网络 1)中传输的报文中携带有界时延信息和用于指示该有界时延信息的类型的类型指示信息辅助该确定性网络1中的网络节点转发该报文,保障该报文在该确定性网络1中的端到端确定性时延(也即该报文从进入确定性网络1到离开确定性网络1的确定性时延)。需要说明的是,在没有特别说明的情况下,本申请所述的网络节点都指确定性网络中支持相关确定性网络协议、遵循相关确定性网络标准的网络节点。The message transmission systems shown in Figures 1 and 2 are only examples and are not used to limit the technical solutions of the embodiments of the present application. During the implementation process, the number of network nodes, the number of controllers, the number of deterministic networks and the relationship between deterministic networks in the message transmission system can be configured as needed. The deterministic network in the embodiment of this application may also be called a deterministic network domain, a deterministic transmission domain, a deterministic management domain, etc. The embodiment of the present application adopts a deterministic network (such as a deterministic network The message transmitted in 1) carries bounded delay information and type indication information used to indicate the type of the bounded delay information to assist the network node in the deterministic network 1 to forward the message to ensure that the message is The end-to-end deterministic delay in the deterministic network 1 (that is, the deterministic delay from the time the packet enters the deterministic network 1 to the time it leaves the deterministic network 1). It should be noted that, unless otherwise specified, the network nodes mentioned in this application refer to network nodes in a deterministic network that support relevant deterministic network protocols and comply with relevant deterministic network standards.
以上是本申请的应用场景的介绍,下面介绍本申请实施例所述的有界时延信息(bounded latency information,BLI)和用于指示该有界时延信息的类型指示信息。The above is an introduction to the application scenarios of this application. The following is an introduction to the bounded latency information (bounded latency information, BLI) described in the embodiments of this application and the type indication information used to indicate the bounded latency information.
有界时延信息是指:用于保障报文在确定性网络中的端到端确定性时延的信息。或者说是:用于保障报文在确定性网络中的端到端时延有界的信息。该有界时延信息还能够保障报文在确定性网络中的端到端确定性抖动。有界时延信息和用于指示该有界时延信息的类型指示信息可以携带在业务报文中辅助确定性网络中的网络节点转发该业务报文。Bounded delay information refers to information used to ensure the end-to-end deterministic delay of packets in a deterministic network. In other words: information used to ensure bounded end-to-end delay of packets in deterministic networks. This bounded delay information can also ensure the end-to-end deterministic jitter of packets in a deterministic network. The bounded delay information and the type indication information used to indicate the bounded delay information may be carried in the service message to assist the network node in the deterministic network in forwarding the service message.
下面以携带有界时延信息和用于指示该有界时延信息的类型指示信息的业务报文是第一报文,第一报文属于第一业务流,该有界时延信息和该类型指示信息用于第一确定性网络中的网络节点转发第一报文为例介绍。In the following, the service message carrying the bounded delay information and the type indication information used to indicate the bounded delay information is the first message. The first message belongs to the first service flow. The bounded delay information and the type indication information are The type indication information is used by the network node in the first deterministic network to forward the first message as an example.
在本申请实施例中,有界时延信息是时间资源(time resource)信息或业务要求信息。该时间资源信息用于指示网络节点中传输第一报文的资源,该时间资源信息可以是时间资源标识(identification,ID)。该业务要求信息用于指示第一报文的业务要求。其中,该时间资源信息是底层资源信息或抽象资源信息,底层资源信息直接指示网络节点中传输第一报文的资源,抽象资源信息与底层资源信息之间具有映射关系,抽象资源信息通过该映射关系间接直接指示网络节点中传输第一报文的资源。In this embodiment of the present application, the bounded delay information is time resource information or service requirement information. The time resource information is used to indicate resources in the network node for transmitting the first message, and the time resource information may be a time resource identification (ID). The service requirement information is used to indicate the service requirement of the first message. The time resource information is bottom resource information or abstract resource information. The bottom resource information directly indicates the resource in the network node that transmits the first message. There is a mapping relationship between the abstract resource information and the bottom resource information. The abstract resource information passes through this mapping. The relationship indirectly directly indicates the resource in the network node that transmits the first message.
可选的实施例中,时间资源信息包括以下至少一种:队列(queue)指示信息、周期(period)指示信息、时隙(time slot)指示信息、优先级(priority)信息。该队列指示信息用于指示网络节点中传输第一报文的队列,该队列指示信息是队列标识、队列号等信息。该周期指示信息用于指示网络节点中传输第一报文的循环(cycle)周期,该周期指示信息是周期标识、周期号等信息。该时隙指示信息用于指示网络节点中传输第一报文的时隙,该时隙指示信息是时隙标识、时隙号等信息。该优先级信息用于指示第一报文的优先级从而指示网络节点中对应该优先级的队列。该优先级信息可以是服务质量(quality of service,QoS)优先级信息、差分服务代码点(differentiated services code point,DSCP)优先级信息、服务类型(type of service,ToS)优先级信息或802.1p优先级信息,该优先级信息指示的优先级可以是QoS优先级、DSCP优先级、ToS优先级信息或802.1p优先级。其中,队列指示信息是基于队列的调度机制中使用的资源指示信息,周期指示信息是循环排队机制中使用的资源指示信息,时隙指示信息是基于时隙的调度机制中使用的资源指示信息。In an optional embodiment, the time resource information includes at least one of the following: queue indication information, period indication information, time slot indication information, and priority information. The queue indication information is used to indicate the queue in the network node for transmitting the first message. The queue indication information is information such as a queue identifier and a queue number. The cycle indication information is used to indicate a cycle (cycle) period for transmitting the first message in the network node, and the cycle indication information is information such as a cycle identifier and a cycle number. The time slot indication information is used to indicate the time slot in which the first message is transmitted in the network node. The time slot indication information is information such as a time slot identifier, a time slot number, and so on. The priority information is used to indicate the priority of the first message and thereby indicate the queue corresponding to the priority in the network node. The priority information may be quality of service (QoS) priority information, differentiated services code point (DSCP) priority information, type of service (ToS) priority information or 802.1p Priority information. The priority indicated by this priority information can be QoS priority, DSCP priority, ToS priority information or 802.1p priority. Among them, the queue indication information is the resource indication information used in the queue-based scheduling mechanism, the period indication information is the resource indication information used in the circular queuing mechanism, and the time slot indication information is the resource indication information used in the time slot-based scheduling mechanism.
可选的实施例中,业务要求信息包括以下至少一种:时延要求信息、抖动要求信息、截止期限要求信息。该时延要求信息用于指示第一报文的时延要求。该抖动要求信息用于第一业务流的抖动要求,抖动也称为时延偏差(delay variation)或时延变化。该截止期限要求信息用于指示第一报文的截止期限要求。在一些实施例中,时延要求信息也被称为时延预算(delay budget)信息,抖动要求信息也被称为抖动预算(jitter budget)信息,截止期限要求 信息也被称为截止期限预算(deadline budget)信息。In an optional embodiment, the service requirement information includes at least one of the following: delay requirement information, jitter requirement information, and deadline requirement information. The delay requirement information is used to indicate the delay requirement of the first message. The jitter requirement information is used for the jitter requirement of the first service flow. The jitter is also called delay variation or delay variation. The deadline requirement information is used to indicate the deadline requirement of the first message. In some embodiments, the delay requirement information is also referred to as delay budget (delay budget) information, the jitter requirement information is also referred to as jitter budget (jitter budget) information, and the deadline requirement The information is also called deadline budget information.
可选的实施例中,时延要求信息包括以下至少一种:端到端时延要求信息、本地时延时延要求信息。抖动要求信息包括以下至少一种:端到端抖动要求信息、本地抖动时延要求信息。截止期限要求信息包括以下至少一种:端到端截止期限要求信息、本地截止期限要求信息。端到端时延要求信息用于指示第一报文在第一确定性网络中的端到端时延要求,第一报文在第一确定性网络中的端到端时延需要等于该端到端时延要求信息要求的端到端时延。本地时延要求信息与至少一个网络节点对应,该本地时延要求信息用于指示第一报文在对应的网络节点中的时延要求,第一报文在对应的网络节点中的传输时延不能大于该本地时延要求信息要求的本地时延。端到端抖动要求信息用于指示第一业务流在第一确定性网络中的端到端抖动要求,第一业务流在第一确定性网络中的端到端抖动需要等于该端到端抖动要求信息要求的端到端抖动。本地抖动要求信息与至少一个网络节点对应,该本地抖动要求信息用于指示第一业务流在对应的网络节点中的抖动要求,第一业务流在对应的网络节点中的抖动不能大于该本地时延要求信息要求的本地抖动。端到端截止期限要求信息用于指示第一报文离开第一确定性网络的截止期限要求,第一报文需要在该端到端截止期限要求信息要求的截止期限离开第一确定性网络,第一报文离开第一确定性网络的截止期限为第一报文的出生时间戳(packet birth timestamp)加上第一报文在第一确定性网络中的端到端时延。本地截止期限要求信息与网络节点对应,该本地截止期限要求信息用于指示第一报文离开对应的网络节点的截止期限要求,第一报文需要在该本地截止期限要求信息要求的截止期限离开该对应的网络节点。在一些实施例中,端到端时延要求信息也被称为端到端时延预算(end to end delay budget)信息,本地时延要求信息也被称为本地时延预算(local delay budget)信息,端到端抖动要求信息也被称为端到端抖动预算(end to end jitter budget)信息,本地抖动要求信息也被称为本地抖动预算(local jitter budget)信息,端到端截止期限要求信息也被称为端到端截止期限预算(end to end delay deadline budget)信息,本地截止期限要求信息也被称为本地截止期限预算(local deadline budget)信息。In an optional embodiment, the delay requirement information includes at least one of the following: end-to-end delay requirement information and local delay delay requirement information. The jitter requirement information includes at least one of the following: end-to-end jitter requirement information, local jitter delay requirement information. The deadline requirement information includes at least one of the following: end-to-end deadline requirement information, local deadline requirement information. The end-to-end delay requirement information is used to indicate the end-to-end delay requirement of the first message in the first deterministic network. The end-to-end delay of the first message in the first deterministic network needs to be equal to the end-to-end delay requirement. End-to-end delay required by the information. The local delay requirement information corresponds to at least one network node. The local delay requirement information is used to indicate the delay requirement of the first message in the corresponding network node, and the transmission delay of the first message in the corresponding network node. It cannot be greater than the local delay required by the local delay requirement information. The end-to-end jitter requirement information is used to indicate the end-to-end jitter requirement of the first service flow in the first deterministic network. The end-to-end jitter of the first service flow in the first deterministic network needs to be equal to the end-to-end jitter. End-to-end jitter of request information requirements. The local jitter requirement information corresponds to at least one network node. The local jitter requirement information is used to indicate the jitter requirement of the first service flow in the corresponding network node. The jitter of the first service flow in the corresponding network node cannot be greater than the local time. Local jitter required for delay request information. The end-to-end deadline requirement information is used to indicate the deadline requirement for the first packet to leave the first deterministic network, and the first packet needs to leave the first deterministic network within the deadline required by the end-to-end deadline requirement information, The deadline for the first packet to leave the first deterministic network is the birth timestamp of the first packet (packet birth timestamp) plus the end-to-end delay of the first packet in the first deterministic network. The local deadline requirement information corresponds to the network node. The local deadline requirement information is used to indicate the deadline requirement for the first message to leave the corresponding network node. The first message needs to leave within the deadline required by the local deadline requirement information. The corresponding network node. In some embodiments, the end-to-end delay requirement information is also called end-to-end delay budget (end to end delay budget) information, and the local delay requirement information is also called local delay budget (local delay budget) Information, end-to-end jitter requirement information is also called end-to-end jitter budget (end to end jitter budget) information, local jitter requirement information is also called local jitter budget (local jitter budget) information, end-to-end deadline requirement The information is also called end-to-end deadline budget information, and the local deadline requirement information is also called local deadline budget information.
在本申请实施例中,时间资源信息和业务要求信息是两种不同类型的有界时延信息,时间资源信息和业务要求信息可以是有界时延信息的两个大类。队列指示信息、周期指示信息、时隙指示信息和优先级信息是四种不同类型的时间资源信息,这四种信息是时间资源信息的四个子类。端到端时延要求信息、本地时延要求信息、端到端抖动要求信息、本地抖动要求信息、端到端截止期限要求信息和本地截止期限要求信息是六个不同类型的业务要求信息,这六种信息是业务要求信息的六个子类。其中,不同有界时延信息的类型可以采用不同的类型指示信息指示,以便于网络节点区分不同的有界时延信息。作为一个示例,有界时延信息和用于指示该有界时延信息的类型的类型指示信息如下表1所示。In this embodiment of the present application, time resource information and service requirement information are two different types of bounded delay information. Time resource information and service requirement information can be two major categories of bounded delay information. Queue indication information, period indication information, time slot indication information and priority information are four different types of time resource information, and these four types of information are four subcategories of time resource information. End-to-end delay requirement information, local delay requirement information, end-to-end jitter requirement information, local jitter requirement information, end-to-end deadline requirement information and local deadline requirement information are six different types of business requirement information. The six types of information are six subcategories of business requirement information. Among them, different types of bounded delay information can be indicated by different type indication information, so that network nodes can distinguish different bounded delay information. As an example, bounded delay information and type indication information used to indicate the type of the bounded delay information are shown in Table 1 below.
表1

Table 1

参考表1可知,队列指示信息、周期指示信息、时隙指示信息和优先级信息都属于时间资源信息,类型指示信息“1”用于指示队列指示信息(或者说用于指示有界时延信息的类型为队列指示信息);类型指示信息“2”用于指示周期指示信息(或者说用于指示有界时延信息的类型为周期指示信息);类型指示信息“3”用于指示时隙指示信息(或者说用于指示有界时延信息的类型为时隙指示信息);类型指示信息“4”用于指示优先级信息(或者说用于指示有界时延信息的类型为优先级信息),其他与此同理,这里不做赘述。Referring to Table 1, it can be seen that queue indication information, period indication information, time slot indication information and priority information all belong to time resource information, and type indication information "1" is used to indicate queue indication information (or to indicate bounded delay information) The type of the indication information is queue indication information); the type indication information "2" is used to indicate the period indication information (or the type used to indicate the bounded delay information is the period indication information); the type indication information "3" is used to indicate the time slot Indication information (or used to indicate that the type of bounded delay information is slot indication information); type indication information "4" is used to indicate priority information (or used to indicate that the type of bounded delay information is priority information), the others are the same and will not be described here.
以上描述的时间资源信息均为底层资源信息,这些底层资源信息指示网络节点的底层资源,例如,队列指示信息用于指示网络节点中的队列,周期指示信息用于指示网络节点的循环周期,时隙指示信息用于指示网络节点中的时隙,优先级信息用于指示报文的优先级从而指示网络节点中对应该优先级的队列。本申请实施例中的时间资源信息还可以是这些底层资源信息的抽象信息,例如,对上述底层资源信息进行抽象处理,得到上述底层资源信息对应的抽象资源信息,并建立底层资源信息与抽象资源信息之间的映射关系,网络节点可以在本地存储底层资源信息与抽象资源信息之间的映射关系。在实际转发业务报文的过程中,网络节点根据业务报文携带的抽象资源信息和本地映射关系确定对应的底层资源信息,网络节点根据底层资源信息确定该网络节点中用于转发该业务报文的底层资源,并通过该底层资源转发该业务报文。将底层资源信息抽象化,并建立底层资源信息与抽象资源信息之间的映射关系,在业务报文中携带抽象资源信息,这样的设计可以实现业务报文携带的数据面参数(例如抽象资源信息)与网络节点的底层实现技术的解耦,对底层机制的适应性更强,并且网络节点的底层参数(例如底层资源信息)不需要暴露在数据面,安全性更高。The time resource information described above is all bottom resource information. This bottom resource information indicates the bottom resources of the network node. For example, the queue indication information is used to indicate the queue in the network node, and the period indication information is used to indicate the cycle period of the network node. The slot indication information is used to indicate the time slot in the network node, and the priority information is used to indicate the priority of the message and thereby indicate the queue corresponding to the priority in the network node. The time resource information in the embodiments of this application can also be abstract information of these underlying resource information. For example, the above-mentioned underlying resource information is abstracted to obtain the abstract resource information corresponding to the above-mentioned underlying resource information, and the underlying resource information and abstract resources are established. Mapping relationship between information, network nodes can locally store the mapping relationship between underlying resource information and abstract resource information. In the process of actually forwarding service messages, the network node determines the corresponding underlying resource information based on the abstract resource information and local mapping relationships carried in the service message. The network node determines the network node used to forward the service message based on the underlying resource information. The underlying resource and forwards the service message through the underlying resource. Abstract the underlying resource information, establish the mapping relationship between the underlying resource information and the abstract resource information, and carry the abstract resource information in the business packets. This design can realize the data plane parameters carried by the business packets (such as abstract resource information). ) is decoupled from the underlying implementation technology of the network node, making it more adaptable to the underlying mechanism, and the underlying parameters of the network node (such as underlying resource information) do not need to be exposed to the data plane, resulting in higher security.
以上描述的有界时延信息仅仅是本申请的示例,有界时延信息还可能是用于保障报文在确定性网络中的端到端确定性时延的其他信息。例如,有界时延信息还可以是时延补偿(delay compensation)信息,该时延补偿信息用于指示网络节点对携带该时延补偿信息的报文进行时延补偿,以保障该报文在确定性网络中的端到端确定性时延。示例的,该时延补偿信息包括本地时延补偿(local delay compensation)信息。时延补偿信息属于业务要求信息,时延补偿信息用于多径传输场景。例如,某一条业务流通过至少两条路径承载,该至少两条路径的时延不同,为了保障该业务流的端到端确定性时延,可以在至少一条路径上对该业务流进行时延补偿,使得该某一条业务流中通过该至少两条路径传输的报文的端到端确定性时延相等或者差值较小。The bounded delay information described above is only an example of this application. The bounded delay information may also be other information used to ensure the end-to-end deterministic delay of messages in a deterministic network. For example, the bounded delay information can also be delay compensation information. The delay compensation information is used to instruct the network node to perform delay compensation on the message carrying the delay compensation information to ensure that the message is End-to-end deterministic latency in deterministic networks. For example, the delay compensation information includes local delay compensation (local delay compensation) information. Delay compensation information belongs to business requirement information, and delay compensation information is used in multipath transmission scenarios. For example, a certain service flow is carried through at least two paths, and the delays of the at least two paths are different. In order to ensure the end-to-end deterministic delay of the service flow, the service flow can be delayed on at least one path. Compensation is made so that the end-to-end deterministic delays of packets transmitted through the at least two paths in a certain service flow are equal or the difference is small.
为了便于描述,将用于指示有界时延信息的类型的类型指示信息称为该有界时延信息对应的类型指示信息。下面以第一报文为例介绍有界时延信息和该有界时延信息对应的类型指 示信息在业务报文中的携带方式。For convenience of description, the type indication information used to indicate the type of bounded delay information is called type indication information corresponding to the bounded delay information. The following takes the first message as an example to introduce the bounded delay information and the type index corresponding to the bounded delay information. Indicates how information is carried in service packets.
在本申请实施例中,第一报文携带至少一个有界时延信息和至少一个类型指示信息,该至少一个有界时延信息与该至少一个类型指示信息一一对应,每个类型指示信息用于指示对应的有界时延信息的类型,该至少一个有界时延信息和该至少一个类型指示信息用于辅助第一确定性网络中的网络节点转发第一报文。其中,该至少一个有界时延信息与第一确定性网络中的至少一个网络节点对应,每个网络节点对应该至少一个有界时延信息中的全部或部分,每个网络节点根据该每个网络节点对应的有界时延信息和类型指示信息转发第一报文。一个实施例中,第一报文携带一个有界时延信息和一个类型指示信息,该有界时延信息与第一确定性网络中的多个网络节点对应,该多个网络节点均根据该有界时延信息和该类型指示信息转发第一报文。另一个实施例中,第一报文携带一个有界时延信息和一个类型指示信息,该有界时延信息与第一确定性网络中的一个网络节点(例如出口节点)对应,该网络节点根据该有界时延信息和该类型指示信息转发第一报文。再一个实施例中,第一报文携带多个有界时延信息和多个类型指示信息,该多个有界时延信息与第一确定性网络中的多个网络节点一一对应,该多个网络节点中的每个网络节点根据该每个网络节点对应的有界时延信息和类型指示信息转发第一报文。又一个实施例中,第一报文携带多个有界时延信息和多个类型指示信息,该多个有界时延信息与第一确定性网络中的多个网络节点中的每个网络节点对应,每个网络节点根据该多个有界时延信息和该多个类型指示信息,结合本地策略转发第一报文。又一个实施例中,第一报文携带多个有界时延信息和多个类型指示信息,该多个有界时延信息与第一确定性网络中的一个网络节点对应,该一个网络节点根据该多个有界时延信息和该多个类型指示信息,结合本地策略转发第一报文。在第一报文携带多个有界时延信息的实施例中,该多个有界时延信息的类型相同,例如,该多个有界时延信息均是周期指示信息。或者,该多个有界时延信息中的至少两个有界时延信息的类型不同;例如,该多个有界时延信息中的一些是时间资源信息,另一些是业务要求信息;再例如,该多个有界时延信息中的一些是队列指示信息,另一些是周期指示信息,再一些是时延要求信息。In this embodiment of the present application, the first packet carries at least one bounded delay information and at least one type indication information. The at least one bounded delay information corresponds to the at least one type indication information. Each type indication information Used to indicate the type of corresponding bounded delay information, the at least one bounded delay information and the at least one type indication information are used to assist the network node in the first deterministic network to forward the first message. Wherein, the at least one bounded delay information corresponds to at least one network node in the first deterministic network, each network node corresponds to all or part of the at least one bounded delay information, and each network node corresponds to each network node according to the at least one bounded delay information. The first message is forwarded with bounded delay information and type indication information corresponding to each network node. In one embodiment, the first message carries a bounded delay information and a type indication information. The bounded delay information corresponds to multiple network nodes in the first deterministic network. The multiple network nodes are all based on the The first message is forwarded with bounded delay information and indication information of this type. In another embodiment, the first message carries a bounded delay information and a type indication information. The bounded delay information corresponds to a network node (such as an egress node) in the first deterministic network. The network node Forward the first message according to the bounded delay information and the type indication information. In yet another embodiment, the first message carries a plurality of bounded delay information and a plurality of type indication information, and the plurality of bounded delay information corresponds to a plurality of network nodes in the first deterministic network. Each network node among the plurality of network nodes forwards the first message according to bounded delay information and type indication information corresponding to each network node. In yet another embodiment, the first message carries a plurality of bounded delay information and a plurality of type indication information, and the plurality of bounded delay information is related to each network node in the first deterministic network. Corresponding to the nodes, each network node forwards the first message in combination with the local policy according to the plurality of bounded delay information and the plurality of type indication information. In yet another embodiment, the first message carries a plurality of bounded delay information and a plurality of type indication information, and the plurality of bounded delay information corresponds to one network node in the first deterministic network, and the one network node According to the plurality of bounded delay information and the plurality of type indication information, the first message is forwarded in combination with the local policy. In an embodiment in which the first message carries multiple bounded delay information, the multiple bounded delay information are of the same type. For example, the multiple bounded delay information are all period indication information. Or, at least two of the plurality of bounded delay information are of different types; for example, some of the plurality of bounded delay information are time resource information, and others are service requirement information; and then For example, some of the plurality of bounded delay information are queue indication information, others are period indication information, and still others are delay requirement information.
第一报文是IPv6报文,第一报文包括IPv6扩展头,有界时延信息和该有界时延信息对应的类型指示信息均位于该IPv6扩展头中,例如该IPv6扩展头包括以下任意一种:HBH、DOH、SRH。或者,第一报文是MPLS报文,有界时延信息和该有界时延信息对应的类型指示信息均位于第一报文的MPLS扩展头中。也即,有界时延信息和该有界时延信息对应的类型指示信息携带在HBH、DOH、SRH或MPLS扩展头中。The first message is an IPv6 message. The first message includes an IPv6 extension header. The bounded delay information and the type indication information corresponding to the bounded delay information are both located in the IPv6 extension header. For example, the IPv6 extension header includes the following Any one: HBH, DOH, SRH. Or, the first message is an MPLS message, and the bounded delay information and the type indication information corresponding to the bounded delay information are both located in the MPLS extension header of the first message. That is, the bounded delay information and the type indication information corresponding to the bounded delay information are carried in the HBH, DOH, SRH or MPLS extension header.
可选的,在HBH、DOH或MPLS扩展头中扩展BLI数据字段,通过该BLI数据字段携带有界时延信息和该有界时延信息对应的类型指示信息。在SRH的段列表或TLV字段中携带有界时延信息和该有界时延信息对应的类型指示信息。因此,本申请在第一报文中携带有界时延信息和该有界时延信息对应的类型指示信息包括多种实现方式,下面对该多种实现方式进行介绍。在此之前,首先介绍本申请实施例提供的BLI数据字段。Optionally, a BLI data field is extended in the HBH, DOH or MPLS extension header, and the BLI data field carries bounded delay information and type indication information corresponding to the bounded delay information. The segment list or TLV field of the SRH carries bounded delay information and type indication information corresponding to the bounded delay information. Therefore, this application includes multiple implementation methods for carrying bounded delay information and type indication information corresponding to the bounded delay information in the first message. The various implementation methods are introduced below. Before that, the BLI data field provided by the embodiment of this application is first introduced.
本申请实施例提供的BLI数据字段包括至少一个BLI数据空间(space),每个BLI数据空间用于携带一个有界时延信息和该有界时延信息对应的类型指示信息。例如,每个BLI数据空间包括类型指示子空间和BLI子空间,BLI子空间用于携带有界时延信息,类型指示子空间用于携带该有界时延信息对应的类型指示信息。可选的,每个BLI数据空间还包括格式 (format)子空间,格式子空间用于携带对应的有界时延信息的格式,不同有界时延信息的格式不同。例如,时间资源信息、时延要求信息、抖动要求信息是16位无符号数(16 bit unsigned integer)、32位无符号数(32 bit unsigned integer)或64位无符号数(32 bit unsigned integer),截止期限要求信息是网络时间协议(network time protocol,NTP)32比特的时间戳、NTP 64比特的时间戳、精确时间协议(precision time protocol,PTP)64比特的时间戳或PTP 80比特的时间戳。第一个BLI数据空间(位于该BLI数据字段起始位置的BLI数据空间)还可以包括标志(flags)子空间,该标志子空间用于指示该第一个BLI数据空间后是否存在更多的BLI数据空间。该标志子空间包括多个标志位,该多个标志位的数量指示该BLI数据字段能够包括的BLI数据空间的最大数量,每个标志位的值是0或1,该多个标志位中值为1的标志位的数量指示该BLI数据字段实际包括的BLI数据空间的数量。The BLI data field provided by the embodiment of the present application includes at least one BLI data space (space), and each BLI data space is used to carry bounded delay information and type indication information corresponding to the bounded delay information. For example, each BLI data space includes a type indication subspace and a BLI subspace. The BLI subspace is used to carry bounded delay information, and the type indication subspace is used to carry type indication information corresponding to the bounded delay information. Optionally, each BLI data space also includes the format (format) subspace, the format subspace is used to carry the format of the corresponding bounded delay information, and the formats of different bounded delay information are different. For example, the time resource information, delay requirement information, and jitter requirement information are 16-bit unsigned numbers (16 bit unsigned integer), 32-bit unsigned numbers (32 bit unsigned integer), or 64-bit unsigned numbers (32 bit unsigned integer) , the deadline requirement information is a network time protocol (NTP) 32-bit timestamp, an NTP 64-bit timestamp, a precision time protocol (PTP) 64-bit timestamp, or a PTP 80-bit time. stamp. The first BLI data space (the BLI data space located at the starting position of the BLI data field) may also include a flags subspace, which is used to indicate whether there are more BLI data spaces after the first BLI data space. BLI data space. The flag subspace includes multiple flag bits. The number of the multiple flag bits indicates the maximum number of BLI data spaces that the BLI data field can include. The value of each flag bit is 0 or 1. The value of the multiple flag bits is The number of flag bits that are 1 indicates the number of BLI data spaces actually included in the BLI data field.
示例的,图3是本申请实施例提供的一种BLI数据字段的示意图。该BLI数据字段包括m个BLI数据空间,m≥1,且m为整数。BLI数据空间包括类型指示子空间、格式子空间、BLI子空间和预留(reserved)子空间,BLI数据空间1还包括标志子空间,标志子空间用于指示该BLI数据字段包括该m个BLI数据空间。在每个BLI数据空间中:BLI子空间用于携带有界时延信息,类型指示子空间用于携带该有界时延信息对应的类型指示信息,格式子空间用于携带该有界时延信息的格式。当m>1时,该BLI数据字段携带的m个有界时延信息的类型相同,或者,该m个有界时延信息中的至少两个有界时延信息的类型不同。By way of example, FIG. 3 is a schematic diagram of a BLI data field provided by an embodiment of the present application. The BLI data field includes m BLI data spaces, m≥1, and m is an integer. The BLI data space includes a type indication subspace, a format subspace, a BLI subspace and a reserved subspace. The BLI data space 1 also includes a flag subspace. The flag subspace is used to indicate that the BLI data field includes the m BLIs. data space. In each BLI data space: the BLI subspace is used to carry bounded delay information, the type indication subspace is used to carry the type indication information corresponding to the bounded delay information, and the format subspace is used to carry the bounded delay information. The format of the message. When m>1, the m pieces of bounded delay information carried by the BLI data field are of the same type, or at least two of the m pieces of bounded delay information are of different types.
下面介绍在第一报文中携带有界时延信息和类型指示信息的实现方式。The following describes the implementation method of carrying bounded delay information and type indication information in the first message.
第一种实现方式:第一报文是IPv6报文,第一报文包括HBH,该HBH包括选项字段,有界时延信息和该有界时延信息对应的类型指示信息均位于该选项字段中。例如,该选项字段包括BLI数据字段,有界时延信息和该有界时延信息对应的类型指示信息均位于该BLI数据字段中。The first implementation method: the first message is an IPv6 message, and the first message includes an HBH. The HBH includes an option field. The bounded delay information and the type indication information corresponding to the bounded delay information are both located in the option field. middle. For example, the option field includes a BLI data field, and the bounded delay information and the type indication information corresponding to the bounded delay information are both located in the BLI data field.
示例的,图4是本申请实施例提供的一种选项字段的示意图。该选项字段包括选项类型(option type)子字段、选项数据长度(option data length)子字段和BLI数据字段(该BLI数据字段是该选项字段中的子字段)。该选项类型子字段用于指示该选项字段的类型,该选项类型子字段的最高3位为001,网络节点处理包括该选项字段的报文的过程中,如果网络节点无法识别该选项类型,该网络节点跳过该选项字段,网络节点处理该选项字段的过程中可以更改该选项类型子字段的值。该选项数据长度子字段用于指示该BLI数据字段的长度。By way of example, FIG. 4 is a schematic diagram of an option field provided by an embodiment of the present application. The option field includes an option type (option type) subfield, an option data length (option data length) subfield, and a BLI data field (the BLI data field is a subfield in the option field). The option type subfield is used to indicate the type of the option field. The highest three bits of the option type subfield are 001. During the process of the network node processing the message including the option field, if the network node cannot recognize the option type, the The network node skips this option field, and the network node can change the value of the option type subfield during processing of the option field. The option data length subfield is used to indicate the length of the BLI data field.
示例的,图5是本申请实施例提供的一种第一报文的示意图。该第一报文是IPv6报文,该第一报文包括有效载荷(payload)、用户数据报协议(user datagram protocol,UDP)头、其他IPv6扩展头、HBH、IPv6头、媒体访问控制(media access control,MAC)头和以太头(ethernet header,ETH),该HBH包括如图3所示的选项字段。该选项字段携带m个有界时延信息和m个类型指示信息,该m个有界时延信息与第一报文沿途的每个网络节点对应,每个网络节点根据该m个有界时延信息和该m个类型指示信息结合本地策略转发第一报文。By way of example, FIG. 5 is a schematic diagram of a first message provided by an embodiment of the present application. The first message is an IPv6 message. The first message includes a payload, a user datagram protocol (UDP) header, other IPv6 extension headers, HBH, IPv6 header, and media access control (media). access control (MAC) header and Ethernet header (ETH). The HBH includes the option fields shown in Figure 3. This option field carries m bounded delay information and m type indication information. The m bounded delay information corresponds to each network node along the first message. Each network node responds to the m bounded delay information. The delay information and the m type indication information are combined with the local policy to forward the first message.
第二种实现方式:第一报文是IPv6报文,第一报文包括DOH,该DOH包括选项字段,有界时延信息和该有界时延信息对应的类型指示信息均位于该选项字段中。例如,该选项字段包括BLI数据字段,有界时延信息和该有界时延信息对应的类型指示信息均位于该BLI数据字段中。 The second implementation method: the first message is an IPv6 message, and the first message includes a DOH. The DOH includes an option field. The bounded delay information and the type indication information corresponding to the bounded delay information are both located in the option field. middle. For example, the option field includes a BLI data field, and the bounded delay information and the type indication information corresponding to the bounded delay information are both located in the BLI data field.
该选项字段的结构可以参考图3。在该第二种实现方式中,该选项字段位于第一报文的DOH中,该选项字段携带的m个有界时延信息与第一报文沿途的至少一个网络节点对应,且该m个有界时延信息与该至少一个网络节点中的每个网络节点对应,该每个网络节点根据该m个有界时延信息和该m个类型指示信息,结合本地策略转发第一报文。其中,该至少一个网络节点在第一确定性网络中,且该至少一个网络节点均命中该DOH携带的目的地址。例如,该至少一个网络节点包括第一确定性网络的出口节点。The structure of this option field can be referred to Figure 3. In the second implementation, the option field is located in the DOH of the first message, the m bounded delay information carried by the option field corresponds to at least one network node along the first message, and the m The bounded delay information corresponds to each network node in the at least one network node, and each network node forwards the first message according to the m bounded delay information and the m type indication information in combination with a local policy. Wherein, the at least one network node is in the first deterministic network, and the at least one network node all hits the destination address carried by the DOH. For example, the at least one network node includes an egress node of the first deterministic network.
第三种实现方式:第一报文是MPLS报文,第一报文包括MPLS扩展头(extension header,EH),有界时延信息和该有界时延信息对应的类型指示信息均位于MPLS EH中。The third implementation method: the first message is an MPLS message, and the first message includes an MPLS extension header (EH). The bounded delay information and the type indication information corresponding to the bounded delay information are both located in MPLS EH.
可选的实施例中,MPLS EH包括BLI数据字段,有界时延信息和该有界时延信息对应的类型指示信息均位于BLI数据字段中。示例的,图6是本申请实施例提供的一种MPLS EH的示意图。该MPLS EH包括下一头部(next header,NH)字段、头部扩展长度(header extension length,HLEN)字段、预留字段和BLI数据字段。该NH字段用于指示该MPLS EH之后的EH的类型。该HLEN字段用于指示该BLI数据字段的长度。In an optional embodiment, MPLS EH includes a BLI data field, and bounded delay information and type indication information corresponding to the bounded delay information are both located in the BLI data field. By way of example, FIG. 6 is a schematic diagram of an MPLS EH provided by an embodiment of the present application. The MPLS EH includes a next header (NH) field, a header extension length (HLEN) field, a reserved field and a BLI data field. The NH field is used to indicate the type of EH following this MPLS EH. The HLEN field is used to indicate the length of the BLI data field.
一个可选实施例中,第一报文是MPLS报文,第一报文包括EH栈(EH stack),该EH栈包括多个MPLS EH,该多个MPLS EH与第一报文沿途的多个网络节点一一对应,每个MPLS EH携带至少一个有界时延信息和该至少一个有界时延信息对应的类型指示信息。第一报文还可以包括MPLS标签栈(lable stack),该MPLS标签栈包括多个MPLS标签,该多个MPLS标签与第一报文沿途的多个网络节点一一对应。例如,该多个MPLS EH与该多个MPLS标签一一对应,所述多个网络节点均在第一确定性网络中。示例的,图7是本申请实施例提供的另一种第一报文的示意图。该第一报文是MPLS报文,该第一报文包括MPLS载荷、EH栈、PAH的通用头(common header of PAH,CH)、栈底标签(bottom of stack,BoS)和MPLS标签栈。PAH的英文为post-stack MNA header,中文为堆叠MNA头,MNA的英文为MPLS network actions,中文为MPLS网络动作。EH栈包括n个MPLS EH,每个MPLS EH的结构如图6所示。该n个MPLS EH与第一报文沿途的n个网络节点一一对应,该n个网络节点中的每个网络节点根据对应的MPLS EH处理第一报文。图7以该n个MPLS EH均包括m个BLI数据空间为例说明,因此,该n个MPLS EH中的每个都携带m个有界时延信息和m个类型指示信息,在其他实施例中,该n个MPLS EH中的至少两个MPLS EH携带的有界时延信息的数量不同。In an optional embodiment, the first message is an MPLS message, and the first message includes an EH stack. The EH stack includes multiple MPLS EHs, and the multiple MPLS EHs are related to multiple MPLS EHs along the way of the first message. There is a one-to-one correspondence between network nodes, and each MPLS EH carries at least one bounded delay information and type indication information corresponding to the at least one bounded delay information. The first message may also include an MPLS label stack (lable stack). The MPLS label stack includes multiple MPLS labels, and the multiple MPLS labels correspond to multiple network nodes along the first message. For example, the multiple MPLS EHs correspond to the multiple MPLS labels one-to-one, and the multiple network nodes are all in the first deterministic network. By way of example, FIG. 7 is a schematic diagram of another first message provided by an embodiment of the present application. The first message is an MPLS message, and the first message includes an MPLS payload, an EH stack, a common header of PAH (CH), a bottom label of the stack (BoS), and an MPLS label stack. PAH is post-stack MNA header in English and stack MNA header in Chinese. MNA is MPLS network actions in English and MPLS network actions in Chinese. The EH stack includes n MPLS EHs, and the structure of each MPLS EH is shown in Figure 6. The n MPLS EHs correspond one-to-one to the n network nodes along the first message, and each of the n network nodes processes the first message according to the corresponding MPLS EH. Figure 7 takes the n MPLS EHs each including m BLI data spaces as an example. Therefore, each of the n MPLS EHs carries m bounded delay information and m type indication information. In other embodiments, , at least two MPLS EHs among the n MPLS EHs carry different amounts of bounded delay information.
另一个可选实施例中,第一报文包括一个用于携带有界时延信息的MPLS EH,该MPLS EH与第一报文沿途的一个网络节点(例如第一确定性网络的出口节点)对应,该MPLS EH携带至少一个有界时延信息和该至少一个有界时延信息对应的类型指示信息。示例的,图8是本申请实施例提供的再一种第一报文的示意图。该第一报文是MPLS报文,该第一报文包括MPLS载荷、MPLS EH、UDP头、IPv6头、MAC头和ETH,该MPLS EH的结构如图6所示,该MPLS EH与第一确定性网络的出口节点对应,该出口节点根据该MPLS EH处理第一报文。In another optional embodiment, the first message includes an MPLS EH used to carry bounded delay information, and the MPLS EH is connected to a network node along the first message (such as the egress node of the first deterministic network) Correspondingly, the MPLS EH carries at least one bounded delay information and type indication information corresponding to the at least one bounded delay information. By way of example, FIG. 8 is a schematic diagram of yet another first message provided by an embodiment of the present application. The first message is an MPLS message. The first message includes an MPLS payload, MPLS EH, UDP header, IPv6 header, MAC header and ETH. The structure of the MPLS EH is shown in Figure 6. The MPLS EH is different from the first Corresponding to the egress node of the deterministic network, the egress node processes the first message according to the MPLS EH.
第四种实现方式:第一报文是SRv6报文,第一报文包括SRH,该SRH包括段列表(segment list),有界时延信息和该有界时延信息对应的类型指示信息均位于该段列表中。The fourth implementation method: the first message is an SRv6 message, the first message includes an SRH, the SRH includes a segment list, the bounded delay information and the type indication information corresponding to the bounded delay information are both in the segment list.
可选的,该段列表包括多个SID,每个SID包括位置(locator)字段、功能(function) 字段和参数(argument)字段,有界时延信息和该有界时延信息对应的类型指示信息位于SID的参数字段中。示例的,第一报文携带至少一个有界时延信息和至少一个类型指示信息,该至少一个有界时延信息与该至少一个类型指示信息一一对应,该至少一个有界时延信息一一对应位于至少一个SID的参数字段中,每个类型指示信息与其对应的有界时延信息位于同一参数字段中。其中,该多个SID与第一报文沿途的多个网络节点一一对应,因此,该至少一个有界时延信息与该多个网络节点中的至少一个网络节点一一对应。Optionally, the segment list includes multiple SIDs, each SID includes a location (locator) field and a function (function) Field and parameter (argument) fields, the bounded delay information and the type indication information corresponding to the bounded delay information are located in the parameter field of the SID. For example, the first message carries at least one bounded delay information and at least one type indication information. The at least one bounded delay information corresponds to the at least one type indication information. The at least one bounded delay information is one-to-one. One correspondence is located in the parameter field of at least one SID, and each type indication information and its corresponding bounded delay information are located in the same parameter field. The plurality of SIDs are in one-to-one correspondence with a plurality of network nodes along the route of the first message. Therefore, the at least one bounded delay information is in a one-to-one correspondence with at least one of the plurality of network nodes.
以每个SID的参数字段携带一个有界时延信息和一个类型指示信息为例说明。图9是本申请实施例提供的一种SRH的示意图。该SRH包括如下字段:下一头部、头部扩展长度、路由类型(routing type)、剩余段(segment left,SL)、最后条目(last entry)、标志(flags)、标签(tag)、<段列表[1]、段列表[2]...段列表[n]>和可选TLV。段列表[1]、段列表[2]...段列表[n]中的每个段列表是一个SID。段列表[1]、段列表[2]...段列表[n]中的每个段列表的参数字段包括一个有界时延信息和一个类型指示信息,每个段列表的参数字段中的类型指示信息用于指示该参数字段中的有界时延信息的类型。图9所示的SRH携带n个有界时延信息和n个类型指示信息,n≥1,且n整数。当n>1时,该n个有界时延信息的类型相同,或者,该n个有界时延信息中的至少两个有界时延信息的类型不同。可选的,当该n个有界时延信息的类型相同时,该n个有界时延信息的类型可以是预先配置好的类型,上述n个SID中也可以不携带类型指示信息,本申请实施例对此不做限定。As an example, the parameter field of each SID carries a bounded delay information and a type indication information. Figure 9 is a schematic diagram of an SRH provided by an embodiment of the present application. The SRH includes the following fields: next header, header extension length, routing type, remaining segment (segment left, SL), last entry, flags, tag, < Segment List[1], Segment List[2]...Segment List[n]> and optional TLV. Each segment list in segment list [1], segment list [2]...segment list [n] is a SID. The parameter field of each segment list in segment list [1], segment list [2]...segment list [n] includes a bounded delay information and a type indication information. The parameter field in each segment list The type indication information is used to indicate the type of bounded delay information in the parameter field. The SRH shown in Figure 9 carries n bounded delay information and n type indication information, n≥1, and n is an integer. When n>1, the n pieces of bounded delay information are of the same type, or at least two of the n pieces of bounded delay information are of different types. Optionally, when the types of the n bounded delay information are the same, the types of the n bounded delay information may be preconfigured types, and the above n SIDs may not carry type indication information. This document The application examples do not limit this.
第五种实现方式:第一报文是SRv6报文,第一报文包括SRH,该SRH包括TLV字段,有界时延信息和该有界时延信息对应的类型指示信息均位于该TLV字段中。The fifth implementation method: the first message is an SRv6 message, and the first message includes an SRH. The SRH includes a TLV field. The bounded delay information and the type indication information corresponding to the bounded delay information are both located in the TLV field. middle.
其中,该TLV字段携带至少一个有界时延信息和至少一个类型指示信息,该至少一个有界时延信息与第一确定性网络中的至少一个网络节点对应。例如,该至少一个有界时延信息与该至少一个网络节点一一对应,或者,该至少一个网络节点中的每个网络节点与该至少一个有界时延信息中的所有有界时延信息对应。该SRH还包括段列表,该段列表包括多个SID,该多个SID与第一报文沿途的多个网络节点一一对应,该多个网络节点在第一确定性网络中。其中,该至少一个有界时延信息的数量不大于该多个SID的数量,该多个SID中对应有界时延信息的SID的类型为目标类型(对应于同一网络节点的SID和有界时延信息对应),该目标类型指示上述TLV字段包括相应SID对应的有界时延信息。示例的,目标类型为END.BLI,也即,对应有界时延信息的SID为END.BLI SID。可选的,该多个SID中未对应有界时延信息的SID的类型为END或END.X,也即,未对应有界时延信息的SID为END SID或END.X SID。END SID为目的节点(endpoint)SID,标识网络中的某个目的节点,END.X SID为三层交叉连接的endpoint SID,标识网络中的某条链路。The TLV field carries at least one bounded delay information and at least one type indication information, and the at least one bounded delay information corresponds to at least one network node in the first deterministic network. For example, the at least one bounded delay information corresponds to the at least one network node, or each network node in the at least one network node corresponds to all the bounded delay information in the at least one bounded delay information. correspond. The SRH also includes a segment list. The segment list includes a plurality of SIDs. The plurality of SIDs correspond one-to-one to a plurality of network nodes along the first message, and the plurality of network nodes are in the first deterministic network. Wherein, the number of the at least one bounded delay information is not greater than the number of the multiple SIDs, and the type of the SID corresponding to the bounded delay information among the multiple SIDs is the target type (corresponding to the SID and bounded delay information of the same network node). Delay information corresponding), the target type indicates that the above TLV field includes bounded delay information corresponding to the corresponding SID. For example, the target type is END.BLI, that is, the SID corresponding to the bounded delay information is END.BLI SID. Optionally, the type of the SID that does not correspond to bounded delay information among the multiple SIDs is END or END.X. That is, the type of the SID that does not correspond to bounded delay information is END SID or END.X SID. END SID is the destination node (endpoint) SID, which identifies a certain destination node in the network. END.X SID is the endpoint SID of the three-layer cross-connection, which identifies a certain link in the network.
一个可选实施例中,SRH包括段列表和TLV字段,该段列表包括多个SID,该多个SID与第一报文沿途的多个网络节点一一对应,该TLV字段携带多个有界时延信息和多个类型指示信息,该多个有界时延信息与该多个类型指示信息一一对应,该多个有界时延信息与第一报文沿途的多个网络节点一一对应,该多个类型指示信息的数量不大于该多个SID的数量,该多个SID中对应有界时延信息的SID的类型为目标类型。图10是本申请实施例提供的另一种SRH的示意图。该SRH包括如下字段:下一头部、头部扩展长度、路由类型、剩余段、最后条目、标志、标签、<段列表[1]、段列表[2]...段列表[n]>和TLV。段列表[1]、段列表[2]... 段列表[n]中的每个段列表是一个SID。该TLV字段包括如下子字段:类型、长度、剩余BLI、预留和<BLI列表[1]、BLI列表[2]...BLI列表[m]>。该类型子字段用于指示该TLV字段的类型,该长度子字段用于指示该TLV字段的数据字段的长度,该剩余BLI字段指示到达目的节点之前剩余未处理的BLI列表的数量,BLI列表[1]、BLI列表[2]...BLI列表[m]中的每个BLI列表用于携带一个有界时延信息和一个类型指示信息,每个BLI列表中的类型指示信息用于指示该BLI列表中的有界时延信息的类型。图10所示的SRH携带n个SID、m个有界时延信息和m个类型指示信息,n≥m≥1,且n和m均为整数,该n个SID中对应有界时延信息的SID为SID为END.BLI SID。当m>1时,该m个有界时延信息的类型相同,或者,该m个有界时延信息中的至少两个有界时延信息的类型不同。可选的,当该m个有界时延信息的类型相同时,BLI列表也可以不携带类型指示信息,可以通过该TLV字段中的类型子字段来指示该m个有界时延信息的类型,本申请实施例对此不做限定。图10仅仅是一个示例,当SRH携带的有界时延信息的数量小于该SRH携带的SID的数量(例如该SRH携带n个SID)时,也可以在该SRH的TLV字段中设置n个BLI列表,该n个BLI列表与该n个SID一一对应,该n个SID都为END.BLI SID,该n个BLI列表中的一部分BLI列表的内容设置为空,本申请实施例对此不做限定。In an optional embodiment, the SRH includes a segment list and a TLV field. The segment list includes multiple SIDs. The multiple SIDs correspond to multiple network nodes along the first message. The TLV field carries multiple bounded Delay information and multiple types of indication information. The multiple bounded delay information corresponds to the multiple types of indication information. The multiple bounded delay information corresponds to multiple network nodes along the first message. Correspondingly, the number of the plurality of type indication information is not greater than the number of the plurality of SIDs, and the type of the SID corresponding to the bounded delay information among the plurality of SIDs is the target type. Figure 10 is a schematic diagram of another SRH provided by an embodiment of the present application. The SRH includes the following fields: next header, header extension length, routing type, remaining segments, last entry, flag, label, <segment list[1], segment list[2]...segment list[n]> and TLV. Segment list[1], Segment list[2]... Each segment list in segment list [n] is a SID. The TLV field includes the following subfields: type, length, remaining BLI, reservation, and <BLI list[1], BLI list[2]...BLI list[m]>. The type subfield is used to indicate the type of the TLV field. The length subfield is used to indicate the length of the data field of the TLV field. The remaining BLI field indicates the number of unprocessed BLI lists remaining before reaching the destination node. The BLI list [ 1], BLI list [2]...BLI list [m]. Each BLI list is used to carry a bounded delay information and a type indication information. The type indication information in each BLI list is used to indicate the The type of bounded delay information in the BLI list. The SRH shown in Figure 10 carries n SIDs, m bounded delay information and m type indication information, n≥m≥1, and n and m are both integers, and the n SIDs correspond to bounded delay information. The SID is the SID and the SID is END.BLI. When m>1, the m pieces of bounded delay information are of the same type, or at least two of the m pieces of bounded delay information are of different types. Optionally, when the m pieces of bounded delay information are of the same type, the BLI list may not carry type indication information, and the type of the m pieces of bounded delay information may be indicated through the type subfield in the TLV field. , the embodiment of the present application does not limit this. Figure 10 is just an example. When the amount of bounded delay information carried by the SRH is less than the number of SIDs carried by the SRH (for example, the SRH carries n SIDs), n BLIs can also be set in the TLV field of the SRH. List, the n BLI lists correspond to the n SIDs one-to-one, and the n SIDs are all END.BLI SIDs. The content of part of the BLI lists in the n BLI lists is set to empty. This is not the case in the embodiment of the present application. Make limitations.
另一个可选实施例中,SRH包括段列表和TLV字段,该段列表包括多个SID,该多个SID与第一报文沿途的多个网络节点一一对应,该TLV字段携带一个有界时延信息和一个类型指示信息,该一个有界时延信息与该多个网络节点对应,该多个SID的类型均为目标类型,该多个网络节点中的每个网络节点根据该一个有界时延信息和该一个类型指示信息处理第一报文。图11是本申请实施例提供的再一种SRH的示意图。该SRH包括如下字段:下一头部、头部扩展长度、路由类型、剩余段、最后条目、标志、标签、<段列表[1]、段列表[2]...段列表[n]>和TLV。段列表[1]、段列表[2]...段列表[n]中的每个段列表是一个SID。该TLV字段包括如下子字段:类型、长度、预留、类型指示和BLI。该类型子字段用于指示该TLV字段的类型,该长度子字段用于指示该TLV字段的数据字段的长度,该BLI子字段用于携带有界时延信息,该类型子字段用于携带类型指示信息,该类型指示信息用于指示该有界时延信息的类型。图11所示的SRH携带n个SID、一个有界时延信息和一个类型指示信息,n为大于或等于1的整数,该一个有界时延信息与该n个SID均对应,该n个SID均为END.BLI SID。一些实施例中,该TLV字段也可以不包括类型指示子字段,可以通过该TLV字段中的类型子字段来指示该有界时延信息的类型。另一些实施例中,在该TLV字段中扩展如图3所示的BLI字段携带多个有界时延信息和多个类型指示信息,使该BLI字段与该n个SID均对应,该多个SID中的每个SID对应的网络节点根据该多个有界时延信息和该多个类型指示信息处理第一报文,本申请实施例对此不做限定。In another optional embodiment, the SRH includes a segment list and a TLV field. The segment list includes multiple SIDs. The multiple SIDs correspond to multiple network nodes along the first message. The TLV field carries a bounded Delay information and a type indication information, the bounded delay information corresponds to the plurality of network nodes, the types of the plurality of SIDs are target types, and each network node in the plurality of network nodes is based on the one The first message is processed using the boundary delay information and the type indication information. Figure 11 is a schematic diagram of yet another SRH provided by an embodiment of the present application. The SRH includes the following fields: next header, header extension length, routing type, remaining segments, last entry, flag, label, <segment list[1], segment list[2]...segment list[n]> and TLV. Each segment list in segment list [1], segment list [2]...segment list [n] is a SID. The TLV field includes the following subfields: type, length, reservation, type indication, and BLI. The type subfield is used to indicate the type of the TLV field. The length subfield is used to indicate the length of the data field of the TLV field. The BLI subfield is used to carry bounded delay information. The type subfield is used to carry the type. Indication information, this type of indication information is used to indicate the type of the bounded delay information. The SRH shown in Figure 11 carries n SIDs, a bounded delay information and a type indication information. n is an integer greater than or equal to 1. The bounded delay information corresponds to the n SIDs. The n The SIDs are all END.BLI SIDs. In some embodiments, the TLV field may not include a type indication subfield, and the type of bounded delay information may be indicated through the type subfield in the TLV field. In other embodiments, the BLI field shown in Figure 3 is extended in the TLV field to carry multiple bounded delay information and multiple type indication information, so that the BLI field corresponds to the n SIDs, and the multiple The network node corresponding to each SID in the SID processes the first message according to the plurality of bounded delay information and the plurality of type indication information, which is not limited in the embodiment of the present application.
再一个可选实施例中,SRH包括段列表和TLV字段,该段列表包括多个SID,该多个SID与第一报文沿途的多个网络节点一一对应,该TLV字段携带一个有界时延信息和一个类型指示信息,该一个有界时延信息与该多个网络节点中的最后一个网络节点(例如第一确定性网络的出口节点)对应,该多个SID中的最后一个SID的类型为目标类型。图12是本申请实施例提供的又一种SRH的示意图。该SRH的结构与图11所示的SRH的结构相同,不同的是,图12所示的SRH携带n个SID、一个有界时延信息和一个类型指示信息,该一个 有界时延信息与该n个SID中的最后一个SID对应,该最后一个SID为END.BLI SID。一些实施例中,图12所示的SRH中的TLV字段也可以不包括类型指示子字段,可以通过该TLV字段中的类型子字段来指示该有界时延信息的类型。另一些实施例中,在该TLV字段中扩展如图3所示的BLI字段携带多个有界时延信息和多个类型指示信息,使该BLI字段与该最后一个SID对应,该最后一个SID对应的网络节点根据该多个有界时延信息和该多个类型指示信息处理第一报文,本申请实施例对此不做限定。In another optional embodiment, the SRH includes a segment list and a TLV field. The segment list includes multiple SIDs. The multiple SIDs correspond to multiple network nodes along the first message. The TLV field carries a bounded Delay information and a type indication information, the bounded delay information corresponds to the last network node among the plurality of network nodes (for example, the egress node of the first deterministic network), and the last SID among the plurality of SIDs The type is the target type. Figure 12 is a schematic diagram of another SRH provided by the embodiment of the present application. The structure of this SRH is the same as that of the SRH shown in Figure 11. The difference is that the SRH shown in Figure 12 carries n SIDs, a bounded delay information and a type indication information. The bounded delay information corresponds to the last SID among the n SIDs, and the last SID is the END.BLI SID. In some embodiments, the TLV field in the SRH shown in Figure 12 may not include a type indication subfield, and the type of bounded delay information may be indicated through the type subfield in the TLV field. In other embodiments, the BLI field shown in Figure 3 is extended in the TLV field to carry multiple bounded delay information and multiple type indication information, so that the BLI field corresponds to the last SID, and the last SID The corresponding network node processes the first message according to the plurality of bounded delay information and the plurality of type indication information, which is not limited in the embodiments of the present application.
下面介绍本申请的报文传输方法的实施例。The following describes embodiments of the message transmission method of the present application.
请参考图13,其示出了本申请实施例提供的一种报文传输方法的流程图。该报文传输方法应用于第一确定性网络中的第一网络节点。第一网络节点是第一确定性网络的入口节点、中间节点或出口节点。例如,第一确定性网络是图1或图2中的确定性网络1,第一网络节点是网络节点101~103中的任一网络节点。如图13所示,该方法包括如下步骤S301至S302。Please refer to Figure 13, which shows a flow chart of a message transmission method provided by an embodiment of the present application. The message transmission method is applied to the first network node in the first deterministic network. The first network node is an entry node, an intermediate node or an exit node of the first deterministic network. For example, the first deterministic network is the deterministic network 1 in Figure 1 or Figure 2, and the first network node is any one of the network nodes 101 to 103. As shown in Figure 13, the method includes the following steps S301 to S302.
S301.第一网络节点获取第一报文,第一报文携带第一类型指示信息和第一有界时延信息,第一类型指示信息用于指示第一有界时延信息的类型,第一有界时延信息用于保障第一报文在第一确定性网络中的端到端确定性时延。S301. The first network node obtains the first message. The first message carries the first type of indication information and the first bounded delay information. The first type of indication information is used to indicate the type of the first bounded delay information. A bounded delay information is used to ensure the end-to-end deterministic delay of the first message in the first deterministic network.
第一报文携带第一类型指示信息和第一有界时延信息,第一类型指示信息和第一有界时延信息用于第一网络节点转发第一报文。第一类型指示信息和第一有界时延信息还可以用于第一确定性网络中的其他网络节点转发第一报文,本申请实施例对此不做限定。The first packet carries the first type indication information and the first bounded delay information, and the first type indication information and the first bounded delay information are used by the first network node to forward the first packet. The first type indication information and the first bounded delay information can also be used by other network nodes in the first deterministic network to forward the first message, which is not limited in the embodiments of the present application.
其中,第一有界时延信息包括时间资源信息或业务要求信息。第一有界时延信息可以是一个有界时延信息;或者,第一有界时延信息包括多个有界时延信息,且该多个有界时延信息的类型不同。一个示例中,第一有界时延信息是表1中的任意一个有界时延信息。另一个示例中,第一有界时延信息包括表1中的至少两个有界时延信息。The first bounded delay information includes time resource information or service requirement information. The first bounded delay information may be one bounded delay information; or, the first bounded delay information may include multiple bounded delay information, and the multiple bounded delay information may be of different types. In an example, the first bounded delay information is any bounded delay information in Table 1. In another example, the first bounded delay information includes at least two bounded delay information in Table 1.
可选的实施例中,第一报文是IPv6报文,第一类型指示信息和第一有界时延信息均位于第一报文的IPv6扩展头中,该IPv6扩展头包括HBH、DOH、SRH中的任意一种。或者,第一报文是MPLS报文,第一类型指示信息和第一有界时延信息均位于第一报文的MPLS扩展头中。一个示例中,第一报文是如图5所示的IPv6报文,第一报文的HBH携带m个有界时延信息和m个类型指示信息,第一有界时延信息包括该m个有界时延信息,第一类型指示信息包括该m个类型指示信息,第一类型指示信息和第一有界时延信息用于第一报文沿途的多个网络节点转发第一报文,这多个网络节点均在第一确定性网络中。另一个示例中,第一报文是如图8所示的MPLS报文,第一报文的MPLS EH携带m个有界时延信息和m个类型指示信息,第一有界时延信息包括该m个有界时延信息,第一类型指示信息包括该m个类型指示信息,第一类型指示信息和第一有界时延信息用于第一确定性网络的出口节点转发第一报文。再一个示例中,第一报文是SRv6报文(一种IPv6报文),第一报文包括如图11所示的SRH,该SRH携带一个有界时延信息和一个类型指示信息,该一个有界时延信息是第一有界时延信息,该一个类型指示信息是第一类型指示信息,第一类型指示信息和第一有界时延信息用于第一报文沿途的多个网络节点转发第一报文,这多个网络节点均在第一确定性网络中。又一个示例中,第一报文是SRv6报文,第一报文包括如图12所示的SRH,该SRH携带一个有界时延信息和一个类型指示信息,该一个有界时延信息是第一有界时延信息,该一个类 型指示信息是第一类型指示信息,第一类型指示信息和第一有界时延信息用于用于第一确定性网络的出口节点转发第一报文。In an optional embodiment, the first message is an IPv6 message, and the first type indication information and the first bounded delay information are both located in the IPv6 extension header of the first message. The IPv6 extension header includes HBH, DOH, Any one of SRH. Alternatively, the first message is an MPLS message, and the first type indication information and the first bounded delay information are both located in the MPLS extension header of the first message. In an example, the first message is an IPv6 message as shown in Figure 5. The HBH of the first message carries m bounded delay information and m type indication information. The first bounded delay information includes the m Bounded delay information, the first type indication information includes the m type indication information, the first type indication information and the first bounded delay information are used for multiple network nodes along the first message to forward the first message , these multiple network nodes are all in the first deterministic network. In another example, the first message is an MPLS message as shown in Figure 8. The MPLS EH of the first message carries m bounded delay information and m type indication information. The first bounded delay information includes The m pieces of bounded delay information and the first type indication information include the m pieces of type indication information. The first type indication information and the first bounded delay information are used by the egress node of the first deterministic network to forward the first message. . In another example, the first message is an SRv6 message (an IPv6 message). The first message includes an SRH as shown in Figure 11. The SRH carries a bounded delay information and a type indication information. The SRH One bounded delay information is the first bounded delay information, the one type indication information is the first type indication information, and the first type indication information and the first bounded delay information are used for multiple points along the first message. The network node forwards the first message, and the multiple network nodes are all in the first deterministic network. In another example, the first message is an SRv6 message, and the first message includes an SRH as shown in Figure 12. The SRH carries a bounded delay information and a type indication information. The bounded delay information is The first bounded delay information, the class The type indication information is the first type indication information, and the first type indication information and the first bounded delay information are used for the egress node of the first deterministic network to forward the first message.
可选的实施例中,第一报文还携带第二有界时延信息和第二类型指示信息,第二类型指示信息用于指示第二有界时延信息的类型,第二有界时延信息用于保障第一报文在第一确定性网络中的端到端确定性时延,第二类型指示信息和第二有界时延信息用于第二网络节点转发第一报文,第二网络节点在第一确定性网络中。其中,第二有界时延信息是一个有界时延信息,或者,第二有界时延信息包括多个有界时延信息。当第二有界时延信息包括多个有界时延信息时,该多个有界时延信息的类型不同。可选的,第二有界时延信息的类型与第一有界时延信息的类型不同。一个示例中,第二有界时延信息和第一有界时延信息是表1中的任意两个有界时延信息,且第二有界时延信息的类型与第一有界时延信息的类型不同。例如,第一有界时延信息是队列指示信息,第二有界时延信息是周期指示信息。另一个示例中,第一有界时延信息包括表1中的至少两个有界时延信息,第二有界时延信息包括表1中的至少两个有界时延信息,第二有界时延信息包括的至少一个有界时延信息的类型与第一有界时延信息包括的至少一个有界时延信息的类型不同。例如,第一有界时延信息包括队列指示信息和周期指示信息,第二有界时延信息包括队列指示信息和时隙指示信息。在其他实施例中,第二有界时延信息的类型与第一有界时延信息的类型可以相同。当第一报文携带第二有界时延信息和第二类型指示信息,且第一报文是IPv6报文时,第二类型指示信息和第二有界时延信息也均位于第一报文的IPv6扩展头中,且第一有界时延信息与第二有界时延信息位于第一报文的同一个IPv6扩展头中,或者,第一有界时延信息与第二有界时延信息位于第一报文的不同IPv6扩展头中。当第一报文携带第二有界时延信息和第二类型指示信息,且第一报文是MPLS报文时,第二类型指示信息和第二有界时延信息也均位于第一报文的MPLS扩展头中。In an optional embodiment, the first packet also carries second bounded delay information and second type indication information. The second type indication information is used to indicate the type of the second bounded delay information. The second bounded delay information The delay information is used to ensure the end-to-end deterministic delay of the first message in the first deterministic network, and the second type indication information and the second bounded delay information are used by the second network node to forward the first message, The second network node is in the first deterministic network. Wherein, the second bounded delay information is one bounded delay information, or the second bounded delay information includes multiple bounded delay information. When the second bounded delay information includes a plurality of bounded delay information, the types of the plurality of bounded delay information are different. Optionally, the type of the second bounded delay information is different from the type of the first bounded delay information. In an example, the second bounded delay information and the first bounded delay information are any two bounded delay information in Table 1, and the type of the second bounded delay information is the same as the first bounded delay information. There are different types of information. For example, the first bounded delay information is queue indication information, and the second bounded delay information is cycle indication information. In another example, the first bounded delay information includes at least two bounded delay information in Table 1, the second bounded delay information includes at least two bounded delay information in Table 1, and the second bounded delay information includes at least two bounded delay information in Table 1. The type of the at least one bounded delay information included in the bounded delay information is different from the type of the at least one bounded delay information included in the first bounded delay information. For example, the first bounded delay information includes queue indication information and period indication information, and the second bounded delay information includes queue indication information and time slot indication information. In other embodiments, the type of the second bounded delay information and the type of the first bounded delay information may be the same. When the first packet carries the second bounded delay information and the second type indication information, and the first packet is an IPv6 packet, the second type indication information and the second bounded delay information are also located in the first packet. in the IPv6 extension header of the packet, and the first bounded delay information and the second bounded delay information are located in the same IPv6 extension header of the first packet, or the first bounded delay information and the second bounded delay information are in the same IPv6 extension header of the first packet. The delay information is located in different IPv6 extension headers of the first packet. When the first packet carries the second bounded delay information and the second type indication information, and the first packet is an MPLS packet, the second type indication information and the second bounded delay information are also located in the first packet. in the MPLS extension header of the document.
可选的实施例中,第一报文携带多个有界时延信息和多个类型指示信息,该多个有界时延信息与该多个类型指示信息一一对应,每个类型指示信息用于指示对应的有界时延信息的类型,该多个有界时延信息均用于保障第一报文在第一确定性网络中的端到端确定性时延。该多个有界时延信息的类型相同,或者,该多个有界时延信息中的至少两个有界时延信息的类型不同。该多个有界时延信息包括第一有界时延信息和二有界时延信息,相应的,该多个类型指示信息包括第一类型指示信息和第二类型指示信息。当第一报文是IPv6报文时,该多个有界时延信息和该多个类型指示信息均位于第一报文的IPv6扩展头中。当第一报文是MPLS报文时,该多个有界时延信息和该多个类型指示信息均位于第一报文的MPLS扩展头中。一个示例中,第一报文是如图7所示的MPLS报文,第一报文包括n个MPLS EH,每个MPLS EH携带m个有界时延信息和m个类型指示信息,第一有界时延信息和第二有界时延信息是该n个MPLS EH中的任意两个MPLS EH携带的有界时延信息,第一类型指示信息和第二类型指示信息是该任意两个MPLS EH携带的类型指示信息。例如,MPLS EH1携带第一有界时延信息和第一类型指示信息,MPLS EH2携带第二有界时延信息和第二类型指示信息。另一个示例中,第一报文是SRv6报文,第一报文包括如图9所示的SRH,该SRH携带n个有界时延信息和n个类型指示信息,第一有界时延信息和第二有界时延信息是该n个有界时延信息中的任意两个有界时延信息,第一类型指示信息与第一有界时延信息位于同一参数字段中,第二类型指示信息与第二有界时延信息位于同一参数字段中。例如,第一有界时延信 息是有界时延信息1,第一类型指示信息是类型指示信息1;第二有界时延信息是有界时延信息2,第二类型指示信息是类型指示信息2。再一个示例中,第一报文是SRv6报文,第一报文包括如图10所示的SRH,该SRH包括m个BLI列表,每个BLI列表用于携带一个有界时延信息和一个类型指示信息,第一有界时延信息和第二有界时延信息是该m个BLI列表中的任意两个BLI列表携带的有界时延信息,第一类型指示信息和第二类型指示信息是该任意两个BLI列表携带的类型指示信息。例如,第一有界时延信息和第一类型指示信息携带在BLI列表[1]中,第二有界时延信息和第二类型指示信息携带在BLI列表[2]中。In an optional embodiment, the first message carries a plurality of bounded delay information and a plurality of type indication information. The plurality of bounded delay information corresponds to the plurality of type indication information in a one-to-one correspondence. Each type of indication information Used to indicate the type of corresponding bounded delay information. The plurality of bounded delay information are used to ensure the end-to-end deterministic delay of the first message in the first deterministic network. The plurality of bounded delay information are of the same type, or at least two of the plurality of bounded delay information are of different types. The plurality of bounded delay information includes first bounded delay information and second bounded delay information. Correspondingly, the plurality of type indication information includes first type indication information and second type indication information. When the first message is an IPv6 message, the plurality of bounded delay information and the plurality of type indication information are located in the IPv6 extension header of the first message. When the first message is an MPLS message, the plurality of bounded delay information and the plurality of type indication information are located in the MPLS extension header of the first message. In an example, the first message is an MPLS message as shown in Figure 7. The first message includes n MPLS EHs. Each MPLS EH carries m bounded delay information and m type indication information. The first The bounded delay information and the second bounded delay information are the bounded delay information carried by any two MPLS EHs among the n MPLS EHs, and the first type indication information and the second type indication information are the bounded delay information carried by any two of the n MPLS EHs. Type indication information carried by MPLS EH. For example, MPLS EH1 carries first bounded delay information and first type indication information, and MPLS EH2 carries second bounded delay information and second type indication information. In another example, the first message is an SRv6 message, and the first message includes an SRH as shown in Figure 9. The SRH carries n bounded delay information and n type indication information. The first bounded delay The information and the second bounded delay information are any two bounded delay information among the n bounded delay information. The first type indication information and the first bounded delay information are located in the same parameter field. The second The type indication information and the second bounded delay information are located in the same parameter field. For example, the first bounded delay message The information is bounded delay information 1, the first type indication information is type indication information 1; the second bounded delay information is bounded delay information 2, and the second type indication information is type indication information 2. In another example, the first message is an SRv6 message, and the first message includes an SRH as shown in Figure 10. The SRH includes m BLI lists, and each BLI list is used to carry a bounded delay information and a The type indication information, the first bounded delay information and the second bounded delay information are the bounded delay information carried by any two BLI lists among the m BLI lists, the first type indication information and the second type indication The information is the type indication information carried by any two BLI lists. For example, the first bounded delay information and the first type indication information are carried in the BLI list [1], and the second bounded delay information and the second type indication information are carried in the BLI list [2].
可选的实施例中,第一报文是IPv6报文,第一报文还携带切片指示信息,该切片指示信息位于第一报文的IPv6扩展头中,例如,该切片指示信息位于第一报文的HBH、DOH或SRH中。该切片指示信息指示用于转发第一报文的网络切片,该切片指示信息可以是切片标识(identifier,ID)。其中,该切片指示信息与第一有界时延信息位于第一报文的同一IPv6扩展头中。或者,该切片指示信息与第一有界时延信息位于第一报文的不同IPv6扩展头中。例如,第一有界时延信息位于SRH中,切片指示信息位于HBH中。图14是本申请实施例提供的又一种第一报文的示意图。该第一报文是SRv6报文,该第一报文包括有效载荷、SRH、HBH和IPv6头。SRH的结构同图9,该SRH携带m个有界时延信息,第一有界时延信息是该m个有界时延信息中的任一有界时延信息,切片ID位于HBH中。HBH包括如下字段:下一头部、头部扩展长度、标志、切片ID和预留。IPv6头包括如下字段:版本(version)字段、流分类(traffic class)、流标签(flow label)、有效载荷长度(payload length)、下一头部、跳数限制(hop limit)、源(source)地址、目的(destination)地址。本申请实施例将切片指示信息携带在第一报文的HBH中,第一沿途的各个网络节点可以根据该切片指示信息确定对应的网络切片,进而通过该网络切片转发第一报文。示例的,第一报文沿途的网络节点根据该切片指示信息、有界时延信息和用于指示该有界时延信息的类型指示信息转发第一报文,由此不仅可以保障第一报文在第一确定性网络中的端到端确定性时延,还可以保障第一报文在该切片指示信息指示的网络切片内的确定性时延。In an optional embodiment, the first message is an IPv6 message, and the first message also carries slice indication information. The slice indication information is located in the IPv6 extension header of the first message. For example, the slice indication information is located in the first IPv6 extension header. in the HBH, DOH or SRH of the message. The slice indication information indicates a network slice used to forward the first packet, and the slice indication information may be a slice identifier (identifier, ID). Wherein, the slice indication information and the first bounded delay information are located in the same IPv6 extension header of the first message. Alternatively, the slice indication information and the first bounded delay information are located in different IPv6 extension headers of the first message. For example, the first bounded delay information is located in the SRH, and the slice indication information is located in the HBH. Figure 14 is a schematic diagram of yet another first message provided by an embodiment of the present application. The first message is an SRv6 message, and the first message includes a payload, SRH, HBH and IPv6 header. The structure of the SRH is the same as Figure 9. The SRH carries m bounded delay information. The first bounded delay information is any bounded delay information among the m bounded delay information. The slice ID is located in the HBH. HBH includes the following fields: next header, header extension length, flag, slice ID and reservation. The IPv6 header includes the following fields: version field, traffic class, flow label, payload length, next header, hop limit, source ) address, destination address. In this embodiment of the present application, the slice indication information is carried in the HBH of the first message. Each network node along the first route can determine the corresponding network slice based on the slice indication information, and then forward the first message through the network slice. For example, the network nodes along the first packet forward the first packet according to the slice indication information, the bounded delay information, and the type indication information used to indicate the bounded delay information. This not only ensures that the first packet The end-to-end deterministic delay of the first message in the first deterministic network can also be guaranteed to ensure the deterministic delay of the first message in the network slice indicated by the slice indication information.
在本申请实施例中,第一网络节点是第一确定性网络的入口节点、中间节点或出口节点。当第一网络节点是第一确定性网络的中间节点或出口节点时,第一网络节点从第一网络节点的上一跳节点接收第一报文,该上一跳节点在第一确定性网络中。当第一网络节点是第一确定性网络的入口节点时,第一网络节点生成第一报文。S301的下文主要介绍第一网络节点是第一确定性网络的入口节点时,第一网络节点获取第一报文的实现方案。In this embodiment of the present application, the first network node is an entry node, an intermediate node or an exit node of the first deterministic network. When the first network node is an intermediate node or an egress node of the first deterministic network, the first network node receives the first message from a previous hop node of the first network node, and the previous hop node is in the first deterministic network. middle. When the first network node is an entry node of the first deterministic network, the first network node generates the first message. The following of S301 mainly introduces the implementation plan for the first network node to obtain the first message when the first network node is the entry node of the first deterministic network.
第一网络节点从第一网络节点的上一跳节点接收第二报文,以及,第一网络节点获取第一类型指示信息和第一有界时延信息,第一网络节点根据第二报文、第一类型指示信息和第一有界时延信息生成第一报文,该上一跳节点位于第一确定性网络外。可选的,第一网络节点还获取第二类型指示信息和第二有界时延信息,第一网络节点根据第二报文、第一类型指示信息、第一有界时延信息、第二类型指示信息和第二有界时延信息生成第一报文。具体实施例中,第一网络节点获取多个类型指示信息和多个有界时延信息,该多个类型指示信息和该多个有界时延信息一一对应,该多个类型指示信息包括第一类型指示信息和第二类型指示信息,该多个有界时延信息包括第一有界时延信息和第二有界时延信息,第一网络节点根据第二报文、该多个类型指示信息和该多个有界时延信息生成第一报文。 The first network node receives the second message from the previous hop node of the first network node, and the first network node obtains the first type indication information and the first bounded delay information, and the first network node receives the second message according to the second message. , the first type indication information and the first bounded delay information generate a first message, and the upper hop node is located outside the first deterministic network. Optionally, the first network node also obtains the second type indication information and the second bounded delay information. The first network node obtains the second type indication information and the second bounded delay information according to the second message, the first type indication information, the first bounded delay information, and the second bounded delay information. The type indication information and the second bounded delay information generate the first message. In a specific embodiment, the first network node obtains a plurality of type indication information and a plurality of bounded delay information. The plurality of type indication information corresponds to the plurality of bounded delay information. The plurality of type indication information includes: The first type of indication information and the second type of indication information, the plurality of bounded delay information include the first bounded delay information and the second bounded delay information, the first network node according to the second message, the plurality of bounded delay information The type indication information and the plurality of bounded delay information generate a first message.
一个实施例中,第一网络节点接收控制器发送的控制报文,该控制报文包括第一类型指示信息和第一有界时延信息,第一网络节点从该控制报文中获取第一类型指示信息和第一有界时延信息。可选的,该控制报文包括多个类型指示信息和多个有界时延信息,该多个类型指示信息与该多个有界时延信息一一对应,每个类型指示信息用于指示对应的有界时延信息的类型,该多个有界时延信息包括第一有界时延信息,该多个类型指示信息包括第一类型指示信息,第一网络节点从该控制报文中获取该多个类型指示信息和该多个有界时延信息。其中,该多个有界时延信息在该控制报文中依序排列,该多个类型指示信息按照该多个有界时延信息的排列次序排列。一个示例中,该控制报文包括依序排列的多个TLV字段,该多个有界时延信息一一对应位于该多个TLV字段中,每个类型指示信息与其对应的有界时延信息位于同一个TLV字段。另一个示例中,该控制报文包括信息栈,该信息栈包括依序排列的多个信息项,该多个有界时延信息一一对应包括在该多个信息项中,每个类型指示信息与其对应的有界时延信息包括在同一信息项中。其中,该多个有界时延信息与第一业务流沿途的多个网络节点一一对应,该多个网络节点都在第一确定性网络中,第一报文属于第一业务流。该多个TLV字段中的每个TLV字段中还可以包括一个节点标识,以指示该每个TLV字段携带的有界时延信息对应的网络节点。该多个信息项中的每个信息项还可以包括一个节点标识,以指示该每个信息项包括的有界时延信息对应的网络节点。节点标识可以是节点的SID,也可以是其他用于标识网络节点的指示信息。In one embodiment, the first network node receives a control message sent by the controller. The control message includes first type indication information and first bounded delay information. The first network node obtains the first time delay from the control message. Type indication information and first bounded delay information. Optionally, the control message includes multiple types of indication information and multiple bounded delay information. The multiple types of indication information correspond to the multiple bounded delay information. Each type of indication information is used to indicate The corresponding type of bounded delay information, the plurality of bounded delay information includes the first bounded delay information, the plurality of type indication information includes the first type indication information, and the first network node obtains the first bounded delay information from the control message. Obtain the plurality of type indication information and the plurality of bounded delay information. Wherein, the plurality of bounded delay information are arranged in sequence in the control message, and the plurality of type indication information are arranged in the order in which the plurality of bounded delay information is arranged. In one example, the control message includes multiple TLV fields arranged in sequence, the multiple bounded delay information is located in the multiple TLV fields in one-to-one correspondence, and each type indication information has its corresponding bounded delay information. Located in the same TLV field. In another example, the control message includes an information stack. The information stack includes multiple information items arranged in sequence. The multiple bounded delay information is included in the multiple information items in one-to-one correspondence. Each type indicates The information and its corresponding bounded delay information are included in the same information item. Wherein, the plurality of bounded delay information corresponds to a plurality of network nodes along the first service flow, the plurality of network nodes are all in the first deterministic network, and the first message belongs to the first service flow. Each TLV field in the plurality of TLV fields may also include a node identifier to indicate the network node corresponding to the bounded delay information carried by each TLV field. Each information item among the plurality of information items may further include a node identifier to indicate the network node corresponding to the bounded delay information included in each information item. The node identifier may be the SID of the node, or other indication information used to identify the network node.
可选的,第一网络节点接收控制器发送的控制报文之前,第一网络节点向控制器发送第一网络节点的能力信息,控制器根据第一网络节点的能力信息确定第一类型指示信息和第一有界时延信息。一个示例中,第一有界时延信息是底层资源信息,第一网络节点的能力信息包括第一网络节点的底层资源信息,控制器从第一网络节点的能力信息中获取第一网络节点的底层资源信息,控制器将第一网络节点的底层资源信息确定为第一有界时延信息并生成用于指示第一有界时延信息的类型的第一类型指示信息。另一个示例中,第一有界时延信息是抽象资源信息,第一网络节点的能力信息包括第一网络节点的底层资源信息,控制器根据第一网络节点的底层资源信息生成第一有界时延信息(也即抽象资源信息)和第一类型指示信息,并建立底层资源信息与抽象资源信息之间的映射关系。再一个示例中,第一有界时延信息是业务要求信息,第一网络节点的能力信息包括第一业务流的业务要求信息,控制器从第一网络节点的能力信息中获取第一业务流的业务要求信息,控制器将第一业务流的业务要求信息确定为第一有界时延信息并生成用于指示第一有界时延信息的类型的第一类型指示信息。可选的,在第一确定性网络传输第一业务流之前,第一确定性网络中的每个网络节点向控制器发送该每个网络节点的能力信息,控制器根据多个网络节点的能力信息确定有界时延信息以及用于指示该有界时延信息的类型指示信息。Optionally, before the first network node receives the control message sent by the controller, the first network node sends the capability information of the first network node to the controller, and the controller determines the first type of indication information based on the capability information of the first network node. and the first bounded delay information. In one example, the first bounded delay information is underlying resource information, the capability information of the first network node includes the underlying resource information of the first network node, and the controller obtains the capability information of the first network node from the capability information of the first network node. For the underlying resource information, the controller determines the underlying resource information of the first network node as the first bounded delay information and generates first type indication information for indicating the type of the first bounded delay information. In another example, the first bounded delay information is abstract resource information, the capability information of the first network node includes underlying resource information of the first network node, and the controller generates the first bounded delay information based on the underlying resource information of the first network node. delay information (that is, abstract resource information) and first type indication information, and establish a mapping relationship between underlying resource information and abstract resource information. In another example, the first bounded delay information is service requirement information, the capability information of the first network node includes the service requirement information of the first service flow, and the controller obtains the first service flow from the capability information of the first network node. The controller determines the service requirement information of the first service flow as the first bounded delay information and generates first type indication information for indicating the type of the first bounded delay information. Optionally, before the first deterministic network transmits the first service flow, each network node in the first deterministic network sends capability information of each network node to the controller, and the controller The information determines bounded delay information and type indication information used to indicate the bounded delay information.
另一个实施例中,第二报文来自第二确定性网络,第二报文携带目标有界时延信息,目标有界时延信息用于保障第二报文在第二确定性网络中的端到端确定性时延。例如图2所示,第一确定性网络为确定性网络1,第二确定性网络为确定性网络2,目标有界时延信息用于保障第二报文在确定性网络2中的端到端确定性时延。第一网络节点可以根据第二报文携带的目标有界时延信息获取第一类型指示信息和第一有界时延信息。可选的,第一网络节点根据目标有界时延信息获取多个类型指示信息和多个有界时延信息,该多个类型指示信息与该多 个有界时延信息一一对应,每个类型指示信息用于指示对应的有界时延信息的类型,该多个有界时延信息包括第一有界时延信息,该多个类型指示信息包括第一类型指示信息。示例的,第一网络节点存储有目标有界时延信息与该多个有界时延信息的关联关系(例如称为第一关联关系),第一网络节点根据目标有界时延信息和第一映射关系,获取该多个有界时延信息。第一关联关系是通过命令行在第一网络节点中配置的,也可以是在控制器上配置好,并由控制器下发给第一网络节点的,还可以是控制器生成并下发给第一网络节点的。In another embodiment, the second packet comes from the second deterministic network, and the second packet carries target bounded delay information. The target bounded delay information is used to ensure that the second packet travels in the second deterministic network. End-to-end deterministic latency. For example, as shown in Figure 2, the first deterministic network is deterministic network 1, and the second deterministic network is deterministic network 2. The target bounded delay information is used to ensure the end-to-end arrival of the second message in deterministic network 2. End deterministic delay. The first network node may obtain the first type indication information and the first bounded delay information according to the target bounded delay information carried in the second message. Optionally, the first network node obtains a plurality of type indication information and a plurality of bounded delay information according to the target bounded delay information, and the plurality of type indication information is related to the plurality of bounded delay information. There is a one-to-one correspondence between the bounded delay information, and each type indication information is used to indicate the type of the corresponding bounded delay information. The plurality of bounded delay information includes the first bounded delay information. The plurality of type indication information The information includes first type indication information. For example, the first network node stores an association relationship between the target bounded delay information and the plurality of bounded delay information (for example, it is called a first association relationship). A mapping relationship is used to obtain the multiple bounded delay information. The first association relationship is configured in the first network node through the command line, or it can be configured on the controller and sent to the first network node by the controller, or it can be generated by the controller and sent to of the first network node.
S302.第一网络节点根据第一类型指示信息和第一有界时延信息转发第一报文。S302. The first network node forwards the first message according to the first type indication information and the first bounded delay information.
第一网络节点根据第一类型指示信息确定第一有界时延信息的类型,第一网络节点根据第一有界时延信息和第一有界时延信息的类型确定第一网络节点中用于传输第一报文的第一资源,第一网络节点通过第一资源转发第一报文。第一资源可以是队列、循环周期或时隙。The first network node determines the type of the first bounded delay information based on the first type indication information. The first network node determines the type of the first bounded delay information used in the first network node based on the first bounded delay information and the type of the first bounded delay information. Regarding the first resource for transmitting the first message, the first network node forwards the first message through the first resource. The first resource may be a queue, cycle, or time slot.
一个可选实施例中,第一网络节点根据第一类型指示信息确定第一有界时延信息包括时间资源信息,第一网络节点根据该时间资源信息确定第一资源。作为一个示例,第一有界时延信息包括的时间资源信息是底层资源信息,第一网络节点确定该时间资源信息指示的底层资源,第一网络节点在该时间资源信息指示的底层资源中确定第一资源。例如,该时间资源信息为队列指示信息,第一网络节点将该队列指示信息指示的队列确定为第一资源。再例如,该时间资源信息包括队列指示信息和周期指示信息,第一网络节点确定该队列指示信息指示的队列(假设为队列1),以及,第一网络节点确定该周期指示信息指示的循环周期(假设为循环周期1),第一网络节点结合本地策略将队列1或循环周期1确定为第一资源。作为另一个示例,第一有界时延信息包括的时间资源信息是底层资源信息的抽象信息(简称为抽象资源信息),第一网络节点根据该时间资源信息和第一网络节点的本地映射关系确定第一资源。该本地映射关系包括底层资源信息与抽象资源信息之间的映射关系,第一网络节点根据该时间资源信息(也即抽象资源信息)和该本地映射关系确定该时间资源信息对应的底层资源信息,第一网络节点确定该底层资源信息指示的底层资源,第一网络节点在该底层资源信息指示的底层资源中确定第一资源。例如。第一有界时延信息包括的时间资源信息(也即抽象资源信息)为资源ID1,第一网络节点根据资源ID1和该本地映射关系确定该资源ID1对应的底层资源信息为队列ID1,第一网络节点将该队列ID1指示的队列确定为第一资源。再例如,第一有界时延信息包括的时间资源信息为资源ID2,第一网络节点根据资源ID2和该本地映射关系确定该资源ID2对应的底层资源信息包括队列ID1和周期ID1,第一网络节点确定该队列ID1指示的队列(假设为队列1),以及,确定周期ID1指示的循环周期(假设为循环周期1),第一网络节点结合本地策略将队列1或循环周期1确定为第一资源。In an optional embodiment, the first network node determines that the first bounded delay information includes time resource information based on the first type indication information, and the first network node determines the first resource based on the time resource information. As an example, the time resource information included in the first bounded delay information is underlying resource information. The first network node determines the underlying resource indicated by the time resource information. The first network node determines the underlying resource indicated by the time resource information. First resource. For example, the time resource information is queue indication information, and the first network node determines the queue indicated by the queue indication information as the first resource. For another example, the time resource information includes queue indication information and cycle indication information. The first network node determines the queue indicated by the queue indication information (assumed to be queue 1), and the first network node determines the cycle period indicated by the cycle indication information. (Assuming cycle period 1), the first network node determines queue 1 or cycle period 1 as the first resource in combination with the local policy. As another example, the time resource information included in the first bounded delay information is abstract information of the underlying resource information (abstract resource information for short), and the first network node is based on the local mapping relationship between the time resource information and the first network node. Identify the first resource. The local mapping relationship includes a mapping relationship between underlying resource information and abstract resource information. The first network node determines the underlying resource information corresponding to the time resource information based on the time resource information (that is, abstract resource information) and the local mapping relationship, The first network node determines the underlying resource indicated by the underlying resource information, and the first network node determines the first resource among the underlying resources indicated by the underlying resource information. For example. The time resource information (that is, abstract resource information) included in the first bounded delay information is resource ID1. The first network node determines that the underlying resource information corresponding to the resource ID1 is queue ID1 according to the resource ID1 and the local mapping relationship. The first network node determines that the underlying resource information corresponding to the resource ID1 is queue ID1. The network node determines the queue indicated by queue ID1 as the first resource. For another example, the time resource information included in the first bounded delay information is resource ID2, and the first network node determines that the underlying resource information corresponding to the resource ID2 includes queue ID1 and cycle ID1 according to the resource ID2 and the local mapping relationship. The node determines the queue indicated by queue ID1 (assumed to be queue 1), and determines the cycle period indicated by period ID1 (assumed to be cycle cycle 1). The first network node determines queue 1 or cycle period 1 as the first in combination with the local policy. resource.
另一个可选实施例中,第一网络节点根据第一类型指示信息确定第一有界时延信息包括业务要求信息,第一网络节点根据该业务要求信息确定第一网络节点中满足该业务要求信息的资源,进而在这些满足该业务要求信息的资源中确定第一资源。示例的,第一网络节点根据该业务要求信息确定第一网络节点中满足该业务要求信息的队列和/或循环周期和/或时隙,第一网络节点结合本地策略,在满足该业务要求信息的队列和/或循环周期和/或时隙中确定第一资源。作为一个示例,第一网络节点中满足该业务要求信息资源包括队列1、循环周期1和时隙1,如果第一网络节点采用一层(layer1,L1)调度策略进行业务调度,第一网络节点将时隙1确定为第一资源;如果第一网络节点采用二层(layer2,L2)调度策略或三层(layer3, L3)调度策略进行业务调度,第一网络节点将队列1或循环周期1确定为第一资源。In another optional embodiment, the first network node determines that the first bounded delay information includes service requirement information according to the first type indication information, and the first network node determines that the service requirement is met in the first network node according to the service requirement information. information resources, and then determine the first resource among these resources that meet the information requirements of the business. For example, the first network node determines the queue and/or cycle period and/or time slot in the first network node that satisfies the service requirement information based on the service requirement information. The first network node combines the local policy and determines the queue and/or cycle period and/or time slot in the first network node when the service requirement information is satisfied. The first resource is determined in the queue and/or cycle period and/or time slot. As an example, the information resources in the first network node that meet the service requirements include queue 1, cycle period 1 and time slot 1. If the first network node adopts a layer (layer1, L1) scheduling strategy for service scheduling, the first network node Determine time slot 1 as the first resource; if the first network node adopts the two-layer (layer2, L2) scheduling strategy or the three-layer (layer3, L3) The scheduling policy performs service scheduling, and the first network node determines queue 1 or cycle period 1 as the first resource.
可选的实施例中,第一报文还携带切片指示信息,第一网络节点根据第一类型指示信息、第一有界时延信息和该切片指示信息转发第一报文。示例的,第一网络节点根据该切片指示信息确定网络切片,第一网络节点根据第一类型指示信息和第一有界时延信息,在该网络切片中确定用于传输第一报文的第一资源。在该实施例中,将有界时延信息与切片指示信息组合,使用于传输第一报文的资源定位到网络切片上,不仅可以保障第一报文在第一确定性网络中的端到端确定性时延,还可以保障第一报文在该切片指示信息指示的网络切片内的确定性时延。并且,在该实施例中,可以将一个网络切片与多个有界时延资源(有界时延信息指示的资源,例如队列)关联,使得在一个网络切片内可以规划多个服务等级协议(service level agreement,SLA)等级用于差异化服务,提供更加灵活的SLA保障策略。In an optional embodiment, the first packet also carries slice indication information, and the first network node forwards the first packet according to the first type indication information, the first bounded delay information and the slice indication information. For example, the first network node determines the network slice according to the slice indication information, and determines the first network slice for transmitting the first message in the network slice according to the first type indication information and the first bounded delay information. One resource. In this embodiment, the bounded delay information and the slice indication information are combined to locate the resources used to transmit the first message on the network slice, which not only ensures the end-to-end arrival of the first message in the first deterministic network It also ensures the deterministic delay of the first message within the network slice indicated by the slice indication information. Moreover, in this embodiment, one network slice can be associated with multiple bounded delay resources (resources indicated by bounded delay information, such as queues), so that multiple service level agreements (service level agreements) can be planned within one network slice. service level agreement (SLA) level is used to differentiate services and provide a more flexible SLA guarantee strategy.
可选的实施例中,第一网络节点是第一确定性网络的出口节点,第一网络节点剥离第一报文携带的有界时延信息和类型指示信息之后转发第一报文。一个示例中,第一报文是IPv6报文,第一网络节点剥离第一报文的IPv6扩展头,从而剥离该IPv6扩展头携带的有界时延信息和类型指示信息。另一个示例中,第一报文是MPLS报文,第一网络节点剥离第一报文的MPLS扩展头,从而剥离该MPLS扩展头携带的有界时延信息和类型指示信息。In an optional embodiment, the first network node is an egress node of the first deterministic network, and the first network node forwards the first message after stripping off bounded delay information and type indication information carried in the first message. In one example, the first packet is an IPv6 packet, and the first network node strips off the IPv6 extension header of the first packet, thereby stripping off the bounded delay information and type indication information carried by the IPv6 extension header. In another example, the first message is an MPLS message, and the first network node strips off the MPLS extension header of the first message, thereby stripping off the bounded delay information and type indication information carried in the MPLS extension header.
综上所述,本申请实施例提供的报文传输方法,第一确定性网络中的第一网络节点获取携带第一类型指示信息和第一有界时延信息的第一报文,并根据第一类型指示信息和第一有界时延信息转发第一报文。第一类型指示信息用于指示第一有界时延信息的类型,第一有界时延信息用于保障第一报文在第一确定性网络中的端到端确定性时延。由此,本申请通过在第一确定性网络中传输的第一报文中携带有界时延信息和用于指示该有界时延信息的类型的类型指示信息辅助第一确定性网络中的网络节点转发第一报文,保障了第一报文在第一确定性网络中的端到端确定性时延。本申请实施例提供的技术方案可以应用于IPv6 DetNet、SRv6 DetNet、MPLS DetNet、TSN over IPv6 DetNet、TSN over SRv6 DetNet、TSN over MPLS DetNet等多种网络场景。To sum up, according to the message transmission method provided by the embodiment of the present application, the first network node in the first deterministic network obtains the first message carrying the first type indication information and the first bounded delay information, and according to The first type indication information and the first bounded delay information forward the first message. The first type of indication information is used to indicate the type of the first bounded delay information, and the first bounded delay information is used to ensure the end-to-end deterministic delay of the first message in the first deterministic network. Therefore, this application assists the first deterministic network by carrying bounded delay information and type indication information for indicating the type of the bounded delay information in the first message transmitted in the first deterministic network. The network node forwards the first message, ensuring the end-to-end deterministic delay of the first message in the first deterministic network. The technical solutions provided by the embodiments of this application can be applied to various network scenarios such as IPv6 DetNet, SRv6 DetNet, MPLS DetNet, TSN over IPv6 DetNet, TSN over SRv6 DetNet, TSN over MPLS DetNet, etc.
请参考图15,其示出了本申请实施例提供的另一种报文传输方法的流程图。该报文传输方法应用于控制器。如图15所示,该方法包括如下步骤S501至S503。Please refer to Figure 15, which shows a flow chart of another message transmission method provided by an embodiment of the present application. This message transmission method applies to the controller. As shown in Figure 15, the method includes the following steps S501 to S503.
S501.控制器接收第一网络节点的能力信息,第一网络节点在第一确定性网络中。S501. The controller receives capability information of the first network node, and the first network node is in the first deterministic network.
第一网络节点通过内部网关协议(interior gateway protocol,IGP)或边界网关协议链路状态(border gateway protocol link-state,BGP-LS)向控制器发送第一网络节点的能力信息,相应的,控制器通过IGP或BGP-LS接收第一网络节点的能力信息。The first network node sends the capability information of the first network node to the controller through the interior gateway protocol (interior gateway protocol, IGP) or the border gateway protocol link-state (BGP-LS). Correspondingly, the control The server receives the capability information of the first network node through IGP or BGP-LS.
其中,第一网络节点的能力信息用于指示第一网络节点对第一业务流的处理能力,第一网络节点的能力信息包括第一网络节点中能够用于传输第一业务流的底层资源的信息。作为一个示例,第一网络节点的能力信息包括队列指示信息、周期指示信息、时隙指示信息和优先级信息中的至少一种,该队列指示信息用于指示第一网络节点中能够用于传输第一业务流的队列,该周期指示信息用于指示第一网络节点中能够用于传输第一业务流的循环周期,该时隙指示信息用于指示第一网络节点中能够用于传输第一业务流的时隙,该优先级信息用于指示第一网络节点中能够用于传输第一业务流的优先级队列。 Wherein, the capability information of the first network node is used to indicate the first network node's processing capability of the first service flow, and the capability information of the first network node includes the underlying resources of the first network node that can be used to transmit the first service flow. information. As an example, the capability information of the first network node includes at least one of queue indication information, cycle indication information, time slot indication information and priority information, the queue indication information is used to indicate that the first network node can be used for transmission The queue of the first service flow, the period indication information is used to indicate the cycle period in the first network node that can be used to transmit the first service flow, and the time slot indication information is used to indicate that the first network node can be used to transmit the first service flow. The time slot of the service flow, the priority information is used to indicate the priority queue in the first network node that can be used to transmit the first service flow.
可选的实施例中,第一网络节点的能力信息还包括第一业务流的业务要求信息,该业务要求信息包括以下至少一种:时延要求信息、抖动要求信息、截止期限要求信息。其中,该时延要求信息包括以下至少一种:端到端时延要求信息、本地时延要求信息。该抖动要求信息包括以下至少一种:端到端抖动要求信息、本地抖动要求信息。该截止期限要求信息包括以下至少一种:端到端截止期限要求信息、本地截止期限要求信息。第一网络节点的能力信息还可能其他信息,本申请实施例对第一网络节点的能力信息的具体内容不做限定。In an optional embodiment, the capability information of the first network node also includes service requirement information of the first service flow, and the service requirement information includes at least one of the following: delay requirement information, jitter requirement information, and deadline requirement information. The delay requirement information includes at least one of the following: end-to-end delay requirement information and local delay requirement information. The jitter requirement information includes at least one of the following: end-to-end jitter requirement information, local jitter requirement information. The deadline requirement information includes at least one of the following: end-to-end deadline requirement information, local deadline requirement information. The capability information of the first network node may also include other information. The embodiments of this application do not limit the specific content of the capability information of the first network node.
可选的实施例中,第一确定性网络包括多个网络节点,该多个网络节点包括第一网络节点,该多个网络节点中的每个网络节点通过IGP或BGP-LS向控制器发送该每个网络节点的能力信息,相应的,控制器通过IGP或BGP-LS接收该多个网络节点中的每个网络节点的能力信息。其中,每个网络节点的能力信息包括该每个网络节点中能够用于传输第一业务流的底层资源的信息,还可以包括第一业务流的业务要求信息。In an optional embodiment, the first deterministic network includes multiple network nodes, the multiple network nodes include the first network node, and each network node in the multiple network nodes sends a message to the controller through IGP or BGP-LS. Correspondingly, the controller receives the capability information of each network node in the plurality of network nodes through IGP or BGP-LS. The capability information of each network node includes information on underlying resources in each network node that can be used to transmit the first service flow, and may also include service requirement information of the first service flow.
S502.控制器根据第一网络节点的能力信息获取第一类型指示信息和第一有界时延信息,第一类型指示信息用于指示第一有界时延信息的类型,第一有界时延信息用于保障携带第一有界时延信息的报文在第一确定性网络中的端到端确定性时延。S502. The controller obtains the first type indication information and the first bounded delay information according to the capability information of the first network node. The first type indication information is used to indicate the type of the first bounded delay information. The first bounded delay information is used to indicate the type of the first bounded delay information. The delay information is used to ensure the end-to-end deterministic delay of the packet carrying the first bounded delay information in the first deterministic network.
第一有界时延信息包括时间资源信息或业务要求信息。该时间资源信息用于指示网络节点中传输第一业务流的资源。该业务要求信息用于指示第一业务流的业务要求。该时间资源信息是底层资源信息或底层资源信息的抽象信息(简称为抽象资源信息),该底层资源信息直接指示网络节点中传输第一业务流的资源,该抽象资源信息与底层资源信息之间具有映射关系,该抽象资源信息通过该映射关系间接指示网络节点中传输第一业务流的资源。The first bounded delay information includes time resource information or business requirement information. The time resource information is used to indicate resources in the network node for transmitting the first service flow. The service requirement information is used to indicate the service requirement of the first service flow. The time resource information is bottom resource information or abstract information of bottom resource information (referred to as abstract resource information for short). The bottom resource information directly indicates the resource transmitting the first service flow in the network node. There is a relationship between the abstract resource information and the bottom resource information. There is a mapping relationship, and the abstract resource information indirectly indicates the resources in the network node for transmitting the first service flow through the mapping relationship.
一个实施例中,第一有界时延信息包括时间资源信息,且该时间资源信息是底层资源信息,第一网络节点的能力信息包括第一网络节点中能够用于传输第一业务流的底层资源的信息(简称为第一网络节点的底层资源信息),控制器根据第一网络节点的底层资源信息确定第一有界时延信息和第一类型指示信息。一个示例中,第一网络节点的底层资源信息包括队列指示信息、周期指示信息、时隙指示信息和优先级信息中的至少一种,控制器将该队列指示信息、该周期指示信息、该时隙指示信息和该优先级信息中的至少一种确定为第一有界时延信息,并且控制器生成用于指示第一有界时延信息的类型的第一类型指示信息。In one embodiment, the first bounded delay information includes time resource information, and the time resource information is bottom layer resource information, and the capability information of the first network node includes the bottom layer of the first network node that can be used to transmit the first service flow. Resource information (referred to as the underlying resource information of the first network node), the controller determines the first bounded delay information and the first type indication information based on the underlying resource information of the first network node. In one example, the underlying resource information of the first network node includes at least one of queue indication information, period indication information, time slot indication information and priority information, and the controller uses the queue indication information, the period indication information, the time slot indication information and the priority information. At least one of the slot indication information and the priority information is determined as the first bounded delay information, and the controller generates first type indication information indicating the type of the first bounded delay information.
另一个实施例中,第一有界时延信息包括时间资源信息,且该时间资源信息是抽象资源信息,第一网络节点的能力信息包括第一网络节点的底层资源信息,控制器根据对第一网络节点的底层资源信息进行抽象处理得到抽象资源信息,控制器将该抽象资源信息确定为第一有界时延信息,并且控制器生成用于指示第一有界时延信息的类型的第一类型指示信息。在该实施例中,控制器还可以建立底层资源信息与抽象资源信息的映射关系,并将该映射关系发送给第一网络节点,以供第一网络节点转发第一业务流使用。In another embodiment, the first bounded delay information includes time resource information, and the time resource information is abstract resource information. The capability information of the first network node includes underlying resource information of the first network node. The underlying resource information of a network node is abstracted to obtain abstract resource information. The controller determines the abstract resource information as the first bounded delay information, and the controller generates a third parameter indicating the type of the first bounded delay information. A type of indication information. In this embodiment, the controller can also establish a mapping relationship between the underlying resource information and the abstract resource information, and send the mapping relationship to the first network node for use by the first network node in forwarding the first service flow.
可选的实施例中,控制器根据第一确定性网络中的多个网络节点的能力信息获取至少一个有界时延信息和至少一个类型指示信息,该至少一个有界时延信息与该至少一个类型指示信息一一对应,每个类型指示信息用于指示对应的有界时延信息的类型,每个有界时延信息用于保障携带该每个有界时延信息的报文在第一确定性网络中的端到端确定性时延,该至少一个有界时延信息包括第一有界时延信息,该至少一个类型指示信息包括第一类型指示信息。其中,每个网络节点的能力信息包括该每个网络节点中能够用于传输第一业务流的底层资源 的信息(将每个网络节点中能够用于传输第一业务流的底层资源的信息简称为每个网络节点的底层资源信息),控制器根据该多个网络节点的底层资源信息确定该至少一个有界时延信息,并生成用于指示该至少一个有界时延信息的至少一个类型指示信息。一个示例中,该至少一个有界时延信息与第一业务流沿途的所有网络节点对应,该至少一个有界时延信息用于辅助第一业务流沿途的所有网络节点转发第一业务流。另一个示例中,该至少一个有界时延信息与第一确定性网络的出口节点对应,该至少一个有界时延信息用于辅助第一业务流沿途的所有网络节点转发第一业务流。再一个示例中,该至少一个有界时延信息与第一业务流沿途的至少一个网络节点一一对应,每个有界时延信息用于辅助对应的网络节点转发第一业务流。例如,该至少一个有界时延信息是多个有界时延信息,该多个有界时延信息是逐跳的辅助转发信息,每个有界时延信息用于辅助第一业务流沿途的一跳网络节点转发第一业务流。In an optional embodiment, the controller acquires at least one bounded delay information and at least one type indication information based on the capability information of multiple network nodes in the first deterministic network, and the at least one bounded delay information is consistent with the at least one type indication information. There is a one-to-one correspondence between a type of indication information. Each type of indication information is used to indicate the type of corresponding bounded delay information. Each bounded delay information is used to ensure that the packet carrying each bounded delay information is An end-to-end deterministic delay in a deterministic network, the at least one bounded delay information includes first bounded delay information, and the at least one type indication information includes first type indication information. Wherein, the capability information of each network node includes the underlying resources in each network node that can be used to transmit the first service flow. information (the information on the underlying resources in each network node that can be used to transmit the first service flow is referred to as the underlying resource information of each network node), the controller determines the at least one based on the underlying resource information of the multiple network nodes. bounded delay information, and generating at least one type indication information used to indicate the at least one bounded delay information. In one example, the at least one bounded delay information corresponds to all network nodes along the first service flow, and the at least one bounded delay information is used to assist all network nodes along the first service flow in forwarding the first service flow. In another example, the at least one bounded delay information corresponds to an egress node of the first deterministic network, and the at least one bounded delay information is used to assist all network nodes along the first service flow in forwarding the first service flow. In another example, the at least one bounded delay information corresponds to at least one network node along the first service flow, and each bounded delay information is used to assist the corresponding network node in forwarding the first service flow. For example, the at least one bounded delay information is a plurality of bounded delay information, the plurality of bounded delay information is hop-by-hop auxiliary forwarding information, and each bounded delay information is used to assist the first service flow along the way. The one-hop network node forwards the first service flow.
当该至少一个有界时延信息是多个有界时延信息时,该多个有界时延信息的类型相同,或者,该多个有界时延信息中的至少两个有界时延信息的类型不同。示例的,该至少一个有界时延信息还包括第二有界时延信息,第二有界时延信息的类型与第一有界时延信息的类型不同。例如,第一有界时延信息是队列指示信息,第二有界时延信息是周期指示信息。再例如,第一有界时延信息是队列指示信息,第二有界时延信息是抽象资源信息。When the at least one bounded delay information is a plurality of bounded delay information, the plurality of bounded delay information are of the same type, or at least two of the plurality of bounded delay information are bounded delays. There are different types of information. By way of example, the at least one bounded delay information also includes second bounded delay information, and the type of the second bounded delay information is different from the type of the first bounded delay information. For example, the first bounded delay information is queue indication information, and the second bounded delay information is cycle indication information. For another example, the first bounded delay information is queue indication information, and the second bounded delay information is abstract resource information.
以所述至少一个有界时延信息是多个有界时延信息,且有界时延信息是抽象资源信息为例说明。控制器对多个网络节点中的每个网络节点的底层资源信息进行抽象处理,得到该每个网络节点的底层资源信息对应的抽象资源信息,控制器将该抽象资源信息确定为有界时延信息,控制器可以得到多个有界时延信息。示例的,该多个网络节点包括网络节点101~103,网络节点101用于传输第一业务流的底层资源信息是队列ID1,网络节点102用于传输第一业务流的底层资源信息是周期ID1,网络节点103用于传输第一业务流的底层资源信息是时隙ID1,控制器将队列ID1抽象为资源ID11,将周期ID1抽象为资源ID12,将时隙ID1抽象为资源ID13,资源ID11、资源ID12和资源ID13均是界时延信息。在这一示例中,控制器建立队列ID1与资源ID11的映射关系(例如称为映射关系1),并将映射关系1发送给网络节点101,以供网络节点101转发携带资源ID11的第一业务流时确定底层资源信息。控制器建立周期ID1与资源ID12的映射关系(例如称为映射关系2),并将映射关系2发送给网络节点102,以供网络节点102转发携带资源ID12的第一业务流时确定底层资源信息。控制器建立时隙ID1与资源ID13的映射关系(例如称为映射关系3),并将映射关系3发送给网络节点103,以供网络节点103转发携带资源ID13的第一业务流时确定底层资源信息。As an example, the at least one bounded delay information is a plurality of bounded delay information, and the bounded delay information is abstract resource information. The controller abstracts the underlying resource information of each network node among the multiple network nodes to obtain abstract resource information corresponding to the underlying resource information of each network node. The controller determines the abstract resource information as a bounded delay. Information, the controller can obtain multiple bounded delay information. For example, the plurality of network nodes include network nodes 101 to 103. The underlying resource information used by network node 101 to transmit the first business flow is queue ID1, and the underlying resource information used by network node 102 to transmit the first business flow is cycle ID1. , the underlying resource information used by the network node 103 to transmit the first service flow is time slot ID1. The controller abstracts queue ID1 as resource ID11, abstracts cycle ID1 as resource ID12, and abstracts time slot ID1 as resource ID13. Resource ID11, Resource ID12 and resource ID13 are both boundary delay information. In this example, the controller establishes a mapping relationship between queue ID1 and resource ID11 (for example, called mapping relationship 1), and sends mapping relationship 1 to the network node 101, so that the network node 101 forwards the first service carrying the resource ID11. Determine underlying resource information when streaming. The controller establishes a mapping relationship between cycle ID1 and resource ID12 (for example, called mapping relationship 2), and sends mapping relationship 2 to the network node 102, so that the network node 102 can determine the underlying resource information when forwarding the first service flow carrying resource ID12. . The controller establishes a mapping relationship between the time slot ID1 and the resource ID13 (for example, called mapping relationship 3), and sends the mapping relationship 3 to the network node 103, so that the network node 103 can determine the underlying resources when forwarding the first service flow carrying the resource ID13. information.
以所述至少一个有界时延信息是一个有界时延信息,且该有界时延信息是抽象资源信息为例说明。控制器对多个网络节点的底层资源信息进行抽象处理,得到该多个网络节点的底层资源信息对应的一个抽象资源信息,即一个有界时延信息。示例的,该多个网络节点包括网络节点101~103,网络节点101用于传输第一业务流的底层资源信息是队列ID1,网络节点102用于传输第一业务流的底层资源信息是周期ID1,网络节点103用于传输第一业务流的底层资源信息是时隙ID1,控制器将队列ID1、周期ID1和时隙ID1抽象为资源ID1,资源ID1即为有界时延信息。在这一示例中,控制器建立队列ID1、周期ID1、时隙ID1与资源ID1的映射关系,并将该映射关系发送给网络节点101~网络节点103,以供网络节点101~网络节点103转发携带资源ID1的第一业务流时确定底层资源信息。 Taking the at least one bounded delay information as bounded delay information and the bounded delay information as abstract resource information as an example. The controller abstracts the underlying resource information of multiple network nodes and obtains abstract resource information corresponding to the underlying resource information of multiple network nodes, that is, bounded delay information. For example, the plurality of network nodes include network nodes 101 to 103. The underlying resource information used by network node 101 to transmit the first business flow is queue ID1, and the underlying resource information used by network node 102 to transmit the first business flow is cycle ID1. , the underlying resource information used by the network node 103 to transmit the first service flow is time slot ID1. The controller abstracts queue ID1, cycle ID1 and time slot ID1 into resource ID1, which is the bounded delay information. In this example, the controller establishes the mapping relationship between queue ID1, cycle ID1, time slot ID1 and resource ID1, and sends the mapping relationship to the network node 101 ~ network node 103 for forwarding by the network node 101 ~ network node 103 Determine the underlying resource information when carrying the first service flow of resource ID1.
S503.控制器向第一网络节点发送控制报文,该控制报文包括第一类型指示信息和第一有界时延信息。S503. The controller sends a control message to the first network node, where the control message includes the first type indication information and the first bounded delay information.
控制器先生成控制报文,然后向第一网络节点发送该控制报文。例如,控制器通过路径计算单元通信协议(path computation element communication protocol,PCEP)、边界网关协议(border gateway protocol,BGP)等网络协议向第一网络节点发送控制报文。The controller first generates a control message and then sends the control message to the first network node. For example, the controller sends a control message to the first network node through network protocols such as path computation element communication protocol (PCEP) and border gateway protocol (BGP).
在本申请实施例中,该控制报文包括第一类型指示信息和第一有界时延信息,以指示第一网络节点根据第一类型指示信息和第一有界时延信息处理第一业务流。可选的,该控制报文还包括第二类型指示信息和第二有界时延信息,第二有界时延信息和第一有界时延信息在该控制报文中依序排列,第二类型指示信息和第一类型指示信息在该控制报文中依序排列,第二类型指示信息和第一类型指示信息的排列顺序与第二有界时延信息和第一有界时延信息的排列顺序相同。一个示例中,该控制报文包括依序排列的第一TLV字段和第二TLV字段,第一类型指示信息和第一有界时延信息位于第一TLV字段中,第二类型指示信息和第二有界时延信息位于第二TLV字段中。另一个示例中,该控制报文包括信息栈,该信息栈包括依序排列的第一信息项和第二信息项,第一信息项包括第一类型指示信息和第一有界时延信息,第二信息项包括第二类型指示信息和第二有界时延信息。In this embodiment of the present application, the control message includes the first type indication information and the first bounded delay information to instruct the first network node to process the first service according to the first type indication information and the first bounded delay information. flow. Optionally, the control message also includes second type indication information and second bounded delay information. The second bounded delay information and the first bounded delay information are arranged in order in the control message. The second type of indication information and the first type of indication information are arranged sequentially in the control message. The order of the second type of indication information and the first type of indication information is consistent with the second bounded delay information and the first bounded delay information. are sorted in the same order. In one example, the control message includes a first TLV field and a second TLV field arranged in sequence, the first type indication information and the first bounded delay information are located in the first TLV field, the second type indication information and the first bounded delay information are located in the first TLV field. The second bounded delay information is located in the second TLV field. In another example, the control message includes an information stack, the information stack includes a first information item and a second information item arranged in sequence, and the first information item includes first type indication information and first bounded delay information, The second information item includes second type indication information and second bounded delay information.
可选的实施例中,该控制报文包括多个有界时延信息和多个类型指示信息,该多个有界时延信息与该多个类型指示信息一一对应,该多个有界时延信息包括第一有界时延信息和第二有界时延信息,该多个类型指示信息包括第一类型指示信息和第二类型指示信息。该多个有界时延信息在控制报文中依序排列,该多个类型指示信息在该控制报文中依序排列,该多个类型指示信息的排列顺序与该多个有界时延信息的排列顺序相同。一个示例中,该控制报文包括依序排列的多个TLV字段,该多个有界时延信息一一对应位于该多个TLV字段中,每个类型指示信息与其对应的有界时延信息位于同一个TLV字段,可选的,该多个有界时延信息与第一确定性网络中的多个网络节点一一对应,每个TLV字段中还包括一个节点标识,以指示该每个TLV字段携带的有界时延信息对应的网络节点。另一个示例中,该控制报文包括信息栈,该信息栈包括依序排列的多个信息项,该多个有界时延信息一一对应包括在该多个信息项中,每个类型指示信息与其对应的有界时延信息包括在同一信息项中,可选的,该多个有界时延信息与第一确定性网络中的多个网络节点一一对应,每个信息项还包括一个节点标识,以指示该每个信息项包括的有界时延信息对应的网络节点。In an optional embodiment, the control message includes a plurality of bounded delay information and a plurality of type indication information, the plurality of bounded delay information corresponds to the plurality of type indication information, and the plurality of bounded delay information corresponds to the plurality of type indication information. The delay information includes first bounded delay information and second bounded delay information, and the multiple types of indication information include first type indication information and second type indication information. The plurality of bounded delay information are arranged in sequence in the control message, the plurality of type indication information are arranged in sequence in the control message, and the arrangement order of the plurality of type indication information is consistent with the plurality of bounded delay information. The information is arranged in the same order. In one example, the control message includes multiple TLV fields arranged in sequence, the multiple bounded delay information is located in the multiple TLV fields in one-to-one correspondence, and each type indication information has its corresponding bounded delay information. Located in the same TLV field, optionally, the multiple bounded delay information corresponds to multiple network nodes in the first deterministic network, and each TLV field also includes a node identifier to indicate that each The network node corresponding to the bounded delay information carried by the TLV field. In another example, the control message includes an information stack. The information stack includes multiple information items arranged in sequence. The multiple bounded delay information is included in the multiple information items in one-to-one correspondence. Each type indicates The information and its corresponding bounded delay information are included in the same information item. Optionally, the multiple bounded delay information corresponds to multiple network nodes in the first deterministic network. Each information item also includes A node identifier to indicate the network node corresponding to the bounded delay information included in each information item.
需要说明的是,S503以第一网络节点是第一确定性网络的入口节点为例说明,S503实际表达的含义是:控制器向第一确定性网络的入口节点发送控制报文。It should be noted that S503 takes the first network node being the entry node of the first deterministic network as an example. The actual meaning of S503 is: the controller sends a control message to the entry node of the first deterministic network.
综上所述,本申请实施例提供的报文传输方法,控制器根据第一确定性网络中的第一网络节点的能力信息生成包括第一类型指示信息和第一有界时延信息的控制报文,并向第一网络节点发送该控制报文,使得第一网络节点可以根据该控制报文获取携带第一类型指示信息和第一有界时延信息的业务报文(例如第一报文),进而根据第一类型指示信息和第一有界时延信息转发该业务报文,保障了该业务报文在第一确定性网络中的端到端确定性时延。To sum up, according to the message transmission method provided by the embodiment of the present application, the controller generates control including the first type indication information and the first bounded delay information according to the capability information of the first network node in the first deterministic network. message, and sends the control message to the first network node, so that the first network node can obtain the service message carrying the first type indication information and the first bounded delay information according to the control message (for example, the first message message), and then forwards the service message according to the first type indication information and the first bounded delay information, thereby ensuring the end-to-end deterministic delay of the service message in the first deterministic network.
为了便于理解本申请的技术方案,下面实际网络场景介绍本申请实施例的技术方案。In order to facilitate understanding of the technical solutions of the present application, the following actual network scenarios introduce the technical solutions of the embodiments of the present application.
图16是本申请实施例提供的一种报文传输示意图。图16以从网络节点101向网络节点 105传输第一业务流说明。网络节点101~105都在第一确定性网络中,网络节点101是第一确定性网络的入口节点,网络节点105是第一确定性网络的出口节点,第一确定性网络中部署有基础切片、网络切片1和网络切片2。图16以在第一业务流的报文中携带切片ID和多个有界时延信息,该多个有界时延信息与该报文沿途的多个网络节点一一对应为例说明。Figure 16 is a schematic diagram of message transmission provided by an embodiment of the present application. Figure 16 shows a diagram from network node 101 to network node 105 transmits the first service flow description. Network nodes 101 to 105 are all in the first deterministic network. Network node 101 is the entry node of the first deterministic network. Network node 105 is the exit node of the first deterministic network. Basic slices are deployed in the first deterministic network. , Network Slice 1 and Network Slice 2. Figure 16 takes as an example that the packet of the first service flow carries a slice ID and a plurality of bounded delay information, and the plurality of bounded delay information corresponds to a plurality of network nodes along the packet.
网络节点101接收到报文1之后,网络节点101在报文1中封装IPv6头、HBH和SRH得到报文2。HBH携带切片ID1。SRH包括SL字段和段列表,该段列表包括与网络节点102~105一一对应的4个SID,每个SID的参数(args)字段携带一个有界时延信息和用于指示该有界时延信息的类型的类型指示信息(图中为了简洁未示出类型指示信息),该SL字段的值表示到达目的节点剩余未处理的SID的数量。示例的,网络节点102对应SID102,网络节点103对应SID103,网络节点104对应SID104,网络节点105对应SID105(图中为了简洁,将SID102表示为“102”,SID103表示为“103”,SID104表示为“104”,SID105表示为“105”),SID102的参数字段携带队列ID1和用于指示队列ID1的类型的类型指示信息,SID103的参数字段携带周期ID1和用于指示周期ID1的类型的类型指示信息,SID104的参数字段携带时隙ID1和用于指示时隙ID1的类型的类型指示信息,SID105的参数字段携带本地时延信息和用于指示该本地时延信息的类型的类型指示信息。IPv6头包括IPv6源地址(source address,SA)字段和IPv6目的地址(destination address,DA)字段,IPv6SA字段用于携带IPv6SA,IPv6 DA字段用于携带IPv6 DA。报文2的IPv6SA为SID101(网络节点101对应的SID,图中简要表示为“101”),报文2的IPv6 DA为SID102。网络节点101根据切片ID1,通过网络切片1将报文2转发给网络节点102。After the network node 101 receives the message 1, the network node 101 encapsulates the IPv6 header, HBH and SRH in the message 1 to obtain the message 2. HBH carries slice ID1. SRH includes an SL field and a segment list. The segment list includes 4 SIDs that correspond to network nodes 102 to 105. The parameter (args) field of each SID carries a bounded delay information and is used to indicate the bounded delay. Type indication information of the type of extension information (the type indication information is not shown in the figure for simplicity), and the value of the SL field indicates the number of remaining unprocessed SIDs arriving at the destination node. For example, network node 102 corresponds to SID102, network node 103 corresponds to SID103, network node 104 corresponds to SID104, and network node 105 corresponds to SID105 (for simplicity in the figure, SID102 is represented as "102", SID103 is represented as "103", and SID104 is represented as "104", SID105 is represented as "105"), the parameter field of SID102 carries queue ID1 and type indication information used to indicate the type of queue ID1, and the parameter field of SID103 carries cycle ID1 and type indication used to indicate the type of cycle ID1 Information, the parameter field of SID104 carries time slot ID1 and type indication information used to indicate the type of time slot ID1, and the parameter field of SID105 carries local delay information and type indication information used to indicate the type of the local delay information. The IPv6 header includes an IPv6 source address (SA) field and an IPv6 destination address (DA) field. The IPv6SA field is used to carry IPv6SA, and the IPv6 DA field is used to carry IPv6 DA. The IPv6 SA of message 2 is SID101 (the SID corresponding to network node 101, briefly represented as "101" in the figure), and the IPv6 DA of message 2 is SID102. The network node 101 forwards the message 2 to the network node 102 through the network slice 1 according to the slice ID1.
网络节点102接收到报文2之后,网络节点102执行SID102对应的指令,网络节点102将报文2的SL字段的值减1并将报文2的IPv6 DA修改为SID103得到报文3。网络节点102根据切片ID1和SID102携带的队列ID1,在网络切片1对应的队列中确定队列ID1指示的队列1,网络节点102通过队列1将报文3转发给网络节点103。After the network node 102 receives message 2, the network node 102 executes the instruction corresponding to SID102. The network node 102 decrements the value of the SL field of message 2 by 1 and modifies the IPv6 DA of message 2 to SID103 to obtain message 3. The network node 102 determines the queue 1 indicated by the queue ID 1 in the queue corresponding to the network slice 1 based on the slice ID 1 and the queue ID 1 carried by the SID 102. The network node 102 forwards the message 3 to the network node 103 through the queue 1.
网络节点103接收到报文3之后,网络节点103执行SID103对应的指令,网络节点103将报文3的SL字段的值减1并将报文3的IPv6 DA修改为SID104得到报文4。网络节点103根据切片ID1和SID103携带的周期ID1,在网络切片1对应的循环周期中确定周期ID1指示的循环周期1,网络节点103通过循环周期1将报文4转发给网络节点104。After the network node 103 receives message 3, the network node 103 executes the instruction corresponding to SID103. The network node 103 decrements the value of the SL field of message 3 by 1 and modifies the IPv6 DA of message 3 to SID104 to obtain message 4. The network node 103 determines the cycle period 1 indicated by the cycle ID1 in the cycle period corresponding to the network slice 1 based on the slice ID1 and the cycle ID1 carried by the SID103. The network node 103 forwards the message 4 to the network node 104 through the cycle period 1.
网络节点104接收到报文4之后,网络节点104执行SID104对应的指令,网络节点104将报文4的SL字段的值减1并将报文4的IPv6 DA修改为SID105得到报文5。网络节点104根据切片ID1和SID104携带的时隙ID1,在网络切片1对应的时隙中确定时隙ID1指示的时隙1,网络节点104通过时隙1将报文5转发给网络节点105。After the network node 104 receives message 4, the network node 104 executes the instruction corresponding to SID104. The network node 104 decrements the value of the SL field of message 4 by 1 and modifies the IPv6 DA of message 4 to SID105 to obtain message 5. The network node 104 determines the time slot 1 indicated by the time slot ID1 in the time slot corresponding to the network slice 1 based on the time slot ID1 carried by the slice ID1 and the SID104. The network node 104 forwards the message 5 to the network node 105 through the time slot 1.
网络节点105接收到报文5之后,网络节点105执行SID105对应的指令,网络节点105剥离报文5的IPv6头、HBH和SRH得到报文1。网络节点105根据切片ID1和SID105携带的本地时延信息,在网络切片1对应的资源中确定满足该本地时延信息指示的时延要求的资源,网络节点105通过满足该本地时延信息指示的时延要求的资源转发报文1。After the network node 105 receives the message 5, the network node 105 executes the instruction corresponding to the SID 105. The network node 105 strips off the IPv6 header, HBH and SRH of the message 5 to obtain the message 1. Based on the local delay information carried by the slice ID1 and SID105, the network node 105 determines the resources that meet the delay requirements indicated by the local delay information among the resources corresponding to the network slice 1. The network node 105 determines the resources that meet the delay requirements indicated by the local delay information. Delay required resource forwarding packet 1.
图17是本申请实施例提供的另一种报文传输示意图。图17以从网络节点101向网络节点105传输第一业务流为例说明。网络节点101~105都在第一确定性网络中,网络节点101 是第一确定性网络的入口节点,网络节点105是第一确定性网络的出口节点,第一确定性网络中部署有基础切片、网络切片1和网络切片2。图16以在第一业务流的报文中携带切片ID和一个有界时延信息,且该有界时延信息是抽象资源信息为例说明。Figure 17 is another schematic diagram of message transmission provided by an embodiment of the present application. Figure 17 illustrates the transmission of the first service flow from the network node 101 to the network node 105 as an example. Network nodes 101 to 105 are all in the first deterministic network, and network node 101 is the entry node of the first deterministic network, and the network node 105 is the exit node of the first deterministic network. The first deterministic network is deployed with basic slice, network slice 1 and network slice 2. Figure 16 takes as an example that the packet of the first service flow carries a slice ID and a bounded delay information, and the bounded delay information is abstract resource information.
参考图17,网络节点101接收到报文1之后,网络节点101在报文1中封装IPv6头、HBH和SRH得到报文2。HBH携带切片ID1。SRH包括SL字段、段列表和TLV字段,该段列表包括与网络节点102~105一一对应的4个SID,该4个SID的类型均为END.BLI,该TLV字段携带资源ID1和用于指示该资源ID1的类型的类型指示信息(图中为了简洁未示出类型指示信息),资源ID1为抽象资源信息,该SL字段的值表示到达目的节点剩余未处理的SID的数量。IPv6头包括IPv6SA字段和IPv6 DA字段,IPv6SA字段用于携带IPv6SA,IPv6 DA字段用于携带IPv6 DA。报文2的IPv6SA为SID101,IPv6 DA为SID102。网络节点101根据切片ID1,通过网络切片1将报文2转发给网络节点102。Referring to Figure 17, after the network node 101 receives the message 1, the network node 101 encapsulates the IPv6 header, HBH and SRH in the message 1 to obtain the message 2. HBH carries slice ID1. SRH includes an SL field, a segment list and a TLV field. The segment list includes 4 SIDs that correspond to network nodes 102 to 105. The types of the 4 SIDs are all END.BLI. The TLV field carries resource ID 1 and for Type indication information indicating the type of resource ID1 (the type indication information is not shown in the figure for simplicity), resource ID1 is abstract resource information, and the value of the SL field indicates the number of unprocessed SIDs remaining at the destination node. The IPv6 header includes the IPv6SA field and the IPv6 DA field. The IPv6SA field is used to carry IPv6SA, and the IPv6 DA field is used to carry IPv6 DA. The IPv6 SA of message 2 is SID101, and the IPv6 DA is SID102. The network node 101 forwards the message 2 to the network node 102 through the network slice 1 according to the slice ID1.
网络节点102接收到报文2之后,网络节点102执行SID102对应的指令,网络节点102将报文2的SL字段的值减1并将报文2的IPv6 DA修改为SID103得到报文3。网络节点102根据资源ID1和本地映射关系确定资源ID1在网络节点102上对应的底层资源信息(假设为队列ID1),网络节点102根据切片ID1和队列ID1,在网络切片1对应的队列中确定队列ID1指示的队列1,网络节点102通过队列1将报文3转发给网络节点103。After the network node 102 receives message 2, the network node 102 executes the instruction corresponding to SID102. The network node 102 decrements the value of the SL field of message 2 by 1 and modifies the IPv6 DA of message 2 to SID103 to obtain message 3. The network node 102 determines the underlying resource information (assumed to be queue ID1) corresponding to the resource ID1 on the network node 102 based on the resource ID1 and the local mapping relationship. The network node 102 determines the queue in the queue corresponding to the network slice 1 based on the slice ID1 and the queue ID1. Queue 1 indicated by ID1, network node 102 forwards message 3 to network node 103 through queue 1.
网络节点103接收到报文3之后,网络节点103执行SID103对应的指令,网络节点103将报文3的SL字段的值减1并将报文3的IPv6 DA修改为SID104得到报文4。网络节点103根据资源ID1和本地映射关系确定资源ID1在网络节点103上对应的底层资源信息(假设为周期ID1),网络节点103根据切片ID1和周期ID1,在网络切片1对应的循环周期中确定周期ID1指示的循环周期1,网络节点103通过循环周期1将报文4转发给网络节点104。After the network node 103 receives message 3, the network node 103 executes the instruction corresponding to SID103. The network node 103 decrements the value of the SL field of message 3 by 1 and modifies the IPv6 DA of message 3 to SID104 to obtain message 4. The network node 103 determines the underlying resource information (assumed to be cycle ID1) corresponding to the resource ID1 on the network node 103 based on the resource ID1 and the local mapping relationship. The network node 103 determines the underlying resource information corresponding to the network slice 1 based on the slice ID1 and the cycle ID1. In the cycle period 1 indicated by the cycle ID1, the network node 103 forwards the message 4 to the network node 104 through the cycle period 1.
网络节点104接收到报文4之后,网络节点104执行SID104对应的指令,网络节点104将报文4的SL字段的值减1并将报文4的IPv6 DA修改为SID105得到报文5。网络节点104根据资源ID1和本地映射关系确定资源ID1在网络节点104上对应的底层资源信息(假设为时隙ID1),网络节点104根据切片ID1和时隙ID1,在网络切片1对应的时隙中确定时隙ID1指示的时隙1,网络节点104通过时隙1将报文5转发给网络节点105。After the network node 104 receives message 4, the network node 104 executes the instruction corresponding to SID104. The network node 104 decrements the value of the SL field of message 4 by 1 and modifies the IPv6 DA of message 4 to SID105 to obtain message 5. The network node 104 determines the underlying resource information (assumed to be timeslot ID1) corresponding to the resource ID1 on the network node 104 based on the resource ID1 and the local mapping relationship. The network node 104 determines the timeslot corresponding to the network slice 1 based on the slice ID1 and the timeslot ID1. The network node 104 determines the time slot 1 indicated by the time slot ID1, and the network node 104 forwards the message 5 to the network node 105 through the time slot 1.
网络节点105接收到报文5之后,网络节点105执行SID105对应的指令,网络节点105剥离报文5的IPv6头、HBH和SRH得到报文1。网络节点105根据资源ID1和本地映射关系确定资源ID1在网络节点105上对应的底层资源信息(假设为优先级信息1),网络节点105根据切片ID1和优先级信息1,在网络切片1对应的队列中确定具有优先级1(优先级信息1指示的优先级)的队列,网络节点105通过具有优先级1的队列转发报文1。After the network node 105 receives the message 5, the network node 105 executes the instruction corresponding to the SID 105. The network node 105 strips off the IPv6 header, HBH and SRH of the message 5 to obtain the message 1. The network node 105 determines the underlying resource information (assumed to be priority information 1) corresponding to the resource ID1 on the network node 105 based on the resource ID1 and the local mapping relationship. The network node 105 determines the underlying resource information corresponding to the network slice 1 based on the slice ID1 and priority information 1. A queue with priority 1 (priority indicated by priority information 1) is determined in the queue, and the network node 105 forwards message 1 through the queue with priority 1.
以上是对本申请的方法实施例的介绍。下面介绍本申请的装置实施例,本申请的装置可以用于执行本申请的方法。对于装置实施例中未披露的细节请参照方法实施例。The above is an introduction to the method embodiments of the present application. The following describes device embodiments of the present application. The device of the present application can be used to perform the method of the present application. For details not disclosed in the device embodiment, please refer to the method embodiment.
图18是本申请实施例提供的一种报文传输装置1800的示意图。报文传输装置1800应用于第一确定性网络中的第一网络节点,例如报文传输装置1800是第一网络节点或第一网络节点中的功能组件。参见图18,报文传输装置1800包括处理模块1810和发送模块1820。Figure 18 is a schematic diagram of a message transmission device 1800 provided by an embodiment of the present application. The message transmission device 1800 is applied to the first network node in the first deterministic network. For example, the message transmission device 1800 is the first network node or a functional component in the first network node. Referring to Figure 18, the message transmission device 1800 includes a processing module 1810 and a sending module 1820.
处理模块1810,用于获取第一报文,第一报文携带第一类型指示信息和第一有界时延信 息,第一类型指示信息用于指示第一有界时延信息的类型,第一有界时延信息用于保障第一报文在第一确定性网络中的端到端确定性时延。处理模块1810的功能实现可以参考上述S301中的相关描述。The processing module 1810 is used to obtain the first message, which carries the first type indication information and the first bounded delay information. information, the first type indication information is used to indicate the type of the first bounded delay information, and the first bounded delay information is used to ensure the end-to-end deterministic delay of the first message in the first deterministic network. For the functional implementation of the processing module 1810, please refer to the relevant description in S301 above.
发送模块1820,用于根据第一类型指示信息和第一有界时延信息转发第一报文。发送模块1820的功能实现可以参考上述S302中的相关描述。The sending module 1820 is configured to forward the first message according to the first type indication information and the first bounded delay information. For the functional implementation of the sending module 1820, please refer to the relevant description in S302 above.
可选的,第一有界时延信息包括时间资源信息或业务要求信息。Optionally, the first bounded delay information includes time resource information or service requirement information.
可选的,时间资源信息包括以下至少一种:队列指示信息、周期指示信息、时隙指示信息、优先级信息。Optionally, the time resource information includes at least one of the following: queue indication information, cycle indication information, time slot indication information, and priority information.
可选的,业务要求信息包括以下至少一种:时延要求信息、抖动要求信息、截止期限要求信息。Optionally, the service requirement information includes at least one of the following: delay requirement information, jitter requirement information, and deadline requirement information.
可选的,时延要求信息包括以下至少一种:端到端时延要求信息、本地时延要求信息;抖动要求信息包括以下至少一种:端到端抖动要求信息、本地抖动要求信息;截止期限要求信息包括以下至少一种:端到端截止期限要求信息、本地截止期限要求信息。Optionally, the delay requirement information includes at least one of the following: end-to-end delay requirement information, local delay requirement information; the jitter requirement information includes at least one of the following: end-to-end jitter requirement information, local jitter requirement information; cutoff The deadline requirement information includes at least one of the following: end-to-end deadline requirement information, local deadline requirement information.
可选的,发送模块1820,用于:根据第一类型指示信息确定第一有界时延信息的类型;Optionally, the sending module 1820 is configured to: determine the type of the first bounded delay information according to the first type indication information;
根据第一有界时延信息和第一有界时延信息的类型,确定第一网络节点中用于传输第一报文的第一资源;通过第一资源转发第一报文。Determine a first resource in the first network node for transmitting the first message according to the first bounded delay information and the type of the first bounded delay information; and forward the first message through the first resource.
可选的,第一报文还携带第二有界时延信息和第二类型指示信息,第二类型指示信息用于指示第二有界时延信息的类型,第二有界时延信息用于保障第一报文在第一确定性网络中的端到端确定性时延,第二类型指示信息和第二有界时延信息用于第二网络节点转发第一报文,第二网络节点在第一确定性网络中。Optionally, the first message also carries second bounded delay information and second type indication information. The second type indication information is used to indicate the type of the second bounded delay information. The second bounded delay information is In order to ensure the end-to-end deterministic delay of the first message in the first deterministic network, the second type indication information and the second bounded delay information are used by the second network node to forward the first message, and the second network The node is in the first deterministic network.
可选的,第二有界时延信息的类型与第一有界时延信息的类型不同。Optionally, the type of the second bounded delay information is different from the type of the first bounded delay information.
可选的,第一网络节点是第一确定性网络的入口节点,处理模块1810,用于:接收第二报文;接收控制器发送的控制报文,该控制报文包括第一类型指示信息和第一有界时延信息;根据第二报文、第一类型指示信息和第一有界时延信息,生成第一报文。Optionally, the first network node is the entry node of the first deterministic network. The processing module 1810 is configured to: receive the second message; receive the control message sent by the controller, where the control message includes the first type of indication information. and the first bounded delay information; and generate the first message according to the second message, the first type indication information and the first bounded delay information.
可选的,发送模块1820,还用于向控制器发送第一网络节点的能力信息,第一网络节点的能力信息包括第一类型指示信息和第一有界时延信息。Optionally, the sending module 1820 is also configured to send the capability information of the first network node to the controller, where the capability information of the first network node includes the first type indication information and the first bounded delay information.
可选的,第一网络节点是第一确定性网络的入口节点,处理模块1810,用于:接收第二报文,第二报文来自第二确定性网络,第二报文携带目标有界时延信息;根据目标有界时延信息获取第一类型指示信息和第一有界时延信息;根据第二报文、第一类型指示信息和第一有界时延信息,生成第一报文。Optionally, the first network node is the entry node of the first deterministic network, and the processing module 1810 is configured to: receive the second message, the second message comes from the second deterministic network, and the second message carries the target bounded Delay information; obtain the first type indication information and the first bounded delay information according to the target bounded delay information; generate the first report according to the second message, the first type indication information and the first bounded delay information. arts.
可选的,第一报文是IPv6报文,第一类型指示信息和第一有界时延信息均位于第一报文的IPv6扩展头中。Optionally, the first message is an IPv6 message, and the first type indication information and the first bounded delay information are both located in the IPv6 extension header of the first message.
可选的,该IPv6扩展头包括以下任意一个:HBH、DOH、SRH。Optionally, the IPv6 extension header includes any one of the following: HBH, DOH, or SRH.
可选的,该IPv6扩展头为HBH或DOH,第一类型指示信息和第一有界时延信息均位于该IPv6扩展头的选项字段中。Optionally, the IPv6 extension header is HBH or DOH, and the first type indication information and the first bounded delay information are both located in the option field of the IPv6 extension header.
可选的,该IPv6扩展头为SRH,该SRH包括段列表,第一类型指示信息和第一有界时延信息均位于该段列表中。例如,该段列表包括第一SID,第一类型指示信息和第一有界时延信息均位于第一SID的参数字段中。 Optionally, the IPv6 extension header is an SRH. The SRH includes a segment list. The first type indication information and the first bounded delay information are both located in the segment list. For example, the segment list includes a first SID, and both the first type indication information and the first bounded delay information are located in the parameter field of the first SID.
可选的,该IPv6扩展头为SRH,该SRH包括TLV字段,第一类型指示信息和第一有界时延信息均位于该TLV字段中。该SRH还包括段列表,该段列表包括第一SID,第一有界时延信息和第一SID均与第一网络节点对应,第一SID的类型为目标类型。Optionally, the IPv6 extension header is an SRH. The SRH includes a TLV field. The first type indication information and the first bounded delay information are both located in the TLV field. The SRH also includes a segment list, the segment list includes a first SID, the first bounded delay information and the first SID both correspond to the first network node, and the type of the first SID is a target type.
一个示例中,该TLV字段携带多个类型指示信息和多个有界时延信息,该多个类型指示信息和该多个有界时延信息一一对应,每个类型指示信息用于指示对应的有界时延信息的类型,该多个有界时延信息包括第一有界时延信息,该多个类型指示信息包括第一类型指示信息;该段列表包括多个SID,该多个SID与第一报文沿途的多个网络节点一一对应,该多个有界时延信息与该第一报文沿途的多个网络节点一一对应,该多个有界时延信息的数量不大于该多个SID的数量,该多个SID中对应有界时延信息的SID的类型为目标类型。In one example, the TLV field carries multiple type indication information and multiple bounded delay information. The multiple type indication information and the multiple bounded delay information correspond to one-to-one, and each type indication information is used to indicate the corresponding The type of bounded delay information, the plurality of bounded delay information includes the first bounded delay information, the plurality of type indication information includes the first type indication information; the segment list includes a plurality of SIDs, the plurality of The SID has a one-to-one correspondence with multiple network nodes along the way of the first message. The multiple bounded delay information has a one-to-one correspondence with the multiple network nodes along the way of the first message. The number of the multiple bounded delay information Not greater than the number of the multiple SIDs, the type of the SID corresponding to the bounded delay information among the multiple SIDs is the target type.
另一个示例中,该段列表包括多个SID,该多个SID与第一报文沿途的多个网络节点一一对应,第一有界时延信息与该多个网络节点对应,该多个SID的类型均为目标类型。In another example, the segment list includes multiple SIDs, the multiple SIDs correspond to multiple network nodes along the first message, the first bounded delay information corresponds to the multiple network nodes, and the multiple SIDs correspond to the multiple network nodes along the first message. The types of SIDs are all target types.
可选的,第一网络节点是第一确定性网络的出口节点,第一报文是SRv6报文,第一报文的SRH包括段列表和TLV字段,该段列表包括多个SID,该多个SID与第一报文沿途的多个网络节点一一对应,第一类型指示信息和第一有界时延信息均位于TLV字段中,第一有界时延信息仅与第一网络节点对应,该多个SID中仅与第一网络节点对应的SID的类型为目标类型。Optionally, the first network node is an egress node of the first deterministic network, the first message is an SRv6 message, the SRH of the first message includes a segment list and a TLV field, and the segment list includes multiple SIDs. Each SID corresponds to multiple network nodes along the first packet. The first type indication information and the first bounded delay information are both located in the TLV field. The first bounded delay information only corresponds to the first network node. , only the type of the SID corresponding to the first network node among the plurality of SIDs is the target type.
可选的,第一报文还携带切片指示信息,该切片指示信息位于第一报文的IPv6扩展头中。Optionally, the first packet also carries slice indication information, and the slice indication information is located in the IPv6 extension header of the first packet.
可选的,切片指示信息与第一有界时延信息位于第一报文的同一IPv6扩展头中;或者,Optionally, the slicing indication information and the first bounded delay information are located in the same IPv6 extension header of the first message; or,
该切片指示信息与第一有界时延信息位于第一报文的不同IPv6扩展头中。The slice indication information and the first bounded delay information are located in different IPv6 extension headers of the first message.
可选的,第一报文是MPLS报文,第一类型指示信息和第一有界时延信息位于第一报文的MPLS扩展头中。Optionally, the first message is an MPLS message, and the first type indication information and the first bounded delay information are located in the MPLS extension header of the first message.
综上所述,本申请实施例提供的报文传输装置,通过在第一报文中携带第一有界时延信息和用于指示该第一有界时延信息的类型的第一类型指示信息辅助第一确定性网络中的网络节点转发该第一报文,保障了该第一报文在第一确定性网络中的端到端确定性时延。To sum up, the message transmission device provided by the embodiment of the present application carries the first bounded delay information and the first type indication used to indicate the type of the first bounded delay information in the first message. The information assists the network node in the first deterministic network to forward the first message, ensuring the end-to-end deterministic delay of the first message in the first deterministic network.
图19是本申请实施例提供的另一种报文传输装置1900的示意图。报文传输装置1900应用于控制器。例如,报文传输装置1900是该控制器或者是该控制器中的功能组件。参见图19,报文传输装置1900包括:接收模块1910、处理模块1920和发送模块1930。Figure 19 is a schematic diagram of another message transmission device 1900 provided by an embodiment of the present application. The message transmission device 1900 is applied to the controller. For example, the message transmission device 1900 is the controller or a functional component in the controller. Referring to Figure 19, the message transmission device 1900 includes: a receiving module 1910, a processing module 1920 and a sending module 1930.
接收模块1910,用于接收第一网络节点的能力信息,第一网络节点在第一确定性网络中。接收模块1910的功能实现可以参考上述S501中的相关描述。The receiving module 1910 is configured to receive capability information of the first network node, where the first network node is in the first deterministic network. For the functional implementation of the receiving module 1910, please refer to the relevant description in S501 above.
处理模块1920,用于根据第一网络节点的能力信息获取第一类型指示信息和第一有界时延信息,第一类型指示信息用于指示第一有界时延信息的类型,第一有界时延信息用于保障携带第一有界时延信息的报文在第一确定性网络中的端到端确定性时延。处理模块1920的功能实现可以参考上述S502中的相关描述。The processing module 1920 is configured to obtain the first type indication information and the first bounded delay information according to the capability information of the first network node. The first type indication information is used to indicate the type of the first bounded delay information. The first bounded delay information is The bounded delay information is used to ensure the end-to-end deterministic delay of the packet carrying the first bounded delay information in the first deterministic network. For the functional implementation of the processing module 1920, please refer to the relevant description in S502 above.
发送模块1930,用于向第一网络节点发送控制报文,该控制报文包括第一类型指示信息和第一有界时延信息。发送模块1930的功能实现可以参考上述S503中的描述。The sending module 1930 is configured to send a control message to the first network node, where the control message includes first type indication information and first bounded delay information. For the functional implementation of the sending module 1930, please refer to the description in S503 above.
可选的,第一有界时延信息包括时间资源信息或业务要求信息。Optionally, the first bounded delay information includes time resource information or service requirement information.
可选的,时间资源信息包括以下至少一种:队列指示信息、周期指示信息、时隙指示信 息、优先级信息。Optionally, the time resource information includes at least one of the following: queue indication information, cycle indication information, and time slot indication information. information, priority information.
可选的,业务要求信息包括以下至少一种:时延要求信息、抖动要求信息、截止期限要求信息。Optionally, the service requirement information includes at least one of the following: delay requirement information, jitter requirement information, and deadline requirement information.
可选的,时延要求信息包括以下至少一种:端到端时延要求信息、本地时延要求信息;抖动要求信息包括以下至少一种:端到端抖动要求信息、本地抖动要求信息;截止期限要求信息包括以下至少一种:端到端截止期限要求信息、本地截止期限要求信息。Optionally, the delay requirement information includes at least one of the following: end-to-end delay requirement information, local delay requirement information; the jitter requirement information includes at least one of the following: end-to-end jitter requirement information, local jitter requirement information; cutoff The deadline requirement information includes at least one of the following: end-to-end deadline requirement information, local deadline requirement information.
可选的,接收模块1910,用于接收多个网络节点的能力信息,该多个网络节点在第一确定性网络中,该多个网络节点包括第一网络节点;Optionally, the receiving module 1910 is configured to receive capability information of multiple network nodes, the multiple network nodes are in the first deterministic network, and the multiple network nodes include the first network node;
处理模块1920,用于根据该多个网络节点的能力信息获取至少一个有界时延信息和至少一个类型指示信息,该至少一个有界时延信息与该至少一个类型指示信息一一对应,每个类型指示信息用于指示对应的有界时延信息的类型,该至少一个有界时延信息包括第一有界时延信息,该至少一个类型指示信息包括第一类型指示信息,其中,该控制报文包括该至少一个有界时延信息和该至少一个类型指示信息。The processing module 1920 is configured to obtain at least one bounded delay information and at least one type indication information according to the capability information of the plurality of network nodes. The at least one bounded delay information corresponds to the at least one type indication information. Each time The type indication information is used to indicate the type of the corresponding bounded delay information, the at least one bounded delay information includes the first bounded delay information, and the at least one type indication information includes the first type indication information, wherein, the The control message includes the at least one bounded delay information and the at least one type indication information.
可选的,该至少一个有界时延信息还包括第二有界时延信息,该至少一个类型指示信息还包括第二类型指示信息,第二类型指示信息用于指示第二有界时延信息的类型,第二有界时延信息用于保障携带第二有界时延信息的报文在该第一确定性网络中的端到端确定性时延,第二有界时延信息的类型与第一有界时延信息的类型不同。Optionally, the at least one bounded delay information also includes second bounded delay information, and the at least one type indication information also includes second type indication information, and the second type indication information is used to indicate the second bounded delay. The type of information. The second bounded delay information is used to ensure the end-to-end deterministic delay of the packet carrying the second bounded delay information in the first deterministic network. The second bounded delay information The type is different from the type of the first bounded delay information.
可选的,第二有界时延信息和第一有界时延信息在控制报文中依序排列,第二类型指示信息和第一类型指示信息在控制报文中依序排列,第二类型指示信息和第一类型指示信息的排列顺序与第二有界时延信息和第一有界时延信息的排列顺序相同。Optionally, the second bounded delay information and the first bounded delay information are arranged in order in the control message, the second type indication information and the first type indication information are arranged in order in the control message, and the second type indication information is arranged in order in the control message. The arrangement order of the type indication information and the first type indication information is the same as the arrangement order of the second bounded delay information and the first bounded delay information.
可选的,该控制报文包括依序排列的第一TLV字段和第二TLV字段,第一类型指示信息和第一有界时延信息位于第一TLV字段中,第二类型指示信息和第二有界时延信息位于第二TLV字段中。Optionally, the control message includes a first TLV field and a second TLV field arranged in sequence, the first type indication information and the first bounded delay information are located in the first TLV field, the second type indication information and the first bounded delay information are located in the first TLV field. The second bounded delay information is located in the second TLV field.
可选的,该控制报文包括信息栈,该信息栈包括依序排列的第一信息项和第二信息项,第一信息项包括第一类型指示信息和第一有界时延信息,第二信息项包括第二类型指示信息和第二有界时延信息。Optionally, the control message includes an information stack. The information stack includes a first information item and a second information item arranged in sequence. The first information item includes the first type indication information and the first bounded delay information. The second information item includes second type indication information and second bounded delay information.
综上所述,本申请实施例提供的报文传输装置,该报文传输装置根据第一网络节点的能力信息获取第一有界时延信息和用于指示第一有界时延信息的类型的第一类型指示信息,并向第一网络节点发送包括第一类型指示信息和第一有界时延信息的控制报文,使得第一网络节点可以根据该控制报文获取携带第一类型指示信息和第一有界时延信息的业务报文(例如第一报文),进而根据第一类型指示信息和第一有界时延信息转发该业务报文,保障了该业务报文在第一确定性网络中的端到端确定性时延。To sum up, embodiments of the present application provide a message transmission device, which obtains the first bounded delay information and the type used to indicate the first bounded delay information according to the capability information of the first network node. The first type of indication information, and sends a control message including the first type of indication information and the first bounded delay information to the first network node, so that the first network node can obtain the first type of indication based on the control message information and the first bounded delay information of the service message (for example, the first message), and then forward the service message according to the first type indication information and the first bounded delay information, ensuring that the service message is End-to-end deterministic delay in a deterministic network.
本申请实施例提供的报文传输装置还可以用专用集成电路(application-specific integrated circuit,ASIC)或可编程逻辑器件(programmable logic device,PLD)实现。上述PLD可以是复杂程序逻辑器件(complex programmable logical device,CPLD),现场可编程门阵列(field-programmable gate array,FPGA),通用阵列逻辑(generic array logic,GAL)或其任意组合。也可以通过软件实现上述方法实施例提供的方法,当通过软件实现上述方法实施例 提供的报文传输方法时,上述报文传输装置中的各个模块也可以为软件模块。The message transmission device provided by the embodiment of the present application can also be implemented using an application-specific integrated circuit (ASIC) or a programmable logic device (PLD). The above-mentioned PLD can be a complex programmable logical device (CPLD), a field-programmable gate array (FPGA), a general array logic (GAL) or any combination thereof. The methods provided by the above method embodiments can also be implemented through software. When the above method embodiments are implemented through software, When providing a message transmission method, each module in the above message transmission device can also be a software module.
请参考图20,其示出了本申请实施例提供的再一种报文传输装置2000的示意图。报文传输装置2000是网络节点或者网络节点中的功能组件。报文传输装置2000包括主控板2010、接口板2030和接口板2040。多个接口板的情况下还包括交换网板(图20中未示出),交换网板用于完成接口板(接口板也称为线卡或业务板)之间的数据交换。Please refer to FIG. 20 , which shows a schematic diagram of yet another message transmission device 2000 provided by an embodiment of the present application. The message transmission device 2000 is a network node or a functional component in a network node. The message transmission device 2000 includes a main control board 2010, an interface board 2030 and an interface board 2040. In the case of multiple interface boards, a switching network board (not shown in Figure 20) is also included. The switching network board is used to complete data exchange between interface boards (interface boards are also called line cards or service boards).
主控板2010用于完成系统管理、设备维护、协议处理等功能。接口板2030和接口板2040用于提供各个业务接口(例如,POS接口、GE接口、ATM接口等),并实现报文转发。主控板2010上主要有3类功能单元:系统管理控制单元、系统时钟单元和系统维护单元。主控板2010、接口板2030以及接口板2040之间通过系统总线与系统背板相连实现互通。接口板2030上包括一个或多个处理器2031。处理器2031用于对接口板2030进行控制管理并与主控板2010上的中央处理器2012进行通信。接口板2030上的存储器2032用于存储能力信息、有界时延信息等。接口板2030包括一个或多个网络接口2033用于接收以及发送报文,具体实现这里不再赘述。如图20所示,主控板2010还包括存储器2014,存储器2014用于存储系统管理信息、协议等,本申请实施例对此不做限定。The main control board 2010 is used to complete functions such as system management, equipment maintenance, and protocol processing. The interface board 2030 and the interface board 2040 are used to provide various service interfaces (for example, POS interface, GE interface, ATM interface, etc.) and implement packet forwarding. There are three main types of functional units on the main control board 2010: system management control unit, system clock unit and system maintenance unit. The main control board 2010, the interface board 2030 and the interface board 2040 are connected to the system backplane through a system bus to achieve intercommunication. The interface board 2030 includes one or more processors 2031. The processor 2031 is used to control and manage the interface board 2030 and communicate with the central processor 2012 on the main control board 2010 . The memory 2032 on the interface board 2030 is used to store capability information, bounded delay information, etc. The interface board 2030 includes one or more network interfaces 2033 for receiving and sending messages. The specific implementation will not be described again here. As shown in Figure 20, the main control board 2010 also includes a memory 2014. The memory 2014 is used to store system management information, protocols, etc., which is not limited in the embodiment of the present application.
如图20所示,本实施例中包括多个接口板,采用分布式的转发机制,这种机制下,接口板2040上的操作与接口板2030的操作基本相似。例如,接口板2040包括一个或多个网络接口2043以用于接收以及发送报文,包括存储器2042以用于存储能力信息、有界时延信息,以及,包括处理器2041以用于对接口板2040进行控制管理并与主控板2010上的中央处理器2012进行通信。为了简洁,这里不再对接口板2040进行赘述。As shown in Figure 20, this embodiment includes multiple interface boards and adopts a distributed forwarding mechanism. Under this mechanism, the operations on the interface board 2040 are basically similar to the operations on the interface board 2030. For example, the interface board 2040 includes one or more network interfaces 2043 for receiving and sending messages, a memory 2042 for storing capability information and bounded delay information, and a processor 2041 for interfacing with the interface board. 2040 performs control management and communicates with the central processor 2012 on the main control board 2010. For the sake of simplicity, the interface board 2040 will not be described in detail here.
图20中的接口板2030中的处理器2031和/或接口板2040中的处理器2041可以是专用硬件或芯片,如网络处理器或者专用集成电路来实现上述功能,这种实现方式即为通常所说的转发面采用专用硬件或芯片处理的方式。在另外的实施方式中,接口板2030中的处理器2031和/或接口板2040中的处理器2041也可以采用通用处理器,如中央处理器(central processing unit,CPU)。The processor 2031 in the interface board 2030 and/or the processor 2041 in the interface board 2040 in Figure 20 can be dedicated hardware or chips, such as a network processor or an application-specific integrated circuit to implement the above functions. This implementation method is generally The forwarding plane is processed by dedicated hardware or chips. In other embodiments, the processor 2031 in the interface board 2030 and/or the processor 2041 in the interface board 2040 can also be a general-purpose processor, such as a central processing unit (CPU).
此外,需要指出的是,主控板可能有一块或多块,有多块的时候可以包括主用主控板和备用主控板。接口板可能有一块或多块,网络节点的数据处理能力越强,提供的接口板越多。多块接口板的情况下,该多块接口板之间可以通过一块或多块交换网板通信,有多块的时候可以共同实现负荷分担冗余备份。在集中式转发架构下,网络节点可以不需要交换网板,接口板承担整个系统的业务数据的处理功能。在分布式转发架构下,网络节点包括多块接口板,可以通过交换网板实现多块接口板之间的数据交换,提供大容量的数据交换和处理能力。所以,分布式架构的网络节点的数据接入和处理能力要大于集中式架构的网络节点。具体采用哪种架构取决于组网部署场景,此处不做任何限定。In addition, it should be pointed out that there may be one or more main control boards, and when there are multiple main control boards, they can include the main main control board and the backup main control board. There may be one or more interface boards. The stronger the data processing capability of the network node, the more interface boards are provided. In the case of multiple interface boards, the multiple interface boards can communicate with each other through one or more switching network boards. When there are multiple interface boards, they can jointly achieve load sharing and redundant backup. Under the centralized forwarding architecture, network nodes do not need switching network boards, and the interface boards are responsible for processing business data of the entire system. Under the distributed forwarding architecture, network nodes include multiple interface boards. Data exchange between multiple interface boards can be realized through switching network boards, providing large-capacity data exchange and processing capabilities. Therefore, the data access and processing capabilities of network nodes with a distributed architecture are greater than those with a centralized architecture. The specific architecture used depends on the network deployment scenario and is not limited here.
可选的实施方式中,存储器2032和/或存储器2042是只读存储器(read-only memory,ROM)或可存储静态信息和指令的其它类型的静态存储设备,随机存取存储器(random access memory,RAM)或者可存储信息和指令的其它类型的动态存储设备,也可以是电可擦可编程只读存储器(electrically erasable programmable read-only memory,EEPROM)、只读光盘(compact disc read-only Memory,CD-ROM)或其它光盘存储、光碟存储(包括压缩光碟、 激光碟、光碟、数字通用光碟、蓝光光碟等)、磁盘或者其它磁存储设备、或者能够用于携带或存储具有指令或数据结构形式的期望的程序代码并能够由计算机存取的任何其它介质,但不限于此。存储器2032可以是独立存在,通过通信总线与处理器2031相连接,也可以和处理器2031集成在一起。存储器2042可以是独立存在,通过通信总线与处理器2041相连接,也可以和处理器2041集成在一起。In an optional implementation, the memory 2032 and/or the memory 2042 is a read-only memory (ROM) or other type of static storage device that can store static information and instructions, a random access memory (random access memory, RAM) or other types of dynamic storage devices that can store information and instructions, or electrically erasable programmable read-only memory (EEPROM), compact disc read-only memory, CD-ROM) or other optical disc storage, optical disc storage (including compressed disc, Laser disc, optical disc, digital versatile disc, Blu-ray disc, etc.), magnetic disk or other magnetic storage device, or any other medium that can be used to carry or store the desired program code in the form of instructions or data structures and that can be accessed by a computer, But not limited to this. The memory 2032 may exist independently and be connected to the processor 2031 through a communication bus, or may be integrated with the processor 2031. The memory 2042 may exist independently and be connected to the processor 2041 through a communication bus, or may be integrated with the processor 2041.
存储器2032用于存储程序代码,并由处理器2031来控制执行,以执行上述实施例提供的方法的部分或者全部步骤。处理器2031用于执行存储器2032中存储的程序代码。程序代码中可以包括一个或多个软件模块。这一个或多个软件模块可以为上述图18所示实施例中提供的功能模块。存储器2042也可以用于存储程序代码,并由处理器2041来控制执行,以执行上述实施例提供的方法的部分或者全部步骤。同理,存储器2014也可以用于存储程序代码,并由中央处理器2012来控制执行,以执行上述实施例提供的方法的部分或者全部步骤。The memory 2032 is used to store program codes, and is controlled by the processor 2031 to execute part or all of the steps of the method provided by the above embodiments. The processor 2031 is used to execute program codes stored in the memory 2032. The program code may include one or more software modules. This one or more software modules may be the functional modules provided in the above embodiment shown in Figure 18. The memory 2042 can also be used to store program codes, and the processor 2041 controls the execution to execute some or all steps of the method provided by the above embodiments. Similarly, the memory 2014 can also be used to store program codes, and the execution is controlled by the central processor 2012 to execute part or all of the steps of the method provided by the above embodiments.
可选的实施方式中,网络接口2033、网络接口2043可以是使用任何收发器一类的装置,用于与其它设备或通信网络通信,如以太网,无线接入网(radio access network,RAN),无线局域网(wireless local area networks,WLAN)等。In an optional implementation, the network interface 2033 and the network interface 2043 can be any transceiver-like device used to communicate with other devices or communication networks, such as Ethernet, radio access network (radio access network, RAN). , wireless local area networks (WLAN), etc.
请参考图21,其示出了本申请实施例提供的又一种报文传输装置2100的示意图。报文传输装置2100可以是网络节点或者网络节点中的功能组件,也可以是控制器或控制器中的功能组件。报文传输装置2100包括处理器2102、存储器2104、通信接口2106和总线2108,处理器2102、存储器2104和通信接口2106通过总线2108通信连接。在其他实施例中,处理器2102、存储器2104和通信接口2106也可采用其他方式连接。Please refer to Figure 21, which shows a schematic diagram of yet another message transmission device 2100 provided by an embodiment of the present application. The message transmission device 2100 may be a network node or a functional component in a network node, or may be a controller or a functional component in the controller. The message transmission device 2100 includes a processor 2102, a memory 2104, a communication interface 2106, and a bus 2108. The processor 2102, the memory 2104, and the communication interface 2106 are communicatively connected through the bus 2108. In other embodiments, the processor 2102, the memory 2104, and the communication interface 2106 may also be connected in other ways.
其中,存储器2104用于存储计算机程序21042,计算机程序21042可以包括指令和数据。存储器2104可以是各种类型的存储介质,例如RAM、ROM、非易失性RAM(non-volatile RAM,NVRAM)、可编程ROM(programmable ROM,PROM)、可擦除PROM(erasable PROM,EPROM)、电可擦除PROM(electrically erasable PROM,EEPROM)、闪存、光存储器和寄存器等。Among them, the memory 2104 is used to store a computer program 21042, which may include instructions and data. The memory 2104 can be various types of storage media, such as RAM, ROM, non-volatile RAM (non-volatile RAM, NVRAM), programmable ROM (programmable ROM, PROM), erasable PROM (erasable PROM, EPROM) , electrically erasable PROM (electrically erasable PROM, EEPROM), flash memory, optical memory and registers, etc.
其中,处理器2102可以是通用处理器,通用处理器可以是通过读取并执行存储器(例如存储器2104)中存储的计算机程序(例如计算机程序21042)来执行特定步骤和/或操作的处理器,通用处理器在执行上述步骤和/或操作的过程中可能用到存储在存储器中的数据。该存储的计算机程序可以被执行以实现前述处理模块1810、发送模块1820等的相关功能。通用处理器可以是CPU。处理器2102也可以是专用处理器,专用处理器是专门设计的用于执行特定步骤和/或操作的处理器,专用处理器可以是数字信号处理器(digital signal processor,DSP)、ASIC或FPGA等。处理器2102还可以是多核处理器。处理器2102包括至少一个电路,以执行上述实施例方法的全部或部分步骤。Wherein, the processor 2102 may be a general-purpose processor, and the general-purpose processor may be a processor that performs specific steps and/or operations by reading and executing a computer program (eg, computer program 21042) stored in a memory (eg, memory 2104), The general-purpose processor may use the data stored in the memory in performing the above steps and/or operations. The stored computer program can be executed to implement related functions of the aforementioned processing module 1810, sending module 1820, etc. A general-purpose processor may be a CPU. The processor 2102 can also be a special-purpose processor. A special-purpose processor is a processor specially designed to perform specific steps and/or operations. The special-purpose processor can be a digital signal processor (digital signal processor, DSP), ASIC or FPGA. wait. Processor 2102 may also be a multi-core processor. The processor 2102 includes at least one circuit to perform all or part of the steps of the above embodiment method.
其中,通信接口2106可以包括输入/输出(input/output,I/O)接口、物理接口和逻辑接口等用于实现报文传输装置2100内部的器件互连的接口,以及用于实现报文传输装置2100与其他设备(例如网络设备)互连的接口。物理接口可以是千兆的以太接口(gigabit Ethernet,GE),其可以用于实现报文传输装置2100与其他设备互连,逻辑接口是报文传输装置2100内部的接口,其可以用于实现报文传输装置2100内部的器件互连。容易理解,通信接口2106 可以用于报文传输装置2100与其他设备通信,例如,通信接口2106用于报文传输装置2100与其他设备之间报文的发送和接收,通信接口2106可以实现前述发送模块1820、接收模块1910、发送模块1930等的相关功能。通信接口2106还可以包括收发器以进行报文的收发,该收发器同样可以实现前述发送模块1820、接收模块1910、发送模块1930等的相关功能。Among them, the communication interface 2106 may include an input/output (I/O) interface, a physical interface, a logical interface, and other interfaces for realizing device interconnection within the message transmission device 2100, and for realizing message transmission. An interface through which device 2100 interconnects with other devices, such as network devices. The physical interface may be a gigabit Ethernet (GE) interface, which may be used to interconnect the message transmission device 2100 with other devices. The logical interface may be an interface within the message transmission device 2100, which may be used to implement the message transmission device 2100. The device interconnection inside the text transmission device 2100. Easy to understand, communication interface 2106 It can be used to communicate between the message transmission device 2100 and other devices. For example, the communication interface 2106 is used to send and receive messages between the message transmission device 2100 and other devices. The communication interface 2106 can implement the aforementioned sending module 1820 and receiving module 1910. , sending module 1930 and other related functions. The communication interface 2106 may also include a transceiver for sending and receiving messages. The transceiver may also implement related functions of the aforementioned sending module 1820, receiving module 1910, sending module 1930, etc.
其中,总线2108可以是任何类型的,用于实现处理器2102、存储器2104和通信接口2106互连的通信总线,例如系统总线。The bus 2108 may be any type of communication bus used to interconnect the processor 2102, the memory 2104, and the communication interface 2106, such as a system bus.
上述器件可以分别设置在彼此独立的芯片上,也可以至少部分的或者全部的设置在同一块芯片上。将各个器件独立设置在不同的芯片上,还是整合设置在一个或者多个芯片上,往往取决于产品设计的需要。本申请实施例对上述器件的具体实现形式不做限定。The above-mentioned devices may be arranged on separate chips, or at least part or all of them may be arranged on the same chip. Whether each device is independently installed on different chips or integrated on one or more chips often depends on the needs of product design. The embodiments of this application do not limit the specific implementation forms of the above devices.
图21所示的报文传输装置2100仅作为示例,报文传输装置2100还可以包括其他组件。报文传输装置2100通过执行上述实施例提供的方法的全部或部分步骤来传输报文。The message transmission device 2100 shown in FIG. 21 is only an example, and the message transmission device 2100 may also include other components. The message transmission device 2100 transmits messages by executing all or part of the steps of the method provided in the above embodiments.
本申请实施例提供了一种报文传输系统,该报文传输系统包括多个网络节点,该多个网络节点中的至少一个网络节点包括图18、图20或图21所示的报文传输装置。Embodiments of the present application provide a message transmission system. The message transmission system includes multiple network nodes. At least one network node among the multiple network nodes includes the message transmission system shown in Figure 18, Figure 20 or Figure 21. device.
可选的,该报文传输系统还包括控制器,该控制器包括图19或图21所示的报文传输装置。Optionally, the message transmission system also includes a controller, which includes the message transmission device shown in Figure 19 or Figure 21.
可选的,该报文传输系统是如图1或图2所示。Optionally, the message transmission system is as shown in Figure 1 or Figure 2.
本申请实施例提供了一种计算机可读存储介质,该计算机可读存储介质中存储有计算机程序,该计算机程序被执行(例如,被网络节点、控制器、一个或多个处理器等执行)时,实现如上述方法实施例提供的报文传输方法的全部或部分步骤。Embodiments of the present application provide a computer-readable storage medium. A computer program is stored in the computer-readable storage medium. The computer program is executed (for example, executed by a network node, a controller, one or more processors, etc.) When, all or part of the steps of the message transmission method provided by the above method embodiment are implemented.
本申请实施例提供了一种计算机程序产品,该计算机程序产品包括程序或代码,该程序或代码被执行(例如,被网络节点、控制器、一个或多个处理器等执行)时,实现如上述方法实施例提供的报文传输方法的全部或部分步骤。Embodiments of the present application provide a computer program product. The computer program product includes a program or code. When the program or code is executed (for example, executed by a network node, a controller, one or more processors, etc.), the following is implemented: All or part of the steps of the message transmission method provided by the above method embodiments.
本申请实施例提供了一种芯片,该芯片包括可编程逻辑电路和/或程序指令,该芯片运行时实现如上述方法实施例提供的报文传输方法的全部或部分步骤。Embodiments of the present application provide a chip, which includes programmable logic circuits and/or program instructions. When running, the chip implements all or part of the steps of the message transmission method provided in the above method embodiments.
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现,所述计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行所述计算机程序指令时,全部或部分地产生按照本申请实施例所述的流程或功能。所述计算机可以是通用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机的可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线)或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者包含一个或多个可用介质集成的服务器、数据中心等数据存储装置。所述可用介质可以是磁性介质(例如,软盘、硬盘、磁带)、光介质,或者半导体介质(例如固态硬盘)等。 In the above embodiments, it may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented using software, it may be implemented in whole or in part in the form of a computer program product including one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the processes or functions described in the embodiments of the present application are generated in whole or in part. The computer may be a general purpose computer, a computer network, or other programmable device. The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another, for example, the computer instructions may be transferred from a website, computer, server, or data The center transmits to another website, computer, server or data center through wired (such as coaxial cable, optical fiber, digital subscriber line) or wireless (such as infrared, wireless, microwave, etc.) means. The computer-readable storage medium may be any available medium that can be accessed by a computer, or a data storage device such as a server, data center, or the like that includes one or more available media integrated therein. The available media may be magnetic media (eg, floppy disks, hard disks, tapes), optical media, or semiconductor media (eg, solid state drives), etc.
应当理解的是,本申请中的术语“至少一个”指一个或多个,“多个”指两个或两个以上。在本申请中,除非另有说明,符号“/”一般表示或的意思,例如,A/B可以表示A或B。本申请中的术语“和/或”仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,为了便于清楚描述,在本申请中,采用了“第一”、“第二”、“第三”等字样对功能和作用基本相同的相同项或相似项进行区分。本领域技术人员可以理解“第一”、“第二”、“第三”等字样并不对数量和执行次序进行限定。It should be understood that the term “at least one” in this application refers to one or more, and the term “plurality” refers to two or more. In this application, unless otherwise stated, the symbol "/" generally means or, for example, A/B can mean A or B. The term "and/or" in this application is only an association relationship describing related objects, indicating that there can be three relationships, for example, A and/or B, which can mean: A alone exists, A and B exist simultaneously, alone There are three situations B. In addition, in order to facilitate clear description, in this application, words such as “first”, “second” and “third” are used to distinguish the same or similar items with basically the same functions and effects. Those skilled in the art can understand that words such as “first”, “second” and “third” do not limit the number and execution order.
本申请实施例提供的方法实施例和装置实施例等不同类型的实施例均可以相互参考,本申请实施例对此不做限定。本申请实施例提供的方法实施例操作的先后顺序能够进行适当调整,操作也能够根据情况进行响应增减,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化的方法,都应涵盖在本申请的保护范围之内,因此不再赘述。Different types of embodiments such as method embodiments and device embodiments provided in the embodiments of this application can all refer to each other, and the embodiments of this application do not limit this. The sequence of operations of the method embodiments provided by the embodiments of the present application can be adjusted appropriately, and the operations can also be increased or decreased in response to the situation. Any person familiar with the technical field can easily think of changes within the technical scope disclosed in the present application. All methods are covered by the protection scope of this application, and therefore will not be described again.
在本申请提供的相应实施例中,应该理解到,所揭露的装置等可以通过其它的构成方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。In the corresponding embodiments provided in this application, it should be understood that the disclosed devices can be implemented in other configurations. For example, the device embodiments described above are only illustrative. For example, the division of units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated. to another system, or some features can be ignored, or not implemented.
作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元描述的部件可以是或者也可以不是物理单元,既可以位于一个地方,或者也可以分布到多个网络节点上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。A unit described as a separate component may or may not be physically separate. A component described as a unit may or may not be a physical unit, and may be located in one place, or may be distributed to multiple network nodes. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
以上所述,仅为本申请的示例性实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到各种等效的修改或替换都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以权利要求的保护范围为准。 The above are only exemplary embodiments of the present application, but the protection scope of the present application is not limited thereto. Any person familiar with the technical field can easily think of various equivalents within the technical scope disclosed in the present application. Any modification or replacement shall be covered by the protection scope of this application. Therefore, the protection scope of this application should be subject to the protection scope of the claims.

Claims (61)

  1. 一种报文传输方法,其特征在于,应用于第一确定性网络中的第一网络节点,所述方法包括:A message transmission method, characterized in that it is applied to the first network node in the first deterministic network, and the method includes:
    所述第一网络节点获取第一报文,所述第一报文携带第一类型指示信息和第一有界时延信息,所述第一类型指示信息用于指示所述第一有界时延信息的类型,所述第一有界时延信息用于保障所述第一报文在所述第一确定性网络中的端到端确定性时延;The first network node obtains a first message, the first message carries first type indication information and first bounded delay information, and the first type indication information is used to indicate the first bounded time delay. The type of delay information, the first bounded delay information is used to ensure the end-to-end deterministic delay of the first message in the first deterministic network;
    所述第一网络节点根据所述第一类型指示信息和所述第一有界时延信息转发所述第一报文。The first network node forwards the first message according to the first type indication information and the first bounded delay information.
  2. 根据权利要求1所述的方法,其特征在于,所述第一有界时延信息包括时间资源信息或业务要求信息。The method according to claim 1, characterized in that the first bounded delay information includes time resource information or service requirement information.
  3. 根据权利要求2所述的方法,其特征在于,所述时间资源信息包括以下至少一种:队列指示信息、周期指示信息、时隙指示信息、优先级信息。The method according to claim 2, characterized in that the time resource information includes at least one of the following: queue indication information, cycle indication information, time slot indication information, and priority information.
  4. 根据权利要求2或3所述的方法,其特征在于,所述业务要求信息包括以下至少一种:时延要求信息、抖动要求信息、截止期限要求信息。The method according to claim 2 or 3, characterized in that the service requirement information includes at least one of the following: delay requirement information, jitter requirement information, and deadline requirement information.
  5. 根据权利要求1至4任一项所述的方法,其特征在于,所述第一网络节点根据所述第一类型指示信息和所述第一有界时延信息转发所述第一报文,包括:The method according to any one of claims 1 to 4, characterized in that the first network node forwards the first message according to the first type indication information and the first bounded delay information, include:
    所述第一网络节点根据所述第一类型指示信息确定所述第一有界时延信息的类型;The first network node determines the type of the first bounded delay information according to the first type indication information;
    所述第一网络节点根据所述第一有界时延信息和所述第一有界时延信息的类型,确定所述第一网络节点中用于传输所述第一报文的第一资源;The first network node determines a first resource in the first network node used to transmit the first message according to the first bounded delay information and the type of the first bounded delay information. ;
    所述第一网络节点通过所述第一资源转发所述第一报文。The first network node forwards the first message through the first resource.
  6. 根据权利要求1至5任一项所述的方法,其特征在于,所述第一报文还携带第二有界时延信息和第二类型指示信息,所述第二类型指示信息用于指示所述第二有界时延信息的类型,所述第二有界时延信息用于保障所述第一报文在所述第一确定性网络中的端到端确定性时延,所述第二类型指示信息和所述第二有界时延信息用于第二网络节点转发所述第一报文,所述第二网络节点在所述第一确定性网络中。The method according to any one of claims 1 to 5, characterized in that the first message also carries second bounded delay information and second type indication information, and the second type indication information is used to indicate The type of the second bounded delay information, the second bounded delay information is used to ensure the end-to-end deterministic delay of the first message in the first deterministic network, the The second type indication information and the second bounded delay information are used by a second network node to forward the first message, and the second network node is in the first deterministic network.
  7. 根据权利要求6所述的方法,其特征在于,所述第二有界时延信息的类型与所述第一有界时延信息的类型不同。The method according to claim 6, characterized in that the type of the second bounded delay information is different from the type of the first bounded delay information.
  8. 根据权利要求1至7任一项所述的方法,其特征在于,所述第一网络节点是所述第一确定性网络的入口节点,所述第一网络节点获取第一报文,包括:The method according to any one of claims 1 to 7, characterized in that the first network node is an entry node of the first deterministic network, and the first network node obtains the first message, including:
    所述第一网络节点接收第二报文;The first network node receives the second message;
    所述第一网络节点接收控制器发送的控制报文,所述控制报文包括所述第一类型指示信 息和所述第一有界时延信息;The first network node receives a control message sent by the controller, and the control message includes the first type indication information. information and the first bounded delay information;
    所述第一网络节点根据所述第二报文、所述第一类型指示信息和所述第一有界时延信息,生成所述第一报文。The first network node generates the first message according to the second message, the first type indication information and the first bounded delay information.
  9. 根据权利要求8所述的方法,其特征在于,在所述第一网络节点接收所述控制器发送的所述控制报文之前,所述方法还包括:The method according to claim 8, characterized in that, before the first network node receives the control message sent by the controller, the method further includes:
    所述第一网络节点向所述控制器发送所述第一网络节点的能力信息,所述控制器用于根据所述能力信息确定所述第一类型指示信息和所述第一有界时延信息。The first network node sends the capability information of the first network node to the controller, and the controller is configured to determine the first type indication information and the first bounded delay information based on the capability information. .
  10. 根据权利要求1至7任一项所述的方法,其特征在于,所述第一网络节点是所述第一确定性网络的入口节点,所述第一网络节点获取第一报文,包括:The method according to any one of claims 1 to 7, characterized in that the first network node is an entry node of the first deterministic network, and the first network node obtains the first message, including:
    所述第一网络节点接收第二报文,所述第二报文来自第二确定性网络,所述第二报文携带目标有界时延信息;The first network node receives a second message, the second message comes from a second deterministic network, and the second message carries target bounded delay information;
    所述第一网络节点根据所述目标有界时延信息获取所述第一类型指示信息和所述第一有界时延信息;The first network node obtains the first type indication information and the first bounded delay information according to the target bounded delay information;
    所述第一网络节点根据所述第二报文、所述第一类型指示信息和所述第一有界时延信息,生成所述第一报文。The first network node generates the first message according to the second message, the first type indication information and the first bounded delay information.
  11. 根据权利要求1至10任一项所述的方法,其特征在于,The method according to any one of claims 1 to 10, characterized in that,
    所述第一报文是互联网协议第6版IPv6报文,所述第一类型指示信息和所述第一有界时延信息均位于所述第一报文的IPv6扩展头中。The first message is an Internet Protocol version 6 IPv6 message, and the first type indication information and the first bounded delay information are both located in the IPv6 extension header of the first message.
  12. 根据权利要求11所述的方法,其特征在于,所述IPv6扩展头包括以下任意一个:逐跳头HBH、目的选项头DOH、段路由头SRH。The method according to claim 11, characterized in that the IPv6 extension header includes any one of the following: hop-by-hop header HBH, destination option header DOH, and segment routing header SRH.
  13. 根据权利要求12所述的方法,其特征在于,所述IPv6扩展头为所述HBH或所述DOH,所述第一类型指示信息和所述第一有界时延信息均位于所述IPv6扩展头的选项字段中。The method according to claim 12, characterized in that the IPv6 extension header is the HBH or the DOH, and the first type indication information and the first bounded delay information are located in the IPv6 extension header. header options field.
  14. 根据权利要求12所述的方法,其特征在于,所述IPv6扩展头为所述SRH,所述SRH包括段列表,所述第一类型指示信息和所述第一有界时延信息均位于所述段列表中。The method according to claim 12, characterized in that the IPv6 extension header is the SRH, the SRH includes a segment list, and the first type indication information and the first bounded delay information are located at in the paragraph list.
  15. 根据权利要求14所述的方法,其特征在于,所述段列表包括第一段标识SID,所述第一类型指示信息和所述第一有界时延信息均位于所述第一SID的参数字段中。The method of claim 14, wherein the segment list includes a first segment identifier SID, and the first type indication information and the first bounded delay information are located in parameters of the first SID. in the field.
  16. 根据权利要求12所述的方法,其特征在于,所述IPv6扩展头为所述SRH,所述SRH包括类型长度值TLV字段,所述第一类型指示信息和所述第一有界时延信息均位于所述TLV字段中。The method according to claim 12, characterized in that the IPv6 extension header is the SRH, the SRH includes a type length value TLV field, the first type indication information and the first bounded delay information are located in the TLV field.
  17. 根据权利要求16所述的方法,其特征在于,所述SRH还包括段列表,所述段列表包 括第一段标识SID,所述第一有界时延信息和所述第一SID均与所述第一网络节点对应,所述第一SID的类型为目标类型。The method according to claim 16, characterized in that the SRH further includes a segment list, and the segment list includes Including the first segment identification SID, the first bounded delay information and the first SID both correspond to the first network node, and the type of the first SID is a target type.
  18. 根据权利要求11至17任一项所述的方法,其特征在于,所述第一报文还携带切片指示信息,所述切片指示信息位于所述第一报文的IPv6扩展头中。The method according to any one of claims 11 to 17, characterized in that the first message also carries slice indication information, and the slice indication information is located in the IPv6 extension header of the first message.
  19. 根据权利要求1至10任一项所述的方法,其特征在于,The method according to any one of claims 1 to 10, characterized in that,
    所述第一报文是多协议标签交换MPLS报文,所述第一类型指示信息和所述第一有界时延信息均位于所述第一报文的MPLS扩展头中。The first message is a multi-protocol label switching MPLS message, and the first type indication information and the first bounded delay information are both located in the MPLS extension header of the first message.
  20. 一种报文传输方法,其特征在于,所述方法包括:A message transmission method, characterized in that the method includes:
    控制器接收第一网络节点的能力信息,所述第一网络节点在所述第一确定性网络中;The controller receives capability information of a first network node in the first deterministic network;
    所述控制器根据所述能力信息获取第一类型指示信息和第一有界时延信息,所述第一类型指示信息用于指示所述第一有界时延信息的类型,所述第一有界时延信息用于保障携带所述第一有界时延信息的报文在所述第一确定性网络中的端到端确定性时延;The controller obtains first type indication information and first bounded delay information according to the capability information. The first type indication information is used to indicate the type of the first bounded delay information. The first The bounded delay information is used to ensure the end-to-end deterministic delay of the packet carrying the first bounded delay information in the first deterministic network;
    所述控制器向所述第一网络节点发送控制报文,所述控制报文包括所述第一类型指示信息和所述第一有界时延信息。The controller sends a control message to the first network node, where the control message includes the first type indication information and the first bounded delay information.
  21. 根据权利要求20所述的方法,其特征在于,所述第一有界时延信息包括时间资源信息或业务要求信息。The method according to claim 20, characterized in that the first bounded delay information includes time resource information or service requirement information.
  22. 根据权利要求21所述的方法,其特征在于,所述时间资源信息包括以下至少一种:队列指示信息、周期指示信息、时隙指示信息、优先级信息。The method according to claim 21, characterized in that the time resource information includes at least one of the following: queue indication information, cycle indication information, time slot indication information, and priority information.
  23. 根据权利要求21或22所述的方法,其特征在于,所述业务要求信息包括以下至少一种:时延要求信息、抖动要求信息、截止期限要求信息。The method according to claim 21 or 22, characterized in that the service requirement information includes at least one of the following: delay requirement information, jitter requirement information, and deadline requirement information.
  24. 根据权利要求20至23任一项所述的方法,其特征在于,The method according to any one of claims 20 to 23, characterized in that,
    所述控制器接收第一网络节点的能力信息,包括:所述控制器接收多个网络节点的能力信息,所述多个网络节点在所述第一确定性网络中,所述多个网络节点包括所述第一网络节点;The controller receiving capability information of a first network node includes: the controller receiving capability information of multiple network nodes, the multiple network nodes being in the first deterministic network, and the multiple network nodes including the first network node;
    所述控制器根据所述能力信息获取第一类型指示信息和第一有界时延信息,包括:所述控制器根据所述多个网络节点的能力信息获取至少一个有界时延信息和至少一个类型指示信息,所述至少一个有界时延信息与所述至少一个类型指示信息一一对应,每个所述类型指示信息用于指示对应的所述有界时延信息的类型,所述至少一个有界时延信息包括所述第一有界时延信息,所述至少一个类型指示信息包括所述第一类型指示信息,其中,所述控制报文包括所述至少一个有界时延信息和所述至少一个类型指示信息。The controller obtains the first type indication information and the first bounded delay information according to the capability information, including: the controller obtains at least one bounded delay information and at least one bounded delay information according to the capability information of the plurality of network nodes. A type indication information, the at least one bounded delay information corresponds to the at least one type indication information, each type indication information is used to indicate the corresponding type of the bounded delay information, the At least one bounded delay information includes the first bounded delay information, and the at least one type indication information includes the first type indication information, wherein the control message includes the at least one bounded delay information. information and the at least one type indication information.
  25. 根据权利要求24所述的方法,其特征在于,所述至少一个有界时延信息还包括第二 有界时延信息,所述至少一个类型指示信息还包括第二类型指示信息,所述第二类型指示信息用于指示所述第二有界时延信息的类型,所述第二有界时延信息用于保障携带所述第二有界时延信息的报文在所述第一确定性网络中的端到端确定性时延,所述第二有界时延信息的类型与所述第一有界时延信息的类型不同。The method of claim 24, wherein the at least one bounded delay information further includes a second Bounded delay information, the at least one type indication information also includes second type indication information, the second type indication information is used to indicate the type of the second bounded delay information, the second bounded delay information The delay information is used to ensure the end-to-end deterministic delay of the message carrying the second bounded delay information in the first deterministic network. The type of the second bounded delay information is the same as the type of the second bounded delay information. The first bounded delay information is of different types.
  26. 根据权利要求24或25所述的方法,其特征在于,所述第二有界时延信息和所述第一有界时延信息在所述控制报文中依序排列,所述第二类型指示信息和所述第一类型指示信息在所述控制报文中依序排列,所述第二类型指示信息和所述第一类型指示信息的排列顺序与所述第二有界时延信息和所述第一有界时延信息的排列顺序相同。The method according to claim 24 or 25, characterized in that the second bounded delay information and the first bounded delay information are arranged sequentially in the control message, and the second type The indication information and the first type indication information are arranged in sequence in the control message, and the arrangement order of the second type indication information and the first type indication information is consistent with the second bounded delay information and The first bounded delay information is arranged in the same order.
  27. 根据权利要求26所述的方法,其特征在于,所述控制报文包括依序排列的第一类型长度值TLV字段和第二TLV字段,所述第一类型指示信息和所述第一有界时延信息位于所述第一TLV字段中,所述第二类型指示信息和所述第二有界时延信息位于所述第二TLV字段中。The method of claim 26, wherein the control message includes a first type length value TLV field and a second TLV field arranged in sequence, the first type indication information and the first bounded The delay information is located in the first TLV field, and the second type indication information and the second bounded delay information are located in the second TLV field.
  28. 根据权利要求26所述的方法,其特征在于,The method according to claim 26, characterized in that:
    所述控制报文包括信息栈,所述信息栈包括依序排列的第一信息项和第二信息项,所述第一信息项包括所述第一类型指示信息和所述第一有界时延信息,所述第二信息项包括所述第二类型指示信息和所述第二有界时延信息。The control message includes an information stack. The information stack includes a first information item and a second information item arranged in sequence. The first information item includes the first type indication information and the first bounded time. Delay information, the second information item includes the second type indication information and the second bounded delay information.
  29. 一种报文传输装置,其特征在于,应用于第一确定性网络中的第一网络节点,所述装置包括:A message transmission device, characterized in that it is applied to a first network node in a first deterministic network, and the device includes:
    处理模块,用于获取第一报文,所述第一报文携带第一类型指示信息和第一有界时延信息,所述第一类型指示信息用于指示所述第一有界时延信息的类型,所述第一有界时延信息用于保障所述第一报文在所述第一确定性网络中的端到端确定性时延;A processing module configured to obtain a first message, where the first message carries first type indication information and first bounded delay information, and the first type indication information is used to indicate the first bounded delay. The type of information, the first bounded delay information is used to ensure the end-to-end deterministic delay of the first message in the first deterministic network;
    发送模块,用于根据所述第一类型指示信息和所述第一有界时延信息转发所述第一报文。A sending module, configured to forward the first message according to the first type indication information and the first bounded delay information.
  30. 根据权利要求29所述的装置,其特征在于,所述第一有界时延信息包括时间资源信息或业务要求信息。The apparatus according to claim 29, wherein the first bounded delay information includes time resource information or service requirement information.
  31. 根据权利要求30所述的装置,其特征在于,所述时间资源信息包括以下至少一种:队列指示信息、周期指示信息、时隙指示信息、优先级信息。The device according to claim 30, wherein the time resource information includes at least one of the following: queue indication information, cycle indication information, time slot indication information, and priority information.
  32. 根据权利要求30或31所述的装置,其特征在于,所述业务要求信息包括以下至少一种:时延要求信息、抖动要求信息、截止期限要求信息。The device according to claim 30 or 31, characterized in that the service requirement information includes at least one of the following: delay requirement information, jitter requirement information, and deadline requirement information.
  33. 根据权利要求29至32任一项所述的装置,其特征在于,所述发送模块,用于:The device according to any one of claims 29 to 32, characterized in that the sending module is used for:
    根据所述第一类型指示信息确定所述第一有界时延信息的类型;Determine the type of the first bounded delay information according to the first type indication information;
    根据所述第一有界时延信息和所述第一有界时延信息的类型,确定所述第一网络节点中 用于传输所述第一报文的第一资源;According to the first bounded delay information and the type of the first bounded delay information, it is determined that the first network node The first resource used to transmit the first message;
    通过所述第一资源转发所述第一报文。Forward the first message through the first resource.
  34. 根据权利要求29至33任一项所述的装置,其特征在于,所述第一报文还携带第二有界时延信息和第二类型指示信息,所述第二类型指示信息用于指示所述第二有界时延信息的类型,所述第二有界时延信息用于保障所述第一报文在所述第一确定性网络中的端到端确定性时延,所述第二类型指示信息和所述第二有界时延信息用于第二网络节点转发所述第一报文,所述第二网络节点在所述第一确定性网络中。The device according to any one of claims 29 to 33, characterized in that the first message also carries second bounded delay information and second type indication information, and the second type indication information is used to indicate The type of the second bounded delay information, the second bounded delay information is used to ensure the end-to-end deterministic delay of the first message in the first deterministic network, the The second type indication information and the second bounded delay information are used by a second network node to forward the first message, and the second network node is in the first deterministic network.
  35. 根据权利要求34所述的装置,其特征在于,所述第二有界时延信息的类型与所述第一有界时延信息的类型不同。The apparatus according to claim 34, wherein the type of the second bounded delay information is different from the type of the first bounded delay information.
  36. 根据权利要求29至35任一项所述的装置,其特征在于,所述第一网络节点是所述第一确定性网络的入口节点,所述处理模块,用于:The device according to any one of claims 29 to 35, wherein the first network node is an entry node of the first deterministic network, and the processing module is used to:
    接收第二报文;receive the second message;
    接收控制器发送的控制报文,所述控制报文包括所述第一类型指示信息和所述第一有界时延信息;Receive a control message sent by the controller, where the control message includes the first type indication information and the first bounded delay information;
    根据所述第二报文、所述第一类型指示信息和所述第一有界时延信息,生成所述第一报文。The first message is generated according to the second message, the first type indication information and the first bounded delay information.
  37. 根据权利要求36所述的装置,其特征在于,The device according to claim 36, characterized in that:
    所述发送模块,还用于向所述控制器发送所述第一网络节点的能力信息,所述控制器用于根据所述能力信息确定所述第一类型指示信息和所述第一有界时延信息。The sending module is further configured to send the capability information of the first network node to the controller, and the controller is configured to determine the first type indication information and the first bounded time based on the capability information. delay information.
  38. 根据权利要求29至35任一项所述的装置,其特征在于,所述第一网络节点是所述第一确定性网络的入口节点,所述处理模块,用于:The device according to any one of claims 29 to 35, wherein the first network node is an entry node of the first deterministic network, and the processing module is used to:
    接收第二报文,所述第二报文来自第二确定性网络,所述第二报文携带目标有界时延信息;Receive a second message, the second message comes from the second deterministic network, and the second message carries target bounded delay information;
    根据所述目标有界时延信息获取所述第一类型指示信息和所述第一有界时延信息;Obtain the first type indication information and the first bounded delay information according to the target bounded delay information;
    根据所述第二报文、所述第一类型指示信息和所述第一有界时延信息,生成所述第一报文。The first message is generated according to the second message, the first type indication information and the first bounded delay information.
  39. 根据权利要求29至38任一项所述的装置,其特征在于,The device according to any one of claims 29 to 38, characterized in that,
    所述第一报文是互联网协议第6版IPv6报文,所述第一类型指示信息和所述第一有界时延信息均位于所述第一报文的IPv6扩展头中。The first message is an Internet Protocol version 6 IPv6 message, and the first type indication information and the first bounded delay information are both located in the IPv6 extension header of the first message.
  40. 根据权利要求39所述的装置,其特征在于,所述IPv6扩展头包括以下任意一个:逐跳头HBH、目的选项头DOH、段路由头SRH。 The device according to claim 39, wherein the IPv6 extension header includes any one of the following: hop-by-hop header HBH, destination option header DOH, and segment routing header SRH.
  41. 根据权利要求40所述的装置,其特征在于,所述IPv6扩展头为所述HBH或所述DOH,所述第一类型指示信息和所述第一有界时延信息均位于所述IPv6扩展头的选项字段中。The device according to claim 40, wherein the IPv6 extension header is the HBH or the DOH, and the first type indication information and the first bounded delay information are located in the IPv6 extension header. header options field.
  42. 根据权利要求40所述的装置,其特征在于,所述IPv6扩展头为所述SRH,所述SRH包括段列表,所述第一类型指示信息和所述第一有界时延信息均位于所述段列表中。The device according to claim 40, characterized in that the IPv6 extension header is the SRH, the SRH includes a segment list, and the first type indication information and the first bounded delay information are located at in the paragraph list.
  43. 根据权利要求42所述的装置,其特征在于,所述段列表包括第一段标识SID,所述第一类型指示信息和所述第一有界时延信息均位于所述第一SID的参数字段中。The device according to claim 42, wherein the segment list includes a first segment identifier SID, and the first type indication information and the first bounded delay information are located in parameters of the first SID. in the field.
  44. 根据权利要求40所述的装置,其特征在于,所述IPv6扩展头为所述SRH,所述SRH包括类型长度值TLV字段,所述第一类型指示信息和所述第一有界时延信息均位于所述TLV字段中。The device according to claim 40, characterized in that the IPv6 extension header is the SRH, the SRH includes a type length value TLV field, the first type indication information and the first bounded delay information are located in the TLV field.
  45. 根据权利要求44所述的装置,其特征在于,所述SRH还包括段列表,所述段列表包括第一段标识SID,所述第一有界时延信息和所述第一SID均与所述第一网络节点对应,所述第一SID的类型为目标类型。The device according to claim 44, wherein the SRH further includes a segment list, the segment list includes a first segment identification SID, and the first bounded delay information and the first SID are both related to the first segment identifier. Corresponding to the first network node, the type of the first SID is a target type.
  46. 根据权利要求39至45任一项所述的装置,其特征在于,所述第一报文还携带切片指示信息,所述切片指示信息位于所述第一报文的IPv6扩展头中。The device according to any one of claims 39 to 45, characterized in that the first message also carries slice indication information, and the slice indication information is located in the IPv6 extension header of the first message.
  47. 根据权利要求29至38任一项所述的方法,其特征在于,The method according to any one of claims 29 to 38, characterized in that,
    所述第一报文是多协议标签交换MPLS报文,所述第一类型指示信息和所述第一有界时延信息均位于所述第一报文的MPLS扩展头中。The first message is a multi-protocol label switching MPLS message, and the first type indication information and the first bounded delay information are both located in the MPLS extension header of the first message.
  48. 一种报文传输装置,其特征在于,应用于控制器,所述装置包括:A message transmission device, characterized in that it is applied to a controller, and the device includes:
    接收模块,用于接收第一网络节点的能力信息,所述第一网络节点在所述第一确定性网络中;A receiving module, configured to receive capability information of a first network node in the first deterministic network;
    处理模块,用于根据所述能力信息获取第一类型指示信息和第一有界时延信息,所述第一类型指示信息用于指示所述第一有界时延信息的类型,所述第一有界时延信息用于保障携带所述第一有界时延信息的报文在所述第一确定性网络中的端到端确定性时延;A processing module configured to obtain first type indication information and first bounded delay information according to the capability information, where the first type indication information is used to indicate the type of the first bounded delay information, and the third A bounded delay information is used to ensure the end-to-end deterministic delay of the message carrying the first bounded delay information in the first deterministic network;
    发送模块,用于向所述第一网络节点发送控制报文,所述控制报文包括所述第一类型指示信息和所述第一有界时延信息。A sending module, configured to send a control message to the first network node, where the control message includes the first type indication information and the first bounded delay information.
  49. 根据权利要求48所述的装置,其特征在于,所述第一有界时延信息包括时间资源信息或业务要求信息。The apparatus according to claim 48, wherein the first bounded delay information includes time resource information or service requirement information.
  50. 根据权利要求49所述的装置,其特征在于,所述时间资源信息包括以下至少一种:队列指示信息、周期指示信息、时隙指示信息、优先级信息。 The device according to claim 49, wherein the time resource information includes at least one of the following: queue indication information, cycle indication information, time slot indication information, and priority information.
  51. 根据权利要求49或50所述的装置,其特征在于,所述业务要求信息包括以下至少一种:时延要求信息、抖动要求信息、截止期限要求信息。The device according to claim 49 or 50, characterized in that the service requirement information includes at least one of the following: delay requirement information, jitter requirement information, and deadline requirement information.
  52. 根据权利要求48至51任一项所述的装置,其特征在于,The device according to any one of claims 48 to 51, characterized in that,
    所述接收模块,用于接收多个网络节点的能力信息,所述多个网络节点在所述第一确定性网络中,所述多个网络节点包括所述第一网络节点;The receiving module is configured to receive capability information of multiple network nodes, the multiple network nodes are in the first deterministic network, and the multiple network nodes include the first network node;
    所述处理模块,用于根据所述多个网络节点的能力信息获取至少一个有界时延信息和至少一个类型指示信息,所述至少一个有界时延信息与所述至少一个类型指示信息一一对应,每个所述类型指示信息用于指示对应的所述有界时延信息的类型,所述至少一个有界时延信息包括所述第一有界时延信息,所述至少一个类型指示信息包括所述第一类型指示信息,其中,所述控制报文包括所述至少一个有界时延信息和所述至少一个类型指示信息。The processing module is configured to obtain at least one bounded delay information and at least one type indication information according to the capability information of the plurality of network nodes, and the at least one bounded delay information is consistent with the at least one type indication information. Correspondingly, each type indication information is used to indicate the corresponding type of bounded delay information, the at least one bounded delay information includes the first bounded delay information, and the at least one type The indication information includes the first type of indication information, wherein the control message includes the at least one bounded delay information and the at least one type of indication information.
  53. 根据权利要求52所述的装置,其特征在于,所述至少一个有界时延信息还包括第二有界时延信息,所述至少一个类型指示信息还包括第二类型指示信息,所述第二类型指示信息用于指示所述第二有界时延信息的类型,所述第二有界时延信息用于保障携带所述第二有界时延信息的报文在所述第一确定性网络中的端到端确定性时延,所述第二有界时延信息的类型与所述第一有界时延信息的类型不同。The apparatus according to claim 52, wherein the at least one bounded delay information further includes second bounded delay information, the at least one type indication information further includes second type indication information, and the third The second type indication information is used to indicate the type of the second bounded delay information, and the second bounded delay information is used to ensure that the message carrying the second bounded delay information is processed in the first determined The type of the second bounded delay information is different from the type of the first bounded delay information.
  54. 根据权利要求52或53所述的装置,其特征在于,所述第二有界时延信息和所述第一有界时延信息在所述控制报文中依序排列,所述第二类型指示信息和所述第一类型指示信息在所述控制报文中依序排列,所述第二类型指示信息和所述第一类型指示信息的排列顺序与所述第二有界时延信息和所述第一有界时延信息的排列顺序相同。The device according to claim 52 or 53, characterized in that the second bounded delay information and the first bounded delay information are arranged sequentially in the control message, and the second type The indication information and the first type indication information are arranged in sequence in the control message, and the arrangement order of the second type indication information and the first type indication information is consistent with the second bounded delay information and The first bounded delay information is arranged in the same order.
  55. 根据权利要求54所述的装置,其特征在于,所述控制报文包括依序排列的第一类型长度值TLV字段和第二TLV字段,所述第一类型指示信息和所述第一有界时延信息位于所述第一TLV字段中,所述第二类型指示信息和所述第二有界时延信息位于所述第二TLV字段中。The device according to claim 54, wherein the control message includes a first type length value TLV field and a second TLV field arranged in sequence, the first type indication information and the first bounded The delay information is located in the first TLV field, and the second type indication information and the second bounded delay information are located in the second TLV field.
  56. 根据权利要求54所述的装置,其特征在于,The device according to claim 54, characterized in that:
    所述控制报文包括信息栈,所述信息栈包括依序排列的第一信息项和第二信息项,所述第一信息项包括所述第一类型指示信息和所述第一有界时延信息,所述第二信息项包括所述第二类型指示信息和所述第二有界时延信息。The control message includes an information stack. The information stack includes a first information item and a second information item arranged in sequence. The first information item includes the first type indication information and the first bounded time. Delay information, the second information item includes the second type indication information and the second bounded delay information.
  57. 一种报文传输装置,其特征在于,应用于网络节点,包括存储器和处理器;A message transmission device, characterized in that it is applied to a network node and includes a memory and a processor;
    所述存储器用于存储计算机程序;The memory is used to store computer programs;
    所述处理器用于执行所述存储器中存储的计算机程序以使得所述报文传输装置执行如权利要求1至28任一项所述的报文传输方法。The processor is configured to execute a computer program stored in the memory so that the message transmission device executes the message transmission method according to any one of claims 1 to 28.
  58. 一种报文传输系统,其特征在于,所述系统包括多个网络节点,所述多个网络节点中 的至少一个网络节点包括如权利要求29至47、57任一项所述的报文传输装置。A message transmission system, characterized in that the system includes a plurality of network nodes, and among the plurality of network nodes At least one network node includes the message transmission device according to any one of claims 29 to 47 and 57.
  59. 根据权利要求58所述的系统,其特征在于,所述系统还包括控制器,所述控制器包括如权利要求48至57任一项所述的报文传输装置。The system according to claim 58, characterized in that the system further includes a controller, and the controller includes the message transmission device according to any one of claims 48 to 57.
  60. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质中存储有计算机程序,所述计算机程序被执行时实现如权利要求1至28任一项所述的报文传输方法。A computer-readable storage medium, characterized in that a computer program is stored in the computer-readable storage medium, and when the computer program is executed, the message transmission method according to any one of claims 1 to 28 is implemented.
  61. 一种计算机程序产品,其特征在于,所述计算机程序产品包括程序或代码,所述程序或代码被执行时,实现如权利要求1至28任一项所述的报文传输方法。 A computer program product, characterized in that the computer program product includes a program or code, and when the program or code is executed, the message transmission method according to any one of claims 1 to 28 is implemented.
PCT/CN2023/099596 2022-06-30 2023-06-12 Packet transmission method, apparatus, and system WO2024001733A1 (en)

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
CN202210771414 2022-06-30
CN202210771414.9 2022-06-30
CN202211216213.9A CN117336253A (en) 2022-06-30 2022-09-30 Message transmission method, device and system
CN202211216213.9 2022-09-30

Publications (1)

Publication Number Publication Date
WO2024001733A1 true WO2024001733A1 (en) 2024-01-04

Family

ID=89274287

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/099596 WO2024001733A1 (en) 2022-06-30 2023-06-12 Packet transmission method, apparatus, and system

Country Status (2)

Country Link
CN (1) CN117336253A (en)
WO (1) WO2024001733A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107547393A (en) * 2016-06-29 2018-01-05 华为技术有限公司 A kind of method and the network equipment for calculating forward-path
CN110474853A (en) * 2018-05-11 2019-11-19 华为技术有限公司 A kind of method, network node and system that message is sent
CN111431822A (en) * 2020-04-19 2020-07-17 汪勤思 Deterministic time delay service intelligent scheduling and control implementation method
CN113938955A (en) * 2021-09-09 2022-01-14 中国联合网络通信集团有限公司 Data transmission method, device, equipment and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107547393A (en) * 2016-06-29 2018-01-05 华为技术有限公司 A kind of method and the network equipment for calculating forward-path
CN110474853A (en) * 2018-05-11 2019-11-19 华为技术有限公司 A kind of method, network node and system that message is sent
CN111431822A (en) * 2020-04-19 2020-07-17 汪勤思 Deterministic time delay service intelligent scheduling and control implementation method
CN113938955A (en) * 2021-09-09 2022-01-14 中国联合网络通信集团有限公司 Data transmission method, device, equipment and system

Also Published As

Publication number Publication date
CN117336253A (en) 2024-01-02

Similar Documents

Publication Publication Date Title
CN113382442B (en) Message transmission method, device, network node and storage medium
WO2019184925A1 (en) Message sending method, network node and system
CN107547393B (en) Method for calculating forwarding path and network equipment
US9363189B2 (en) Credit based flow control in lossless ethernet networks
WO2019214561A1 (en) Packet sending method, network node, and system
US11722407B2 (en) Packet processing method and apparatus
KR100454502B1 (en) Apparatus for providing QoS on IP router and method for forwarding VoIP traffic
WO2021233267A1 (en) Method for forwarding message in srv6 service function chain, sff and sf device
CN103746931A (en) Maintaining load balancing after service application with a netwok device
EP4037265A1 (en) Packet forwarding method, apparatus, storage medium, and system
WO2021098271A1 (en) Method for issuing oam configuration information and control node
JP2009542113A (en) Method and system for fault tolerant QoS
WO2021179718A1 (en) Message transmission method and apparatus, and network device
CN113678414A (en) Switching device, control device and corresponding method for enhanced schedulability and throughput over a TSN network
CN116711287A (en) Circular Queue and Forwarding (CQF) segmentation
CN112688812B (en) Reliability perception time-sensitive network routing method applied to power data transmission
CN111970149B (en) Shared bandwidth implementation method based on hardware firewall QOS
JP2004201304A (en) Packet scheduling system and method for high-speed packet network
WO2024001733A1 (en) Packet transmission method, apparatus, and system
CN110892687B (en) Multistage resource reservation
Baldi et al. Time-driven priority router implementation: Analysis and experiments
CN110830373B (en) Method and device for realizing QOS service quality differentiation of service in SDN network
WO2023241063A1 (en) Packet processing method, device and system, and storage medium
WO2023130957A1 (en) Routing method and related device
WO2023213216A1 (en) Packet processing method and related device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 23829916

Country of ref document: EP

Kind code of ref document: A1