CN117424940A - Message processing method, device, network node and storage medium - Google Patents

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

Info

Publication number
CN117424940A
CN117424940A CN202210813599.5A CN202210813599A CN117424940A CN 117424940 A CN117424940 A CN 117424940A CN 202210813599 A CN202210813599 A CN 202210813599A CN 117424940 A CN117424940 A CN 117424940A
Authority
CN
China
Prior art keywords
message
sid
nrp
network node
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210813599.5A
Other languages
Chinese (zh)
Inventor
刘雅思
程伟强
姜文颖
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Mobile Communications Group Co Ltd
China Mobile Communications Ltd Research Institute
Original Assignee
China Mobile Communications Group Co Ltd
China Mobile Communications Ltd Research Institute
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 China Mobile Communications Group Co Ltd, China Mobile Communications Ltd Research Institute filed Critical China Mobile Communications Group Co Ltd
Priority to CN202210813599.5A priority Critical patent/CN117424940A/en
Priority to PCT/CN2023/105755 priority patent/WO2024012316A1/en
Publication of CN117424940A publication Critical patent/CN117424940A/en
Pending legal-status Critical Current

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

Abstract

The application discloses a message processing method, a message processing device, a network node and a storage medium. The method comprises the following steps: the network node acquires a first message; wherein the Segment Identification (SID) of the first message is associated with a Network Resource Partition (NRP); and forwarding the first message according to the SID of the first message.

Description

