[go: up one dir, main page]

WO2024002101A1 - Packet transmission method and apparatus, related device, and storage medium - Google Patents

Packet transmission method and apparatus, related device, and storage medium Download PDF

Info

Publication number
WO2024002101A1
WO2024002101A1 PCT/CN2023/102901 CN2023102901W WO2024002101A1 WO 2024002101 A1 WO2024002101 A1 WO 2024002101A1 CN 2023102901 W CN2023102901 W CN 2023102901W WO 2024002101 A1 WO2024002101 A1 WO 2024002101A1
Authority
WO
WIPO (PCT)
Prior art keywords
message
sid
slice
network node
processor
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.)
Ceased
Application number
PCT/CN2023/102901
Other languages
French (fr)
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
Research Institute of China Mobile Communication Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
Research Institute of China Mobile Communication Co Ltd
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, Research Institute of China Mobile Communication Co Ltd filed Critical China Mobile Communications Group Co Ltd
Publication of WO2024002101A1 publication Critical patent/WO2024002101A1/en
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/06Notations for structuring of protocol data, e.g. abstract syntax notation one [ASN.1]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W40/00Communication routing or communication path finding
    • H04W40/02Communication route or path selection, e.g. power-based or shortest path routing

Definitions

  • IP Internet Protocol
  • Network slicing is one of the key technologies of the fifth generation mobile communication technology (5G).
  • Network slicing refers to the offload management of network data similar to traffic management. Its essence is to divide the existing physical network into multiple different types of virtual networks at the logical level. According to the service needs of different users, such as Divide based on indicators such as latency, bandwidth, and reliability to cope with complex and changeable application scenarios.
  • SLA service level agreement
  • the 5G bearer network is part of the 5G end-to-end service path, and bearer network slicing refers to slicing in the transmission hardware facilities by virtualizing the topological resources of the network (such as links, nodes, ports and network element internal resources).
  • bearer network slicing refers to slicing in the transmission hardware facilities by virtualizing the topological resources of the network (such as links, nodes, ports and network element internal resources).
  • the virtual transmission subnet has independent management plane, control plane and forwarding plane, and independently supports various services to achieve isolation between different services.
  • embodiments of the present application provide a message transmission method, device, related equipment and storage medium.
  • This embodiment of the present application provides a message transmission method, applied to the first network node, including:
  • SID segment identity identifier
  • the SID in the second message is associated with the resource of the slice of the first message.
  • the first field in the SID in the second message identifies the resource associated with the slice of the first message, and the first field is associated with the behavior of the network node.
  • the first field is associated with the forwarding behavior of the network node.
  • the first field includes one of the following:
  • using the SID in the second message to determine the resources of the slice includes:
  • the resource information corresponding to the SID in the second message is found in the first table, and the first table includes the correspondence between the SID and the sliced resources.
  • determining the routing policy of the first message includes:
  • the second table includes the correspondence between the service characteristics, slices and routing policies.
  • the routing policy includes the SID corresponding to the path, the SID and the slice. association.
  • the method also includes:
  • the second table is formed.
  • the method also includes:
  • Embodiments of the present application also provide a message transmission method, applied to the second network node, including:
  • the second message is forwarded using the determined resources.
  • the SID in the second message is associated with the resource of the corresponding slice.
  • the first field in the SID in the second message identifies the resource associated with the slice, and the first field is associated with the behavior of the network node.
  • the first field is associated with the forwarding behavior of the network node.
  • the first field includes one of the following:
  • using the SID in the second message to determine the resources of the slice includes:
  • the resource information corresponding to the SID in the second message is found in the third table, and the third table includes the corresponding relationship between the SID and the sliced resources.
  • the method also includes:
  • the embodiment of this application also provides a message transmission method, which is applied to management and control equipment, including:
  • Each routing policy includes an SID corresponding to the path, and the SID is associated with the slice.
  • the routing policy is used for packet forwarding.
  • the SID is associated with the sliced resource.
  • the first field in the SID identifies the resource associated with the slice, and the first field is associated with the behavior of the network node.
  • the first field is associated with the forwarding behavior of the network node.
  • the first field includes one of the following:
  • the method also includes:
  • For a slice receive the SID sent by at least one network node
  • a routing policy for the slice is generated.
  • a determining unit configured to determine the routing policy of the first message
  • An embodiment of the present application also provides a message transmission device, including:
  • a first receiving unit configured to receive a second message, where the SID in the second message is associated with the corresponding slice;
  • the second processing unit is configured to use the SID in the second message to determine the resources of the slice; and use the determined resources to forward the second message.
  • An embodiment of the present application also provides a message transmission device, including:
  • An embodiment of the present application also provides a first network node, including: a first processor and a first communication interface; wherein,
  • the second communication interface is configured to receive a second message, and the SID in the second message is associated with the corresponding slice;
  • the second processor is configured to use the SID in the second message to determine the resources of the slice; and use the determined resources to forward the second message through the second communication interface.
  • Embodiments of the present application also provide a management and control device, including: a third communication interface and a third processor; wherein,
  • An embodiment of the present application also provides a first network node, including: a first processor and a first memory configured to store a computer program capable of running on the processor,
  • the first processor is configured to execute the steps of any method on the first network node side when running the computer program.
  • the second processor is configured to execute the steps of any method on the second network node side when running the computer program.
  • the third processor is configured to execute the steps of any method on the management and control device side when running the computer program.
  • Embodiments of the present application also provide a storage medium on which a computer program is stored.
  • the steps of any method on the first network node side are implemented, or any method on the second network node side is implemented.
  • the steps of the method, or the steps of implementing any of the above methods on the control device side are implemented.
  • the first network node determines the routing policy of the first message; and uses the routing policy and the first message to generate the second message, so The SID in the second message is associated with the slice of the first message; using the SID in the second message to determine the resources of the slice; using the determined resources to send the second message; second The network node receives the second message, and the SID in the second message is associated with the corresponding slice; uses the SID in the second message to determine the resources of the slice; and uses the determined resources to forward the second message. arts.
  • the solution provided by the embodiment of the present application associates the SID with the link resource of the slice (i.e., the network resource), thereby realizing network slicing. In this way, there is no need to change the existing segments.
  • the message structure and forwarding mechanism of routing are highly implementable and compatible with related technologies.
  • Figure 1 is a schematic flow chart of a message transmission method according to an embodiment of the present application.
  • Figure 2 is a schematic flow chart of another message transmission method according to an embodiment of the present application.
  • Figure 8 is a schematic structural diagram of the first network node according to the embodiment of the present application.
  • Figure 9 is a schematic structural diagram of the second network node according to the embodiment of the present application.
  • Figure 10 is a schematic structural diagram of the management and control equipment according to the embodiment of the present application.
  • one implementation method is to carry the slice ID in the packets.
  • Hop-by-Hop field requires the forwarding device to process it hop by hop, which poses the risk of DOS attacks and is currently difficult to apply in practice.
  • the slice ID can also be carried in the Flow Label field in the IPv6 packet header.
  • the Flow Label field is mainly used for traffic load sharing, it currently has 20 bits. In actual applications, when the impact of traffic load sharing is small, some bits can be divided to carry the slice ID. The larger the number of slices, the greater the number of slices. The impact on traffic load sharing will also be greater, and the balance between the two needs to be considered.
  • This embodiment of the present application provides a message transmission method, which is applied to the first network node. As shown in Figure 1, the method includes:
  • Step 102 Use the routing policy and the first message to generate a second message, and the SID in the second message is associated with the slice of the first message;
  • Step 103 Use the SID in the second message to determine the resources of the slice;
  • Step 104 Send the second message using the determined resources.
  • the second message is an IPv6 message
  • the second message is obtained by encapsulating the first message.
  • Slices can also be called network slices.
  • step 101 may include:
  • the second table includes the correspondence between the service characteristics, slices and routing policies.
  • the routing policy includes the SID corresponding to the path, the SID and the slice. association.
  • the service characteristics may include at least: Virtual Local Area Network (VLAN), Virtual Private Network (VPN), Differentiated Services Code Point (DSCP), etc. one.
  • VLAN Virtual Local Area Network
  • VPN Virtual Private Network
  • DSCP Differentiated Services Code Point
  • the routing policy is issued to the first network node after path planning by the manager of the network device (ie, network node), that is, the management and control device (such as a software-defined network (SDN) controller or network management system).
  • the manager of the network device ie, network node
  • the management and control device such as a software-defined network (SDN) controller or network management system.
  • the method may further include:
  • the second table is formed.
  • the management and control device may also be called a management device or a management and control system. This is not limited in the embodiments of the present application, as long as its functions are realized.
  • the functions of the management and control equipment may include configuration delivery, information monitoring, path planning, etc.
  • the network management system may also be called a network management system, which is not limited in the embodiments of this application as long as its functions are implemented.
  • the management and control device delivers information including the slice ID and corresponding resources (such as bandwidth (BW)) to each network node, that is, all network nodes that forward the received packets.
  • Each network node receives After receiving the delivered slice planning information, each slice is assigned a local SID and corresponding resources (which may also be called link resources, network resources, paths, resource guarantee paths, etc. This is not limited in the embodiments of this application) , and sends the allocated local SID to the management and control device, so that the management and control device can compile the SID into the SR Policy, so that each network node determines the resource of the message based on the SID, so as to forward the message.
  • a local SID and corresponding resources which may also be called link resources, network resources, paths, resource guarantee paths, etc. This is not limited in the embodiments of this application
  • the method may further include:
  • the SID sent by the first network node to the management and control device refers to the local SID allocated for the slice. That is, the assigned SID is only valid locally and therefore does not need to be flooded, such as through the Interior Gateway Protocol (IGP).
  • IGP Interior Gateway Protocol
  • the first network node uses the routing policy and the first message to generate the second message and determines the resource corresponding to the SID. , and then use the determined resources to send the second message. Since the SID is only valid locally and does not require flooding, system overhead can be greatly reduced and large-scale slicing can be supported.
  • the first network node allocates resources to the slice based on the resource information (such as bandwidth information) corresponding to each slice issued by the management and control device.
  • the allocated resources may include: Flexible Ethernet (Flex-E) sub-interface, G. MTN sub-interface, hierarchical quality of service (HQOS) queue, etc., that is to say, the allocated resources may include at least one form, which is not limited in the embodiment of the present application.
  • sending the SID corresponding to each slice in at least one slice to the management and control device can also be understood as sending the SID corresponding to each slice in at least one slice to the management and control device.
  • the first network node can send a message to the management and control device based on network telemetry (telemetry) (English can also be expressed as network telemetry), or Border Gateway Protocol-Link State (BGP-LS), or netconf and other protocols.
  • telemetry telemetry
  • BGP-LS Border Gateway Protocol-Link State
  • the first network node After allocating resources to each slice, the first network node establishes a binding relationship between the SID of the slice and the resource, that is, establishes a corresponding relationship, and saves it locally so that packets of the slice can be forwarded based on the corresponding relationship.
  • step 103 may include:
  • the resource information corresponding to the SID in the second message is found in the first table, and the first table includes the corresponding relationship between the SID and the sliced resources.
  • the first network node searches the routing forwarding table entry with the The outbound interface corresponding to the SID in the second message is then searched for the resource corresponding to the SID in the second message in the first table, and based on the corresponding outbound interface and corresponding resource, the second The message is sent.
  • the message can be forwarded according to the corresponding forwarding path based on the matching SID. That is to say, the matching SID
  • the operation taken by the first network node can be instructed to forward the message according to the slice resource of the message.
  • the SID in the second packet is associated with the resource of the slice of the first packet.
  • the SID contains a field associated with the local behavior of the node. This field can be used to indicate that the operation adopted by the node is to forward the message according to the slice resources of the message.
  • the first field is associated with the behavior of the network node and may include:
  • the first field is associated with the forwarding behavior of the network node.
  • the first field includes one of the following:
  • the existing SID can also be used to indicate that the operation taken by the network node is to forward the message according to the slicing resources of the message.
  • the specific value of the existing SID needs to be used for special processing to realize the operation taken by the network node.
  • the message is forwarded according to the slice resources of the message. That is, the network node performs special processing on the function field or the specific value of the Flavor field of the existing SID to know that the operation is to forward the message according to the slice resource of the message. .
  • the network node is forced to perform an operation of matching slice resources for each SID, thereby forwarding the message according to the slice resource of the message.
  • the embodiment of this application does not limit the specific processing process of performing special processing on the specific value of the SID. .
  • this embodiment of the present application also provides a message transmission method, which is applied to the second network node.
  • the method includes:
  • Step 201 Receive a second message, the SID in the second message is associated with the corresponding slice;
  • Step 202 Use the SID in the second message to determine the resources of the slice;
  • step 202 the specific implementation process of the second network node is the same as the specific implementation process of the first network node.
  • the second network node searches for the outbound interface corresponding to the SID in the second message in the routing forwarding table, and then searches for the output interface corresponding to the second message in the third table.
  • the resource corresponding to the SID in is forwarded and sent based on the corresponding outbound interface and the corresponding resource.
  • the method may further include:
  • sending the SID corresponding to each slice in at least one slice to the management and control device can also be understood as sending the SID corresponding to each slice in at least one slice to the management and control device.
  • the second network node may send the SID to the management and control device based on protocols such as telemetry, BGP-LS, or netconf, which is not limited in the embodiments of this application.
  • embodiments of this application also provide a message transmission method, which is applied to management and control equipment, including:
  • the management and control device sends the formed slice planning information to each network node, for example, sends the information including the slice ID and the corresponding resources to each network node, and each network node receives the issued slice plan. After receiving the information, allocate a local SID and corresponding resources to each slice, and send the local SID allocated to the slice to the management and control device, so that the management and control device can arrange the SID into the SR Policy, so that each network node determines based on the SID resources of the message to forward the message.
  • For a slice receive the SID sent by at least one network node
  • a routing policy for the slice is generated.
  • the management and control device can calculate the slicing path according to the slicing requirements, then compile the SID into the SR Policy based on the determined slicing path, and then deliver the SR Policy to the head node.
  • the segment list (Segment list) in SR Policy contains multiple SIDs, and the multiple SIDs are sequential, thus representing the path of the slice.
  • the first network node determines the routing policy of the first message; uses the routing policy and the first message to generate a second message, and the SID in the second message associated with the slice of the first message; using the SID in the second message to determine the resources of the slice; using the determined resources to send the second message; the second network node receives the second message, The SID in the second message is associated with the corresponding slice; the SID in the second message is used to determine the resources of the slice; and the determined resources are used to forward the second message.
  • the solution provided by the embodiment of this application associates the SID with the link resource of the slice (i.e., the network resource) to realize network slicing. In this way, there is no need to change the message structure and forwarding mechanism of the existing SR, and it is highly implementable. And compatible with related technologies.
  • the management and control device is an SDN controller, and there are slice services for two users (USER1, USER2).
  • Step 1 The SDN controller plans network node slicing related information (ie, slicing planning information);
  • Step 2 After receiving the slice planning information issued by SDN, each network node allocates SID and link resources locally;
  • P1 after receiving the slice planning information sent by the SDN controller, P1 locally allocates SIDs and link resources to the slice services of USER1 and USER2, and establishes a corresponding relationship.
  • the corresponding relationship can be as shown in Table 3.
  • P2 After receiving the slice planning information sent by the SDN controller, P2 locally allocates SIDs and link resources to the slice services of USER1 and USER2, and establishes a corresponding relationship.
  • the corresponding relationship can be as shown in Table 4.
  • Each network node saves the corresponding relationship so that messages can be forwarded based on the corresponding relationship later.
  • the forwarding behavior of the network node corresponding to SDI is defined as: forwarding the message through the resource guarantee path after matching the SID.
  • This behavior can be achieved by newly defining a Function or a new Flavor, or by modifying the specific configuration of an existing Function or Flavor. The value is implemented after specific processing.
  • Step 3 Each network node sends the assigned SID to the SDN controller.
  • the information sent may include the slice ID and the corresponding SID;
  • Step 4 After collecting the information sent by each network node, the SDN controller calculates the slicing path, arranges the SID into the SR Policy, and issues the SR Policy to the head node;
  • the SR Policy is issued to PE1.
  • the Segment list information in the SR Policy corresponding to USER1's slicing business is ⁇ AA:D0::11,AA:D1::11,AA:D2::11>
  • the Segment list information in the SR Policy corresponding to USER2's slicing business is ⁇ AA:D0::22,AA:D1::22,AA:D2::22>.
  • Step 5 As shown in Figure 4, after PE 1 receives the SR Policy, when receiving the packet from USER1 or USER2, it diverts the user service packet to the SR Policy and encapsulates the IPv6 packet according to the SR Policy.
  • the encapsulated packet The message header of the message includes the IPv6 message header and SRH, and then the link resources of the message are determined according to the corresponding relationship shown in Table 2, and the message is sent using the determined link resources;
  • Step 6 As shown in Figure 4, after P1 and P2 receive the message, they inherit the existing mechanism to parse the Segment List to obtain the SID, and then match the corresponding resource guarantee path based on the function type or flavor behavior of the SID, and pass the message through the corresponding path forwarding.
  • P1 after P1 receives the message, it modifies the destination address in the message to AA:D2::11 for USER1's message, and uses AA:D1::11 to determine the corresponding link resource from Table 3. Use the determined link resource to forward the message; for USER2's message, P1 changes the destination address in the message to AA:D2::22, and uses AA:D1::22 to determine the corresponding link from Table 3 resources, using determined link resources to forward packets.
  • P2 After P2 receives the message, it changes the destination address in the message to VPN SID for USER1's message, uses AA:D2::11 to determine the corresponding link resource from Table 4, and forwards it using the determined link resource. ; For USER2's message, P2 changes the destination address in the message to AA:D2::22, uses AA:D2::22 to determine the corresponding link resource from Table 4, and uses the determined link resource to forward message.
  • the forwarding node matches the corresponding link resource guarantee path based on the function or flavor of the SID, and forwards the message through the corresponding path.
  • the solution provided by the embodiment of this application associates SID with network resources, and further provides a certain resource guarantee path for the path based on the existing SR-MPLS and SRv6 tunnels and forwarding mechanisms, that is, It is said that on the basis of inheriting the forwarding mechanism of SR-MPLS and SRv6, SID is associated with link resources to realize network slicing.
  • the forwarding behavior of SID is defined as: forwarding the packet through the resource guaranteed path after matching the SID.
  • the SID is locally valid and does not need to be flooded through protocols such as IGP, which can reduce system overhead.
  • the embodiment of the present application also provides a message transmission device, which is provided on the first network node.
  • the device includes:
  • the first processing unit 502 is configured to use the routing policy and the first message to generate a second message, where the SID in the second message is associated with the slice of the first message; using the second message The SID in the message determines the resources of the slice; and the second message is sent using the determined resources.
  • the determining unit 501 is configured as:
  • the second table includes the correspondence between the service characteristics, slices and routing policies.
  • the routing policy includes the SID corresponding to the path, the SID and the slice. association.
  • the first processing unit 502 is configured as:
  • the resource information corresponding to the SID in the second message is found in the first table, and the first table includes the corresponding relationship between the SID and the sliced resources.
  • the device may further include: a third processing unit configured to:
  • the second table is formed.
  • the third processing unit is further configured to send the SID corresponding to each slice in at least one slice to the management and control device.
  • the third processing unit is further configured to allocate SIDs and resources to slices, establish a corresponding relationship between SIDs and resources of the slice, and store the corresponding relationship.
  • the determining unit 501 can be implemented by a processor in a message transmission device; the first processing unit 502 and the third processing unit can be combined by a processor in the message transmission device.
  • Communication interface implementation can be implemented by a processor in a message transmission device; the first processing unit 502 and the third processing unit can be combined by a processor in the message transmission device.
  • the embodiment of the present application also provides a message transmission device, which is provided on the second network node.
  • the device includes:
  • the first receiving unit 601 is configured to receive a second message, where the SID in the second message is associated with the corresponding slice;
  • the second processing unit 602 is configured to use the SID in the second message to determine the resources of the slice; and use the determined resources to forward the second message.
  • the second processing unit 602 is configured to find the resource information corresponding to the SID in the second message in a third table, where the third table includes the SID and the slice. Resource correspondence.
  • the second processing unit 602 is further configured to allocate SIDs and resources to slices, establish a corresponding relationship between SIDs and resources of the slice, and store the corresponding relationship.
  • the second processing unit 602 is further configured to send the SID corresponding to each slice in at least one slice to the management and control device.
  • the first receiving unit 601 can be implemented by a communication interface in the message transmission device
  • the second processing unit 602 can be implemented by a processor in the message transmission device combined with the communication interface
  • the embodiment of the present application also provides a message transmission device, which is provided on the management and control device.
  • the device includes:
  • the sending unit 701 is configured to send first information to the first network node.
  • the first information at least includes slices and corresponding routing policies.
  • Each routing policy includes the SID corresponding to the path.
  • the SID is associated with the slice.
  • the routing policy configuration For message forwarding.
  • the device may further include:
  • the second receiving unit 702 is configured to receive the SID sent by at least one network node for one slice.
  • the fourth processing unit 703 is configured to determine the path of the slice; and generate a routing policy for the slice using the received SID and the determined path.
  • the sending unit 701 and the second receiving unit 702 can be implemented by a communication interface in the message transmission device, and the fourth processing unit 703 can be implemented by a processor in the message transmission device.
  • the message transmission device provided in the above embodiment performs message transmission
  • only the division of the above program modules is used as an example.
  • the above processing can be allocated to different program modules as needed. Completion means dividing the internal structure of the device into different program modules to complete all or part of the processing described above.
  • the message transmission device provided by the above embodiments and the message transmission 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.
  • a network node 800 includes:
  • the first communication interface 801 is capable of information exchange with other network nodes;
  • the first processor 802 is connected to the first communication interface 801 to implement information interaction with other network nodes, and is configured to execute the method provided by one or more technical solutions on the first network node side when running a computer program;
  • the first processor 802 is configured to determine the routing policy of the first message, and use the routing policy and the first message to generate a second message, where the SID in the second message is the same as the first message.
  • the first processor 802 is configured as:
  • the second table includes the correspondence between the service characteristics, slices and routing policies.
  • the routing policy includes the SID corresponding to the path, the SID and the slice. association.
  • the first processor 802 is configured as:
  • the resource information corresponding to the SID in the second message is found in the first table, and the first table includes the corresponding relationship between the SID and the sliced resources.
  • the first communication interface 801 is configured to receive the first information sent by the management and control device, where the first information at least includes slices and corresponding routing policies;
  • the first processor 802 is also configured to use the first information to form the second table.
  • the first communication interface 801 is further configured to send the SID corresponding to each slice in at least one slice to the management and control device.
  • the first processor 802 is further configured to allocate SIDs and resources to slices, establish a corresponding relationship between SIDs and resources of the slice, and store the corresponding relationship.
  • bus system 804 is configured to enable connected communications between these components.
  • bus system 804 also includes a power bus, a control bus and a status signal bus.
  • the various buses are labeled bus system 804 in FIG. 8 .
  • the first memory 803 in the embodiment of the present application is configured to store various types of data to support the operation of the first network node 800 .
  • Examples of such data include any computer program for operating on the first network node 800 .
  • the methods disclosed in the above embodiments of the present application can be applied to the first processor 802 or implemented by the first processor 802 .
  • the first processor 802 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 first processor 802 .
  • the above-mentioned first processor 802 may be a general-purpose processor, a digital signal processor (DSP), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc.
  • DSP digital signal processor
  • the first processor 802 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 first memory 803.
  • the first processor 802 reads the information in the first memory 803, and completes the steps of the foregoing method in combination with its hardware.
  • the first network node 800 may be configured by one or more Application Specific Integrated Circuits (ASICs, Application Specific Integrated Circuits), DSPs, Programmable Logic Devices (PLDs, Programmable Logic Devices), complex programmable logic devices (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 are implemented and configured to perform the aforementioned methods.
  • ASICs Application Specific Integrated Circuits
  • DSPs Programmable Logic Devices
  • PLDs Programmable Logic Devices
  • CPLD Complex Programmable Logic Device
  • FPGA Field-Programmable Gate Array
  • general-purpose processor controller, microcontroller (MCU, Micro Controller Unit), microprocessor (Microprocessor), or Other electronic components are implemented and configured to perform the aforementioned methods.
  • the embodiment of the present application also provides a second network node.
  • the second network node 900 includes :
  • the second communication interface 901 is capable of information exchange with other network nodes
  • the second processor 902 is connected to the second communication interface 901 to implement information interaction with other network nodes, and is configured to execute the method provided by one or more technical solutions on the second network node side when running a computer program;
  • the second communication interface 901 is configured to receive a second message, and the SID in the second message is associated with the corresponding slice;
  • the second processor 902 is configured to use the SID in the second message to determine the resources of the slice; and use the determined resources to forward the second message through the second communication interface 901.
  • the second processor 902 is configured to find resource information corresponding to the SID in the second message in a third table, where the third table includes the SID and the slice. Resource correspondence.
  • the second processor 902 is further configured to allocate SIDs and resources to slices, establish a corresponding relationship between SIDs and resources of the slice, and store the corresponding relationship.
  • the second communication interface 901 is further configured to send the SID corresponding to each slice in at least one slice to the management and control device.
  • 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 second memory 903 in the embodiment of the present application is configured to store various types of data to support the operation of the second network node 900.
  • Examples of such data include any computer program for operation on the second network node 900 .
  • the methods disclosed in the above embodiments of the present application can be applied to the second processor 902 or implemented by the second processor 902 .
  • the second 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 second processor 902 .
  • the above-mentioned second processor 902 may be a general-purpose processor, a DSP, or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc.
  • the second 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 second memory 903.
  • the second processor 902 reads the information in the second memory 903, and completes the steps of the foregoing method in combination with its hardware.
  • the second network node 900 may be implemented by one or more ASICs, DSPs, PLDs, CPLDs, FPGAs, general processors, controllers, MCUs, Microprocessors, or other electronic components and configured to perform the foregoing method .
  • the embodiment of the present application also provides a management and control device.
  • the management and control device 1000 includes:
  • the third communication interface 1001 is capable of information interaction with network nodes
  • the third processor 1002 is connected to the third communication interface 1001 to realize information interaction with the network node, and is configured to execute the method provided by one or more technical solutions on the side of the management and control device when running a computer program;
  • the third communication interface 1001 is configured to send first information to the first network node.
  • the first information at least includes slices and corresponding routing policies.
  • Each routing policy includes the SID corresponding to the path, the SID and the slice. Association, the routing policy is used for packet forwarding.
  • the third communication interface 1001 is further configured to receive a SID sent by at least one network node for one slice;
  • the third processor 1002 is configured to determine the path of the slice; and generate a routing policy for the slice using the received SID and the determined path.
  • bus system 1004. various components in the management and control device 1000 are coupled together through the bus system 1004. It will be appreciated that the bus system 1004 is configured to enable connection communications between these components. In addition to the data bus, the bus system 1004 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 1004 in FIG. 10 .
  • the third memory 1003 in the embodiment of the present application is configured to store various types of data to support the operation of the management and control device 1000 .
  • Examples of such data include: any computer program used to operate on the management device 1000.
  • the methods disclosed in the above embodiments of the present application can be applied to the third processor 1002 or implemented by the third processor 1002 .
  • the third processor 1002 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 third processor 1002 .
  • the above-mentioned third processor 1002 may be a general-purpose processor, a DSP, or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc.
  • the third processor 1002 can implement or execute the disclosed methods, steps and logical block diagrams 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 third memory 1003.
  • the third processor 1002 reads the information in the third memory 1003, and completes the steps of the foregoing method in combination with its hardware.
  • the management and control device 1000 may be implemented by one or more ASICs, DSPs, PLDs, CPLDs, FPGAs, general-purpose processors, controllers, MCUs, Microprocessors, or other electronic components and configured to perform the foregoing method.
  • the memory (first memory 803, second memory 903, third memory 1003) in the embodiment of the present application can be a volatile memory or a non-volatile memory, and can also include volatile and non-volatile memories. Both. Among them, the non-volatile memory can be a read-only memory (ROM, Read Only Memory), a programmable read-only memory (PROM, Programmable Read-Only Memory), an erasable programmable read-only memory (EPROM, Erasable Programmable Read-Only Memory).
  • ROM Read Only Memory
  • PROM Programmable Read-Only Memory
  • EPROM Erasable Programmable Read-Only Memory
  • the magnetic surface memory can be a magnetic disk memory or a magnetic tape memory.
  • the volatile memory may be random access memory (RAM), 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 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 embodiment of the present application also provides a storage medium, that is, a computer storage medium, specifically a computer-readable storage medium, for example, including a first memory 803 that stores a computer program.
  • the computer program can be accessed by a first network.
  • the first processor 802 of the node 800 executes to complete the steps described in the first network node side method.
  • it includes a second memory 903 that stores a computer program.
  • the above computer program can be executed by the second processor 902 of the second network node 900 Execution, to complete the steps described in the aforementioned second network node side method, another example includes a third memory 1003 that stores a computer program.
  • the above computer program can be executed by the third processor 1002 of the management and control device 1000 to complete the steps of the aforementioned management and control device side method. Describe the steps.
  • 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)
  • Computer Security & Cryptography (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The present application discloses a packet transmission method and apparatus, a first network node, a second network node, a management and control device, and a storage medium. The method comprises: a first network node determining a routing policy of a first packet; generating a second packet by using the routing policy and the first packet, a segment identifier (SID) in the second packet being associated with a slice of the first packet; determining a resource of the slice by using the SID in the second packet; and sending the second packet by using the determined resource.

Description

报文传输方法、装置、相关设备及存储介质Message transmission methods, devices, related equipment and storage media

相关申请的交叉引用Cross-references to related applications

本申请基于申请号为202210769253.X、申请日为2022年06月30日的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此引入本申请作为参考。This application is filed based on the Chinese patent application with application number 202210769253.

技术领域Technical field

本申请涉及互联网协议(IP)网络领域,尤其涉及一种报文传输方法、装置、相关设备及存储介质。The present application relates to the field of Internet Protocol (IP) networks, and in particular to a message transmission method, device, related equipment and storage media.

背景技术Background technique

网络切片是第五代移动通信技术(5G)的关键技术之一。网络切片就是指对网络数据实行类似于交通管理的分流管理,它的本质是将现实存在的物理网络在逻辑层面上,划分为多个不同类型的虚拟网络,依照不同用户的服务需求,以诸如时延高低、带宽大小、可靠性强弱等指标来进行划分,从而应对复杂多变的应用场景。通过网络切片,移动网络运营商可以将用户分为不同的类型,每个用户具有不同的服务请求,根据服务等级协议(SLA)管理每个用户有资格使用的分片类型和业务。Network slicing is one of the key technologies of the fifth generation mobile communication technology (5G). Network slicing refers to the offload management of network data similar to traffic management. Its essence is to divide the existing physical network into multiple different types of virtual networks at the logical level. According to the service needs of different users, such as Divide based on indicators such as latency, bandwidth, and reliability to cope with complex and changeable application scenarios. Through network slicing, mobile network operators can divide users into different types, each user has different service requests, and manage the slicing types and services that each user is eligible to use according to the service level agreement (SLA).

5G承载网是5G端到端业务路径的一部分,而承载网切片是指:通过对网络的拓扑资源(如链路、节点、端口及网元内部资源)进行虚拟化,在传输硬件设施中切分出多个逻辑的虚拟传输子网。虚拟传输子网具有独立的管理面、控制面和转发面,独立支持各种业务,以此实现不同业务之间的隔离。The 5G bearer network is part of the 5G end-to-end service path, and bearer network slicing refers to slicing in the transmission hardware facilities by virtualizing the topological resources of the network (such as links, nodes, ports and network element internal resources). Split multiple logical virtual transmission subnets. The virtual transmission subnet has independent management plane, control plane and forwarding plane, and independently supports various services to achieve isolation between different services.

对于承载网切片技术,主要思想是将切片ID引入到转发面,然而如何引入切片ID是目前亟待解决的问题。For bearer network slicing technology, the main idea is to introduce slice IDs into the forwarding plane. However, how to introduce slice IDs is an issue that needs to be solved urgently.

发明内容Contents of the invention

为解决相关技术问题,本申请实施例提供一种报文传输方法、装置、相关设备及存储介质。In order to solve related technical problems, embodiments of the present application provide a message transmission method, device, related equipment and storage medium.

本申请实施例的技术方案是这样实现的:The technical solution of the embodiment of this application is implemented as follows:

本申请实施例提供一种报文传输方法,应用于第一网络节点,包括:This embodiment of the present application provides a message transmission method, applied to the first network node, including:

确定第一报文的路由策略; Determine the routing policy of the first message;

利用所述路由策略及第一报文,生成第二报文,所述第二报文中的段身份标识(SID)与所述第一报文的切片关联;Using the routing policy and the first message, generate a second message, and the segment identity identifier (SID) in the second message is associated with the slice of the first message;

利用所述第二报文中的SID确定所述切片的资源;Determine the resources of the slice using the SID in the second message;

利用确定的资源发出所述第二报文。Send the second message using the determined resources.

上述方案中,所述第二报文中的SID与所述第一报文的切片的资源关联。In the above solution, the SID in the second message is associated with the resource of the slice of the first message.

上述方案中,所述第二报文中的SID中的第一字段标识与所述第一报文的切片关联的资源,且所述第一字段与网络节点的行为关联。In the above solution, the first field in the SID in the second message identifies the resource associated with the slice of the first message, and the first field is associated with the behavior of the network node.

上述方案中,所述第一字段与网络节点的转发行为关联。In the above solution, the first field is associated with the forwarding behavior of the network node.

上述方案中,所述第一字段包括以下之一:In the above solution, the first field includes one of the following:

功能(Function)字段;Function field;

Flavor字段。Flavor field.

上述方案中,所述利用所述第二报文中的SID确定所述切片的资源,包括:In the above solution, using the SID in the second message to determine the resources of the slice includes:

在第一表中查找到与所述第二报文中的SID对应的资源信息,所述第一表包含SID与切片的资源的对应关系。The resource information corresponding to the SID in the second message is found in the first table, and the first table includes the correspondence between the SID and the sliced resources.

上述方案中,所述确定第一报文的路由策略,包括:In the above solution, determining the routing policy of the first message includes:

确定所述第一报文的业务特征;Determine the service characteristics of the first message;

在第二表中查找到与所述第一报文的业务特征对应的路由策略,所述第二表包含业务特征、切片与路由策略的对应关系,路由策略包含路径对应的SID,SID与切片关联。Find the routing policy corresponding to the service characteristics of the first message in the second table. The second table includes the correspondence between the service characteristics, slices and routing policies. The routing policy includes the SID corresponding to the path, the SID and the slice. association.

上述方案中,所述方法还包括:In the above solution, the method also includes:

接收管控设备发送的第一信息,所述第一信息至少包含切片与对应的路由策略;Receive the first information sent by the management and control device, where the first information at least includes slices and corresponding routing policies;

利用所述第一信息,形成所述第二表。Using the first information, the second table is formed.

上述方案中,所述方法还包括:In the above solution, the method also includes:

向所述管控设备发送至少一个切片中每个切片对应的SID。Send the SID corresponding to each slice in at least one slice to the management and control device.

本申请实施例还提供一种报文传输方法,应用于第二网络节点,包括:Embodiments of the present application also provide a message transmission method, applied to the second network node, including:

接收第二报文,所述第二报文中的SID与对应的切片关联;Receive a second message, where the SID in the second message is associated with the corresponding slice;

利用所述第二报文中的SID确定所述切片的资源;Determine the resources of the slice using the SID in the second message;

利用确定的资源转发所述第二报文。The second message is forwarded using the determined resources.

上述方案中,所述第二报文中的SID与对应切片的资源关联。In the above solution, the SID in the second message is associated with the resource of the corresponding slice.

上述方案中,所述第二报文中的SID中的第一字段标识与所述切片关联的资源,且所述第一字段与网络节点的行为关联。In the above solution, the first field in the SID in the second message identifies the resource associated with the slice, and the first field is associated with the behavior of the network node.

上述方案中,所述第一字段与网络节点的转发行为关联。In the above solution, the first field is associated with the forwarding behavior of the network node.

上述方案中,所述第一字段包括以下之一:In the above solution, the first field includes one of the following:

Function字段;Function field;

Flavor字段。 Flavor field.

上述方案中,所述利用所述第二报文中的SID确定与所述切片的资源,包括:In the above solution, using the SID in the second message to determine the resources of the slice includes:

在第三表中查找到与所述第二报文中的SID对应的资源信息,所述第三表包含SID与切片的资源的对应关系。The resource information corresponding to the SID in the second message is found in the third table, and the third table includes the corresponding relationship between the SID and the sliced resources.

上述方案中,所述方法还包括:In the above solution, the method also includes:

向管控设备发送至少一个切片中每个切片对应的SID。Send the SID corresponding to each slice in at least one slice to the management and control device.

本申请实施例还提供一种报文传输方法,应用于管控设备,包括:The embodiment of this application also provides a message transmission method, which is applied to management and control equipment, including:

向第一网络节点发送第一信息,所述第一信息至少包含切片与对应的路由策略,每个路由策略包含路径对应的SID,SID与切片关联,所述路由策略用于进行报文转发。Send first information to the first network node, where the first information at least includes slices and corresponding routing policies. Each routing policy includes an SID corresponding to the path, and the SID is associated with the slice. The routing policy is used for packet forwarding.

上述方案中,SID与切片的资源关联。In the above solution, the SID is associated with the sliced resource.

上述方案中,SID中的第一字段标识与切片关联的资源,且所述第一字段与网络节点的行为关联。In the above solution, the first field in the SID identifies the resource associated with the slice, and the first field is associated with the behavior of the network node.

上述方案中,所述第一字段与网络节点的转发行为关联。In the above solution, the first field is associated with the forwarding behavior of the network node.

上述方案中,所述第一字段包括以下之一:In the above solution, the first field includes one of the following:

Function字段;Function field;

Flavor字段。Flavor field.

上述方案中,所述方法还包括:In the above solution, the method also includes:

针对一个切片,接收至少一个网络节点发送的SID;For a slice, receive the SID sent by at least one network node;

确定切片的路径;Determine the path of the slice;

利用接收的SID和确定的路径,生成切片的路由策略。Using the received SID and determined path, a routing policy for the slice is generated.

本申请实施例还提供一种报文传输装置,包括:An embodiment of the present application also provides a message transmission device, including:

确定单元,配置为确定第一报文的路由策略;a determining unit configured to determine the routing policy of the first message;

第一处理单元,配置为利用所述路由策略及第一报文,生成第二报文,所述第二报文中的SID与所述第一报文的切片关联;利用所述第二报文中的SID确定所述切片的资源;以及利用确定的资源发出所述第二报文。A first processing unit configured to use the routing policy and the first message to generate a second message, where the SID in the second message is associated with the slice of the first message; using the second message The SID in the text determines the resource of the slice; and the second message is sent using the determined resource.

本申请实施例还提供一种报文传输装置,包括:An embodiment of the present application also provides a message transmission device, including:

第一接收单元,配置为接收第二报文,所述第二报文中的SID与对应的切片关联;A first receiving unit configured to receive a second message, where the SID in the second message is associated with the corresponding slice;

第二处理单元,配置为利用所述第二报文中的SID确定所述切片的资源;以及利用确定的资源转发所述第二报文。The second processing unit is configured to use the SID in the second message to determine the resources of the slice; and use the determined resources to forward the second message.

本申请实施例还提供一种报文传输装置,包括:An embodiment of the present application also provides a message transmission device, including:

发送单元,配置为向第一网络节点发送第一信息,所述第一信息至少包含切片与对应的路由策略,每个路由策略包含路径对应的SID,SID与切片关联,所述路由策略用于进行报文转发。A sending unit configured to send first information to the first network node. The first information at least includes slices and corresponding routing policies. Each routing policy includes an SID corresponding to the path. The SID is associated with the slice. The routing policy is used to Forward message.

本申请实施例还提供一种第一网络节点,包括:第一处理器及第一通信接口;其中,An embodiment of the present application also provides a first network node, including: a first processor and a first communication interface; wherein,

所述第一处理器,配置为确定第一报文的路由策略,利用所述路由策 略及第一报文,生成第二报文,所述第二报文中的SID与所述第一报文的切片关联;利用所述第二报文中的SID确定所述切片的资源;以及利用确定的资源通过所述第一通信接口发出所述第二报文。The first processor is configured to determine the routing policy of the first message, using the routing policy Ignoring the first message, generating a second message, the SID in the second message is associated with the slice of the first message; using the SID in the second message to determine the resources of the slice; and sending the second message through the first communication interface using the determined resources.

本申请实施例还提供一种第二网络节点,包括:第二通信接口及第二处理器;An embodiment of the present application also provides a second network node, including: a second communication interface and a second processor;

所述第二通信接口,配置为接收第二报文,所述第二报文中的SID与对应的切片关联;The second communication interface is configured to receive a second message, and the SID in the second message is associated with the corresponding slice;

所述第二处理器,配置为利用所述第二报文中的SID确定所述切片的资源;以及利用确定的资源通过所述第二通信接口转发所述第二报文。The second processor is configured to use the SID in the second message to determine the resources of the slice; and use the determined resources to forward the second message through the second communication interface.

本申请实施例还提供一种管控设备,包括:第三通信接口及第三处理器;其中,Embodiments of the present application also provide a management and control device, including: a third communication interface and a third processor; wherein,

所述第三通信接口,配置为向第一网络节点发送第一信息,所述第一信息至少包含切片与对应的路由策略,每个路由策略包含路径对应的SID,SID与切片关联,所述路由策略用于进行报文转发。The third communication interface is configured to send first information to the first network node. The first information at least includes slices and corresponding routing policies. Each routing policy includes the SID corresponding to the path, and the SID is associated with the slice. Routing policies are used for packet forwarding.

本申请实施例还提供一种第一网络节点,包括:第一处理器和配置为存储能够在处理器上运行的计算机程序的第一存储器,An embodiment of the present application also provides a first network node, including: a first processor and a first memory configured to store a computer program capable of running on the processor,

其中,所述第一处理器配置为运行所述计算机程序时,执行上述第一网络节点侧任一方法的步骤。Wherein, the first processor is configured to execute the steps of any method on the first network node side when running the computer program.

本申请实施例还提供一种第二网络节点,包括:第二处理器和配置为存储能够在处理器上运行的计算机程序的第二存储器,An embodiment of the present application also provides a second network node, including: a second processor and a second memory configured to store a computer program capable of running on the processor,

其中,所述第二处理器配置为运行所述计算机程序时,执行上述第二网络节点侧任一方法的步骤。Wherein, the second processor is configured to execute the steps of any method on the second network node side when running the computer program.

本申请实施例还提供一种管控设备,包括:第三处理器和配置为存储能够在处理器上运行的计算机程序的第三存储器,An embodiment of the present application also provides a management and control device, including: a third processor and a third memory configured to store a computer program capable of running on the processor,

其中,所述第三处理器配置为运行所述计算机程序时,执行上述管控设备侧任一方法的步骤。Wherein, the third processor is configured to execute the steps of any method on the management and control device side when running the computer program.

本申请实施例还提供一种存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现上述第一网络节点侧任一方法的步骤,或者实现上述第二网络节点侧任一方法的步骤,或者实现上述管控设备侧任一方法的步骤。Embodiments of the present application also provide a storage medium on which a computer program is stored. When the computer program is executed by a processor, the steps of any method on the first network node side are implemented, or any method on the second network node side is implemented. The steps of the method, or the steps of implementing any of the above methods on the control device side.

本申请实施例提供的报文传输方法、装置、相关设备及存储介质,第一网络节点确定第一报文的路由策略;利用所述路由策略及第一报文,生成第二报文,所述第二报文中的SID与所述第一报文的切片关联;利用所述第二报文中的SID确定所述切片的资源;利用确定的资源发出所述第二报文;第二网络节点接收第二报文,所述第二报文中的SID与对应的切片关联;利用所述第二报文中的SID确定所述切片的资源;利用确定的资源转发所述第二报文。本申请实施例提供的方案,将SID与切片的链路资源(即网络资源)相关联,从而实现网络切片,这样,不需要改变已有分段 路由(SR,Segment Routing)的报文结构以及转发机制,可实施性强,且与相关技术兼容。In the message transmission method, device, related equipment and storage medium provided by the embodiments of the present application, the first network node determines the routing policy of the first message; and uses the routing policy and the first message to generate the second message, so The SID in the second message is associated with the slice of the first message; using the SID in the second message to determine the resources of the slice; using the determined resources to send the second message; second The network node receives the second message, and the SID in the second message is associated with the corresponding slice; uses the SID in the second message to determine the resources of the slice; and uses the determined resources to forward the second message. arts. The solution provided by the embodiment of the present application associates the SID with the link resource of the slice (i.e., the network resource), thereby realizing network slicing. In this way, there is no need to change the existing segments. The message structure and forwarding mechanism of routing (SR, Segment Routing) are highly implementable and compatible with related technologies.

附图说明Description of drawings

图1为本申请实施例一种报文传输的方法流程示意图;Figure 1 is a schematic flow chart of a message transmission method according to an embodiment of the present application;

图2为本申请实施例另一种报文传输的方法流程示意图;Figure 2 is a schematic flow chart of another message transmission method according to an embodiment of the present application;

图3为本申请应用示例一种包含SID的路由策略示意图;Figure 3 is a schematic diagram of a routing strategy including SID as an application example of this application;

图4为本申请应用示例报文转发示意图;Figure 4 is a schematic diagram of message forwarding in this application application;

图5为本申请实施例一种报文传输装置结构示意图;Figure 5 is a schematic structural diagram of a message transmission device according to an embodiment of the present application;

图6为本申请实施例另一种报文传输装置结构示意图;Figure 6 is a schematic structural diagram of another message transmission device according to an embodiment of the present application;

图7为本申请实施例第三种报文传输装置结构示意图;Figure 7 is a schematic structural diagram of a third message transmission device according to the embodiment of the present application;

图8为本申请实施例第一网络节点结构示意图;Figure 8 is a schematic structural diagram of the first network node according to the embodiment of the present application;

图9为本申请实施例第二网络节点结构示意图;Figure 9 is a schematic structural diagram of the second network node according to the embodiment of the present application;

图10为本申请实施例管控设备结构示意图。Figure 10 is a schematic structural diagram of the management and control equipment according to the embodiment of the present application.

具体实施方式Detailed ways

下面结合实施例对本申请再作进一步详细的描述。The present application will be described in further detail below in conjunction with examples.

为了支持大规模切片,承载网切片技术的基本思想是将切片ID引入到转发面,报文能够关联切片ID,转发设备将切片ID与物理资源相关联,并与相应的物理隔离技术相结合,实现端到端的高质量的SLA,即实现端到端的保质量的业务保证的要求。其中,在转发面引入切片ID的技术方案可以实现子接口级别细粒度的切片,同时由于不需要扩展控制面协议,所以不会给系统带来过大开销,因此可支持大规模切片。In order to support large-scale slicing, the basic idea of bearer network slicing technology is to introduce slice ID to the forwarding plane. Packets can be associated with the slice ID. The forwarding device associates the slice ID with physical resources and combines it with the corresponding physical isolation technology. Achieve end-to-end high-quality SLA, that is, achieve end-to-end quality-guaranteed business guarantee requirements. Among them, the technical solution of introducing slice ID in the forwarding plane can realize fine-grained slicing at the sub-interface level. At the same time, since there is no need to extend the control plane protocol, it will not bring excessive overhead to the system, so it can support large-scale slicing.

对于报文关联切片ID的实现方式,一种实现方式是在报文中携带切片ID。在报文中携带切片ID时,需要考虑切片ID的携带位置,可以在IPv6报文头中的逐跳选项头(英文可以表达为Hop-by-Hop)字段携带切片ID。然而,对于Hop-by-Hop字段,要求转发设备逐跳处理,存在DOS攻击风险,目前实际应用存在困难。As for the implementation method of associating slice IDs with packets, one implementation method is to carry the slice ID in the packets. When carrying the slice ID in the packet, you need to consider the carrying position of the slice ID. You can carry the slice ID in the hop-by-hop option header (can be expressed as Hop-by-Hop in English) field in the IPv6 packet header. However, the Hop-by-Hop field requires the forwarding device to process it hop by hop, which poses the risk of DOS attacks and is currently difficult to apply in practice.

也可以在IPv6报文头中流量标签(Flow Label)字段携带切片ID。然而,由于Flow Label字段主要用于流量负载分担,目前有20比特(bit),实际应用中,在流量负载分担影响较小的情况下可以划分部分比特用于携带切片ID,切片数量越大,对流量负载分担影响也越大,需要考虑两者的平衡。The slice ID can also be carried in the Flow Label field in the IPv6 packet header. However, since the Flow Label field is mainly used for traffic load sharing, it currently has 20 bits. In actual applications, when the impact of traffic load sharing is small, some bits can be divided to carry the slice ID. The larger the number of slices, the greater the number of slices. The impact on traffic load sharing will also be greater, and the balance between the two needs to be considered.

还可以在IPv6报文头中目的地址字段携带切片ID。然而,对于SRv6技术,转发过程中目的地址在段表(SegmentList)中获取,存在变化的可能,因此无法规划切片ID。并且在G-SRv6技术中,目的地址压缩也导致切片ID的规划不可行。 The slice ID can also be carried in the destination address field in the IPv6 packet header. However, for SRv6 technology, the destination address is obtained from the segment table (SegmentList) during the forwarding process, and there is a possibility of change, so the slice ID cannot be planned. And in G-SRv6 technology, destination address compression also makes slice ID planning unfeasible.

基于此,在本申请的各种实施例中,将SID与切片的链路资源(即网络资源)相关联,从而实现网络切片,这样,不需要改变已有SR的报文结构以及转发机制,可实施性强,且与相关技术兼容。Based on this, in various embodiments of the present application, the SID is associated with the link resources of the slice (i.e., network resources) to implement network slicing. In this way, there is no need to change the message structure and forwarding mechanism of the existing SR. It is highly implementable and compatible with related technologies.

需要说明的是:在本申请实施例中,第一网络节点和第三网络节点是网络边缘节点,可以称为PE节点、PE路由器、PE设备等,比如骨干网络中的运营商边缘节点;对应地,第二网络节点是网络转发节点,可以称为P节点、P路由器、P设备等,比如骨干网络中的运营商节点。It should be noted that: in the embodiment of the present application, the first network node and the third network node are network edge nodes, which can be called PE nodes, PE routers, PE devices, etc., such as operator edge nodes in the backbone network; correspondingly The second network node is a network forwarding node, which can be called a P node, a P router, a P device, etc., such as an operator node in a backbone network.

本申请实施例提供了一种报文传输方法,应用于第一网络节点,如图1所示,该方法包括:This embodiment of the present application provides a message transmission method, which is applied to the first network node. As shown in Figure 1, the method includes:

步骤101:确定第一报文的路由策略;Step 101: Determine the routing policy of the first message;

步骤102:利用所述路由策略及第一报文,生成第二报文,所述第二报文中的SID与所述第一报文的切片关联;Step 102: Use the routing policy and the first message to generate a second message, and the SID in the second message is associated with the slice of the first message;

步骤103:利用所述第二报文中的SID确定所述切片的资源;Step 103: Use the SID in the second message to determine the resources of the slice;

步骤104:利用确定的资源发出所述第二报文。Step 104: Send the second message using the determined resources.

其中,所述第二报文是IPv6报文,所述第二报文是对所述第一报文进行封装后得到的。切片也可以称为网络切片。Wherein, the second message is an IPv6 message, and the second message is obtained by encapsulating the first message. Slices can also be called network slices.

在一实施例中,步骤101的具体实现可以包括:In an embodiment, the specific implementation of step 101 may include:

确定所述第一报文的业务特征;Determine the service characteristics of the first message;

在第二表中查找到与所述第一报文的业务特征对应的路由策略,所述第二表包含业务特征、切片与路由策略的对应关系,路由策略包含路径对应的SID,SID与切片关联。Find the routing policy corresponding to the service characteristics of the first message in the second table. The second table includes the correspondence between the service characteristics, slices and routing policies. The routing policy includes the SID corresponding to the path, the SID and the slice. association.

其中,实际应用时,所述业务特征可以包括:虚拟局域网(VLAN,Virtual Local Area Network)、虚拟专用网(VPN,Virtual Private Network)、差分服务代码点(DSCP,Differentiated Services Code Point)等中至少之一。Among them, in actual application, the service characteristics may include at least: Virtual Local Area Network (VLAN), Virtual Private Network (VPN), Differentiated Services Code Point (DSCP), etc. one.

路由策略可以称为SR策略(Policy),相应地,所述第二表可以称为SR Policy表,本申请实施例对此不作限定,只要实现其功能即可。The routing policy may be called an SR policy (Policy), and accordingly, the second table may be called an SR Policy table. The embodiments of this application do not limit this as long as its function is implemented.

这里,所述路由策略是由网络设备(即网络节点)的管理者,即管控设备(比如软件定义网络(SDN)控制器或网管系统)进行路径规划后下发给所述第一网络节点的。Here, the routing policy is issued to the first network node after path planning by the manager of the network device (ie, network node), that is, the management and control device (such as a software-defined network (SDN) controller or network management system). .

基于此,在一实施例中,该方法还可以包括:Based on this, in an embodiment, the method may further include:

接收管控设备发送的第一信息,所述第一信息至少包含切片与对应的路由策略;Receive the first information sent by the management and control device, where the first information at least includes slices and corresponding routing policies;

利用所述第一信息,形成所述第二表。Using the first information, the second table is formed.

其中,所述管控设备也可以称为管理设备、或管控系统,本申请实施例对此不作限定,只要实现其功能即可。The management and control device may also be called a management device or a management and control system. This is not limited in the embodiments of the present application, as long as its functions are realized.

实际应用时,所述管控设备的功能可以包括配置下发、信息监控、规划路径等。所述网管系统也可以称为网管,本申请实施例对此不作限定,只要实现其功能即可。 In actual application, the functions of the management and control equipment may include configuration delivery, information monitoring, path planning, etc. The network management system may also be called a network management system, which is not limited in the embodiments of this application as long as its functions are implemented.

实际应用时,可以通过统一规划配置,全局分配切片标识,比如由所述管控设备,根据用户业务的特征全局规划切片标识,即将切片标识分配给对应的用户业务。其中,在SDN中,可以由SDN控制器来统一规划配置,全局分配切片标识;在非SDN中,可以由网管系统来统一规划配置,全局分配切片标识。规划完成后,所述管控设备需要将形成的切片规划信息发送给各网络节点,以便各网络节点能够据此获得报文的切片标识(比如ID)。示例性地,所述管控设备将包含切片ID与对应的资源(比如带宽(BW))的信息下发至各网络节点,即所有对接收的报文进行转发处理的网络节点,各网络节点收到下发的切片规划信息后,为各切片分配本地SID以及对应的资源(也可以称为链路资源、或网络资源、或路径、或资源保障路径等,本申请实施例对此不作限定),并将分配的本地SID发送给所述管控设备,以便所述管控设备将SID编排进SR Policy,以使各网络节点基于SID确定报文的资源,从而进行报文转发。In actual application, the slice identifier can be globally allocated through unified planning and configuration. For example, the management and control device can globally plan the slice identifier according to the characteristics of the user service, that is, allocate the slice identifier to the corresponding user service. Among them, in SDN, the SDN controller can uniformly plan the configuration and globally assign slice identifiers; in non-SDN, the network management system can uniformly plan the configuration and globally assign slice identifiers. After the planning is completed, the management and control device needs to send the formed slice planning information to each network node, so that each network node can obtain the slice identification (such as ID) of the message accordingly. Exemplarily, the management and control device delivers information including the slice ID and corresponding resources (such as bandwidth (BW)) to each network node, that is, all network nodes that forward the received packets. Each network node receives After receiving the delivered slice planning information, each slice is assigned a local SID and corresponding resources (which may also be called link resources, network resources, paths, resource guarantee paths, etc. This is not limited in the embodiments of this application) , and sends the allocated local SID to the management and control device, so that the management and control device can compile the SID into the SR Policy, so that each network node determines the resource of the message based on the SID, so as to forward the message.

基于此,在一实施例中,该方法还可以包括:Based on this, in an embodiment, the method may further include:

向所述管控设备发送至少一个切片中每个切片对应的SID。Send the SID corresponding to each slice in at least one slice to the management and control device.

这里,所述第一网络节点向所述管控设备发送的SID是指:为切片分配的本地SID。也就是说,分配的SID仅在本地有效,因此不需要进行洪泛,比如不需要通过内部网关协议(IGP)进行洪泛。具体地,对于所述第一报文,所述第一网络节点匹配到自身分配的SID后,利用所述路由策略及第一报文,生成所述第二报文,并确定SID对应的资源,然后利用确定的资源发出所述第二报文。由于SID仅在本地有效,不需要进行洪泛,因此可以大大减小系统开销,如此,可以支持大规模切片。Here, the SID sent by the first network node to the management and control device refers to the local SID allocated for the slice. That is, the assigned SID is only valid locally and therefore does not need to be flooded, such as through the Interior Gateway Protocol (IGP). Specifically, for the first message, after the first network node matches the SID assigned by itself, it uses the routing policy and the first message to generate the second message and determines the resource corresponding to the SID. , and then use the determined resources to send the second message. Since the SID is only valid locally and does not require flooding, system overhead can be greatly reduced and large-scale slicing can be supported.

所述第一网络节点基于所述管控设备下发的每个切片对应的资源信息(比如带宽信息)为切片分配资源,分配的资源可以包括:灵活以太网(Flex-E)子接口、G.MTN子接口、层次化服务质量(HQOS)队列等,也就是说,分配的资源可以包含至少一种形式,本申请实施例对此不作限定。The first network node allocates resources to the slice based on the resource information (such as bandwidth information) corresponding to each slice issued by the management and control device. The allocated resources may include: Flexible Ethernet (Flex-E) sub-interface, G. MTN sub-interface, hierarchical quality of service (HQOS) queue, etc., that is to say, the allocated resources may include at least one form, which is not limited in the embodiment of the present application.

实际应用时,所述向所述管控设备发送至少一个切片中每个切片对应的SID,也可以理解为向所述管控设备上送至少一个切片中每个切片对应的SID。其中,所述第一网络节点可以基于网络遥测技术(telemetry)(英文还可以表达为network telemetry)、或边界网关协议-链路状态(BGP-LS)、或netconf等协议向所述管控设备发送SID,本申请实施例对此不作限定。In actual application, sending the SID corresponding to each slice in at least one slice to the management and control device can also be understood as sending the SID corresponding to each slice in at least one slice to the management and control device. Among them, the first network node can send a message to the management and control device based on network telemetry (telemetry) (English can also be expressed as network telemetry), or Border Gateway Protocol-Link State (BGP-LS), or netconf and other protocols. SID, the embodiment of this application does not limit this.

所述第一网络节点为各切片分配资源后,将切片的SID与资源建立绑定关系,即建立对应关系,并在本地保存,以便基于该对应关系切片的报文进行转发。After allocating resources to each slice, the first network node establishes a binding relationship between the SID of the slice and the resource, that is, establishes a corresponding relationship, and saves it locally so that packets of the slice can be forwarded based on the corresponding relationship.

基于此,在一实施例中,步骤103的具体实现可以包括:Based on this, in one embodiment, the specific implementation of step 103 may include:

在第一表中查找到与所述第二报文中的SID对应的资源信息,所述第一表包含SID与切片的资源的对应关系。The resource information corresponding to the SID in the second message is found in the first table, and the first table includes the corresponding relationship between the SID and the sliced resources.

其中,实际应用时,所述第一网络节点在路由转发表项中查找与所述 第二报文中的SID对应的出接口,然后在所述第一表中查找与所述第二报文中的SID对应的资源,基于对应的出接口和对应的资源,将所述第二报文发出。Wherein, in actual application, the first network node searches the routing forwarding table entry with the The outbound interface corresponding to the SID in the second message is then searched for the resource corresponding to the SID in the second message in the first table, and based on the corresponding outbound interface and corresponding resource, the second The message is sent.

从上面的描述可以看出,对于所述第一网络节点,对于一个报文,本地匹配到SID后,根据匹配的SID就能够获知按照对应的转发路径转发报文,也就是说,匹配的SID能够指示所述第一网络节点所采取的操作是按照报文的切片资源来转发报文。换句话说,对于所述第二报文,所述第二报文中的SID与所述第一报文的切片的资源关联。As can be seen from the above description, for the first network node, for a message, after the SID is matched locally, the message can be forwarded according to the corresponding forwarding path based on the matching SID. That is to say, the matching SID The operation taken by the first network node can be instructed to forward the message according to the slice resource of the message. In other words, for the second packet, the SID in the second packet is associated with the resource of the slice of the first packet.

另一方面,SID中包含有与节点本地行为关联的字段,可以采用该字段来指示节点所采用的操作是按照报文的切片资源来转发报文。On the other hand, the SID contains a field associated with the local behavior of the node. This field can be used to indicate that the operation adopted by the node is to forward the message according to the slice resources of the message.

基于此,在一实施例中,所述第二报文中的SID中的第一字段标识与所述第一报文的切片关联的资源,且所述第一字段与网络节点的行为关联。Based on this, in one embodiment, the first field in the SID in the second message identifies the resource associated with the slice of the first message, and the first field is associated with the behavior of the network node.

其中,所述第一字段与网络节点的行为关联,可以包括:Wherein, the first field is associated with the behavior of the network node and may include:

所述第一字段与网络节点的转发行为关联。The first field is associated with the forwarding behavior of the network node.

其中,所述第一字段包括以下之一:Wherein, the first field includes one of the following:

Function字段;Function field;

Flavor字段。Flavor field.

这里,实际应用时,可以定义新的SID(比如End.S)来指示网络节点所采取的操作是按照报文的切片资源来转发报文,即网络节点根据新定义的SID的function字段或Flavor字段就能够获知采用的操作是按照报文的切片资源来转发报文。Here, in actual application, a new SID (such as End.S) can be defined to indicate that the operation taken by the network node is to forward the message according to the slice resources of the message, that is, the network node forwards the message according to the function field or Flavor of the newly defined SID. field, you can know that the operation adopted is to forward the message according to the slice resources of the message.

也可以利用已有的SID来指示网络节点所采取的操作是按照报文的切片资源来转发报文,此时,需要利用已有的SID的具体值进行特殊处理后来实现网络节点所采取的操作是按照报文的切片资源来转发报文,即网络节点对已有的SID的function字段或Flavor字段的具体值进行特殊处理后就能够获知采用的操作是按照报文的切片资源来转发报文。示例性地,网络节点强制对每个SID去作匹配切片资源的操作,从而来按照报文的切片资源来转发报文,本申请实施例对SID的具体值进行特殊处理的具体处理过程不作限定。The existing SID can also be used to indicate that the operation taken by the network node is to forward the message according to the slicing resources of the message. In this case, the specific value of the existing SID needs to be used for special processing to realize the operation taken by the network node. The message is forwarded according to the slice resources of the message. That is, the network node performs special processing on the function field or the specific value of the Flavor field of the existing SID to know that the operation is to forward the message according to the slice resource of the message. . Illustratively, the network node is forced to perform an operation of matching slice resources for each SID, thereby forwarding the message according to the slice resource of the message. The embodiment of this application does not limit the specific processing process of performing special processing on the specific value of the SID. .

为了实现本申请实施例的方案,在所述第二报文中,可以在报文头的目的地址字段和/或分段路由头(SRH)(包含多个网络节点的SID)设置对应的SID。In order to implement the solution of the embodiment of the present application, in the second message, the corresponding SID can be set in the destination address field of the message header and/or the segment routing header (SRH) (containing the SIDs of multiple network nodes) .

相应地,本申请实施例还提供了一种报文传输方法,应用于第二网络节点,如图2所示,该方法包括:Correspondingly, this embodiment of the present application also provides a message transmission method, which is applied to the second network node. As shown in Figure 2, the method includes:

步骤201:接收第二报文,所述第二报文中的SID与对应的切片关联;Step 201: Receive a second message, the SID in the second message is associated with the corresponding slice;

步骤202:利用所述第二报文中的SID确定所述切片的资源;Step 202: Use the SID in the second message to determine the resources of the slice;

步骤203:利用确定的资源转发所述第二报文。Step 203: Use the determined resources to forward the second message.

其中,实际应用时,所述第二网络节点接收来自上一跳网络节点发送 的第二报文;所述上一跳网络节点可以是所述第一网络节点,也可以所述第二报文对应的路径上的其他网络转发节点。Wherein, in actual application, the second network node receives a message sent from a previous hop network node. the second message; the previous hop network node may be the first network node, or other network forwarding nodes on the path corresponding to the second message.

对于步骤202,所述第二网络节点的具体实现过程与所述第一网节点的具体实现过程相同。For step 202, the specific implementation process of the second network node is the same as the specific implementation process of the first network node.

具体地,在第三表中查找到与所述第二报文中的SID对应的资源信息,所述第三表包含SID与切片的资源的对应关系。Specifically, the resource information corresponding to the SID in the second message is found in the third table, and the third table includes the corresponding relationship between the SID and the resources of the slice.

其中,实际应用时,所述第二网络节点在路由转发表项中查找与所述第二报文中的SID对应的出接口,然后在所述第三表中查找与所述第二报文中的SID对应的资源,基于对应的出接口和对应的资源,转发所述第二报文发出。Wherein, in actual application, the second network node searches for the outbound interface corresponding to the SID in the second message in the routing forwarding table, and then searches for the output interface corresponding to the second message in the third table. The resource corresponding to the SID in is forwarded and sent based on the corresponding outbound interface and the corresponding resource.

从上面的描述可以看出,对于所述第二网络节点,对于一个报文,本地匹配到SID后,根据匹配的SID就能够获知按照对应的转发路径转发报文,也就是说,匹配的SID能够指示所述第一网络节点所采取的操作是按照报文的切片资源来转发报文。换句话说,对于所述第二报文,所述第二报文中的SID与所述第一报文的切片的资源关联。It can be seen from the above description that for the second network node, for a message, after the SID is matched locally, the message can be forwarded according to the corresponding forwarding path according to the matching SID. That is to say, the matching SID The operation taken by the first network node can be instructed to forward the message according to the slice resource of the message. In other words, for the second packet, the SID in the second packet is associated with the resource of the slice of the first packet.

实际应用时,当收到所述管控设备下发的切片规划信息后,所述第二网络节点为各切片分配本地SID以及对应的资源(也可以称为链路资源、或网络资源、或路径、或资源保障路径等,本申请实施例对此不作限定),并将分配的本地SID发送给所述管控设备,以便所述管控设备将SID编排进SR Policy,以使各网络节点基于SID确定报文的资源,从而进行报文转发。In actual application, after receiving the slice planning information issued by the management and control device, the second network node allocates a local SID and corresponding resources (which may also be called link resources, network resources, or paths) to each slice. , or resource guarantee path, etc., the embodiments of this application are not limited to this), and send the allocated local SID to the management and control device, so that the management and control device can arrange the SID into the SR Policy, so that each network node determines based on the SID resources of the message to forward the message.

