WO2024012316A1 - Packet processing method and device, network node and storage medium - Google Patents

Packet processing method and device, network node and storage medium Download PDF

Info

Publication number
WO2024012316A1
WO2024012316A1 PCT/CN2023/105755 CN2023105755W WO2024012316A1 WO 2024012316 A1 WO2024012316 A1 WO 2024012316A1 CN 2023105755 W CN2023105755 W CN 2023105755W WO 2024012316 A1 WO2024012316 A1 WO 2024012316A1
Authority
WO
WIPO (PCT)
Prior art keywords
message
sid
nrp
network node
network
Prior art date
Application number
PCT/CN2023/105755
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 WO2024012316A1 publication Critical patent/WO2024012316A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/34Source routing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0893Assignment of logical groups to network elements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
    • H04L67/63Routing a service request depending on the request content or context

Definitions

  • the present application relates to the field of transmission and bearer networks, and in particular to a message processing method, device, network node and storage medium.
  • embodiments of the present application provide a message processing method, device, network node and storage medium.
  • the embodiment of this application provides a message processing method, which is applied to network nodes, including:
  • the first message is forwarded according to the SID of the first message.
  • forwarding the first message according to the SID of the first message includes:
  • forwarding the first message based on the outbound interface and NRP associated with the SID of the first message includes:
  • the first information is preconfigured or issued by the control device.
  • the network node includes a first network node
  • the method further includes:
  • Second information is obtained, the second information includes the SID of the first message of at least one second network node; the second information is used to encapsulate the first message.
  • the second information obtained includes:
  • An embodiment of the present application also provides a message processing device, including:
  • the acquisition unit is configured to acquire the first message; wherein the SID of the first message is associated with the NRP;
  • a processing unit configured to forward the first message according to the SID of the first message.
  • An embodiment of the present application also provides a network node, including: a processor and a communication interface; wherein,
  • the processor is configured as:
  • the first message is forwarded through the communication interface according to the SID of the first message.
  • An embodiment of the present application also provides a network node, including: a processor and a memory configured to store a computer program capable of running on the processor,
  • the processor is configured to execute the steps of any of the above methods when running the computer program.
  • An embodiment of the present application also provides a storage medium on which a computer program is stored, and when the computer program is executed by a processor, the steps of any of the above methods are implemented.
  • the network node obtains the first message; wherein the SID of the first message is associated with the NRP; according to the SID of the first message Forward the first message.
  • the solution provided by the embodiment of this application defines a new type of endpoint behavior and associates the corresponding SID with the NRP to identify the NRP that the SRv6 message can operate on the network node, thereby realizing the network node's reservation of network resources. usage of.
  • Figure 1 is a schematic flow chart of the message processing method according to the embodiment of the present application.
  • FIG. 2 is a schematic diagram of a SID format according to an embodiment of the present application.
  • Figure 3 is a schematic diagram of the physical networking architecture of this application application example
  • Figure 4 is a schematic diagram of the End.NRP SID and corresponding NRP of the application example of this application;
  • Figure 5 is a schematic diagram of the processing and message forwarding flow of a network node in an application example of this application;
  • Figure 7 is a schematic diagram of the processing and message forwarding process of another network node in the application example of this application.
  • Figure 8 is a schematic structural diagram of a message processing device according to an embodiment of the present application.
  • Figure 9 is a schematic diagram of a network node structure according to an embodiment of the present application.
  • SRv6 uses the existing Internet Protocol version 6 (IPv6) forwarding technology and combines it with segment routing (SR, Segment Routing) to achieve network programmability through flexible IPv6 extension headers and simplify network protocols. type, has good scalability and programmability, can meet the diverse needs of more new services, provides high reliability, and has good application prospects in cloud network services.
  • IPv6 Internet Protocol version 6
  • the SID of standard SRv6 has the routable attribute, which can simplify the creation of inter-domain paths and realize the ability to simplify the establishment of end-to-end paths in IPv6 networks.
  • SRv6 SID supports programmability, which can meet the needs of flexible network and business function processing. Combined with the collaborative support of centralized and distributed control planes, it can flexibly meet the needs of various business and network functions and adapt to the needs of network and business development. .
  • SRv6 technology there is a mechanism that enables explicit source routing without introducing every path state into the network.
  • SRv6 Differentiated Service Quality of Service
  • the packet forwarding process still relies on the traditional Differentiated Service Quality of Service (DiffServ QoS). ) mechanism to provide coarse-grained traffic differentiation in the network.
  • DiffServ QoS Differentiated Service Quality of Service
  • This mechanism may be sufficient for some types of services, however, some clients or services may require a dedicated set of network resources to be allocated in the network to achieve resource isolation from other clients and services in the same network, and this The number of types of clients or services may be greater than the number of traffic classes available for DiffServ QoS.
  • SRv6 technology does not have the ability to reserve network resources and/or identify a set of network resources reserved for services or customers.
  • a new SRv6 endpoint behavior (English can be expressed as SRv6 Endpoint Behavior) is defined.
  • the SID of the new SRv6 endpoint behavior is associated with the NRP to identify the SRv6 message in a specific
  • the NRP that a network node can operate enables the network node to identify reserved network resources (which can also be called dedicated network resources).
  • NRP refers to: a set of network resources allocated from the underlying (English can be expressed as underlay) network, used to carry a specific set of network traffic and meet the required specific service level goals ( SLO, Specific Service Level Objectives) and Service Level Expectations (SLE, Service Level Expectations) (English can be expressed as A Network Resource Partition (NRP) is a set of network resources that are allocated from the underlay network to carry a specific set of network traffic and meet the required SLOs and SLEs).
  • SLO Specific Service Level Objectives
  • SLE Service Level Expectations
  • a Network Resource Partition is a set of network resources that are allocated from the underlay network to carry a specific set of network traffic and meet the required SLOs and SLEs).
  • the NRP includes but is not limited to time division multiplexing (TDM, Time-Division Multiplexing) channels, network bandwidth, time slots, queues, tunnels, SRv6 policies (English can be expressed as Policy), computing resources and storage resources, etc.
  • TDM time division multiplexing
  • SRv6 policies English can be expressed as Policy
  • computing resources and storage resources etc.
  • the embodiment of the present application provides a message processing method, which is applied to network nodes. As shown in Figure 1, the method includes:
  • Step 101 Obtain the first message; wherein the SID of the first message is associated with the NRP;
  • Step 102 Forward the first message according to the SID of the first message.
  • the network node may include a Slicing Packet Network (SPN, Slicing Packet Network), router, or data center switch and other equipment that supports SRv6 technology.
  • SPN Slicing Packet Network
  • the network node may also be called an endpoint or a node. This document The application embodiment does not limit this, as long as its functions are realized.
  • the network node may be a first node (which may also be called a head node or a source node) or an intermediate forwarding node.
  • obtaining the first message may be understood as locally generating the first message, or may be understood as obtaining the first message from other nodes.
  • the message can also be understood as a packet (which can be expressed as packet in English), or as traffic (which can be expressed as traffic in English).
  • packet which can be expressed as packet in English
  • traffic which can be expressed as traffic in English.
  • the embodiments of the present application do not limit this, as long as its function is realized.
  • the association of the SID of the first message with the NRP means that the SID of the first message is associated with the NRP assigned to the first message by the network node. For the first message, after the network node locally matches the SID, it can learn based on the matched SID that the action it takes is to use the NRP of the first message to forward the message. That is, the SID is only valid locally. Therefore, the SID of the first message refers to the SID of the network node.
  • association between SID and NRP can be understood as SID and NRP related (English can be expressed as associated), it can also be understood as SID and NRP corresponding (English can be expressed as related), or it can be understood as SID indication (English can be expressed as related). It can be expressed as indicated)NRP.
  • a new type of SID is defined, and the SID of the first message is the SID of the newly defined type.
  • the SID in the embodiment of the present application may adopt the SID format shown in Figure 2.
  • the SID format shown in Figure 2 consists of three parts: a locator (Locator), a function (Function), and a parameter segment (Arguments).
  • the Locator field has a positioning function, so it is generally unique within the SR domain.
  • the Function field represents the instructions of the device, which are preset by the device.
  • the Function field is used to instruct the SRv6 SID generation node to perform corresponding functional operations;
  • the Arguments field is Optional field, which can be omitted.
  • the Arguments field can be used to define some packet flows and services. service information. In other words, you can use the Function field to identify the End.NRP SID, you can use the Arguments field to identify the End.NRP SID, and you can also use Function+Arguments to identify the End.NRP SID.
  • the Function and/or Arguments fields can be used to distinguish the SID of the embodiment of the present application from other types of SID.
  • the Function and/or Arguments fields do not have a clear numerical value (which can also be understood as a value) definition, that is, the Function and/or Arguments fields do not have specific numbers. That is to say, the Function and/or Arguments fields do not have specific numbers.
  • the value of/or the Arguments field can be defined as needed.
  • the embodiment of the present application does not limit the value of the Function and/or Arguments field. Among them, in actual application, when configuring values, it can be configured uniformly in the entire network, so the values of each node are consistent, or it does not need to be configured uniformly in the entire network, in which case the values of each node are inconsistent.
  • End.NRP can be understood as a variant (English can be expressed as variant) of the End.X behavior (English can be expressed as behavior) defined in related technologies.
  • End.NRP is an SRv6 instance of the adjacent SID (Adj-SID), which is mainly used for traffic forwarding and NRP identification. Among them, End.NRP is associated with at least one set of Layer 2 (L2) or Layer 3 (L3) adjacencies, and is also associated with at least one set of NRPs.
  • L2 Layer 2
  • L3 Layer 3
  • At least one End.NRP SID that identifies the resource attribute can be assigned.
  • the End.NRP SID is associated with the forwarding next hop of at least one L2 or L3 neighbor. If multiple next hops are associated, it can The next hop is selected through the hash (English can be expressed as hash) algorithm.
  • the End.NRP SID is associated with the local NRP on each node, and the NRP is used to forward messages with the End.NRP SID.
  • End.NRP SIDs can be assigned to identify different adjacent forwarding next hops and resource sets.
  • a set of End.NRP SIDs can be used to build a SID list (which can be expressed as list in English), which is used to guide traffic forwarding along an explicit path and processed using NRP at each instantiated node.
  • the SID of the network node may be assigned by the network node or may be assigned by the control device, which is not limited in the embodiments of the present application.
  • the SID in the embodiment of this application can be configured statically (i.e., pre-configured), or based on network telemetry (telemetry in English), Border Gateway Protocol-Link State (BGP-LS), or netconf
  • BGP-LS Border Gateway Protocol-Link State
  • the protocol synchronizes information such as the SID and the corresponding endpoint behavior type to the control device, so that the control device can learn what type of behavior the SID in the embodiment of this application is, that is, it knows that the SID in the embodiment of this application has traffic forwarding and
  • the SID associated with NRP; the network node can synchronize the SID and corresponding endpoint behavior type and other information to other network elements, that is, other network nodes, through static configuration or based on protocols such as Interior Gateway Protocol (IGP, Interior Gateway Protocol).
  • IGP Interior Gateway Protocol
  • the SID in the embodiment of the present application can also adopt other formats.
  • the SID Not limited.
  • the forwarding operation in step 102 can be understood as not modifying the payload of the message (which can be expressed as payload in English), but only modifying the message header required for forwarding, and then forwarding the message.
  • each End.NRP SID is associated with the outbound interface and NRP.
  • the End.NRP SID can be used to obtain the outbound interface of the network node and the NRP used for packet forwarding on the outbound interface.
  • each forwarding node also called a transit node
  • step 102 may include:
  • the network node may locally store at least one outgoing interface of the indication message and the SID of the related local NRP, and the network node may determine the first report based on the corresponding relationship between the SID and the NRP information.
  • the network node determines the NRP corresponding to the SID of the first message according to the first information; wherein the first information includes the corresponding relationship between the SID and the NPR information, that is, the third One message includes SID and corresponding NPR information.
  • the first information may be pre-configured at the network node, or may be delivered by the control device.
  • the first information may be presented in a table, which is not limited in the embodiments of this application.
  • control device such as a Software Defined Network (SDN, Software Defined Network) controller, a network management system (which may also be called a network management)
  • SDN Software Defined Network
  • network management system which may also be called a network management
  • management and control device a management and control device
  • management device a management device
  • management and control system a management and control system
  • control device may include configuration delivery, information monitoring, path planning, etc.
  • control device in SDN, the control device includes an SDN controller, and in non-SDN, the control device includes a network management system.
  • the first node After receiving the message, the first node needs to encapsulate routing information in the message header to guide the first message through the network, that is, to forward the first message.
  • the method may further include:
  • Second information is obtained, the second information includes the SID of the first message of at least one second network node; the second information is used to encapsulate the first message.
  • the first network node uses the second information to encapsulate the first message.
  • the second information includes the SID corresponding to the path.
  • the second information may be presented in the form of a table, which is not limited in the embodiments of the present application.
  • the first network node is the head node
  • the first network node is a network edge node, which can be called a PE node, PE router, PE device, etc., such as an operator edge node in a backbone network
  • the second network node is a network forwarding node, which may be called a P node, P router, P device, etc., such as an operator node in a backbone network.
  • the first network node may obtain the second information through static configuration.
  • the first network node may receive the second information delivered by the control device, thereby obtaining the second information.
  • the first network node may also generate the second information by itself; specifically, the first network node receives the third information sent by the at least one second network node, and the third The information includes the SID of the first message of at least one second network node; the second information is determined using the received third information.
  • the first network node and the second network node may process messages of multiple customers or services.
  • the second network node sends messages of different customers or services.
  • SID the business characteristics of different customers or services can be sent at the same time, so that the first network node can distinguish the SIDs of the messages of different customers or services of the second network node.
  • the first network node can also use other
  • the SIDs of the packets of different clients or services of the second network node are distinguished by a method, which is not limited in the embodiment of the present application.
  • the association between the SID of the second network node and the NRP needs to be passed to the first network node, so that the first network node can subsequently encapsulate the message.
  • the association between the SID and the NRP of the second network node can be transferred to the first network node through static configuration, or by the control device, or by the second network node sending it to the first network node.
  • a new type of SID is defined, and the newly defined SID is used to associate with the NRP.
  • multiple SIDs used to identify NRP can be allocated on a specific network segment. From the perspective of the entire specific network segment, each SID represents the number allocated in the network. A subset of network resources to meet the needs of a single or a group of customers or services.
  • the NRP allocation on the network segment can be completed through local configuration of the network node or through the control device, which is not limited in the embodiment of the present application.
  • a network node obtains a first message; wherein the SID of the first message is associated with the NRP; and forwards the first message according to the SID of the first message.
  • the solution provided by the embodiment of this application defines a new type of endpoint behavior and associates the corresponding SID with the NRP to identify the NRP that the SRv6 message can operate on the network node, thereby realizing the network node's reservation of network resources. usage of.
  • End.NRP SID contains two sets, namely J1 and J2.
  • J1 contains one or more L2 interfaces, or one or more L3 interfaces
  • J2 contains one or more Collection of network resources.
  • For a network node through the outbound interface corresponding to J1 Upload the NRP corresponding to J2 and forward the packet to the new destination (English can be expressed as: forward the packet via the NRP of the outbound interface associated with the End.NRP SID).
  • the control device globally plans network resources according to the user business characteristics of the user business or service, and allocates the corresponding NRP for the user business or service; allocates the corresponding End.NRP SID to the corresponding NRP on the forwarding device, thereby realizing the End.NRP SID and the actual NRP association.
  • the method of allocating End.NRP SID on the forwarding device can be control device allocation or static configuration.
  • FIG. 3 is a schematic diagram of the physical networking architecture of the application embodiment. Assume that the locator planning of each network node is as follows:
  • VPN service and G.MTN resources are used as examples to describe the End.NRP SID operating mechanism.
  • NRP is allocated.
  • NRP is the G.MTN sub-interface resource. Calculate the corresponding SRv6 Policy paths for the three VPN customers in the network, and implement the End.NRP SID and The association of G.MTN resources results in the End.NRP SID and corresponding NRP diagram shown in Figure 4.
  • End.NRP SID needs to be used for orchestration so that packets can be forwarded through the specific NRP associated with each End.NRP SID.
  • the SRv6 Policy path information (also called segment list) of the three VPN customers is organized as follows:
  • Segment list of VPN1 customer's SRv6 Policy ⁇ A:1::11,A:2::11,A:3::11,A:4::100>;
  • Segment list of VPN3 customer's SRv6 Policy ⁇ A:1::33,A:2::33,A:3::33,A:4::300>.
  • A:4::100, A:4::200, and A:4::300 are the VPN SIDs assigned by the PE2 node to VPN1, VPN2, and VPN3 respectively.
  • A:1::11, A:2::11, A:3::11, A:1::22, A:2::22, A:3::22, A:1 ::33, A:2::33, and A:3::33 are all End.NRP SIDs.
  • this application example does not Limit the value of the Function/or Arguments field, that is, 11, 22, and 33 are just examples.
  • the value of the Function and/or Arguments field can be any value, as long as the SID can be identified and corresponding operations are required (use the reservation on the outbound interface) NRP forwards packets).
  • VPN1 uses VPN1 as an example to describe the processing of network nodes and the packet forwarding process in conjunction with Figure 5.
  • the process includes the following steps:
  • Step 1 PE1 directs the traffic of CE1 to the SRv6 Policy tunnel of the VPN1 customer based on the service characteristics of VPN1;
  • PE1 encapsulates the packet according to the SRv6 Policy of VPN1, and the packet header of the encapsulated packet includes the IPv6 packet header and the segment routing header (SRH).
  • Step 2 PE1 searches for the corresponding entry (such as the entry shown in Table 2) based on the current instructions of A:1::11, and obtains the identified NRP as the G.MTN1 sub-interface of the GE1/0/0 physical interface. Forward the packet through the sub-interface;
  • Step 3 After receiving the message, P1 modifies the destination address in the message to A:3::11, and searches for the corresponding table entry (such as the table shown in Table 3) based on the current instructions of A:2::11. item), obtain the identified NRP as the G.MTN1 sub-interface of the GE2/0/0 physical interface, and forward the packet through the sub-interface;
  • Step 4 After receiving the message, P2 modifies the destination address in the message to A:4::100, and searches for the corresponding table entry (such as the table shown in Table 4) according to the current instructions of A:3::11. item), obtain the identified NRP as the G.MTN1 sub-interface of the GE3/0/0 physical interface, and forward the packet through the sub-interface;
  • Step 5 PE2 decapsulates the packet according to the instructions of A:4::100 and forwards it to CE11.
  • NRP identification such as NRP-ID
  • NRP-ID the concept of NRP identification
  • the following uses VPN services, NRP-ID and QoS queue resources as examples to describe the operating mechanism of End.NRP SID.
  • NRP is allocated.
  • NRP is the QoS queue resource.
  • the QoS queue resource on the interface realizes the association between NRP-ID and End.NRP SID and the QoS queue of the corresponding bandwidth, and the association between End.NRP SID and NRP-ID.
  • the End.NRP SID and NRP-ID are obtained as shown in Figure 6. ID diagram.
  • End.NRP SID needs to be used for orchestration so that packets can be forwarded through the specific NRP identified by each End.NRP SID.
  • the SRv6 Policy path information (also called Segment list) of the three VPN customers is arranged as follows:
  • Segment list of VPN1 customer's SRv6 Policy ⁇ A:1::11,A:2::11,A:3::11,A:4::100>;
  • Segment list of VPN3 customer's SRv6 Policy ⁇ A:1::33,A:2::33,A:3::33,A:4::300>.
  • A:4::100, A:4::200, and A:4::300 are the VPN SIDs assigned by the PE2 node to VPN1, VPN2, and VPN3 respectively.
  • A:1::11, A:2::11, A:3::11, A:1::22, A:2::22, A:3::22, A:1 ::33, A:2::33, and A:3::33 are all End.NRP SIDs.
  • this application example does not limit the value of the Function/or Arguments field, that is, 11, 22, and 33 only is an example.
  • the value of the Function and/or Arguments field can be any value, as long as the SID can be identified and corresponding operations are required (using the reserved NRP on the outgoing interface to forward packets).
  • VPN1 uses VPN1 as an example to describe the processing of network nodes and the packet forwarding process in conjunction with Figure 7.
  • the process includes the following steps:
  • Step 1 PE1 directs the traffic of CE1 to the SRv6 Policy tunnel of the VPN1 customer based on the service characteristics of VPN1;
  • PE1 encapsulates the packet according to the SRv6 Policy of VPN1, and the packet header of the encapsulated packet includes the IPv6 packet header and SRH.
  • Step 2 PE1 searches for the corresponding entry (such as the entry shown in Table 7) according to the current instruction of A:1::11, and obtains the identified NPR as the physical GE1/0/0 identified by NRP-ID 100.
  • the QoS queue of the 1G BW of the interface forwards the packet through the QoS queue;
  • Step 3 After receiving the message, P1 modifies the destination address in the message to A:3::11, and searches for the corresponding table entry (such as the table shown in Table 8) based on the current instructions of A:2::11. item), obtain the QoS queue of the 1G BW of the GE2/0/0 physical interface identified by the NRP identified by NRP-ID 100, and forward the packet through the QoS queue;
  • the corresponding table entry such as the table shown in Table 8
  • Step 4 After receiving the message, P2 modifies the destination address in the message to A:4::100, and searches for the corresponding table entry (such as the table shown in Table 9) according to the current instructions of A:3::11. item), obtain the QoS queue of the 1G BW of the GE3/0/0 physical interface identified by the NRP identified by NRP-ID 100, and forward the packet through the QoS queue;
  • Step 5 PE2 decapsulates the packet according to the instructions of A:4::100 and forwards it to CE11.
  • the End.NRP SID is valid locally, and the End.NRP SID is globally visible or only visible locally to the control device, head node, and network node.
  • End.NRP adds resource information (that is, NRP information) as a judgment factor for packet forwarding.
  • Network nodes match the corresponding network resources according to the End.NRP SID for forwarding.
  • NRP information resource information
  • multiple End.NRP SIDs that identify NRP can be allocated, and each End.NRP SID represents a subset of network resources allocated in the network.
  • Each set of NRPs can be associated with at least one End.NRP SID.
  • the End.NRP SID that identifies the resource attribute can be used to construct a path with a set of reserved network resources that can be used to carry service traffic that requires dedicated network resources along the path.
  • SRv6 networks such as IP bearer networks, SPNs, intra-cloud networks, etc.
  • the solution of the embodiment of this application is compatible with the IPv6 basic protocol. If the forwarding device does not support the End.NRP function, then it can be forwarded according to the existing IPv6 forwarding mechanism, and there is no compatibility problem. If the forwarding device supports the End.NRP function, it can obtain the corresponding network resources by parsing the SID and forward the packet.
  • the solution provided by the embodiment of this application can achieve deterministic network resource forwarding as long as the path and End.NRP SID are reasonably planned, and can meet the future carrying needs of thousands of industries and meet large-scale deterministic and differentiated services.
  • the forwarding device only needs to parse the semantics of the End.NRP SID in the IPv6 message header.
  • the processing efficiency is high, the performance impact is small, and it does not introduce new difficulties to the forwarding chip.
  • the embodiment of the present application also provides a message processing device, which is installed on the network node. As shown in Figure 8, the device includes:
  • the obtaining unit 801 is configured to obtain the first message; wherein the SID of the first message is associated with the NRP;
  • the processing unit 802 is configured to forward the first message according to the SID of the first message.
  • the processing unit 802 is configured to forward the first message according to the outbound interface and NRP associated with the SID of the first message.
  • the processing unit 802 is configured to determine the NRP corresponding to the SID of the first message according to the first information.
  • the network node includes a first network node
  • the processing unit 802 is further configured to obtain second information, where the second information includes the first message of at least one second network node. SID; the second information is used to encapsulate the first message.
  • processing unit 802 is configured as:
  • the acquisition unit 801 and the processing unit 802 may be implemented by a processor in a message processing device combined with a communication interface.
  • the message processing device provided in the above embodiment performs message processing
  • Only the division of the above program modules is used as an example.
  • the above processing allocation can be completed by different program modules as needed, that is, the internal structure of the device is divided into different program modules to complete all of the above descriptions or Partial processing.
  • the message processing apparatus provided by the above embodiments and the message processing method embodiments belong to the same concept. Please refer to the method embodiments for the specific implementation process, which will not be described again here.
  • the embodiment of the present application also provides a network node.
  • the network node 900 includes:
  • Communication interface 901 is capable of information interaction with other network nodes and control devices;
  • the processor 902 is connected to the communication interface 901 to implement information interaction with other network nodes and control devices, and is configured to execute the method provided by one or more technical solutions on the network node side when running a computer program;
  • Memory 903 on which the computer program is stored.
  • the processor 902 is configured as:
  • the first message is forwarded through the communication interface 901 according to the SID of the first message.
  • the processor 902 is configured to forward the first message according to the outbound interface and NRP associated with the SID of the first message.
  • the processor 902 is configured to determine the NRP corresponding to the SID of the first message according to the first information.
  • the network node 900 includes a first network node, and the processor 902 is further configured to obtain second information, where the second information includes the first report of at least one second network node.
  • the SID of the message; the second information is used to encapsulate the first message.
  • the processor 902 is configured as:
  • the third information sent by the at least one second network node is received through the communication interface 901, and the third information includes the SID of the first message of the at least one second network node; using the received third information, Determine the second information.
  • bus system 904 is configured to enable connection communications between these components.
  • bus system 904 also includes a power bus, a control bus and a status signal bus.
  • various buses are labeled as bus system 904 in FIG. 9 .
  • the memory 903 in the embodiment of the present application is configured to store various types of data to support the operation of the network node 900 .
  • Examples of such data include: any data used to operate on network node 900 any computer program.
  • the memory 903 in the embodiment of the present application may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memories.
  • non-volatile memory can be read-only memory (ROM, Read Only Memory), programmable read-only memory (PROM, Programmable Read-Only Memory), erasable programmable read-only memory (EPROM, Erasable Programmable Read-Only Memory).
  • EEPROM Electrically Erasable Programmable Read-Only Memory
  • FRAM Magnetic Random Access Memory
  • Flash Memory Magnetic Surface Memory , optical disk, or compact disc (CD-ROM, Compact Disc Read-Only Memory); magnetic surface memory can be disk storage or tape storage.
  • Volatile memory can be random access memory (RAM, Random Access Memory), which is used as an external cache.
  • RAM Random Access Memory
  • SRAM Static Random Access Memory
  • SSRAM Synchronous Static Random Access Memory
  • DRAM Dynamic Random Access Memory
  • SDRAM Synchronous Dynamic Random Access Memory
  • DDRSDRAM Double Data Rate Synchronous Dynamic Random Access Memory
  • ESDRAM enhanced Type Synchronous Dynamic Random Access Memory
  • SLDRAM Synchronous Link Dynamic Random Access Memory
  • DRRAM Direct Rambus Random Access Memory
  • the memories described in the embodiments of the present application are intended to include, but are not limited to, these and any other suitable types of memories.
  • the methods disclosed in the above embodiments of the present application can be applied to the processor 902 or implemented by the processor 902 .
  • the processor 902 may be an integrated circuit chip with signal processing capabilities. During the implementation process, each step of the above method can be completed by instructions in the form of hardware integrated logic circuits or software in the processor 902 .
  • the above-mentioned processor 902 may be a general-purpose processor, a digital signal processor (DSP, Digital Signal Processor), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc.
  • DSP Digital Signal Processor
  • the processor 902 can implement or execute the various methods, steps and logical block diagrams disclosed in the embodiments of this application.
  • a general-purpose processor may be a microprocessor or any conventional processor, etc.
  • the steps of the method disclosed in the embodiments of this application can be directly implemented by a hardware decoding processor, or executed by a combination of hardware and software modules in the decoding processor.
  • the software module may be located in a storage medium, and the storage medium is located in the memory 903.
  • the processor 902 reads the information in the memory 903 and completes the steps of the foregoing method in combination with its hardware.
  • the network node 900 may be configured by one or more Application Specific Integrated Circuits (ASICs), DSPs, programmable logic devices (PLD, Programmable Logic Device), Complex Programmable Logic Device (CPLD, Complex Programmable Logic Device), Field-Programmable Gate Array (FPGA, Field-Programmable Gate Array), general-purpose processor, controller, microcontroller (MCU, Micro Controller Unit), microprocessor (Microprocessor), or other electronic components for executing the aforementioned method.
  • ASICs Application Specific Integrated Circuits
  • DSPs programmable logic devices
  • PLD Programmable Logic Device
  • CPLD Complex Programmable Logic Device
  • FPGA Field-Programmable Gate Array
  • controller controller
  • MCU Micro Controller Unit
  • Microprocessor Microprocessor
  • the embodiment of the present application also provides a storage medium, that is, a computer storage medium, specifically a computer-readable storage medium, such as a memory 903 that stores a computer program.
  • the computer program can be processed by the network node 900
  • the processor 902 is executed to complete the steps described in the foregoing network node side method.
  • the computer-readable storage medium can be FRAM, ROM, PROM, EPROM, EEPROM, Flash Memory, magnetic surface memory, optical disk, or CD-ROM and other memories.

