WO2022237860A1 - Procédé de traitement de paquets, procédé d'attribution de ressources et dispositif associé - Google Patents

Procédé de traitement de paquets, procédé d'attribution de ressources et dispositif associé Download PDF

Info

Publication number
WO2022237860A1
WO2022237860A1 PCT/CN2022/092364 CN2022092364W WO2022237860A1 WO 2022237860 A1 WO2022237860 A1 WO 2022237860A1 CN 2022092364 W CN2022092364 W CN 2022092364W WO 2022237860 A1 WO2022237860 A1 WO 2022237860A1
Authority
WO
WIPO (PCT)
Prior art keywords
resource
network device
indication information
message
user
Prior art date
Application number
PCT/CN2022/092364
Other languages
English (en)
Chinese (zh)
Inventor
左少夫
佩雷斯诺阿姆
郜忠华
陈磊
曹捷
Original Assignee
华为云计算技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority claimed from CN202110864867.1A external-priority patent/CN115941621A/zh
Application filed by 华为云计算技术有限公司 filed Critical 华为云计算技术有限公司
Publication of WO2022237860A1 publication Critical patent/WO2022237860A1/fr

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/70Admission control; Resource allocation
    • H04L47/72Admission control; Resource allocation using reservation actions during connection setup

Definitions

  • the embodiments of the present application relate to the communication field, and in particular, to a message processing method, a resource allocation method, and related devices.
  • a cloud data center network is a data center network in which multiple users share computing, storage, and network resources. It is composed of network cards, routers, and multi-protocol label switching (MPLS) switches.
  • MPLS multi-protocol label switching
  • network devices in the cloud data center network adopt a best-effort processing strategy when using resources to process packets. For example, when the resources in the network device are sufficient to process the received message, the network device processes the received message indiscriminately; when the resource in the network device is in short supply, the network device sends a pause to the upstream hop network device Indicates that the reception of the message has been suspended.
  • SLA service level agreement
  • the embodiment of the present application provides a message processing method, a resource allocation method, and related equipment, which are used to reserve a part of resources for processing messages related to the first user or the first service, which is beneficial to improve the efficiency of some users or some services. Packet processing efficiency, thereby ensuring the service delay, jitter, packet loss rate and other indicators of some users, and then improving the SLA level of some users.
  • the present application provides a message transmission method.
  • a message of a certain user for example, a first user
  • the network device can obtain the first indication information from other network equipment or a centralized management and control node, and the first indication information is used to indicate that the aforementioned first user is reserved for processing information related to the first user. resources of the packets, so that the network device can use the aforementioned resources to process the packets related to the first user.
  • a message related to the first user is referred to as a first message
  • the first message is one or more messages carrying a first identifier.
  • the resource indicated by the first indication information is referred to as the first resource, and the first resource is used to process the foregoing first message.
  • the network device may be any device in a network card, a router or a switch.
  • the processing of the first packet by the network device can be understood as that the network device directly forwards the first packet; it can also be understood that the network device parses the first packet and performs delete or add, and then forward the processed first packet to the next-hop network device according to the predetermined forwarding path.
  • the specific application is not limited.
  • a network device for example, a network device such as a switch, a router, and a network card
  • a network device can reserve a first resource for processing a message related to the first user (that is, the first message) based on the first indication information , so that the network device uses the aforementioned first resource to process the packets related to the first user, and then the network device can ensure the delay, jitter, packet loss rate and other indicators when processing the first packet, which is conducive to improving the first The SLA level of the user corresponding to the packet.
  • the network device does not perceive the user or the service of the user, which is not conducive to the network device improving the SLA level of the user for some users.
  • the identification granularity of the first identification may be different. If the identification granularity of the first identification is user level, then the first identification is used to identify the first user; if the identification granularity of the first identification is service level, then the first identification is used to identify the first user of the first user. business, the first user is a user who has applied for the first resource.
  • the first identifier is used to identify the first user.
  • the message related to the first user is the first message, and there is no need to distinguish other factors such as the session type to which the message belongs. That is to say, any service message related to the first user can use the first resource, that is, the network device can use the first resource to process any service message related to the first user.
  • the first message may be a message of any session related to the first user. For example, voice conversations, video conversations, text conversations, etc.
  • the session type to which the message belongs is not distinguished, which not only helps to save identification, but also helps to reduce the processing complexity of the network device.
  • the first identifier is used to identify the first service of the first user.
  • the message related to the first service of the first user is the first message, and the messages related to other services of the first user may not be the first message. That is to say, the packets related to the first service of the first user can use the first resource, and other services of the first user cannot use the first resource, that is, the network device can use the first resource to process the communication with the first user. Messages related to the first service, and messages related to other services of the first user cannot be processed.
  • the first service may be a service that requires high processing delay or packet loss rate, for example, a video call service. This implementation mode is beneficial to use the first resource for processing packets of services with stricter requirements on time delay and other indicators, and can improve resource utilization efficiency.
  • the first indication information received by the network device includes at least a configuration quota of the first resource and a first identifier, where the configuration quota of the first resource refers to the configuration allocated to the network device for processing the
  • the resource quota of a packet is the maximum amount of resources occupied by the network device when processing the first packet.
  • the network device after the network device receives the first indication information, it can reasonably allocate the amount of resources for processing the first message according to the configuration quota of the first resource determined by the first indication information, so as to avoid allocating resources for processing the first message. Too few resources affect the processing efficiency of the first message, and in order to avoid preempting the resources used to process the first message in the process of processing other messages. Therefore, it is possible to effectively avoid the influence of factors such as resource instability in the network on the processing efficiency of the first message, and slow down or avoid phenomena such as congestion or packet loss in the process of processing the first message.
  • the network device uses the first resource to process the first message, there is still some spare first resource in the network device, then the network device can use the spare first resource Resources are used to process other messages than the first message.
  • the network device uses the first resource to process the second message, and the second message does not carry the first identifier.
  • the network device does not change the configuration quota of the first resource, but the network device may use a part of the first resource for processing other packets.
  • the number of first packets received by the network device is small, and the amount of resources used by the network device to process the aforementioned first packets may be less than the configured quota of the first resources.
  • the network device may use idle
  • the first resource processes other packets (for example, a second packet that does not carry the first identifier).
  • the network device can take back the first resources used for processing other packets, so as to ensure that the network device has sufficient resources for processing the first packets.
  • This implementation mode can be used in a prepaid resource selling mode, for example, a prepaid bandwidth or prepaid traffic mode. It is beneficial to flexibly allocate resources for processing packets and improve resource utilization efficiency.
  • the method further includes: the network device adjusting the initial configuration quota to another configuration quota.
  • the method further includes: when the resource occupied by processing the first message drops to a first threshold, the network device lowers the configuration quota of the first resource; and/or, when When the resource occupied by processing the first message rises to a second threshold, the network device increases the configuration quota of the first resource, and the second threshold is greater than the first threshold.
  • the first threshold value and the second domain value are values preconfigured by the network management device, or may be values determined by parameters preconfigured by the network management device.
  • the network device can change the configuration quota of the first resource, which can be used in a postpaid resource selling mode, for example, in a postpaid traffic selling mode.
  • the first user determines to use resources when signing a contract with the cloud platform, but the amount of resources used is not fully agreed (for example, only an initial amount is agreed), and the cloud platform is allowed to instruct the network device or configure the network
  • the device adjusts on the basis of the aforementioned initial quota based on the actual traffic of the first user (for example, the number of packets related to the first user).
  • This embodiment can flexibly adjust the flow that the first user can use while ensuring the amount of resources used to process the first message, without the need for the first user to pay in advance, and pay according to the established price standard based on the used flow afterwards . It is beneficial to flexibly allocate resources for processing packets, improve resource utilization efficiency, and be applicable to application scenarios with random business traffic models.
  • the process for the network device to obtain the first indication information may specifically be: the network device receives a negotiation request message from the last-hop network device, and the negotiation request message is used to negotiate and configure the first resource , the negotiation request message carries the first indication information and the identifier of the last-hop network device. Then, when the network device determines that the first resource indicated by the first indication information can be reserved, the network device adds the identifier of the network device to the negotiation request message, and sends a message carrying the first resource to the next-hop network device.
  • a negotiation request message indicating information, the identifier of the last-hop network device, and the identifier of the network device.
  • the process for the network device to acquire the first indication information may specifically be: the network device receives the first indication information from a centralized management and control node.
  • the first indication information comes from the cloud platform, that is, the cloud platform determines the first indication information based on the subscription agreement with the first user, and then sends the aforementioned first indication information to the centralized management and control node, and then the centralized management and control node Sending the aforementioned first indication information to the aforementioned network device.
  • the centralized management and control node can obtain the resources available in each network device in the network in real time, and then the centralized management and control node determines the transmission path for transmitting the first message. Not only can it ensure the selection of the outbound transmission path and the backhaul transmission path, but it is also conducive to collecting information on various network devices.
  • the network device obtains the first indication information directly through the centralized management node without negotiating with other network devices to reserve resources, which is beneficial to improve management efficiency.
  • the present application provides a resource allocation method, in which the cloud platform configures the first resource for the network device in an out-of-band control manner. If the first user wants to obtain more efficient processing of the packets related to the first user to ensure the delay, jitter and packet loss rate of the first user's business, the first user can apply to the cloud platform for resources for processing packets related to the first user.
  • the cloud platform may receive a first resource application from a centralized management node or a source network instance corresponding to the first user, where the first resource application is used to request allocation of the first resource for the first user, and the first resource is used for the network
  • the device processes packets related to the first user.
  • the network device may be any device in a network card, a router or a switch.
  • FIG. 9B is a schematic diagram of another embodiment of a network device in the present application.
  • the system architecture includes source network instances, destination network instances, intermediate nodes and centralized control nodes.
  • the source network instance is the transmission starting point of the user's message, and is a virtual switch corresponding to a service instance (such as a container, a virtual machine, etc.) of the user
  • the destination network instance is the transmission end point of the user's message, and is another A virtual switch corresponding to a service instance (for example, a container, a virtual machine, etc.)
  • the intermediate node can be a network device, or a combination of multiple network devices, and can forward and process the aforementioned messages
  • the centralized management and control node can collect all Information of intermediate nodes, so as to select an appropriate transmission path for packet transmission between the source network instance and the destination network instance and reserve resources for processing packets in network devices on the transmission path.
  • message transmission from the source network instance to the destination network instance can be cross-delivery unit (point of delivery, PoD) intercommunication.
  • point of delivery point of delivery
  • the message passes from NIC_1 to the network device at the TOR_1 layer, the network device at the SPINE_1 layer, the network device at the CORE layer, the network device at the SPINE_2 layer, and the network at the TOR_2 layer
  • the device reaches destination network instance 1.
  • the packet transmission from the source network instance to the destination network instance can be interworking with the PoD.
  • the first indication information is used to instruct the network device to reserve the first resource, so that the network device can use the first resource to process the first message.
  • the first indication information indicates that the network device guarantees a certain amount of resources (that is, the first resource determined according to the first indication information) for processing the first packet, so as to avoid The resources used to process the first packet are preempted, which affects the processing efficiency of the network device for the first packet, and then causes congestion or packet loss during the processing of the first packet.
  • the first identifier is used to identify the first service of the first user.
  • the message related to the first service of the first user is the first message, and the messages related to other services of the first user may not be the first message. That is to say, the packets related to the first service of the first user can use the first resource, and other services of the first user cannot use the first resource, that is, the network device can use the first resource to process the communication with the first user. Messages related to the first service, and messages related to other services of the first user cannot be processed.
  • the first service may be a service that requires high processing delay or packet loss rate, for example, a video call service.
  • the network device may obtain the foregoing first indication information in various ways, which will be introduced respectively below:
  • the negotiation request message includes outbound transmission path information, and the outbound transmission path information includes all network devices that have processed the negotiation request message from the source network instance to the destination network instance logo.
  • the network device receives the first indication information from the centralized management and control node.
  • the network device receives outbound transmission path information and/or backhaul transmission path information from the centralized management and control node.
  • the centralized management and control node can collect the resource usage of each network device in real time, and the centralized management and control node can obtain the quota of the first resource reserved by the user. Therefore, the centralized management and control node can select a plurality of network devices capable of reserving the first resource between the source network instance and the destination network instance to form an outbound transmission path, and send The first instruction message.
  • the centralized management and control node also sends the aforementioned outbound transmission path information to the aforementioned network device capable of reserving the first resource.
  • the centralized management and control node may determine backhaul transmission path information in a similar manner, and instruct each network device on the backhaul transmission path to reserve resources.
  • Step 202 the network device acquires the first packet.
  • the first message is a message related to the first user, and the first message is a message carrying a first identifier. It can be understood that the first packet is a packet that needs to be processed with priority; it can also be understood that the first packet is a packet that needs to ensure a processing rate.
  • the network device is the first intermediate node connected to the source network instance, that is, the last-hop network device of the network device is the source network instance.
  • the manner in which the network device acquires the first packet may be: the network device adds the first identifier to the packet received from the source network instance to obtain the first packet.
  • the network device may be a network card (NIC) for adding the first identifier or the like.
  • NIC network card
  • Step 203 the network device uses the first resource to process the first packet.
  • the processing of the first message by the network device can be understood as that the network device directly forwards the first message, for example, the network device forwards the aforementioned first message to the next-hop network device based on a predetermined forwarding path , the forwarded message may contain the content of the first message in front; it can also be understood that the network device parses the first message, performs operations such as deletion or addition to the payload carried by the first message, and then processes The next first packet is forwarded to the next-hop network device according to the predetermined forwarding path.
  • the present application does not limit the specific process of processing the first packet by the network device.
  • the network device may divide multiple processing processes to process the received packets of different types respectively.
  • the network device when the network device receives the message 1, the network device recognizes that the message 1 does not carry the first identifier, then the network device transmits the message 1 to the second processing process, and the second processing process uses Other resources process message 1; at the same time, the network device receives message 2, and the network device recognizes that message 2 carries the first identifier, then the network device transmits message 2 to the first processing process, The message 2 uses the first resource to process the message 2; similarly, the network device receives the message 3, and the network device recognizes that the message 3 does not carry the first identifier, then the network device transmits the message 3 to Second processing process.
  • the network device will use the first resource to process message 2, message 4 and message 7 through the first processing process, and use the second resource to process message 1, message 3 and message 5 through the second processing process and message 6.
  • step 204 is an optional step.
  • the network device does not change the configuration quota of the first resource, but the network device may use a part of the first resource for processing other packets.
  • the number of first packets received by the network device is small, and the amount of resources used by the network device to process the aforementioned first packets may be less than the configured quota of the first resources.
  • the network device may use idle
  • the first resource processes other packets (for example, a second packet that does not carry the first identifier).
  • the network device can take back the first resources used for processing other packets, so as to ensure that the network device has sufficient resources for processing the first packets.
  • the network device may change the configuration quota of the first resource.
  • the network device when the resource occupied by processing the first message drops to a first threshold, the network device lowers the configuration quota of the first resource; and/or, when the resource occupied by processing the first message When it reaches a second threshold, the network device increases the configuration quota of the first resource, and the second threshold is greater than the first threshold.
  • the first threshold value and the second domain value are values preconfigured by the network management device. For example, if the configuration quota of the first resource is 10M, the aforementioned first threshold may be configured as 3M, and the second threshold may be configured as 7M. The first threshold and the second threshold may also be values determined by parameters preconfigured by the network management device.
  • This implementation mode can be used in a postpaid resource selling mode, for example, in a postpaid traffic selling mode.
  • the first user determines to use resources when signing a contract with the cloud platform, but the amount of resources used is not fully agreed (for example, only an initial amount is agreed), and the cloud platform is allowed to instruct the network device or configure the network
  • the device adjusts on the basis of the aforementioned initial quota based on the actual traffic of the first user (for example, the number of packets related to the first user).
  • This embodiment can flexibly adjust the flow that the first user can use while ensuring the amount of resources used to process the first message, without the need for the first user to pay in advance, and pay according to the established price standard based on the used flow afterwards . It is beneficial to flexibly allocate resources for processing packets, improve resource utilization efficiency, and be applicable to application scenarios with random business traffic models.
  • Step 205 the network device acquires second indication information, where the second indication information is used to indicate to revoke the first resource.
  • Step 206 the network device revokes the first resource according to the second indication information.
  • step 205 and step 206 are optional steps.
  • the cloud platform sends the second instruction information to the centralized management and control node, and then the centralized management and control node sends the second instruction information to the network device, and the second instruction information is used to instruct the cancellation of the first resource. resource.
  • the network device After the network device receives the aforementioned second indication information, the network device will release the first resource, so that the first resource becomes a common resource in the network device (that is, the first resource will no longer be dedicated to processing and first user-related message).
  • a network device for example, a network device such as a switch, a router, and a network card
  • a network device can reserve a first resource for processing a message (that is, a first message) related to the first user based on the first indication information, So that the network device can guarantee indicators such as time delay, jitter, and packet loss rate when processing the first packet.
  • the network device can also release the aforementioned first resource, so that the resources in the network device can be used for processing other packets. Therefore, not only is it beneficial to improve resource utilization efficiency, but it is also beneficial to improve the SLA level of the user corresponding to the first message.
  • the message of is an implementation of the aforementioned first message
  • resource 1 and resource 2 are an implementation of the aforementioned first resource.
  • step 401 the cloud platform configures an initial resource quota for the source network instance.
  • the cloud platform can configure an initial resource quota for the source network instance corresponding to user 1, and the initial resource quota is used to indicate that the Amount of resources used to process packets related to user 1.
  • the source network instance needs to transmit packets related to user 1, the source network instance will configure the resources available to each network device in the network for processing the packets related to user 1 in the way of path-associated negotiation.
  • Step 402 the source network instance sends a negotiation request packet 0 to the network device 1.
  • the negotiation request message 0 carries indication information 1
  • the indication information 1 is used to instruct the network device to reserve resource 1 for user 1 to process outbound packets, so that the network device can use the resource 1 to process and Outbound packets related to user 1.
  • the quota of resource 1 may be determined based on the aforementioned initial resource quota, for example, the quota of resource 1 is equal to the quota of resource 1 .
  • step 403 network device 1 sends a negotiation request message to the next-hop network device.
  • Step 404 the network device n sends a negotiation request message n to the destination network instance.
  • the network device 1 may search for a network device capable of reserving the aforementioned resource 1 according to the neighbor discovery protocol or other protocols.
  • the source network instance if the source network instance generates a negotiation request message 0 containing indication information 1, and the source network instance sends the negotiation request message 0 to network device 1; if network device 1 can reserve resource 1, the The network device 1 also encapsulates the identifier of the network device 1 into the aforementioned negotiation request message 0 to obtain a negotiation request message 1, which includes the indication information 1 and the identifier of the network device 1; then, the network device 1 follows The forwarding rule determines that the negotiation request message 1 is forwarded to the network device 2, and the negotiation request message 1 carries the indication information 1 and the identifier of the network device 1; if the network device 2 can reserve the resource 1, then the network device 2 will The identifier of 2 is also encapsulated into the foregoing negotiation request message 1 to obtain a negotiation request message 2, which carries the indication information 1, the identifier of the network device 1, and the identifier of the network device 2.
  • the switch a1 will encapsulate the identity of the switch a1 into the aforementioned negotiation request message, and follow the established discovery rules at the SPINE_1 layer Look for a SPINE switch that can reserve 2M resources as the next-hop network device.
  • the negotiation request message can pass through the switch a1 at the TOR_1 layer, the switch a2 at the SPINE_1 layer, the switch a3 at the CORE layer, the switch a4 at the SPINE_2 layer, and the switch a5 at the TOR_2 layer, and then reach the network card NIC_2 on the instance side of the destination network.
  • the negotiation request message carries the identifier of each network device capable of reserving 2M resources, that is, the outbound transmission path information.
  • Step 405 the destination network instance sends a negotiation response message 0 to the network device n.
  • the negotiation response message includes indication information 2, and the indication information 2 is used to instruct the network device to reserve a resource 2 for user 1 to process the backhaul message, so that the network device can use the resource 2 to process information related to user 1. return message.
  • Step 406 the network device n sends a negotiation response message to the next-hop network device.
  • Step 407 the network device 1 sends a negotiation response message n to the source network instance.
  • the destination network instance determines the backhaul transmission path information based on the outbound transmission path information, that is, the reverse path of the outbound transmission path is used as the backhaul transmission path.
  • the network device on the backhaul transmission path serves as the network device that reserves resource 2 .
  • the destination network instance searches for a network device capable of reserving the foregoing resource 2 based on a neighbor discovery protocol or other protocols.
  • the destination network instance if the destination network instance generates a negotiation response message 0 containing indication information 2, and the source network instance sends the negotiation response message 0 to network device n; if network device n can reserve resource 2, the The network device n also encapsulates the identifier of the network device n into the aforementioned negotiation response message 0 to obtain a negotiation response message 1, which includes the indication information 2 and the identifier of the network device n; then, the network device n according to Forwarding rules determine the next-hop network device. By analogy, until the negotiation response message (n ⁇ 1) is sent to the network device 1 . Then, the network device 1 transmits the negotiation response message n to the source network instance.
  • the negotiation response message n received by the source network instance includes indication information 2 and backhaul transmission path information.
  • the backhaul transmission path information is from the source network instance to The identification of each network device that can reserve resource 2 through which the destination network instance passes.
  • the destination network instance sends a negotiation response message to NIC_2.
  • the negotiation response message is not only used to request the reservation of 1M resources, but also carries information about the outbound transmission path.
  • the network card NIC_2 looks for a TOR switch capable of reserving 1M resources in the TOR_2 layer as the next-hop network device according to a predetermined discovery rule.
  • the switch b1 encapsulates the identity of the switch b1 into the aforementioned negotiation response message, and according to the established discovery rules at the SPINE_2 layer Search for a SPINE switch that can reserve 1M resources as the next-hop network device.
  • the negotiation response message can pass through the switch b1 at the TOR_2 layer, the switch b2 at the SPINE_2 layer, the switch b3 at the CORE layer, the switch b4 at the SPINE_1 layer, and the switch b5 at the TOR_1 layer, and then reach the network card NIC_1 on the instance side of the destination network.
  • the negotiation response message carries the identifier of each network device capable of reserving 1M resources, that is, the backhaul transmission path information.
  • the source network instance After the source network instance receives the aforementioned negotiation response message n, the source network instance sends an outbound message related to user 1 to the destination network instance through the network device indicated by the aforementioned outbound transmission path information. At the same time, the destination network instance may also send a backhaul packet related to user 1 to the source network instance through the aforementioned backhaul transmission path information.
  • Step 408 the network device adjusts the resource quota according to the number of packets related to user 1.
  • step 408 is an optional step.
  • the network device when the number of packets related to user 1 received by the network device decreases, the amount of resources used by the network device to process the packets related to user 1 will also decrease.
  • the network device lowers the configuration quota of resource 1 and/or the configuration quota of resource 2 .
  • the network device increases the configuration quota of resource 1 and/or the configuration quota of resource 2 .
  • the second threshold is greater than the first threshold.
  • the first threshold value and the second domain value are values preconfigured by the network management device.
  • the first threshold and the second threshold may also be values determined by parameters preconfigured by the network management device. For details, please refer to the relevant introduction in step 204 above.
  • Step 409 the network device feeds back the actual usage quota to the cloud platform.
  • the network device may adjust the aforementioned resource quota one or more times, and the network device may periodically feed back the resource quota currently used to process user 1's message to the cloud platform, so that the cloud platform or other billing units are based on Billing based on the amount of resources actually used.
  • the network device that has adjusted the resource quota can directly send the actual usage quota to the cloud platform, or can send the actual usage quota to the centralized management and control node, and then the centralized management and control node will send the aforementioned actual usage quota to the cloud platform.
  • the network device that has adjusted the resource quota can directly send the actual usage quota to the cloud platform, or can send the actual usage quota to the centralized management and control node, and then the centralized management and control node will send the aforementioned actual usage quota to the cloud platform.
  • This embodiment can be used in the resource sales mode of post-payment. While ensuring the amount of resources used to process the first message, it can flexibly adjust the traffic that the first user can use, without the need for the first user to pay in advance. Pay according to the established price standard according to the traffic used. It is beneficial to flexibly allocate resources for processing packets, improve resource utilization efficiency, and be applicable to application scenarios with random business traffic models.
  • Step 601 the source network instance sends a first resource application to the cloud platform.
  • the first resource application is used to apply for a resource for processing the message of the first user (ie, the foregoing first resource).
  • the first resource application may carry a first identifier, and the first identifier may be an identifier of the first user, or an identifier of a certain service of the first user.
  • the relevant introduction in the aforementioned step 201 please refer to the relevant introduction in the aforementioned step 201.
  • the source network instance may also send the first resource application to the centralized management and control node, and then the centralized management and control node forwards the aforementioned first resource application to the cloud platform.
  • Step 602 the cloud platform determines first indication information according to the first resource application.
  • the first indication information includes the aforementioned quota of the first resource.
  • the first indication information further includes a first identifier.
  • the cloud platform may determine the quota of the first resource according to the service agreement SLA signed with the first user. For example, if the first user orders 10M resources on the cloud platform, the cloud platform determines that 10M resources can be configured for the first user.
  • Step 603 the cloud platform sends first indication information to the centralized management and control node.
  • the negotiation request message carries the identifier of each network device capable of reserving 2M resources, that is, the outbound transmission path information.
  • the centralized management and control node collects the amount of idle resources of network devices at TOR_1 layer, SPINE_1 layer, CORE layer, SPINE_2 layer, TOR_1 layer and other network layers. Then, the centralized management and control node determines the network equipment capable of reserving 2M resources according to the amount of idle resources of the network equipment at each network layer.
  • the centralized management and control node may also determine another transmission path as the backhaul transmission path based on the amount of idle resources of network devices at the TOR_1 layer, SPINE_1 layer, CORE layer, SPINE_2 layer, TOR_1 layer, and other network layers.
  • the backhaul transmission path may be switch b1-switch b2-switch b3-switch b4-switch b5.
  • Step 605a the centralized management and control node sends outbound transmission path information to the source network instance.
  • the outbound transmission path information includes identifiers of network devices capable of reserving the first resource between the source network instance and the destination network instance.
  • the backhaul transmission path information includes identifiers of network devices capable of reserving the first resource between the destination network instance and the source network instance.
  • Step 606 the centralized management and control node sends the first indication information and the transmission path information to the network device.
  • the centralized management and control node will send the first indication information and the transmission path information to each network device on the transmission path.
  • Step 607 the cloud platform sends second indication information to the centralized management and control node.
  • Step 608 the centralized management and control node sends second indication information to the network device.
  • the centralized management and control node will send the second indication information to each network device on the transmission path.
  • the cloud platform or the centralized management and control node when the first resource purchased by the first user expires, the cloud platform or the centralized management and control node will send the second indication information to the network device, where the second indication information is used to indicate the withdrawal of the first resource. After the network device receives the aforementioned second indication information, the network device will release the first resource, so that the first resource becomes a common resource in the network device (that is, the first resource will no longer be dedicated to processing and first user-related message).
  • This embodiment can be used in a prepaid resource selling mode, where the centralized management and control node can acquire resources available in each network device in the network in real time, and then the centralized management and control node determines the transmission path for transmitting the first message. Not only can it ensure the selection of the outbound transmission path and the backhaul transmission path, but it is also conducive to collecting information on various network devices.
  • the network device obtains the first indication information directly through the centralized management node without negotiating with other network devices to reserve resources, which is beneficial to improve management efficiency.
  • the network device 80 may be a network card (NIC), a switch, or a router.
  • NIC network card
  • the network device 80 may be a ToR switch, a Spine switch, or a Core switch.
  • the network devices in the foregoing method embodiments corresponding to FIG. 2 , FIG. 6 , and FIG. 4 may be based on the structure of the network device 80 shown in FIG. 8 .
  • the network device 80 includes at least one processor 801 and at least one memory 802 . It should be understood that FIG. 8 only shows one processor 801 and one memory 802 .
  • the processor 801 may be a general-purpose central processing unit (central processing unit, CPU), a microprocessor, a network processor (network processor, NP) or a specific application integrated circuit (application-specific integrated circuit), or one or more An integrated circuit for controlling the program execution of the scheme of the present application.
  • the foregoing processor 801 may be a single-core (single-CPU) processor, or may be a multi-core (multi-CPU) processor.
  • Processor 801 may refer to one or more devices, circuits, and/or processing cores for processing data (eg, computer program instructions).
  • the processor 801 can be an independent semiconductor chip, or can be integrated with other circuits to form a semiconductor chip, for example, can form a single semiconductor chip with other circuits (such as codec circuits, hardware acceleration circuits, or various bus and interface circuits).
  • a system on a chip system-on-a-chip, SoC
  • SoC system-on-a-chip
  • ASIC application specific integrated circuit
  • the memory 802 is also used to store program codes for executing the technical solutions of the embodiments of the present application.
  • the foregoing program codes may be controlled and executed by the processor 801, and various types of computer program codes executed may also be regarded as drivers of the processor 801. Therefore, the processor 801 may reserve the first resource according to the first indication information, and use the first resource to process the first packet.
  • the processor 801 may use the first resource to process the second message when the amount of resources occupied by the network device when processing the first message is less than the configured quota of the first resource, and the second message The first identifier is not carried.
  • the processor 801 may reduce the configuration quota of the first resource when the resource occupied by processing the first message drops to a first threshold; and/or, when the resource occupied by processing the first message When the resource rises to a second threshold, the allocation quota of the first resource is increased, and the second threshold is greater than the first threshold.
  • the communication interface 803 may receive a negotiation request message from an upper-hop network device, the negotiation request message is used to negotiate and configure the first resource, and the negotiation request message carries the first indication information and the last-hop network device.
  • the identity of the device For example, the communication interface 803 may send a negotiation request message carrying the first indication information, the identifier of the last-hop network device, and the identifier of the network device to the next-hop network device.
  • the internal structure of the network device may be as shown in FIG. 9A , FIG. 9B or FIG. 9C .
  • the network device includes at least one CPU and at least one ASIC chip.
  • the ASIC chip includes a control module and a forwarding module, the forwarding module is used to classify the messages in the ingress queue according to certain rules and transmit them to an egress queue; the control module is used to control each egress queue according to the received instructions resources used.
  • the internal structure of the network device may be as shown in FIG. 9A .
  • the CPU is used to process instructions or messages from the centralized management and control node, and then process the aforementioned instructions or messages, and send the processing results to the control module, so that the control module controls the messages added to the egress queue according to the aforementioned processing results.
  • the internal structure of the network device may be as shown in FIG. 9B .
  • the negotiation request message or the negotiation response message enters the ASIC chip through the ingress queue of the data plane, and the forwarding module forwards the aforementioned negotiation request message or the negotiation response message to the control module for processing, so that the control module is based on the first The indication information or the second indication information controls the egress queue.
  • This implementation mode is a hardware offloading solution, which is suitable for scenarios requiring high timeliness of configuration (the effective time is at the nanosecond level), and is conducive to real-time configuration, adjustment or withdrawal of resources.
  • the internal structure of the network device may be as shown in FIG. 9C .
  • the negotiation request message or the negotiation response message enters the ASIC chip through the ingress queue of the data plane, and the forwarding module forwards the aforementioned negotiation request message or the negotiation response message to the CPU outside the ASIC chip for processing, and the CPU then feeds back the processing result to the control module, so that the control module controls the egress queue based on the first indication information or the second indication information.
  • This implementation mode is a software-hardware coordination solution. Compared with the aforementioned hardware offloading solution, all logic is solidified in the chip.
  • the software-hardware coordination solution introduces switching network elements, which is beneficial to improve the flexibility of software implementation.
  • FIG. 10 it is a schematic structural diagram of a cloud platform provided by an embodiment of the present application.
  • the cloud platform 100 may be a server, a large-scale computing device or a large-scale management device, which is not specifically limited here.
  • the cloud platforms in the aforementioned method embodiments corresponding to FIG. 4 and FIG. 6 may be based on the structure of the cloud platform 100 shown in FIG. 10 .
  • the cloud platform 100 may include a processor 1010 , a memory 1020 and a communication interface 1030 .
  • the processor 1010 is coupled to the memory 1020
  • the processor 1010 is coupled to the communication interface 1030 .
  • the foregoing communication interface 1030 may also be referred to as a network interface or the like.
  • the communication interface 1030 is used to communicate with other servers or network devices, so that the cloud platform can receive instructions or data from other devices or servers, or enable the cloud platform to send instructions or data to other devices or servers.
  • the communication interface 1030 may be directly or indirectly connected to the centralized management and control unit, so as to receive the resource application related to the first user (for example, the first resource application introduced above) from the centralized management and control node, so as to facilitate the
  • the centralized management and control unit sends indication information (for example, the first indication information or the second indication information introduced above).
  • the aforementioned processor 1010 may be a central processing unit CPU, a network processor NP or a combination of CPU and NP.
  • the processor can also be an application-specific integrated circuit (application-specific integrated circuit, ASIC), a programmable logic device (programmable logic device, PLD) or a combination thereof.
  • ASIC application-specific integrated circuit
  • PLD programmable logic device
  • the aforementioned PLD may be a complex programmable logic device (complex programmable logic device, CPLD), a field-programmable gate array (field-programmable gate array, FPGA), a general array logic (generic array logic, GAL) or any combination thereof.
  • Processor 1010 may refer to one processor, or may include multiple processors.
  • the aforementioned memory 1020 is mainly used to store software programs and data.
  • the memory 1020 may exist independently and be connected with the processor 1010 .
  • the memory 1020 may be integrated with the processor 1010, for example, integrated into one or more chips.
  • the memory 1020 can store program codes for executing the technical solutions of the embodiments of the present application, and the execution is controlled by the processor 1010 , and various types of computer program codes to be executed can also be regarded as drivers for the processor 1010 .
  • the memory 1020 may include a volatile memory (volatile memory), such as a random-access memory (random-access memory, RAM); the memory may also include a non-volatile memory (non-volatile memory), such as a read-only memory (read-only memory). only memory, ROM), flash memory (flash memory), hard disk (hard disk drive, HDD) or solid-state drive (solid-state drive, SSD); the memory 1020 may also include a combination of the above-mentioned types of memory.
  • the storage 1020 may refer to one storage, or may include multiple storages.
  • computer-readable instructions are stored in the memory 1020 , and the computer-readable instructions include a plurality of software modules, such as a sending module 1021 , a processing module 1022 and a receiving module 1023 .
  • the processor 1010 may perform corresponding operations according to the instructions of each software module.
  • an operation performed by a software module actually refers to an operation performed by the processor 1010 according to an instruction of the software module.
  • the receiving module 1023 in the cloud platform 100 receives a first resource application, and the first resource application is used to request allocation of a first resource for the first user, and the first resource is used for the network device to process and communicate with the first user. related messages.
  • the processing module 1022 generates first indication information based on the first resource application, so as to directly or indirectly instruct the network device to reserve the first resource through the first indication information.
  • the first resource application includes a first identifier, the first identifier is related to the first user, and the message related to the first user is a first message carrying the first identifier.
  • the first resource application includes a configuration quota of the first resource and the first identifier, and the configuration quota of the first resource is a maximum amount of resources occupied by the network device when processing the first packet.
  • the sending module 1021 in the cloud platform 100 sends the first indication information to the centralized management and control node, so that the centralized management and control node sends the first indication information to multiple network devices, and each of the multiple network devices A network device is used to process the first packet.
  • the sending module 1021 in the cloud platform 100 sends the second indication information to the centralized management and control node when the first resource expires, so that the centralized management and control node sends the second indication information to multiple network devices , the second indication information is used to instruct the network device to revoke the first resource.
  • the sending module 1021 in the cloud platform 100 sends an initial resource quota to the source network instance, and the initial resource quota is used to determine a first resource, and the first resource is used for the network device to process the message related to the first user , the first user is a user who needs to reserve resources;
  • the receiving module 1023 in the cloud platform 100 receives an actual resource quota from the network device, and the actual resource quota is an actual resource amount occupied by the network device for processing the message related to the first user.
  • the message related to the first user is a first message carrying a first identifier, and the first identifier is used to identify the first user, or, the first identifier is used to identify the first user's a business.
  • the present application also provides a computer-readable storage medium, the storage medium stores a computer program, and the computer program is executed by a processor to implement the methods related to the network device in the aforementioned FIG. 2 , FIG. 4 and FIG. 6 .
  • the present application also provides a computer-readable storage medium, the storage medium stores a computer program, and the computer program is executed by a processor to implement the methods related to the cloud platform in FIG. 4 and FIG. 6 .