基于此,在一实施例中,该方法还可以包括:Based on this, in an embodiment, the method may further include:

向所述管控设备发送至少一个切片中每个切片对应的SID。Send the SID corresponding to each slice in at least one slice to the management and control device.

其中,所述第二网络节点向所述管控设备发送的SID是指:为切片分配的本地SID。也就是说,分配的SID仅在本地有效,因此不需要进行洪泛,比如不需要通过IGP进行洪泛。具体地,对于所述第二报文,所述第二网络节点匹配到自身分配的SID后,确定SID对应的资源,然后利用确定的资源发出所述第二报文。由于SID仅在本地有效,不需要进行洪泛,因此可以大大减小系统开销,如此,可以支持大规模切片。Wherein, the SID sent by the second network node to the management and control device refers to the local SID allocated for the slice. That is, the assigned SID is only valid locally and therefore does not need to be flooded, such as through IGP. Specifically, for the second message, after the second network node matches the SID assigned by itself, the second network node determines the resource corresponding to the SID, and then uses the determined resource to send the second message. Since the SID is only valid locally and does not require flooding, system overhead can be greatly reduced and large-scale slicing can be supported.

所述第二网络节点基于所述管控设备下发的每个切片对应的资源信息(比如带宽信息)为切片分配资源,分配的资源可以包括:Flex-E子接口、G.MTN子接口、HQOS队列等,也就是说,分配的资源可以包含至少一种形式,本申请实施例对此不作限定。The second network node allocates resources to the slice based on the resource information (such as bandwidth information) corresponding to each slice issued by the management and control device. The allocated resources may include: Flex-E sub-interface, G.MTN sub-interface, HQOS Queues, etc., that is to say, the allocated resources may include at least one form, which is not limited in the embodiment of the present application.