Landscapes

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

Abstract

Disclosed in the present application are a packet processing method and device, a network node and a storage medium. The method comprises: a network node acquiring a first packet, wherein a segment identifier (SID) of the first packet is associated with a network resource partition (NRP); and forwarding the first packet according to the SID of the first packet.

Description

报文处理方法、装置、网络节点及存储介质Message processing method, device, network node and storage medium
相关申请的交叉引用Cross-references to related applications
本申请基于申请号为202210813599.5、申请日为2022年07月11日的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此引入本申请作为参考。This application is filed based on a Chinese patent application with application number 202210813599.5 and a filing date of July 11, 2022, and claims the priority of the Chinese patent application. The entire content of the Chinese patent application is hereby incorporated by reference into this application.
技术领域Technical field
本申请涉及传输与承载网络领域,尤其涉及一种报文处理方法、装置、网络节点及存储介质。The present application relates to the field of transmission and bearer networks, and in particular to a message processing method, device, network node and storage medium.
背景技术Background technique
随着第五代移动通信技术(5G)和算力网络的不断发展,在提供高可靠性和高可扩展的互联网协议(IP)网络服务的同时,差异化网络服务需求也在不断提高。运营商网络需要在指定显式路径的同时,为特定客户或特定服务预留一组网络资源,以实现与同一网络中的其他客户和服务的资源隔离。然而,如何在报文转发过程中实现分配的专用的网络资源的识别,目前尚未有有效解决方案。With the continuous development of fifth-generation mobile communication technology (5G) and computing power networks, while providing highly reliable and highly scalable Internet Protocol (IP) network services, the demand for differentiated network services is also increasing. Carrier networks need to reserve a set of network resources for a specific customer or specific service while specifying an explicit path to achieve resource isolation from other customers and services in the same network. However, there is currently no effective solution for how to identify allocated dedicated network resources during packet forwarding.
发明内容Contents of the invention
为解决相关技术问题,本申请实施例提供一种报文处理方法、装置、网络节点及存储介质。In order to solve related technical problems, embodiments of the present application provide a message processing method, device, network node and storage medium.
本申请实施例的技术方案是这样实现的:The technical solution of the embodiment of this application is implemented as follows:
本申请实施例提供一种报文处理方法,应用于网络节点,包括:The embodiment of this application provides a message processing method, which is applied to network nodes, including:
获取第一报文;其中,所述第一报文的段标识(SID,Segment IDentifier)与网络资源分片(NRP,Network Resource Partition)关联;Obtain the first message; wherein the segment identifier (SID, Segment IDentifier) of the first message is associated with the network resource fragment (NRP, Network Resource Partition);
根据所述第一报文的SID对所述第一报文进行转发。The first message is forwarded according to the SID of the first message.
上述方案中,所述根据所述第一报文的SID对所述第一报文进行转发,包括:In the above solution, forwarding the first message according to the SID of the first message includes:
根据所述第一报文的SID关联的出接口和NRP转发所述第一报文。Forward the first message according to the outbound interface associated with the SID of the first message and the NRP.
上述方案中,所述根据所述第一报文的SID关联的出接口和NRP转发所述第一报文,包括:In the above solution, forwarding the first message based on the outbound interface and NRP associated with the SID of the first message includes:
根据第一信息确定所述第一报文的SID对应的NRP; Determine the NRP corresponding to the SID of the first message according to the first information;
根据所述第一报文的SID关联的出接口和NRP转发所述第一报文。Forward the first message according to the outbound interface associated with the SID of the first message and the NRP.
上述方案中,所述第一信息是预配置的,或者是由控制设备下发的。In the above solution, the first information is preconfigured or issued by the control device.
上述方案中,所述网络节点包含第一网络节点,所述方法还包括:In the above solution, the network node includes a first network node, and the method further includes:
获得第二信息,所述第二信息包含至少一个第二网络节点的所述第一报文的SID;所述第二信息用于进行第一报文的封装。Second information is obtained, the second information includes the SID of the first message of at least one second network node; the second information is used to encapsulate the first message.
上述方案中,所述获得第二信息,包括:In the above solution, the second information obtained includes:
接收控制设备下发的第二信息;Receive the second information sent by the control device;
或者,or,
接收所述至少一个第二网络节点发送的第三信息,所述第三信息包含至少一个第二网络节点的所述第一报文的SID;利用接收的第三信息,确定所述第二信息。Receive third information sent by the at least one second network node, where the third information includes the SID of the first message of the at least one second network node; use the received third information to determine the second information .
本申请实施例还提供一种报文处理装置,包括:An embodiment of the present application also provides a message processing device, including:
获取单元,配置为获取第一报文;其中,所述第一报文的SID与NRP关联;The acquisition unit is configured to acquire the first message; wherein the SID of the first message is associated with the NRP;
处理单元,配置为根据所述第一报文的SID对所述第一报文进行转发。A processing unit configured to forward the first message according to the SID of the first message.
本申请实施例还提供一种网络节点,包括:处理器及通信接口;其中,An embodiment of the present application also provides a network node, including: a processor and a communication interface; wherein,
所述处理器,配置为:The processor is configured as:
获取第一报文;其中,所述第一报文的SID与NRP关联;Obtain the first message; wherein the SID of the first message is associated with the NRP;
根据所述第一报文的SID并通过所述通信接口对所述第一报文进行转发。The first message is forwarded through the communication interface according to the SID of the first message.
本申请实施例还提供一种网络节点,包括:处理器和配置为存储能够在处理器上运行的计算机程序的存储器,An embodiment of the present application also provides a network node, including: a processor and a memory configured to store a computer program capable of running on the processor,
其中,所述处理器配置为运行所述计算机程序时,执行上述任一所述方法的步骤。Wherein, the processor is configured to execute the steps of any of the above methods when running the computer program.
本申请实施例还提供一种存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现上述任一所述方法的步骤。An embodiment of the present application also provides a storage medium on which a computer program is stored, and when the computer program is executed by a processor, the steps of any of the above methods are implemented.
本申请实施例提供的报文处理方法、装置、网络节点及存储介质,网络节点获取第一报文;其中,所述第一报文的SID与NRP关联;根据所述第一报文的SID对所述第一报文进行转发。本申请实施例提供的方案,定义一种新类型的端点行为,将对应的SID与NRP相关联,以标识SRv6报文在网络节点所能操作的NRP,从而实现了网络节点对预留网络资源的使用。According to the message processing method, device, network node and storage medium provided by the embodiment of the present application, the network node obtains the first message; wherein the SID of the first message is associated with the NRP; according to the SID of the first message Forward the first message. The solution provided by the embodiment of this application defines a new type of endpoint behavior and associates the corresponding SID with the NRP to identify the NRP that the SRv6 message can operate on the network node, thereby realizing the network node's reservation of network resources. usage of.
附图说明Description of drawings
图1为本申请实施例报文处理的方法流程示意图;Figure 1 is a schematic flow chart of the message processing method according to the embodiment of the present application;
图2为本申请实施例一种SID格式示意图;Figure 2 is a schematic diagram of a SID format according to an embodiment of the present application;
图3为本申请应用示例物理组网架构示意图; Figure 3 is a schematic diagram of the physical networking architecture of this application application example;
图4为本申请应用示例End.NRP SID及对应的NRP示意图;Figure 4 is a schematic diagram of the End.NRP SID and corresponding NRP of the application example of this application;
图5为本申请应用示例一种网络节点的处理以及报文转发流程示意图;Figure 5 is a schematic diagram of the processing and message forwarding flow of a network node in an application example of this application;
图6本申请应用示例End.NRP SID与NRP-ID示意图;Figure 6 Application example End.NRP SID and NRP-ID schematic diagram of this application;
图7为本申请应用示例另一种网络节点的处理以及报文转发流程示意图;Figure 7 is a schematic diagram of the processing and message forwarding process of another network node in the application example of this application;
图8为本申请实施例报文处理装置结构示意图;Figure 8 is a schematic structural diagram of a message processing device according to an embodiment of the present application;
图9为本申请实施例网络节点结构示意图。Figure 9 is a schematic diagram of a network node structure according to an embodiment of the present application.
具体实施方式Detailed ways
下面结合实施例对本申请再作进一步详细的描述。The present application will be described in further detail below in conjunction with examples.
相关技术中,SRv6采用已有的互联网协议第6版(IPv6)转发技术,且与分段路由(SR,Segment Routing)相结合,通过灵活的IPv6扩展头,实现网络可编程,简化了网络协议类型,具有良好的扩展性和可编程性,可满足更多新业务的多样化需求,提供高可靠性,在云网业务中有良好的应用前景。Among related technologies, SRv6 uses the existing Internet Protocol version 6 (IPv6) forwarding technology and combines it with segment routing (SR, Segment Routing) to achieve network programmability through flexible IPv6 extension headers and simplify network protocols. type, has good scalability and programmability, can meet the diverse needs of more new services, provides high reliability, and has good application prospects in cloud network services.
标准SRv6的SID具备可路由属性,能够简化域间路径创建,实现在IPv6网络中简化建立端到端路径的能力。同时,SRv6 SID支持可编程能力,能够满足灵活的网络和业务功能处理,结合集中式和分布式控制平面的协同支持,能灵活满足各种业务和网络功能的需求,适应网络和业务发展的需要。在SRv6技术中,有一种机制:可以在不将每个路径状态引入网络的情况下实现显式源路由。The SID of standard SRv6 has the routable attribute, which can simplify the creation of inter-domain paths and realize the ability to simplify the establishment of end-to-end paths in IPv6 networks. At the same time, SRv6 SID supports programmability, which can meet the needs of flexible network and business function processing. Combined with the collaborative support of centralized and distributed control planes, it can flexibly meet the needs of various business and network functions and adapt to the needs of network and business development. . In SRv6 technology, there is a mechanism that enables explicit source routing without introducing every path state into the network.
在SRv6技术中,虽然集中式控制器可以拥有全局的网络状态视图,且可以使用不同的SR路径提供不同的服务,但在报文转发过程中,仍然依赖于传统的区分服务服务质量(DiffServ QoS)机制来提供网络中粗粒度的流量区分。这种机制对于某些类型的服务可能已经足够了,然而,某些客户或服务可能需要在网络中分配一组专用的网络资源,以实现与同一网络中其他客户和服务的资源隔离,且这种类型的客户或服务的数量可能大于DiffServ QoS可用的流量类别的数量。相关技术中,SRv6技术不具备预留网络资源和/或识别为服务或客户预留的一组网络资源的能力。In SRv6 technology, although the centralized controller can have a global network status view and can use different SR paths to provide different services, the packet forwarding process still relies on the traditional Differentiated Service Quality of Service (DiffServ QoS). ) mechanism to provide coarse-grained traffic differentiation in the network. This mechanism may be sufficient for some types of services, however, some clients or services may require a dedicated set of network resources to be allocated in the network to achieve resource isolation from other clients and services in the same network, and this The number of types of clients or services may be greater than the number of traffic classes available for DiffServ QoS. Among related technologies, SRv6 technology does not have the ability to reserve network resources and/or identify a set of network resources reserved for services or customers.
基于此,在本申请的各种实施例中,定义一种新的SRv6端点行为(英文可以表达为SRv6 Endpoint Behavior),新的SRv6端点行为的SID与NRP相关联,以标识SRv6报文在特定网络节点所能操作的NRP,从而实现了网络节点对预留网络资源(也可以称为专用网络资源)的识别。Based on this, in various embodiments of this application, a new SRv6 endpoint behavior (English can be expressed as SRv6 Endpoint Behavior) is defined. The SID of the new SRv6 endpoint behavior is associated with the NRP to identify the SRv6 message in a specific The NRP that a network node can operate enables the network node to identify reserved network resources (which can also be called dedicated network resources).
其中,在本申请实施例中,NRP是指:从底层(英文可以表达为underlay)网络分配的一组网络资源,用于承载一组特定的网络流量并满足所需的具有特定服务水平目标(SLO,Specific Service Level Objectives)和服务水平预期(SLE,Service Level Expectations)(英文可以表达为A Network Resource Partition(NRP)is a set of network resources that are allocated from  the underlay network to carry a specific set of network traffic and meet the required SLOs and SLEs)。Among them, in the embodiment of this application, NRP refers to: a set of network resources allocated from the underlying (English can be expressed as underlay) network, used to carry a specific set of network traffic and meet the required specific service level goals ( SLO, Specific Service Level Objectives) and Service Level Expectations (SLE, Service Level Expectations) (English can be expressed as A Network Resource Partition (NRP) is a set of network resources that are allocated from the underlay network to carry a specific set of network traffic and meet the required SLOs and SLEs).
所述NRP包括但不限于时分复用(TDM,Time-Division Multiplexing)通道、网络带宽、时隙、队列、隧道、SRv6策略(英文可以表达为Policy)、计算资源和存储资源等。The NRP includes but is not limited to time division multiplexing (TDM, Time-Division Multiplexing) channels, network bandwidth, time slots, queues, tunnels, SRv6 policies (English can be expressed as Policy), computing resources and storage resources, etc.
本申请实施例提供了一种报文处理方法,应用于网络节点,如图1所示,该方法包括:The embodiment of the present application provides a message processing method, which is applied to network nodes. As shown in Figure 1, the method includes:
步骤101:获取第一报文;其中,所述第一报文的SID与NRP关联;Step 101: Obtain the first message; wherein the SID of the first message is associated with the NRP;
步骤102:根据所述第一报文的SID对所述第一报文进行转发。Step 102: Forward the first message according to the SID of the first message.
其中,实际应用时,所述网络节点可以包含切片分组网(SPN,Slicing Packet Network)、路由器、或数据中心交换机等支持SRv6技术的设备,所述网络节点也可以称为端点或节点等,本申请实施例对此不作限定,只要实现其功能即可。Among them, in actual application, the network node may include a Slicing Packet Network (SPN, Slicing Packet Network), router, or data center switch and other equipment that supports SRv6 technology. The network node may also be called an endpoint or a node. This document The application embodiment does not limit this, as long as its functions are realized.
从第一报文的转发路径的角度来说,所述网络节点可以是首节点(也可以称为头节点,或者源节点),也可以是中间的转发节点。From the perspective of the forwarding path of the first message, the network node may be a first node (which may also be called a head node or a source node) or an intermediate forwarding node.
步骤101中,实际应用时,所述获取第一报文可以理解为本地生成所述第一报文,也可以理解为从其他节点处获得所述第一报文。In step 101, in actual application, obtaining the first message may be understood as locally generating the first message, or may be understood as obtaining the first message from other nodes.
实际应用时,所述报文也可以理解为包(英文可以表达为packet),或为流量(英文可以表达为traffic),本申请实施例对此不作限定,只要实现其功能即可。In actual application, the message can also be understood as a packet (which can be expressed as packet in English), or as traffic (which can be expressed as traffic in English). The embodiments of the present application do not limit this, as long as its function is realized.
所述第一报文的SID与NRP关联是指:所述第一报文的SID与所述网络节点分配给所述第一报文的NRP相关联。对于所述第一报文,所述网络节点本地匹配到SID后,根据匹配的SID就能够获知自身所采用的动作是利用第一报文的NRP来转发报文。也就是说,SID仅在本地有效。因此,所述第一报文的SID是指所述网络节点的SID。The association of the SID of the first message with the NRP means that the SID of the first message is associated with the NRP assigned to the first message by the network node. For the first message, after the network node locally matches the SID, it can learn based on the matched SID that the action it takes is to use the NRP of the first message to forward the message. That is, the SID is only valid locally. Therefore, the SID of the first message refers to the SID of the network node.
实际应用时,所述SID与NRP关联可以理解为SID与NRP相关(英文可以表达为相关associated),也可以理解为SID与NRP对应(英文可以表达为related),也可以理解为SID指示(英文可以表达为indicated)NRP。In practical application, the association between SID and NRP can be understood as SID and NRP related (English can be expressed as associated), it can also be understood as SID and NRP corresponding (English can be expressed as related), or it can be understood as SID indication (English can be expressed as related). It can be expressed as indicated)NRP.
本申请实施例中,新定义一种类型的SID,第一报文的SID即为该新定义类型的SID,示例性地,可以定义为End.NRP SID。示例性地,本申请实施例的SID可以采用图2所示的SID格式,图2所示的SID格式由定位器(Locator)、功能(Function)、参数段(Arguments)三部分组成。其中,在图2所示的格式中,Locator字段具有定位功能,所以一般要在SR域内是唯一的,这样,网络中其他节点通过Locator网段路由就可以定位到本节点,同时本节点发布的所有SRv6 SID也都可以通过该条Locator网段路由到达;Function字段代表设备的指令,这些指令都由设备预先设定,Function字段用于指示SRv6 SID的生成节点进行相应的功能操作;Arguments字段为可选字段,可以没有,通过Arguments字段可以定义一些报文的流和服 务等信息。也就是说,可以用Function字段来标识End.NRP SID,也可以用Arguments字段来标识End.NRP SID,还可以用Function+Arguments来标识End.NRP SID。In this embodiment of the present application, a new type of SID is defined, and the SID of the first message is the SID of the newly defined type. For example, it can be defined as End.NRP SID. Illustratively, the SID in the embodiment of the present application may adopt the SID format shown in Figure 2. The SID format shown in Figure 2 consists of three parts: a locator (Locator), a function (Function), and a parameter segment (Arguments). Among them, in the format shown in Figure 2, the Locator field has a positioning function, so it is generally unique within the SR domain. In this way, other nodes in the network can locate this node through the Locator segment routing, and at the same time, the locator field published by this node All SRv6 SIDs can also be reached through this Locator network segment route; the Function field represents the instructions of the device, which are preset by the device. The Function field is used to instruct the SRv6 SID generation node to perform corresponding functional operations; the Arguments field is Optional field, which can be omitted. The Arguments field can be used to define some packet flows and services. service information. In other words, you can use the Function field to identify the End.NRP SID, you can use the Arguments field to identify the End.NRP SID, and you can also use Function+Arguments to identify the End.NRP SID.
不同类型的SID定义不同的执行动作,当采用图2所示的SID格式时,可以用Function和/或Arguments字段来区分本申请实施例的SID和其他类型的SID。需要说明的是,对于本申请实施例的SID,Function和/或Arguments字段没有明确的数值(也可以理解为值)定义,即Function和/或Arguments字段没有特定的数字,也就是说,Function和/或Arguments字段的数值可以根据需要定义,本申请实施例对Function和/或Arguments字段的数值不作限定。其中,实际应用时,在配置数值时,可以在全网可以统一配置,因此每个节点的数值一致,也可以不在全网统一配置,这种情况下每个节点的数值不一致。Different types of SID define different execution actions. When the SID format shown in Figure 2 is used, the Function and/or Arguments fields can be used to distinguish the SID of the embodiment of the present application from other types of SID. It should be noted that for the SID in the embodiment of this application, the Function and/or Arguments fields do not have a clear numerical value (which can also be understood as a value) definition, that is, the Function and/or Arguments fields do not have specific numbers. That is to say, the Function and/or Arguments fields do not have specific numbers. The value of/or the Arguments field can be defined as needed. The embodiment of the present application does not limit the value of the Function and/or Arguments field. Among them, in actual application, when configuring values, it can be configured uniformly in the entire network, so the values of each node are consistent, or it does not need to be configured uniformly in the entire network, in which case the values of each node are inconsistent.
本申请实施例新类型的SID,可以理解为定义了一种新的端点行为(英文可以表达为behavior),名称可以为End.NRP。End.NRP可以理解为相关技术中定义的End.X行为(英文可以表达为behavior)的一种变体(英文可以表达为variant)。End.NRP是邻接SID(Adj-SID)的SRv6实例,主要用于流量转发与NRP识别。其中,End.NRP与至少一个层二(L2)或层三(L3)邻接的集合相关联,同时与至少一个NRP的集合相关联。The new type of SID in the embodiment of this application can be understood as defining a new endpoint behavior (which can be expressed as behavior in English), and its name can be End.NRP. End.NRP can be understood as a variant (English can be expressed as variant) of the End.X behavior (English can be expressed as behavior) defined in related technologies. End.NRP is an SRv6 instance of the adjacent SID (Adj-SID), which is mainly used for traffic forwarding and NRP identification. Among them, End.NRP is associated with at least one set of Layer 2 (L2) or Layer 3 (L3) adjacencies, and is also associated with at least one set of NRPs.
相应地,对于一个网络节点,可以分配至少一个标识资源属性的End.NRP SID,End.NRP SID与至少一个L2或L3邻接的转发下一跳相关联,如果关联多个下一跳,则可以通过哈希(英文可以表达为hash)算法选择下一跳。同时,End.NRP SID与每个节点上的本地NRP相关联,NRP用于转发具有End.NRP SID的报文。Correspondingly, for a network node, at least one End.NRP SID that identifies the resource attribute can be assigned. The End.NRP SID is associated with the forwarding next hop of at least one L2 or L3 neighbor. If multiple next hops are associated, it can The next hop is selected through the hash (English can be expressed as hash) algorithm. At the same time, the End.NRP SID is associated with the local NRP on each node, and the NRP is used to forward messages with the End.NRP SID.
从一个链路的角度来说,可以分配多个End.NRP SID来识别不同的邻接转发下一跳与资源集。一组End.NRP SID可用于构建SID列表(英文可以表达为list),用于引导流量沿显式路径转发,并在每个实例化节点使用NRP进行处理。From a link perspective, multiple End.NRP SIDs can be assigned to identify different adjacent forwarding next hops and resource sets. A set of End.NRP SIDs can be used to build a SID list (which can be expressed as list in English), which is used to guide traffic forwarding along an explicit path and processed using NRP at each instantiated node.
实际应用时,所述网络节点的SID可以由所述网络节点分配,也可以由控制设备分配,本申请实施例对此不作限定。本申请实施例的SID,可以通过静态配置(即预先配置)、或基于网络遥测技术(telemetry)(英文还可以表达为network telemetry)、边界网关协议-链路状态(BGP-LS)、或netconf等协议将SID和对应的端点行为类型等信息同步给控制设备,使得控制设备能够获知本申请实施例的SID是一种什么行为类型的SID,即获知本申请实施例的SID是具有流量转发与NRP关联的SID;所述网络节点可以通过静态配置或基于内部网关协议(IGP,Interior Gateway Protocol)等协议将SID和对应的端点行为类型等信息同步给其他网元,即其他网络节点。In actual application, the SID of the network node may be assigned by the network node or may be assigned by the control device, which is not limited in the embodiments of the present application. The SID in the embodiment of this application can be configured statically (i.e., pre-configured), or based on network telemetry (telemetry in English), Border Gateway Protocol-Link State (BGP-LS), or netconf The protocol synchronizes information such as the SID and the corresponding endpoint behavior type to the control device, so that the control device can learn what type of behavior the SID in the embodiment of this application is, that is, it knows that the SID in the embodiment of this application has traffic forwarding and The SID associated with NRP; the network node can synchronize the SID and corresponding endpoint behavior type and other information to other network elements, that is, other network nodes, through static configuration or based on protocols such as Interior Gateway Protocol (IGP, Interior Gateway Protocol).
当然,本申请实施例的SID还可以采用其他格式,本申请实施例对此 不作限定。Of course, the SID in the embodiment of the present application can also adopt other formats. In the embodiment of the present application, the SID Not limited.
步骤102中的转发操作,可以理解为不修改报文的有效载荷(英文可以表达为payload),只进行转发所需要进行的报文头的修改,然后再转发报文。The forwarding operation in step 102 can be understood as not modifying the payload of the message (which can be expressed as payload in English), but only modifying the message header required for forwarding, and then forwarding the message.
本申请实施例中,在报文转发中,每个End.NRP SID都关联出接口和NRP。也就是说,End.NRP SID可以用于获得网络节点的出接口,以及该出接口上用于报文转发的NRP。具体地,每个转发节点(也可以称为中转节点)可以使用End.NRP SID来确定报文的出接口和相关的本地NRP,然后使用本地NRP将报文转发到下一跳节点。In the embodiment of this application, during packet forwarding, each End.NRP SID is associated with the outbound interface and NRP. In other words, the End.NRP SID can be used to obtain the outbound interface of the network node and the NRP used for packet forwarding on the outbound interface. Specifically, each forwarding node (also called a transit node) can use the End.NRP SID to determine the outbound interface of the message and the related local NRP, and then use the local NRP to forward the message to the next hop node.
基于此,在一实施例中,步骤102的具体实现可以包括:Based on this, in one embodiment, the specific implementation of step 102 may include:
根据所述第一报文的SID关联的出接口和NRP转发所述第一报文。Forward the first message according to the outbound interface associated with the SID of the first message and the NRP.
其中,实际应用时,所述网络节点本地可以存储有至少一个指示报文的出接口和相关的本地NRP的SID,所述网络节点可以根据SID与NRP信息的对应关系,确定所述第一报文的SID对应的NRP。Wherein, in actual application, the network node may locally store at least one outgoing interface of the indication message and the SID of the related local NRP, and the network node may determine the first report based on the corresponding relationship between the SID and the NRP information. The NRP corresponding to the SID of the document.
基于此,在一实施例中,所述网络节点根据第一信息确定所述第一报文的SID对应的NRP;其中,所述第一信息包含SID与NPR信息的对应关系,即所述第一信息包含SID与对应的NPR信息。Based on this, in one embodiment, the network node determines the NRP corresponding to the SID of the first message according to the first information; wherein the first information includes the corresponding relationship between the SID and the NPR information, that is, the third One message includes SID and corresponding NPR information.
这里,实际应用时,所述第一信息可以是在所述网络节点预配置的,也可以是由控制设备下发的。所述第一信息可以以表格的方式呈现,本申请实施例对此不作限定。Here, in actual application, the first information may be pre-configured at the network node, or may be delivered by the control device. The first information may be presented in a table, which is not limited in the embodiments of this application.
其中,所述控制设备(比如软件定义网络(SDN,Software Defined Network)控制器、网管系统(也可以称为网管))也可以称为管控设备、管理设备、或管控系统,本申请实施例对此不作限定,只要实现其功能即可。Wherein, the control device (such as a Software Defined Network (SDN, Software Defined Network) controller, a network management system (which may also be called a network management)) may also be called a management and control device, a management device, or a management and control system. The embodiments of this application are There is no limit to this, as long as its function is realized.
实际应用时,所述控制设备的功能可以包括配置下发、信息监控、规划路径等。其中,在SDN中,所述控制设备包括SDN控制器,在非SDN中,所述控制设备包括网管系统。In actual application, the functions of the control device may include configuration delivery, information monitoring, path planning, etc. Wherein, in SDN, the control device includes an SDN controller, and in non-SDN, the control device includes a network management system.
对于所述第一报文,首节点收到报文后,需要在报文头封装路由信息,以实现引导所述第一报文通过网络,即转发所述第一报文。For the first message, after receiving the message, the first node needs to encapsulate routing information in the message header to guide the first message through the network, that is, to forward the first message.
基于此,在一实施例中,当所述网络节点包含第一网络节点时,该方法还可以包括:Based on this, in an embodiment, when the network node includes a first network node, the method may further include:
获得第二信息,所述第二信息包含至少一个第二网络节点的所述第一报文的SID;所述第二信息用于进行第一报文的封装。Second information is obtained, the second information includes the SID of the first message of at least one second network node; the second information is used to encapsulate the first message.
也就是说,所述第一网络节点利用所述第二信息对所述第一报文进行封装。That is to say, the first network node uses the second information to encapsulate the first message.
所述第二信息包含路径对应的SID。实际应用时,所述第二信息可以以表格的形式呈现,本申请实施例对此不作限定。 The second information includes the SID corresponding to the path. In actual application, the second information may be presented in the form of a table, which is not limited in the embodiments of the present application.
实际应用时,所述第一网络节点是首节点,所述第一网络节点是网络边缘节点,可以称为PE节点、PE路由器、PE设备等,比如骨干网络中的运营商边缘节点;对应地,所述第二网络节点是网络转发节点,可以称为P节点、P路由器、P设备等,比如骨干网络中的运营商节点。In actual application, the first network node is the head node, and the first network node is a network edge node, which can be called a PE node, PE router, PE device, etc., such as an operator edge node in a backbone network; correspondingly , the second network node is a network forwarding node, which may be called a P node, P router, P device, etc., such as an operator node in a backbone network.
在一实施例中,所述第一网络节点可以通过静态配置的方式获得所述第二信息。In an embodiment, the first network node may obtain the second information through static configuration.
在一实施例中,所述第一网络节点可以接收所述控制设备下发的第二信息,从而得到所述第二信息。In an embodiment, the first network node may receive the second information delivered by the control device, thereby obtaining the second information.
在一实施例中,所述第一网络节点也可以自己生成所述第二信息;具体地,所述第一网络节点接收所述至少一个第二网络节点发送的第三信息,所述第三信息包含至少一个第二网络节点的所述第一报文的SID;利用接收的第三信息,确定所述第二信息。In an embodiment, the first network node may also generate the second information by itself; specifically, the first network node receives the third information sent by the at least one second network node, and the third The information includes the SID of the first message of at least one second network node; the second information is determined using the received third information.
这里,实际应用时,所述第一网络节点和第二网络节点可能会处理多个客户或服务的报文,在这种场景下,所述第二网络节点发送不同客户或服务的报文的SID时,可以同时发送不同客户或服务的业务特征,以便所述第一网络节点能够区分第二网络节点的不同客户或服务的报文的SID,当然,所述第一网络节点也可以通过别的方式区分第二网络节点的不同客户或服务的报文的SID,本申请实施例对此不作限定。Here, in actual application, the first network node and the second network node may process messages of multiple customers or services. In this scenario, the second network node sends messages of different customers or services. SID, the business characteristics of different customers or services can be sent at the same time, so that the first network node can distinguish the SIDs of the messages of different customers or services of the second network node. Of course, the first network node can also use other The SIDs of the packets of different clients or services of the second network node are distinguished by a method, which is not limited in the embodiment of the present application.
从上面的描述可以看出,第二网络节点的SID与NRP的关联关系需要传递给第一网络节点,以便所述第一网络节点后续进行报文的封装。其中,可以通过静态配置,或者所述控制设备下发,或者第二网络节点发送给第一网络节点等方式来实现将第二网络节点的SID与NRP的关联关系传递给第一网络节点。As can be seen from the above description, the association between the SID of the second network node and the NRP needs to be passed to the first network node, so that the first network node can subsequently encapsulate the message. The association between the SID and the NRP of the second network node can be transferred to the first network node through static configuration, or by the control device, or by the second network node sending it to the first network node.
从上面的描述可以看出,本申请实施例中,新定义一种类型的SID,新定义的SID用于关联NRP。实际应用时,在应用本申请实施例的方案时,在特定的网段上,可以分配多个用于标识NRP的SID,从整个特定网段的角度来说,每个SID代表在网络中分配的网络资源的子集,以满足单个或一组客户或服务的需求。网段上的NRP分配可以通过网络节点本地配置或通过控制设备来完成,本申请实施例对此不作限定。As can be seen from the above description, in the embodiment of the present application, a new type of SID is defined, and the newly defined SID is used to associate with the NRP. In actual application, when applying the solutions of the embodiments of this application, multiple SIDs used to identify NRP can be allocated on a specific network segment. From the perspective of the entire specific network segment, each SID represents the number allocated in the network. A subset of network resources to meet the needs of a single or a group of customers or services. The NRP allocation on the network segment can be completed through local configuration of the network node or through the control device, which is not limited in the embodiment of the present application.
本申请实施例提供的方法,网络节点获取第一报文;其中,所述第一报文的SID与NRP关联;根据所述第一报文的SID对所述第一报文进行转发。本申请实施例提供的方案,定义一种新类型的端点行为,将对应的SID与NRP相关联,以标识SRv6报文在网络节点所能操作的NRP,从而实现了网络节点对预留网络资源的使用。In the method provided by the embodiment of the present application, a network node obtains a first message; wherein the SID of the first message is associated with the NRP; and forwards the first message according to the SID of the first message. The solution provided by the embodiment of this application defines a new type of endpoint behavior and associates the corresponding SID with the NRP to identify the NRP that the SRv6 message can operate on the network node, thereby realizing the network node's reservation of network resources. usage of.
下面结合应用示例对本申请再作进一步详细的描述。The present application will be described in further detail below in conjunction with application examples.
本应用示例中,End.NRP SID的行为均与两个集合相关联,分别是J1和J2,其中,J1包含一个或多个L2接口,或者一个或多个L3接口;J2包含一个或多个网络资源集合。对于一个网络节点,通过J1对应的出接口 上J2对应的NRP,将报文转发到新的目的地(英文可以表达为:forward the packet via the NRP of the outbound interface associated with the End.NRP SID)。In this application example, the behaviors of End.NRP SID are associated with two sets, namely J1 and J2. Among them, J1 contains one or more L2 interfaces, or one or more L3 interfaces; J2 contains one or more Collection of network resources. For a network node, through the outbound interface corresponding to J1 Upload the NRP corresponding to J2 and forward the packet to the new destination (English can be expressed as: forward the packet via the NRP of the outbound interface associated with the End.NRP SID).
控制设备根据用户业务或服务的用户业务特征全局规划网络资源,以为用户业务或服务分配对应的NRP;在转发设备上为对应NRP分配相应End.NRP SID,从而实现End.NRP SID与实际的NRP的关联。其中,在转发设备分配End.NRP SID的方式可以是控制设备分配或者静态配置等。The control device globally plans network resources according to the user business characteristics of the user business or service, and allocates the corresponding NRP for the user business or service; allocates the corresponding End.NRP SID to the corresponding NRP on the forwarding device, thereby realizing the End.NRP SID and the actual NRP association. Among them, the method of allocating End.NRP SID on the forwarding device can be control device allocation or static configuration.
图3为应用实施例物理组网架构示意图。假设各网络节点的locator规划如下:Figure 3 is a schematic diagram of the physical networking architecture of the application embodiment. Assume that the locator planning of each network node is as follows:
PE1:A:1::PE1:A:1::
P1:A:2::P1:A:2::
P2:A:3::P2:A:3::
PE2:A:4::。PE2:A:4::.
应用示例一Application example one
本应用实例中,以VPN业务和G.MTN资源为例,描述End.NRP SID运行机制。In this application example, the VPN service and G.MTN resources are used as examples to describe the End.NRP SID operating mechanism.
假设网络中三个虚拟专用网络(VPN,Virtual Private Network)客户提出的业务资源需求如表1所示。
It is assumed that the service resource requirements proposed by customers of three virtual private networks (VPNs) in the network are as shown in Table 1.
表1Table 1
根据三个VPN客户的业务资源需求,分配NRP,本应用示例中NRP为G.MTN子接口资源。在网络中为三个VPN客户分别计算出相应的SRv6 Policy路径,并在路径沿途的各网络节点上按照此业务带宽需求,结合节点出接口上的G.MTN子接口资源实现End.NRP SID与G.MTN资源的关联,得到如图4所示的End.NRP SID及对应的NRP示意图。According to the service resource requirements of the three VPN customers, NRP is allocated. In this application example, NRP is the G.MTN sub-interface resource. Calculate the corresponding SRv6 Policy paths for the three VPN customers in the network, and implement the End.NRP SID and The association of G.MTN resources results in the End.NRP SID and corresponding NRP diagram shown in Figure 4.
对于PE1,对物理接口GE1/0/0进行网络资源划分,形成End.NRP SID与G.MTN资源对应关系表如表2所示。

