Message forwarding method and system based on network slice self-learning
By carrying slice information in the HBH message header and querying the network slice forwarding table, the service disk can dynamically update or create a network slice interface in the learning state, solving the problem of pre-dividing and reserved resources in the prior art, and achieving simplified network slice configuration and reducing operation and maintenance difficulties.
Patent Information
- Application Number
- CN202411789048.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-06
- Publication Date
- 2025-03-21
- Estimated Expiration
- 2044-12-06
AI Technical Summary
In the prior art, the forwarding level needs to pre-divided network slice interfaces and reserve bandwidth, resulting in complex configuration and resource reservations and increased operation and maintenance difficulties.
By extending the hop-by-hop option, the HBH message header carries slice information, including network slice ID, interface bandwidth and status. The service disk queries the network slice forwarding table based on the slice information, selects the corresponding SRv6 next jump interface to forward the service message, and updates or creates the network slice interface and forwarding table when learning state.
It realizes that packet forwarding is carried out without pre-dividing the network slice interface and reserved bandwidth, simplifying the network slice interface configuration and resource reservation, and reducing operation and maintenance difficulties.
Smart Images

Figure CN119676090A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of SRv6 network communication technology, and specifically to a message forwarding method and system based on network slicing self-learning. Background Art
[0002] The main business needs in the 5G era are divided into three categories: eMBB (Enhanced Mobile Broadband) focuses on services with high bandwidth requirements, such as high-definition video and virtual reality / augmented reality; uRLLC (Ultra-Reliable Low-Latency Communication) focuses on services that are extremely sensitive to latency and reliability, such as autonomous driving, industrial control, telemedicine, and drone control; mMTC (Massive Machine Type Communication) covers scenarios with high connection density, such as smart cities and smart agriculture. They require completely different types of network characteristics and performance requirements, and these diverse needs are difficult to solve with a single network.
[0003] In order to meet the differentiated needs of different services in a physical network, the concept of network slicing came into being and became one of the key technical features of 5G. Network slicing is to divide a physical network into multiple virtual networks consisting of customized network topology and network resources with specific network functions, which are used to meet the business function requirements of different network slice tenants and provide SLA (Service-Level Agreement) guarantees.
[0004] Network slices based on network slice ID (Slice ID) share the basic physical network and are logically sliced for forwarding resources. Service network slices and default slices (physical network slices) only have resource differences at the forwarding level, and are shared at the control level without any differences. Service network slices do not need to repeatedly configure IPv6 (Internet Protocol Version 6) addresses, and directly inherit the IPv6 address, Cost, End / End.X SID and other information of the default slice. However, devices in the sliced network need to be configured with network slice interfaces; network slice interfaces need to be pre-divided on the forwarding plane; network slice instances need to be bound, and forwarding resources such as bandwidth need to be reserved. As the scale of sliced networks expands, network slice interface configuration and resource reservation become complex, and operators have greater difficulty in providing network slice services. Summary of the invention
[0005] The present application provides a message forwarding method and system based on network slicing self-learning, which can solve the technical problems existing in the prior art that the network slice interface needs to be pre-divided and the bandwidth needs to be reserved at the forwarding layer.
[0006] In a first aspect, an embodiment of the present application provides a message forwarding method based on network slicing self-learning, the method comprising:
[0007] The extended hop-by-hop option HBH message header carries slice information, including network slice ID, network slice interface bandwidth, and network slice status;
[0008] When the service disk receives a service message and needs to continue forwarding it, it queries the network slice forwarding table based on the slice information and selects the corresponding SRv6 next-hop outbound interface to forward the service message. When the network slice status is in the learning state, it updates the network slice interface bandwidth or creates a network slice interface and a network slice forwarding table based on the network slice interface bandwidth and whether a valid network slice interface is found. The created network slice forwarding table is then sent to the control disk, which is then sent to all its service disks.
[0009] In combination with the first aspect, in one implementation, the slice information includes the number of remaining network slice interfaces, where the number of remaining network slice interfaces indicates the number of network slice interfaces that should be learned before reaching the destination node; the network slice forwarding table includes a non-exclusive SRv6 next-hop outbound interface;
[0010] Query the network slice forwarding table based on the slice information and select the corresponding SRv6 next-hop outbound interface to forward the service message, including:
[0011] When the network slice state is in the learning state and a valid network slice interface is queried,
[0012] If the network slice interface bandwidth does not change, the number of remaining network slice interfaces in the HBH packet header is reduced by 1, and the service packet is forwarded from the non-exclusive SRv6 next-hop outbound interface;
[0013] If the bandwidth of the network slice interface changes, the number of remaining network slice interfaces in the HBH message header remains unchanged, and the service message is forwarded from the non-exclusive SRv6 next-hop out interface.
[0014] In combination with the first aspect, in one implementation, selecting to update the network slice interface bandwidth according to the network slice interface bandwidth and whether a valid network slice interface is queried includes:
[0015] If the network slice interface bandwidth changes, the forwarding chip forwards the service message and sends the network slice update message to the CPU of the current service disk at the same time, and the CPU updates the network slice interface bandwidth.
[0016] In combination with the first aspect, in one embodiment, when the network slice state is in a learning state and an invalid network slice interface is queried, the number of remaining network slice interfaces in the HBH message header remains unchanged, and the service message is forwarded from the non-exclusive SRv6 next-hop interface.
[0017] In combination with the first aspect, in one implementation, creating a network slice interface and a network slice forwarding table according to the network slice interface bandwidth and whether a valid network slice interface is queried includes:
[0018] When the network slice status is in the learning state and an invalid network slice interface is queried, the forwarding chip forwards the service message while sending the network slice learning message to the CPU of the current service disk. The CPU creates a network slice interface and a network slice forwarding table.
[0019] In combination with the first aspect, in one embodiment, when the network slice state is in the forwarding state, if a valid network slice interface is queried, the number of remaining network slice interfaces in the HBH message header is reduced by 1, and the service message is forwarded from the exclusive network slice interface; if an invalid network slice interface is queried, the number of remaining network slice interfaces in the HBH message header remains unchanged, and the service message is forwarded from the non-exclusive SRv6 next-hop exit interface.
[0020] In combination with the first aspect, in one embodiment, during the aging period, if no business traffic passes through the network slice interface and the performance statistics of the network slice interface have not changed, the network slice interface is aged and recycled, and the aged network slice interface instance in the network slice forwarding table is deleted.
[0021] In combination with the first aspect, in one implementation, when the service message arrives at the host station, the service disk parses the number of remaining network slice interfaces in the HBH message header. If the number of remaining network slice interfaces is 0, a network slice status message is sent to the main control disk, where the network slice status is a forwarding state; if the number of remaining network slice interfaces is not 0, a network slice status message is sent to the main control disk, where the network slice status is a learning state.
[0022] In combination with the first aspect, in one implementation, the main control disk of the destination station receives the network slice status message, encapsulates the Color extended community attribute, adds the network slice status and the network slice ID, exchanges the source address and the destination address of the IPv6 header, and transforms the network slice status message into a network slice status confirmation message and publishes it to the source station;
[0023] After the source station receives the network slice status confirmation message, it updates the network slice status in the HBH message header according to the network slice status, and sends the relevant table entries to all service disks under the main control disk.
[0024] In a second aspect, an embodiment of the present application provides a forwarding system based on any one of the network slicing self-learning based message forwarding methods, including:
[0025] A forwarding chip is provided in the service disk, and is used to receive service messages, query the network slice forwarding table according to the slice information, and select the corresponding SRv6 next-hop outbound interface to forward the service message; it is also used to send a message to update the network slice interface bandwidth or create a network slice interface according to the network slice interface bandwidth and whether a valid network slice interface is queried when the network slice state is in the learning state;
[0026] The service disk CPU is used to update the network slice interface bandwidth or create a network slice interface and a network slice forwarding table according to the message of the same service disk forwarding chip, and send the created network slice forwarding table to the control disk; it is also used to receive the network slice forwarding table sent by the main control disk CPU and send it to the forwarding chip;
[0027] The network slicing component is set in the main control disk CPU, which is used to receive the network slicing forwarding table sent by the business disk CPU under it, and send it to the CPUs of all its business disks.
[0028] The beneficial effects brought by the technical solution provided in the embodiments of the present application include:
[0029] The slicing information is carried by extending the Hop-By-Hop (HBH) message header, including the network slice ID, network slice interface bandwidth, and network slice status; when the service disk receives the service message and needs to forward it, and when the network slice status is in the learning state, it will choose to update the network slice interface bandwidth or create a network slice interface and network slice forwarding table based on the network slice interface bandwidth and whether a valid network slice interface is queried, and send the created network slice forwarding table to the control disk, which will be sent to all its service disks. Based on the network slice ID, a hierarchical scheduling method is used to create a network slice interface through a dynamic network slice forwarding table, so that the forwarding layer can query the network slice forwarding table according to the slice information and select the corresponding SRv6 next-hop outbound interface to forward the service message. There is no need to pre-divide the network slice interface or reserve forwarding bandwidth, which simplifies the network slice interface configuration and resource reservation.
[0030] In addition, at the control level, the network slice status is added by extending the Color extended group attribute. Combined with the network slice ID, the source station updates the network slice status field value of the Color extended group attribute to the network slice status field of the HBH message header, so that the network slice can be propagated within the network like VPN (Virtual Private Network) routing, achieving the beneficial effect of not needing to configure the network slice interface at the control level, simplifying the network slice configuration, further simplifying the network slice interface configuration and resource reservation, and reducing the difficulty of operation and maintenance of network slice services. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] Figure 1 This is a schematic diagram of the IPv6 message format of the extended HBH message header in an embodiment of the present application;
[0032] Figure 2 This is a schematic diagram of the network slice sub-TLV in an embodiment of the present application;
[0033] Figure 3 This is a schematic diagram of a control plane VPN routing iterative network slicing model in an embodiment of the present application;
[0034] Figure 4 This is a forwarding model diagram of the network slice forwarding plane in the embodiment of the present application;
[0035] Figure 5 This is a schematic diagram of a network slice forwarding table in an embodiment of the present application;
[0036] Figure 6 This is a schematic diagram of the process of receiving and forwarding a service message by a service disk in an embodiment of the present application;
[0037] Figure 7 This is a schematic diagram of a network slice learning message in an embodiment of the present application;
[0038] Figure 8 This is a schematic diagram of a network slice update message in an embodiment of the present application;
[0039] Fig. 9 A schematic diagram of a process in which a CPU of a service disk receives a network slice learning message in an embodiment of the present application;
[0040] Fig.10 This is a schematic diagram of the processing flow of a service message arriving at a destination station in an embodiment of the present application;
[0041] Fig.11 This is a schematic diagram of a network slice status message in an embodiment of the present application;
[0042] Fig.12 This is a schematic diagram of a network slice status confirmation message in an embodiment of the present application;
[0043] Fig.13 This is a schematic diagram of a message forwarding system based on network slicing self-learning according to an embodiment of the present application. DETAILED DESCRIPTION
[0044] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0045] In order to make the objectives, technical solutions and advantages of the present application clearer, the implementation methods of the present application will be further described in detail below with reference to the accompanying drawings.
[0046] In a first aspect, an embodiment of the present application provides a message forwarding method based on network slicing self-learning.
[0047] In one embodiment, the message forwarding method includes:
[0048] The HBH message header is extended to carry slice information, including the network slice ID, the network slice interface bandwidth, and the network slice state. Figure 1 The figure shows the IPv6 message format after the HBH message header is extended. The slice information also includes the number of remaining network slice interfaces (Slice Left), which indicates the number of network slice interfaces that should be learned before reaching the destination node.
[0049] As shown in Table 1, this is an extended HBH header (hereinafter referred to as the HBH header). Since the network slice ID is the core link that connects the control layer (control disk) and the forwarding layer (service disk), the network slice instance is first configured, and the bandwidth of the network slice interface that the instance will learn is configured. At the forwarding level, the HBH header is used to carry information that needs to be processed by each hop device on the forwarding path. The HBH header is extended to carry slice information and specify which network slice the message is carried through. In Table 1, the Reserved field includes the network slice status.
[0050] Table 1
[0051]
[0052] When the service disk receives a service message and needs to continue forwarding it, it queries the network slice forwarding table based on the slice information and selects the corresponding SRv6 next-hop outbound interface to forward the service message. When the network slice status is in the learning state, it updates the network slice interface bandwidth or creates a network slice interface and a network slice forwarding table based on the network slice interface bandwidth and whether a valid network slice interface is found. The created network slice forwarding table is then sent to the control disk, which is then sent to all its service disks.
[0053] In this embodiment, a network slice interface is created based on the network slice ID and a dynamic network slice forwarding table, and a hierarchical scheduling method is adopted. The forwarding layer queries the network slice forwarding table according to the slice information and selects the corresponding SRv6 next-hop outbound interface to forward the service message. There is no need to pre-divide the network slice interface or reserve forwarding bandwidth, which simplifies the network slice interface configuration and resource reservation.
[0054] Furthermore, in one embodiment, in order to support learning of a network slice interface based on a network slice ID (Slice ID), the Color extended community attribute can also be extended at the control level to add a network slice sub-TLV (Slice Sub-TLV), and the network slice sub-TLV (Type-Length-Value) is as follows Figure 2 The length and meaning of each field are shown in Table 2.
[0055] Table 2
[0056] Field Name length meaning Type 8 bits Sub-TLV type value. The current value is 126. Length 8 bits Sub-TLV length. Flags 8 bits Flag bit. Reserved 8 bits Reserved bit, reserved for future use. Slice ID 32 bits Slice ID value.
[0057] The description of the Flags field is shown in Table 3, including a flag bit of the slice state, where 1 indicates a learning state and 0 indicates a forwarding state.
[0058] Table 3
[0059]
[0060] like Figure 3The figure shows a schematic diagram of the control plane VPN route iteration network slice model. At the control plane, VPN routes perform route iteration based on the Color attribute and next hop information. When iterating to SRv6 BE or SRv6 TE Policy, the Flags field value of the Color attribute and the configured Color-associated Slice ID and Bandwidth are updated to the Flags, Slice ID, and Bandwidth fields of the HBH message header, and the SegmentsLeft field in the SRH (Segment Routing Header) header is updated to the Slice Left field of the HBH message header, and the VPN routes and SRv6 tunnel entries are sent to the forwarding plane.
[0061] Figure 3 In the route transfer phase, PE2 can transfer VPN routes to PE1 through MP-BGP / BGP EVPN neighbors. The route information carries information such as color, next hop, and VPN SID. SRv6 TE Policy is created on PE1 in advance, Slice ID is configured under SRv6 TEPolicy, and SRv6 TE Policy and Slice ID are associated. VPN route 10.2.2.2 / 32 is iterated on PE1 based on the color attribute and next hop information, iterated to SRv6 TE Policy, and then associated with the specified slice network through the Slice ID under the SRv6TE Policy, and enjoys the forwarding resources of the slice network.
[0062] like Figure 4 As shown in the figure, at the forwarding level, after receiving the service message, the source station searches the VPN instance routing table. The outbound interface of the route is the SRv6 BE or SRv6 TE Policy tunnel. The SRH extension header is inserted into the message, the SID List is encapsulated, and then the HBH message header is encapsulated. The HBH message header carries the network slice information, and finally the IPv6 basic message header is encapsulated. After completion, the service message is forwarded to the intermediate node, and the network slice ID (Slice ID) is associated with the learned network slice interface during forwarding.
[0063] like Figure 5 The figure shows a schematic diagram of a network slice forwarding table. The network slice forwarding table includes a slice table key value and slice table data. The slice table key value includes a non-exclusive SRv6 next-hop interface (Sysport) and a network slice ID (Slice ID). The slice table data includes the queue ID (Queue ID) corresponding to the network slice interface and the bandwidth (Bandwidth) of the queue. The network slice interface can be determined based on the queue ID in the network slice forwarding table.
[0064] Furthermore, in one embodiment, when the service disk receives a service message and needs to continue forwarding, it queries the network slice forwarding table based on the slice information, selects the corresponding SRv6 next-hop out interface to forward the service message, and implements different forwarding schemes in combination with different learning states.
[0065] When the network slice state is in the learning state and a valid network slice interface is queried:
[0066] If the network slice interface bandwidth (Bandwidth) does not change, the number of remaining network slice interfaces (Slice Left) in the HBH message header is reduced by 1, and the service message is forwarded from the non-exclusive SRv6 next-hop interface (Sysport).
[0067] If the network slice interface bandwidth changes, the number of remaining network slice interfaces in the HBH message header remains unchanged, and the service message is forwarded from the non-exclusive SRv6 next-hop interface; and while the forwarding chip of the service disk forwards the service message, the network slice update message is sent to the CPU of the current service disk, and the CPU updates the network slice interface bandwidth.
[0068] When the network slice state is in the learning state and an invalid network slice interface is queried:
[0069] The number of remaining network slice interfaces in the HBH message header remains unchanged, and the service message is forwarded from the non-exclusive SRv6 next-hop interface. While the forwarding chip of the service disk forwards the service message, it sends the network slice learning message to the CPU of the current service disk, and the CPU creates a network slice interface and a network slice forwarding table.
[0070] When the network slice is in forwarding state:
[0071] If a valid network slice interface is found, the number of remaining network slice interfaces in the HBH message header is reduced by 1, and the service message is forwarded from the exclusive network slice interface.
[0072] If an invalid network slice interface is found, the number of remaining network slice interfaces in the HBH message header remains unchanged, and the service message is forwarded from the non-exclusive SRv6 next-hop interface.
[0073] Usually, the service messages received by the service disks of the source station and the intermediate station need to be forwarded in the above manner. The source station also needs to complete the encapsulation of the IPv6 basic message header, and the intermediate station only needs to forward according to the slice status in the HBH message header and the network slice forwarding table.
[0074] like Figure 6 The figure shows a flow chart of the process of receiving and forwarding a service message by a service disk, which specifically includes the following steps:
[0075] S101: Query the HBH message header of the received service message to determine whether the network slice exists. If yes, go to S103; if not, go to S102.
[0076] S102: The service message is forwarded from the non-exclusive SRv6 next-hop outbound interface (Sysport), and this forwarding is completed.
[0077] S103: Determine the network slice state (Slice State) in the HBH message header. If it is in the forwarding state, go to S104; if it is in the learning state, go to S107.
[0078] S104: Query the network slice forwarding table, query the corresponding network slice interface through the queue ID (Queue ID), and determine whether it is a valid or invalid network slice interface. If an invalid network slice interface is queried, enter S105; if a valid network slice interface is queried, enter S106.
[0079] S105: The value of the remaining network slice interface number (Slice Left) in the HBH message header remains unchanged, and then the service message is forwarded from the non-exclusive SRv6 next-hop interface, and this forwarding ends.
[0080] S106: The value of the remaining network slice interface number (Slice Left) in the HBH message header is reduced by 1, and the service message is forwarded from the exclusive network slice interface. This forwarding is completed, and the exclusive network slice interface is obtained according to the Queue ID.
[0081] S107: Query the network slice forwarding table, query the network slice interface through the queue ID (Queue ID), and determine whether it is a valid or invalid network slice interface. If a valid network slice interface is queried, enter S108; if an invalid network slice interface is queried, enter S111.
[0082] S108: Determine whether the network slice interface bandwidth (Bandwidth) has changed. If yes, go to S109; if no, go to S110.
[0083] S109: The value of the remaining network slice interface number (Slice Left) in the HBH message header remains unchanged, and then the service message is forwarded from the non-exclusive SRv6 next-hop interface. At the same time, the network slice update message is sent to the CPU of the current service disk so that the CPU can update the network slice interface bandwidth. This forwarding is completed.
[0084] S110: The value of the number of remaining network slice interfaces (Slice Left) in the HBH message header is reduced by 1, and then the service message is forwarded from the non-exclusive SRv6 next-hop interface, and this forwarding is completed.
[0085] S111: The value of the remaining network slice interface number (Slice Left) in the HBH message header remains unchanged, and the service message is then forwarded from the non-exclusive SRv6 next-hop interface. At the same time, the network slice learning message is sent to the CPU of the current service disk, and this forwarding is completed.
[0086] Further, such as Figure 7 As shown, the network slice learning message includes a private header, an SRv6 next-hop interface (Sysport), a network slice ID (Slice ID), a network slice interface bandwidth (Bandwidth), and a padding field (Pad). Figure 8 As shown, the above network slice update message includes a private header, SRv6 next hop interface (Sysport), queue ID (Queue ID), network slice interface bandwidth (Bandwidth) and padding field (Pad). Among them, the private header includes a packet type field, which is used to indicate slice learning and slice update; the padding field is used to facilitate subsequent function expansion and fill the message length.
[0087] Further, in one embodiment, after receiving the message reported by the current service disk forwarding chip, the CPU of the service disk identifies the packet type field in the private header, first determines whether it is a network slicing learning message or a network slicing learning message, and then performs corresponding processing through different threads. Fig. 9 As shown, the process diagram of the CPU of the service disk receiving the network slice learning message includes the following steps:
[0088] S201: Use the slice learning thread to create a network slice interface by creating a hierarchical scheduling node. The specific method is: create a C node (network slice interface), hang a queue (Queue) under it, the queue has a bandwidth field, and bind the C node to the P node (Sysport), that is, the C node is bound to the SRv6 next-hop interface.
[0089] S202: Determine whether the sum of the bandwidths of all C nodes bound to the P node exceeds the total bandwidth of the P node. If yes, proceed to S204; if no, proceed to S203.
[0090] S203: The network slice interface is created successfully, and the network slice interface (Queue ID) is returned. The network slice forwarding table is created through the slice learning thread and sent to the main control disk so that the main control disk can send it to the forwarding chips of all service disks.
[0091] S204: The network slice interface creation fails and the network slice forwarding table is not created.
[0092] Furthermore, in one embodiment, after the CPU of the service disk receives the network slice update message, it updates the bandwidth of the network slice interface through the slice learning thread according to the queue ID (Queue ID) and the network slice interface bandwidth (Bandwidth) in the network slice update message.
[0093] Furthermore, in one embodiment, the private header packet type field also includes a slice aging type. During the aging period, if no service traffic passes through the network slice interface and the network slice interface performance statistics do not change, the CPU of the service disk recycles the network slice interface through the slice aging thread and deletes the aged network slice interface instance in the network slice forwarding table.
[0094] Furthermore, in one embodiment, when the service message arrives at the destination station, it does not need to be forwarded further, and the processing flow is as follows: Fig.10 , including the following steps:
[0095] S301: The destination station uses the IPv6 destination address of the service message to search the My Local SID table, hits the End SID, reduces the Segment Left (SL) of the service message by 1, and updates the IPv6 destination address (DA) to VPNSID.
[0096] Among them, the My Local SID table is a table in the forwarding chip sent from the main control disk to the service disk. The service message SL indicates the number of SIDs that the data packet needs to pass through before reaching the final destination. It is a very important field in the SRH (Segment Routing Header) extension header. The minimum value of the SL field is 0, and the maximum value is equal to the number of SIDs in the SRH extension header minus 1. During the forwarding process of the data packet, each time the data packet passes through a node that processes SRv6, the value of SL will be reduced by 1. At the same time, the destination address (DA) of the data packet will be updated according to the value of the SL field to point to the currently active SID. In this way, the data packet will be forwarded hop by hop according to the path defined in the SRH extension header until the value of the SL field is reduced to 0. At this time, the data packet has reached the final destination, the SRH extension header will be removed, and the data packet will continue to be forwarded according to its inner header information.
[0097] S302: Use VPN SID to search My Local SID table, hit End.DT4 SID, and decapsulate the message. The service disk parses the number of remaining network slice interfaces (Slice Left) in the HBH message header to determine whether the number of remaining network slice interfaces is 0. If yes, go to S303; if not, go to S304.
[0098] S303: It indicates that the network slice interface has been fully learned when arriving at the destination node, all intermediate sites support network slice forwarding, and the network slice status message is sent to the main control disk, where the network slice status is forwarding state, that is, the SliceState bit in the Flags field is set to 1, and enters S305.
[0099] S304: It means that the entire network slice interface has not been learned when reaching the destination node, and at least one intermediate site does not support network slice forwarding. The network slice status message is sent to the main control disk, where the network slice status is in the learning state, that is, the Slice State bit in the Flags field is set to 0.
[0100] S305: Remove the SRH header, HBH header and IPv6 header, and use the inner IPv4 destination address to search the VPN instance routing table corresponding to the VPN SID for forwarding.
[0101] like Fig.11 Figure 1 is a schematic diagram of a network slice status message. The network slice status message includes a private header, an IPv6 message header, an SRH extension header, a color, a network slice ID (Slice ID), a network slice status (Flags), and a padding field (Pad).
[0102] Furthermore, in one embodiment, in order to support learning of network slice interfaces based on network slice IDs (Slice IDs), the Color extended group attributes may also be extended at the control level, as shown in Tables 2 and 3 for details. After the host station main control disk receives the network slice status message, it removes the private header, encapsulates the Color extended group attributes, including the network slice status and network slice ID, exchanges the source address and destination address of the IPv6 header, and transforms the network slice status message into a network slice status confirmation message and publishes it to the source station. After the source station receives the network slice status confirmation message, it updates the network slice state (Slice State) field value of the Color extended group attribute to the network slice state field in the HBH message header, and sends the relevant table entries to all service disks under the main control disk. The network slice status confirmation message is as follows: Fig.12 As shown, it includes an IPv6 message header, an SRH extension header, a Color TLV, and a padding field (Pad).
[0103] In a second aspect, an embodiment of the present application also provides a forwarding system, based on any embodiment of the above-mentioned network slicing self-learning message forwarding method.
[0104] like Fig.13The figure shows a schematic block diagram of a forwarding system, which is set at each site, including a source site, an intermediate site, and a destination site. The forwarding system includes a forwarding chip, a service disk CPU, and a network slicing component, wherein the forwarding chip and the service disk CPU are both set on the service disk, and the network slicing component is set on the main control disk CPU.
[0105] The forwarding chip is used to receive service messages, query the network slice forwarding table according to the slice information, and select the corresponding SRv6 next-hop exit interface to forward the service messages. It is also used to send messages to update the network slice interface bandwidth or create a network slice interface based on the network slice interface bandwidth and whether a valid network slice interface is queried when the network slice status is in the learning state.
[0106] The service disk CPU is used to update the network slice interface bandwidth, or create a network slice interface and a network slice forwarding table according to the message of the forwarding chip on the same service disk, and send the created network slice forwarding table to the control disk; it is also used to receive the network slice forwarding table sent by the main control disk CPU and send it to the forwarding chip.
[0107] The network slicing component is used to receive the network slicing forwarding table sent by the CPU of its business disk and send it to the CPU of all its business disks.
[0108] Among them, the service disk CPU includes a packet receiving thread, a slice learning thread, and a slice aging thread; the forwarding chip includes a MyLocal SID table and a slice forwarding table. The packet receiving thread is used to receive service messages from the forwarding chip, and identify whether it is a slice learning message or a slice update message through the packet type field in the private header of the service message. The slice aging thread is used to implement the aging recovery of the network deception interface, and at the same time notify the forwarding chip to delete the aged network slice interface instance in the slice forwarding table. The slice learning thread is used to update the bandwidth of the network slice interface, and is also used to create a slice network slice forwarding table. The newly created slice network slice forwarding table is sent to the network slicing component, and then sent by the network slicing component to the CPUs of all service disks under the main control disk. Each service disk CPU transmits the network slice forwarding table to the forwarding chip of the same service disk.
[0109] In this embodiment, a dynamic network slice forwarding table is implemented through slice learning, updating and aging, and service messages are forwarded in real time according to the message status. There is no need to pre-divide the network slice interface or reserve forwarding bandwidth, which simplifies the network slice interface configuration and resource reservation.
[0110] It should be noted that the serial numbers of the above-mentioned embodiments of the present application are only for description and do not represent the advantages or disadvantages of the embodiments.
[0111] The terms "including" and "having" and any variations thereof in the specification and claims of this application and the above-mentioned drawings are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but optionally includes steps or units that are not listed, or optionally includes other steps or units inherent to these processes, methods, products or devices. The terms "first", "second" and "third" are used to distinguish different objects, etc., and do not represent a sequence, nor do they limit "first", "second" and "third" to different types.
[0112] In the description of the embodiments of the present application, "exemplary", "for example" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary", "for example" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary", "for example" or "for example" is intended to present related concepts in a specific way.
[0113] In the description of the embodiments of the present application, unless otherwise specified, “ / ” means or, for example, A / B can mean A or B; the “and / or” in the text is merely a description of the association relationship of associated objects, indicating that three relationships may exist, for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, in the description of the embodiments of the present application, “multiple” refers to two or more than two.
[0114] In some processes described in the embodiments of the present application, multiple operations or steps that appear in a specific order are included, but it should be understood that these operations or steps may not be executed in the order in which they appear in the embodiments of the present application or in parallel, and the sequence number of the operation is only used to distinguish the different operations, and the sequence number itself does not represent any execution order. In addition, these processes may include more or fewer operations, and these operations or steps may be executed in sequence or in parallel, and these operations or steps may be combined.
[0115] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, disk, CD) as described above, and includes a number of instructions for a terminal device to execute the methods described in each embodiment of the present application.
[0116] The above are only preferred embodiments of the present application, and are not intended to limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present application.
Claims
1. A message forwarding method based on network slicing self-learning, characterized in that: The method comprises: The extended hop-by-hop option HBH message header carries slice information, including network slice ID, network slice interface bandwidth, and network slice status; When the service disk receives a service message and needs to continue forwarding it, it queries the network slice forwarding table based on the slice information and selects the corresponding SRv6 next-hop outbound interface to forward the service message. When the network slice status is in the learning state, it updates the network slice interface bandwidth or creates a network slice interface and a network slice forwarding table based on the network slice interface bandwidth and whether a valid network slice interface is found. The created network slice forwarding table is then sent to the control disk, which is then sent to all its service disks.
2. The message forwarding method based on network slicing self-learning according to claim 1, characterized in that: The slice information includes the number of remaining network slice interfaces, which indicates the number of network slice interfaces that should be learned before reaching the destination node; the network slice forwarding table includes a non-exclusive SRv6 next-hop outbound interface; Query the network slice forwarding table based on the slice information and select the corresponding SRv6 next-hop outbound interface to forward the service message, including: When the network slice state is in the learning state and a valid network slice interface is queried, If the network slice interface bandwidth does not change, the number of remaining network slice interfaces in the HBH packet header is reduced by 1, and the service packet is forwarded from the non-exclusive SRv6 next-hop outbound interface; If the bandwidth of the network slice interface changes, the number of remaining network slice interfaces in the HBH message header remains unchanged, and the service message is forwarded from the non-exclusive SRv6 next-hop out interface.
3. The message forwarding method based on network slicing self-learning according to claim 2, characterized in that: Based on the network slice interface bandwidth and whether a valid network slice interface is found, choose to update the network slice interface bandwidth, including: If the network slice interface bandwidth changes, the forwarding chip forwards the service message and sends the network slice update message to the CPU of the current service disk at the same time, and the CPU updates the network slice interface bandwidth.
4. The message forwarding method based on network slicing self-learning according to claim 2, characterized in that: When the network slice state is in the learning state and an invalid network slice interface is queried, the number of remaining network slice interfaces in the HBH message header remains unchanged, and the service message is forwarded from the non-exclusive SRv6 next-hop interface.
5. The message forwarding method based on network slicing self-learning according to claim 4, characterized in that: Based on the network slice interface bandwidth and whether a valid network slice interface is found, a network slice interface and a network slice forwarding table are created, including: When the network slice status is in the learning state and an invalid network slice interface is queried, the forwarding chip forwards the service message while sending the network slice learning message to the CPU of the current service disk. The CPU creates a network slice interface and a network slice forwarding table.
6. The message forwarding method based on network slicing self-learning according to claim 2, characterized in that: When the network slice state is in the forwarding state, if a valid network slice interface is queried, the number of remaining network slice interfaces in the HBH message header is reduced by 1, and the service message is forwarded from the exclusive network slice interface; if an invalid network slice interface is queried, the number of remaining network slice interfaces in the HBH message header remains unchanged, and the service message is forwarded from the non-exclusive SRv6 next-hop exit interface.
7. The message forwarding method based on network slicing self-learning according to claim 1, characterized in that: During the aging period, if no business traffic passes through the network slice interface and the performance statistics of the network slice interface do not change, the network slice interface will be aged and recycled, and the aged network slice interface instance in the network slice forwarding table will be deleted.
8. The message forwarding method based on network slicing self-learning according to claim 1, characterized in that: When the service message arrives at the host station, the service disk parses the number of remaining network slice interfaces in the HBH message header. If the number of remaining network slice interfaces is 0, the network slice status message is sent to the main control disk, where the network slice status is forwarding state; if the number of remaining network slice interfaces is not 0, the network slice status message is sent to the main control disk, where the network slice status is learning state.
9. The message forwarding method based on network slicing self-learning according to claim 8, characterized in that: The main control disk of the destination station receives the network slice status message, encapsulates the Color extended community attribute, adds the network slice status and network slice ID, exchanges the source address and destination address of the IPv6 header, transforms the network slice status message into a network slice status confirmation message and publishes it to the source station; After the source station receives the network slice status confirmation message, it updates the network slice status in the HBH message header according to the network slice status, and sends the relevant table entries to all service disks under the main control disk.
10. A forwarding system based on the message forwarding method based on network slicing self-learning according to any one of claims 1 to 9, characterized in that: include: The forwarding chip is set in the service disk, which is used to receive service messages, query the network slice forwarding table according to the slice information, and select the corresponding SRv6 next-hop outbound interface to forward the service message; It is also used to send a message to update the network slice interface bandwidth or create a network slice interface according to the network slice interface bandwidth and whether a valid network slice interface is queried when the network slice state is in the learning state; The service disk CPU is used to update the network slice interface bandwidth or create a network slice interface and a network slice forwarding table according to the message of the same service disk forwarding chip, and send the created network slice forwarding table to the control disk; it is also used to receive the network slice forwarding table sent by the main control disk CPU and send it to the forwarding chip; The network slicing component is set in the main control disk CPU, which is used to receive the network slicing forwarding table sent by the business disk CPU under it, and send it to the CPUs of all its business disks.
Citation Information
Patent Citations
Method for forwarding message in SRv6 service chain, SFF and SF equipment
CN113691448A
Message forwarding method and device
CN113923161A
Segmented routing message forwarding method, configuration method and equipment based on IPV6 (Internet Protocol Version 6)
CN115242713A
SRv6 network slice configuration management method and system
CN115297493A
Message transmission method and related equipment
CN118264730A