实际应用时,所述向所述管控设备发送至少一个切片中每个切片对应的SID,也可以理解为向所述管控设备上送至少一个切片中每个切片对应的SID。其中,所述第二网络节点可以基于telemetry、或BGP-LS、或netconf等协议向所述管控设备发送SID,本申请实施例对此不作限定。In actual application, sending the SID corresponding to each slice in at least one slice to the management and control device can also be understood as sending the SID corresponding to each slice in at least one slice to the management and control device. The second network node may send the SID to the management and control device based on protocols such as telemetry, BGP-LS, or netconf, which is not limited in the embodiments of this application.

所述第二网络节点为各切片分配资源后,将切片的SID与资源建立绑 定关系,即建立对应关系,并在本地保存,以便基于所述对应关系切片的报文进行转发。After the second network node allocates resources to each slice, it binds the SID of the slice to the resource. A certain relationship is established, that is, a corresponding relationship is established and saved locally so that packets sliced based on the corresponding relationship can be forwarded.

相应地,本申请实施例还提供了一种报文传输方法,应用于管控设备,包括:Correspondingly, embodiments of this application also provide a message transmission method, which is applied to management and control equipment, including:

向第一网络节点发送第一信息,所述第一信息至少包含切片与对应的路由策略,每个路由策略包含路径对应的SID,SID与切片关联,所述路由策略用于进行报文转发。Send first information to the first network node, where the first information at least includes slices and corresponding routing policies. Each routing policy includes an SID corresponding to the path, and the SID is associated with the slice. The routing policy is used for packet forwarding.