For PE1, divide the network resources of the physical interface GE1/0/0 to form a correspondence table between End.NRP SID and G.MTN resources, as shown in Table 2.

表2Table 2
对于P1,对物理接口GE2/0/0进行网络资源划分,形成End.NRP SID与G.MTN资源对应关系表如表3所示。
For P1, divide the network resources of physical interface GE2/0/0 to form a correspondence table between End.NRP SID and G.MTN resources, as shown in Table 3.
表3table 3
对于P2,对物理接口GE3/0/0进行网络资源划分,形成End.NRP SID与G.MTN资源对应关系表如表4所示。
For P2, divide the network resources of physical interface GE3/0/0 to form a correspondence table between End.NRP SID and G.MTN resources, as shown in Table 4.
表4Table 4
其中,在进行SRv6 Policy路径计算时,需要使用End.NRP SID进行编排,以便能够通过各End.NRP SID关联的具体NRP进行报文的转发。Among them, when performing SRv6 Policy path calculation, End.NRP SID needs to be used for orchestration so that packets can be forwarded through the specific NRP associated with each End.NRP SID.
三个VPN客户的SRv6 Policy路径信息(也可以称为段列表(segment list))分别编排如下:The SRv6 Policy path information (also called segment list) of the three VPN customers is organized as follows:
VPN1客户的SRv6 Policy的Segment list:<A:1::11,A:2::11,A:3::11,A:4::100>;Segment list of VPN1 customer's SRv6 Policy: <A:1::11,A:2::11,A:3::11,A:4::100>;
VPN2客户的SRv6 Policy的Segment list:<A:1::22,A:2::22,A:3::22,A:4::200>;Segment list of VPN2 customer’s SRv6 Policy: <A:1::22,A:2::22,A:3::22,A:4::200>;
VPN3客户的SRv6 Policy的Segment list:<A:1::33,A:2::33,A:3::33,A:4::300>。Segment list of VPN3 customer's SRv6 Policy: <A:1::33,A:2::33,A:3::33,A:4::300>.
其中,A:4::100、A:4::200、A:4::300分别为PE2节点分配给VPN1、VPN2、VPN3的VPN SID。Among them, A:4::100, A:4::200, and A:4::300 are the VPN SIDs assigned by the PE2 node to VPN1, VPN2, and VPN3 respectively.
需要说明的是:A:1::11、A:2::11、A:3::11、A:1::22、A:2::22、A:3::22、A:1::33、A:2::33、A:3::33均是End.NRP SID,如前所述,本应用示例并不 限定Function/或Arguments字段的数值,即11、22、33仅是示例,Function和/或Arguments字段的数值可以是任意数值,只要能够识别该SID需要进行相应的操作(利用出接口上的预留的NRP转发报文)即可。What needs to be explained is: A:1::11, A:2::11, A:3::11, A:1::22, A:2::22, A:3::22, A:1 ::33, A:2::33, and A:3::33 are all End.NRP SIDs. As mentioned above, this application example does not Limit the value of the Function/or Arguments field, that is, 11, 22, and 33 are just examples. The value of the Function and/or Arguments field can be any value, as long as the SID can be identified and corresponding operations are required (use the reservation on the outbound interface) NRP forwards packets).
下面结合图5以VPN1为例描述网络节点的处理以及报文转发过程,该过程包括以下步骤:The following uses VPN1 as an example to describe the processing of network nodes and the packet forwarding process in conjunction with Figure 5. The process includes the following steps:
步骤1:PE1根据VPN1的业务特征将CE1的流量引流到VPN1客户的SRv6 Policy隧道承载;Step 1: PE1 directs the traffic of CE1 to the SRv6 Policy tunnel of the VPN1 customer based on the service characteristics of VPN1;
具体地,PE1根据VPN1的SRv6 Policy封装报文,封装后的报文的报文头包括IPv6报文头以及分段路由头(SRH)。Specifically, PE1 encapsulates the packet according to the SRv6 Policy of VPN1, and the packet header of the encapsulated packet includes the IPv6 packet header and the segment routing header (SRH).
步骤2:PE1根据当前A:1::11的指示,查找对应表项(比如表2所示的表项),获得所标识的NRP为GE1/0/0物理接口的G.MTN1子接口,将报文通过该子接口转发出去;Step 2: PE1 searches for the corresponding entry (such as the entry shown in Table 2) based on the current instructions of A:1::11, and obtains the identified NRP as the G.MTN1 sub-interface of the GE1/0/0 physical interface. Forward the packet through the sub-interface;
步骤3:P1收到报文后,将报文中的目的地址修改为A:3::11,并根据当前A:2::11的指示,查找对应表项(比如表3所示的表项),获得所标识的NRP为GE2/0/0物理接口的G.MTN1子接口,将报文通过该子接口转发出去;Step 3: After receiving the message, P1 modifies the destination address in the message to A:3::11, and searches for the corresponding table entry (such as the table shown in Table 3) based on the current instructions of A:2::11. item), obtain the identified NRP as the G.MTN1 sub-interface of the GE2/0/0 physical interface, and forward the packet through the sub-interface;
步骤4:P2收到报文后,将报文中的目的地址修改为A:4::100,并根据当前A:3::11的指示,查找对应表项(比如表4所示的表项),获得所标识的NRP为GE3/0/0物理接口的G.MTN1子接口,将报文通过该子接口转发出去;Step 4: After receiving the message, P2 modifies the destination address in the message to A:4::100, and searches for the corresponding table entry (such as the table shown in Table 4) according to the current instructions of A:3::11. item), obtain the identified NRP as the G.MTN1 sub-interface of the GE3/0/0 physical interface, and forward the packet through the sub-interface;
步骤5:PE2根据A:4::100的指示,解封装报文,并转发至CE11。Step 5: PE2 decapsulates the packet according to the instructions of A:4::100 and forwards it to CE11.
应用示例二Application example two
本应用示例中,引入NRP标识(比如NRP-ID)的概念来标识一个NRP,以屏蔽或者抽象NRP。In this application example, the concept of NRP identification (such as NRP-ID) is introduced to identify an NRP to shield or abstract the NRP.
以下以VPN业务、NRP-ID和QoS队列资源为例,来描述End.NRP SID的运行机制。The following uses VPN services, NRP-ID and QoS queue resources as examples to describe the operating mechanism of End.NRP SID.
假设网络中三个VPN客户提出的业务资源需求如表5所示。
It is assumed that the service resource requirements proposed by three VPN customers in the network are as shown in Table 5.
表5table 5
根据三个VPN客户的业务资源需求,分配NRP,本应用示例中NRP为QoS队列资源。在网络中为三个VPN客户分别计算出相应的SRv6 Policy路径,并在路径沿途的各网络节点上按照此业务带宽需求,结合节点出接 口上的QoS队列资源,实现NRP-ID与End.NRP SID与相应带宽的QoS队列的关联,以及End.NRP SID与NRP-ID的关联,得到如图6所示的End.NRP SID与NRP-ID示意图。According to the business resource requirements of the three VPN customers, NRP is allocated. In this application example, NRP is the QoS queue resource. Calculate the corresponding SRv6 Policy paths for the three VPN customers in the network, and based on the service bandwidth requirements on each network node along the path, combined with the node outbound access The QoS queue resource on the interface realizes the association between NRP-ID and End.NRP SID and the QoS queue of the corresponding bandwidth, and the association between End.NRP SID and NRP-ID. The End.NRP SID and NRP-ID are obtained as shown in Figure 6. ID diagram.
对于PE1,对物理接口GE1/0/0进行网络资源划分,形成End.NRP SID与NRP-ID以及QoS队列资源的对应关系如表6所示。
For PE1, divide the network resources of the physical interface GE1/0/0 to form the corresponding relationship between End.NRP SID, NRP-ID and QoS queue resources, as shown in Table 6.
表7Table 7
对于PE1,对物理接口GE2/0/0进行网络资源划分,形成End.NRP SID与NRP-ID以及QoS队列资源的对应关系如表8所示。
For PE1, divide the network resources of physical interface GE2/0/0 to form the corresponding relationship between End.NRP SID, NRP-ID and QoS queue resources, as shown in Table 8.
表8Table 8
对于PE2,对物理接口GE3/0/0进行网络资源划分,形成End.NRP SID与NRP-ID以及QoS队列资源的对应关系如表9所示。
For PE2, divide the network resources of physical interface GE3/0/0 to form the corresponding relationship between End.NRP SID, NRP-ID and QoS queue resources, as shown in Table 9.
表9Table 9
其中,在进行SRv6 Policy路径计算时,需要使用End.NRP SID进行编排,以便能够通过各End.NRP SID标识的具体NRP进行报文的转发。Among them, when performing SRv6 Policy path calculation, End.NRP SID needs to be used for orchestration so that packets can be forwarded through the specific NRP identified by each End.NRP SID.
三个VPN客户的SRv6 Policy路径信息(也可以称为Segment list)分别编排如下:The SRv6 Policy path information (also called Segment list) of the three VPN customers is arranged as follows:
VPN1客户的SRv6 Policy的Segment list:<A:1::11,A:2::11,A:3::11,A:4::100>; Segment list of VPN1 customer's SRv6 Policy: <A:1::11,A:2::11,A:3::11,A:4::100>;
VPN2客户的SRv6 Policy的Segment list:<A:1::22,A:2::22,A:3::22,A:4::200>;Segment list of VPN2 customer’s SRv6 Policy: <A:1::22,A:2::22,A:3::22,A:4::200>;
VPN3客户的SRv6 Policy的Segment list:<A:1::33,A:2::33,A:3::33,A:4::300>。Segment list of VPN3 customer's SRv6 Policy: <A:1::33,A:2::33,A:3::33,A:4::300>.
其中,A:4::100、A:4::200、A:4::300分别为PE2节点分配给VPN1、VPN2、VPN3的VPN SID。Among them, A:4::100, A:4::200, and A:4::300 are the VPN SIDs assigned by the PE2 node to VPN1, VPN2, and VPN3 respectively.
需要说明的是:A:1::11、A:2::11、A:3::11、A:1::22、A:2::22、A:3::22、A:1::33、A:2::33、A:3::33均是End.NRP SID,如前所述,本应用示例并不限定Function/或Arguments字段的数值,即11、22、33仅是示例,Function和/或Arguments字段的数值可以是任意数值,只要能够识别该SID需要进行相应的操作(利用出接口上的预留的NRP转发报文)即可。What needs to be explained is: A:1::11, A:2::11, A:3::11, A:1::22, A:2::22, A:3::22, A:1 ::33, A:2::33, and A:3::33 are all End.NRP SIDs. As mentioned before, this application example does not limit the value of the Function/or Arguments field, that is, 11, 22, and 33 only is an example. The value of the Function and/or Arguments field can be any value, as long as the SID can be identified and corresponding operations are required (using the reserved NRP on the outgoing interface to forward packets).
下面结合图7以VPN1为例描述网络节点的处理以及报文转发过程,该过程包括以下步骤:The following uses VPN1 as an example to describe the processing of network nodes and the packet forwarding process in conjunction with Figure 7. The process includes the following steps:
步骤1:PE1根据VPN1的业务特征将CE1的流量引流到VPN1客户的SRv6 Policy隧道承载;Step 1: PE1 directs the traffic of CE1 to the SRv6 Policy tunnel of the VPN1 customer based on the service characteristics of VPN1;
具体地,PE1根据VPN1的SRv6 Policy封装报文,封装后的报文的报文头包括IPv6报文头以及SRH。Specifically, PE1 encapsulates the packet according to the SRv6 Policy of VPN1, and the packet header of the encapsulated packet includes the IPv6 packet header and SRH.
步骤2:PE1根据当前A:1::11的指示,查找对应表项(比如表7所示的表项),获得所标识的NPR为NRP-ID为100所标识的GE1/0/0物理接口的1G BW的QoS队列,将报文通过该QoS队列转发出去;Step 2: PE1 searches for the corresponding entry (such as the entry shown in Table 7) according to the current instruction of A:1::11, and obtains the identified NPR as the physical GE1/0/0 identified by NRP-ID 100. The QoS queue of the 1G BW of the interface forwards the packet through the QoS queue;
步骤3:P1收到报文后,将报文中的目的地址修改为A:3::11,并根据当前A:2::11的指示,查找对应表项(比如表8所示的表项),获得所标识的NRP为NRP-ID为100所标识的GE2/0/0物理接口的1G BW的QoS队列,将报文通过该QoS队列转发出去;Step 3: After receiving the message, P1 modifies the destination address in the message to A:3::11, and searches for the corresponding table entry (such as the table shown in Table 8) based on the current instructions of A:2::11. item), obtain the QoS queue of the 1G BW of the GE2/0/0 physical interface identified by the NRP identified by NRP-ID 100, and forward the packet through the QoS queue;
步骤4:P2收到报文后,将报文中的目的地址修改为A:4::100,并根据当前A:3::11的指示,查找对应表项(比如表9所示的表项),获得所标识的NRP为NRP-ID为100所标识的GE3/0/0物理接口的1G BW的QoS队列,将报文通过该QoS队列转发出去;Step 4: After receiving the message, P2 modifies the destination address in the message to A:4::100, and searches for the corresponding table entry (such as the table shown in Table 9) according to the current instructions of A:3::11. item), obtain the QoS queue of the 1G BW of the GE3/0/0 physical interface identified by the NRP identified by NRP-ID 100, and forward the packet through the QoS queue;
步骤5:PE2根据A:4::100的指示,解封装报文,并转发至CE11。Step 5: PE2 decapsulates the packet according to the instructions of A:4::100 and forwards it to CE11.
本申请应用示例中,End.NRP SID本地有效,且End.NRP SID全局可见或仅控制设备、头节点和网络节点本地可见。In this application application example, the End.NRP SID is valid locally, and the End.NRP SID is globally visible or only visible locally to the control device, head node, and network node.
从上面的描述可以看出,End.NRP增加了资源信息(即NRP信息)作为报文转发的判断要素,网络节点根据End.NRP SID匹配相应的网络资源进行转发。在特定的网段上,可以分配多个标识NRP的End.NRP SID,每个End.NRP SID代表在网络中分配的网络资源的子集。每组NRP都可以与至少一个End.NRP SID相关联。标识资源属性的End.NRP SID可用于构建具有一组保留网络资源的路径,这些网络资源可用于承载需要沿路径使用专用网络资源的服务流量。 As can be seen from the above description, End.NRP adds resource information (that is, NRP information) as a judgment factor for packet forwarding. Network nodes match the corresponding network resources according to the End.NRP SID for forwarding. On a specific network segment, multiple End.NRP SIDs that identify NRP can be allocated, and each End.NRP SID represents a subset of network resources allocated in the network. Each set of NRPs can be associated with at least one End.NRP SID. The End.NRP SID that identifies the resource attribute can be used to construct a path with a set of reserved network resources that can be used to carry service traffic that requires dedicated network resources along the path.
本申请实施例提供的方案,可以在应用到SRv6的网络的各种网络(比如IP承载网、SPN、云内网络等)中广泛应用。The solutions provided by the embodiments of this application can be widely used in various networks applied to SRv6 networks (such as IP bearer networks, SPNs, intra-cloud networks, etc.).
采用本申请实施例提供的方案,具有以下优点:Adopting the solutions provided by the embodiments of this application has the following advantages:
(1)具有兼容性(1) Compatible
本申请实施例的方案与IPv6基础协议兼容,如果转发设备不支持End.NRP功能,那么按照已有的IPv6转发机制转发即可,不存在兼容性问题。如果转发设备支持End.NRP功能,则可以通过解析SID获得对应的网络资源,并对报文进行转发。The solution of the embodiment of this application is compatible with the IPv6 basic protocol. If the forwarding device does not support the End.NRP function, then it can be forwarded according to the existing IPv6 forwarding mechanism, and there is no compatibility problem. If the forwarding device supports the End.NRP function, it can obtain the corresponding network resources by parsing the SID and forward the packet.
(2)可实施性强(2) Strong implementability
本申请实施例提供的方案,只要合理规划路径与End.NRP SID即可实现确定性网络资源转发,能够面向未来千行百业承载需求,满足大规模确定性与差异化服务。The solution provided by the embodiment of this application can achieve deterministic network resource forwarding as long as the path and End.NRP SID are reasonably planned, and can meet the future carrying needs of thousands of industries and meet large-scale deterministic and differentiated services.
3)性能影响小3) Little impact on performance
本申请实施例提供的方案,转发设备只需解析IPv6报文头中的End.NRP SID的语义即可,处理效率高,性能影响小,不会给转发芯片引入新的困难。With the solution provided by the embodiments of this application, the forwarding device only needs to parse the semantics of the End.NRP SID in the IPv6 message header. The processing efficiency is high, the performance impact is small, and it does not introduce new difficulties to the forwarding chip.
为了实现本申请实施例的方法,本申请实施例还提供了一种报文处理装置,设置在网络节点上,如图8所示,该装置包括:In order to implement the method of the embodiment of the present application, the embodiment of the present application also provides a message processing device, which is installed on the network node. As shown in Figure 8, the device includes:
获取单元801,配置为获取第一报文;其中,所述第一报文的SID与NRP关联;The obtaining unit 801 is configured to obtain the first message; wherein the SID of the first message is associated with the NRP;
处理单元802,配置为根据所述第一报文的SID对所述第一报文进行转发。The processing unit 802 is configured to forward the first message according to the SID of the first message.
其中,在一实施例中,所述处理单元802,配置为根据所述第一报文的SID关联的出接口和NRP转发所述第一报文。In one embodiment, the processing unit 802 is configured to forward the first message according to the outbound interface and NRP associated with the SID of the first message.
在一实施例中,所述处理单元802,配置为根据第一信息确定所述第一报文的SID对应的NRP。In an embodiment, the processing unit 802 is configured to determine the NRP corresponding to the SID of the first message according to the first information.
其中,在一实施例中,所述网络节点包含第一网络节点,所述处理单元802还配置为获得第二信息,所述第二信息包含至少一个第二网络节点的所述第一报文的SID;所述第二信息用于进行第一报文的封装。In one embodiment, the network node includes a first network node, and the processing unit 802 is further configured to obtain second information, where the second information includes the first message of at least one second network node. SID; the second information is used to encapsulate the first message.
在一实施例中,所述处理单元802,配置为:In one embodiment, the processing unit 802 is configured as:
接收控制设备下发的第二信息;Receive the second information sent by the control device;
或者,or,
接收所述至少一个第二网络节点发送的第三信息,所述第三信息包含至少一个第二网络节点的所述第一报文的SID;利用接收的第三信息,确定所述第二信息。Receive third information sent by the at least one second network node, where the third information includes the SID of the first message of the at least one second network node; use the received third information to determine the second information .
实际应用时,所述获取单元801和处理单元802可由报文处理装置中的处理器结合通信接口实现。In actual application, the acquisition unit 801 and the processing unit 802 may be implemented by a processor in a message processing device combined with a communication interface.
需要说明的是:上述实施例提供的报文处理装置在进行报文处理时, 仅以上述各程序模块的划分进行举例说明,实际应用中,可以根据需要而将上述处理分配由不同的程序模块完成,即将装置的内部结构划分成不同的程序模块,以完成以上描述的全部或者部分处理。另外,上述实施例提供的报文处理装置与报文处理方法实施例属于同一构思,其具体实现过程详见方法实施例,这里不再赘述。It should be noted that when the message processing device provided in the above embodiment performs message processing, Only the division of the above program modules is used as an example. In practical applications, the above processing allocation can be completed by different program modules as needed, that is, the internal structure of the device is divided into different program modules to complete all of the above descriptions or Partial processing. In addition, the message processing apparatus provided by the above embodiments and the message processing method embodiments belong to the same concept. Please refer to the method embodiments for the specific implementation process, which will not be described again here.
基于上述程序模块的硬件实现,且为了实现本申请实施例网络节点侧的方法,本申请实施例还提供了一种网络节点,如图9所示,网络节点900包括:Based on the hardware implementation of the above program module, and in order to implement the method on the network node side of the embodiment of the present application, the embodiment of the present application also provides a network node. As shown in Figure 9, the network node 900 includes:
通信接口901,能够与其他网络节点和控制设备进行信息交互;Communication interface 901 is capable of information interaction with other network nodes and control devices;
处理器902,与所述通信接口901连接,以实现与其他网络节点和控制设备进行信息交互,配置为运行计算机程序时,执行上述网络节点侧一个或多个技术方案提供的方法;The processor 902 is connected to the communication interface 901 to implement information interaction with other network nodes and control devices, and is configured to execute the method provided by one or more technical solutions on the network node side when running a computer program;
存储器903,所述计算机程序存储在存储器903上。Memory 903 on which the computer program is stored.
具体地,所述处理器902,配置为:Specifically, the processor 902 is configured as:
获取第一报文;其中,所述第一报文的SID与NRP关联;Obtain the first message; wherein the SID of the first message is associated with the NRP;
根据所述第一报文的SID并通过所述通信接口901对所述第一报文进行转发。The first message is forwarded through the communication interface 901 according to the SID of the first message.
其中,在一实施例中,所述处理器902,配置为根据所述第一报文的SID关联的出接口和NRP转发所述第一报文。In one embodiment, the processor 902 is configured to forward the first message according to the outbound interface and NRP associated with the SID of the first message.
在一实施例中,所述处理器902,配置为根据第一信息确定所述第一报文的SID对应的NRP。In an embodiment, the processor 902 is configured to determine the NRP corresponding to the SID of the first message according to the first information.
其中,在一实施例中,所述网络节点900包含第一网络节点,所述处理器902还配置为获得第二信息,所述第二信息包含至少一个第二网络节点的所述第一报文的SID;所述第二信息用于进行第一报文的封装。In one embodiment, the network node 900 includes a first network node, and the processor 902 is further configured to obtain second information, where the second information includes the first report of at least one second network node. The SID of the message; the second information is used to encapsulate the first message.
在一实施例中,所述处理器902,配置为:In one embodiment, the processor 902 is configured as:
通过所述通信接口901接收控制设备下发的第二信息;Receive the second information sent by the control device through the communication interface 901;
或者,or,
通过所述通信接口901接收所述至少一个第二网络节点发送的第三信息,所述第三信息包含至少一个第二网络节点的所述第一报文的SID;利用接收的第三信息,确定所述第二信息。The third information sent by the at least one second network node is received through the communication interface 901, and the third information includes the SID of the first message of the at least one second network node; using the received third information, Determine the second information.
需要说明的是:所述处理器902和通信接口901的具体处理过程可参照上述方法理解。It should be noted that the specific processing procedures of the processor 902 and the communication interface 901 can be understood with reference to the above method.
当然,实际应用时,网络节点900中的各个组件通过总线系统904耦合在一起。可理解,总线系统904配置为实现这些组件之间的连接通信。总线系统904除包括数据总线之外,还包括电源总线、控制总线和状态信号总线。但是为了清楚说明起见,在图9中将各种总线都标为总线系统904。Of course, in actual application, various components in the network node 900 are coupled together through the bus system 904 . It will be appreciated that bus system 904 is configured to enable connection communications between these components. In addition to the data bus, the bus system 904 also includes a power bus, a control bus and a status signal bus. However, for the sake of clarity, various buses are labeled as bus system 904 in FIG. 9 .
本申请实施例中的存储器903配置为存储各种类型的数据以支持网络节点900的操作。这些数据的示例包括:用于在网络节点900上操作的任 何计算机程序。The memory 903 in the embodiment of the present application is configured to store various types of data to support the operation of the network node 900 . Examples of such data include: any data used to operate on network node 900 any computer program.
可以理解,本申请实施例的存储器903可以是易失性存储器或者非易失性存储器,也可包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(ROM,Read Only Memory)、可编程只读存储器(PROM,Programmable Read-Only Memory)、可擦除可编程只读存储器(EPROM,Erasable Programmable Read-Only Memory)、电可擦除可编程只读存储器(EEPROM,Electrically Erasable Programmable Read-Only Memory)、磁性随机存取存储器(FRAM,ferromagnetic random access memory)、快闪存储器(Flash Memory)、磁表面存储器、光盘、或只读光盘(CD-ROM,Compact Disc Read-Only Memory);磁表面存储器可以是磁盘存储器或磁带存储器。易失性存储器可以是随机存取存储器(RAM,Random Access Memory),其用作外部高速缓存。通过示例性但不是限制性说明,许多形式的RAM可用,例如静态随机存取存储器(SRAM,Static Random Access Memory)、同步静态随机存取存储器(SSRAM,Synchronous Static Random Access Memory)、动态随机存取存储器(DRAM,Dynamic Random Access Memory)、同步动态随机存取存储器(SDRAM,Synchronous Dynamic Random Access Memory)、双倍数据速率同步动态随机存取存储器(DDRSDRAM,Double Data Rate Synchronous Dynamic Random Access Memory)、增强型同步动态随机存取存储器(ESDRAM,Enhanced Synchronous Dynamic Random Access Memory)、同步连接动态随机存取存储器(SLDRAM,SyncLink Dynamic Random Access Memory)、直接内存总线随机存取存储器(DRRAM,Direct Rambus Random Access Memory)。本申请实施例描述的存储器旨在包括但不限于这些和任意其它适合类型的存储器。It can be understood that the memory 903 in the embodiment of the present application may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memories. Among them, non-volatile memory can be read-only memory (ROM, Read Only Memory), programmable read-only memory (PROM, Programmable Read-Only Memory), erasable programmable read-only memory (EPROM, Erasable Programmable Read-Only Memory). Only Memory), Electrically Erasable Programmable Read-Only Memory (EEPROM, Electrically Erasable Programmable Read-Only Memory), Magnetic Random Access Memory (FRAM, ferromagnetic random access memory), Flash Memory, Magnetic Surface Memory , optical disk, or compact disc (CD-ROM, Compact Disc Read-Only Memory); magnetic surface memory can be disk storage or tape storage. Volatile memory can be random access memory (RAM, Random Access Memory), which is used as an external cache. By way of illustration, but not limitation, many forms of RAM are available, such as Static Random Access Memory (SRAM), Synchronous Static Random Access Memory (SSRAM), Dynamic Random Access Memory Memory (DRAM, Dynamic Random Access Memory), synchronous dynamic random access memory (SDRAM, Synchronous Dynamic Random Access Memory), double data rate synchronous dynamic random access memory (DDRSDRAM, Double Data Rate Synchronous Dynamic Random Access Memory), enhanced Type Synchronous Dynamic Random Access Memory (ESDRAM, Enhanced Synchronous Dynamic Random Access Memory), Synchronous Link Dynamic Random Access Memory (SLDRAM, SyncLink Dynamic Random Access Memory), Direct Memory Bus Random Access Memory (DRRAM, Direct Rambus Random Access Memory) ). The memories described in the embodiments of the present application are intended to include, but are not limited to, these and any other suitable types of memories.
上述本申请实施例揭示的方法可以应用于所述处理器902中,或者由所述处理器902实现。所述处理器902可能是一种集成电路芯片,具有信号的处理能力。在实现过程中,上述方法的各步骤可以通过所述处理器902中的硬件的集成逻辑电路或者软件形式的指令完成。上述的所述处理器902可以是通用处理器、数字信号处理器(DSP,Digital Signal Processor),或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。所述处理器902可以实现或者执行本申请实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者任何常规的处理器等。结合本申请实施例所公开的方法的步骤,可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件模块组合执行完成。软件模块可以位于存储介质中,该存储介质位于存储器903,所述处理器902读取存储器903中的信息,结合其硬件完成前述方法的步骤。The methods disclosed in the above embodiments of the present application can be applied to the processor 902 or implemented by the processor 902 . The processor 902 may be an integrated circuit chip with signal processing capabilities. During the implementation process, each step of the above method can be completed by instructions in the form of hardware integrated logic circuits or software in the processor 902 . The above-mentioned processor 902 may be a general-purpose processor, a digital signal processor (DSP, Digital Signal Processor), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The processor 902 can implement or execute the various methods, steps and logical block diagrams disclosed in the embodiments of this application. A general-purpose processor may be a microprocessor or any conventional processor, etc. The steps of the method disclosed in the embodiments of this application can be directly implemented by a hardware decoding processor, or executed by a combination of hardware and software modules in the decoding processor. The software module may be located in a storage medium, and the storage medium is located in the memory 903. The processor 902 reads the information in the memory 903 and completes the steps of the foregoing method in combination with its hardware.
在示例性实施例中,网络节点900可以被一个或多个应用专用集成电路(ASIC,Application Specific Integrated Circuit)、DSP、可编程逻辑器件 (PLD,Programmable Logic Device)、复杂可编程逻辑器件(CPLD,Complex Programmable Logic Device)、现场可编程门阵列(FPGA,Field-Programmable Gate Array)、通用处理器、控制器、微控制器(MCU,Micro Controller Unit)、微处理器(Microprocessor)、或者其他电子元件实现,用于执行前述方法。In an exemplary embodiment, the network node 900 may be configured by one or more Application Specific Integrated Circuits (ASICs), DSPs, programmable logic devices (PLD, Programmable Logic Device), Complex Programmable Logic Device (CPLD, Complex Programmable Logic Device), Field-Programmable Gate Array (FPGA, Field-Programmable Gate Array), general-purpose processor, controller, microcontroller (MCU, Micro Controller Unit), microprocessor (Microprocessor), or other electronic components for executing the aforementioned method.
在示例性实施例中,本申请实施例还提供了一种存储介质,即计算机存储介质,具体为计算机可读存储介质,例如包括存储计算机程序的存储器903,上述计算机程序可由网络节点900的处理器902执行,以完成前述网络节点侧方法所述步骤。计算机可读存储介质可以是FRAM、ROM、PROM、EPROM、EEPROM、Flash Memory、磁表面存储器、光盘、或CD-ROM等存储器。In an exemplary embodiment, the embodiment of the present application also provides a storage medium, that is, a computer storage medium, specifically a computer-readable storage medium, such as a memory 903 that stores a computer program. The computer program can be processed by the network node 900 The processor 902 is executed to complete the steps described in the foregoing network node side method. The computer-readable storage medium can be FRAM, ROM, PROM, EPROM, EEPROM, Flash Memory, magnetic surface memory, optical disk, or CD-ROM and other memories.
需要说明的是:“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。It should be noted that "first", "second", etc. are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence.
另外,本申请实施例所记载的技术方案之间,在不冲突的情况下,可以任意组合。In addition, the technical solutions described in the embodiments of this application can be combined arbitrarily as long as there is no conflict.
以上所述,仅为本申请的较佳实施例而已,并非用于限定本申请的保护范围。 The above descriptions are only preferred embodiments of the present application and are not intended to limit the protection scope of the present application.