Abstract

Sont divulgués dans les modes de réalisation de la présente demande un procédé de traitement de paquets, un procédé d'attribution de ressources et un dispositif associé, qui sont utilisés pour réserver certaines ressources dédiées au traitement d'un paquet relatif à un premier utilisateur ou à un premier service, de sorte à faciliter l'amélioration de l'efficacité de traitement de paquets de certains utilisateurs ou de certains services, ce qui permet de sauvegarder les indices de services de certains utilisateurs, tels que le retard, la gigue et le taux de perte de paquets, et d'améliorer en outre les accords sur les niveaux de service (SLA) de certains utilisateurs.
PCT/CN2022/092364 2021-05-13 2022-05-12 Procédé de traitement de paquets, procédé d'attribution de ressources et dispositif associé WO2022237860A1 (fr)

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
CN202110523413.8 2021-05-13
CN202110523413 2021-05-13
CN202110864867.1A CN115941621A (zh) 2021-05-13 2021-07-29 报文处理方法、资源分配方法以及相关设备
CN202110864867.1 2021-07-29

Publications (1)

Publication Number Publication Date
WO2022237860A1 true WO2022237860A1 (fr) 2022-11-17

Family

ID=84028098

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/092364 WO2022237860A1 (fr) 2021-05-13 2022-05-12 Procédé de traitement de paquets, procédé d'attribution de ressources et dispositif associé

