CN115442304A - Resource determination method, forwarding device, controller, system and medium - Google Patents

Resource determination method, forwarding device, controller, system and medium Download PDF

Info

Publication number
CN115442304A
CN115442304A CN202110623404.6A CN202110623404A CN115442304A CN 115442304 A CN115442304 A CN 115442304A CN 202110623404 A CN202110623404 A CN 202110623404A CN 115442304 A CN115442304 A CN 115442304A
Authority
CN
China
Prior art keywords
information
forwarding
data
message
resource
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110623404.6A
Other languages
Chinese (zh)
Inventor
龚立艳
姜文颖
程伟强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Mobile Communications Group Co Ltd
China Mobile Communications Ltd Research Institute
Original Assignee
China Mobile Communications Group Co Ltd
China Mobile Communications Ltd Research Institute
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Mobile Communications Group Co Ltd, China Mobile Communications Ltd Research Institute filed Critical China Mobile Communications Group Co Ltd
Priority to CN202110623404.6A priority Critical patent/CN115442304A/en
Publication of CN115442304A publication Critical patent/CN115442304A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/74Address processing for routing
    • H04L45/745Address table lookup; Address filtering
    • 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/22Parsing or analysis of headers

Abstract

The application discloses a resource determining method, forwarding equipment, a controller, a system and a medium, wherein the method comprises the following steps: under the condition that forwarding equipment not comprising Provider edge PE equipment receives a data message sent by any equipment, analyzing the data message to acquire forwarding identification information; wherein, the forwarding identification information at least comprises a slice identification used for processing a slice of the data message; forwarding identification information, which is set in the data message by the PE equipment; forwarding identification information is determined by a controller of a control plane under the condition of receiving a data message sending request; acquiring first associated information; the first association information at least comprises association relation information between the slice identifier and the message processing resource determined by the controller; the message processing resources corresponding to the slice identifiers of different data messages are different; and determining a target message processing resource for processing the data message based on the forwarding identification information and the first correlation information.

Description