Claims (10)

  1. 一种报文处理方法,应用于网络节点,包括:A message processing method, applied to network nodes, including:
    获取第一报文;其中,所述第一报文的段标识SID与网络资源分片NRP关联;Obtain the first message; wherein the segment identifier SID of the first message is associated with the network resource fragmentation NRP;
    根据所述第一报文的SID对所述第一报文进行转发。The first message is forwarded according to the SID of the first message.
  2. 根据权利要求1所述的方法,其中,所述根据所述第一报文的SID对所述第一报文进行转发,包括:The method according to claim 1, wherein forwarding the first message according to the SID of the first message includes:
    根据所述第一报文的SID关联的出接口和NRP转发所述第一报文。Forward the first message according to the outbound interface associated with the SID of the first message and the NRP.
  3. 根据权利要求2所述的方法,其中,所述根据所述第一报文的SID关联的出接口和NRP转发所述第一报文,包括:The method according to claim 2, wherein forwarding the first message based on the outbound interface and NRP associated with the SID of the first message includes:
    根据第一信息确定所述第一报文的SID对应的NRP;Determine the NRP corresponding to the SID of the first message according to the first information;
    根据所述第一报文的SID关联的出接口和NRP转发所述第一报文。Forward the first message according to the outbound interface associated with the SID of the first message and the NRP.
  4. 根据权利要求3所述的方法,其中,所述第一信息是预配置的,或者是由控制设备下发的。The method according to claim 3, wherein the first information is preconfigured or issued by a control device.
  5. 根据权利要求1至4任一项所述的方法,其中,所述网络节点包含第一网络节点,所述方法还包括:The method according to any one of claims 1 to 4, wherein the network node includes a first network node, and the method further includes:
    获得第二信息,所述第二信息包含至少一个第二网络节点的所述第一报文的SID;所述第二信息用于进行第一报文的封装。Second information is obtained, the second information includes the SID of the first message of at least one second network node; the second information is used to encapsulate the first message.
  6. 根据权利要求5所述的方法,其中,所述获得第二信息,包括:The method according to claim 5, wherein said obtaining the second information includes:
    接收控制设备下发的第二信息;Receive the second information sent by the control device;
    或者,or,
    接收所述至少一个第二网络节点发送的第三信息,所述第三信息包含至少一个第二网络节点的所述第一报文的SID;利用接收的第三信息,确定所述第二信息。Receive third information sent by the at least one second network node, where the third information includes the SID of the first message of the at least one second network node; use the received third information to determine the second information .
  7. 一种报文处理装置,包括:A message processing device, including:
    获取单元,配置为获取第一报文;其中,所述第一报文的SID与NRP关联;The acquisition unit is configured to acquire the first message; wherein the SID of the first message is associated with the NRP;
    处理单元,配置为根据所述第一报文的SID对所述第一报文进行转发。A processing unit configured to forward the first message according to the SID of the first message.
  8. 一种网络节点,包括:处理器及通信接口;其中,A network node includes: a processor and a communication interface; wherein,
    所述处理器,配置为:The processor is configured as:
    获取第一报文;其中,所述第一报文的SID与NRP关联;Obtain the first message; wherein the SID of the first message is associated with the NRP;
    根据所述第一报文的SID并通过所述通信接口对所述第一报文进行转发。The first message is forwarded through the communication interface according to the SID of the first message.
  9. 一种网络节点,包括:处理器和配置为存储能够在处理器上运行的计算机程序的存储器, A network node including: a processor and memory configured to store a computer program capable of running on the processor,
    其中,所述处理器配置为运行所述计算机程序时,执行权利要求1至6任一项所述方法的步骤。Wherein, the processor is configured to perform the steps of the method according to any one of claims 1 to 6 when running the computer program.
  10. 一种存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现权利要求1至6任一项所述方法的步骤。 A storage medium on which a computer program is stored, which implements the steps of the method of any one of claims 1 to 6 when executed by a processor.