Country Status (1)

Country Link
WO (1) WO2022237860A1 (fr)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140379924A1 (en) * 2013-06-21 2014-12-25 Microsoft Corporation Dynamic allocation of resources while considering resource reservations
CN107347089A (zh) * 2017-05-16 2017-11-14 深圳警翼智能科技股份有限公司 一种电信级别的云计算系统的资源分配方法
US20200336435A1 (en) * 2017-12-31 2020-10-22 Huawei Technologies Co., Ltd. Packet Sending Method, Device, and System
WO2021179718A1 (fr) * 2020-03-11 2021-09-16 华为技术有限公司 Procédé et appareil de transmission de message et dispositif de réseau

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140379924A1 (en) * 2013-06-21 2014-12-25 Microsoft Corporation Dynamic allocation of resources while considering resource reservations
CN107347089A (zh) * 2017-05-16 2017-11-14 深圳警翼智能科技股份有限公司 一种电信级别的云计算系统的资源分配方法
US20200336435A1 (en) * 2017-12-31 2020-10-22 Huawei Technologies Co., Ltd. Packet Sending Method, Device, and System
WO2021179718A1 (fr) * 2020-03-11 2021-09-16 华为技术有限公司 Procédé et appareil de transmission de message et dispositif de réseau

Similar Documents