Message processing method, device, network node and storage medium
Technical Field
The present invention relates to the field of transmission and bearer networks, and in particular, to a method and apparatus for processing a packet, a network node, and a storage medium.
Background
With the continued development of fifth generation mobile communication technologies (5G) and computing networks, differentiated network service requirements are continually increasing while providing highly reliable and highly scalable Internet Protocol (IP) network services. The operator network needs to reserve a set of network resources for a particular customer or a particular service while specifying explicit paths to achieve resource isolation from other customers and services in the same network. However, there is no effective solution at present how to implement the identification of allocated dedicated network resources in the message forwarding process.
Disclosure of Invention
In order to solve the related technical problems, embodiments of the present application provide a method, an apparatus, a network node, and a storage medium for processing a message.
The technical scheme of the embodiment of the application is realized as follows:
the embodiment of the application provides a message processing method, which is applied to a network node and comprises the following steps:
acquiring a first message; wherein the Segment Identification (SID) of the first message is associated with a network resource partition (NRP, network Resource Partition);
and forwarding the first message according to the SID of the first message.
In the above solution, the forwarding the first packet according to the SID of the first packet includes:
and forwarding the first message according to the NRP and the output interface associated with the SID of the first message.
In the above solution, the forwarding the first packet according to the output interface and the NRP associated with the SID of the first packet includes:
determining NRP corresponding to SID of the first message according to the first information;
and forwarding the first message according to the NRP and the output interface associated with the SID of the first message.
In the above scheme, 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:
obtaining second information, wherein the second information comprises SIDs of the first message of at least one second network node; and the second information is used for packaging the first message.
In the above solution, the obtaining the second information includes:
receiving second information issued by control equipment;
or,
receiving third information sent by the at least one second network node, wherein the third information comprises SIDs of the first messages of the at least one second network node; and determining the second information by using the received third information.
The embodiment of the application also provides a message processing device, which comprises:
the acquisition unit is used for acquiring the first message; wherein, the SID of the first message is associated with NRP;
and the processing unit is used for forwarding the first message according to the SID of the first message.
The embodiment of the application also provides a network node, which comprises: a processor and a communication interface; wherein,
the processor is configured to:
acquiring a first message; wherein, the SID of the first message is associated with NRP;
and forwarding the first message through the communication interface according to the SID of the first message.
The embodiment of the application also provides a network node, which comprises: a processor and a memory for storing a computer program capable of running on the processor,
wherein the processor is configured to execute the steps of any of the methods described above when the computer program is run.
The present embodiments also provide a storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of any of the methods described above.
The method, the device, the network node and the storage medium for processing the message provided by the embodiment of the application, wherein the network node acquires a first message; wherein, the SID of the first message is associated with NRP; and forwarding the first message according to the SID of the first message. According to the scheme provided by the embodiment of the application, a new type of endpoint behavior is defined, and the corresponding SIDs are associated with the NRPs to identify the NRPs which can be operated by the SRv message at the network node, so that the network node can use reserved network resources.
Drawings
FIG. 1 is a flow chart of a message processing method according to an embodiment of the present application;
FIG. 2 is a schematic diagram of a SID format according to an embodiment of the present application;
FIG. 3 is a schematic diagram of an exemplary physical networking architecture for the present application;
FIG. 4 is a schematic diagram of an application example end. NRP SID and corresponding NRP;
fig. 5 is a schematic diagram of a processing and message forwarding flow of a network node according to an application example of the present application;
FIG. 6 is a schematic diagram of an application example end. NRP SID and NRP-ID;
fig. 7 is a schematic diagram of a process of another network node and a packet forwarding flow according to an application example of the present application;
FIG. 8 is a schematic diagram of a message processing apparatus according to an embodiment of the present disclosure;
fig. 9 is a schematic diagram of a network node structure according to an embodiment of the present application.
Detailed Description
The present application is described in further detail below in connection with examples.
In the related art, SRv adopts the existing IPv6 forwarding technology, is combined with the Segment Routing (SR), realizes the network programming through a flexible IPv6 extension head, simplifies the network protocol type, has good expansibility and programmability, can meet the diversified requirements of more new services, provides high reliability, and has good application prospect in cloud network services.
The SID of standard SRv has routable properties that simplify inter-domain path creation, enabling the ability to simplify the establishment of end-to-end paths in IPv6 networks. Meanwhile, SRv SID supports programmable capability, can meet flexible network and service function processing, combines collaborative support of a centralized control plane and a distributed control plane, can flexibly meet requirements of various services and network functions, and is suitable for the requirements of network and service development. In SRv technology, there is a mechanism: explicit source routing may be implemented without introducing each path state into the network.
In SRv technology, while a centralized controller may possess a global view of network state and may use different SR paths to provide different services, conventional differentiated quality of service (DiffServ QoS) mechanisms are still relied upon to provide coarse-grained traffic differentiation in the network during packet forwarding. This mechanism may be sufficient for certain types of services, however, certain customers or services may need to allocate a set of dedicated network resources in the network to achieve resource isolation from other customers and services in the same network, and the number of customers or services of this type may be greater than the number of traffic classes available for DiffServ QoS. In the related art, the SRv technology does not have the ability to reserve network resources and/or identify a set of network resources reserved for a service or customer.
Based on this, in various embodiments of the present application, a new SRv endpoint behavior (english may be expressed as SRv6 Endpoint Behavior) is defined, and the SID of the new SRv endpoint behavior is associated with the NRP to identify the NRP that the SRv message can operate on at a specific network node, thereby implementing the network node's identification of reserved network resources (also referred to as dedicated network resources).
Wherein, in the embodiment of the present application, NRP means: a set of network resources allocated from an underlying (underlay) network to carry a specific set of network traffic and meet a desired target with a specific service level (SLO, specific Service Level Objectives) and service level (SLE, service Level Expectations) (english may 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).
The NRP includes, but is not limited to, time Division Multiplexing (TDM) channels, network bandwidth, time slots, queues, tunnels, SRv policies (Policy), computing resources, storage resources, and the like.
The embodiment of the application provides a message processing method, which is applied to a network node, as shown in fig. 1, and comprises the following steps:
step 101: acquiring a first message; wherein, the SID of the first message is associated with NRP;
step 102: and forwarding the first message according to the SID of the first message.
In practical application, the network node may include a device supporting SRv technology, such as a slice packet network (SPN, slicing Packet Network), a router, or a data center switch, and the network node may also be referred to as an endpoint or a node, which is not limited in this embodiment of the present application, so long as the function thereof is implemented.
From the perspective of the forwarding path of the first packet, the network node may be a head node (also referred to as a head node, or a source node), or may be an intermediate forwarding node.
In step 101, in practical application, the obtaining the first packet may be understood as locally generating the first packet, or may be understood as obtaining the first packet from another node.
In practical application, the message may be understood as a packet (english may be expressed as packet), or be a flow (english may be expressed as traffic), which is not limited in this embodiment of the present application, so long as the function thereof is implemented.
The association of the SID of the first message with the NRP means that: the SID of the first message is associated with an NRP assigned to the first message by the network node. And for the first message, after the network node is locally matched with the SID, the network node can know that the action adopted by the network node is to forward the message by utilizing the NRP of the first message according to the matched SID. That is, the SID is only valid locally. Thus, the SID of the first message refers to the SID of the network node.
In practical applications, the association of the SID with the NRP may be understood as that the SID is related to the NRP (english may be expressed as related association), may be understood as that the SID corresponds to the NRP (english may be expressed as related), and may be understood as that the SID indicates (english may be expressed as indicated) NRP.
In this embodiment of the present application, a type of SID is newly defined, and the SID of the first packet is the SID of the newly defined type, which may be defined as an end. Illustratively, the SID in the embodiment of the present application may adopt the SID format shown in fig. 2, where the SID format shown in fig. 2 is composed of three parts, namely, a Locator (Locator), a Function (Function), and a parameter segment (parameters). In the format shown in fig. 2, the Locator field has a locating function, so that the Locator field is generally unique in the SR domain, other nodes in the network can locate the node through the Locator network segment route, and all SRv SIDs issued by the node can also reach through the Locator network segment route; the Function field represents instructions of the device, wherein the instructions are preset by the device, and the Function field is used for indicating a SRv SID generating node to perform corresponding functional operation; the fields are optional fields, and may not be used to define information such as flow and service of some messages. That is, the end.NRP SID can be identified with a Function field, an end.NRP SID can be identified with an images field, and an end.NRP SID can be identified with a function+images.
Different types of SIDs define different execution actions, and when the SID format shown in fig. 2 is employed, the functionality and/or images fields may be used to distinguish between SIDs of embodiments of the present application and other types of SIDs. It should be noted that, for the SID, function and/or structures field of the present embodiment, no explicit value (may be understood as a value) is defined, that is, the Function and/or structures field has no specific number, that is, the Function and/or structures field may be defined according to the need, and the values of the Function and/or structures field are not limited in the present embodiment. In practical application, the values can be uniformly configured in the whole network, so that the values of each node are consistent, or the values of each node are not uniformly configured in the whole network, and the values of each node are inconsistent under the condition.
The SID of the new type in the embodiment of the present application may be understood as defining a new endpoint behavior (the english of the behavior may be expressed as behavir), and the name may be end. Nrp can be understood as a variant of end.x behavior (english can be expressed as behavior) defined in the related art (english can be expressed as variant). NRP is a SRv instance of an adjacency SID (Adj-SID), mainly used for traffic forwarding and NRP identification. Wherein end. NRP is associated with a set of at least one layer two (L2) or layer three (L3) adjacency while being associated with a set of at least one NRP.
Accordingly, for one network node, at least one end.nrp SID identifying a resource attribute may be assigned, the end.nrp SID being associated with at least one L2 or L3 contiguous forward next hop, which may be selected by a hash algorithm if multiple next hops are associated. Meanwhile, an end.nrp SID is associated with a local NRP on each node, which is used to forward messages with end.nrp SIDs.
From the perspective of one link, multiple end. Nrp SIDs may be assigned to identify different contiguous forwarding next hops and resource sets. A set of end.nrp SIDs may be used to construct a list of SIDs (list) for directing traffic to be forwarded along an explicit path and processed at each instantiation node using NRP.
In practical application, the SID of the network node may be allocated by the network node or may be allocated by a control device, which is not limited in this embodiment of the present application. The SID of the embodiment of the present application may synchronize information such as the SID and the corresponding endpoint behavior type to the control device through static configuration (i.e. pre-configuration), or based on network telemetry (which may also be expressed as network telemetry), border gateway protocol-link status (BGP-LS), or netconf, so that the control device may learn what behavior type the SID of the embodiment of the present application is, that is, learn that the SID of the embodiment of the present application is a SID with traffic forwarding associated with NRP; the network node may synchronize information such as SID and corresponding endpoint behavior type to other network elements, i.e. other network nodes, through static configuration or based on protocols such as Interior Gateway Protocol (IGP).
Of course, the SID of the embodiment of the present application may also take other formats, which are not limited in this embodiment of the present application.
The forwarding operation in step 102 may be understood as that the payload (payload) of the message is not modified, only the modification of the header required for forwarding is performed, and then the message is forwarded.
In the embodiment of the application, in packet forwarding, each end.nrp SID associates an interface and an NRP. That is, the end. NRP SID may be used to obtain an outgoing interface of the network node, and NRP for message forwarding on the outgoing interface. Specifically, each forwarding node (which may also be referred to as a transit node) may use the end.nrp SID to determine the outgoing interface of the message and the associated local NRP, and then use the local NRP to forward the message to the next-hop node.
Based on this, in an embodiment, the specific implementation of step 102 may include:
and forwarding the first message according to the NRP and the output interface associated with the SID of the first message.
In practical application, the network node may locally store at least one SID indicating an outgoing interface of the message and related local NRP, and determine, according to a correspondence between the SID and NRP information, an NRP corresponding to the SID of the first message.
Based on this, in an embodiment, the network node determines, according to the first information, an NRP corresponding to the SID of the first packet; the first information includes a correspondence between SID and NPR information, i.e., the first information includes SID and corresponding NPR information.
Here, in actual application, the first information may be preconfigured at the network node or may be issued by a control device. The first information may be presented in a table, which is not limited in this embodiment of the present application.
The control device, such as a Software Defined Network (SDN) controller, a network management system (may also be referred to as a network management system), may also be referred to as a management device, or a management system, which is not limited in this embodiment of the present application, so long as the function thereof is implemented.
In practical applications, the functions of the control device may include configuration delivery, information monitoring, path planning, and the like. Wherein in SDN, the control device comprises an SDN controller, and in non-SDN, the control device comprises a network management system.
For the first message, after the first node receives the message, the routing information needs to be encapsulated in the message header so as to realize that the first message is guided to pass through a network, namely the first message is forwarded.
Based on this, in an embodiment, when the network node comprises a first network node, the method may further comprise:
obtaining second information, wherein the second information comprises SIDs of the first message of at least one second network node; and the second information is used for packaging the first message.
That is, the first network node encapsulates the first message with the second information.
The second information includes a SID corresponding to the path. In practical application, the second information may be presented in a table form, which is not limited in the embodiment of the present application.
In practical application, the first network node is a first node, and the first network node is a network edge node, which may be called a PE node, a PE router, a 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 referred to as 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 by means of a static configuration.
In an embodiment, the first network node may receive the second information sent by the control device, so as to obtain the second information.
In an embodiment, the first network node may also generate the second information itself; specifically, the first network node receives third information sent by the at least one second network node, where the third information includes the SID of the first packet of the at least one second network node; and determining the second information by using the received third information.
Here, in practical application, the first network node and the second network node may process multiple client or service messages, in this scenario, when the second network node sends the SID of a message of a different client or service, the service features of the different client or service may be sent simultaneously, so that the first network node can distinguish the SID of a message of a different client or service of the second network node, and of course, the first network node may also distinguish the SID of a message of a different client or service of the second network node through other manners, which is not limited in this embodiment of the present application.
As can be seen from the above description, the association between the SID and the NRP of the second network node needs to be transferred to the first network node, so that the first network node performs the subsequent encapsulation of the packet. The association relationship between the SID and the NRP of the second network node can be transferred to the first network node by means of static configuration, or the control device issues, or the second network node sends the information to the first network node.
As can be seen from the above description, in the embodiment of the present application, a type of SID is newly defined, and the newly defined SID is used for associating with NRP. In practical application, when the scheme of the embodiment of the application is applied, a plurality of SIDs for identifying NRPs can be allocated on a specific network segment, and from the perspective of the whole specific network segment, each SID represents a subset of network resources allocated in the network so as to meet the needs of a single or a group of clients or services. NRP allocation on network segments may be accomplished by local configuration of network nodes or by control devices, which embodiments of the present application do not limit.
According to the method provided by the embodiment of the application, a network node acquires a first message; wherein, the SID of the first message is associated with NRP; and forwarding the first message according to the SID of the first message. According to the scheme provided by the embodiment of the application, a new type of endpoint behavior is defined, and the corresponding SIDs are associated with the NRPs to identify the NRPs which can be operated by the SRv message at the network node, so that the network node can use reserved network resources.
The present application is described in further detail below in connection with application examples.
In this application example, the behaviors of end.nrp SID are associated with two sets, J1 and J2, respectively, where J1 contains one or more L2 interfaces, or one or more L3 interfaces; j2 contains one or more sets of network resources. For a network node, the message is forwarded to a new destination (English may be expressed as: forward the packet via the NRP of the outbound interface associated with the end. NRP SID) through the NRP corresponding to J2 on the egress interface corresponding to J1.
The control equipment globally plans network resources according to the user service characteristics of the user service or service so as to allocate corresponding NRP for the user service or service; and allocating corresponding end.NRP SIDs for the corresponding NRPs on the forwarding device, so that the association of the end.NRP SIDs and the actual NRPs is realized. The mode of allocating end.NRP SIDs at the forwarding device can be control device allocation or static configuration.
Fig. 3 is a physical networking architecture diagram of an application embodiment. The locator plan for each network node is assumed as follows:
PE1:A:1::
P1:A:2::
P2:A:3::
PE2:A:4::。
application example one
In this application example, VPN traffic and g.mtn resources are taken as examples, and the end.nrp SID operation mechanism is described.
Suppose that three Virtual Private Network (VPN) clients in the network propose traffic resource requirements as shown in table 1.
TABLE 1
According to the service resource requirements of three VPN clients, NRP is distributed, and in the application example, NRP is G.MTN subinterface resource. Corresponding SRv Policy paths are calculated for three VPN clients in a network respectively, and according to the service bandwidth requirement, the association of end.NRP SID and G.MTN resources is realized on each network node along the path by combining G.MTN subinterface resources on a node output interface, so that the end.NRP SID and a corresponding NRP schematic diagram shown in figure 4 are obtained.
For PE1, the physical interfaces GE1/0/0 are subjected to network resource division to form a table of correspondence between end.NRP SIDs and G.MTN resources as shown in Table 2.
TABLE 2
For P1, the physical interface GE2/0/0 is divided into network resources, and the table of the correspondence between End.NRP SID and G.MTN resources is formed as shown in Table 3.
Outlet interface End.NRP G.MTN Resource information: BW (BW)
GE2/0/0 A:2::11 GE2/0/0.MTN1 10G
GE2/0/0 A:2::22 GE2/0/0.MTN2 20G
GE2/0/0 A:2::33 GE2/0/0.MTN3 30G
TABLE 3 Table 3
For P2, the physical interface GE3/0/0 is divided into network resources, and the table of the correspondence between End.NRP SID and G.MTN resources is shown in Table 4.
Outlet interface End.NRP G.MTN Resource information: BW (BW)
GE3/0/0 A:3::11 GE3/0/0.MTN1 10G
GE3/0/0 A:3::22 GE3/0/0.MTN2 20G
GE3/0/0 A:3::33 GE3/0/0.MTN3 30G
TABLE 4 Table 4
In the SRv Policy path calculation, an end.nrp SID needs to be used for arrangement, so that a message can be forwarded through a specific NRP associated with each end.nrp SID.
The SRv Policy path information (which may also be referred to as segment list) for the three VPN clients is organized as follows:
SRv6Policy Segment list for VPN1 client: < A: 1:11, A: 2:11, A: 3:11, A: 4:100 >;
SRv6Policy Segment list of VPN2 client: < A:1::22, A:2::22, A:3::22, A:4::200>;
SRv6Policy Segment list for VPN3 client: < A:1::33, A:2::33, A:3::33, A:4::300>.
Wherein, A1:100, A4:200 and A1:300 are VPN SIDs allocated to VPN1, VPN2 and VPN3 by PE2 nodes respectively.
It should be noted that: 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 are all end.NRP SIDs, as previously described, the application examples do not limit the values of the Function and/or the fields, i.e., 11, 22, 33 are examples only, and the values of the Function and/or the fields can be any value as long as the SIDs can be identified as they require corresponding operations (using reserved NRP forwarding messages on the outgoing interface).
The processing of the network node and the message forwarding procedure will be described below with reference to fig. 5 by taking VPN1 as an example, the procedure comprising the steps of:
step 1: PE1 directs the flow of CE1 to SRv Policy tunnel bearer of VPN1 client according to the service characteristics of VPN 1;
specifically, the PE1 encapsulates the packet according to SRv Policy of VPN1, where the header of the encapsulated packet includes an IPv6 header and a Segment Routing Header (SRH).
Step 2: PE1 searches the corresponding table item (such as the table item shown in Table 2) according to the indication of 1:11 of the current A, obtains the G.MTN1 subinterface with the identified NRP being GE1/0/0 physical interface, and forwards the message through the subinterface;
step 3: p1 receives the message, modifies the destination address in the message to A3:11, and searches the corresponding table item (such as the table item shown in Table 3) according to the indication of A2:11, obtains the G.MTN1 subinterface with the identified NRP being GE2/0/0 physical interface, and forwards the message through the subinterface;
step 4: p2 receives the message, modifies the destination address in the message to A4:100, searches the corresponding table item (such as the table item shown in Table 4) according to the indication of A3:11, obtains the G.MTN1 subinterface with the identified NRP being GE3/0/0 physical interface, and forwards the message through the subinterface;
step 5: PE2 decapsulates the message and forwards it to CE11 according to the A:4:100 indication.
Application example two
In this application example, the concept of NRP identification (such as NRP-ID) is introduced to identify one NRP to mask or abstract the NRP.
The operation mechanism of the end.nrp SID is described below taking VPN traffic, NRP-ID and QoS queue resources as examples.
Suppose that the traffic resource requirements proposed by three VPN clients in the network are shown in table 5.
VPN client Customer site Service resource requirements: BW (BW)
VPN1 CE1->CE11 1G
VPN2 CE2->CE21 2G
VPN3 CE3->CE31 3G
TABLE 5
According to the service resource demands of three VPN clients, NRP is allocated, and in the application example, NRP is QoS queue resource. Corresponding SRv Policy paths are calculated for three VPN clients in a network respectively, qoS queue resources on an interface of a node are combined according to the service bandwidth requirement on each network node along the path, and the association of NRP-ID and end.NRP SID and QoS queues of corresponding bandwidths and the association of end.NRP SID and NRP-ID are realized, so that an end.NRP SID and NRP-ID schematic diagram shown in figure 6 is obtained.
For PE1, the physical interfaces GE1/0/0 are divided into network resources, and the correspondence between the end.NRP SIDs, NRP-IDs and QoS queue resources is formed as shown in Table 6.
Outlet interface End.NRP SID NRP-ID QoS queues
GE1/0/0 A:1::11 100 Q queue: 1G
GE1/0/0 A:1::22 200 Q queue: 2G
GE1/0/0 A:1::33 300 Q queue: 3G (third generation)
TABLE 7
For PE1, the physical interfaces GE2/0/0 are divided into network resources, and the correspondence between the end.NRP SIDs, NRP-IDs and QoS queue resources is formed as shown in Table 8.
TABLE 8
For PE2, the physical interfaces GE3/0/0 are divided into network resources, and the correspondence between the end.NRP SIDs, NRP-IDs and QoS queue resources is formed as shown in Table 9.
Outlet interface End.NRP SID NRP-ID QoS queues
GE2/0/0 A:3::11 100 Q queue: 1G
GE2/0/0 A:3::22 200 Q queue: 2G
GE2/0/0 A:3::33 300 Q queue: 3G (third generation)
TABLE 9
In the SRv Policy path calculation, an end.nrp SID needs to be used for arrangement, so that a message can be forwarded through a specific NRP identified by each end.nrp SID.
The SRv Policy path information (also referred to as Segment list) for three VPN clients is organized as follows:
SRv6Policy Segment list for VPN1 client: < A: 1:11, A: 2:11, A: 3:11, A: 4:100 >;
SRv6Policy Segment list of VPN2 client: < A:1::22, A:2::22, A:3::22, A:4::200>;
SRv6Policy Segment list for VPN3 client: < A:1::33, A:2::33, A:3::33, A:4::300>.
Wherein, A1:100, A4:200 and A1:300 are VPN SIDs allocated to VPN1, VPN2 and VPN3 by PE2 nodes respectively.
It should be noted that: 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 are all end.NRP SIDs, as previously described, the application examples do not limit the values of the Function and/or the fields, i.e., 11, 22, 33 are examples only, and the values of the Function and/or the fields can be any value as long as the SIDs can be identified as they require corresponding operations (using reserved NRP forwarding messages on the outgoing interface).
The processing of the network node and the message forwarding procedure will be described below with reference to fig. 7 by taking VPN1 as an example, the procedure comprising the steps of:
step 1: PE1 directs the flow of CE1 to SRv Policy tunnel bearer of VPN1 client according to the service characteristics of VPN 1;
specifically, the PE1 encapsulates the packet according to SRv Policy of VPN1, where the header of the encapsulated packet includes an IPv6 header and an SRH.
Step 2: PE1 searches the corresponding table item (such as the table item shown in Table 7) according to the indication of 1:11 of the current A, obtains the QoS queue of 1G BW of the GE1/0/0 physical interface identified by NPR as NRP-ID 100, and forwards the message through the QoS queue;
step 3: p1 receives the message, modifies the destination address in the message to A3:11, and searches the corresponding table item (such as the table item shown in Table 8) according to the indication of A2:11, obtains the 1G BW QoS queue with NRP being GE2/0/0 physical interface identified by NRP-ID 100, and forwards the message through the QoS queue;
step 4: p2 receives the message, modifies the destination address in the message to A4:100, searches the corresponding table item (such as the table item shown in table 9) according to the indication of A3:11, obtains the 1G BW QoS queue with NRP being the GE3/0/0 physical interface identified by NRP-ID 100, and forwards the message through the QoS queue;
step 5: PE2 decapsulates the message and forwards it to CE11 according to the A:4:100 indication.
In this application example, the end.nrp SID is locally valid and either globally visible or locally visible only to the control device, the head node and the network node.
As can be seen from the above description, the end.nrp adds resource information (i.e. NRP information) as a judging element for forwarding the message, and the network node matches corresponding network resources according to the end.nrp SID for forwarding. On a particular network segment, a plurality of end.nrp SIDs may be assigned that identify NRPs, each end.nrp SID representing a subset of the network resources assigned in the network. Each set of NRPs may be associated with at least one end. The end.nrp SID identifying a resource attribute may be used to construct a path with a set of reserved network resources that may be used to carry service traffic that requires the use of dedicated network resources along the path.
The scheme provided by the embodiment of the application can be widely applied to various networks (such as an IP bearer network, an SPN (session initiation network), an intra-cloud network and the like) applied to the network of SRv.
By adopting the scheme provided by the embodiment of the application, the method has the following advantages:
(1) Has compatibility with
The scheme of the embodiment of the application is compatible with the IPv6 basic protocol, if the forwarding equipment does not support the end.NRP function, forwarding is carried out according to the existing IPv6 forwarding mechanism, and the compatibility problem does not exist. If the forwarding device supports the end.NRP function, the corresponding network resource can be obtained by analyzing the SID, and the message is forwarded.
(2) Strong practicability
According to the scheme provided by the embodiment of the application, the deterministic network resource forwarding can be realized by reasonably planning the path and the end.NRP SID, the future thousands of industry bearing requirements can be oriented, and the large-scale deterministic and differentiated services can be satisfied.
3) The performance influence is small
According to the scheme provided by the embodiment of the application, forwarding equipment only needs to analyze the semantics of the end.NRP SID in the IPv6 message header, the processing efficiency is high, the performance influence is small, and new difficulties are not introduced to the forwarding chip.
In order to implement the method of the embodiment of the present application, the embodiment of the present application further provides a packet processing device, which is disposed on a network node, as shown in fig. 8, and the device includes:
an obtaining unit 801, configured to obtain a first packet; wherein, the SID of the first message is associated with NRP;
and a processing unit 802, configured to forward the first packet according to the SID of the first packet.
In one embodiment, the processing unit 802 is configured to forward the first packet according to an output interface and NRP associated with the SID of the first packet.
In an embodiment, the processing unit 802 is configured to determine, according to the first information, an NRP corresponding to the SID of the first packet.
Wherein in an embodiment, the network node comprises a first network node, and the processing unit 802 is further configured to obtain second information, where the second information comprises a SID of the first packet of at least one second network node; and the second information is used for packaging the first message.
In an embodiment, the processing unit 802 is configured to:
receiving second information issued by control equipment;
or,
receiving third information sent by the at least one second network node, wherein the third information comprises SIDs of the first messages of the at least one second network node; and determining the second information by using the received third information.
In practical applications, the acquiring unit 801 and the processing unit 802 may be implemented by a processor in a message processing apparatus in combination with a communication interface.
It should be noted that: in the message processing apparatus provided in the above embodiment, only the division of each program module is used for illustration when processing a message, and in practical application, the processing allocation may be performed by different program modules according to needs, i.e. the internal structure of the apparatus is divided into different program modules to complete all or part of the processing described above. In addition, the message processing apparatus and the message processing method embodiment provided in the foregoing embodiments belong to the same concept, and specific implementation processes thereof are detailed in the method embodiment and are not repeated herein.
Based on the hardware implementation of the program modules, and in order to implement the method at the network node side in the embodiment of the present application, the embodiment of the present application further provides a network node, as shown in fig. 9, a network node 900 includes:
a communication interface 901, capable of performing information interaction with other network nodes and control devices;
the processor 902 is connected with the communication interface 901 to realize information interaction with other network nodes and control devices, and is used for executing the method provided by one or more technical schemes on the network node side when running a computer program;
a memory 903, the computer program being stored on the memory 903.
Specifically, the processor 902 is configured to:
acquiring a first message; wherein, the SID of the first message is associated with NRP;
and forwarding the first message through the communication interface 901 according to the SID of the first message.
In one embodiment, the processor 902 is configured to forward the first packet according to an output interface and NRP associated with the SID of the first packet.
In an embodiment, the processor 902 is configured to determine, according to the first information, an NRP corresponding to the SID of the first packet.
Wherein, in an 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 a SID of the first packet of at least one second network node; and the second information is used for packaging the first message.
In one embodiment, the processor 902 is configured to:
receiving second information issued by the control device through the communication interface 901;
or,
receiving third information sent by the at least one second network node through the communication interface 901, wherein the third information comprises the SID of the first message of the at least one second network node; and determining the second information by using the received third information.
It should be noted that: the specific processing of the processor 902 and the communication interface 901 may be understood with reference to the above-described methods.
Of course, in actual practice, the various components in network node 900 are coupled together by bus system 904. It is appreciated that the bus system 904 is used to facilitate connected communications between these components. The bus system 904 includes a power bus, a control bus, and a status signal bus in addition to a data bus. But for clarity of illustration, the various buses are labeled as bus system 904 in fig. 9.
The memory 903 in the embodiments of the present application is used to store various types of data to support the operation of the network node 900. Examples of such data include: any computer program for operating on network node 900.
It is appreciated that the memory 903 of the embodiments of the present application may be either volatile memory or nonvolatile memory, and may include both volatile and nonvolatile memory. Wherein the nonvolatile Memory may be Read Only Memory (ROM), programmable Read Only Memory (PROM, programmable Read-Only Memory), erasable programmable Read Only Memory (EPROM, erasable Programmable Read-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 (Flash Memory), magnetic surface Memory, optical disk, or compact disk Read Only Memory (CD-ROM, compact Disc Read-Only Memory); the magnetic surface memory may be a disk memory or a tape memory. The volatile memory may be random access memory (RAM, random Access Memory), which acts as external cache memory. By way of example, and not limitation, many forms of RAM are available, such as static random access memory (SRAM, static Random Access Memory), synchronous static random access memory (SSRAM, synchronous Static Random Access Memory), dynamic random access 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 (ddr SDRAM, double Data Rate Synchronous Dynamic Random Access Memory), enhanced 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 memory described in the embodiments of the present application is intended to comprise, without being limited to, these and any other suitable types of memory.
The method disclosed in the embodiments of the present application may be applied to the processor 902 or implemented by the processor 902. The processor 902 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the method described above may be performed by integrated logic circuitry in hardware or instructions in software in the processor 902. The processor 902 described above may be a general purpose processor, a digital signal processor (DSP, digital Signal Processor), or other programmable logic device, discrete gate or transistor logic device, discrete hardware components, or the like. The processor 902 may implement or perform the methods, steps, and logic blocks disclosed in embodiments of the present application. The general purpose processor may be a microprocessor or any conventional processor or the like. The steps of the method disclosed in the embodiments of the present application may be directly embodied in a hardware decoding processor or implemented by a combination of hardware and software modules in the decoding processor. The software modules may be located in a storage medium located in the memory 903. The processor 902 reads information from the memory 903 and performs the steps of the method described above in connection with its hardware.
In an exemplary embodiment, network node 900 may be implemented by one or more application specific integrated circuits (ASIC, application Specific Integrated Circuit), DSPs, programmable logic devices (PLD, programmable Logic Device), complex programmable logic devices (CPLD, complex Programmable Logic Device), field-programmable gate arrays (FPGA, field-Programmable Gate Array), general purpose processors, controllers, microcontrollers (MCU, micro Controller Unit), microprocessors (Microprocessor), or other electronic components for performing the aforementioned methods.
In an exemplary embodiment, the present application further provides a storage medium, i.e. a computer storage medium, in particular a computer readable storage medium, for example comprising a memory 903 storing a computer program executable by the processor 902 of the network node 900 to perform the steps of the network node side method described above. The computer readable storage medium may be FRAM, ROM, PROM, EPROM, EEPROM, flash Memory, magnetic surface Memory, optical disk, or CD-ROM.
It should be noted that: "first," "second," etc. are used to distinguish similar objects and not necessarily to describe a particular order or sequence.
In addition, the embodiments described in the present application may be arbitrarily combined without any collision.
The foregoing description is only of the preferred embodiments of the present application and is not intended to limit the scope of the present application.

Claims (10)

1. A method for processing a message, applied to a network node, comprising:
acquiring a first message; wherein, the segment identification SID of the first message is associated with the network resource partition NRP;
and forwarding the first message according to the SID of the first message.
2. The method of claim 1, wherein forwarding the first message according to the SID of the first message comprises:
and forwarding the first message according to the NRP and the output interface associated with the SID of the first message.
3. The method of claim 2, wherein forwarding the first message according to the NRP and the outgoing interface associated with the SID of the first message comprises:
determining NRP corresponding to SID of the first message according to the first information;
and forwarding the first message according to the NRP and the output interface associated with the SID of the first message.
4. A method according to claim 3, wherein the first information is preconfigured or issued by a control device.
5. The method according to any of claims 1 to 4, wherein the network node comprises a first network node, the method further comprising:
obtaining second information, wherein the second information comprises SIDs of the first message of at least one second network node; and the second information is used for packaging the first message.
6. The method of claim 5, wherein the obtaining the second information comprises:
receiving second information issued by control equipment;
or,
receiving third information sent by the at least one second network node, wherein the third information comprises SIDs of the first messages of the at least one second network node; and determining the second information by using the received third information.
7. A message processing apparatus, comprising:
the acquisition unit is used for acquiring the first message; wherein, the SID of the first message is associated with NRP;
and the processing unit is used for forwarding the first message according to the SID of the first message.
8. A network node, comprising: a processor and a communication interface; wherein,
the processor is configured to:
acquiring a first message; wherein, the SID of the first message is associated with NRP;
and forwarding the first message through the communication interface according to the SID of the first message.
9. A network node, comprising: a processor and a memory for storing a computer program capable of running on the processor,
wherein the processor is adapted to perform the steps of the method of any of claims 1 to 6 when the computer program is run.
10. A storage medium having stored thereon a computer program, which when executed by a processor performs the steps of the method according to any of claims 1 to 6.
CN202210813599.5A 2022-07-11 2022-07-11 Message processing method, device, network node and storage medium Pending CN117424940A (en)

Priority Applications (2)

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

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
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
CN117424940A true CN117424940A (en) 2024-01-19

Family

ID=89527144

Family Applications (1)

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

Country Status (2)

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

Family Cites Families (6)

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

Also Published As

Publication number Publication date
WO2024012316A1 (en) 2024-01-18

Similar Documents

Publication Publication Date Title
EP3624408B1 (en) Method for generating forwarding table entry, controller, and network device
US10320664B2 (en) Cloud overlay for operations administration and management
CN110719185B (en) Network slice control method and device and computer readable storage medium
CN112087386B (en) Message processing method, device and system
CN107646185A (en) Operation, management and processing (OAM) in data center environment is covered
EP3905609A1 (en) Service data forwarding method, network device, and network system
US11588730B2 (en) Label management method, data stream processing method, and device
CN112019433B (en) Message forwarding method and device
US20230300070A1 (en) Packet Sending Method, Device, and System
CN107733795B (en) Ethernet virtual private network EVPN and public network intercommunication method and device
CN111355661B (en) VPN processing method, PE equipment and system
WO2022110535A1 (en) Packet sending method, device, and system
EP3836492A1 (en) Pseudo wire load sharing method and device
US20230067091A1 (en) Method and device for segment routing service processing, routing equipment, and storage medium
US20200314016A1 (en) Tunneling inter-domain stateless internet protocol multicast packets
WO2022237291A1 (en) Message transmission method and apparatus, related device, and storage medium
CN112436990B (en) Data forwarding method, data forwarding equipment and computer-readable storage medium
US20230412508A1 (en) Packet processing method and related apparatus
CN117424940A (en) Message processing method, device, network node and storage medium
CN115348202A (en) Data transmission method, device and equipment based on network slice and storage medium
WO2024002101A1 (en) Packet transmission method and apparatus, related device, 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
US20230261963A1 (en) Underlay path discovery for a wide area network
WO2023109398A1 (en) Packet transmission method and apparatus
US20120011235A1 (en) Systems and Methods for Implementing Multiple ISIS Routing Instances on a Network Element

Legal Events

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