PCT/CN2023/105755 2022-07-11 2023-07-04 Packet processing method and device, network node and storage medium WO2024012316A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210813599.5 2022-07-11
CN202210813599.5A CN117424940A (en) 2022-07-11 2022-07-11 Message processing method, device, network node and storage medium

Publications (1)

Publication Number Publication Date
WO2024012316A1 true WO2024012316A1 (en) 2024-01-18

Family

ID=89527144

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/105755 WO2024012316A1 (en) 2022-07-11 2023-07-04 Packet processing method and device, network node and storage medium

Country Status (2)

Country Link
CN (1) CN117424940A (en)
WO (1) WO2024012316A1 (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112636935A (en) * 2019-10-08 2021-04-09 中兴通讯股份有限公司 Virtual private network multicast method based on IPv6 network and electronic equipment
CN113411258A (en) * 2021-06-07 2021-09-17 新华三技术有限公司 Message processing method and device
CN113411834A (en) * 2020-03-17 2021-09-17 华为技术有限公司 Message processing method, device, equipment and storage medium
CN113923161A (en) * 2021-10-08 2022-01-11 新华三信息安全技术有限公司 Message forwarding method and device
WO2022068436A1 (en) * 2020-09-30 2022-04-07 华为技术有限公司 Service processing method and related device
US11323371B1 (en) * 2021-01-28 2022-05-03 Juniper Networks, Inc. Micro SID packet processing with operations, administration, and management

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112636935A (en) * 2019-10-08 2021-04-09 中兴通讯股份有限公司 Virtual private network multicast method based on IPv6 network and electronic equipment
CN113411834A (en) * 2020-03-17 2021-09-17 华为技术有限公司 Message processing method, device, equipment and storage medium
WO2022068436A1 (en) * 2020-09-30 2022-04-07 华为技术有限公司 Service processing method and related device
US11323371B1 (en) * 2021-01-28 2022-05-03 Juniper Networks, Inc. Micro SID packet processing with operations, administration, and management
CN113411258A (en) * 2021-06-07 2021-09-17 新华三技术有限公司 Message processing method and device
CN113923161A (en) * 2021-10-08 2022-01-11 新华三信息安全技术有限公司 Message forwarding method and device

Also Published As

Publication number Publication date
CN117424940A (en) 2024-01-19

Similar Documents

Publication Publication Date Title
CN111865796B (en) Path Computation Element Central Controller (PCECC) for network traffic
US10320664B2 (en) Cloud overlay for operations administration and management
JP7432095B2 (en) How to forward packets in SRv6 service function chain, SFF, and SF devices
WO2021180077A1 (en) Path establishment method, data transmission method and apparatus, network node, and storage medium
EP2945330B1 (en) Route management method, route method, network controller and router
EP3742683B1 (en) Method and device for processing packet by using unified sr label stack
EP3905609A1 (en) Service data forwarding method, network device, and network system
EP2675123A1 (en) Allocating and distributing labels for packet encapsulation
US20230300070A1 (en) Packet Sending Method, Device, and System
CN107646185A (en) Operation, management and processing (OAM) in data center environment is covered
US11588730B2 (en) Label management method, data stream processing method, and device
CN112019433B (en) Message forwarding method and device
WO2015192501A1 (en) Address information publishing method and apparatus
WO2017124709A1 (en) Method of establishing traffic engineering tunnel and device
WO2022110535A1 (en) Packet sending method, device, and system
WO2022237291A1 (en) Message transmission method and apparatus, related device, and storage medium
US20210409318A1 (en) Packet Transmission Method and Device
US7649904B1 (en) Seamless split-horizon flooding of layer two (L2) network traffic on non-native and mixed architectures
CN112202670B (en) SRv 6-segment route forwarding method and device
WO2024012316A1 (en) Packet processing method and device, network node and storage medium
WO2022166465A1 (en) Message processing method and related apparatus
WO2024002101A1 (en) Packet transmission method and apparatus, related device, and storage medium
CN115348202A (en) Data transmission method, device and equipment based on network slice and storage medium
WO2023051179A1 (en) Method and apparatus for receiving border gateway protocol routing, method and apparatus for sending border gateway protocol routing, and storage medium
CN112104539B (en) Information interaction method, device and system in segmented NGMVPN

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: 23838808

Country of ref document: EP

Kind code of ref document: A1