Publication Publication Date Title
US7636781B2 (en) System and method for realizing the resource distribution in the communication network
US8730813B2 (en) Apparatus for performing packet-shaping on a packet flow
WO2021057447A1 (fr) Procédé de détermination de bande passante requise pour transmission de flux de données, et dispositifs et système
CN114125924B (zh) Tsn业务的处理方法、装置及计算机可读存储介质
EP2702731A1 (fr) Ordonnancement et mise en forme selon un profil hiérarchique
US11310167B2 (en) Resource reservation method and related device
CN114128228B (zh) 通过SRv6头传输MTNC-ID以实现5G传输
WO2015101066A1 (fr) Procédé et nœud pour établir une réservation de qualité de service
US11165716B2 (en) Data flow processing method and device
WO2018036516A1 (fr) Procédé et système de gestion de trafic, dispositif de commutation de paquets et dispositif d'utilisateur
Ghanwani et al. A framework for integrated services over shared and switched IEEE 802 LAN technologies
WO2016150020A1 (fr) Procédé et dispositif de programmation de paquets à base d'identificateur de flux de programmation
EP3202111B1 (fr) Capacité d'attribution d'une connexion de réseau aux flux de données en se basant sur le type
WO2011113264A1 (fr) Procédé et appareil de gestion du trafic dans un réseau de commutation
CN113810442B (zh) 资源预留的方法、装置、终端及节点设备
WO2022237860A1 (fr) Procédé de traitement de paquets, procédé d'attribution de ressources et dispositif associé
US11870707B2 (en) Bandwidth management and configuration method for cloud service, and related apparatus
CN116232990A (zh) 在支持SRv6的数据面上传输MTNC-ID以实现5G传输
CN109792405B (zh) 用于传输节点中共享缓冲器分配的方法和设备
WO2021174236A2 (fr) Signalisation intrabande pour service de garantie de latence (lgs)
CN115941621A (zh) 报文处理方法、资源分配方法以及相关设备
WO2024011907A1 (fr) Procédé de programmation de données, dispositif électronique et support de stockage
WO2023202467A1 (fr) Procédé et appareil de configuration de réseau
CN114501544A (zh) 一种数据传输方法、装置和存储介质
Kaur et al. Providing deterministic end-to-end fairness guarantees in core-stateless networks

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22806822

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE