WO2025256301A1 - 算力资源信息的更新方法、系统、设备、介质及程序产品 - Google Patents
算力资源信息的更新方法、系统、设备、介质及程序产品Info
- Publication number
- WO2025256301A1 WO2025256301A1 PCT/CN2025/092962 CN2025092962W WO2025256301A1 WO 2025256301 A1 WO2025256301 A1 WO 2025256301A1 CN 2025092962 W CN2025092962 W CN 2025092962W WO 2025256301 A1 WO2025256301 A1 WO 2025256301A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- computing
- resources
- resource
- computing power
- update
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/02—Topology update or discovery
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L47/00—Traffic control in data switching networks
- H04L47/70—Admission control; Resource allocation
- H04L47/76—Admission control; Resource allocation using dynamic resource allocation, e.g. in-call renegotiation requested by the user or requested by the network in response to changing network conditions
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/60—Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
- H04L67/61—Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources taking into account QoS or priority requirements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/60—Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
- H04L67/63—Routing a service request depending on the request content or context
Definitions
- This application relates to the field of network technology, and in particular to methods, systems, devices, media, and program products for updating computing resource information.
- Edge computing nodes in a computing network can sense the status of computing resources in the network. By transmitting the status of computing resources to the network, edge computing nodes enable each edge routing node in the network to update computing resource information in a timely manner, ensuring that the edge routing nodes can calculate data packet scheduling paths according to the updated computing resource information.
- edge computing nodes can send updates to the computing resources used by each application to network devices.
- Network devices can synchronize the status of computing resources through computing power routing.
- the status of the computing resources used by each application can be carried as an attribute in the computing power routing. That is, each update message for the computing resources used by each application corresponds to a computing power route synchronized in the network devices.
- network devices such as edge routing nodes, receiving updates from the edge computing nodes running the applications whose computing power status has changed. This leads to a large amount of information to process for the edge routing nodes, resulting in significant processing pressure and affecting the efficiency of updating computing resource information.
- This application provides a method, system, device, medium, and program product for updating computing resource information, which reduces the processing pressure on edge routing nodes and improves the efficiency of updating computing resource information.
- this application provides a method for updating computing resource information, the method comprising: receiving an update message for computing resources; updating multiple pieces of computing resource information corresponding to multiple computing applications based on the update message for computing resources, wherein the multiple computing applications use computing resources for data processing, and the multiple pieces of computing resource information are respectively used to schedule data packets of multiple computing applications in the computing network.
- the Network Layer Reachability Information (NLRI) in the update message includes the identifier of the computing resource or the identifier of the service group to which multiple computing applications belong.
- the update message also includes the site identifier of the edge computing node where the computing resources are located.
- computing resources include supercomputing resources, general-purpose computing resources, storage resources, or energy resources.
- the update message for computing resources includes the total amount of computing resources, the percentage of available computing resources relative to the total computing resources, or the priority value of the computing resources.
- receiving update messages about computing resources includes:
- the update message is sent by the edge computing node or the egress edge routing node; wherein, the egress edge routing node is an edge routing node with a routing transmission tunnel located near the edge computing node, and the routing transmission tunnel is used to connect the egress edge routing node and the ingress edge routing node; the ingress edge routing node is used to receive the update message of computing resources, and is also used to update the multiple computing resource information corresponding to multiple computing applications based on the update message of computing resources.
- the method is executed by the egress edge routing node, transmitting resource update information of computing resources to the edge routing node so that the edge routing node updates multiple computing resource information corresponding to multiple computing applications according to the resource update information of computing resources, including: sending an update message including resource update information to the ingress edge routing node so that the ingress edge routing node updates multiple computing resource information corresponding to multiple computing applications according to the update message.
- the update message is a Border Gateway Protocol (BGP) message, an Interior Gateway Protocol (IGP) message, or a Restricted Application Protocol (COAP) message.
- Border Gateway Protocol BGP
- IGP Interior Gateway Protocol
- COAP Restricted Application Protocol
- the update message contains the identifier of the computing resources or the identifier of the business group to which multiple computing applications belong.
- the Network Layer Reachability Information (NLRI) in the update message includes any one or more corresponding application identifiers from multiple computing applications.
- the Network Layer Reachability Information (NLRI) in the update message is used to indicate a specified application identifier, which corresponds to multiple computing power applications.
- the path attribute in the update message includes a first attribute unit, which is a triplet TLV that includes the identifier of the computing resource or the identifier of the business group to which multiple computing applications belong.
- the update message also includes the site identifier of the edge computing node where the computing resources are located.
- computing resources include supercomputing resources, general-purpose computing resources, storage resources, or energy resources.
- the resource update information for computing resources includes the total amount of computing resources, the percentage of available computing resources relative to the total computing resources, or the priority value of computing resources.
- embodiments of this application provide a computing resource information updating device, which is used to execute any of the computing resource information updating methods provided in the first aspect above.
- embodiments of this application can divide the computing resource information updating device into functional modules according to the method provided in the first aspect above.
- each function can be divided into a separate functional module, or two or more functions can be integrated into one processing module.
- embodiments of this application can divide the computing resource information updating device into a receiving module and an updating module, etc., according to their functions.
- embodiments of this application provide a computing resource information updating device, which is used to execute any of the computing resource information updating methods provided in the second aspect above.
- embodiments of this application can divide the computing resource information updating device into functional modules according to the method provided in the second aspect above.
- each function can be divided into its own functional modules, or two or more functions can be integrated into one processing module.
- embodiments of this application can divide the computing resource information updating device into a determining module and a sending module, etc., according to their functions.
- a computing power network system including an ingress edge routing node and an egress edge routing node, the computing power network system executing the method for updating computing power resource information as described in the above aspects.
- embodiments of this application provide a computing device comprising a processor and a memory, the processor being coupled to the memory; the memory is used to store computer instructions, which are loaded and executed by the processor to enable the computing device to implement the method for updating computing resource information as described above.
- Figure 1 is a schematic diagram illustrating a scenario of updating computing resource information according to an exemplary embodiment
- Figure 2 is a schematic diagram illustrating a scenario of updating computing resources in a bearer network with edge cloud deployed according to an exemplary embodiment
- Figure 3 is a schematic diagram of the architecture of a computing resource information update system according to an exemplary embodiment
- Figure 4 is a schematic diagram of the hardware architecture of an edge routing node according to an exemplary embodiment
- Figure 5 is a schematic diagram of the hardware architecture of another edge routing node according to an exemplary embodiment
- Figure 6 is a schematic diagram of the hardware architecture of a computing device according to an exemplary embodiment
- Figure 7 is a flowchart illustrating a method for updating computing resource information according to an exemplary embodiment
- Figure 9 is a flowchart illustrating a method for updating computing resource information according to an exemplary embodiment
- Figure 10 is a schematic diagram of an update message transmission according to the embodiment shown in Figure 9;
- FIG 11 is a schematic diagram of a TLV message format related to resource status in an update message according to the embodiment shown in Figure 9;
- FIG 12 is a schematic diagram of another TLV message format related to resource status in the update message involved in the embodiment shown in Figure 9;
- FIG 13 is a schematic diagram of a TLV message format carrying the computing node ID to which the computing power resources belong, according to the embodiment shown in Figure 9.
- Figure 14 is a schematic diagram of an NLRI format involved in the embodiment shown in Figure 9;
- Figure 15 is a schematic diagram of another NLRI format involved in the embodiment shown in Figure 9;
- Figure 16 is a flowchart illustrating a method for updating computing resource information according to an exemplary embodiment
- Figure 17 shows a schematic diagram of the structure of a computing resource information updating device 500 provided in an exemplary embodiment of this application;
- Figure 18 shows a schematic diagram of the structure of a computing resource information updating device 600 provided in an exemplary embodiment of this application.
- the terms “first” and “second” are used in the embodiments of this application to distinguish identical or similar items with substantially the same function and effect. Those skilled in the art will understand that the terms “first” and “second” do not limit the quantity or execution order, and that "first” and “second” are not necessarily different.
- the terms “exemplary” or “for example” are used to indicate that something is being used as an example, illustration, or description. Any embodiment or design scheme described as “exemplary” or “for example” in the embodiments of this application should not be construed as being more preferred or advantageous than other embodiments or design schemes. Specifically, the use of terms such as “exemplary” or “for example” is intended to present related concepts in a concrete manner for ease of understanding.
- Edge clouds can be deployed within the bearer network.
- Edge clouds can be small-scale cloud data centers providing computing resources distributed at the network edge.
- the bearer network includes edge cloud sites that can provide computing resources.
- Each edge cloud site can deploy one or more edge computing nodes, which can perform mobile edge computing (MEC).
- MEC mobile edge computing
- the control plane can distribute the status of computing resources in three ways: distributed, centralized, and hybrid. In a centralized computing network, the control plane can orchestrate forwarding paths according to computing application requirements, combining network-wide computing resource information and network status.
- state information for each computing resource can be distributed to the network instead of state information for each computing application. This avoids situations where different computing applications using the same resource distribute the same state change information to edge routing nodes after sensing a change in the resource. Instead, only one state change event is distributed to the edge routing nodes when the same computing resource changes, thus preventing excessive pressure on edge routing nodes caused by repeatedly processing the same state change event. This reduces the processing burden on edge routing nodes and also ensures a routing environment for more computing applications running simultaneously in the network.
- Edge routing nodes can receive update messages for computing resources and update the computing resource information corresponding to multiple computing applications using those resources according to the update messages. This enables the scheduling of data packets from multiple computing applications within the computing network based on the updated computing resource information, thereby ensuring the operational efficiency of routing services within the computing network.
- Figure 1 is a schematic diagram of a computing resource information update scenario provided by an embodiment of this application.
- computing resource information updates may include user-side terminals, edge routing nodes 11, edge clouds 12, and cloud data centers.
- network nodes closer to computing resources can be called egress edge routing nodes, and network nodes closer to the user side can be called ingress edge routing nodes.
- Each edge routing node in the network is encapsulated using network tunneling technology.
- the ingress edge routing node (Ingress node) of the tunnel can also be called the access-side network node, and the egress edge routing node (Egress node) of the tunnel can also be called the computing-side network node.
- Various tunneling technologies can be chosen, such as SR-MPLS or SRv6 tunnels.
- Figure 2 is a schematic diagram of a scenario where a bearer network with an edge cloud deployed is updating computing resources, according to an embodiment of this application.
- the bearer network includes user-side terminals (e.g., computer devices, smart cars), edge routing nodes (e.g., computing routers) in the metropolitan area network, edge computing (MEC) nodes, edge devices (provider edge, PE) in the cloud backbone, and cloud devices on the central cloud side.
- the network includes a coordinator with computing capabilities, a computing resource management platform, and a network management information platform.
- the coordinator, computing resource management platform, and network management information platform can collect information related to computing resources (S11).
- MEC node 1 runs computing application APP1 and computing application APP2
- MEC node 2 runs computing application APP1 and computing application APP3
- MEC node 3 runs computing application APP1 and computing application APP2. If MEC node 1 determines through the computing power awareness module that the computing power resources used by APP1 and APP2 have been updated, MEC node 2 determines through the computing power awareness module that the computing power resources used by APP1 have been updated, and MEC node 3 determines through the computing power awareness module that the computing power resources used by APP1 and APP2 have been updated.
- MEC node 1, MEC node 2, and MEC node 3 respectively send resource update information to the egress edge routing node on the computing side.
- This resource update information may include the identifier of the updated computing resource and the updated computing resource information.
- the egress edge routing node integrates the computing resource information corresponding to the same computing resource identifier to generate an update message corresponding to the computing resource, and transmits the update message corresponding to the computing resource to the ingress edge routing node.
- the egress edge routing node can receive resource update information from multiple MEC nodes regarding the computing resources used by their respective running applications. The egress edge routing node then integrates this information to determine the update message corresponding to each computing resource. This reduces the number of update messages transmitted between edge routing nodes, lowering the processing burden on the ingress edge routing node.
- MEC node 1 sends resource update information to the egress edge routing node on the computing side.
- This resource update information may include the identifier of the updated computing resources used by APP1, the identifier of the updated computing resources used by APP2, and the updated computing resources information.
- the egress edge routing node will generate update messages corresponding to each computing resource according to the computing resource identifier and transmit the update messages corresponding to the computing resources to the ingress edge routing node.
- one of the multiple MEC nodes running the same computing power application or applications using the same computing power resources sends resource update information to the egress edge routing node.
- the egress edge routing node determines the update message corresponding to each computing power resource based on the resource update information. This reduces the number of update messages transmitted between edge routing nodes, lowering the processing burden on the ingress edge routing node.
- MEC node 1 runs APP1 and APP2
- MEC node 2 runs APP1
- MEC node 3 runs APP1 and APP2
- MEC node 1 can send the resource update information corresponding to the computing power resources used by APP1 and APP2 only to the egress edge routing node 22.
- FIG 4 is a schematic diagram of the hardware architecture of an edge routing node provided in an embodiment of this application.
- the edge routing node 11 may include a main control board and an interface board.
- the main control board includes a first processor and a first memory.
- the first processor can be used to call program instructions in the first memory to execute relevant content for calculating paths according to computing resource information.
- the interface board includes a second processor, a second memory, and an interface card.
- the second processor of the interface board is used to call program instructions in the second memory of the interface board to execute the reception and transmission of messages (e.g., update messages).
- the interface card is used to transmit messages.
- Figure 5 is a schematic diagram of another edge routing node hardware architecture provided in an embodiment of this application.
- the transceiver can be used to receive messages or data information
- the memory can be used to store program instructions
- the processor can be used to execute relevant steps of edge routing node processing in this embodiment of the application, such as path calculation.
- edge routing node 11 can be a network device, such as a router or switch.
- edge computing nodes can be computing devices, and they can perform MEC (Multi-access Edge Computing).
- an edge computing node can include a server, and the server can be an edge server.
- an edge computing node can also be a virtual node, such as a virtual machine.
- Figure 6 is a schematic diagram of the hardware architecture of a computing device provided in an embodiment of this application.
- the computing device 30 includes at least: a memory 31, a processor 32, and a bus 33.
- the computing device 30 can be an edge computing node in the edge cloud 12 in Figure 1, or it can be an MEC node in Figure 3.
- the memory 31 can be used to store the logic code corresponding to the method for updating computing resource information provided in the embodiments of this application, or in other words, the memory 31 can store the logic code corresponding to a certain step performed by the computing device 30 described in the following embodiments.
- Processor 32 can be used to run MEC to determine resource update information for computing resources.
- the computing device 30 can be a terminal device or a server.
- the terminal device can include computers, mobile terminals, tablets, laptops, desktop computers, all-in-one computers, augmented reality (AR) devices, virtual reality (VR) devices, mixed reality (MR) devices, extended reality (ER) devices, personal digital assistants (PDAs), ultra-mobile personal computers (UMPCs), etc.
- the terminal device can also include edge computing devices (e.g., a box carrying a chip with processing capabilities).
- the server can include edge servers, etc.
- the memory 31 may include random access memory (RAM), read-only memory (ROM), etc.
- RAM random access memory
- ROM read-only memory
- the processor 32 can be a central processing unit (CPU) or other general-purpose processor, an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), a digital signal processor (DSP), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc.
- the general-purpose processor can be a microprocessor or any conventional processor.
- bus 33 can be a peripheral component interconnect (PCI) bus or a peripheral component interconnect express (PCIe) bus, etc.
- PCI peripheral component interconnect
- PCIe peripheral component interconnect express
- Bus 33 may include a path for transmitting information between various components of computing device 30 (e.g., memory 31, processor 32).
- the edge routing node receives update messages for computing resources.
- the ingress edge routing node in the edge routing node can receive update messages of computing resources.
- the edge computing nodes can send the updated computing resources message to the ingress edge routing node.
- the update message can be a border gateway protocol (BGP) message, an interior gateway protocol (IGP) message, or a constrained application protocol (COAP) message.
- BGP border gateway protocol
- IGP interior gateway protocol
- COAP constrained application protocol
- the update message may contain the identifier of the computing resources or the identifier of the business group to which multiple computing applications belong.
- the ingress edge routing node can identify multiple corresponding computing applications through update messages with the same computing resource identifier or the same business group identifier. This allows the ingress edge routing node to calculate the subsequent routing of multiple computing applications using a computing resource when it receives an update message corresponding to a computing resource.
- the Network Layer Reachability Information (NLRI) in the update message may include any one or more corresponding application identifiers from multiple computing applications; the path attribute in the update message may include a first attribute unit, which is a triplet TLV including the identifier of the computing resource or the identifier of the service group to which the multiple computing applications belong; the path attribute in the update message may include computing resource information of the computing resource.
- the update message may also include the site identifier of the edge computing node where the computing resource is located.
- the Network Layer Reachability Information (NLRI) in the update message can be used to indicate a specified application identifier, which corresponds to multiple computing power applications.
- the path attribute in the update message includes a first attribute unit, which is a triplet (TLV) containing either the identifier of the computing power resource or the identifier of the service group to which the multiple computing power applications belong.
- the path attribute in the update message can also include computing power resource information.
- the update message may also include the site identifier of the edge computing node where the computing power resource is located.
- the Network Layer Reachability Information (NLRI) in the update message may include the identifier of the computing resource or the identifier of the service group to which multiple computing applications belong; the path attribute in the update message may include the computing resource information.
- the update message may also include the site identifier of the edge computing node where the computing resource is located.
- the computing resources can include supercomputing resources, general computing resources, storage resources, or energy resources. Updates to computing resources can include the total amount of computing resources, the percentage of available computing resources relative to the total computing resources, or the priority value of the computing resources.
- the update message can be sent from the edge computing node to the ingress edge routing node via the egress edge routing node.
- the egress edge routing node is the edge routing node on the side of the routing transmission tunnel closest to the edge computing node, and the routing transmission tunnel connects the egress edge routing node and the ingress edge routing node.
- the ingress edge routing node receives the update message for computing resources and, based on the update message, updates multiple pieces of computing resource information corresponding to multiple computing applications.
- the edge routing node updates multiple computing resource information corresponding to multiple computing applications based on the update message of computing resources.
- the ingress edge routing node identifies multiple computing applications that use computing resources for data processing based on the update messages of computing resources; and updates multiple computing resource information corresponding to the multiple computing applications.
- the data packet in response to the ingress edge routing node receiving a data packet from a first computing application, the data packet is transmitted to a target edge computing node based on the updated computing resource information corresponding to the first computing application.
- the first computing application can be any one of multiple computing applications.
- the target edge computing node can be the edge computing node where the computing resources corresponding to the first computing application, as indicated by the updated computing resource information, are located.
- the ingress edge routing node stores computing resource information for multiple computing applications. After receiving an update message, the ingress edge routing node can update the computing resource information corresponding to the multiple computing applications using the same computing resources as indicated in the update message. When the ingress edge routing node subsequently receives a data packet from any of the multiple computing applications, it can determine the route of the subsequent data packet according to the updated computing resource information corresponding to that computing application, and transmit the data packet to the target edge computing node indicated by the route according to the determined route.
- the ingress edge routing node avoids the problem of high load in the routing network caused by each computing application sending updated information to the ingress edge routing node after sensing an update in the computing resources it uses. This improves the operational efficiency of routing services.
- FIG 8 is a flowchart illustrating a method for updating computing resource information according to an embodiment of this application.
- This method can be executed by an egress edge routing node or an edge computing node.
- the egress edge routing node can be the egress edge routing node in edge routing node 11 in Figures 1, 4, and 5, or the egress edge routing node in Figure 3.
- the edge computing node can be the edge computing node in edge cloud 12 in Figure 1, or the computing device 30 in Figure 6.
- the method for updating computing resource information includes the following steps:
- the edge computing node or the egress edge routing node can determine the resource update information of the computing resources, which can correspond to multiple computing applications that use the computing resources for data processing.
- the resource update information of the computing resources determined by the edge computing node is the resource update information of the computing resources obtained by merging the relevant information of the computing resources being updated as perceived by multiple computing applications.
- the edge computing node can merge multiple pieces of information related to the update of the computing resources to determine the resource update information of a single computing resource.
- the resource update information of the computing resources determined by the egress edge routing node is the resource update information of the computing resources obtained by merging the relevant information of the computing resources being updated as perceived by multiple computing applications.
- an edge computing node After an edge computing node detects an update to the computing resources used by multiple running computing applications, it sends multiple pieces of information related to the update to the egress edge routing node. The egress edge routing node then merges these multiple pieces of information to determine the update information for a single computing resource.
- S302 transmit the resource update information of computing power resources to the edge routing node, so that the edge routing node can update multiple computing power resource information corresponding to multiple computing power applications according to the resource update information of computing power resources.
- multiple computing power applications use computing power resources for data processing, and multiple computing power resource information is used to schedule data packets of multiple computing power applications in the computing power network.
- the edge computing node can transmit the resource update information of the computing power resources to the egress edge routing node, so that the egress edge routing node can generate an update message of the computing power resources based on the resource update information.
- the egress edge routing node if the method for updating the computing power resource information is executed by the egress edge routing node, the egress edge routing node sends an update message including resource update information to the ingress edge routing node, so that the ingress edge routing node updates multiple computing power resource information corresponding to multiple computing power applications according to the update message.
- the update messages sent by the egress edge routing node to the ingress edge routing node in both of the above possible implementations are update messages for computing resources, there is no problem of heavy transmission burden.
- the ingress edge routing node can update the computing resource information corresponding to multiple computing applications according to the update message, thereby improving the efficiency of routing services.
- the update message can be a border gateway protocol (BGP) message, an interior gateway protocol (IGP) message, or a constrained application protocol (COAP) message.
- BGP border gateway protocol
- IGP interior gateway protocol
- COAP constrained application protocol
- the update message may contain the identifier of the computing resources or the identifier of the business group to which multiple computing applications belong.
- the ingress edge routing node can identify multiple corresponding computing applications through update messages with the same computing resource identifier or the same business group identifier. This allows the ingress edge routing node to calculate the subsequent routing of multiple computing applications using a computing resource when it receives an update message corresponding to a computing resource.
- the Network Layer Reachability Information (NLRI) in the update message may include any one or more corresponding application identifiers from multiple computing applications; the path attribute in the update message may include a first attribute unit, which is a triplet TLV including the identifier of the computing resource or the identifier of the service group to which the multiple computing applications belong; the path attribute in the update message may include computing resource information of the computing resource.
- the update message may also include the site identifier of the edge computing node where the computing resource is located.
- the Network Layer Reachability Information (NLRI) in the update message can be used to indicate a specified application identifier, which corresponds to multiple computing power applications.
- the path attribute in the update message includes a first attribute unit, which is a triplet (TLV) containing either the identifier of the computing power resource or the identifier of the service group to which the multiple computing power applications belong.
- the path attribute in the update message can also include computing power resource information.
- the update message may also include the site identifier of the edge computing node where the computing power resource is located.
- the Network Layer Reachability Information (NLRI) in the update message may include the identifier of the computing resource or the identifier of the service group to which multiple computing applications belong; the path attribute in the update message may include the computing resource information.
- the update message may also include the site identifier of the edge computing node where the computing resource is located.
- the computing resources can include supercomputing resources, general computing resources, storage resources, or energy resources. Updates to computing resources can include the total amount of computing resources, the percentage of available computing resources relative to the total computing resources, or the priority value of the computing resources.
- the ingress edge routing node avoids the problem of high load in the routing network caused by each computing application sending updated information to the ingress edge routing node after sensing an update in the computing resources it uses. This improves the operational efficiency of routing services.
- the resource update information for computing resources corresponds to multiple computing applications that use computing resources for data processing.
- the resource update information includes the computing resource information after the update.
- a computing resource awareness module can be included in the MEC node. This module can be a piece of program code used to detect whether computing resources have been updated and the update status. Therefore, after the MEC node performs computing resource awareness on the computing resources used by computing applications, if the MEC node determines that the computing resources have been updated, it can obtain the computing resource information and determine the resource update information.
- the resource update information can include the identifier of the updated computing resource and its computing resource information.
- the resource update information can be used to indicate the specific values of updated computing resources.
- the resource update information can include the updated value of the total amount of memory, the updated value of the percentage of available memory relative to the total memory, or the updated priority level of that memory.
- the computing resource is a general-purpose computing resource
- the corresponding resource update information can include the updated value of the total amount of computing resources, the updated value of the percentage of available computing resources relative to the total computing resources, or the updated priority level of that computing resource.
- the MEC node transmits resource update information of computing power resources to the egress edge routing node.
- the same computing power resource has the same identifier or the same identifier of the business group to which it belongs.
- different computing power applications that use the same computing power resources can belong to the same business group, that is, computing power applications that belong to the same business group use the same identifier for computing power resources.
- the MEC node transmits resource update information of computing power resources to the egress edge routing node, so that the egress edge routing node generates an update message of computing power resources based on the resource update information, and sends the update message of computing power resources to the ingress edge routing node, so that the ingress edge routing node updates multiple computing power resource information corresponding to multiple computing power applications based on the update message of computing power resources.
- the exit edge routing node generates an update message for computing resources based on the resource update information.
- the egress edge routing node can receive a computing power update message for the computing power resource.
- the update message for the computing power resource can be generated according to the computing power update information for the computing power resource in accordance with the routing protocol.
- the exit edge routing node sends an update message on computing resources to the ingress edge routing node.
- the update message of computing resources can be transmitted from the exit edge routing node to the entrance edge routing node.
- the ingress edge routing node receives an update message of computing resources sent by the egress edge routing node.
- the update message can be a BGP message, an IGP message, or a COAP message.
- update messages transmitted between edge routing nodes can be based on routing protocols such as BGP, IGP, or COAP.
- the content of update messages transmitted using different protocols is the same; the difference lies in the encoding format of the update messages.
- FIG 10 is a schematic diagram of an update message transmission according to an embodiment of this application.
- the egress edge routing node can transmit update messages for the same computing power resource as resource update events for that computing power resource to the ingress edge routing node.
- the update message may include the identifier of the computing power resource or the identifier of the service group: computing power resource information (resource ID or service group ID: resource value/utilization).
- the ingress edge routing node After receiving the update message corresponding to the resource update event, the ingress edge routing node can determine the correspondence between the identifier of the computing power resource or the identifier of the service group and the computing power application, which can be represented as the identifier of the computing power resource or the identifier of the service group: the identifier of the computing power application (resource ID or service group ID: service ID). If the computing power applications using the computing power resource include computing power application 1 (service ID1), computing power application 2 (service ID2), and computing power application 3 (service ID3), the ingress edge routing node can determine the correspondence between the identifier of the computing power resource or the identifier of the service group and the identifier of the computing power application.
- the computing power applications using the computing power resource include computing power application 1 (service ID1), computing power application 2 (service ID2), and computing power application 3 (service ID3)
- the ingress edge routing node can determine the correspondence between the identifier of the computing power resource or the identifier of the service group and the
- the ingress edge routing node can determine n prefixes, which can be: prefix1 is resource ID1 or service group ID1: service ID1; prefix2 is resource ID1 or service group ID1: service ID2; prefix3 is resource ID1 or service group ID1: service ID3; prefix4 is resource ID1 or service group ID1: service ID4; and prefix n is resource ID1 or service group ID1: service IDn.
- the network layer reachability information (NLRI) in the update message includes any one or more corresponding application identifiers among multiple computing power applications
- the path attribute (PA) in the update message includes a first attribute unit, which is a triplet TLV that includes the identifier of the computing power resource or the identifier of the service group to which the multiple computing power applications belong.
- the update message can be a routing protocol message containing both NLRI and PA.
- the NLRI can carry the identifiers of one or more computing applications using the updated computing resources, such as the Internet Protocol (IP) addresses of one or more computing resources.
- IP Internet Protocol
- the PA can carry the identifiers of the updated computing resources or the identifiers of the service groups to which the multiple computing applications using the computing resources belong, and the above content carried in the PA can be written in TLV triplet format.
- the computing power route of one of the multiple computing power applications can be used as the computing power route for the shared computing power resources of the multiple computing power applications.
- This computing power route can be used to identify the update status of the computing power resources. That is, the update message transmitted through the routing protocol can use the identifier (IP) of multiple computing power applications or one of the multiple computing power applications as the information carried in the NLRI of the message, and the identifier of the updated computing power resource or the identifier of the service group to which it belongs as the information carried in the PA of the message.
- IP identifier
- the shared computing power resource is updated, only one update message is triggered to the ingress edge routing node. This allows the ingress edge routing node to determine that the computing power resources used by multiple computing power applications have been updated, thereby enabling the ingress edge routing node to update the routing selection for multiple computing power applications.
- the PA in the update message may also include a second attribute unit, which may be a triplet TLV that includes the identifier of the edge computing node where the computing resources are located.
- the update message sent to the ingress edge routing node can also include the site identifier of the edge computing node where the computing power resources are located, so that the ingress edge routing node can send data packets to the edge computing node where the newly determined computing power resources are located after redetermining the computing power resources used by the computing power application.
- FIG 11 is a schematic diagram of a TLV message format related to resource status in an update message according to an embodiment of this application.
- the TLV representing the total amount of resources may include a service-oriented cap sub-type field, a length field, a reserved field, a metric type (MT) field, total computing resources information (so-capvalue), and the identifier of the computing resources or the identifier of the business group to which the multiple computing applications using the computing resources belong (resource ID or service group ID).
- MT metric type
- FIG 12 is a schematic diagram of another update message related to resource status in an embodiment of this application.
- the TLV representing available computing resources or the utilization rate of computing resources may include a service-oriented available sub-type field, a length field, a percentage flag (P-flag), a reserved field (res), a metric type (MT) field, available computing resources or the utilization rate information of computing resources (so-availres), and the identifier of the computing resources or the identifier of the service group to which the multiple computing applications using the computing resources belong (resource ID or service group ID).
- so-availres field represents a percentage.
- the MT field can be set to 4 bits, supporting 16 normalized metrics. Currently, only a value of 0 is defined, with the default type being a uniform normalized metric.
- so-availres represents the percentage of total resources used. For example, 30 represents 30% of resources available.
- P-flag it represents a certain amount of resources available. Therefore, the smaller this value, the fewer resources are available.
- the TLV format described above adds the identifier of the computing resource or the identifier of the service group to which multiple computing applications using the computing resource belong to the message.
- the ingress edge routing node can generate a mapping relationship between the identifier of the computing application (such as IP address or prefix) and the site ID of the edge computing node: computing resource ID or the site ID of the edge computing node: service group ID.
- the site ID of the edge computing node can be carried by other TLV format messages.
- Figure 13 is a schematic diagram of a TLV message format carrying the site ID of the edge computing node to which the computing resource belongs, according to an embodiment of this application.
- the ingress router ignores the site availability percentage.
- the site availability percentage represents the site availability percentage of all routes associated with the Site-ID, such as 100%, 50%, or 0%.
- the index is set to 0. 50 indicates 50% normal operation. When the value is outside the range of 0-100%, the value carried in this Sub-TLV will be ignored.
- a flag can be added to the TLV. This flag indicates whether the message carrying the ResourceID or ServiceGourpID is used to learn associations or to update computing resource information. For example, a set flag indicates that the message is used to learn associations, while a set flag indicates that the message is used to update the computing resource information of all computing applications corresponding to the shared computing resource. The reverse is also possible: a set flag indicates learning associations, while a set flag indicates updating the computing resource information of all computing applications corresponding to the shared computing resource.
- the Network Layer Reachability Information (NLRI) in the update message is used to indicate the specified application identifier.
- the path attribute in the update message includes a first attribute unit, which is a triplet TLV that includes the identifier of the computing resource or the identifier of the service group to which multiple computing applications belong.
- the update message can be a routing protocol message containing both an NLRI and a PA.
- the NLRI can carry the content of a specified application identifier, such as a specified Internet Protocol (IP) address, for example, an IP address with all zeros, an IP address with all ones, or other specified special IP addresses.
- IP Internet Protocol
- the PA can carry the identifier of the computing resource that is being updated or the identifier of the service group to which multiple computing applications using the computing resource belong, and the above content carried in the PA can be written in the triplet TLV format.
- a special IP address can be used to identify that the route is an update message for computing resources or service groups. That is, the update message transmitted via the routing protocol can use a specified application identifier (a special IP address) as information carried in the NLRI (Neutral Link Identifier) of the message, and the identifier of the updated computing resource or the identifier of the service group to which it belongs as information carried in the PA (Application Area Identifier).
- a specified application identifier a special IP address
- NLRI Neutral Link Identifier
- PA Application Area Identifier
- the PA in the update message may also include a second attribute unit, which may be a triplet TLV that includes the site identifier of the edge computing node where the computing resources are located.
- the update message sent to the ingress edge routing node can also include the site identifier of the edge computing node where the computing power resources are located, so that the ingress edge routing node can send data packets to the edge computing node where the newly determined computing power resources are located after redetermining the computing power resources used by the computing power application.
- the TLV message format related to the resource status in the update message can also be the message format shown in Figures 11 and 12.
- the Site ID of the edge computing node can also be carried by other TLV format messages, as shown in Figure 13.
- a flag can be added to the TLV. This flag indicates whether the message carrying the ResourceID or ServiceGourpID is used to learn associations or to update computing resource information. For example, a set flag indicates learning associations, while a set flag indicates updating the computing resource information of all computing applications corresponding to the shared computing resource. The reverse is also possible: a set flag of zero indicates learning associations, while a set flag indicates updating the computing resource information of all computing applications corresponding to the shared computing resource.
- the Network Layer Reachability Information (NLRI) in the update message may include the identifier of the computing resource or the identifier of the business group to which multiple computing applications belong, and the path attribute in the update message includes the computing resource information of the computing resource.
- NLRI Network Layer Reachability Information
- the update message can be a routing protocol message containing both NLRI and PA.
- the NLRI can carry the identifier of the computing resource or the identifier of the service group to which multiple computing applications belong.
- the PA can carry the computing resource information of the updated computing resource, and the above content carried in the PA can be written in the triplet TLV format.
- a new NLRI Neuron Notification Receiver
- the update message transmitted via the routing protocol can use the identifier of the computing resource or the identifier of the service group to which multiple computing applications belong as information carried in the NLRI of the message, and the computing resource information of the updated computing resource as information carried in the PA (Application Area) of the message.
- PA Application Area
- the Network Layer Reachability Information (NLRI) in the update message may also include the site identifier of the edge computing node where the computing resources are located.
- Figure 14 is a schematic diagram of an NLRI format according to an embodiment of this application.
- the NLRI carries a length field, which can be set to 1 octect, and an identifier of the computing resource or the identifier of the service group to which multiple computing applications using the computing resource belong (resource ID or service group ID), which can be set to 4 octect.
- the ingress edge routing node can directly obtain the resource ID or service group ID of the computing resource, and then read the total amount or usage information of the computing resource from the path attribute in the update message.
- this update message can be applied to situations where the same computing resource (i.e., computing resources with the same resource ID) spans multiple edge computing nodes.
- updates to the same computing resource on multiple edge computing nodes can be transmitted to the ingress edge routing node via an update message from the NLRI containing that computing resource's identifier.
- the edge computing node IDs spanned by this computing resource can be obtained from the source of the update information, thus distinguishing the computing resources on different edge computing nodes.
- Figure 15 is a schematic diagram of another NLRI format involved in an embodiment of this application.
- the NLRI carries a length field, which can be set to 1 octect; the site ID of the edge computing node, which can be set to 2 octect; and the identifier of the computing resource or the identifier of the service group to which multiple computing applications using the computing resource belong, which can be set to 4 octect.
- computing applications using computing resources or related computing resource status monitoring and collection software can send the information to the egress edge routing node (e.g., an Egress router) based on the new NLRI, which then forwards it to the ingress edge routing node.
- the ingress edge routing node Upon receiving the information, the ingress edge routing node reads the ResourceID and the corresponding computing resource information from the NLRI.
- the egress edge routing node processes the message and, based on the specified NLRI, publishes an update message for a certain computing power resource to the ingress edge routing node, which is used to trigger routing updates for multiple computing power applications using that computing power resource.
- the update message for computing resources includes the total amount of computing resources, the percentage of available computing resources relative to all computing resources, or the priority value of the computing resources.
- the path attribute in the update message may carry information such as the total amount of computing resources, the percentage of available computing resources to all computing resources, or the priority value of computing resources.
- the ingress edge routing node updates multiple computing resource information corresponding to multiple computing applications based on the update message of computing resources.
- the ingress edge routing node after receiving the update message of computing resources, can identify multiple computing applications based on the identifier of the computing resources in the update message or the identifier of the business group to which the multiple computing applications using the computing resources belong, thereby updating multiple computing resource information corresponding to the multiple computing applications.
- the ingress edge routing node stores the association between computing power applications and computing power resources.
- This association may include a mapping between the identifier of the computing power application and the identifier of the computing power resource, or it may include a mapping between the identifier of the computing power application and the identifier of the service group.
- This association can be a relationship learned by the ingress edge routing node through configuration, third-party databases, or BGP protocols, whereby the computing power application learns the corresponding computing resources on the edge computing nodes it subscribes to, or the business group to which the computing power application belongs.
- computing power applications or their corresponding components running in edge cloud sites transmit the binding relationship between the computing power application ID (which can be an IP address or other ID that identifies the computing power application), the site identifier of the edge computing node to which the computing power resource belongs, and the computing power resource ID or the business group ID (e.g., ServiceID:SiteID:ResourceID or ServiceID:SiteID:ServiceGroupID) to the egress edge routing node, which then transmits it to the ingress edge routing node.
- the computing power application ID which can be an IP address or other ID that identifies the computing power application
- the site identifier of the edge computing node to which the computing power resource belongs and the computing power resource ID or the business group ID (e.g., ServiceID:Site
- the computing power application can directly transmit the binding relationship between the computing power application ID, the site identifier of the edge computing node, and the computing power resource ID or the business group ID (e.g., ServiceID:SiteID:ResourceID or ServiceID:SiteID:ServiceGroupID) to the ingress edge routing node.
- the ingress edge routing node can learn the mapping relationship between computing power applications and the shared resources of the sites they use (which also correspond to the computing power resources used by computing power applications belonging to a business group).
- the ingress edge routing node determines the computing application corresponding to the updated computing resources, updates the computing resource information of the computing resources corresponding to the computing application stored in the ingress edge routing node to the computing resource information contained in the update message, thereby realizing the updating of multiple computing resource information corresponding to multiple computing applications.
- the egress edge routing node acquires multiple updates to computing resources sent by the edge computing node.
- the egress edge routing node then merges these updates to determine the updated computing resource information.
- Figure 16 is a flowchart illustrating a method for updating computing resource information according to an embodiment of this application. This method can be executed interactively between the edge routing node and the edge computing node.
- the edge routing node can be edge routing node 11 in Figures 1, 4, and 5, the ingress edge routing node in Figure 3, and the egress edge routing node.
- the method for updating computing resource information includes the following steps S106 to S108.
- the outbound edge routing node determines the resource update information of computing power resources.
- an MEC node When an MEC node detects an update to the computing resources used by a running computing application, it sends multiple pieces of information related to the update to the egress edge routing node. The egress edge routing node can then merge these multiple pieces of information to determine the update information for the computing resources.
- the egress edge routing node can merge these multiple pieces of information to determine the resource update information corresponding to that computing resource.
- the egress edge routing node sends an update message, including resource update information, to the ingress edge routing node.
- the egress edge routing node can generate update information containing resource update information corresponding to the computing power resource in accordance with the routing protocol.
- the ingress edge routing node updates multiple computing resource information corresponding to multiple computing applications based on the update message of computing resources.
- the computing resource information updating device includes at least one of the hardware structures and software modules corresponding to each function.
- the computing resource information updating device includes at least one of the hardware structures and software modules corresponding to each function.
- This application embodiment can divide the computing resource information updating device into functional units according to the above method example. For example, each function can be divided into a separate functional unit, or two or more functions can be integrated into one processing unit.
- the integrated unit can be implemented in hardware or as a software functional unit. It should be noted that the unit division in this application embodiment is illustrative and only represents one logical functional division. In actual implementation, there may be other division methods.
- Figure 17 shows a schematic diagram of the structure of a computing resource information updating device 500 provided in an exemplary embodiment of this application.
- This computing resource information updating device 500 is applied in an edge routing node, or the computing resource information updating device 500 can be an edge routing node.
- the edge routing node can be the edge routing node 11 in Figures 1, 4, and 5, or the ingress edge routing node in Figure 3.
- the computing resource information updating device 500 includes:
- the receiving module 510 is used to receive update messages of computing resources
- the update module 520 is used to update multiple computing resource information corresponding to multiple computing applications based on the update message of the computing resource.
- the multiple computing applications use the computing resource for data processing, and the multiple computing resource information is used to schedule data packets of the multiple computing applications in the computing network.
- the receiving module 510 can be used to execute S201 as shown in Figure 7
- the updating module 520 can be used to execute S202 as shown in Figure 7.
- the update message is a Border Gateway Protocol (BGP) message, an Interior Gateway Protocol (IGP) message, or a Restricted Application Protocol (COAP) message.
- Border Gateway Protocol BGP
- IGP Interior Gateway Protocol
- COAP Restricted Application Protocol
- the update message includes the identifier of the computing power resource or the identifier of the business group to which the plurality of computing power applications belong.
- the Network Layer Reachability Information (NLRI) in the update message includes any one or more corresponding application identifiers from the plurality of computing power applications.
- the Network Layer Reachability Information (NLRI) in the update message is used to indicate a specified application identifier, which corresponds to multiple computing power applications.
- the path attribute in the update message includes a first attribute unit, which is a triplet TLV that includes the identifier of the computing power resource or the identifier of the business group to which the plurality of computing power applications belong.
- the Network Layer Reachability Information (NLRI) in the update message includes the identifier of the computing resource or the identifier of the service group to which the multiple computing applications belong.
- the path attribute in the update message includes the computing resource information of the computing resource.
- the update message may also include the site identifier of the edge computing node where the computing power resource is located.
- the computing resources include supercomputing resources, general-purpose computing resources, storage resources, or energy resources.
- the update message for the computing resources includes the total amount of computing resources, the percentage of available computing resources relative to the total computing resources, or the priority value of the computing resources.
- the receiving module 510 is further configured to receive an update message of the computing resources sent from an edge computing node, the edge computing node including nodes in the computing network that provide the computing resources.
- the update module 520 is further configured to determine the plurality of computing power applications that use the computing power resources for data processing based on the update message of the computing power resources; and update the plurality of computing power resource information corresponding to the plurality of computing power applications.
- the apparatus further includes: a transmission module, configured to, in response to receiving a data packet from a first computing power application, transmit the data packet of the first computing power application to a target edge computing node according to multiple pieces of updated computing power resource information corresponding to the first computing power application, wherein the first computing power application is any one of the multiple computing power applications; and the target edge computing node is the edge computing node where the computing power resource corresponding to the first computing power application indicated by the updated computing power resource information is located.
- a transmission module configured to, in response to receiving a data packet from a first computing power application, transmit the data packet of the first computing power application to a target edge computing node according to multiple pieces of updated computing power resource information corresponding to the first computing power application, wherein the first computing power application is any one of the multiple computing power applications; and the target edge computing node is the edge computing node where the computing power resource corresponding to the first computing power application indicated by the updated computing power resource information is located.
- the update message is sent by an edge computing node or an egress edge routing node; wherein, the egress edge routing node is an edge routing node with a routing transmission tunnel located near the edge computing node, and the routing transmission tunnel is used to connect the egress edge routing node and the ingress edge routing node; the ingress edge routing node is used to receive the update message of the computing resources, and is also used to update the multiple computing resource information corresponding to the multiple computing applications based on the update message of the computing resources.
- some or all of the functions implemented in the receiving module 510 and the updating module 520 of the computing resource information updating device can be executed by the edge routing node 11 in Figures 4 and 5.
- the receiving module 510 can be executed by the interface board of the edge routing node 11 in Figure 4 or by the transceiver of the edge routing node 11 in Figure 5.
- the updating module 520 can be executed collaboratively by the first processor and the first memory of the edge routing node 11 in Figure 4 or by the processor and the memory of the edge routing node 11 in Figure 5.
- FIG18 shows a schematic diagram of the structure of a computing resource information updating device 600 provided in an exemplary embodiment of this application.
- the computing resource information updating device 600 is applied to an egress edge routing node or an MEC node, or the computing resource information updating device 600 can be an egress edge routing node or an MEC node.
- the egress edge routing node can be the egress edge routing node in edge routing node 11 in FIG1, 4, and 5, or the egress edge routing node in FIG3
- the edge computing node can be the edge computing node in edge cloud 12 in FIG1, or the computing device 30 in FIG6
- the computing resource information updating device 600 includes:
- the determining module 610 is used to determine the resource update information of the computing power resources; the resource update information of the computing power resources corresponds to multiple computing power applications that use the computing power resources for data processing;
- the sending module 620 is used to transmit the resource update information of the computing power resources to the edge routing node, so that the edge routing node updates multiple computing power resource information corresponding to multiple computing power applications according to the resource update information of the computing power resources.
- the multiple computing power applications use the computing power resources for data processing, and the multiple computing power resource information is used to schedule data packets of the multiple computing power applications in the computing power network.
- the determining module 610 can be used to execute S301 as shown in Figure 8
- the sending module 620 can be used to execute S302 as shown in Figure 8.
- the method is executed by the edge computing node where the computing resources are located.
- the sending module 620 is also used to transmit resource update information of the computing resources to the egress edge routing node, so that the egress edge routing node generates an update message of the computing resources based on the resource update information.
- the method is executed by the egress edge routing node, and the sending module 620 is further configured to send an update message including resource update information to the ingress edge routing node, so that the ingress edge routing node updates multiple computing resource information corresponding to multiple computing power applications according to the update message.
- the update message is a Border Gateway Protocol (BGP) message, an Interior Gateway Protocol (IGP) message, or a Restricted Application Protocol (COAP) message.
- Border Gateway Protocol BGP
- IGP Interior Gateway Protocol
- COAP Restricted Application Protocol
- the update message contains the identifier of the computing resources or the identifier of the business group to which multiple computing applications belong.
- the Network Layer Reachability Information (NLRI) in the update message includes any one or more corresponding application identifiers from multiple computing applications.
- the Network Layer Reachability Information (NLRI) in the update message is used to indicate a specified application identifier, which corresponds to multiple computing power applications.
- the path attribute in the update message includes a first attribute unit, which is a triplet TLV that includes the identifier of the computing resource or the identifier of the business group to which multiple computing applications belong.
- the Network Layer Reachability Information (NLRI) in the update message includes the identifier of the computing resource or the identifier of the service group to which multiple computing applications belong.
- the update message also includes the site identifier of the edge computing node where the computing resources are located.
- computing resources include supercomputing resources, general-purpose computing resources, storage resources, or energy resources.
- the resource update information for computing resources includes the total amount of computing resources, the percentage of available computing resources relative to the total computing resources, or the priority value of computing resources.
- some or all of the functions implemented in the determination module 610 and the sending module 620 of the computing resource information update device can be executed by the edge routing node 11 in Figures 4 and 5 or by the edge computing node 30 in Figure 6.
- Edge computing nodes can be used to determine the resource update information of computing resources; the resource update information of computing resources corresponds to multiple computing applications that use computing resources for data processing; and they are also used to transmit the resource update information of computing resources to the egress edge routing nodes, so that the egress edge routing nodes can generate update messages of computing resources based on the resource update information.
- the exit edge routing node can be used to receive resource update information of computing resources transmitted by edge computing nodes; it can also be used to generate update messages of computing resources based on the resource update information; and it can also be used to send update messages to the ingress edge routing node.
- This application also provides a computing power network system, which includes an ingress edge routing node and an egress edge routing node.
- the ingress edge routing node can be used to receive update messages of computing resources; it can also be used to update multiple computing resource information corresponding to multiple computing applications based on the update messages of computing resources. Multiple computing applications use computing resources to process data, and the multiple computing resource information are used to schedule data packets of multiple computing applications in the computing network.
- the egress edge routing node can be used to send update messages, including resource update information, to the ingress edge node, so that the ingress edge routing node can update multiple computing resource information corresponding to multiple computing applications according to the update message.
- the computer program product may be a software or program product containing instructions, capable of running on a computing device or stored on any usable medium.
- the computer program product When the computer program product is run on at least one computing device, it causes the at least one computing device to execute a method for updating computing resource information.
- the computer-readable storage medium can be any available medium that a computing device can store, or a data storage device such as a data center containing one or more available media.
- the available medium can be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid-state drive).
- the computer-readable storage medium includes instructions that instruct the computing device to perform a digital resource management method or to perform a method for updating computing resource information.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
本申请实施例公开了一种算力资源信息的更新方法、系统、设备、介质及程序产品,涉及网络技术领域,降低了边缘路由节点的处理压力,提高了算力资源信息的更新效率。该方法包括:接收算力资源的更新消息;基于算力资源的更新消息,更新多个算力应用对应的多条算力资源信息,多个算力应用使用算力资源进行数据处理,多条算力资源信息分别用于在算力网络中调度多个算力应用的数据包。
Description
本申请要求于2024年6月13日提交国家知识产权局、申请号为202410766605.5、申请名称为“一种降低算力路由发布频率的方法”和2024年08月31日提交国家知识产权局、申请号为202411219876.5、申请名称为“算力资源信息的更新方法、系统、设备、介质及程序产品”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
本申请涉及网络技术领域,尤其涉及算力资源信息的更新方法、系统、设备、介质及程序产品。
算力网络中的边缘计算节点可以感知网络中的算力资源的状态,边缘计算节点通过将算力资源的状态传递到网络中,从而使得网络中的各个边缘路由节点可以及时更新算力资源信息,保证边缘路由节点可以按照更新后的算力资源信息计算数据包调度路径。
当前,算力网络中的边缘计算节点感知到其上运行的算力应用各自使用的算力资源发生变化后,边缘计算节点会将算力资源的状态同步给网络中的网络设备。在分布式的方案中,边缘计算节点可以将针对各个算力应用使用的算力资源更新的相关消息发送给网络设备,网络设备之间可以通过算力路由同步算力资源的状态,各个算力应用使用的算力资源的状态可以作为算力路由的一种属性携带在算力路由中,也就是,每一条针对各个算力应用使用的算力资源更新的相关消息可以对应一条算力路由在网络设备中同步,这就导致了网络中的网络设备,比如边缘路由节点会接收到来自每个算力状态发生变化的算力应用所运行在的边缘计算节点传递的针对各个算力应用使用的算力资源更新的相关消息,从而导致边缘路由节点面临大量的信息需要处理,从而导致了边缘路由节点处理压力较大,进而影响算力资源信息的更新效率。
本申请实施例提供了一种算力资源信息的更新方法、系统、设备、介质及程序产品,降低了边缘路由节点的处理压力,提高了算力资源信息的更新效率。
第一方面,本申请提供了一种算力资源信息的更新方法,该方法包括:接收算力资源的更新消息;基于算力资源的更新消息,更新多个算力应用对应的多条算力资源信息,多个算力应用使用算力资源进行数据处理,多条算力资源信息分别用于在算力网络中调度多个算力应用的数据包。
可以理解的是,通过向网络分发针对每个算力资源的更新消息,代替针对每个算力应用使用的算力资源的更新信息,避免出现使用同一算力资源的不同算力应用在感知到该算力资源发生变化后,不同的算力应用分别向边缘路由节点分发该算力资源的状态变化的情况,使得同一算力资源在发生变化后仅向入口边缘路由节点分发一个状态变化的事件,从而避免了入口边缘路由节点重复处理同一算力资源的状态变化事件,所导致的边缘路由节点压力过大的问题,减轻了边缘路由节点的处理负担,同时也保证了网络中同时运行更多算力应用的路由环境。
在一种可能的实现方式中,更新消息为边界网关协议BGP消息、内部网关协议IGP消息或受限制的应用程序协议COAP消息。
可以理解的是,更新消息是按照路由协议传输的消息。
在一种可能的实现方式中,更新消息包含算力资源的标识或者多个算力应用所属的业务组的标识。
可以理解的是,更新消息中通过包含算力资源的标识或者多个算力应用所属的业务组的标识,便于使得边缘路由节点在接收到该更新消息后确定对应的算力应用。
在一种可能的实现方式中,更新消息中的网络层可达信息NLRI包括多个算力应用中的任意一个或多个对应的应用标识。
在一种可能的实现方式中,更新消息中的网络层可达信息NLRI用于指示指定的应用标识,指定的应用标识对应多个算力应用。
在一种可能的实现方式中,更新消息中的path attribute路径属性包括第一属性单元,第一属性单元是包括算力资源的标识或者多个算力应用所属的业务组的标识的三元组TLV。
在一种可能的实现方式中,更新消息中的网络层可达信息NLRI包括算力资源的标识或者多个算力应用所属的业务组的标识。
在一种可能的实现方式中,更新消息中的path attribute路径属性包括算力资源的算力资源信息。
在一种可能的实现方式中,更新消息中还包括算力资源所在的边缘计算节点对应的站点标识。
在一种可能的实现方式中,算力资源包括超算资源、通用计算资源、存储资源或者能源资源。
在一种可能的实现方式中,算力资源的更新消息包括算力资源的总量、可用的算力资源占算力资源的总量的百分比或者算力资源的优先级数值。
在一种可能的实现方式中,接收算力资源的更新消息,包括:
接收从边缘计算节点发送的算力资源的更新消息,边缘计算节点包括算力网络中提供算力资源的节点。
在一种可能的实现方式中,基于算力资源的更新消息,更新多个算力应用对应的多条算力资源信息,包括:基于算力资源的更新消息,确定使用算力资源进行数据处理的多个算力应用;更新多个算力应用对应的多条算力资源信息。
在一种可能的实现方式中,方法还包括:响应于接收到第一算力应用的数据包,根据更新后的第一算力应用对应的算力资源信息,将数据包向目标边缘计算节点传输,第一算力应用是多个算力应用中的任意一个;其中,目标边缘计算节点是更新后的算力资源信息指示的第一算力应用对应的算力资源所在的边缘计算节点。
在一种可能的实现方式中,更新消息是边缘计算节点或出口边缘路由节点发送的;其中,出口边缘路由节点是路由传输隧道在靠近边缘计算节点侧的边缘路由节点,路由传输隧道用于连接出口边缘路由节点与入口边缘路由节点;入口边缘路由节点用于接收算力资源的更新消息,还用于基于算力资源的更新消息,更新多个算力应用对应的所述多条算力资源信息。
第二方面,本申请提供了一种算力资源信息的更新方法,该方法包括:确定算力资源的资源更新信息;算力资源的资源更新信息对应使用算力资源进行数据处理的多个算力应用;向边缘路由节点传输算力资源的资源更新信息,以使得边缘路由节点根据算力资源的资源更新信息更新多个算力应用对应的多条算力资源信息,多个算力应用使用算力资源进行数据处理,多条算力资源信息用于在算力网络中调度多个算力应用的数据包。
可以理解的是,通过向网络分发针对每个算力资源的更新消息,代替针对每个算力应用使用的算力资源的更新信息,避免出现使用同一算力资源的不同算力应用在感知到该算力资源发生变化后,不同的算力应用分别向边缘路由节点分发该算力资源的状态变化的情况,使得同一算力资源在发生变化后仅向入口边缘路由节点分发一个状态变化的事件,从而避免了入口边缘路由节点重复处理同一算力资源的状态变化事件,所导致的边缘路由节点压力过大的问题,减轻了边缘路由节点的处理负担,同时也保证了网络中同时运行更多算力应用的路由环境。
在一种可能的实现方式中,方法由算力资源所在的边缘计算节点执行,向边缘路由节点传输算力资源的资源更新信息,以使得边缘路由节点根据算力资源的资源更新信息更新多个算力应用对应的多条算力资源信息,包括:向出口边缘路由节点传输算力资源的资源更新信息,以使得出口边缘路由节点根据资源更新信息生成算力资源的更新消息。
在一种可能的实现方式中,方法由出口边缘路由节点执行,向边缘路由节点传输算力资源的资源更新信息,以使得边缘路由节点根据算力资源的资源更新信息更新多个算力应用对应的多条算力资源信息,包括:向入口边缘路由节点发送包括资源更新信息的更新消息,以使得入口边缘路由节点根据更新消息更新多个算力应用对应的多条算力资源信息。
在一种可能的实现方式中,更新消息为边界网关协议BGP消息、内部网关协议IGP消息或受限制的应用程序协议COAP消息。
在一种可能的实现方式中,更新消息包含算力资源的标识或者多个算力应用所属的业务组的标识。
在一种可能的实现方式中,更新消息中的网络层可达信息NLRI包括多个算力应用中的任意一个或多个对应的应用标识。
在一种可能的实现方式中,更新消息中的网络层可达信息NLRI用于指示指定的应用标识,指定的应用标识对应多个算力应用。
在一种可能的实现方式中,更新消息中的path attribute路径属性包括第一属性单元,第一属性单元是包括算力资源的标识或者多个算力应用所属的业务组的标识的三元组TLV。
在一种可能的实现方式中,更新消息中的网络层可达信息NLRI包括算力资源的标识或者多个算力应用所属的业务组的标识。
在一种可能的实现方式中,更新消息中还包括算力资源所在的边缘计算节点的站点标识。
在一种可能的实现方式中,算力资源包括超算资源、通用计算资源、存储资源或者能源资源。
在一种可能的实现方式中,算力资源的资源更新信息包括算力资源的总量、可用的算力资源占算力资源的总量的百分比或者算力资源的优先级数值。
第三方面,本申请实施例提供了一种算力资源信息的更新装置,该算力资源信息的更新装置用于执行上述第一方面提供的任意一种算力资源信息的更新方法。
在一种可能的实现方式中,本申请实施例可以根据上述第一方面提供的方法,对该算力资源信息的更新装置进行功能模块的划分。例如,可以对应各个功能划分各个功能模块,也可以将两个或两个以上的功能集成在一个处理模块中。示例性的,本申请实施例可以按照功能将该算力资源信息的更新装置划分为接收模块以及更新模块等。上述划分的各个功能模块执行的可能的技术方案和有益效果的描述均可以参考上述第一方面或其相应的可能的实现方式提供的技术方案,此处不再赘述。
第四方面,本申请实施例提供了一种算力资源信息的更新装置,该算力资源信息的更新装置用于执行上述第二方面提供的任意一种算力资源信息的更新方法。
在一种可能的实现方式中,本申请实施例可以根据上述第二方面提供的方法,对该算力资源信息的更新装置进行功能模块的划分。例如,可以对应各个功能划分各个功能模块,也可以将两个或两个以上的功能集成在一个处理模块中。示例性的,本申请实施例可以按照功能将该算力资源信息的更新装置划分为确定模块以及发送模块等。上述划分的各个功能模块执行的可能的技术方案和有益效果的描述均可以参考上述第二方面或其相应的可能的实现方式提供的技术方案,此处不再赘述。
第五方面,提供一种算力网络系统,该算力网络系统包括入口边缘路由节点、出口边缘路由节点以及边缘计算节点,该算力网络系统执行如上述方面所述的算力资源信息的更新方法。
第六方面,提供一种算力网络系统,该算力网络系统包括入口边缘路由节点以及出口边缘路由节点,该算力网络系统执行如上述方面所述的算力资源信息的更新方法。
第七方面,提供一种网络设备,网络设备包括处理器和存储器,网络设备的处理器用于执行网络设备的存储器中存储的指令,以使得网络设备执行如上述方面所述的算力资源信息的更新方法。
第八方面,本申请实施例提供了一种计算设备,计算设备包含处理器和存储器,处理器与存储器耦合;该存储器用于存储计算机指令,该计算机指令由处理器加载并执行以使计算设备实现如上述方面所述的算力资源信息的更新方法。
第九方面,本申请实施例提供了一种计算机可读存储介质,该计算机可读存储介质中存储有至少一条计算机程序指令,所述计算机程序指令由处理器加载并执行以实现如上述方面所述的算力资源信息的更新方法。
第十方面,本申请实施例提供了一种计算机程序产品,该计算机程序产品包括计算机指令,该计算机指令存储在计算机可读存储介质中。计算设备的处理器从计算机可读存储介质读取该计算机指令,处理器执行该计算机指令,使得该计算设备集群执行上述方面中提供的算力资源信息的更新方法。
本申请中第三方面到第十方面及其各种实现方式的具体描述,可以参考第一方面及其各种实现方式,以及第二方面及其各种实现方式中的详细描述;并且,第三方面到第十方面及其各种实现方式的有益效果,可以参考第一方面及其各种实现方式以及第二方面及其各种实现方式中的有益效果分析,此处不再赘述。
本申请的这些方面或其他方面在以下的描述中会更加简明易懂。
图1是根据一示例性实施例示出的一种算力资源信息的更新场景示意图;
图2是根据一示例性实施例示出的一种部署了边缘云的承载网网络在进行算力资源更新的场景示意图;
图3是根据一示例性实施例示出的一种算力资源信息的更新系统的架构示意图;
图4是根据一示例性实施例示出的一种边缘路由节点的硬件架构示意图;
图5是根据一示例性实施例示出的另一种边缘路由节点的硬件架构示意图;
图6是根据一示例性实施例示出的一种计算设备的硬件架构示意图;
图7是根据一示例性实施例示出的一种算力资源信息的更新方法的流程示意图;
图8是根据一示例性实施例示出的一种算力资源信息的更新方法的流程示意图;
图9是根据一示例性实施例示出的一种算力资源信息的更新方法的流程示意图;
图10是图9所示实施例涉及的一种更新消息传输示意图;
图11是图9所示实施例涉及的一种更新消息中资源状态相关的TLV报文格式示意图;
图12是图9所示实施例涉及的另一种更新消息中资源状态相关的TLV报文格式示意图;
图13是图9所示实施例涉及的一种携带算力资源所属的计算节点ID的TLV报文格式示意图;
图14是图9所示实施例涉及的一种NLRI的格式示意图;
图15是图9所示实施例涉及的另一种NLRI的格式示意图;
图16是根据一示例性实施例示出的一种算力资源信息的更新方法的流程示意图;
图17示出了本申请一个示例性实施例提供的算力资源信息的更新装置500的结构示意图;
图18示出了本申请一个示例性实施例提供的算力资源信息的更新装置600的结构示意图。
为使本申请的目的、技术方案和优点更加清楚,下面将结合附图对本申请实施方式作进一步地详细描述。在本文中提及的“多个”是指两个或两个以上。“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。字符“/”一般表示前后关联对象是一种“或”的关系。
并且,在本申请的描述中,除非另有说明,“多个”是指两个或多于两个。“以下至少一项(个)”或其类似表达,是指的这些项中的任意组合,包括单项(个)或复数项(个)的任意组合。例如,a,b,或c中的至少一项(个),可以表示:a,b,c,a-b,a-c,b-c,或a-b-c,其中a,b,c可以是单个,也可以是多个。
另外,为了便于清楚描述本申请实施例的技术方案,在本申请的实施例中,采用了“第一”、“第二”等字样对功能和作用基本相同的相同项或相似项进行区分。本领域技术人员可以理解“第一”、“第二”等字样并不对数量和执行次序进行限定,并且“第一”、“第二”等字样也并不限定一定不同。同时,在本申请实施例中,“示例性的”或者“例如”等词用于表示作例子、例证或说明。本申请实施例中被描述为“示例性的”或者“例如”的任何实施例或设计方案不应被解释为比其它实施例或设计方案更优选或更具优势。确切而言,使用“示例性的”或者“例如”等词旨在以具体方式呈现相关概念,便于理解。
首先,对本申请实施例的应用场景进行示例性的介绍。
在承载网网络中,可以部署有边缘云。边缘云可以是分布在网络边缘侧提供算力资源的小规模云数据中心。承载网网络中包括可以提供算力资源的边缘云站点,其中,每个边缘云站点中可以部署有一个或多个边缘计算节点,边缘计算节点可以进行边缘计算(mobile edge computing,MEC),通过算力网络可以感知各个边缘计算节点上算力资源的状态,并且将算力资源的状态在网络中传递,使得在算力过程中可以结合网络和算力共同的信息计算出最佳路由路径。当前,控制面分发算力资源的状态的方式可以包括分布式、集中式和混合式。其中,在集中式算力网络中,控制面可以按照算力应用需求,结合全网的算力资源信息和网络状态编排转发路径。在分布式算力网络中,各节点需通过分布式路由协议对算力资源、网络状态和路由进行泛洪通告,进而分布式算力网络中的路由设备可以基于学习到的全网的算力资源情况计算转发路径。混合式算力网络的实现方式是集中式算力网络和分布式算力网络实现方式的结合。常用的分发方式为分布式,分布式是采用分布式协议分发算力资源的状态信息的方式,比如,分布式协议可以采用BGP协议,当采用BGP协议进行算力资源的状态信息的路由分发时,可以针对每一个算力应用进行分发,也就是说,可以将算力应用的IP地址或者前缀Prefix作为算力应用对应的键(key),在路径属性(path attribute)部分增加算力资源相关的信息(算力资源信息)来传递算力资源的状态。
由于针对算力应用进行算力资源的状态分发时,每个算力应用在感知到各自使用的算力资源发生变化后,均会导致网络中分发对应的路由更新,这就导致了网络中的边缘路由节点会接收到来自每个算力状态发生变化的算力应用所引起的路由更新信息,从而导致边缘路由节点面临大量的信息需要处理,在增加了边缘路由节点处理压力的同时,也可能会出现边缘路由节点由于处理更新不及时导致的次优路由、邻居中断、业务中断等问题。
为了解决上述技术问题,可以通过向网络分发针对每个算力资源的状态信息,代替针对每个算力应用使用的算力的状态信息,避免出现使用同一算力资源的不同算力应用,在感知到算力资源发生变化后,不同的算力应用分别向边缘路由节点分发同一算力资源的状态变化的情况,使得同一算力资源在发生变化后仅向边缘路由节点分发一个状态变化的事件,从而避免了边缘路由节点重复处理同一算力资源的状态变化事件,所导致的边缘路由节点压力过大的问题,减轻了边缘路由节点的处理负担,同时也保证了网络中同时运行更多算力应用的路由环境。
有鉴于此,本申请实施例提供一种算力资源信息的更新方法,边缘路由节点可以接收到针对算力资源的更新消息,并且按照算力资源的更新消息更新使用该算力资源的多个算力应用对应的算力资源信息,从而实现按照多个算力资源信息在算力网络中调度多个算力应用的数据包。从而保证了算力网络中路由业务的运行效率。
示例性的,图1是本申请实施例提供的一种算力资源信息的更新场景示意图。在需要算力资源信息的更新的场景下,比如,承载网网络中,可以包括用户侧终端、边缘路由节点11、边缘云12以及云端数据中心。
如图1所示,在接近用户侧终端一侧部署有多个边缘云12(比如,包括边缘云站点、以及站点中部署的边缘计算节点),边缘云12中提供了相应的算力应用。用户可以通过承载网中的边缘路由节点11接入某些边缘云12,使用云上的算力应用。
算力路由可以包括算力网络中算力资源的状态变动情况,算力路由的发布可以选择BGP或者IGP等路由协议来发布。算力路由的发布由靠近算力资源的网络节点执行,发送到靠近用户侧的网络节点。其中,算力资源可以在数据中心中,比如,算力资源可以在数据中心中的边缘计算节点上。
其中,靠近算力资源的网络节点也可以称为出口边缘路由节点,靠近用户侧的网络节点也可以称为入口边缘路由节点。网络中的各个边缘路由节点会使用网络隧道技术进行封装。隧道的入口边缘路由节点(Ingress节点)又可以称为接入侧的网络节点,隧道的出口边缘路由节点(Egress节点)又可以称为计算侧的网络节点。隧道技术可以选择多种,比如,SR-MPLS或SRv6隧道。
其中,入口边缘路由节点可以根据网络状态和算力资源的状态结合起来计算出最佳的路径。用户流量转发到入口边缘路由节点时,入口边缘路由节点根据计算得到的最佳的路径将用户流量转发到指定的边缘计算节点。
当前,算力网络中的管控平面可获取到网络和边缘云站点的信息,以便于支持集中式,混合式等算力网络。针对分布式算力网络,使用算力资源的相关算力应用会将自己的算力信息分发给网络中的Egress节点。然后Egress节点将这个算力信息分发到用户侧的Ingress节点。Ingress节点基于网络和算力的多方面信息,选出最佳的站点。当用户的流量进入Ingress节点时,就可以转发向最优的站点。
当前,当一个边缘云12中存在N个算力应用时,每一个算力应用都会按照自己的频率,将携带更新的算力状态的消息发布到网络中。当算力应用的数目足够大时,网络中就充斥着不断分发的携带更新的算力状态的消息,最终消耗掉边缘路由节点的处理能力。为了解决当前的技术问题,相比当前面向算力应用发布携带更新的算力状态的消息的方式,面向算力资源发布的携带更新的算力状态的消息,可以在该算力资源发生状态变化时,仅发布一条携带更新的算力状态的消息。而在ingress节点上,仅需订阅该算力资源变化事件,即可实现基于网络和算力资源状态的协同调度。
也就是说,通过聚合路由的方式,将原来使用相同算力资源的N个路由聚合成了一条。这里的路由可以指示算力资源更新后的算力状态。因此使用同种算力资源的算力应用数目越多,路由条目减少的效果越明显。使用同种算力资源也可以称为共享同一算力资源的应用,共享同一算力资源的应用可以被称为一组业务。
具体的,图2是本申请实施例提供的一种部署了边缘云的承载网网络在进行算力资源更新的场景示意图。如图2所示,在承载网网络中包括用户侧终端(比如,计算机设备、智能车)、城域网中的边缘路由节点(比如,算力路由器)、边缘计算(mobile edge computing,MEC)节点,云骨干中的边缘设备(provider edge,PE),以及中心云侧的云端设备。网络中包括具有计算能力的协调器、算力资源管理平台以及网络管理信息平台,通过具有计算能力的协调器、算力资源管理平台以及网络管理信息平台可以收集算力资源相关的信息(S11),边缘计算节点中运行的算力应用(application,APP)使用的算力资源发生更新后,边缘计算节点可以向算力网络中传输算力资源发生更新情况的报文信息(S12),出口边缘路由节点接收到网络中的算力资源发生更新情况的报文信息后可以将该报文信息向入口边缘路由节点发送(S13),入口边缘路由节点通过使用网络和计算资源对算力资源的更新情况进行度量来得到最佳的路由结果,从而确定算力资源更新后该算力应用运行传输的数据包后续使用哪个算力资源进行处理。
以下,对本申请实施例的系统架构进行示例性介绍。
图3是本申请实施例提供的一种算力资源信息的更新系统的架构示意图。如图3所示,算力资源信息的更新系统中包括多条网络隧道,每条网络隧道包括用户侧的入口边缘路由节点、计算侧的出口边缘路由节点,还可以包括中间连接的路由节点,也就是说,同一个边缘路由节点在不同的网络隧道中,可以是入口边缘路由节点,也可以是出口边缘路由节点,或者还可以是中间连接的路由节点。算力资源信息的更新系统中还包括多个边缘计算节点,MEC节点可以运行算力应用,并且MEC节点中还可以包括算力感知模块。比如,MEC节点1运行有算力应用APP1以及算力应用APP2,MEC节点2运行有算力应用APP1以及算力应用APP3,MEC节点3运行有算力应用APP1以及算力应用APP2。若MEC节点1通过算力感知模块确定APP1以及APP2使用的算力资源发生更新,MEC节点2通过算力感知模块确定APP1使用的算力资源发生更新,MEC节点3通过算力感知模块确定APP1以及APP2使用的算力资源发生更新。
在一种可能的情况下,MEC节点1、MEC节点2以及MEC节点3分别向计算侧的出口边缘路由节点发送资源更新信息,该资源更新信息可以包括发生更新的算力资源的标识以及更新后的算力资源信息,出口边缘路由节点将同一算力资源标识对应的算力资源信息进行整合生成算力资源对应的更新消息,并向入口边缘路由节点传递算力资源对应的更新消息。
也就是说,出口边缘路由节点可以接收到多个MEC节点发送的各自运行的算力应用使用的算力资源的资源更新信息,由出口边缘路由节点对多个信息进行整合后确定每个算力资源对应的更新消息。从而可以使得在边缘路由节点之间传输的更新消息数量减少,降低了入口边缘路由节点对更新消息的处理负担。
在另一种可能的情况下,MEC节点1向计算侧的出口边缘路由节点发送资源更新信息,该资源更新信息可以包括APP1使用的发生更新的算力资源的标识、APP2使用的发生更新的算力资源的标识以及更新后的算力资源信息,出口边缘路由节点将按照算力资源标识生成算力资源各自对应的更新消息,并向入口边缘路由节点传递算力资源对应的更新消息。
也就是说,运行相同的算力应用或者运行使用相同算力资源的算力应用的多个MEC节点中的一个MEC节点向出口边缘路由节点发送资源更新信息,由出口边缘路由节点按照资源更新信息确定每个算力资源对应的更新消息。从而可以使得在边缘路由节点之间传输的更新消息数量减少,降低了入口边缘路由节点对更新消息的处理负担。比如,由于MEC节点1中运行APP1以及APP2,MEC节点2中运行APP1,MEC节点3中运行APP1以及APP2,所以在APP1以及APP2使用的算力资源发生更新时,可以仅由MEC节点1向出口边缘路由节点22发送APP1以及APP2使用的算力资源对应的资源更新信息。
图4是本申请实施例提供的一种边缘路由节点的硬件架构示意图。如图4所示,边缘路由节点11中可以包括主控板以及接口板。主控板中包括第一处理器以及第一存储器,第一处理器可以用于调用第一存储器中的程序指令执行按照算力资源信息计算路径的相关内容。接口板中包括第二处理器、第二存储器以及接口卡。接口板的第二处理器用于调用接口板的第二存储器中的程序指令执行报文(比如,更新消息)的接收和发送。接口卡用于传输报文。
另外,图5是本申请实施例提供的另一种边缘路由节点的硬件架构示意图。如图5所示,收发器可以用于接收报文或数据信息等,存储器可以用于存储程序指令,处理器可以用于执行本申请实施例中边缘路由节点处理的相关步骤,如路径计算等。
可选的,边缘路由节点11可以是网络设备,比如,路由器或者交换机设备。
另外,边缘计算节点可以是计算设备,边缘计算节点可以进行MEC,比如,边缘计算节点可以包括服务器,服务器可以是边缘服务器。或者边缘计算节点还可以是虚拟节点,比如虚拟机等。
比如,图6是本申请实施例提供的一种计算设备的硬件架构示意图。如图6所示,该计算设备30至少包括:存储器31、处理器32以及总线33。该计算设备30可以是上述图1中边缘云12中的边缘计算节点,还可以是图3中的MEC节点。
其中,存储器31可以用于存储本申请实施例提供的算力资源信息的更新方法对应的逻辑代码,或者说,存储器31可以存储有下述实施例中描述的计算设备30执行某个步骤对应的逻辑代码。
处理器32可以用于运行MEC确定算力资源的资源更新信息。
可选地,计算设备30可以为可以是终端设备或服务器,其中,终端设备可以包括计算机、手机终端、平板电脑、笔记本电脑、台式计算机、一体机、增强现实(augmented reality,AR)设备、虚拟现实(virtual reality,VR)设备、混合现实(Mixed Reality,MR)设备、扩展现实(Extended Reality,ER)设备、个人数字助理(personal digital assistant,PDA)、超级移动个人计算机(ultra-mobile personal computer,UMPC)等,终端设备还可以包括边缘计算设备(例如,携带具有处理能力芯片的盒子)等。服务器可以包括边缘服务器等。
可选地,存储器31可以包括随机存取存储器(random access memory,RAM)、只读存储器(read-only memory,ROM)等。
可选地,处理器32可以为中央处理器(central processing unit,CPU)或其他通用处理器、应用型专用集成电路(application-specific integrated circuit,ASIC)、现场可编程逻辑门阵列(field programmable gate array,FPGA)、数字信号处理器(digital signal processing,DSP)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。其中,通用处理器可以是微处理器或者是任何常规的处理器等。
可选地,总线33可以为外设部件互连标准(peripheral component interconnect,PCI)总线或者为高速外设部件互连标准(peripheral component interconnect express,PCIe)总线等。为便于表示,图6中仅用一条线表示,但并不表示仅有一根总线或一种类型的总线。总线33可包括在计算设备30各个部件(例如,存储器31、处理器32)之间传送信息的通路。
需要说明的,本申请实施例描述的应用场景以及系统架构是为了更加清楚的说明本申请实施例的技术方案,并不构成对于本申请实施例提供的技术方案的限定,本领域普通技术人员可知,随着系统架构的演变和新业务场景的出现,本申请实施例提供的技术方案对于类似的技术问题,同样适用。
为了便于理解,以下结合附图对本申请提供的算力资源信息的更新方法进行示例性介绍,该算力资源信息的更新方法适用于图4或图5所示的边缘路由节点。
图7是本申请实施例提供的一种算力资源信息的更新方法的流程示意图。该算力资源信息的更新方法可以由边缘路由节点执行,比如,边缘路由节点可以是图1、图4、图5中的边缘路由节点11或者图3中的入口边缘路由节点,该算力资源信息的更新方法包括如下步骤:
S201,边缘路由节点接收算力资源的更新消息。
在本申请实施例中,边缘路由节点中的入口边缘路由节点可以接收算力资源的更新消息。
在一种可能的实现方式中,入口边缘路由节点可以接收从边缘计算节点发送的算力资源的更新消息,边缘计算节点包括算力网络中提供算力资源的节点。
也就是说,边缘计算节点上运行的算力应用使用的算力资源发生变化之后,边缘计算节点可以将算力资源的更新消息发送到入口边缘路由节点。
其中,更新消息可以为边界网关协议(border gateway protocol,BGP)消息、内部网关协议(interior gateway protocol,IGP)消息或受限制的应用程序协议(constrained application protocol,COAP)消息。
在一种可能的实现方式中,更新消息可以包含算力资源的标识或者多个算力应用所属的业务组的标识。
也就是说,由于入口边缘路由节点接收到的更新消息中包括算力资源的标识或者多个算力应用所属的业务组的标识,所以入口边缘路由节点可以通过同一个算力资源标识或者同一个业务组的标识的更新消息确定对应的多个算力应用,从而使得入口边缘路由节点可以在接收到一个算力资源对应的更新消息时,对使用该算力资源的多个算力应用后续的路由情况进行计算。
在一种可能的实现方式中,更新消息中的网络层可达信息NLRI可以包括多个算力应用中的任意一个或多个对应的应用标识;更新消息中的path attribute路径属性可以包括第一属性单元,第一属性单元是包括算力资源的标识或者多个算力应用所属的业务组的标识的三元组TLV;更新消息中的path attribute路径属性可以包括算力资源的算力资源信息。更新消息中还可以包括算力资源所在的边缘计算节点的站点标识。
或者,更新消息中的网络层可达信息NLRI用于指示指定的应用标识,指定的应用标识对应多个算力应用;更新消息中的path attribute路径属性包括第一属性单元,第一属性单元是包括算力资源的标识或者多个算力应用所属的业务组的标识的三元组TLV;更新消息中的path attribute路径属性可以包括算力资源的算力资源信息。更新消息中还可以包括算力资源所在的边缘计算节点的站点标识。
或者,更新消息中的网络层可达信息NLRI可以包括算力资源的标识或者多个算力应用所属的业务组的标识;更新消息中的path attribute路径属性可以包括算力资源的算力资源信息。更新消息中还可以包括算力资源所在的边缘计算节点的站点标识。
其中,算力资源可以包括超算资源、通用计算资源、存储资源或者能源资源。算力资源的更新消息可以包括算力资源的总量、可用的算力资源占算力资源的总量的百分比或者算力资源的优先级数值。
在一种可能的实现方式中,更新消息可以是边缘计算节点经过出口边缘路由节点发送到入口边缘路由节点的。其中,出口边缘路由节点是路由传输隧道在靠近边缘计算节点侧的边缘路由节点,路由传输隧道用于连接出口边缘路由节点与入口边缘路由节点;入口边缘路由节点用于接收算力资源的更新消息,还用于基于算力资源的更新消息,更新多个算力应用对应的多条算力资源信息。
S202,边缘路由节点基于算力资源的更新消息,更新多个算力应用对应的多条算力资源信息。
在一种可能的实现方式中,入口边缘路由节点基于算力资源的更新消息,确定使用算力资源进行数据处理的多个算力应用;更新多个算力应用对应的多条算力资源信息。
在一种可能的实现方式中,响应于入口边缘路由节点接收到第一算力应用的数据包,根据更新后的第一算力应用对应的算力资源信息,将数据包向目标边缘计算节点传输,第一算力应用可以是多个算力应用中的任意一个。其中,目标边缘计算节点可以是更新后的算力资源信息指示的第一算力应用对应的算力资源所在的边缘计算节点。
也就是说,入口边缘路由节点中存储有多个算力应用使用的算力资源的算力资源信息,在入口边缘路由节点接收到更新消息后,可以将该更新消息指示的使用同一算力资源的多个算力应用对应的算力资源信息按照更新消息中携带的算力资源信息进行更新,在后续入口边缘路由节点接收到多个算力应用中的任一算力应用的数据包时,可以按照更新后的该算力应用对应的算力资源信息确定后续数据包的路由,将数据包按照确定的路由向路由指示的目标边缘计算节点进行传输。
综上所述,入口边缘路由节点通过接收到针对算力资源的更新消息,并且按照算力资源的更新消息更新使用该算力资源的多个算力应用对应的算力资源信息,从而避免了多个算力应用各自所在的边缘计算节点在感知到使用的算力资源发生更新后针对每个算力应用向入口边缘路由节点发送更新的相关信息,所导致的路由网络中负载较大的问题,从而提高了路由业务的运行效率。
图8是本申请实施例提供的一种算力资源信息的更新方法的流程示意图。该算力资源信息的更新方法可以由出口边缘路由节点或者边缘计算节点执行,比如,出口边缘路由节点可以是图1、图4、图5中的边缘路由节点11中的出口边缘路由节点、图3中的出口边缘路由节点、边缘计算节点可以是图1中的边缘云12中的边缘计算节点、图6中的计算设备30,该算力资源信息的更新方法包括如下步骤:
S301,确定算力资源的资源更新信息。
在本申请实施例中,边缘计算节点或者出口边缘路由节点可以确定算力资源的资源更新信息,该资源更新信息可以对应使用算力资源进行数据处理的多个算力应用。
在一种可能的情况下,若是边缘计算节点确定的算力资源的资源更新信息,边缘计算节点确定的算力资源的资源更新信息是将多个算力应用感知到的算力资源发生更新的相关信息合并后得到的算力资源的资源更新信息。
也就是说,边缘计算节点在感知到运行的多个算力应用使用的该算力资源发生更新后,边缘计算节点可以对多条该算力资源发生更新的相关信息合并后确定一条算力资源的资源更新信息。
在一种可能的情况下,若是出口边缘路由节点确定的算力资源的资源更新信息,出口边缘路由节点确定的算力资源的资源更新信息是将多个算力应用感知到的算力资源发生更新的相关信息合并后得到的算力资源的资源更新信息。
也就是说,边缘计算节点在感知到运行的多个算力应用使用的该算力资源发生更新后,边缘计算节点向出口边缘路由节点发送多条算力资源发生更新的相关信息,然后出口边缘路由节点对多条算力资源发生更新的相关信息进行合并后确定一条算力资源的资源更新信息。
S302,向边缘路由节点传输算力资源的资源更新信息,以使得边缘路由节点根据算力资源的资源更新信息更新多个算力应用对应的多条算力资源信息。
其中,多个算力应用使用算力资源进行数据处理,多条算力资源信息用于在算力网络中调度多个算力应用的数据包。
在一种可能的实现方式中,若该算力资源信息的更新方法由边缘计算节点执行,边缘计算节点可以向出口边缘路由节点传输算力资源的资源更新信息,以使得出口边缘路由节点根据资源更新信息生成算力资源的更新消息。
在另一种可能的实现方式中,若该算力资源信息的更新方法由出口边缘路由节点执行,出口边缘路由节点向入口边缘路由节点发送包括资源更新信息的更新消息,以使得入口边缘路由节点根据更新消息更新多个算力应用对应的多条算力资源信息。
由于上述两种可能的实现方式中,出口边缘路由节点向入口边缘路由节点发送的更新消息均是针对算力资源的更新消息,所以不存在传输负担较大的问题,同时入口边缘路由节点可以根据该更新消息更新多个算力应用对应的算力资源信息,从而提高了路由业务的效率。
其中,更新消息可以为边界网关协议(border gateway protocol,BGP)消息、内部网关协议(interior gateway protocol,IGP)消息或受限制的应用程序协议(constrained application protocol,COAP)消息。
在一种可能的实现方式中,更新消息可以包含算力资源的标识或者多个算力应用所属的业务组的标识。
也就是说,由于入口边缘路由节点接收到的更新消息中包括算力资源的标识或者多个算力应用所属的业务组的标识,所以入口边缘路由节点可以通过同一个算力资源标识或者同一个业务组的标识的更新消息确定对应的多个算力应用,从而使得入口边缘路由节点可以在接收到一个算力资源对应的更新消息时,对使用该算力资源的多个算力应用后续的路由情况进行计算。
在一种可能的实现方式中,更新消息中的网络层可达信息NLRI可以包括多个算力应用中的任意一个或多个对应的应用标识;更新消息中的path attribute路径属性可以包括第一属性单元,第一属性单元是包括算力资源的标识或者多个算力应用所属的业务组的标识的三元组TLV;更新消息中的path attribute路径属性可以包括算力资源的算力资源信息。更新消息中还可以包括算力资源所在的边缘计算节点的站点标识。
或者,更新消息中的网络层可达信息NLRI用于指示指定的应用标识,指定的应用标识对应多个算力应用;更新消息中的path attribute路径属性包括第一属性单元,第一属性单元是包括算力资源的标识或者多个算力应用所属的业务组的标识的三元组TLV;更新消息中的path attribute路径属性可以包括算力资源的算力资源信息。更新消息中还可以包括算力资源所在的边缘计算节点的站点标识。
或者,更新消息中的网络层可达信息NLRI可以包括算力资源的标识或者多个算力应用所属的业务组的标识;更新消息中的path attribute路径属性可以包括算力资源的算力资源信息。更新消息中还可以包括算力资源所在的边缘计算节点的站点标识。
其中,算力资源可以包括超算资源、通用计算资源、存储资源或者能源资源。算力资源的更新消息可以包括算力资源的总量、可用的算力资源占算力资源的总量的百分比或者算力资源的优先级数值。
综上所述,入口边缘路由节点通过接收到针对算力资源的更新消息,并且按照算力资源的更新消息更新使用该算力资源的多个算力应用对应的算力资源信息,从而避免了多个算力应用各自所在的边缘计算节点在感知到使用的算力资源发生更新后针对每个算力应用向入口边缘路由节点发送更新的相关信息,所导致的路由网络中负载较大的问题,从而提高了路由业务的运行效率。
在一种情况下,若MEC节点在确定算力资源发生更新后,将算力资源更新的相关信息合并生成该算力资源对应的一条算力资源信息向出口边缘路由节点发送,图9是本申请实施例提供的一种算力资源信息的更新方法的流程示意图。该算力资源信息的更新方法可以由边缘路由节点与边缘计算节点交互执行,比如,边缘路由节点可以是图1、图4、图5中的边缘路由节点11、图3中的入口边缘路由节点以及出口边缘路由节点,边缘计算节点可以是图1中的边缘云12中的边缘计算节点、图6中的计算设备30。该算力资源信息的更新方法包括如下S101至S105:
S101,MEC节点确定算力资源的资源更新信息。
其中,算力资源的资源更新信息对应使用算力资源进行数据处理的多个算力应用。资源更新信息包括算力资源更新后算力资源的算力资源信息。
在一种可能的实现方式中,在MEC节点通过算力感知模块检测到一个或多个算力资源发生更新,将算力资源更新后的算力资源信息作为算力资源的资源更新信息。
其中,算力资源可以包括超算资源、通用计算资源、存储资源或者能源资源等。比如,超算资源可以是图形处理器(graphics processing unit,GPU)提供的计算资源;通用计算资源可以是中央处理器(central processing unit,CPU)提供的计算资源;存储资源可以是内存提供的用于数据存储的资源;能源资源可以是包括电能等的资源;算力资源还可以包括其他资源,比如,电价、或者一些抽象归一资源。
由于MEC可以周期性或者指定条件下触发检测MEC节点中的算力应用使用的算力资源是否更新,以及若更新算力资源更新后的算力资源信息,具体的,MEC节点中可以包括算力感知模块,该算力感知模块可以是一段用于检测算力资源是否更新以及更新情况的程序代码。所以,在MEC节点对算力应用使用的算力资源进行算力感知后,若MEC节点确定算力资源发生更新,可以获取算力资源的算力资源信息,确定算力资源的资源更新信息,资源更新信息可以包括发生更新的算力资源的标识以及该算力资源的算力资源信息。
其中,资源更新信息可以用于指示算力资源更新后的具体值,比如,若算力资源是存储资源内存,资源更新信息可以包括内存的总量更新后的值、可用内存占有全部内存的百分比更新后的值或者该内存的优先级更新后的等级。若算力资源是通用计算资源,对应的资源更新信息可以包括计算资源的总量更新后的值、可用的计算资源占全部计算资源的百分比更新后的值或者该计算资源的优先级更新后的等级。
在一种可能的实现方式中,MEC节点中的算力应用使用的算力资源更新时算力应用可以向算力感知模块发送算力资源的资源更新信息;或者,MEC节点中的算力感知模块可以周期性的获取算力应用使用的算力资源的值,确定算力资源是否更新,若更新确定算力资源的资源更新信息。
S102,MEC节点向出口边缘路由节点传输算力资源的资源更新信息。
在本申请实施例中,MEC节点可以向路由指向该算力资源的边缘路由节点发送资源更新信息,在一种可能的情况下,由于边缘路由节点之间通过隧道相连,每一条隧道传输的数据包是由入口边缘路由节点经过一个或多个边缘路由节点或者直接传输到出口路由节点的,MEC节点可以向出口边缘路由节点发送算力资源的资源更新信息,以使得出口边缘路由节点将根据算力资源的资源更新信息按照路由协议生成对应的更新消息,将算力资源的更新消息按照隧道中的边缘路由节点的连接顺序,向入口边缘路由节点传输更新消息。在另一种可能的情况下,MEC节点可以直接向入口边缘路由节点发送算力资源的资源更新信息,在这种情况下,入口边缘路由节点接收到的算力资源的资源更新信息也可以称为算力资源的更新消息。
在一种可能的实现方式中,MEC节点向边缘路由节点传输算力更新事件,算力更新事件包含算力资源的资源更新信息。资源更新信息中包括算力资源的标识、或者使用算力资源的多个算力应用所属的业务组的标识。
也就是说,同一个算力资源具有相同的算力资源的标识,或者具有相同的所属业务组的标识。
其中,使用相同算力资源的不同的算力应用可以属于同一业务组,也就是说属于同一业务组的算力应用所使用的算力资源的标识相同。
在一种可能的实现方式中,MEC节点向出口边缘路由节点传输算力资源的资源更新信息,以使得出口边缘路由节点根据资源更新信息生成算力资源的更新消息,通过出口边缘路由节点向入口边缘路由节点发送算力资源的更新消息,以使得入口边缘路由节点根据算力资源的更新消息更新多个算力应用对应的多条算力资源信息。
S103,出口边缘路由节点根据资源更新信息生成算力资源的更新消息。
在本申请实施例中,出口边缘路由节点可以接收到一条针对该算力资源的算力更新信息。
其中,该算力资源的更新消息可以是按照路由协议针对算力资源的算力更新信息生成的。
S104,出口边缘路由节点向入口边缘路由节点发送算力资源的更新消息。
其中,按照隧道中边缘路由节点的连接顺序,可以将算力资源的更新消息从出口边缘路由节点传输到入口边缘路由节点。
在本申请实施例中,入口边缘路由节点接收到由出口边缘路由节点发送的算力资源的更新消息。
其中,更新消息可以为BGP消息、IGP消息或COAP消息。
也就是说,在边缘路由节点之间传输的更新消息可以是基于BGP、IGP或者COAP等路由协议进行传输的消息。使用不同协议传输的更新消息中包含的内容是相同的,不同协议之间的区别是对更新消息的编码格式不同。
图10是本申请实施例涉及的一种更新消息传输示意图,如图10所示,出口边缘路由节点可以将针对同一算力资源的更新消息作为针对该算力资源的资源更新事件传输给入口边缘路由节点,该更新消息可以包括算力资源的标识或者业务组的标识:算力资源信息(resource ID or service group ID:resource value/utillzation),入口边缘路由节点接收到资源更新事件对应的更新消息后可以确定算力资源的标识或者业务组的标识与算力应用的对应关系,可以表示为算力资源的标识或者业务组的标识:算力应用的标识(resource ID or service group ID:service ID),若使用该算力资源的算力应用包括算力应用1(service ID1)、算力应用2(service ID2)、算力应用3(service ID3)、算力应用4(service ID4)直到算力应用n(service IDn),则入口边缘路由节点可以确定n个前缀(prefix),分别可以是prefix1为resource ID1 or service group ID1:service ID1;prefix2为resource ID1 or service group ID1:service ID2;prefix3为resource ID1 or service group ID1:service ID3;prefix4为resource ID1 or service group ID1:service ID4;prefix n为resource ID1 or service group ID1:service IDn。
在一种可能的实现方式中,更新消息中的网络层可达信息(network layer reachability information,NLRI)包括多个算力应用中的任意一个或多个对应的应用标识,更新消息中的路径属性(path attribute,PA)包括第一属性单元,第一属性单元是包括算力资源的标识或者多个算力应用所属的业务组的标识的三元组TLV。
也就是说,更新消息可以是包含NLRI以及PA的路由协议报文,NLRI可以携带使用发生更新的算力资源的一个或多个算力应用的标识的内容,比如,一个或多个算力资源的互联网协议地址(internet protocol,IP)。PA中可以携带发生更新的算力资源的标识或者使用该算力资源的多个算力应用所属的业务组的标识的内容,并且PA中携带的上述内容可以是以三元组TLV格式进行编写的。
示例性的,当使用的路由协议为BGP时,可以使用多个算力应用中的一个算力应用的算力路由,作为多个算力应用共享的算力资源的算力路由,该算力路由可以用于标识算力资源的更新情况。也就是通过路由协议传输的更新消息可以使用多个算力应用或者多个算力应用中的一个算力应用的标识(IP)作为报文中NLRI携带的信息,将发生更新的算力资源的标识或所属的业务组的标识作为报文中PA携带的信息,从而使得针对多个共享同一算力资源的算力应用,在共享的算力资源发生更新时,仅触发向入口边缘路由节点下发一个更新消息,就可以实现入口边缘路由节点确定多个算力应用使用的算力资源发生更新的情况,从而使得入口边缘路由节点可以对多个算力应用的路由选择进行更新。
其中,更新消息中的PA还可以包括第二属性单元,第二属性单元可以是包括算力资源所在的边缘计算节点的标识的三元组TLV。
也就是说,在向入口边缘路由节点发送的更新消息中还可以包括算力资源所在的边缘计算节点的站点标识,从而便于入口边缘路由节点在重新确定算力应用使用的算力资源后向重新确定的算力资源所在的边缘计算节点发送数据包。
示例性的,图11是本申请实施例涉及的一种更新消息中资源状态相关的TLV报文格式示意图。以TLV携带算力资源总量信息为例,如图11所示,表示资源总量的TLV中可以包括面向服务子类型字段(service-oriented cap sub-type)、长度字段(length)、预留字段(res)、度量类型(metric type,MT)字段、算力资源总量信息(so-capvalue)以及算力资源的标识或者使用该算力资源的多个算力应用所属的业务组的标识(resource ID or service group ID)。
其中,MT字段可以设置为4bit,支持16种归一化的指标。当前仅定义0值,默认类型为统一的归一化指标。算力资源总量信息,在MT=0默认值时,是一个归一化的指标,具体含义可以由具体的应用规定。BGP选路逻辑中只需要判断数值大小即可,数值越大表征算力资源越多。
图12是本申请实施例涉及的另一种更新消息中资源状态相关的TLV报文格式示意图。以TLV携带可用算力资源或算力资源的使用率为例,如图12所示,表示可用算力资源或算力资源使用率的TLV中可以包括面向服务子类型字段(service-oriented avail sub-type)、长度字段(length)、百分比标识(percentage flag,P-flag)、预留字段(res)、度量类型(metric type,MT)字段、可用算力资源或算力资源的使用率信息(so-availres)以及算力资源的标识或者使用该算力资源的多个算力应用所属的业务组的标识(resource ID or service group ID)。
其中,P-flag置位为1时,可以表示so-availres字段是百分比。MT字段可以设置为4bit,支持16种归一化的指标。当前仅定义0值,默认类型为统一的归一化指标。so-availres,当P-flag置位为1时,表示使用的量占整体资源的比率。比如,30代表可用30%的资源。当P-flag为0时,其代表可用的一定数值的资源。因此这个数值越小,说明可用的资源越少。
也就是说,按照上述的TLV格式在报文中增加了算力资源的标识或者使用该算力资源的多个算力应用所属的业务组的标识。入口边缘路由节点在接收到上述TLV报文后,可生成算力应用的标识(如IP地址或Prefix)到边缘计算节点的站点ID(SiteID):算力资源ID(ReourceID)或边缘计算节点的站点ID(SiteID):业务组ID(GroupID)的映射关系。其中,边缘计算节点的站点ID(SiteID)可由其他的TLV格式的报文携带。比如,图13是本申请实施例涉及的一种携带算力资源所属的边缘计算节点的站点ID的TLV报文格式示意图。如图13所示,当Flag-I为1时,入口路由器会忽略站点可用性百分比。当Flag I设置为0时,站点可用性百分比表示与Site-ID关联的所有路由的站点可用性百分比,例如100%、50%或0%。当站点关闭时,索引设置为0。50表示50%正常运行。当值超出0-100%范围时,将忽略此Sub-TLV中携带的值。
另外,在一种可能实现的方式中,TLV中可以增加一个标志位(flag),flag用于表示携带ResourceID或者ServiceGourpID的本条报文是用来学习关联关系还是用来更新算力资源信息。比如,flag置位时,可以表示用于学习关联关系,当flag置零时,可以用于表示刷新该共享的算力资源对应的所有的算力应用的算力资源信息。置位情况反之也是可以实现的,也就是flag置零时表示学习关联关系,而置位时可以表示刷新该共享的算力资源对应的所有的算力应用的算力资源信息。
在一种可能的实现方式中,更新消息中的网络层可达信息NLRI用于指示指定的应用标识,更新消息中的path attribute路径属性包括第一属性单元,第一属性单元是包括算力资源的标识或者多个算力应用所属的业务组的标识的三元组TLV。
也就是说,更新消息可以是包含NLRI以及PA的路由协议报文,NLRI可以携带指定的应用标识的内容,比如,指定的互联网协议地址(internet protocol,IP),例如,全0的IP地址、全1的IP地址或者其他指定的特殊IP。PA中可以携带发生更新的算力资源的标识或者使用该算力资源的多个算力应用所属的业务组的标识的内容,并且PA中携带的上述内容可以是以三元组TLV格式进行编写的。
示例性的,当使用的路由协议为BGP时,可以使用特殊数值的IP用于表征该路由是对算力资源或者业务组的更新消息。也就是通过路由协议传输的更新消息可以使用指定应用标识(特殊数值的IP)作为报文中NLRI携带的信息,将发生更新的算力资源的标识或所属的业务组的标识作为报文中PA携带的信息,从而使得针对多个共享同一算力资源的算力应用,在共享的算力资源发生更新时,仅触发向入口边缘路由节点下发一个更新消息,就可以实现入口边缘路由节点确定多个算力应用使用的算力资源发生更新的情况,从而使得入口边缘路由节点可以对多个算力应用的路由选择进行更新。
其中,更新消息中的PA还可以包括第二属性单元,第二属性单元可以是包括算力资源所在的边缘计算节点的站点标识的三元组TLV。
也就是说,在向入口边缘路由节点发送的更新消息中还可以包括算力资源所在的边缘计算节点的站点标识,从而便于入口边缘路由节点在重新确定算力应用使用的算力资源后向重新确定的算力资源所在的边缘计算节点发送数据包。
在更新消息中的网络层可达信息NLRI用于指示指定的应用标识的情况下,更新消息中资源状态相关的TLV报文格式也可以是图11、图12的报文格式,并且同样的,边缘计算节点的站点ID(SiteID)也可由其他的TLV格式的报文携带,具体格式如图13所示。
另外,在一种可能实现的方式中,TLV中同样也可以增加一个标志位(flag),flag用于表示携带ResourceID或者ServiceGourpID的本条报文是用来学习关联关系还是用来更新算力资源信息。比如,flag置位时,可以表示用于学习关联关系,当flag置零时,可以用于表示刷新该共享的算力资源对应的所有的算力应用的算力资源信息。置位情况反之也是可以实现的,也就是flag置零时表示学习关联关系,而置位时可以表示刷新该共享的算力资源对应的所有的算力应用的算力资源信息。
在一种可能的实现方式中,更新消息中的网络层可达信息NLRI可以包括算力资源的标识或者多个算力应用所属的业务组的标识,更新消息中的path attribute路径属性包括算力资源的算力资源信息。
也就是说,更新消息可以是包含NLRI以及PA的路由协议报文,NLRI可以携带算力资源的标识或者多个算力应用所属的业务组的标识的内容。PA中可以携带发生更新的算力资源的算力资源信息的内容,并且PA中携带的上述内容可以是以三元组TLV格式进行编写的。
示例性的,当使用的路由协议为BGP时,可以采用一种全新的NLRI用于标识该更新消息是针对某算力资源的更新消息。也就是通过路由协议传输的更新消息可以使用算力资源的标识或者多个算力应用所属的业务组的标识作为报文中NLRI携带的信息,将发生更新的算力资源的算力资源信息作为报文中PA携带的信息,从而使得针对多个共享同一算力资源的算力应用,在共享的算力资源发生更新时,仅触发向入口边缘路由节点下发一个更新消息,就可以实现入口边缘路由节点确定多个算力应用使用的算力资源发生更新的情况,从而使得入口边缘路由节点可以对多个算力应用的路由选择进行更新。
其中,更新消息中的网络层可达信息NLRI还可以包括算力资源所在的边缘计算节点的站点标识。
示例性的,图14是本申请实施例涉及的一种NLRI的格式示意图。如图14所示,NLRI中携带有长度字段(length),可以设置为占1octect,以及算力资源的标识或者使用该算力资源的多个算力应用所属的业务组的标识(resource ID or service group ID),可以设置为占4octect。
若更新消息中的NLRI中携带有resource ID或者service group ID,入口边缘路由节点可以直接获取到算力资源的resource ID或者service group ID,然后从更新消息中的path attribute路径属性中读取该算力资源对应的总量或者使用信息等算力资源信息。
由于如图14所示的NLRI中没有携带边缘计算节点的站点ID(SiteID),所以该更新消息可以适用于同一算力资源(也就是具有相同resource ID的算力资源)横跨多个边缘计算节点的情况。也就是说多个边缘计算节点上的同一算力资源的更新情况可以由具有该算力资源标识的NLRI的更新消息传递给入口边缘路由节点。该算力资源横跨的边缘计算节点ID可以从发布更新信息的源头进行信息获取,从而区别不同边缘计算节点上的算力资源。
另外,图15是本申请实施例涉及的另一种NLRI的格式示意图。如图15所示,NLRI中携带有长度字段(length),可以设置为占1octect,边缘计算节点的站点ID(SiteID),可以设置为占2octect以及算力资源的标识或者使用该算力资源的多个算力应用所属的业务组的标识(resource ID or service group ID),可以设置为占4octect。
由于如图15所示,SiteID直接编码在NLRI中,入口边缘路由节点可以直接从NLRI中读取算力资源的resource ID或者service group ID以及算力资源所属的SiteID,然后从更新消息中的path attribute路径属性中读取该算力资源对应的总量或者使用信息等算力资源信息。
在一种可能的实现方式中,使用算力资源的算力应用或相关的算力资源状态监控、收集软件可以基于以上新的NLRI发送给出口边缘路由节点(比如,Egress路由器),再由出口边缘路由节点转发给入口边缘路由节点(Ingress路由器)。入口边缘路由节点收到之后,读取NLRI中的ResourceID和对应的算力资源信息。
或者,算力应用或相关的算力资源状态监控、收集软件向出口边缘路由节点发送算力资源对应的算力状态更新后,出口边缘路由节点处理后基于指定的NLRI,向入口边缘路由节点发布面向某算力资源的更新消息,用于触发多个使用该算力资源的算力应用的路由更新。
也就是说,NLRI可以是由算力资源的算力应用或相关的算力资源状态监控、收集软件确定发送给出口边缘路由节点的,或者NLRI也可以是由出口边缘路由节点针对算力资源生成的。
在一种可能的实现方式中,算力资源的更新消息包括算力资源的总量、可用的算力资源占全部所述算力资源的百分比或者算力资源的优先级数值。
其中,更新消息中的路径属性中可以携带有算力资源的总量、可用的算力资源占全部所述算力资源的百分比或者算力资源的优先级数值等信息。
S105,入口边缘路由节点基于算力资源的更新消息,更新多个算力应用对应的多条算力资源信息。
在本申请实施例中,入口边缘路由节点在接收到算力资源的更新消息后,可以根据更新消息中的算力资源的标识或者使用算力资源的多个算力应用所属的业务组的标识,确定多个算力应用,从而更新多个算力应用对应的多条算力资源信息。
在一种可能的实现方式中,入口边缘路由节点中存储有算力应用与算力资源之间的关联关系,该关联关系可以包括算力应用的标识与算力资源的标识之间的映射关系,或者,关联关系可以包括算力应用的标识与业务组的标识之间的映射关系。
其中,该关联关系可以是入口边缘路由节点通过配置、第三方数据库或者BGP协议等方式学习到算力应用订阅的对应边缘计算节点上的算力资源或者算力应用所属的业务组的对应关系。比如,边缘云等站点中运行的算力应用或对应的组件,将算力应用ID(可以是IP地址,也可以是其他可标识算力应用的ID)、算力资源所属的边缘计算节点的站点标识和算力资源ID或所属业务组ID的绑定关系(比如,ServiceID:SiteID:ResourceID或ServiceID:SiteID:ServiceGroupID)传递给出口边缘路由节点,并由出口边缘路由节点传递给入口边缘路由节点。或者算力应用直接将算力应用ID和边缘计算节点的站点标识和算力资源ID或所属的业务组ID的绑定关系(如ServiceID:SiteID:ResourceID或ServiceID:SiteID:ServiceGroupID)传递给入口边缘路由节点。此时,入口边缘路由节点可学习到算力应用到其使用站点共享资源(也对应属于一个业务组的算力应用所使用的算力资源)的映射关系。
也就是说,入口边缘路由节点在接收到算力资源的更新消息后,确定更新的算力资源对应的算力应用,将入口边缘路由节点中存储的算力应用对应的算力资源的算力资源信息更新为更新消息中包含的算力资源信息,从而实现更新多个算力应用对应的多条算力资源信息。
另一种情况下,出口边缘路由节点获取边缘计算节点发送的多条算力资源发生更新的相关信息,由出口边缘路由节点对多条算力资源发生更新的相关信息进行合并,确定算力资源的资源更新信息,图16是本申请实施例提供的一种算力资源信息的更新方法的流程示意图。该算力资源信息的更新方法可以由边缘路由节点与边缘计算节点交互执行,比如,边缘路由节点可以是图1、图4、图5中的边缘路由节点11、图3中的入口边缘路由节点以及出口边缘路由节点。该算力资源信息的更新方法包括如下S106至S108。
S106,出口边缘路由节点确定算力资源的资源更新信息。
其中,MEC节点在感知到运行的算力应用使用的算力资源发生更新后,针对该算力资源会向出口边缘路由节点发送多条该算力资源发生更新的相关信息,出口边缘路由节点可以对接收到多条该算力资源发生更新的相关信息进行合并,确定算力资源的资源更新信息。
也就是说,出口边缘路由节点可以在获取到针对该算力资源的多条该算力资源发生更新的相关信息后,出口边缘路由节点将多条该算力资源发生更新的相关信息进行合并后确定该算力资源对应的资源更新信息。
S107,出口边缘路由节点向入口边缘路由节点发送包括资源更新信息的更新消息。
在本申请实施例中,出口边缘路由节点可以按照路由协议生成包含该算力资源对应的资源更新信息的更新信息。
其中,其他实施过程可以如S104所示,在此不再赘述。
S108,入口边缘路由节点基于算力资源的更新消息,更新多个算力应用对应的多条算力资源信息。
其中,具体的实施过程可以如S105所示,在此不再赘述。
综上所述,通过接收针对算力资源的更新消息,并且按照算力资源的更新消息更新使用该算力资源的多个算力应用对应的算力资源信息,从而实现按照多个算力资源信息在算力网络中调度多个算力应用的数据包。避免了重复处理同一算力资源的状态变化事件,所导致的边缘路由节点压力过大的问题,从而保证了算力网络中路由业务的运行效率。
上述主要从方法的角度对本申请实施例的方案进行了介绍。可以理解的是,算力资源信息的更新装置为了实现上述功能,其包含了执行各个功能相应的硬件结构和软件模块中的至少一个。本领域技术人员应该很容易意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,本申请能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。
本申请实施例可以根据上述方法示例对算力资源信息的更新装置进行功能单元的划分,例如,可以对应各个功能划分各个功能单元,也可以将两个或两个以上的功能集成在一个处理单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。需要说明的是,本申请实施例中对单元的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。
示例性的,图17示出了本申请一个示例性实施例提供的算力资源信息的更新装置500的结构示意图。该算力资源信息的更新装置500应用于边缘路由节点中,或者,该算力资源信息的更新装置500可以是边缘路由节点。比如,边缘路由节点可以是图1、图4、图5中的边缘路由节点11或者图3中的入口边缘路由节点,该算力资源信息的更新装置500包括:
接收模块510,用于接收算力资源的更新消息;
更新模块520,用于基于所述算力资源的更新消息,更新多个算力应用对应的多条算力资源信息,所述多个算力应用使用所述算力资源进行数据处理,所述多条算力资源信息分别用于在算力网络中调度所述多个算力应用的数据包。
例如,结合图7,接收模块510可以用于执行如图7所示的S201,更新模块520可以用于执行如图7所示的S202。
在一种可能的实现方式中,所述更新消息为边界网关协议BGP消息、内部网关协议IGP消息或受限制的应用程序协议COAP消息。
在一种可能的实现方式中,所述更新消息包含所述算力资源的标识或者所述多个算力应用所属的业务组的标识。
在一种可能的实现方式中,所述更新消息中的网络层可达信息NLRI包括所述多个算力应用中的任意一个或多个对应的应用标识。
在一种可能的实现方式中,所述更新消息中的网络层可达信息NLRI用于指示指定的应用标识,指定的应用标识对应多个算力应用。
在一种可能的实现方式中,所述更新消息中的path attribute路径属性包括第一属性单元,所述第一属性单元是包括所述算力资源的标识或者所述多个算力应用所属的业务组的标识的三元组TLV。
在一种可能的实现方式中,所述更新消息中的网络层可达信息NLRI包括所述算力资源的标识或者所述多个算力应用所属的业务组的标识。
在一种可能的实现方式中,所述更新消息中的path attribute路径属性包括所述算力资源的算力资源信息。
在一种可能的实现方式中,所述更新消息中还包括所述算力资源所在的边缘计算节点对应的站点标识。
在一种可能的实现方式中,所述算力资源包括超算资源、通用计算资源、存储资源或者能源资源。
在一种可能的实现方式中,所述算力资源的更新消息包括所述算力资源的总量、可用的所述算力资源占算力资源的总量的百分比或者所述算力资源的优先级数值。
在一种可能的实现方式中,所述接收模块510,还用于接收从边缘计算节点发送的所述算力资源的更新消息,所述边缘计算节点包括所述算力网络中提供所述算力资源的节点。
在一种可能的实现方式中,所述更新模块520,还用于基于所述算力资源的更新消息,确定使用所述算力资源进行数据处理的所述多个算力应用;更新所述多个算力应用对应的所述多条算力资源信息。
在一种可能的实现方式中,所述装置还包括:传输模块,用于响应于接收到第一算力应用的数据包,根据更新后的所述第一算力应用对应的多条所述算力资源信息,将所述第一算力应用的数据包向目标边缘计算节点传输,所述第一算力应用是所述多个算力应用中的任意一个;其中,所述目标边缘计算节点是更新后的所述算力资源信息指示的所述第一算力应用对应的算力资源所在的边缘计算节点。
在一种可能的实现方式中,所述更新消息是边缘计算节点或出口边缘路由节点发送的;其中,所述出口边缘路由节点是路由传输隧道在靠近边缘计算节点侧的边缘路由节点,所述路由传输隧道用于连接所述出口边缘路由节点与入口边缘路由节点;所述入口边缘路由节点用于接收所述算力资源的更新消息,还用于基于所述算力资源的更新消息,更新所述多个算力应用对应的所述多条算力资源信息。
作为示例,结合图4、5,算力资源信息的更新装置中的接收模块510以及更新模块520中的部分或全部实现的功能可以通过图4、5中的边缘路由节点11执行,其中,接收模块510可以通过图4中的边缘路由节点11的接口板执行或者接收模块510可以通过图5中的边缘路由节点11的收发器执行,更新模块520可以通过图4中的边缘路由节点11的第一处理器与第一存储器交互协同执行或者更新模块520还可以通过图5中的边缘路由节点11的处理器与存储器交互协同执行。
示例性的,图18示出了本申请一个示例性实施例提供的算力资源信息的更新装置600的结构示意图。该算力资源信息的更新装置600应用于出口边缘路由节点或者MEC节点中,或者,该算力资源信息的更新装置600可以是出口边缘路由节点或者MEC节点。比如,出口边缘路由节点可以是图1、图4、图5中的边缘路由节点11中的出口边缘路由节点、图3中的出口边缘路由节点、边缘计算节点可以是图1中的边缘云12中的边缘计算节点、图6中的计算设备30,该算力资源信息的更新装置600包括:
确定模块610,用于确定算力资源的资源更新信息;所述算力资源的资源更新信息对应使用所述算力资源进行数据处理的多个算力应用;
发送模块620,用于向边缘路由节点传输所述算力资源的所述资源更新信息,以使得所述边缘路由节点根据所述算力资源的所述资源更新信息更新多个算力应用对应的多条算力资源信息,所述多个算力应用使用所述算力资源进行数据处理,所述多条算力资源信息用于在算力网络中调度所述多个算力应用的数据包。
例如,结合图8,确定模块610可以用于执行如图8所示的S301,发送模块620可以用于执行如图8所示的S302。
在一种可能的实现方式中,所述方法由算力资源所在的边缘计算节点执行,发送模块620,还用于向出口边缘路由节点传输算力资源的资源更新信息,以使得出口边缘路由节点根据资源更新信息生成算力资源的更新消息。
在一种可能的实现方式中,所述方法由出口边缘路由节点执行,发送模块620,还用于向入口边缘路由节点发送包括资源更新信息的更新消息,以使得入口边缘路由节点根据更新消息更新多个算力应用对应的多条算力资源信息。
在一种可能的实现方式中,更新消息为边界网关协议BGP消息、内部网关协议IGP消息或受限制的应用程序协议COAP消息。
在一种可能的实现方式中,更新消息包含算力资源的标识或者多个算力应用所属的业务组的标识。
在一种可能的实现方式中,更新消息中的网络层可达信息NLRI包括多个算力应用中的任意一个或多个对应的应用标识。
在一种可能的实现方式中,更新消息中的网络层可达信息NLRI用于指示指定的应用标识,指定的应用标识对应多个算力应用。
在一种可能的实现方式中,更新消息中的path attribute路径属性包括第一属性单元,第一属性单元是包括算力资源的标识或者多个算力应用所属的业务组的标识的三元组TLV。
在一种可能的实现方式中,更新消息中的网络层可达信息NLRI包括算力资源的标识或者多个算力应用所属的业务组的标识。
在一种可能的实现方式中,更新消息中还包括算力资源所在的边缘计算节点的站点标识。
在一种可能的实现方式中,算力资源包括超算资源、通用计算资源、存储资源或者能源资源。
在一种可能的实现方式中,算力资源的资源更新信息包括算力资源的总量、可用的算力资源占算力资源的总量的百分比或者算力资源的优先级数值。
作为示例,结合图4、5、6,算力资源信息的更新装置中的确定模块610以及发送模块620中的部分或全部实现的功能可以通过图4、5中的边缘路由节点11执行或者通过图6中的边缘计算节点30执行。
关于上述可选方式的具体描述可以参见前述的方法实施例,此处不再赘述。此外,上述提供的任一种算力资源信息的更新装置的解释以及有益效果的描述均可参考上述对应的方法实施例,不再赘述。
本申请实施例还提供了一种算力网络系统,该系统包括入口边缘路由节点、出口边缘路由节点以及边缘计算节点。
其中,入口边缘路由节点,可以用于接收算力资源的更新消息;还用于基于算力资源的更新消息,更新多个算力应用对应的多条算力资源信息,多个算力应用使用算力资源进行数据处理,多条算力资源信息分别用于在算力网络中调度多个算力应用的数据包。
边缘计算节点,可以用于确定算力资源的资源更新信息;算力资源的资源更新信息对应使用算力资源进行数据处理的多个算力应用;还用于向出口边缘路由节点传输算力资源的资源更新信息,以使得出口边缘路由节点根据资源更新信息生成算力资源的更新消息。
出口边缘路由节点,可以用于接收由边缘计算节点传输的算力资源的资源更新信息;还用于根据资源更新信息生成算力资源的更新消息;还用于向入口边缘路由节点发送更新消息。
本申请实施例还提供了一种算力网络系统,该系统包括入口边缘路由节点以及出口边缘路由节点。
其中,入口边缘路由节点,可以用于接收算力资源的更新消息;还用于基于算力资源的更新消息,更新多个算力应用对应的多条算力资源信息,多个算力应用使用算力资源进行数据处理,多条算力资源信息分别用于在算力网络中调度多个算力应用的数据包。
出口边缘路由节点,可以用于向入口边缘节点发送包括资源更新信息的更新消息,以使得入口边缘路由节点根据更新消息更新多个算力应用对应的多条算力资源信息。
本申请实施例还提供了一种包含指令的计算机程序产品。所述计算机程序产品可以是包含指令的,能够运行在计算设备上或被储存在任何可用介质中的软件或程序产品。当所述计算机程序产品在至少一个计算设备上运行时,使得至少一个计算设备执行算力资源信息的更新方法。
本申请实施例还提供了一种计算机可读存储介质。所述计算机可读存储介质可以是计算设备能够存储的任何可用介质或者是包含一个或多个可用介质的数据中心等数据存储设备。所述可用介质可以是磁性介质,(例如,软盘、硬盘、磁带)、光介质(例如,DVD)、或者半导体介质(例如固态硬盘)等。该计算机可读存储介质包括指令,所述指令指示计算设备执行数字资源管理方法,或指示计算设备执行算力资源信息的更新方法。
最后应说明的是:以上实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的保护范围。
Claims (35)
- 一种算力资源信息的更新方法,其特征在于,所述方法包括:接收算力资源的更新消息;基于所述算力资源的更新消息,更新多个算力应用对应的多条算力资源信息,所述多个算力应用使用所述算力资源进行数据处理,所述多条算力资源信息分别用于在算力网络中调度所述多个算力应用的数据包。
- 根据权利要求1所述的方法,其特征在于,所述更新消息为边界网关协议BGP消息、内部网关协议IGP消息或受限制的应用程序协议COAP消息。
- 根据权利要求1或2所述的方法,其特征在于,所述更新消息包含所述算力资源的标识或者所述多个算力应用所属的业务组的标识。
- 根据权利要求1至3任一项所述的方法,其特征在于,所述更新消息中的网络层可达信息NLRI包括所述多个算力应用中的任意一个或多个对应的应用标识。
- 根据权利要求1至3任一项所述的方法,其特征在于,所述更新消息中的网络层可达信息NLRI用于指示指定的应用标识,所述指定的应用标识对应所述多个算力应用。
- 根据权利要求4或5所述的方法,其特征在于,所述更新消息中的path attribute路径属性包括第一属性单元,所述第一属性单元是包括所述算力资源的标识或者所述多个算力应用所属的业务组的标识的三元组TLV。
- 根据权利要求1至3任一项所述的方法,其特征在于,所述更新消息中的网络层可达信息NLRI包括所述算力资源的标识或者所述多个算力应用所属的业务组的标识。
- 根据权利要求4至7任一项所述的方法,其特征在于,所述更新消息中的path attribute路径属性包括所述算力资源的算力资源信息。
- 根据权利要求4至8任一项所述的方法,其特征在于,所述更新消息中还包括所述算力资源所在的边缘计算节点对应的站点标识。
- 根据权利要求1至9任一项所述的方法,其特征在于,所述算力资源包括超算资源、通用计算资源、存储资源或者能源资源。
- 根据权利要求1至10任一项所述的方法,其特征在于,所述算力资源的更新消息包括所述算力资源的总量、可用的所述算力资源占所述算力资源的总量的百分比或者所述算力资源的优先级数值。
- 根据权利要求1至11任一项所述的方法,其特征在于,所述接收算力资源的更新消息,包括:接收从边缘计算节点发送的所述算力资源的更新消息,所述边缘计算节点包括所述算力网络中提供所述算力资源的节点。
- 根据权利要求1至12任一项所述的方法,其特征在于,所述基于所述算力资源的更新消息,更新多个算力应用对应的多条所述算力资源信息,包括:基于所述算力资源的更新消息,确定使用所述算力资源进行数据处理的所述多个算力应用;更新所述多个算力应用对应的所述多条算力资源信息。
- 根据权利要求1至13任一项所述的方法,其特征在于,所述方法还包括:响应于接收到第一算力应用的数据包,根据更新后的所述第一算力应用对应的算力资源信息,将所述数据包向目标边缘计算节点传输,所述第一算力应用是所述多个算力应用中的任意一个;其中,所述目标边缘计算节点是更新后的所述算力资源信息指示的所述第一算力应用对应的算力资源所在的边缘计算节点。
- 根据权利要求1至14任一项所述的方法,其特征在于,所述更新消息是边缘计算节点或出口边缘路由节点发送的;其中,所述出口边缘路由节点是路由传输隧道在靠近边缘计算节点侧的边缘路由节点,所述路由传输隧道用于连接所述出口边缘路由节点与所述入口边缘路由节点;所述入口边缘路由节点用于接收所述算力资源的更新消息,还用于基于所述算力资源的更新消息,更新所述多个算力应用对应的所述多条算力资源信息。
- 一种算力资源信息的更新方法,其特征在于,所述方法包括:确定算力资源的资源更新信息;所述算力资源的资源更新信息对应使用所述算力资源进行数据处理的多个算力应用;向边缘路由节点传输所述算力资源的所述资源更新信息,以使得所述边缘路由节点根据所述算力资源的所述资源更新信息更新多个算力应用对应的多条算力资源信息,所述多个算力应用使用所述算力资源进行数据处理,所述多条算力资源信息用于在算力网络中调度所述多个算力应用的数据包。
- 根据权利要求16所述的方法,其特征在于,所述方法由所述算力资源所在的边缘计算节点执行,所述向边缘路由节点传输所述算力资源的所述资源更新信息,以使得所述边缘路由节点根据所述算力资源的所述资源更新信息更新多个算力应用对应的多条算力资源信息,包括:向出口边缘路由节点传输所述算力资源的所述资源更新信息,以使得所述出口边缘路由节点根据所述资源更新信息生成所述算力资源的更新消息。
- 根据权利要求16所述的方法,其特征在于,所述方法由出口边缘路由节点执行,所述向边缘路由节点传输所述算力资源的所述资源更新信息,以使得所述边缘路由节点根据所述算力资源的所述资源更新信息更新多个算力应用对应的多条算力资源信息,包括:向入口边缘路由节点发送包括所述资源更新信息的更新消息,以使得所述入口边缘路由节点根据所述更新消息更新多个算力应用对应的多条算力资源信息。
- 根据权利要求17或18所述的方法,其特征在于,所述更新消息为边界网关协议BGP消息、内部网关协议IGP消息或受限制的应用程序协议COAP消息。
- 根据权利要求17至19任一项所述的方法,其特征在于,所述更新消息包含所述算力资源的标识或者所述多个算力应用所属的业务组的标识。
- 根据权利要求17至20任一项所述的方法,其特征在于,所述更新消息中的网络层可达信息NLRI包括所述多个算力应用中的任意一个或多个对应的应用标识。
- 根据权利要求17至20任一项所述的方法,其特征在于,所述更新消息中的网络层可达信息NLRI用于指示指定的应用标识,所述指定的应用标识对应所述多个算力应用。
- 根据权利要求21或22所述的方法,其特征在于,所述更新消息中的path attribute路径属性包括第一属性单元,所述第一属性单元是包括所述算力资源的标识或者所述多个算力应用所属的业务组的标识的三元组TLV。
- 根据权利要求17至20任一项所述的方法,其特征在于,所述更新消息中的网络层可达信息NLRI包括所述算力资源的标识或者所述多个算力应用所属的业务组的标识。
- 根据权利要求21至24任一项所述的方法,其特征在于,所述更新消息中还包括所述算力资源所在的边缘计算节点的站点标识。
- 根据权利要求16至25任一项所述的方法,其特征在于,所述算力资源包括超算资源、通用计算资源、存储资源或者能源资源。
- 根据权利要求16至26任一项所述的方法,其特征在于,所述算力资源的资源更新信息包括所述算力资源的总量、可用的所述算力资源占所述算力资源的总量的百分比或者所述算力资源的优先级数值。
- 一种算力网络系统,其特征在于,所述系统包括入口边缘路由节点、出口边缘路由节点以及边缘计算节点;所述入口边缘路由节点,用于接收算力资源的更新消息;还用于基于所述算力资源的更新消息,更新多个算力应用对应的多条算力资源信息,所述多个算力应用使用所述算力资源进行数据处理,所述多条算力资源信息分别用于在算力网络中调度所述多个算力应用的数据包;所述边缘计算节点,用于确定算力资源的资源更新信息;所述算力资源的资源更新信息对应使用所述算力资源进行数据处理的多个算力应用;还用于向所述出口边缘路由节点传输所述算力资源的所述资源更新信息;所述出口边缘路由节点,用于接收由边缘计算节点传输的算力资源的资源更新信息;还用于根据资源更新信息生成算力资源的更新消息;还用于向所述入口边缘路由节点发送所述更新消息。
- 一种算力网络系统,其特征在于,所述系统包括入口边缘路由节点以及出口边缘路由节点;所述入口边缘路由节点,用于接收算力资源的更新消息;还用于基于所述算力资源的更新消息,更新多个算力应用对应的多条算力资源信息,所述多个算力应用使用所述算力资源进行数据处理,所述多条算力资源信息分别用于在算力网络中调度所述多个算力应用的数据包;所述出口边缘路由节点,用于向所述入口边缘节点发送包括所述资源更新信息的更新消息,以使得所述入口边缘路由节点根据所述更新消息更新多个算力应用对应的多条算力资源信息。
- 一种网络设备,其特征在于,所述网络设备包括处理器和存储器,所述网络设备的处理器用于执行所述网络设备的存储器中存储的指令,以使得所述网络设备执行如权利要求1至15中任一项所述的算力资源信息的更新方法,或者以使得所述网络设备执行如权利要求16、或者18至27中任一项所述的算力资源信息的更新方法。
- 一种计算设备,其特征在于,所述计算设备包括处理器和存储器,所述计算设备的处理器用于执行所述计算设备的存储器中存储的指令,以使得所述计算设备执行如权利要求16或者17、或者19至27中任一项所述的算力资源信息的更新方法。
- 一种计算机可读存储介质,其特征在于,包括计算机程序指令,当所述计算机程序指令由网络设备集群执行时,所述网络设备集群执行如权利要求1至15中任一项所述的算力资源信息的更新方法,或者以使得所述网络设备集群执行如权利要求16、或者18至27中任一项所述的算力资源信息的更新方法。
- 一种计算机可读存储介质,其特征在于,包括计算机程序指令,当所述计算机程序指令由计算设备集群执行时,所述计算设备集群执行如权利要求16或者17、或者19至27中任一项所述的算力资源信息的更新方法。
- 一种计算机程序产品,其特征在于,所述计算机程序产品包括指令,当所述指令被网络设备集群运行时,使得所述网络设备集群执行如权利要求1至15中任一项所述的算力资源信息的更新方法,或者以使得所述网络设备集群执行如权利要求16、或者18至27中任一项所述的算力资源信息的更新方法。
- 一种计算机程序产品,其特征在于,所述计算机程序产品包括指令,当所述指令被计算设备集群运行时,使得所述计算设备集群执行如权利要求16或者17、或者19至27中任一项所述的算力资源信息的更新方法。
Applications Claiming Priority (4)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202410766605 | 2024-06-13 | ||
| CN202410766605.5 | 2024-06-13 | ||
| CN202411219876.5A CN121151475A (zh) | 2024-06-13 | 2024-08-31 | 算力资源信息的更新方法、系统、设备、介质及程序产品 |
| CN202411219876.5 | 2024-08-31 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2025256301A1 true WO2025256301A1 (zh) | 2025-12-18 |
Family
ID=97996479
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2025/092962 Pending WO2025256301A1 (zh) | 2024-06-13 | 2025-05-06 | 算力资源信息的更新方法、系统、设备、介质及程序产品 |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN121151475A (zh) |
| WO (1) | WO2025256301A1 (zh) |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN114553729A (zh) * | 2020-11-26 | 2022-05-27 | 中国移动通信有限公司研究院 | 服务质量QoS度量方法、装置及算力节点 |
| CN115226073A (zh) * | 2021-04-15 | 2022-10-21 | 华为技术有限公司 | 报文转发方法、装置及系统、计算机可读存储介质 |
| CN115473812A (zh) * | 2021-05-24 | 2022-12-13 | 中兴通讯股份有限公司 | 流量报文转发方法、客户端、控制器及存储介质 |
| CN116760704A (zh) * | 2023-06-19 | 2023-09-15 | 中国联合网络通信集团有限公司 | 算力网络状态更新方法、装置、设备及存储介质 |
-
2024
- 2024-08-31 CN CN202411219876.5A patent/CN121151475A/zh active Pending
-
2025
- 2025-05-06 WO PCT/CN2025/092962 patent/WO2025256301A1/zh active Pending
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN114553729A (zh) * | 2020-11-26 | 2022-05-27 | 中国移动通信有限公司研究院 | 服务质量QoS度量方法、装置及算力节点 |
| CN115226073A (zh) * | 2021-04-15 | 2022-10-21 | 华为技术有限公司 | 报文转发方法、装置及系统、计算机可读存储介质 |
| US20240048477A1 (en) * | 2021-04-15 | 2024-02-08 | Huawei Technologies Co., Ltd. | Packet forwarding method, apparatus, and system, and computer-readable storage medium |
| CN115473812A (zh) * | 2021-05-24 | 2022-12-13 | 中兴通讯股份有限公司 | 流量报文转发方法、客户端、控制器及存储介质 |
| CN116760704A (zh) * | 2023-06-19 | 2023-09-15 | 中国联合网络通信集团有限公司 | 算力网络状态更新方法、装置、设备及存储介质 |
Also Published As
| Publication number | Publication date |
|---|---|
| CN121151475A (zh) | 2025-12-16 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN114978978B (zh) | 一种算力资源调度方法、装置、电子设备及介质 | |
| JP2024514643A (ja) | パケット転送方法、装置、およびシステム、並びにコンピュータ可読記憶媒体 | |
| CN104468358A (zh) | 分布式虚拟交换机系统的报文转发方法及设备 | |
| CN110313163A (zh) | 分布式计算系统中的负载平衡 | |
| US10205663B1 (en) | Managing host computing devices | |
| US12609884B2 (en) | Method and apparatus for sending route calculation information, device, and storage medium | |
| US12494987B2 (en) | Packet forwarding method, forwarding indication information advertising method, advertisement packet advertising method, and device | |
| WO2024087999A1 (zh) | 路由方法、系统、存储介质及电子设备 | |
| CN115412530B (zh) | 一种多集群场景下服务的域名解析方法及系统 | |
| WO2022057810A1 (zh) | 业务报文的转发方法、sr策略的发送方法、设备及系统 | |
| WO2021244206A1 (zh) | 报文处理方法、设备、系统及存储介质 | |
| CN116530067A (zh) | 使用内部网关协议(interior gateway protocol,IGP)的边缘计算数据和服务发现 | |
| CN118449860A (zh) | 一种虚拟网络功能部署方案的确定方法、装置及存储介质 | |
| CN113965525A (zh) | 一种负载均衡方法、装置、网络设备及系统 | |
| CN118612145A (zh) | 一种链路异常处理方法、装置及相关设备 | |
| CN118433093A (zh) | 多路径路由选择方法、装置、电子设备及存储介质 | |
| CN118301055A (zh) | 一种报文转发方法、装置、电子设备及存储介质 | |
| CN111092942B (zh) | 报文处理方法、装置、电子设备及存储介质 | |
| WO2024088199A1 (zh) | 业务处理方法、系统、存储介质及电子设备 | |
| CN113595915A (zh) | 转发报文的方法及相关设备 | |
| WO2023005745A1 (zh) | 报文转发方法、装置及系统、计算机可读存储介质 | |
| CN109728926B (zh) | 通信方法以及网络设备 | |
| WO2025256301A1 (zh) | 算力资源信息的更新方法、系统、设备、介质及程序产品 | |
| CN112887353B (zh) | 一种信息处理方法、装置、终端及存储介质 | |
| CN112751766A (zh) | 报文转发方法、装置及计算机存储介质 |
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: 25820980 Country of ref document: EP Kind code of ref document: A1 |