其中,实际应用时,所述管控设备将形成的切片规划信息发送给各网络节点,比如将包含切片ID与对应的资源的信息下发至各网络节点,各网络节点收到下发的切片规划信息后,为各切片分配本地SID以及对应的资源,并将为该切片分配的本地SID发送给所述管控设备,以便所述管控设备将SID编排进SR Policy,以使各网络节点基于SID确定报文的资源,从而进行报文转发。Among them, in actual application, the management and control device sends the formed slice planning information to each network node, for example, sends the information including the slice ID and the corresponding resources to each network node, and each network node receives the issued slice plan. After receiving the information, allocate a local SID and corresponding resources to each slice, and send the local SID allocated to the slice to the management and control device, so that the management and control device can arrange the SID into the SR Policy, so that each network node determines based on the SID resources of the message to forward the message.

基于此,在一实施例中,该方法还可以包括:Based on this, in an embodiment, the method may further include:

针对一个切片,接收至少一个网络节点发送的SID;For a slice, receive the SID sent by at least one network node;

确定切片的路径;Determine the path of the slice;

利用接收的SID和确定的路径,生成切片的路由策略。Using the received SID and determined path, a routing policy for the slice is generated.

也就是说,针对每个切片,所述管控设备都会接收到至少一个网络节点发送的SID,然后生成切片的路由策略。That is to say, for each slice, the management and control device receives the SID sent by at least one network node, and then generates a routing policy for the slice.