Resource determination method, forwarding device, controller, system and medium
Technical Field
The present application relates to the field of information technologies, and in particular, to a resource determination method, a forwarding device, a controller, a system, and a medium.
Background
In the fifth generation mobile communication technology (5) th Generation Mobile Communication Technology, 5G) network, by means of slicing Technology, realizes the decoupling of business processing process and physical resource. In practical applications, the Flex-Algo (Flex Algorithm) allocates different Segment Identifiers (SID) to the same physical resource through the Inter Gateway Protocol (IGP) Segment Routing (SR), and different SIDs represent different Flex-Algo planes. However, flex-Algo can only implement port-level coarse-grained slicing, and slices in different topologies share the same data processing resource.
Disclosure of Invention
Based on the above problems, embodiments of the present application provide a resource determination method, a forwarding device, a controller, a system, and a medium.
By the resource determining method provided by the embodiment of the application, the forwarding device of the forwarding plane can determine the target message processing resource actually processing the data message under the condition of receiving the data message, and the message processing resources corresponding to the slice identifiers of different data messages are different, so that mutual isolation of the data processing resources among different slices is realized in a real sense.
The technical scheme provided by the embodiment of the application is as follows:
the embodiment of the application provides a resource determination method, which is applied to forwarding equipment of a forwarding plane, and comprises the following steps:
under the condition that forwarding equipment not comprising Provider Edge (PE) equipment receives a data message sent by any equipment, analyzing the data message to acquire forwarding identification information; the forwarding identification information at least comprises a slice identification of a slice for processing the data message; the forwarding identification information is set in the data message by the PE device; the forwarding identification information is determined by a controller of the control plane under the condition of receiving a data message sending request;
acquiring first associated information; wherein the first association information at least includes association relationship information between the slice identifier and a message processing resource determined by the controller; the message processing resources corresponding to the slice identifiers of different data messages are different;
and determining a target message processing resource for processing the data message based on the forwarding identification information and the first correlation information.
In some embodiments, the analyzing the data packet to obtain forwarding identifier information includes:
determining identification position information; wherein, the identification position information represents the position information of the forwarding identification information arranged in the data message; the identification position information is determined by the PE equipment based on the field occupation condition in the data message; the forwarding identification information is set in the data message by the PE device based on the identification position information;
and analyzing a field corresponding to the identification position information in the data message to acquire the forwarding identification information.
In some embodiments, the identification location information includes location information of a header field of the data packet; the identifying location information is determined by the PE device based on an occupancy state of the header field.
In some embodiments, the identifying location information includes unoccupied field location information in the flow label field determined by the PE device when the flow label field of the data packet is not completely occupied.
In some embodiments, the identifying the location information includes, when a flow label field of the data packet is completely occupied, reducing, by the PE device, flow label information in the flow label field to obtain a flow label information reduction result, and determining, based on the flow label information reduction result, unoccupied field location information in the flow label field.
In some embodiments, before determining the target packet processing resource for processing the data packet based on the forwarding identification information and the first association information, the method further includes:
acquiring data processing resources set for the forwarding equipment by the controller;
performing associated slicing on the data processing resource based on the first associated information to obtain a slicing result; wherein the slicing result includes a plurality of message processing resources actually used for processing the data message in the forwarding device; the first associated information is determined by the controller based on second associated information and a plurality of message processing resources under the condition that the controller performs associated configuration on the data processing resources to obtain the plurality of message processing resources based on the second associated information after determining the second associated information; the second association information comprises association relation information between the slice identifier and the resource demand information.
In some embodiments, the determining, based on the forwarding identification information and the first association information, a target packet processing resource for processing the data packet includes:
and determining the target message processing resource from the slicing result based on the forwarding identification information and the first correlation information.
In some embodiments, the data message comprises at least one of an internet protocol version 6 IPv6 message, and a SRv message.
The embodiment of the application also provides a resource determination method, which is applied to a controller of a control plane; the method comprises the following steps:
determining forwarding identification information under the condition of receiving a data message sending request, so that the PE equipment can set the forwarding identification information in the data message; wherein, the forwarding identification information at least comprises a slice identification of a slice for processing the data message; under the condition that forwarding equipment of a forwarding plane receives the data message sent by any equipment, the data message can be analyzed to obtain the forwarding identification information;
determining first associated information, and sending the first associated information to the forwarding equipment; the forwarding device not including the PE device may determine, based on the forwarding identifier information and the first association information, a target packet processing resource for processing the data packet; the first association information at least comprises association relation information between the slice identifier and the message processing resource; the message processing resources corresponding to the slice identifiers of different data messages are different.
In some embodiments, the determining the first association information includes:
setting data processing resources for the forwarding equipment;
determining second associated information; the second association information comprises association relation information between the slice identifier and resource demand information;
performing association configuration on the data processing resources based on the second association information to obtain a plurality of message processing resources;
determining the first association information based on the second association information and the plurality of message processing resources.
The embodiment of the application also provides forwarding equipment, and the forwarding equipment is applied to a forwarding plane; the apparatus comprises: the system comprises a first transceiver module, a first analysis module and a first determination module; wherein:
the first transceiver module is used for receiving a data message sent by any equipment;
the first analysis module is used for analyzing the data message to acquire forwarding identification information; wherein, the forwarding identification information at least comprises a slice identification of a slice for processing the data message; the forwarding identification information is set in the data message by the PE equipment; the forwarding identification information is determined by a controller of the control plane under the condition of receiving a data message sending request;
the first transceiver module is used for acquiring first associated information; the first association information at least comprises association relation information between the slice identifier and the message processing resource; the message processing resources corresponding to the slice identifiers of different data messages are different;
the first determining module is configured to determine, based on the forwarding identification information and the first association information, a target packet processing resource for processing the data packet.
The embodiment of the application also provides a controller, wherein the controller is applied to a control surface; the controller comprises a second determining module and a second transceiving module; wherein:
the second determining module is used for determining forwarding identification information under the condition of receiving a data message sending request; for the PE equipment to set the forwarding identification information in a data message; wherein, the forwarding identification information at least comprises a slice identification of a slice for processing the data message; under the condition that forwarding equipment of a forwarding plane receives the data message, the data message can be analyzed to obtain the forwarding identification information;
the second determining module is further configured to determine first associated information; the first association information at least comprises association relation information between the slice identifier and the message processing resource; the message processing resources corresponding to the slice identifiers of different data messages are different;
the second transceiver module is configured to send the first association information to the forwarding device; the forwarding device excluding the PE device may further determine, based on the forwarding identification information and the first association information, a target packet processing resource for processing the data packet, and forward the data packet to the target packet processing resource.
An embodiment of the present application further provides a resource determination system, where the resource determination system includes any one of the foregoing forwarding devices applied to the forwarding plane, and the controller applied to the control plane as described in any one of the foregoing.
The embodiment of the application also provides a computer readable storage medium, wherein a computer executable program is stored in the computer readable storage medium; the computer executable program, when executed by a processor of an electronic device, is capable of implementing a resource determination method as described in any of the preceding.
According to the resource determination method applied to the forwarding device of the forwarding plane, after the forwarding device receives the data message, the data message is analyzed to obtain forwarding identification information including a slice identifier of a slice for processing the data message, then a target message processing resource for processing the data message is determined based on a matching relation between the forwarding identification information and the first associated information, and the message processing resources corresponding to the slice identifiers of different data messages are different. Therefore, after receiving any data message, the forwarding device of the forwarding plane can analyze the data message, so as to determine a target message processing resource which is used for processing the data message but cannot process other data messages, and further realize the isolation of the data message processing resources among the data messages from different slices.
Drawings
FIG. 1A is a schematic diagram illustrating the partitioning principle of a physical network by Flex-Algo in the related art;
fig. 1B is a schematic diagram illustrating a principle of dividing a physical network based on transmission delay in the related art;
fig. 2 is a schematic flowchart of a first resource determining method applied to a forwarding device according to an embodiment of the present application;
fig. 3 is a schematic flowchart of a second resource determining method applied to a forwarding device according to an embodiment of the present application;
fig. 4 is a schematic diagram of a field structure of an Internet Protocol version 6 (Internet Protocol version 6, ipv 6) message header in the related art;
fig. 5 is a schematic diagram illustrating a setting of forwarding identification information in a Flow Label field according to an embodiment of the present application;
fig. 6A is a schematic diagram of a network structure for forwarding a data packet in the case that the Flex-Algo algorithm identifier in fig. 1B is 128 according to the embodiment of the present application;
fig. 6B is a schematic diagram of a network structure for forwarding a data packet when the Flex-Algo algorithm identifier is 129 according to the embodiment of the present application;
fig. 7A is a schematic flowchart of a process of setting forwarding identification information in a header field of a SRv data packet according to the embodiment of the present application;
fig. 7B is a schematic structural diagram illustrating the configuration of forwarding identifier information set in the header field of the SRv data packet;
fig. 8 is a flowchart illustrating a resource determination method applied to a controller of a control plane according to an embodiment of the present application;
fig. 9 is a schematic structural diagram of a forwarding device provided in an embodiment of the present application;
fig. 10 is a schematic structural diagram of a controller according to an embodiment of the present application;
fig. 11 is a schematic structural diagram of a resource determination system according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application.
It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
The present application relates to the field of information technologies, and in particular, to a resource determination method, a forwarding device, a controller, a system, and a medium.
The network slice is one of 5G core technologies, and a processing mode of the network slice on network data is similar to a split management mode in traffic management, and is essentially that a physical network is divided into a plurality of different types of virtual networks on a logic level according to service requirements of different users, and service data of corresponding types are processed through the different types of virtual networks, so as to meet different complex and changeable application scenarios. The service requirements of different users include data transmission delay, bandwidth, reliability, and the like.
For an operator, through network slicing, users can be divided into different types, a Service Level Agreement (SLA) is determined, and network slices that can be used by each user are managed according to the SLA, so that processing of corresponding Service data is realized.
The 5G bearer network is a part of a 5G end-to-end service path, and a network slice of the bearer network virtualizes links, nodes, ports, network element internal resources and the like in the bearer network, and cuts out a plurality of virtual transmission subnets in a hardware transmission facility of the bearer network according to a virtualization result. Each virtual transmission sub-network is provided with an independent management surface, a control surface and a forwarding surface, and the management surface, the control surface and the forwarding surface in each virtual transmission sub-network are mutually matched to independently support the realization of various services, so that the isolation among different services is realized.
In practical application, different segment identifiers SID are allocated to the same physical resource by the Flex-Algo through IGP SR, different SIDs represent different Flex-Algo planes, and in each Flex-Algo plane, metricType, calcType and LinkColor are combined to make Shortest Path First (SPF) alone, so that a physical network is divided into a plurality of virtual networks.
Fig. 1A is a schematic diagram illustrating a principle of partitioning a physical network by Flex-Algo in the related art. The physical network in fig. 1A may include nodes 1 to 6 and physical links between the nodes 1 to 6, and the LinkColor including addresses A1::1, A2::1, A3::1 and A4::1 may be obtained by calculating the physical network through an algorithm Flex-Algo128, which is a red Flex-Algo plane; meanwhile, the physical network is processed by an algorithm Flex-Algo129, and a LinkColor blue Flex-Algo plane comprising B1::1, B5::1, B6::1 and B4::1 can be obtained.
As can be seen from fig. 1A, only coarse-grained Flex-Algo plane partitioning at the port level of the physical network can be realized by Flex-Algo.
Flex-Algo inherits SR and SRv forwarding mechanisms. For example, based on consideration of transmission delay, the IGP MetricType is set and constrained to divide the physical network, so as to obtain different virtual networks, thereby implementing differentiated processing with the service.
Fig. 1B is a schematic diagram illustrating a principle of dividing a physical network based on transmission delay in the related art.
As shown in FIG. 1B, in the case that the MetricType is IGP Metric, the first Flex-Algo plane including addresses A1::1, A2::1, A3::1 and A4::1 can be obtained by calculating the physical network through an algorithm Flex-Algo 128; meanwhile, in the case that the MetricType is a Traffic Engineering (TE) Metric, the physical network is processed by the algorithm Flex-Algo129 to obtain a second Flex-Algo plane including B1::1, B5::1, B6::1, B3::1 and B4:: 1. Wherein, addresses A3::1 and A4::1 in the first Flex-Algo plane and the logical connection between them, and addresses B3::1 and B4::1 in the second Flex-Algo plane and the logical connection between them all share the device 3, the device 4 and the physical link between the device 3 and the device 4. That is, the physical links in different topologies are shared by the virtual links in different topologies, and therefore, the virtual links in different topologies do not achieve the isolation of data processing resources.
Based on the above problems, the embodiments of the present application provide a resource determination method, which is applied to a forwarding device on a forwarding plane, and when the forwarding device receives any data packet, the forwarding device can parse the data packet to obtain forwarding identifier information, and then, in combination with first association information, can determine a target packet processing resource for processing the data packet, and packet processing resources corresponding to slice identifiers of different data packets are different, thereby implementing isolation of packet processing resources of different slices in a true sense.
In an embodiment of the present Application, the resource determining method applied to the forwarding Device of the forwarding plane may be implemented by a Processor of the forwarding Device, where the Processor may be at least one of an Application Specific Integrated Circuit (ASIC), a Digital Signal Processor (DSP), a Digital Signal Processing Device (DSPD), a Programmable Logic Device (PLD), a Field Programmable Gate Array (FPGA), a Central Processing Unit (CPU), a controller, a microcontroller, and a microprocessor. The processor may be other processors, and this is not limited in this embodiment of the present application.
Fig. 2 is a flowchart illustrating a first resource determining method applied to a forwarding device according to an embodiment of the present application. As shown in fig. 2, the method may include steps 201 to 203:
step 201, under the condition that the forwarding device not including the PE device receives the data message sent by any device, the data message is analyzed to obtain forwarding identification information.
Wherein, the forwarding identification information at least comprises a slice identification used for processing a slice of the data message; forwarding identification information, which is set in the data message by the PE equipment; the forwarding identification information is determined by the controller of the control plane in case of receiving a data packet transmission request.
In the embodiment of the present application, the forwarding identification information may be set in a specified field in the data message; for example, the specific field for setting the forwarding identification information may be different for different types of data packets.
In an embodiment, the forwarding identifier information may further include at least one of a service type corresponding to the data packet and a resource requirement corresponding to the slice identifier.
In an embodiment, the forwarding identifier information may further include source information of the data packet, and for example, the source information may be an identifier of a device that sends the data packet.
In one embodiment, the forwarding identification information may be embodied in hexadecimal, binary, or other forms; for example, in order to ensure the security of data message processing, the forwarding identification information may also be encryption information.
In this embodiment, the PE device may determine, according to the type of the data packet, a specific manner of setting forwarding identification information in the data packet.
In the embodiment of the application, the forwarding device not including the PE device may only parse the data packet of the specified type to obtain the forwarding identification information; correspondingly, other types of data messages can be analyzed and processed in a general way in the related technology.
In this embodiment of the present application, any device may include any type of Edge computing device, for example, any device may include a user terminal device, and any device may include a Customer Edge (CE) device.
In one embodiment, any of the devices may include other forwarding devices, such as PE devices.
In practical application, the PE device is a special forwarding device, and the PE device may be a head node of a link including multiple forwarding devices, and is configured to set forwarding identification information in a data packet, and other subsequent forwarding devices may forward the data packet based on the forwarding identification information.
In an embodiment, the forwarding identification information may be determined by a controller of the control plane when receiving a message sending request sent by any device; illustratively, any of the devices may comprise a forwarding device, such as a PE device.
Step 202, obtaining first associated information.
The first association information at least comprises association relation information between the slice identifier and the message processing resource determined by the controller; the message processing resources corresponding to the slice identifiers of different data messages are different.
In this embodiment, the message processing resource may include a virtual network resource obtained by virtualizing an actual physical network resource.
In one embodiment, the message processing resources may also include physical network resources that actually process the message.
In this embodiment of the present application, the first association information may include association information corresponding to one-to-one correspondence between the slice identifier and the message processing resource; the method can also comprise the association information between one slice identifier and a plurality of message processing resources, and in this case, the data message carrying the slice identifier can be processed by the plurality of message processing resources.
In one embodiment, the first association information may only include association relationship information between the specified slice identifier and the message processing resource.
In an embodiment, the first association information may further include association relationship information corresponding to one-to-one correspondence between the slice identifier, the message processing resource, and the actual message processing capability of the message processing resource.
In this embodiment of the present application, setting different slice identifiers corresponding to different packet processing resources may be performed by a controller of a control plane.
In this embodiment of the present application, the sequence of step 201 and step 202 may be flexibly adjusted, and step 201 and step 202 may also be executed synchronously, which is not limited in this embodiment of the present application.
Step 203, determining a target message processing resource for processing the data message based on the forwarding identification information and the first correlation information.
In this embodiment of the present application, the target packet processing resource may be determined by any one of the following manners:
and acquiring a slice identifier from the forwarding identifier information, judging the slice identifier, and determining a target message processing resource based on the slice identifier and the first associated information under the condition that the slice identifier is the specified identifier.
And analyzing the forwarding identification information, and determining a target message processing resource based on the slice identification and the first associated information in the forwarding identification information under the condition that the data message is determined to come from the specified equipment.
And determining target message processing resources according to the data messages received in the specified time period and based on the forwarding identification information and the first associated information.
And under the condition that the data message is an effective data message, acquiring a slice identifier from the forwarding identifier information, determining a message processing resource corresponding to the slice identifier based on the matching relation between the slice identifier and the slice identifier in the first associated information, and taking the message processing resource as a target message processing resource.
As can be seen from the above, in the resource determining method applied to the forwarding device of the forwarding plane, after the forwarding device receives the data packet, the data packet is analyzed to obtain the forwarding identification information of the slice identifier of the slice used for processing the data packet, and then the target packet processing resource used for processing the data packet is determined based on the matching relationship between the forwarding identification information and the first association information, and the packet processing resources corresponding to the slice identifiers of different data packets are different. Therefore, after receiving any data message, the forwarding device of the forwarding plane can analyze the data message, so as to determine a target message processing resource which is used for processing the data message but not used for processing other data messages, and further realize the isolation of message processing resources among different data messages on the slice level.
Based on the foregoing embodiments, the present application further provides a second resource determining method applied to a forwarding device of a forwarding plane. Fig. 3 is a flowchart illustrating a second resource determining method applied to a forwarding device of a forwarding plane according to an embodiment of the present application, where as shown in fig. 3, the method may include steps 301 to 304:
step 301, determining the identification location information when the forwarding device that does not include the PE device receives the data packet sent by any device.
Wherein, the identification position information represents the position information of the forwarding identification information arranged in the data message; identifying the position information, which is determined by the PE equipment based on the field occupation condition in the data message; the forwarding identification information is set in the data message by the PE device based on the identification position information.
In the embodiment of the present application, the identification position information may be a fixed position in the data packet.
In one embodiment, the identification location information may vary with at least one of a type of the data packet, an amount of data carried by the data packet, a slice identifier for processing the data packet, a transmission time of the data packet in the network, a source of the data packet, and the like.
In one embodiment, the identification location information may be sent by the PE device to any forwarding device.
In an embodiment, the identification location information may be set in a transmission protocol by the PE device according to a transmission requirement of the data packet, so that any forwarding device may obtain the identification location information from the transmission protocol.
In one embodiment, the field identifying the data packet indicated by the location information may be continuous, that is, the forwarding identification information is stored in the continuous field of the data packet. Illustratively, the fields that identify the data packets indicated by the location information may be distributed. For example, the forwarding identification information may be set in at least two fields of the data packet in a decentralized manner, or in several decentralized fields in one field.
In one embodiment, the field occupation status in the data packet may include at least one of the following: whether each field in the data message is filled, the number of bits each field in the data message is filled, and the position and length of the idle field in the data message.
In an embodiment, the PE device may analyze an occupation status of a field in the data packet according to at least one factor of a type, a structure, a packet transmission protocol, a specific data transmission requirement, and the like of the data packet, so as to determine the identification location information.
In this embodiment of the present application, the identifier location information includes location information of a header field of the data packet.
In the embodiment of the present application, the identification location information is determined by the PE device based on the occupied status of the header field.
In an embodiment, the PE device may analyze an occupation state of each header field of the data packet, and determine the identification location information according to an analysis result.
In one embodiment, the identification location information may be located in any subfield of the header field, or may be located in at least two subfields of the header field, respectively.
In practical applications, various control information for data packet transmission is carried in a header field of a data packet, and the header field may be divided into a plurality of subfields. In the communication protocol, the bit reservation of each subfield is abundant, that is, during the actual data message transmission and processing, part of the subfields in the header field are not fully occupied.
In this embodiment, the data packet includes at least one of an IPv6 and a SRv packet.
Fig. 4 is a schematic diagram of the structure of the header field of the IPv6 message. As shown in fig. 4, a Version field in an IPv6 header field indicates an encapsulation protocol used by a data packet, and occupies 4 bits; the Traffic Class field represents the corresponding IPv6 communication flow type or priority and occupies 8 bits; the Flow Label is a Flow Label field which is a newly added field in an IPv6 head field and occupies 20 bits; payload Length indicates that the field is the total Length of the Payload in the IPv6 data message and occupies 20 bits; the Next Header is used for representing the head type of the Next data message of the current data message and occupies 8 bits; the Hop Limit is the Hop Limit, and the information stored in the field specifies the number of times that the current data message can be effectively forwarded and occupies 8 bits; source Address is a Source Address, indicates an IPv6 Address of a Source node sending the current data message, and occupies 128 bits; the Destination Address represents the Destination IPv6 Address of the current data message and occupies 128 bits.
In an embodiment, the PE device may analyze the information filling state in each subfield in the header field of the IPv6 data packet, so as to determine the subfield positions still in the fully unoccupied state, set the unoccupied positions in the subfields as identification position information, and then set the forwarding identification information at the position corresponding to the identification position information.
In this embodiment of the present application, the identifier location information includes unoccupied field location information in the flow label field determined by the PE device when the flow label field of the data packet is not completely occupied.
Taking the type of the data packet as IPv6 as an example, the Flow Label field may be a Flow Label field shown in fig. 4.
As can be seen from the above description, the Flow Label field of the IPv6 data packet occupies 20 bits and is used to mark a packet of a specific Flow, so that the network layer can distinguish different data packets. Also, request For Comments (RFC) 6437 and RFC6438 stipulate that a Flow Label is used For traffic load sharing, but in practical applications, the 20-bit field of the Flow Label is not used in its entirety, and therefore, the forwarding identification information can be set in an unused field in the Flow Label field.
Fig. 5 is a schematic diagram illustrating a setting of forwarding identification information in a Flow Label field according to an embodiment of the present application.
As shown in fig. 5, in the Flow Label field of the IPv6 data packet, the effective traffic load is set in the low 12 bits of the Flow Label field, and in the Flow Label field, there are 8 bits that are not occupied, and in this case, the PE device may set the forwarding identification information in the high 8 bits that are not occupied by the effective traffic load in the Flow Label field.
In one embodiment, the identification position information may be determined by analyzing, by the PE device, the state of each bit in the Flow Label field that is actually occupied. In practical applications, the reserved 20bit in the Flow Label field is not fully occupied in most chips, and therefore, the PE device may divide part of the field from the Flow Label field to set the forwarding identification information.
In an embodiment, the PE device may determine the identifier position information according to the actual number of slices and the occupied actual number of bits in the Flow Label field, as shown in fig. 5, only the lower 12 bits of the partial chip are used to carry the traffic load in actual application, and then the upper 8 bits may be set as the forwarding identifier information. For example, in the case where the forwarding identification information includes only the slice identification, the slice identification may be set in a field space corresponding to the identification position information.
As can be seen from the above, in the embodiment of the present application, the identification position information is determined through analyzing the occupied state of the Flow Label field, so that the idle field in the Flow Label field can be fully utilized, and thus, the efficient and accurate transmission of the forwarding identification information can be realized without additionally increasing the transmission load of the data packet.
In this embodiment of the present application, identifying the location information includes, when a flow label field of the data packet is completely occupied, reducing, by the PE device, flow label information in the flow label field to obtain a flow label information reduction result, and determining unoccupied field location information in the flow label field based on the flow label information reduction result.
In practical applications, the transmission condition of data packets, the application and release condition of slices, and the like are varied, and therefore, it is possible that all 20 bits in the Flow Label field are used for traffic load. In this case, the PE device may analyze the data packet and the specific transmission requirement of the data packet, so as to determine a strategy for reducing the number of bits of the traffic load, reduce the number of bits of the traffic load according to the strategy to obtain a reduction result, determine unoccupied field position information in the Flow Label field according to the reduction result, and use the field position information as the identification position information.
In one embodiment, where the type of the data message is IPv6, the Flow Label information may be a traffic load, i.e., a Flow Label in fig. 4.
In one embodiment, the Flow Label information reduction result may be obtained after reduction of the original traffic load information carried in the Flow Label field by the PE device.
In an embodiment, the flow label information reduction result may be obtained by reducing a hash value obtained by performing a hash calculation on the original traffic load information by the PE device. Illustratively, the above reduction of the hash value may be a reduction of the number of bits of the hash. The above-mentioned reduction operation only affects the discrete degree of load sharing, that is, the sharing effect of traffic load may be reduced, but does not affect the actual traffic forwarding.
In practical application, the Flow Label field of the IPv6 data packet has a hop-by-hop attribute, and thus, the forwarding identification information is set in the Flow Label field, which can meet the requirement of slice hop-by-hop processing on one hand, and can also implement efficient analysis of the transmission information of the IPv6 data packet, so that the processing efficiency of the IPv6 data packet can be maintained under the condition of adding new forwarding identification information.
As can be seen from the above, in the embodiment of the present application, under the condition that the flow label field of the data packet is occupied, the PE device may reduce the flow label information, so as to determine the identification position information. In this way, in the resource determination method provided in the embodiment of the present application, regardless of whether the flow label field is completely occupied, the field position for storing the identification position information can be determined from the flow label field, so that on one hand, the application scenario of the resource determination method provided in the embodiment of the present application is expanded, so that the application of the method is more flexible, and on the other hand, the transmission efficiency of the data packet is not reduced under the condition of setting the forwarding identification information.
Step 302, analyzing the field corresponding to the identification position information in the data message, and acquiring the forwarding identification information.
In an embodiment, the forwarding identification information may be obtained by parsing a field corresponding to the identification location information in the data message to obtain encrypted forwarding identification information, and then performing a decryption operation on the encrypted forwarding identification information.
Step 303, obtaining the first associated information.
The first association information at least comprises association relation information between a slice identifier determined by a controller of the control plane and the message processing resource; the message processing resources corresponding to the slice identifiers of different data messages are different.
In one embodiment, the controller may determine different first association information for different forwarding devices, that is, the first association information obtained by the forwarding devices in different Flex-Algo planes may be different.
For example, in a case that the forwarding device includes a first forwarding device and a second forwarding device, the first association information obtained by the first forwarding device may be as shown in each row in table 1A.
As shown in table 1A, table 1A may include six columns of data including an output interface, a Flex-Algo algorithm identifier, a slice identifier, resource information, and a message processing resource.
In table 1A, when the first forwarding device receives data packets with a Flex-Algo algorithm identifier of 128, slice identifiers of 1, 2, and 3, and resource information corresponding to the slice identifiers of 10G, 20G, and 30G respectively at 1/0/0 of an egress interface Gbit Ethernet (GE), the forwarding device may sequentially allocate packet processing resources of GE1/0/0.mtn1, GE1/0/0.mtn2, and GE1/0/0.mtn3 to the data packets. Illustratively, GE1/0/0.mtn1, GE1/0/0.mtn2, and GE1/0/0.mtn3 may be resource interfaces of message processing resources for processing data messages; for example, the resource interface of the message processing resource may be determined by associating the target physical resource to the corresponding g.mtn subinterface by using a g.mtn hard-slicing technique.
In table 1A, when the first forwarding device receives the data packet with the Flex-Algo algorithm identifier 129, the slice identifiers 4, 5, and 6, and the resource information corresponding to the slice identifiers is 10G, 20G, and 30G, respectively, at the egress interface GE1/0/1, the forwarding device may allocate the packet processing resources of GE1/0/1.Mtn1, GE1/0/1.Mtn2, and GE1/0/1.Mtn3 to the data packet, respectively.
Accordingly, the first association information obtained by the second forwarding device may be as shown in each row in table 1B.
As shown in table 1B, table 1B may include six rows of data, such as an output interface, a Flex-Algo algorithm identifier, a slice identifier, resource information, and a message processing resource, where the six rows of data are in a one-to-one correspondence relationship.
TABLE 1A
Outlet interface Flex-Algo algorithm identification Section mark Resource information Message processing resources
GE1/0/0 128 1 Bandwidth: 10G GE1/0/0.MTN1
GE1/0/0 128 2 Bandwidth: 20G GE1/0/0.MTN2
GE1/0/0 128 3 Bandwidth: 30G GE1/0/0.MTN3
GE1/0/1 129 4 Bandwidth: 10G GE1/0/1.MTN1
GE1/0/1 129 5 Bandwidth: 20G GE1/0/1.MTN2
GE1/0/1 129 6 Bandwidth: 30G GE1/0/1.MTN3
In table 1B, when the second forwarding device receives the data packet with the Flex-Algo algorithm identifier of 128, the slice identifiers of 1, 2, and 3, and the resource information corresponding to the slice identifiers of 10G, 20G, and 30G respectively at the egress interface GE1/0/0, the forwarding device may allocate the packet processing resources of GE1/0/0.mtn1, GE1/0/0.mtn2, and GE1/0/0.mtn3 to the data packet, respectively.
TABLE 1B
Outlet interface Flex-Algo algorithm identification Section mark Resource information Message processing resources
GE1/0/0 128 1 Bandwidth: 10G GE1/0/0.MTN1
GE1/0/0 128 2 Bandwidth: 20G GE1/0/0.MTN2
GE1/0/0 128 3 Bandwidth: 30G GE1/0/0.MTN3
GE1/0/0 129 4 Bandwidth: 10G GE1/0/0.MTN1
GE1/0/0 129 5 Bandwidth: 20G GE1/0/0.MTN2
GE1/0/0 129 6 Bandwidth: 30G GE1/0/0.MTN3
In table 1B, when the second forwarding device receives the data packets with the Flex-Algo algorithm identifier 129, the slice identifiers 4, 5, and 6, and the resource information corresponding to the slice identifiers is 10G, 20G, and 30G, respectively, at the egress interface GE1/0/0, the second forwarding device may allocate the packet processing resources of GE1/0/0.mtn1, GE1/0/0.mtn2, and GE1/0/0.mtn3 to the data packets, respectively. In the resource determining method provided in the embodiment of the present application, before determining, based on the forwarding identification information and the first association information, a target packet processing resource for processing a data packet, steps A1 to A4 may be further performed:
step A1: and acquiring the data processing resource set for the forwarding equipment by the controller.
In one embodiment, the data processing resources may include at least one of bandwidth, buffer space, processor, and the like.
In one embodiment, the data processing resources may include physical resources and may also include virtual network resources.
Step A2: and performing associated slicing on the data processing resources based on the first associated information to obtain a slicing result.
The slicing result comprises a plurality of message processing resources which are actually used for processing the data message in the forwarding equipment; the first associated information is determined based on the second associated information and the plurality of message processing resources under the condition that the controller performs associated configuration on the data processing resources to obtain the plurality of message processing resources based on the second associated information after determining the second associated information; and the second association information comprises association relation information between the slice identifier and the resource demand information.
In an embodiment, the controller may plan the slice identifier as a whole according to a specific service feature or a service requirement, allocate the planned slice identifier to a corresponding service system, and then generate the second association information according to an allocation result.
In an embodiment, the service feature may be embodied by any information such as Virtual Private Network (VPN) information, virtual Local Area Network (VLAN) information, differentiated Services Code Point (DSCP) information, and the like.
In one embodiment, the controller may be a Software Defined Network (SDN) or other Network management device.
As can be seen from the above, in table 2, each piece of second association information carries association relationship information corresponding to one-to-one relationship among the slice identifier, the Flex-Algo plane, the VPN information, and the resource requirement information, so that a data base is established for accurate and efficient forwarding of the data packet.
Illustratively, the second association information may be embodied in the form of each row in table 2. The four columns of data in table 2 are respectively a Flex-Algo algorithm identifier, VPN information, a slice identifier, and resource demand information; the association relationship information between the above four types of data in each row in table 2 constitutes a set of second association information.
The second association information corresponding to the second row in table 2 represents association relationship information corresponding to one-to-one correspondence between a Flex-Algo algorithm identifier value of 128, VPN information of the first information, a slice identifier of 1, and resource requirement information of 10G; the second association information corresponding to the third row in table 2 represents association relationship information corresponding to one-to-one correspondence between a Flex-Algo algorithm identifier value of 128, VPN information of the second information, a slice identifier of 2, and resource requirement information of 20G; the second association information corresponding to the fourth row in table 2 represents association relationship information corresponding to one-to-one correspondence between a Flex-Algo algorithm identifier value of 128, VPN information of the third information, a slice identifier of 3, and resource demand information of 30G; the second association information corresponding to the fifth row in table 1 represents association relationship information corresponding to one-to-one correspondence between a Flex-Algo algorithm identifier value of 129, VPN information of the fourth information, a slice identifier of 4, and resource demand information of 10G; the second association information corresponding to the sixth row in table 1 represents association relationship information corresponding to one-to-one correspondence between a Flex-Algo algorithm identifier value of 129, VPN information of fourth information, a slice identifier of 5, and resource demand information of 20G; the second association information corresponding to the seventh row in table 1 represents association relationship information corresponding to one-to-one correspondence between a Flex-Algo algorithm identifier value of 129, VPN information of sixth information, a slice identifier of 6, and resource demand information of 30G.
In table 2, two Flex-Algo planes can be obtained by processing network resources through two Flex-Algo algorithms, wherein three slices with slice identifiers of 1 to 3 belong to a first Flex-Algo plane; three slices, identified as slices 4 to 6, belong to the second Flex-Algo plane.
TABLE 2
Flex-Algo algorithm identification VPN information Section mark Resource demand information
128 First information 1 Bandwidth: 10G
128 Second information 2 Bandwidth: 20G
128 Third information 3 Bandwidth: 30G
129 Fourth information 4 Bandwidth: 10G
129 Fifth information 5 Bandwidth: 20G
129 Sixth information 6 Bandwidth: 30G
In an embodiment, the controller may perform association configuration on the data processing resource set for the forwarding device according to the second association information in table 2, so as to obtain the first association information shown in table 1A or 1B, and send the first association information to the forwarding device.
In an embodiment, the controller may perform association configuration on the data processing resource according to the number of the slice identifiers in the second association information and the resource requirement information corresponding to each slice identifier, so as to obtain a message processing resource corresponding to each slice identifier, which may be matched with the resource requirement information, for example.
In an embodiment, in a case that the data processing resource is rich, the controller may perform association configuration on the data processing resource according to the resource requirement information corresponding to each slice identifier in the second association information; under the condition that the data processing resources are insufficient, the controller can count the resource demand information in the second associated information, determine the proportion of each slice identifier to the resource demand, and perform associated configuration on the data processing resources according to the proportion to obtain the first associated information. It should be noted that the controller performs association configuration on the data processing resources allocated to the forwarding device according to the second association information, and is a preliminary division of the data processing resources set for the forwarding device by the controller, so as to obtain the first association information; however, the message processing resource actually used for processing the data message in the forwarding device still needs to be obtained by the forwarding device slicing the data processing resource based on the first correlation information.
In an embodiment, the association configuration may be configured to correspondingly configure the data processing resource set by the controller for the forwarding device based on the resource requirement information of each slice identifier in the second association information, and associate the configured message processing resource with the slice identifier. For example, the controller may associate the message processing resource with the second association information according to the slice identifier, thereby determining the first association information.
In an embodiment, the first association information may be determined by adding additional information required for forwarding the data packet based on the second association information and replacing the resource requirement information in the second association information with the packet processing resource. Illustratively, the additional information may include the egress interfaces of tables 1A to 1B.
In an embodiment, the forwarding device may determine a slicing policy first, and then perform associated slicing on the data processing resource according to the slicing policy and the slice identifier in the first associated information and the packet processing resource corresponding to the slice identifier, so as to obtain a slicing result. Exemplary slicing strategies, may include hard slicing; the slicing result may include the message processing resources that actually can process the message in the forwarding device, corresponding to the message processing resources in tables 1A to 1B.
In one embodiment, the forwarding device may perform associated slicing on the data processing resource according to the first association information sent by the controller, so as to obtain a slicing result.
In an embodiment, the associated slicing operation of the forwarding device may be to slice the data processing resource actually usable by the forwarding device according to the slice identifier in the first associated information and the packet processing resource corresponding to the slice identifier, so as to obtain a slicing result. In this case, the slicing result is associated with the first association information according to the slicing identifier, so that the message processing resources in tables 1A to 1B may point to the message processing resource that can actually process the data message in the forwarding device. Illustratively, the slicing result may represent a virtual resource, and may also represent a physical resource.
As can be seen from the above, in the embodiment of the present application, the controller can configure the data processing resource set for the forwarding device according to the second control information, to obtain the packet processing resource corresponding to the slice identifier, and then determine the first associated information based on the second associated information and the packet processing resource; the forwarding device can perform associated slicing on the data processing resource according to the first association information and the data processing resource allocated to the forwarding device by the controller, so as to obtain a message processing resource actually used for processing the data message, and therefore, under the condition that the forwarding device receives the data message, the forwarding device can quickly determine a target message processing resource for actually processing the data message according to the first association information, so that the processing efficiency of the data message is improved, and resource isolation on the same physical link can also be realized.
Step 304, determining a target message processing resource for processing the data message based on the forwarding identification information and the first correlation information.
In this embodiment of the present application, determining a target packet processing resource for processing a data packet based on forwarding identifier information and first association information may be implemented in the following manner:
and determining target message processing resources from the slicing result based on the forwarding identification information and the first associated information.
It can be known from the foregoing embodiment that, after the forwarding device executes the associated slicing, the slicing result may be associated to the packet processing resource in the first associated information, so that the packet processing resource in the first associated information points to a processing resource that can actually process the data packet in the forwarding device. Therefore, based on the matching relationship between the forwarding identifier information and the slice identifier in the first associated information, the message processing resource can be determined from the first associated information, and then the target message processing resource finally used for processing the data message is determined from the slice result according to the message processing resource.
As can be seen from tables 1A and 1B, on one hand, when any output interface of the forwarding device receives data packets from different slices, it can allocate corresponding packet processing resources to each data packet; on the other hand, when the same output interface of the forwarding device receives data packets from different slices, the corresponding packet processing resources can still be accurately allocated to each data packet. That is to say, in the embodiment of the present application, when receiving any data packet, the forwarding device may allocate corresponding target packet processing resources to the data packet according to the slice identifier in the data packet and the first association information, thereby implementing mutual isolation between network data processing resources of the data packet at a slice level.
As can be seen from the above, in the resource determining method provided in this embodiment of the present application, when a forwarding device receives any data packet, a corresponding field in the data packet may be analyzed according to the identification position information to obtain forwarding identification information, and then a target packet processing resource actually used for processing the data packet in the forwarding device is determined according to the forwarding identification information and the first association information, and packet processing resources corresponding to slice identifications of different data packets are different, so that isolation of network resources between different slices is achieved.
Fig. 6A is a schematic diagram of a network structure for forwarding a data packet in the case that the Flex-Algo algorithm identifier in fig. 1B is 128 according to the embodiment of the present application.
The four nodes and the links between the four nodes shown in fig. 6A, A1::1 to A4::1, correspond to the four nodes and the links between the nodes in fig. 1B in sequence, the slice identifiers of the slices requested by CE1, CE2 and CE3 are 1, 2 and 3, respectively, the message processing resources corresponding to the slices may be determined by associating configuration of the controller and associating the slices by the forwarding device according to the result of the associating configuration of the controller, as shown in table 2, the bandwidths corresponding to the nodes may be 10G, 20G and 30G, respectively; the data message from the CE1 is processed by slicing with a slicing identifier of 1, A1::1 can be a PE device, when receiving a message transmission request transmitted by any CE device, the forwarding identification information can be set in the data message, when three nodes from A2::1 to A4::1 receive the data message from the CE1, the data message is analyzed to obtain the slicing identifier carried in the data message, corresponding target message processing resources are determined according to first associated information in each node, then the data message is processed by the target message processing resources, and finally the data message reaches the CE11. Illustratively, the above processing may include transmission, calculation, and the like. The processing method of the data packets from CE2 and CE3 is the same as the processing method of the data packets from CE1, and is not described here again.
Fig. 6B is a schematic diagram of a network structure for forwarding a data packet when the Flex-Algo algorithm identifier is 129 according to the embodiment of the present application.
Five nodes and links among the five nodes shown in fig. 1B from B1::1 to B4::1 correspond to the five nodes and links among the nodes in fig. 1B in sequence, the slice identifiers of the slices requested by CE4, CE5 and CE6 are 4, 5 and 6 respectively, the message processing resources corresponding to the slices can be determined by the controller association configuration and the forwarding device according to the result association slice of the controller association configuration, and as shown in table 2, the bandwidths corresponding to the nodes and the links can be 10G, 20G and 30G respectively; the data message from the CE4 is processed by the slicing with the slicing identification of 4, B1::1 can be PE equipment, when receiving a message sending request sent by any CE equipment, the forwarding identification information can be set in the data message, when four nodes from B5::1 to B4::1 receive the data message from the CE4, the data message is analyzed to obtain the slicing identification carried in the data message, corresponding target message processing resources are determined according to first associated information in each node, then the data message is processed by the target message processing resources, and finally the data message reaches the CE41. Illustratively, the above processing may include transmission, calculation, and the like. The processing of data packets from CE5 and CE6 is the same as that of CE4, and is not described here again.
As can be seen from the above, in the resource determining method provided in the embodiment of the present application, the transmission mode of the data packet in the 5G network is not substantially changed, but the isolation of the packet processing resource in the data packet processing process is achieved under the condition of fully utilizing the idle field in the existing data packet.
In the above process, the controller of the control plane realizes coarse-grained resource isolation, and the forwarding device of the forwarding plane can realize fine-grained resource isolation of the link internal resources. In the actual data message forwarding process, the forwarding device only adds a process of determining a target message processing resource according to the slice identifier, which has little influence on network transmission, and can realize the message processing resources corresponding to 256 slices under the condition that the bit number of the forwarding information identifier in the Flow Label is 8 bits.
In the related art, after a control plane protocol is extended by Flex-Algo, an independent address space needs to be planned for each slice, and SPF calculation needs to be performed for each slice individually, so that the number of routes linearly increases with the increase of the number of slices, and convergence performance linearly decreases with the increase of the number of slices, so that resource consumption corresponding to each slice is large, and a network system cannot support a scene with a large number of slices.
It should be noted that, in the resource determining method provided in this embodiment of the present application, when the type of the data packet is SRv, the forwarding identification information may also be set in a header field of the data packet. Fig. 7A is a schematic flowchart of a process of setting forwarding identification information in a header field of a SRv data packet according to this embodiment. Fig. 7B is a schematic structural diagram of setting forwarding identification information in a header field of a SRv data packet.
As shown in fig. 7A, the process may include steps 701 to 705:
and 701, inheriting a SRv6 Policy encapsulation mode to encapsulate the data message.
As shown in fig. 7B, the original data packet only includes two parts, i.e., an IP Head and a Pay Load; after the SRv6 Policy encapsulation mode is inherited, the data message is added with Header fields IPv6 Head and SRv extension Header (SRH) of the IPv6 data message.
And step 702, encapsulating the slice identifier into an IPv6 data message Flow Label field.
For example, the encapsulation process here may be the same as the manner in which the forwarding identification information is set in the Flow Label field of the IPv6 data packet in the foregoing embodiment, and is not described here again.
For example, the forwarding identification information in the embodiment of the present application may include only a slice identifier.
And 703, according to a SRv6 forwarding mechanism, decapsulating the data message to obtain a slice identifier.
Illustratively, the above operations may be implemented in a forwarding device.
Step 704, according to the slice identifier, searching for an SR forwarding table entry, and confirming a physical outgoing interface.
For example, the SR forwarding entry may be the first association information shown in table 1A or table 1B, and the physical outgoing interface may be an outgoing interface in the first association information shown in table 1A or table 1B.
For example, the message processing resource actually used for processing the data packet in the forwarding device may be determined according to the slice identifier and the first association information shown in table 1A or table 1B.
Step 705, obtaining data message processing resources, and forwarding the data message according to the data message processing resources.
For example, the target data packet processing resource may be determined according to the first association information, the slice identifier, and the outgoing interface shown in table 1A or table 1B, and then the data packet may be forwarded to the target data packet processing resource, so that the target packet processing resource may further forward and parse the data packet.
Illustratively, when the data packet reaches the target device, the data packet may be decapsulated, thereby obtaining the original data packet.
For example, SRv data packet in fig. 7B corresponds to a transmission process of the data packet in the network, and after the original data packet in the initial stage in fig. 7B is transmitted through the network and reaches the target device, the target device may extract the original data packet from SRv data packet.
It should be noted that the transmission process of the SRv data packet in fig. 7A to 7B may be as shown in fig. 6A or 6B, and is not described herein again.
As can be seen from the above, the resource determining method provided in the embodiment of the present application can be flexibly applied not only in the transmission process of the IPv6 data packet, but also in the transmission process of the SRv data packet, and therefore, the resource determining method provided in the embodiment of the present application has high flexibility and a wide application range, and can implement resource isolation between different slices in a variety of application scenarios.
Based on the foregoing embodiments, an embodiment of the present application further provides a resource determination method applied to a controller of a control plane.
In this embodiment of the present application, the resource determination method applied to the controller of the control plane may be implemented by a processor of the controller, where the processor may be at least one of an ASIC, a DSP, a DSPD, a PLD, an FPGA, a CPU, a controller, a microcontroller, and a microprocessor. The processor may be other processors, and this is not limited in this embodiment of the present application.
Fig. 8 is a flowchart illustrating a resource determination method applied to a controller of a control plane according to an embodiment of the present disclosure. As shown in fig. 8, the method may include steps 801 to 802:
step 801, determining forwarding identification information under the condition of receiving a data message sending request, so that the PE device sets the forwarding identification information in the data message.
Wherein, the forwarding identification information at least comprises a slice identification used for processing a slice of the data message; under the condition that the forwarding equipment of the forwarding plane receives the data message sent by any equipment, the data message can be analyzed, and forwarding identification information can be obtained.
Step 802, determining the first association information, and sending the first association information to the forwarding device.
The forwarding device not including the PE device can determine a target message processing resource for processing the data message based on the forwarding identification information and the first association information; the first association information at least comprises association relation information between the slice identifier and the message processing resource; the message processing resources corresponding to the slice identifiers of different data messages are different.
As can be seen from the above, in the resource determining method applied to the controller of the control plane, after the controller determines the forwarding identifier information, any device may set the forwarding identifier information in the data packet, and when the forwarding device receives the data packet sent by any device, the forwarding identifier information can be obtained from the data packet, so that a target packet processing resource for processing the data packet can be determined, and isolation of the data packet processing resource at a slice level is further achieved.
In this embodiment of the present application, the resource determining method applied to the controller may further include steps B1 to B4:
and B1, setting data processing resources for the forwarding equipment.
B2, determining second associated information; and the second associated information comprises association relation information between the slice identifier and the resource demand information.
And step B3, performing association configuration on the data processing resources based on the second association information to obtain a plurality of message processing resources.
And B4, determining the first associated information based on the second associated information and a plurality of message processing resources.
Based on the foregoing embodiments, the embodiment of the present application further provides a forwarding device 9, which is applied to a forwarding plane. Fig. 9 is a schematic structural diagram of a forwarding device 9 according to an embodiment of the present application. As shown in fig. 9, the forwarding device 9 includes a first transceiver module 901, a first parsing module 902, and a first determining module 903; wherein:
a first transceiver module 901, configured to receive a data packet sent by any device;
a first parsing module 902, configured to parse the data packet to obtain forwarding identifier information when the data packet is received; wherein, the forwarding identification information at least comprises a slice identification used for processing a slice of the data message; forwarding identification information, which is set in the data message by the PE equipment; the forwarding identification information is determined by the controller of the control plane in case of receiving a data packet transmission request.
A first transceiver module 901, configured to acquire first association information; the first association information at least comprises association relation information between the slice identifier determined by the controller and the message processing resource; the message processing resources corresponding to the slice identifiers of different data messages are different;
a first determining module 903, configured to determine, based on the forwarding identification information and the first association information, a target packet processing resource for processing the data packet.
In some embodiments, a first determination module 903 to determine identifying location information; wherein, the identification position information represents the position information of the forwarding identification information arranged in the data message; identifying position information, which is determined by PE equipment based on the field occupation condition in the data message; forwarding the identification information, which is set in the data message by the PE device based on the identification position information;
the first parsing module 902 is configured to parse a field corresponding to the identifier location information in the data message, and obtain forwarding identifier information.
In some embodiments, location information is identified, including location information of a header field of a data message; the identifying location information is determined by the PE device based on an occupancy state of the header field.
In some embodiments, identifying the location information includes determining, by the PE device, unoccupied field location information in the flow label field if the flow label field of the data packet is not completely occupied.
In some embodiments, identifying the location information includes, when a flow label field of the data packet is completely occupied, reducing, by the PE device, flow label information in the flow label field to obtain a flow label information reduction result, and determining, based on the flow label information reduction result, unoccupied field location information in the flow label field.
In some embodiments, the first transceiver module 901 is configured to acquire a data processing resource set by the controller for the forwarding device; acquiring second associated information; wherein the content of the first and second substances,
a first parsing module 902, configured to perform relevant slicing on the data processing resource based on the first relevant information to obtain a slicing result; the slicing result comprises a plurality of message processing resources which are actually used for processing the data message in the forwarding equipment; the first associated information is determined based on the second associated information and the plurality of message processing resources under the condition that the controller performs associated configuration on the data processing resources to obtain the plurality of message processing resources based on the second associated information after determining the second associated information; and the second association information comprises association relation information between the slice identification and the resource demand information.
In some embodiments, the first determining module 903 is configured to determine the target packet processing resource from the slicing result based on the forwarding identification information and the first association information.
In some embodiments, the data messages include at least one of internet protocol IPv6 messages, and SRv messages.
It should be noted that, in practical applications, the first transceiver module 901, the first parsing module 902, and the first determining module 903 may be implemented by a processor in a forwarding device, where the processor may be at least one of an ASIC, a DSP, a DSPD, a PLD, an FPGA, a CPU, a controller, a microcontroller, and a microprocessor.
Based on the foregoing embodiments, the present application further provides a controller 10, where the controller 10 is applied to a control surface; fig. 10 is a schematic structural diagram of a controller 10 according to an embodiment of the present application. As shown in fig. 10, the controller 10 includes a second determining module 1001 and a second transceiver module 1002, wherein:
a second determining module 1001, configured to determine forwarding identifier information under the condition that a data packet sending request is received, so that the PE device sets the forwarding identifier information in a data packet; wherein, the forwarding identification information at least comprises a slice identification used for processing a slice of the data message; under the condition that forwarding equipment of a forwarding plane receives a data message, the data message can be analyzed to obtain forwarding identification information;
a second determining module 1001, configured to determine the first association information; the first association information at least comprises association relation information between the slice identifier and the message processing resource; the message processing resources corresponding to the slice identifiers of different data messages are different;
a second transceiver module 1002, configured to send the first association information to the forwarding device; the forwarding device not including the PE device may also determine a target packet processing resource for processing the data packet based on the forwarding identification information and the first association information, and forward the data packet to the target packet processing resource.
In some embodiments, the controller 10 further comprises a second parsing module, wherein:
a second determining module 1001, configured to set a data processing resource for the forwarding device, and determine second association information; the second association information comprises the association relation information between the slice identifier and the resource demand information;
the second analysis module is used for carrying out association configuration on the data processing resources to obtain a plurality of message processing resources;
a second determining module 1001, configured to determine the first association information based on the second association information and the plurality of message processing resources.
In practical applications, the second determining module 1001, the second transceiving module 1002, and the second parsing module may be implemented by a processor in a controller, where the processor may be at least one of an ASIC, a DSP, a DSPD, a PLD, an FPGA, a CPU, a microcontroller, and a microprocessor.
Fig. 11 is a schematic structural diagram of a resource determination system 11 according to an embodiment of the present application. As shown in fig. 11, the system may include a forwarding device 9 applied to a forwarding plane and a controller 10 applied to a control plane.
Based on the foregoing embodiments, the present application further provides a computer-readable storage medium, where a computer-executable program is stored in the computer-readable storage medium; the computer executable program, when executed by a processor of an electronic device, is capable of implementing a resource determination method as in any of the preceding.
The foregoing description of the various embodiments is intended to highlight various differences between the embodiments, and the same or similar parts may be referred to each other, and for brevity, will not be described again herein.
The methods disclosed in the method embodiments provided by the present application can be combined arbitrarily without conflict to obtain new method embodiments.
Features disclosed in various product embodiments provided by the application can be combined arbitrarily to obtain new product embodiments without conflict.
The features disclosed in the various method or apparatus embodiments provided herein may be combined in any combination to arrive at new method or apparatus embodiments without conflict.
The computer-readable storage medium may be a Read Only Memory (ROM), a Programmable Read Only Memory (PROM), an Erasable Programmable Read Only Memory (EPROM), an Electrically Erasable Programmable Read Only Memory (EEPROM), a magnetic Random Access Memory (FRAM), a Flash Memory (Flash Memory), a magnetic surface Memory, an optical Disc, or a Compact Disc Read-Only Memory (CD-ROM), and the like; and may be various electronic devices such as mobile phones, computers, tablet devices, personal digital assistants, etc., including one or any combination of the above-mentioned memories.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising a … …" does not exclude the presence of another identical element in a process, method, article, or apparatus that comprises the element.
The above-mentioned serial numbers of the embodiments of the present application are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus necessary general hardware nodes, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method described in the embodiments of the present application.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The above description is only a preferred embodiment of the present application, and not intended to limit the scope of the present application, and all modifications of equivalent structures and equivalent processes, which are made by the contents of the specification and the drawings of the present application, or which are directly or indirectly applied to other related technical fields, are included in the scope of the present application.

Claims (14)

1. A resource determination method, applied to a forwarding device of a forwarding plane, the method comprising:
under the condition that forwarding equipment not comprising Provider edge PE equipment receives a data message sent by any equipment, analyzing the data message to acquire forwarding identification information; wherein, the forwarding identification information at least comprises a slice identification of a slice for processing the data message; the forwarding identification information is set in the data message by the PE device; the forwarding identification information is determined by a controller of the control plane under the condition of receiving a data message sending request;
acquiring first associated information; wherein the first association information at least includes association relationship information between the slice identifier and a message processing resource determined by the controller; the message processing resources corresponding to the slice identifiers of different data messages are different;
and determining a target message processing resource for processing the data message based on the forwarding identification information and the first correlation information.
2. The method of claim 1, wherein the parsing the data packet to obtain forwarding identification information comprises:
determining identification position information; wherein, the identification position information represents the position information of the forwarding identification information arranged in the data message; the identification position information is determined by the PE equipment based on the field occupation condition in the data message; the forwarding identification information is set in the data message by the PE device based on the identification position information;
and analyzing a field corresponding to the identification position information in the data message to acquire the forwarding identification information.
3. The method of claim 2, wherein the identifying location information comprises location information of a header field of the data packet; the identification location information is determined by the PE device based on an occupancy state of the header field.
4. The method according to claim 3, wherein the identifying location information includes unoccupied-field location information in the flow label field determined by the PE device if the flow label field of the data packet is not completely occupied.
5. The method according to claim 3, wherein the identifying the location information includes, in a case that a flow label field of the data packet is completely occupied, reducing, by the PE device, flow label information in the flow label field to obtain a flow label information reduction result, and determining unoccupied field location information in the flow label field based on the flow label information reduction result.
6. The method of claim 1, wherein before determining a target packet processing resource for processing the data packet based on the forwarding identification information and the first association information, the method further comprises:
acquiring data processing resources set for the forwarding equipment by the controller;
performing associated slicing on the data processing resource based on the first associated information to obtain a slicing result; wherein the slicing result includes a plurality of message processing resources actually used for processing the data message in the forwarding device; the first associated information is determined by the controller based on second associated information and a plurality of message processing resources under the condition that the controller performs associated configuration on the data processing resources to obtain the plurality of message processing resources based on the second associated information after determining the second associated information; the second association information comprises association relation information between the slice identifier and the resource demand information.
7. The method of claim 6, wherein the determining a target packet processing resource for processing the data packet based on the forwarding identification information and the first association information comprises:
and determining the target message processing resource from the slicing result based on the forwarding identification information and the first correlation information.
8. The method of claim 1, wherein the data packets comprise at least one of an internet protocol version 6 IPv6 packet and a SRv packet.
9. A resource determination method, applied to a controller of a control plane; the method comprises the following steps:
determining forwarding identification information under the condition of receiving a data message sending request, so that the PE equipment can set the forwarding identification information in the data message; wherein, the forwarding identification information at least comprises a slice identification of a slice for processing the data message; under the condition that forwarding equipment of a forwarding plane receives the data message sent by any equipment, the data message can be analyzed to obtain the forwarding identification information;
determining first associated information, and sending the first associated information to the forwarding equipment; the forwarding device not including the PE device may determine, based on the forwarding identifier information and the first association information, a target packet processing resource for processing the data packet; the first association information at least comprises association relation information between the slice identifier and the message processing resource; the message processing resources corresponding to the slice identifiers of different data messages are different.
10. The method of claim 9, wherein determining the first association information comprises:
setting data processing resources for the forwarding equipment;
determining second associated information; the second association information comprises association relation information between the slice identifier and resource demand information;
performing association configuration on the data processing resources based on the second association information to obtain a plurality of message processing resources;
determining the first association information based on the second association information and the plurality of message processing resources.
11. A forwarding device, characterized in that the forwarding device is applied to a forwarding plane; the apparatus comprises: the system comprises a first transceiver module, a first analysis module and a first determination module; wherein:
the first transceiver module is used for receiving a data message sent by any equipment;
the first analysis module is used for analyzing the data message to acquire forwarding identification information; wherein, the forwarding identification information at least comprises a slice identification of a slice for processing the data message; the forwarding identification information is set in the data message by the PE equipment; the forwarding identification information is determined by a controller of the control plane under the condition of receiving a data message sending request;
the first transceiver module is used for acquiring first associated information; the first association information at least includes association relationship information between the slice identifier and a message processing resource determined by the controller; the message processing resources corresponding to the slice identifiers of different data messages are different;
the first determining module is configured to determine, based on the forwarding identification information and the first association information, a target packet processing resource for processing the data packet.
12. A controller, characterized in that the controller is applied to a control plane; the controller comprises a second determining module and a second transceiving module; wherein:
the second determining module is configured to determine forwarding identification information under the condition that a data packet sending request is received, so that the PE device sets the forwarding identification information in a data packet; wherein, the forwarding identification information at least comprises a slice identification of a slice for processing the data message; under the condition that forwarding equipment of a forwarding plane receives the data message, the data message can be analyzed to obtain the forwarding identification information;
the second determining module is further configured to determine first associated information; the first association information at least comprises association relation information between the slice identifier and a message processing resource; the message processing resources corresponding to the slice identifiers of different data messages are different;
the second transceiver module is configured to send the first association information to the forwarding device; the forwarding device excluding the PE device may further determine, based on the forwarding identification information and the first association information, a target packet processing resource for processing the data packet, and forward the data packet to the target packet processing resource.
13. A resource determination system, characterized in that the resource determination system comprises a forwarding device applied to a forwarding plane as claimed in claim 11, and a controller applied to a control plane as claimed in claim 12.
14. A computer-readable storage medium, wherein a computer-executable program is stored in the computer-readable storage medium; the computer executable program, when executed by a processor of an electronic device, is capable of implementing a resource determination method as claimed in any one of claims 1 to 8 or 9 to 10.
CN202110623404.6A 2021-06-04 2021-06-04 Resource determination method, forwarding device, controller, system and medium Pending CN115442304A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110623404.6A CN115442304A (en) 2021-06-04 2021-06-04 Resource determination method, forwarding device, controller, system and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110623404.6A CN115442304A (en) 2021-06-04 2021-06-04 Resource determination method, forwarding device, controller, system and medium

Publications (1)

Publication Number Publication Date
CN115442304A true CN115442304A (en) 2022-12-06

Family

ID=84272082

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110623404.6A Pending CN115442304A (en) 2021-06-04 2021-06-04 Resource determination method, forwarding device, controller, system and medium

Country Status (1)

Country Link
CN (1) CN115442304A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106550410A (en) * 2015-09-17 2017-03-29 华为技术有限公司 A kind of communication control method and controller, user equipment, function example
CN108243106A (en) * 2016-12-23 2018-07-03 华为技术有限公司 Control method, forwarding unit, control device and the communication system of network slice
CN111050361A (en) * 2018-10-12 2020-04-21 ***通信有限公司研究院 Message transmission method, device and system
WO2020114587A1 (en) * 2018-12-05 2020-06-11 Nokia Technologies Oy Apparatus, method, and computer program
CN111385207A (en) * 2018-12-29 2020-07-07 中兴通讯股份有限公司 Service data forwarding method, network device and network system
CN112399609A (en) * 2020-12-03 2021-02-23 中国联合网络通信集团有限公司 Resource allocation method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106550410A (en) * 2015-09-17 2017-03-29 华为技术有限公司 A kind of communication control method and controller, user equipment, function example
CN108243106A (en) * 2016-12-23 2018-07-03 华为技术有限公司 Control method, forwarding unit, control device and the communication system of network slice
CN111050361A (en) * 2018-10-12 2020-04-21 ***通信有限公司研究院 Message transmission method, device and system
WO2020114587A1 (en) * 2018-12-05 2020-06-11 Nokia Technologies Oy Apparatus, method, and computer program
CN111385207A (en) * 2018-12-29 2020-07-07 中兴通讯股份有限公司 Service data forwarding method, network device and network system
CN112399609A (en) * 2020-12-03 2021-02-23 中国联合网络通信集团有限公司 Resource allocation method and device