其中,实际应用时,所述管控设备可以根据切片的要求,计算切片路径,然后根据确定的切片路径,将SID编排进SR Policy,再将SR Policy下发给头节点。这里,SR Policiy中的段列表(Segment list)包含多个SID,多个SID具有顺序性,从而表示了切片的路径。Among them, in actual application, the management and control device can calculate the slicing path according to the slicing requirements, then compile the SID into the SR Policy based on the determined slicing path, and then deliver the SR Policy to the head node. Here, the segment list (Segment list) in SR Policy contains multiple SIDs, and the multiple SIDs are sequential, thus representing the path of the slice.

本申请实施例提供的报文传输方法,第一网络节点确定第一报文的路由策略;利用所述路由策略及第一报文,生成第二报文,所述第二报文中的SID与所述第一报文的切片关联;利用所述第二报文中的SID确定所述切片的资源;利用确定的资源发出所述第二报文;第二网络节点接收第二报文,所述第二报文中的SID与对应的切片关联;利用所述第二报文中的SID确定所述切片的资源;利用确定的资源转发所述第二报文。本申请实施例提供的方案,将SID与切片的链路资源(即网络资源)相关联,从而实现网络切片,这样,不需要改变现有SR的报文结构以及转发机制,可实施性强,且与相关技术兼容。In the message transmission method provided by the embodiment of the present application, the first network node determines the routing policy of the first message; uses the routing policy and the first message to generate a second message, and the SID in the second message associated with the slice of the first message; using the SID in the second message to determine the resources of the slice; using the determined resources to send the second message; the second network node receives the second message, The SID in the second message is associated with the corresponding slice; the SID in the second message is used to determine the resources of the slice; and the determined resources are used to forward the second message. The solution provided by the embodiment of this application associates the SID with the link resource of the slice (i.e., the network resource) to realize network slicing. In this way, there is no need to change the message structure and forwarding mechanism of the existing SR, and it is highly implementable. And compatible with related technologies.

下面结合应用示例对本申请再作进一步详细的描述。The present application will be described in further detail below in conjunction with application examples.

在本应用示例中,管控设备是SDN控制器,有两个用户(USER1、USER2)的切片业务。In this application example, the management and control device is an SDN controller, and there are slice services for two users (USER1, USER2).

本应用示例网络切片的实现流程主要包括:The implementation process of network slicing in this application example mainly includes:

步骤1:SDN控制器规划网络节点切片相关信息(即切片规划信息);Step 1: The SDN controller plans network node slicing related information (ie, slicing planning information);

具体地,SDN控制器或者网管系统根据网络规划,比如根据不同的切 片业务的业务特征规划对应的BW需求,并按照BW需求分配不同的切片ID,假设如表1所示,USER1、USER2的切片业务对应的切片ID分别为1、2,对应的带宽分别为10G、20G。
Specifically, the SDN controller or network management system determines Plan the corresponding BW requirements according to the business characteristics of the slice service, and allocate different slice IDs according to the BW requirements. Assume that as shown in Table 1, the slice IDs corresponding to the slice services of USER1 and USER2 are 1 and 2 respectively, and the corresponding bandwidths are 10G respectively. , 20G.

表1Table 1

SDN控制器向所有配置为报文转发的网络节点发送切片规划信息,即向所有受控制的网络节点发送切片规划信息,比如将包含切片ID与对应的资源(比如带BW)的信息下发至各网络节点。The SDN controller sends slice planning information to all network nodes configured for packet forwarding, that is, sends slice planning information to all controlled network nodes. For example, it sends the information containing the slice ID and corresponding resources (such as BW) to each network node.

步骤2:各网络节点收到SDN下发的切片规划信息后,本地分配SID以及链路资源;Step 2: After receiving the slice planning information issued by SDN, each network node allocates SID and link resources locally;

这里,分配的本地SID本地有效,不需要进行洪泛。Here, the assigned local SID is locally valid and does not require flooding.

如图3所示,假设USER1和USER2的切片业务的报文需要由PE1、P1、P2进行转发,SDN控制器向PE1、P1、P2发送切片规划信息,PE1收到SDN控制器发送的切片规划信息后,各自为USER1、USER2的切片业务本地分配SID及链路资源,并建立对应关系,示例性地,对应关系可以如表2所示。
As shown in Figure 3, assume that the slice service packets of USER1 and USER2 need to be forwarded by PE1, P1, and P2. The SDN controller sends slice planning information to PE1, P1, and P2. PE1 receives the slice plan sent by the SDN controller. After receiving the information, each locally allocates SID and link resources to the slice services of USER1 and USER2, and establishes a corresponding relationship. For example, the corresponding relationship can be as shown in Table 2.

表2Table 2

相应地,P1收到SDN控制器发送的切片规划信息后,各自为USER1、USER2的切片业务本地分配SID及链路资源,并建立对应关系,示例性地,对应关系可以如表3所示。
Correspondingly, after receiving the slice planning information sent by the SDN controller, P1 locally allocates SIDs and link resources to the slice services of USER1 and USER2, and establishes a corresponding relationship. For example, the corresponding relationship can be as shown in Table 3.

表3table 3

P2收到SDN控制器发送的切片规划信息后,各自为USER1、USER2的切片业务本地分配SID及链路资源,并建立对应关系,示例性地,对应关系可以如表4所示。
After receiving the slice planning information sent by the SDN controller, P2 locally allocates SIDs and link resources to the slice services of USER1 and USER2, and establishes a corresponding relationship. For example, the corresponding relationship can be as shown in Table 4.

表4Table 4

各网络节点保存对应关系,以便后续基于该对应关系对报文进行转发。Each network node saves the corresponding relationship so that messages can be forwarded based on the corresponding relationship later.

这里,基于SDI对应的网络节点的转发行为定义为:匹配SID后通过资源保障路径转发报文,该行为可以通过新定义Function或者新定义Flavor来实现,也可以对已有的Function或者Flavor的具体值进行特定处理后实现。Here, the forwarding behavior of the network node corresponding to SDI is defined as: forwarding the message through the resource guarantee path after matching the SID. This behavior can be achieved by newly defining a Function or a new Flavor, or by modifying the specific configuration of an existing Function or Flavor. The value is implemented after specific processing.

步骤3:各网络节点将分配的SID上送给SDN控制器,上送的信息可以包括切片ID及对应的SID;Step 3: Each network node sends the assigned SID to the SDN controller. The information sent may include the slice ID and the corresponding SID;

示例性地,对于PE1,上报的信息可以如表5所示:
For example, for PE1, the reported information can be as shown in Table 5:

表5table 5

步骤4:SDN控制器收集各网络节点上送的信息后,计算切片路径,并将SID编排进SR Policy,下发SR Policy给头节点;Step 4: After collecting the information sent by each network node, the SDN controller calculates the slicing path, arranges the SID into the SR Policy, and issues the SR Policy to the head node;

其中,如图3所示,对于USER1和USER2的切片业务,则下发SR Policy给PE1。其中,USER1的切片业务对应的SR Policy中Segment list信息为<AA:D0::11,AA:D1::11,AA:D2::11>,USER2的切片业务对应的SR Policy中Segment list信息为<AA:D0::22,AA:D1::22,AA:D2::22>。Among them, as shown in Figure 3, for the slicing services of USER1 and USER2, the SR Policy is issued to PE1. Among them, the Segment list information in the SR Policy corresponding to USER1's slicing business is <AA:D0::11,AA:D1::11,AA:D2::11>, and the Segment list information in the SR Policy corresponding to USER2's slicing business is <AA:D0::22,AA:D1::22,AA:D2::22>.

步骤5:如图4所示,PE 1收到SR Policy后,当收到USER1或USER2的报文后,根据用户业务报文引流到SR Policy,根据SR Policy封装IPv6报文,封装后的报文的报文头包括IPv6报文头以及SRH,然后根据表2所示的对应关系确定报文的链路资源,利用确定的链路资源发送报文;Step 5: As shown in Figure 4, after PE 1 receives the SR Policy, when receiving the packet from USER1 or USER2, it diverts the user service packet to the SR Policy and encapsulates the IPv6 packet according to the SR Policy. The encapsulated packet The message header of the message includes the IPv6 message header and SRH, and then the link resources of the message are determined according to the corresponding relationship shown in Table 2, and the message is sent using the determined link resources;

这里,封装后的报文的报文头包含Segment list信息。Here, the message header of the encapsulated message contains Segment list information.

步骤6:如图4所示,P1和P2收到报文后,继承现有机制解析Segment List获取SID,然后基于SID的function类型或者flavor行为来匹配对应的资源保障路径,将报文通过对应的路径转发。Step 6: As shown in Figure 4, after P1 and P2 receive the message, they inherit the existing mechanism to parse the Segment List to obtain the SID, and then match the corresponding resource guarantee path based on the function type or flavor behavior of the SID, and pass the message through the corresponding path forwarding.

具体地,P1收到报文后,对于USER1的报文将报文中的目的地址修改为AA:D2::11,并利用AA:D1::11从表3中确定对应的链路资源,利用确定的链路资源转发报文;对于USER2的报文,P1将报文中的目的地址修改为AA:D2::22,并利用AA:D1::22从表3中确定对应的链路资源,利用确定的链路资源转发报文。 Specifically, after P1 receives the message, it modifies the destination address in the message to AA:D2::11 for USER1's message, and uses AA:D1::11 to determine the corresponding link resource from Table 3. Use the determined link resource to forward the message; for USER2's message, P1 changes the destination address in the message to AA:D2::22, and uses AA:D1::22 to determine the corresponding link from Table 3 resources, using determined link resources to forward packets.

P2收到报文后,对于USER1的报文将报文中的目的地址修改为VPN SID,并利用AA:D2::11从表4中确定对应的链路资源,利用确定的链路资源转发;对于USER2的报文,P2将报文中的目的地址修改为AA:D2::22,并利用AA:D2::22从表4中确定对应的链路资源,利用确定的链路资源转发报文。After P2 receives the message, it changes the destination address in the message to VPN SID for USER1's message, uses AA:D2::11 to determine the corresponding link resource from Table 4, and forwards it using the determined link resource. ; For USER2's message, P2 changes the destination address in the message to AA:D2::22, uses AA:D2::22 to determine the corresponding link resource from Table 4, and uses the determined link resource to forward message.

从上面的描述可以看出,转发节点基于SID的function或者flavor来匹配对应的链路资源保障路径,并通过对应的路径转发报文。As can be seen from the above description, the forwarding node matches the corresponding link resource guarantee path based on the function or flavor of the SID, and forwards the message through the corresponding path.

从上面的描述可以看出,本申请实施例提供的方案,将SID与网络资源相关联,在已有的SR-MPLS以及SRv6隧道以及转发机制基础上进一步为路径提供确定资源保障路径,也就是说,在继承SR-MPLS,SRv6转发机制的基础上,将SID与链路资源相关联,实现了网络切片。具体地,SID的转发行为定义为:匹配SID后通过资源保障路径转发报文。As can be seen from the above description, the solution provided by the embodiment of this application associates SID with network resources, and further provides a certain resource guarantee path for the path based on the existing SR-MPLS and SRv6 tunnels and forwarding mechanisms, that is, It is said that on the basis of inheriting the forwarding mechanism of SR-MPLS and SRv6, SID is associated with link resources to realize network slicing. Specifically, the forwarding behavior of SID is defined as: forwarding the packet through the resource guaranteed path after matching the SID.

另外,SID本地有效,不需要通过IGP等协议洪泛,可以减小系统开销。In addition, the SID is locally valid and does not need to be flooded through protocols such as IGP, which can reduce system overhead.

为了实现本申请实施例的方法,本申请实施例还提供了一种报文传输装置,设置在第一网络节点上,如图5所示,该装置包括:In order to implement the method of the embodiment of the present application, the embodiment of the present application also provides a message transmission device, which is provided on the first network node. As shown in Figure 5, the device includes:

确定单元501,配置为确定第一报文的路由策略;The determining unit 501 is configured to determine the routing policy of the first message;

第一处理单元502,配置为利用所述路由策略及第一报文,生成第二报文,所述第二报文中的SID与所述第一报文的切片关联;利用所述第二报文中的SID确定所述切片的资源;以及利用确定的资源发出所述第二报文。The first processing unit 502 is configured to use the routing policy and the first message to generate a second message, where the SID in the second message is associated with the slice of the first message; using the second message The SID in the message determines the resources of the slice; and the second message is sent using the determined resources.

其中,在一实施例中,所述确定单元501,配置为:Wherein, in one embodiment, the determining unit 501 is configured as:

确定所述第一报文的业务特征;Determine the service characteristics of the first message;

在第二表中查找到与所述第一报文的业务特征对应的路由策略,所述第二表包含业务特征、切片与路由策略的对应关系,路由策略包含路径对应的SID,SID与切片关联。Find the routing policy corresponding to the service characteristics of the first message in the second table. The second table includes the correspondence between the service characteristics, slices and routing policies. The routing policy includes the SID corresponding to the path, the SID and the slice. association.

在一实施例中,所述第一处理单元502,配置为:In one embodiment, the first processing unit 502 is configured as:

在第一表中查找到与所述第二报文中的SID对应的资源信息,所述第一表包含SID与切片的资源的对应关系。The resource information corresponding to the SID in the second message is found in the first table, and the first table includes the corresponding relationship between the SID and the sliced resources.

在一实施例中,该装置还可以包括:第三处理单元,配置为:In an embodiment, the device may further include: a third processing unit configured to:

接收管控设备发送的第一信息,所述第一信息至少包含切片与对应的路由策略;Receive the first information sent by the management and control device, where the first information at least includes slices and corresponding routing policies;

利用所述第一信息,形成所述第二表。Using the first information, the second table is formed.

其中,在一实施例中,所述第三处理单元,还配置为向所述管控设备发送至少一个切片中每个切片对应的SID。In one embodiment, the third processing unit is further configured to send the SID corresponding to each slice in at least one slice to the management and control device.

这里,在一实施例中,所述第三处理单元还配置为为切片分配SID和资源,建立SID和切片的资源的对应关系,并存储所述对应关系。Here, in one embodiment, the third processing unit is further configured to allocate SIDs and resources to slices, establish a corresponding relationship between SIDs and resources of the slice, and store the corresponding relationship.

实际应用时,所述确定单元501可由报文传输装置中的处理器实现;所述第一处理单元502和第三处理单元可由报文传输装置中的处理器结合 通信接口实现。In actual application, the determining unit 501 can be implemented by a processor in a message transmission device; the first processing unit 502 and the third processing unit can be combined by a processor in the message transmission device. Communication interface implementation.

为了实现本申请实施例第二网络节点侧的方法,本申请实施例还提供了一种报文传输装置,设置在第二网络节点上,如图6所示,该装置包括:In order to implement the method on the second network node side of the embodiment of the present application, the embodiment of the present application also provides a message transmission device, which is provided on the second network node. As shown in Figure 6, the device includes:

第一接收单元601,配置为接收第二报文,所述第二报文中的SID与对应的切片关联;The first receiving unit 601 is configured to receive a second message, where the SID in the second message is associated with the corresponding slice;

第二处理单元602,配置为利用所述第二报文中的SID确定所述切片的资源;以及利用确定的资源转发所述第二报文。The second processing unit 602 is configured to use the SID in the second message to determine the resources of the slice; and use the determined resources to forward the second message.

其中,在一实施例中,所述第二处理单元602,配置为在第三表中查找到与所述第二报文中的SID对应的资源信息,所述第三表包含SID与切片的资源的对应关系。In one embodiment, the second processing unit 602 is configured to find the resource information corresponding to the SID in the second message in a third table, where the third table includes the SID and the slice. Resource correspondence.

这里,在一实施例中,所述第二处理单元602,还配置为为切片分配SID和资源,建立SID和切片的资源的对应关系,并存储所述对应关系。Here, in one embodiment, the second processing unit 602 is further configured to allocate SIDs and resources to slices, establish a corresponding relationship between SIDs and resources of the slice, and store the corresponding relationship.

在一实施例中,所述第二处理单元602,还配置为向管控设备发送至少一个切片中每个切片对应的SID。In an embodiment, the second processing unit 602 is further configured to send the SID corresponding to each slice in at least one slice to the management and control device.

实际应用时,所述第一接收单元601可由报文传输装置中的通信接口实现,所述第二处理单元602可由报文传输装置中的处理器结合通信接口实现。In actual application, the first receiving unit 601 can be implemented by a communication interface in the message transmission device, and the second processing unit 602 can be implemented by a processor in the message transmission device combined with the communication interface.

为了实现本申请实施例管控设备侧的方法,本申请实施例还提供了一种报文传输装置,设置在管控设备上,如图7所示,该装置包括:In order to implement the method on the management and control device side of the embodiment of the present application, the embodiment of the present application also provides a message transmission device, which is provided on the management and control device. As shown in Figure 7, the device includes:

发送单元701,配置为向第一网络节点发送第一信息,所述第一信息至少包含切片与对应的路由策略,每个路由策略包含路径对应的SID,SID与切片关联,所述路由策略配置为进行报文转发。The sending unit 701 is configured to send first information to the first network node. The first information at least includes slices and corresponding routing policies. Each routing policy includes the SID corresponding to the path. The SID is associated with the slice. The routing policy configuration For message forwarding.

其中,在一实施例中,如图7所示,该装置还可以包括:In one embodiment, as shown in Figure 7, the device may further include:

第二接收单元702,配置为针对一个切片,接收至少一个网络节点发送的SIDThe second receiving unit 702 is configured to receive the SID sent by at least one network node for one slice.

第四处理单元703,配置为确定切片的路径;以及利用接收的SID和确定的路径,生成切片的路由策略。The fourth processing unit 703 is configured to determine the path of the slice; and generate a routing policy for the slice using the received SID and the determined path.

实际应用时,所述发送单元701和第二接收单元702可由报文传输装置中的通信接口实现,所述第四处理单元703可由报文传输装置中的处理器实现。In actual application, the sending unit 701 and the second receiving unit 702 can be implemented by a communication interface in the message transmission device, and the fourth processing unit 703 can be implemented by a processor in the message transmission device.

需要说明的是:上述实施例提供的报文传输装置在进行报文传输时,仅以上述各程序模块的划分进行举例说明,实际应用中,可以根据需要而将上述处理分配由不同的程序模块完成,即将装置的内部结构划分成不同的程序模块,以完成以上描述的全部或者部分处理。另外,上述实施例提供的报文传输装置与报文传输方法实施例属于同一构思,其具体实现过程详见方法实施例,这里不再赘述。It should be noted that when the message transmission device provided in the above embodiment performs message transmission, only the division of the above program modules is used as an example. In actual applications, the above processing can be allocated to different program modules as needed. Completion means dividing the internal structure of the device into different program modules to complete all or part of the processing described above. In addition, the message transmission device provided by the above embodiments and the message transmission 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.

基于上述程序模块的硬件实现,且为了实现本申请实施例第一网络节点侧的方法,本申请实施例还提供了一种第一网络节点,如图8所示,第 一网络节点800包括:Based on the hardware implementation of the above program module, and in order to implement the method on the first network node side in the embodiment of the present application, the embodiment of the present application also provides a first network node, as shown in Figure 8, A network node 800 includes:

第一通信接口801,能够与其他网络节点进行信息交互;The first communication interface 801 is capable of information exchange with other network nodes;

第一处理器802,与所述第一通信接口801连接,以实现与其他网络节点进行信息交互,配置为运行计算机程序时,执行上述第一网络节点侧一个或多个技术方案提供的方法;The first processor 802 is connected to the first communication interface 801 to implement information interaction with other network nodes, and is configured to execute the method provided by one or more technical solutions on the first network node side when running a computer program;

第一存储器803,所述计算机程序存储在第一存储器803上。A first memory 803 on which the computer program is stored.

具体地,所述第一处理器802,配置为确定第一报文的路由策略,利用所述路由策略及第一报文,生成第二报文,所述第二报文中的SID与所述第一报文的切片关联;利用所述第二报文中的SID确定所述切片的资源;以及利用确定的资源通过所述第一通信接口801发出所述第二报文。Specifically, the first processor 802 is configured to determine the routing policy of the first message, and use the routing policy and the first message to generate a second message, where the SID in the second message is the same as the first message. The slice association of the first message; using the SID in the second message to determine the resources of the slice; and using the determined resources to send the second message through the first communication interface 801.

其中,在一实施例中,所述第一处理器802,配置为:In one embodiment, the first processor 802 is configured as:

确定所述第一报文的业务特征;Determine the service characteristics of the first message;

在第二表中查找到与所述第一报文的业务特征对应的路由策略,所述第二表包含业务特征、切片与路由策略的对应关系,路由策略包含路径对应的SID,SID与切片关联。Find the routing policy corresponding to the service characteristics of the first message in the second table. The second table includes the correspondence between the service characteristics, slices and routing policies. The routing policy includes the SID corresponding to the path, the SID and the slice. association.

在一实施例中,所述第一处理器802,配置为:In one embodiment, the first processor 802 is configured as:

在第一表中查找到与所述第二报文中的SID对应的资源信息,所述第一表包含SID与切片的资源的对应关系。The resource information corresponding to the SID in the second message is found in the first table, and the first table includes the corresponding relationship between the SID and the sliced resources.

在一实施例中,所述第一通信接口801,配置为接收管控设备发送的第一信息,所述第一信息至少包含切片与对应的路由策略;In one embodiment, the first communication interface 801 is configured to receive the first information sent by the management and control device, where the first information at least includes slices and corresponding routing policies;

所述第一处理器802,还配置为利用所述第一信息,形成所述第二表。The first processor 802 is also configured to use the first information to form the second table.

其中,在一实施例中,所述第一通信接口801,还配置为向所述管控设备发送至少一个切片中每个切片对应的SID。In one embodiment, the first communication interface 801 is further configured to send the SID corresponding to each slice in at least one slice to the management and control device.

这里,在一实施例中,所述第一处理器802,还配置为为切片分配SID和资源,建立SID和切片的资源的对应关系,并存储所述对应关系。Here, in one embodiment, the first processor 802 is further configured to allocate SIDs and resources to slices, establish a corresponding relationship between SIDs and resources of the slice, and store the corresponding relationship.

需要说明的是:所述第一处理器802和第一通信接口801的具体处理过程可参照上述方法理解。It should be noted that the specific processing procedures of the first processor 802 and the first communication interface 801 can be understood with reference to the above method.

当然,实际应用时,第一网络节点800中的各个组件通过总线系统804耦合在一起。可理解,总线系统804配置为实现这些组件之间的连接通信。总线系统804除包括数据总线之外,还包括电源总线、控制总线和状态信号总线。但是为了清楚说明起见,在图8中将各种总线都标为总线系统804。Of course, in actual application, various components in the first network node 800 are coupled together through the bus system 804 . It will be appreciated that bus system 804 is configured to enable connected communications between these components. In addition to the data bus, the bus system 804 also includes a power bus, a control bus and a status signal bus. However, for the sake of clarity, the various buses are labeled bus system 804 in FIG. 8 .

本申请实施例中的第一存储器803配置为存储各种类型的数据以支持第一网络节点800的操作。这些数据的示例包括:用于在第一网络节点800上操作的任何计算机程序。The first memory 803 in the embodiment of the present application is configured to store various types of data to support the operation of the first network node 800 . Examples of such data include any computer program for operating on the first network node 800 .

上述本申请实施例揭示的方法可以应用于所述第一处理器802中,或者由所述第一处理器802实现。所述第一处理器802可能是一种集成电路芯片,具有信号的处理能力。在实现过程中,上述方法的各步骤可以通过所述第一处理器802中的硬件的集成逻辑电路或者软件形式的指令完成。 上述的所述第一处理器802可以是通用处理器、数字信号处理器(DSP,Digital Signal Processor),或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。所述第一处理器802可以实现或者执行本申请实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者任何常规的处理器等。结合本申请实施例所公开的方法的步骤,可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件模块组合执行完成。软件模块可以位于存储介质中,该存储介质位于第一存储器803,所述第一处理器802读取第一存储器803中的信息,结合其硬件完成前述方法的步骤。The methods disclosed in the above embodiments of the present application can be applied to the first processor 802 or implemented by the first processor 802 . The first processor 802 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 first processor 802 . The above-mentioned first processor 802 may be a general-purpose processor, a digital signal processor (DSP), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The first processor 802 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 first memory 803. The first processor 802 reads the information in the first memory 803, and completes the steps of the foregoing method in combination with its hardware.

在示例性实施例中,第一网络节点800可以被一个或多个应用专用集成电路(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 first network node 800 may be configured by one or more Application Specific Integrated Circuits (ASICs, Application Specific Integrated Circuits), DSPs, Programmable Logic Devices (PLDs, Programmable Logic Devices), complex programmable logic devices (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 are implemented and configured to perform the aforementioned methods.

基于上述程序模块的硬件实现,且为了实现本申请实施例第二网络节点侧的方法,本申请实施例还提供了一种第二网络节点,如图9所示,该第二网络节点900包括:Based on the hardware implementation of the above program module, and in order to implement the method on the second network node side of the embodiment of the present application, the embodiment of the present application also provides a second network node. As shown in Figure 9, the second network node 900 includes :

第二通信接口901,能够与其他网络节点进行信息交互;The second communication interface 901 is capable of information exchange with other network nodes;

第二处理器902,与所述第二通信接口901连接,以实现与其他网络节点进行信息交互,配置为运行计算机程序时,执行上述第二网络节点侧一个或多个技术方案提供的方法;The second processor 902 is connected to the second communication interface 901 to implement information interaction with other network nodes, and is configured to execute the method provided by one or more technical solutions on the second network node side when running a computer program;

第二存储器903,而所述计算机程序存储在第二存储器903上。a second memory 903 on which the computer program is stored.

具体地,所述第二通信接口901,配置为接收第二报文,所述第二报文中的SID与对应的切片关联;Specifically, the second communication interface 901 is configured to receive a second message, and the SID in the second message is associated with the corresponding slice;

所述第二处理器902,配置为利用所述第二报文中的SID确定所述切片的资源;以及利用确定的资源通过所述第二通信接口901转发所述第二报文。The second processor 902 is configured to use the SID in the second message to determine the resources of the slice; and use the determined resources to forward the second message through the second communication interface 901.

其中,在一实施例中,所述第二处理器902,配置为在第三表中查找到与所述第二报文中的SID对应的资源信息,所述第三表包含SID与切片的资源的对应关系。In one embodiment, the second processor 902 is configured to find resource information corresponding to the SID in the second message in a third table, where the third table includes the SID and the slice. Resource correspondence.

这里,在一实施例中,所述第二处理器902,还配置为为切片分配SID和资源,建立SID和切片的资源的对应关系,并存储所述对应关系。Here, in one embodiment, the second processor 902 is further configured to allocate SIDs and resources to slices, establish a corresponding relationship between SIDs and resources of the slice, and store the corresponding relationship.

在一实施例中,所述第二通信接口901,还配置为向管控设备发送至少一个切片中每个切片对应的SID。In one embodiment, the second communication interface 901 is further configured to send the SID corresponding to each slice in at least one slice to the management and control device.

需要说明的是:第二处理器902和第二通信接口901的具体处理过程可参照上述方法理解。 It should be noted that the specific processing procedures of the second processor 902 and the second 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 second 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 second memory 903 in the embodiment of the present application is configured to store various types of data to support the operation of the second network node 900. Examples of such data include any computer program for operation on the second network node 900 .

上述本申请实施例揭示的方法可以应用于所述第二处理器902中,或者由所述第二处理器902实现。所述第二处理器902可能是一种集成电路芯片,具有信号的处理能力。在实现过程中,上述方法的各步骤可以通过所述第二处理器902中的硬件的集成逻辑电路或者软件形式的指令完成。上述的所述第二处理器902可以是通用处理器、DSP,或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。所述第二处理器902可以实现或者执行本申请实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者任何常规的处理器等。结合本申请实施例所公开的方法的步骤,可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件模块组合执行完成。软件模块可以位于存储介质中,该存储介质位于第二存储器903,所述第二处理器902读取第二存储器903中的信息,结合其硬件完成前述方法的步骤。The methods disclosed in the above embodiments of the present application can be applied to the second processor 902 or implemented by the second processor 902 . The second 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 second processor 902 . The above-mentioned second processor 902 may be a general-purpose processor, a DSP, or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The second 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 second memory 903. The second processor 902 reads the information in the second memory 903, and completes the steps of the foregoing method in combination with its hardware.

在示例性实施例中,第二网络节点900可以被一个或多个ASIC、DSP、PLD、CPLD、FPGA、通用处理器、控制器、MCU、Microprocessor、或其他电子元件实现,配置为执行前述方法。In an exemplary embodiment, the second network node 900 may be implemented by one or more ASICs, DSPs, PLDs, CPLDs, FPGAs, general processors, controllers, MCUs, Microprocessors, or other electronic components and configured to perform the foregoing method .

基于上述程序模块的硬件实现,且为了实现本申请实施例管控设备侧的方法,本申请实施例还提供了一种管控设备,如图10所示,该管控设备1000包括:Based on the hardware implementation of the above program module, and in order to implement the method on the management and control device side of the embodiment of the present application, the embodiment of the present application also provides a management and control device. As shown in Figure 10, the management and control device 1000 includes:

第三通信接口1001,能够与网络节点进行信息交互;The third communication interface 1001 is capable of information interaction with network nodes;

第三处理器1002,与所述第三通信接口1001连接,以实现与网络节点进行信息交互,配置为运行计算机程序时,执行上述管控设备侧一个或多个技术方案提供的方法;The third processor 1002 is connected to the third communication interface 1001 to realize information interaction with the network node, and is configured to execute the method provided by one or more technical solutions on the side of the management and control device when running a computer program;

第三存储器1003,而所述计算机程序存储在第三存储器1003上。A third memory 1003 on which the computer program is stored.

具体地,所述第三通信接口1001,配置为向第一网络节点发送第一信息,所述第一信息至少包含切片与对应的路由策略,每个路由策略包含路径对应的SID,SID与切片关联,所述路由策略用于进行报文转发。Specifically, the third communication interface 1001 is configured to send first information to the first network node. The first information at least includes slices and corresponding routing policies. Each routing policy includes the SID corresponding to the path, the SID and the slice. Association, the routing policy is used for packet forwarding.

其中,在一实施例中,所述第三通信接口1001,还配置为针对一个切片,接收至少一个网络节点发送的SID;In one embodiment, the third communication interface 1001 is further configured to receive a SID sent by at least one network node for one slice;

所述第三处理器1002,配置为确定切片的路径;以及利用接收的SID和确定的路径,生成切片的路由策略。The third processor 1002 is configured to determine the path of the slice; and generate a routing policy for the slice using the received SID and the determined path.

需要说明的是:第三处理器1002和第三通信接口1001的具体处理过 程可参照上述方法理解。It should be noted that: the specific processing of the third processor 1002 and the third communication interface 1001 The process can be understood by referring to the above method.

当然,实际应用时,管控设备1000中的各个组件通过总线系统1004耦合在一起。可理解,总线系统1004配置为实现这些组件之间的连接通信。总线系统1004除包括数据总线之外,还包括电源总线、控制总线和状态信号总线。但是为了清楚说明起见,在图10中将各种总线都标为总线系统1004。Of course, in actual application, various components in the management and control device 1000 are coupled together through the bus system 1004. It will be appreciated that the bus system 1004 is configured to enable connection communications between these components. In addition to the data bus, the bus system 1004 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 1004 in FIG. 10 .

本申请实施例中的第三存储器1003配置为存储各种类型的数据以支持管控设备1000操作。这些数据的示例包括:用于在管控设备1000上操作的任何计算机程序。The third memory 1003 in the embodiment of the present application is configured to store various types of data to support the operation of the management and control device 1000 . Examples of such data include: any computer program used to operate on the management device 1000.

上述本申请实施例揭示的方法可以应用于所述第三处理器1002中,或者由所述第三处理器1002实现。所述第三处理器1002可能是一种集成电路芯片,具有信号的处理能力。在实现过程中,上述方法的各步骤可以通过所述第三处理器1002中的硬件的集成逻辑电路或者软件形式的指令完成。上述的所述第三处理器1002可以是通用处理器、DSP,或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。所述第三处理器1002可以实现或者执行本申请实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者任何常规的处理器等。结合本申请实施例所公开的方法的步骤,可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件模块组合执行完成。软件模块可以位于存储介质中,该存储介质位于第三存储器1003,所述第三处理器1002读取第三存储器1003中的信息,结合其硬件完成前述方法的步骤。The methods disclosed in the above embodiments of the present application can be applied to the third processor 1002 or implemented by the third processor 1002 . The third processor 1002 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 third processor 1002 . The above-mentioned third processor 1002 may be a general-purpose processor, a DSP, or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The third processor 1002 can implement or execute the disclosed methods, steps and logical block diagrams 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 third memory 1003. The third processor 1002 reads the information in the third memory 1003, and completes the steps of the foregoing method in combination with its hardware.

在示例性实施例中,管控设备1000可以被一个或多个ASIC、DSP、PLD、CPLD、FPGA、通用处理器、控制器、MCU、Microprocessor、或其他电子元件实现,配置为执行前述方法。In an exemplary embodiment, the management and control device 1000 may be implemented by one or more ASICs, DSPs, PLDs, CPLDs, FPGAs, general-purpose processors, controllers, MCUs, Microprocessors, or other electronic components and configured to perform the foregoing method.

可以理解,本申请实施例的存储器(第一存储器803、第二存储器903、第三存储器1003)可以是易失性存储器或者非易失性存储器,也可包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(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 (first memory 803, second memory 903, third memory 1003) in the embodiment of the present application can be a volatile memory or a non-volatile memory, and can also include volatile and non-volatile memories. Both. Among them, the non-volatile memory can be a read-only memory (ROM, Read Only Memory), a programmable read-only memory (PROM, Programmable Read-Only Memory), an 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 CD-ROM (Compact Disc Read-Only Memory); the magnetic surface memory can be a magnetic disk memory or a magnetic tape memory. The volatile memory may be random access memory (RAM), 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 (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 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.

在示例性实施例中,本申请实施例还提供了一种存储介质,即计算机存储介质,具体为计算机可读存储介质,例如包括存储计算机程序的第一存储器803,上述计算机程序可由第一网络节点800的第一处理器802执行,以完成前述第一网络节点侧方法所述步骤,再比如包括存储计算机程序的第二存储器903,上述计算机程序可由第二网络节点900的第二处理器902执行,以完成前述第二网络节点侧方法所述步骤,再比如包括存储计算机程序的第三存储器1003,上述计算机程序可由管控设备1000的第三处理器1002执行,以完成前述管控设备侧方法所述步骤。计算机可读存储介质可以是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, for example, including a first memory 803 that stores a computer program. The computer program can be accessed by a first network. The first processor 802 of the node 800 executes to complete the steps described in the first network node side method. For example, it includes a second memory 903 that stores a computer program. The above computer program can be executed by the second processor 902 of the second network node 900 Execution, to complete the steps described in the aforementioned second network node side method, another example includes a third memory 1003 that stores a computer program. The above computer program can be executed by the third processor 1002 of the management and control device 1000 to complete the steps of the aforementioned management and control device side method. Describe the steps. 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 (32)

一种报文传输方法,应用于第一网络节点,包括:A message transmission method, applied to the first network node, including: 确定第一报文的路由策略;Determine the routing policy of the first message; 利用所述路由策略及第一报文,生成第二报文,所述第二报文中的段身份标识SID与所述第一报文的切片关联;Using the routing policy and the first message, generate a second message, and the segment identity identifier SID in the second message is associated with the slice of the first message; 利用所述第二报文中的SID确定所述切片的资源;Determine the resources of the slice using the SID in the second message; 利用确定的资源发出所述第二报文。Send the second message using the determined resources. 根据权利要求1所述的方法,其中,所述第二报文中的SID与所述第一报文的切片的资源关联。The method according to claim 1, wherein the SID in the second message is associated with the resource of the slice of the first message. 根据权利要求2所述的方法,其中,所述第二报文中的SID中的第一字段标识与所述第一报文的切片关联的资源,且所述第一字段与网络节点的行为关联。The method of claim 2, wherein the first field in the SID in the second message identifies a resource associated with the slice of the first message, and the first field is related to the behavior of the network node. association. 根据权利要求3所述的方法,其中,所述第一字段与网络节点的转发行为关联。The method of claim 3, wherein the first field is associated with forwarding behavior of a network node. 根据权利要求3所述的方法,其中,所述第一字段包括以下之一:The method of claim 3, wherein the first field includes one of the following: 功能字段;function field; Flavor字段。Flavor field. 根据权利要求2所述的方法,其中,所述利用所述第二报文中的SID确定所述切片的资源,包括:The method according to claim 2, wherein using the SID in the second message to determine the resources of the slice includes: 在第一表中查找到与所述第二报文中的SID对应的资源信息,所述第一表包含SID与切片的资源的对应关系。The resource information corresponding to the SID in the second message is found in the first table, and the first table includes the correspondence between the SID and the sliced resources. 根据权利要求1至6任一项所述的方法,其中,所述确定第一报文的路由策略,包括:The method according to any one of claims 1 to 6, wherein determining the routing policy of the first message includes: 确定所述第一报文的业务特征;Determine the service characteristics of the first message; 在第二表中查找到与所述第一报文的业务特征对应的路由策略,所述第二表包含业务特征、切片与路由策略的对应关系,路由策略包含路径对应的SID,SID与切片关联。Find the routing policy corresponding to the service characteristics of the first message in the second table. The second table includes the correspondence between the service characteristics, slices and routing policies. The routing policy includes the SID corresponding to the path, the SID and the slice. association. 根据权利要求7所述的方法,其中,所述方法还包括:The method of claim 7, further comprising: 接收管控设备发送的第一信息,所述第一信息至少包含切片与对应的路由策略;Receive the first information sent by the management and control device, where the first information at least includes slices and corresponding routing policies; 利用所述第一信息,形成所述第二表。Using the first information, the second table is formed. 根据权利要求8所述的方法,其中,所述方法还包括:The method of claim 8, further comprising: 向所述管控设备发送至少一个切片中每个切片对应的SID。Send the SID corresponding to each slice in at least one slice to the management and control device. 一种报文传输方法,应用于第二网络节点,包括:A message transmission method, applied to the second network node, including: 接收第二报文,所述第二报文中的SID与对应的切片关联;Receive a second message, where the SID in the second message is associated with the corresponding slice; 利用所述第二报文中的SID确定所述切片的资源; Determine the resources of the slice using the SID in the second message; 利用确定的资源转发所述第二报文。The second message is forwarded using the determined resources. 根据权利要求10所述的方法,其中,所述第二报文中的SID与对应切片的资源关联。The method according to claim 10, wherein the SID in the second message is associated with resources of the corresponding slice. 根据权利要求11所述的方法,其中,所述第二报文中的SID中的第一字段标识与所述切片关联的资源,且所述第一字段与网络节点的行为关联。The method of claim 11, wherein a first field in the SID in the second message identifies a resource associated with the slice, and the first field is associated with a behavior of a network node. 根据权利要求12所述的方法,其中,所述第一字段与网络节点的转发行为关联。The method of claim 12, wherein the first field is associated with forwarding behavior of a network node. 根据权利要求12所述的方法,其中,所述第一字段包括以下之一:The method of claim 12, wherein the first field includes one of the following: 功能字段;function field; Flavor字段。Flavor field. 根据权利要求10至14任一项所述的方法,其中,所述利用所述第二报文中的SID确定与所述切片的资源,包括:The method according to any one of claims 10 to 14, wherein using the SID in the second message to determine resources related to the slice includes: 在第三表中查找到与所述第二报文中的SID对应的资源信息,所述第三表包含SID与切片的资源的对应关系。The resource information corresponding to the SID in the second message is found in the third table, and the third table includes the corresponding relationship between the SID and the sliced resources. 根据权利要求15所述的方法,其中,所述方法还包括:The method of claim 15, wherein the method further includes: 向管控设备发送至少一个切片中每个切片对应的SID。Send the SID corresponding to each slice in at least one slice to the management and control device. 一种报文传输方法,应用于管控设备,包括:A message transmission method, applied to management and control equipment, including: 向第一网络节点发送第一信息,所述第一信息至少包含切片与对应的路由策略,每个路由策略包含路径对应的SID,SID与切片关联,所述路由策略用于进行报文转发。Send first information to the first network node, where the first information at least includes slices and corresponding routing policies. Each routing policy includes an SID corresponding to the path, and the SID is associated with the slice. The routing policy is used for packet forwarding. 根据权利要求17所述的方法,其中,SID与切片的资源关联。17. The method of claim 17, wherein the SID is associated with a resource of the slice. 根据权利要求18所述的方法,其中,SID中的第一字段标识与切片关联的资源,且所述第一字段与网络节点的行为关联。The method of claim 18, wherein a first field in the SID identifies a resource associated with the slice, and the first field is associated with a behavior of a network node. 根据权利要求19所述的方法,其中,所述第一字段与网络节点的转发行为关联。The method of claim 19, wherein the first field is associated with forwarding behavior of a network node. 根据权利要求19所述的方法,其中,所述第一字段包括以下之一:The method of claim 19, wherein the first field includes one of the following: 功能字段;Function field; Flavor字段。Flavor field. 根据权利要求17至21任一项所述的方法,其中,所述方法还包括:The method according to any one of claims 17 to 21, wherein the method further comprises: 针对一个切片,接收至少一个网络节点发送的SID;For a slice, receive the SID sent by at least one network node; 确定切片的路径;Determine the path of the slice; 利用接收的SID和确定的路径,生成切片的路由策略。Using the received SID and determined path, a routing policy for the slice is generated. 一种报文传输装置,包括:A message transmission device, including: 确定单元,配置为确定第一报文的路由策略;a determining unit configured to determine the routing policy of the first message; 第一处理单元,配置为利用所述路由策略及第一报文,生成第二报文,所述第二报文中的SID与所述第一报文的切片关联;利用所述第二报文中 的SID确定所述切片的资源;以及利用确定的资源发出所述第二报文。A first processing unit configured to use the routing policy and the first message to generate a second message, where the SID in the second message is associated with the slice of the first message; using the second message in the text The SID of the slice determines the resource of the slice; and uses the determined resource to send the second message. 一种报文传输装置,包括:A message transmission device, including: 第一接收单元,配置为接收第二报文,所述第二报文中的SID与对应的切片关联;A first receiving unit configured to receive a second message, where the SID in the second message is associated with the corresponding slice; 第二处理单元,配置为利用所述第二报文中的SID确定所述切片的资源;以及利用确定的资源转发所述第二报文。The second processing unit is configured to use the SID in the second message to determine the resources of the slice; and use the determined resources to forward the second message. 一种报文传输装置,包括:A message transmission device, including: 发送单元,配置为向第一网络节点发送第一信息,所述第一信息至少包含切片与对应的路由策略,每个路由策略包含路径对应的SID,SID与切片关联,所述路由策略用于进行报文转发。A sending unit configured to send first information to the first network node. The first information at least includes slices and corresponding routing policies. Each routing policy includes an SID corresponding to the path. The SID is associated with the slice. The routing policy is used to Forward message. 一种第一网络节点,包括:第一处理器及第一通信接口;其中,A first network node includes: a first processor and a first communication interface; wherein, 所述第一处理器,配置为确定第一报文的路由策略,利用所述路由策略及第一报文,生成第二报文,所述第二报文中的SID与所述第一报文的切片关联;利用所述第二报文中的SID确定所述切片的资源;以及利用确定的资源通过所述第一通信接口发出所述第二报文。The first processor is configured to determine the routing policy of the first message, and generate a second message using the routing policy and the first message. The SID in the second message is the same as the first message. associate the slice of the message; use the SID in the second message to determine the resource of the slice; and use the determined resource to send the second message through the first communication interface. 一种第二网络节点,包括:第二通信接口及第二处理器;A second network node includes: a second communication interface and a second processor; 所述第二通信接口,配置为接收第二报文,所述第二报文中的SID与对应的切片关联;The second communication interface is configured to receive a second message, and the SID in the second message is associated with the corresponding slice; 所述第二处理器,配置为利用所述第二报文中的SID确定所述切片的资源;以及利用确定的资源通过所述第二通信接口转发所述第二报文。The second processor is configured to use the SID in the second message to determine the resources of the slice; and use the determined resources to forward the second message through the second communication interface. 一种管控设备,包括:第三通信接口及第三处理器;其中,A management and control device, including: a third communication interface and a third processor; wherein, 所述第三通信接口,配置为向第一网络节点发送第一信息,所述第一信息至少包含切片与对应的路由策略,每个路由策略包含路径对应的SID,SID与切片关联,所述路由策略用于进行报文转发。The third communication interface is configured to send first information to the first network node. The first information at least includes slices and corresponding routing policies. Each routing policy includes the SID corresponding to the path, and the SID is associated with the slice. Routing policies are used for packet forwarding. 一种第一网络节点,包括:第一处理器和配置为存储能够在处理器上运行的计算机程序的第一存储器,A first network node comprising: a first processor and a first memory configured to store a computer program capable of running on the processor, 其中,所述第一处理器配置为运行所述计算机程序时,执行权利要求1至9任一项所述方法的步骤。Wherein, the first processor is configured to perform the steps of the method described in any one of claims 1 to 9 when running the computer program. 一种第二网络节点,包括:第二处理器和配置为存储能够在处理器上运行的计算机程序的第二存储器,A second network node comprising: a second processor and a second memory configured to store a computer program capable of running on the processor, 其中,所述第二处理器配置为运行所述计算机程序时,执行权利要求10至16任一项所述方法的步骤。Wherein, the second processor is configured to perform the steps of the method according to any one of claims 10 to 16 when running the computer program. 一种管控设备,包括:第三处理器和配置为存储能够在处理器上运行的计算机程序的第三存储器,A management and control device including: a third processor and a third memory configured to store a computer program capable of running on the processor, 其中,所述第三处理器配置为运行所述计算机程序时,执行权利要求17至22任一项所述方法的步骤。Wherein, the third processor is configured to perform the steps of the method according to any one of claims 17 to 22 when running the computer program. 一种存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现权利要求1至9任一项所述方法的步骤,或者实现权利要求 10至16任一项所述方法的步骤,或者实现权利要求17至22任一项所述方法的步骤。 A storage medium with a computer program stored thereon, which when executed by a processor implements the steps of the method described in any one of claims 1 to 9, or implements the claims The steps of the method described in any one of claims 10 to 16, or the steps of implementing the method described in any one of claims 17 to 22.
PCT/CN2023/102901 2022-06-30 2023-06-27 Packet transmission method and apparatus, related device, and storage medium Ceased WO2024002101A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210769253.XA CN117377015A (en) 2022-06-30 2022-06-30 Message transmission methods, devices, related equipment and storage media
CN202210769253.X 2022-06-30

Publications (1)

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

Family

ID=89383024

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/102901 Ceased WO2024002101A1 (en) 2022-06-30 2023-06-27 Packet transmission method and apparatus, related device, and storage medium

Country Status (2)

Country Link
CN (1) CN117377015A (en)
WO (1) WO2024002101A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN119496639A (en) * 2024-10-31 2025-02-21 北京邮电大学 Message forwarding method, device, storage medium and computer program product

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110266594A (en) * 2019-06-28 2019-09-20 Ut斯达康通讯有限公司 The Segment routing retransmission method and device of across a network slice
CN111107004A (en) * 2018-10-27 2020-05-05 华为技术有限公司 Message processing method, related equipment and computer storage medium
CN113852552A (en) * 2021-09-23 2021-12-28 网络通信与安全紫金山实验室 Network communication method, system and storage medium
WO2022110535A1 (en) * 2020-11-27 2022-06-02 华为技术有限公司 Packet sending method, device, and system
CN115334589A (en) * 2021-05-11 2022-11-11 中国移动通信有限公司研究院 Message transmission method, device, related equipment and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111107004A (en) * 2018-10-27 2020-05-05 华为技术有限公司 Message processing method, related equipment and computer storage medium
CN110266594A (en) * 2019-06-28 2019-09-20 Ut斯达康通讯有限公司 The Segment routing retransmission method and device of across a network slice
WO2022110535A1 (en) * 2020-11-27 2022-06-02 华为技术有限公司 Packet sending method, device, and system
CN115334589A (en) * 2021-05-11 2022-11-11 中国移动通信有限公司研究院 Message transmission method, device, related equipment and storage medium
CN113852552A (en) * 2021-09-23 2021-12-28 网络通信与安全紫金山实验室 Network communication method, system and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN119496639A (en) * 2024-10-31 2025-02-21 北京邮电大学 Message forwarding method, device, storage medium and computer program product

Also Published As

Publication number Publication date
CN117377015A (en) 2024-01-09

Similar Documents

Publication Publication Date Title
US11870641B2 (en) Enabling enterprise segmentation with 5G slices in a service provider network
CN115334589B (en) Message transmission method, device, related equipment and storage medium
CN113691448A (en) SRv6 method for forwarding message in service chain, SFF and SF device
US11956148B2 (en) Packet transmission method and device
US11799688B2 (en) Method for managing virtual private network, and device
WO2022048418A1 (en) Method, device and system for forwarding message
CN105721306A (en) Configuration information transmission method and device
CN113206787B (en) Method and device for processing segment identification
WO2021082575A1 (en) Packet forwarding method, apparatus, storage medium, and system
WO2022166465A1 (en) Message processing method and related apparatus
WO2017124709A1 (en) Method of establishing traffic engineering tunnel and device
WO2022222750A1 (en) Packet forwarding method and apparatus, network device, and storage medium
CN115348202B (en) Data transmission method, device, equipment and storage medium based on network slicing
CN115550252A (en) Method, device, equipment and storage medium for routing, publishing and forwarding messages
CN115242713B (en) IPV 6-based forwarding method, configuration method and device for segmented routing message
WO2025180331A1 (en) Information processing method and apparatus, device, storage medium and computer program product
WO2024012316A1 (en) Packet processing method and device, network node and storage medium
CN115242699A (en) Message transmission method, slice generation method, device and system
WO2024001701A1 (en) Data processing method, apparatus and system
WO2024002101A1 (en) Packet transmission method and apparatus, related device, and storage medium
WO2024027378A1 (en) Data transmission method and apparatus, and network device and storage medium
CN112737951B (en) End-to-end SR control method, system and readable storage medium in public and private network mixed scene
CN115460155A (en) SDWAN application flow control method, device, equipment and storage medium
EP4175257B1 (en) Packet processing method, apparatus, and system, and storage medium
CN115442304B (en) A resource determination method, forwarding device, controller, system and medium

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 10/04/2025)

122 Ep: pct application non-entry in european phase

Ref document number: 23830278

Country of ref document: EP

Kind code of ref document: A1