Similar Documents

Publication Publication Date Title
US9548919B2 (en) Transparent network service header path proxies
US10263889B2 (en) Data forwarding method, device, and system in software-defined networking
JP7417825B2 (en) slice-based routing
CN106998302B (en) Service flow distribution method and device
CN114915585A (en) Message processing method, device, equipment and system
CN109962850B (en) Method and controller for implementing segment routing and computer readable storage medium
JP2021530912A (en) Network slice control method and device, computer readable storage medium
CN108011824B (en) Message processing method and network equipment
US10425327B2 (en) System and method for routing in software defined networks using a flow header
CN109450793B (en) Method and device for scheduling service traffic
KR20230101903A (en) BIER packet forwarding method, device and system
CN116192726A (en) Forwarding path establishment method, forwarding path establishment device and computer readable storage medium
WO2022237291A1 (en) Message transmission method and apparatus, related device, and storage medium
CN107005479B (en) Method, device and system for forwarding data in Software Defined Network (SDN)
CN112822097A (en) Message forwarding method, first network device and first device group
CN113923161A (en) Message forwarding method and device
CN115412976A (en) Message processing method and related equipment
WO2022166465A1 (en) Message processing method and related apparatus
CN115442304A (en) Resource determination method, forwarding device, controller, system and medium
CN115348202A (en) Data transmission method, device and equipment based on network slice and storage medium
CN114175583B (en) System resource management in self-healing networks
CN107995084B (en) Tunnel selection method and device
CN111865805A (en) Multicast GRE message processing method and system
El Amri et al. Resource allocation heuristics for network virtualization
WO2024002101A1 (en) Packet transmission method and apparatus, related device, and storage medium

Legal Events

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