Computing power resource notification method and device, storage medium and electronic device
By dividing computing resources into coarse-grained and fine-grained categories and announcing them to network nodes using a specific protocol, the problem of exponential growth in routing table entries is solved, thereby improving routing convergence efficiency and computing resource utilization.
Patent Information
- Application Number
- CN202110424931.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-04-20
- Publication Date
- 2026-11-24
- Estimated Expiration
- 2041-04-20
AI Technical Summary
In existing technologies, the inclusion of all different types and granularities of computing resources into the routing table entries maintained by network nodes leads to an exponential growth of routing table entries, which in turn impairs routing convergence efficiency.
Computing resources are divided into coarse-grained computing resources and fine-grained computing services, which are then advertised to network edge nodes or data center gateways via Border Gateway Protocol (BGP) and Interior Gateway Protocol (IGP), respectively, and corresponding routing table entries are created and maintained.
By dividing and announcing computing resources at different granularities, the size of routing table entries is reduced, routing convergence efficiency is improved, and more accurate computing resource utilization and routing decisions are achieved.
Smart Images

Figure CN115225722B_ABST
Abstract
Description
Technical Field
[0001] This invention mainly relates to the field of communications, and more specifically, to a method and apparatus for announcing computing resources, a storage medium, and an electronic device. Background Technology
[0002] With the rapid development of high-bandwidth, low-latency services such as video, gaming, and connected vehicles, these services account for an increasingly larger proportion of traffic. Computing and storage resources are evolving from traditional centralized deployment to distributed deployment. Connecting computing resources across terminals, edge nodes, and cloud nodes via the network, and coordinating with the network to schedule service traffic—that is, routing service traffic to the optimal computing node for processing—is receiving increasing attention from the industry. Routing service traffic to appropriate computing nodes based on various service needs will be the mainstream service scenario and requirement for computing networks. However, current network architectures do not support network awareness and orchestration of cloud-based computing and storage resources, nor do they support maintaining corresponding computing routing table entries at network nodes. Therefore, all computing resources must be included in the routing table entries maintained by the network nodes.
[0003] In response to the problem that all computing resources of different types and granularities are included in the routing table entries maintained by network nodes, resulting in the exponential growth of routing table entries and thus impairing routing convergence efficiency, no effective technical solution has yet been proposed. Summary of the Invention
[0004] This invention provides a method and apparatus for announcing computing resources, a storage medium, and an electronic device, to at least solve the problems in related technologies, such as the exponential growth of routing table entries caused by including all different types and granularities of computing resources in the routing table maintained by network nodes, which in turn leads to impaired routing convergence efficiency.
[0005] This invention provides a method for announcing computing resources, comprising: dividing computing resources into coarse-grained computing resources and fine-grained computing services, wherein the coarse-grained computing resources are used to indicate computing resources whose resource status change frequency is lower than a preset threshold, and the fine-grained computing services are used to indicate fine-grained computing resources whose resource status change frequency is higher than the preset threshold; announcing the coarse-grained computing resources to network edge nodes or data center gateways in a first manner, and announcing the fine-grained computing services to network edge nodes within the domain where the network edge nodes or data center gateways are located in a second manner.
[0006] In an exemplary embodiment, the coarse-grained computing power resources are advertised to the network edge node or data center gateway in a first manner, including at least one of the following: advertising the coarse-grained computing power resources to the network edge node or data center gateway via the Border Gateway Protocol (BGP); or advertising the control plane interface information of the coarse-grained computing power resources to the network edge node or data center gateway.
[0007] In one exemplary embodiment, the fine-grained computing power service is advertised to network edge nodes within the domain of the network edge node or data center gateway in a second manner, including at least one of the following: advertising the fine-grained computing power service to network edge nodes within the domain of the network edge node or data center gateway using a publish-subscribe method; or advertising the fine-grained computing power service to network edge nodes within the domain of the network edge node or data center gateway through an Interior Gateway Protocol (IGP).
[0008] In an exemplary embodiment, after announcing the coarse-grained computing resources to network edge nodes or data center gateways in a first manner and announcing the fine-grained computing services to network edge nodes within the domain of the network edge nodes or data center gateways in a second manner, the method further includes: creating a first routing table entry based on the coarse-grained computing resources, so that the network edge nodes or data center gateways maintain the first routing table entry; and creating a second routing table entry based on the fine-grained computing services, so that the network edge nodes within the domain of the network edge nodes or data center gateways maintain the second routing table entry.
[0009] In an exemplary embodiment, after creating a first routing table entry based on the coarse-grained computing power resources, and enabling the network edge node or data center gateway to maintain the first routing table entry, the method further includes: when the ingress node receives computing power traffic, determining a target node for computing power traffic resources that satisfy the computing power traffic based on the first routing table entry, wherein the target node includes: a target network edge node or a target data center node; encapsulating the IP address of the target node in a packet header; obtaining a computing power service identifier corresponding to the computing power traffic, and encapsulating the computing power service identifier in the target node, wherein the computing power service identifier has a one-to-one mapping relationship with a computing power service instance.
[0010] In one exemplary embodiment, encapsulating the IP address of the target node in the packet header includes at least one of the following: encapsulating the destination address of the target node in the packet header; using the target node as the outgoing node of the computing power traffic to determine the source address of the target node, and encapsulating the source address in the packet header.
[0011] In one exemplary embodiment, when an intermediate node receives computing power traffic carrying an encapsulated IP address and an encapsulated computing power service identifier, the intermediate node is instructed not to decapsulate the encapsulated computing power service identifier, and the intermediate node is instructed to forward the computing power traffic carrying the encapsulated IP address and the encapsulated computing power service identifier.
[0012] In an exemplary embodiment, when an outgoing node receives computing traffic carrying an encapsulated IP address and an encapsulated computing service identifier, it instructs the outgoing node to decapsulate the encapsulated computing service identifier to obtain the computing service identifier; instructs the outgoing node to search for a target computing service instance corresponding to the computing service identifier in the second routing table entry; and forwards the computing traffic to the target computing service instance.
[0013] This invention provides a computing power resource notification device, comprising: a partitioning module for partitioning computing power resources into coarse-grained computing power resources and fine-grained computing power services, wherein the coarse-grained computing power resources are used to indicate computing power resources whose resource status change frequency is lower than a preset threshold, and the fine-grained computing power services are used to indicate refined computing power resources whose resource status change frequency is higher than the preset threshold; and a notification module for notifying the coarse-grained computing power resources to network edge nodes or data center gateways in a first manner, and notifying the fine-grained computing power services to network edge nodes within the domain where the network edge nodes or data center gateways are located in a second manner.
[0014] According to yet another embodiment of the present invention, a computer-readable storage medium is also provided, wherein a computer program is stored therein, wherein the computer program is configured to perform the steps in any of the above method embodiments when executed.
[0015] According to yet another embodiment of the present invention, an electronic device is also provided, including a memory and a processor, wherein the memory stores a computer program and the processor is configured to run the computer program to perform the steps in any of the above method embodiments.
[0016] Through the above embodiments, computing resources are divided into coarse-grained computing resources and fine-grained computing services. The coarse-grained computing resources indicate computing resources whose resource status change frequency is lower than a preset threshold, and the fine-grained computing services indicate fine-grained computing resources whose resource status change frequency is higher than the preset threshold. The coarse-grained computing resources are announced to network edge nodes or data center gateways according to a first method, and the fine-grained computing services are announced to network edge nodes within the domain of the network edge nodes or data center gateways according to a second method. In other words, computing resources are divided into coarse-grained computing resources and fine-grained computing services according to the frequency of resource status changes, and these are announced according to a preset method. This method solves the problem in related technologies where including all types and granularities of computing resources in the routing table maintained by network nodes leads to exponential growth of routing table entries, resulting in impaired routing convergence efficiency. It achieves announcement based on different computing resources, thereby incorporating them into the routing tables maintained by different network nodes. Attached Figure Description
[0017] The accompanying drawings, which are included to provide a further understanding of the invention and form part of this application, illustrate exemplary embodiments of the invention and, together with their description, serve to explain the invention and do not constitute an undue limitation thereof. In the drawings:
[0018] Figure 1 This is a hardware structure block diagram of a computer terminal for a method of announcing computing resources according to an embodiment of the present invention.
[0019] Figure 2 This is a flowchart of a method for announcing computing resources according to an embodiment of the present invention;
[0020] Figure 3 This is a schematic diagram of the computing power granularity type routing and notification mechanism according to an embodiment of the present invention;
[0021] Figure 4 This is a schematic diagram of a two-level routing and encapsulation mechanism for IP address and computing power service identifier according to an embodiment of the present invention;
[0022] Figure 5 This is a flowchart (I) of the two-level encapsulation and forwarding process of IP address and computing power service identifier according to an embodiment of the present invention;
[0023] Figure 6 This is a flowchart (II) of the two-level encapsulation and forwarding process for IP address and computing service identifier according to an embodiment of the present invention.
[0024] Figure 7 This is a structural block diagram of a method for announcing computing resources according to an embodiment of the present invention. Detailed Implementation
[0025] The present invention will be described in detail below with reference to the accompanying drawings and embodiments. It should be noted that, unless otherwise specified, the embodiments and features described in the present application can be combined with each other.
[0026] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate for the embodiments of this application described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.
[0027] The methods provided in this application can be executed on a mobile terminal, a computer terminal, or a similar computing device. Taking running on a computer terminal as an example... Figure 1 This is a hardware structure block diagram of a computer terminal for a method of announcing computing resources according to an embodiment of the present invention. Figure 1 As shown, a computer terminal may include one or more ( Figure 1 Only one is shown in the diagram. A processor 102 (which may include, but is not limited to, a microprocessor MCU or a programmable logic device FPGA, etc.) and a memory 104 for storing data are also shown. Optionally, the computer terminal may further include a transmission device 106 for communication functions and an input / output device 108. Those skilled in the art will understand that... Figure 1 The structure shown is for illustrative purposes only and does not limit the structure of the computer terminal described above. For example, the computer terminal may also include components that are more complex than those described above. Figure 1 The more or fewer components shown, or having the same Figure 1 Equivalent functions or ratios shown Figure 1The illustrated functionality includes various configurations. Memory 104 can be used to store computer programs, such as application software programs and modules, like the computer program corresponding to the computing resource notification method in this embodiment. Processor 102 executes various functional applications and data processing by running the computer programs stored in memory 104, thus implementing the aforementioned method. Memory 104 may include high-speed random access memory and non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, memory 104 may further include memory remotely located relative to processor 102, which can be connected to the computer terminal via a network. Examples of such networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof. Transmission device 106 is used to receive or send data via a network. Specific examples of such networks may include wireless networks provided by the computer terminal's communication provider. In one example, transmission device 106 includes a Network Interface Controller (NIC), which can be connected to other network devices via a base station to communicate with the Internet. In one example, the transmission device 106 may be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.
[0028] According to an embodiment of the present invention, a method for announcing computing resources is provided, applied to the aforementioned computer terminal. Figure 2 This is a flowchart of a method for announcing computing resources according to an embodiment of the present invention, such as... Figure 2 As shown, it includes:
[0029] Step S202: Divide the computing power resources into coarse-grained computing power resources and fine-grained computing power services. The coarse-grained computing power resources are used to indicate computing power resources whose resource status change frequency is lower than a preset threshold, and the fine-grained computing power services are used to indicate refined computing power resources whose resource status change frequency is higher than the preset threshold.
[0030] Step S204: The coarse-grained computing power resources are advertised to the network edge nodes or data center gateways in a first manner, and the fine-grained computing power services are advertised to the network edge nodes in the domain where the network edge nodes or data center gateways are located in a second manner.
[0031] Through the above steps, computing resources are divided into coarse-grained computing resources and fine-grained computing services. The coarse-grained computing resources indicate resources whose state change frequency is below a preset threshold, while the fine-grained computing services indicate resources whose state change frequency is above the preset threshold. The coarse-grained computing resources are announced to network edge nodes or data center gateways according to a first method, and the fine-grained computing services are announced to network edge nodes within the domain of the network edge nodes or data center gateways according to a second method. In other words, computing resources are divided into coarse-grained and fine-grained computing resources based on their state change frequency, and these resources are announced according to a preset method. This method solves the problem in related technologies where including all types and granularities of computing resources in the routing table maintained by network nodes leads to exponential growth of routing table entries, resulting in impaired routing convergence efficiency. It achieves the goal of announcing different computing resources and including them in the routing tables maintained by different network nodes.
[0032] It should be noted that computing resources with a change frequency below the preset threshold are not coarse-grained computing resources, which can also be understood as relatively macroscopic data, while computing resources with a change frequency above the preset threshold are not fine-grained computing services, which can also be understood as relatively microscopic data.
[0033] In an exemplary embodiment, the coarse-grained computing power resources are advertised to the network edge node or data center gateway in a first manner, including at least one of the following: advertising the coarse-grained computing power resources to the network edge node or data center gateway via the Border Gateway Protocol (BGP); or advertising the control plane interface information of the coarse-grained computing power resources to the network edge node or data center gateway.
[0034] In other words, there are two ways to announce coarse-grained computing resources: 1) Border Gateway Protocol (BGP) extension method, which announces coarse-grained computing resource information to the network edge node or data center gateway through an extended BGP protocol payload; 2) Centralized controller method, which announces the control plane interface information of the coarse-grained computing resources to the network edge node or data center gateway. The announcement method includes, but is not limited to, the path computation element protocol (PCEP) and the Border Gateway Protocol Link State (BGP-LS). This embodiment of the invention does not limit the specific methods used.
[0035] In one exemplary embodiment, the fine-grained computing power service is advertised to network edge nodes within the domain of the network edge node or data center gateway in a second manner, including at least one of the following: advertising the fine-grained computing power service to network edge nodes within the domain of the network edge node or data center gateway using a publish-subscribe method; or advertising the fine-grained computing power service to network edge nodes within the domain of the network edge node or data center gateway through an interior gateway protocol (IGP).
[0036] There are two ways to announce fine-grained computing power services: 1) Announce fine-grained computing power services to network edge nodes or data center gateways within the same domain through a publish-subscribe method; 2) Announce fine-grained computing power services through an extension of the Interior Gateway Protocol (IGP), that is, announce the fine-grained computing power services to network edge nodes or data center gateways within the same domain through an extension of the IGP protocol payload.
[0037] In one exemplary embodiment, after the coarse-grained computing resources are advertised to network edge nodes or data center gateways in a first manner, and the fine-grained computing services are advertised to network edge nodes within the domain of the network edge nodes or data center gateways in a second manner, a first routing table entry is created based on the coarse-grained computing resources, so that the network edge nodes or data center gateways maintain the first routing table entry; and a second routing table entry is created based on the fine-grained computing services, so that the network edge nodes within the domain of the network edge nodes or data center gateways maintain the second routing table entry.
[0038] This can be understood as creating different routing table entries based on the granularity of computing resources, with different nodes maintaining the corresponding routing table entries. Specifically, a first routing table entry is created based on the coarse-grained computing resources, and this first routing table entry is maintained by the network edge node or data center gateway receiving the coarse-grained computing resources. A second routing table entry is created based on the fine-grained computing services, and this second routing table entry is maintained by network edge nodes within the domain of the network edge node or data center gateway receiving the fine-grained computing services. It should be noted that the coarse-grained computing resources in the first routing table entry have a relatively coarse granularity and a low change frequency. Therefore, the size of the first routing table entry maintained by the network edge node or data center gateway is proportional to the number of connected network edge nodes or data center gateways, thus greatly compressing the size of the first routing table entry. The size of the second routing table entry is proportional to the scale of computing services provided by the network edge nodes within the domain of the network edge node or data center gateway. Since it only maintains fine-grained computing services for local or limited-home network edge nodes or data center gateways within their respective domains, the size of the corresponding second routing table entry is greatly compressed.
[0039] In an exemplary embodiment, a first routing table entry is created based on the coarse-grained computing power resources. After the network edge node or data center gateway maintains the first routing table entry, when the ingress node receives computing power traffic, the target node of the computing power traffic resources that satisfy the computing power traffic is determined based on the first routing table entry. The target node includes a target network edge node or a target data center node. The IP address of the target node is encapsulated in the packet header. The computing power service identifier corresponding to the computing power traffic is obtained and encapsulated in the target node. The computing power service identifier has a one-to-one mapping relationship with the computing power service instance.
[0040] In other words, at the entry node (such as a broadband remote access system (BRAS)), two-level encapsulation of IP address and computing power service identifier is performed. When the entry node receives computing power traffic, it determines the target network edge node or target data center node based on the first routing table entry maintained by the network edge node or data center gateway, and uses the target network edge node or target data center node as the target node. The IP address of the target node is encapsulated in the packet header. The target node satisfies the computing power traffic resources of the computing power traffic, and determines the corresponding computing power service identifier based on the computing power traffic, and encapsulates the computing power service identifier.
[0041] Furthermore, in order to ensure that computing power traffic is routed to the corresponding computing power service instance, the outgoing node maintains the mapping relationship between the computing power service identifier and the computing power service instance. The method for maintaining the mapping relationship includes, but is not limited to, the 5-tuple scheme.
[0042] Specifically, encapsulating the IP address of the target node in the packet header includes at least one of the following: encapsulating the destination address of the target node in the packet header; using the target node as the outgoing node of the computing power traffic to determine the source address of the target node and encapsulating the source address in the packet header.
[0043] The IP address of the target node can be encapsulated in the packet header in the following ways: 1) Encapsulate the target network edge node or target data center node as the destination address of the target node in the corresponding field of the packet header. Application scenarios include, but are not limited to, IPv4, IPv6, multi-protocol label switching (MPLS) and other network data planes; 2) Use the target network edge node or target data center node as the outgoing node, orchestrate the source path, and encapsulate the source path in the corresponding packet header. Application scenarios include, but are not limited to, SR-MPLS, SRv6 and other network data planes.
[0044] The computing service identifier can be encapsulated in the following ways: 1) SRv6 computing service identifier programming extension scheme, that is, the computing service identifier is encapsulated as a function in the Segment Identification (SID) Locator + Function structure; 2) The computing service identifier is encapsulated in the OverLay layer above the IP address.
[0045] In one exemplary embodiment, when an intermediate node receives computing power traffic carrying an encapsulated IP address and an encapsulated computing power service identifier, the intermediate node is instructed not to decapsulate the encapsulated computing power service identifier, and the intermediate node is instructed to forward the computing power traffic carrying the encapsulated IP address and the encapsulated computing power service identifier.
[0046] This can be understood as the intermediate node not needing to identify the computing power service identifier, meaning the intermediate node does not need to decapsulate the computing power service identifier, but only performs normal forwarding based on the encapsulated IP address and the encapsulated computing power service identifier.
[0047] In an exemplary embodiment, when an outgoing node receives computing traffic carrying an encapsulated IP address and an encapsulated computing service identifier, it instructs the outgoing node to decapsulate the encapsulated computing service identifier to obtain the computing service identifier; instructs the outgoing node to search for a target computing service instance corresponding to the computing service identifier in the second routing table entry; and forwards the computing traffic to the target computing service instance.
[0048] In other words, after the computing power traffic reaches the outgoing node, the outgoing node decapsulates the encapsulated computing power service identifier, searches the second routing table entry, determines the target computing power service instance based on the computing power service identifier, and forwards the computing power traffic to the target computing power service instance. In particular, when the computing power service identifier corresponds to multiple target computing power service instances, the outgoing node executes a local policy to select a specific target computing power service instance.
[0049] The following describes the process of the notification method for computing resources with reference to several optional embodiments, but it is not intended to limit the technical solutions of the embodiments of the present invention.
[0050] The computing power network is a thin layer of the content forwarding network (CFN) above the network layer. It publishes the current computing power and network status as routing information to the network. The network routes computing task packets to the corresponding computing nodes. The computing power network needs to make routing decisions on business traffic based on the distributed computing power resources, that is, to route the business to the current optimal computing power node for processing, so as to leverage the pooling advantages of distributed computing power resources, improve the utilization rate of computing power resources, and meet the computing power and network needs of the business more accurately and with better quality.
[0051] Current networks, especially Layer 2 (physical link layer) and Layer 3 (network layer) networks, process forwarding at the packet or type flow level, configuring corresponding bandwidth, queues, and buffer resources for each packet or type flow. In a computing power network, the objects processed by computing nodes are no longer packets and type flows, but applications. This makes the current packet and type flow processing mechanisms unsuitable for computing power networks. In a computing power network, the network needs to directly match specific applications or services with the optimally matched computing nodes and perform corresponding service traffic routing. This requires the network to collaboratively optimize application flows based on network and computing resources, and the routing decision-making process requires direct participation from application information. Therefore, in a computing power network architecture, the routing of computing resources or services, as well as the current IP topology routing, must be executed at the network layer. This presents entirely new challenges to the forwarding plane and control plane of routing and forwarding network elements. In related technologies, uniformly incorporating different types and granularities of computing resources into the resource state table maintained by network nodes will lead to an exponential growth of routing table entries, resulting in serious network problems such as routing oscillations and impaired routing convergence efficiency.
[0052] To address the aforementioned problems, this invention proposes a method for announcing computing resources. First, computing resources are divided into two large granularities based on whether their change frequency is below a preset threshold: 1) coarse-grained computing resources of network edge nodes or data center gateways, denoted as granularity 1; 2) fine-grained computing services of network edge nodes within the domain of the network edge nodes or data center gateways, denoted as granularity 2. The coarse-grained computing resources indicate computing resources whose status change frequency is below the preset threshold, while the fine-grained computing services indicate refined computing resources whose status change frequency is above the preset threshold.
[0053] Specifically, coarse-grained computing resources include at least one of the following: computing and storage resources, such as a central processing unit (CPU), a graphics processing unit (GPU), a neural network processing unit (NPU), and an application-specific integrated circuit (ASIC); the availability status of coarse-grained computing resources, such as quantified idle resource values, such as utilization rate and the number of available cores; the types of computing services provided by coarse-grained computing resources, including software service (SaaS) / functional service (FaaS) service identifiers, the busy / idle status of specific services, and configurable thresholds for busy / idle status, such as 90% or more of occupancy being considered busy.
[0054] Fine-grained computing power services include at least one of the following: types of computing power services and corresponding serviceable instances; processing capacity of each serviceable instance; mapping relationship between computing power services and serviceable instances, such as an Anycast address identifying a computing power service and the associated group member address being the instance address.
[0055] Coarse-grained computing resources correspond to edge computing nodes or data center nodes. These resources are advertised to the network edge nodes or data center gateways using a first method. The network edge nodes or data center gateways create and maintain a first routing table entry based on these resources. The computing resources in the first routing table entry are coarse-grained and change infrequently. Therefore, the size of the first routing table entry maintained by the network edge nodes or data center gateways is proportional to the number of connected network edge nodes or data center gateways, significantly reducing the routing table size. Upon initial deployment, the network edge nodes or data center gateways advertise the complete set of coarse-grained computing resources. Subsequently, based on configurable change thresholds, they trigger variable updates and synchronize the complete set of coarse-grained computing resources. There are two methods for advertising coarse-grained computing resources:
[0056] 1) Border Gateway Protocol (BGP) extension scheme, which is to advertise the entire set of data of the above coarse-grained computing resources to edge computing nodes or data center nodes through the extended BGP protocol payload;
[0057] 2) Centralized controller solutions, such as using the path computation element protocol (PCEP) or BGP-LS to announce and synchronize the entire set of coarse-grained computing resources to edge computing nodes or data center nodes.
[0058] Fine-grained computing power services correspond to network edge nodes within the domain of the network edge node or data center gateway. They do not require notification to edge computing nodes or data center nodes. The network edge nodes within the domain of the network edge node or data center gateway create and maintain a second routing table entry based on the fine-grained computing power service. The size of the second routing table entry is proportional to the scale of the computing power service provided by the network edge node within the domain of the network edge node or data center gateway. Since the network edge nodes within the domain of the network edge node or data center gateway only maintain the computing power service information status of local or limited-home edge computing or data center gateway domains, the size of the second routing table is greatly compressed. Upon initial deployment, the network edge node or network edge node within the domain of the data center gateway announces or publishes the complete set of data for the fine-grained computing power service. Subsequently, based on configurable change thresholds, trigger variables are used to update the announcement and synchronize the complete set of data for the fine-grained computing power service. There are two methods for announcing the fine-grained computing power service:
[0059] 1) The fine-grained computing power service is advertised to the network edge nodes or network edge nodes within the domain where the data center gateway is located using a publish-subscribe method;
[0060] 2) Extended announcements via Interior Gateway Protocol (IGP): Fine-grained computing power services are announced to network edge nodes or network edge nodes within the domain of the data center gateway by extending the IGP protocol payload.
[0061] like Figure 3 As shown, Figure 3 This is a schematic diagram of the computing power granularity type routing and notification mechanism according to an embodiment of the present invention.
[0062] A two-level encapsulation mechanism of IP address and computing service identifier is introduced in the network data plane. Specifically, at the user access gateway (equivalent to the entry node in the above embodiment) (such as the Broadband Remote Access System BRAS), the two-level encapsulation of IP address and computing service identifier is performed. The user access gateway calculates and generates the route to the network edge node or data center gateway to which the target network edge node or target data center gateway belongs based on the first routing table, and performs IP address encapsulation. The IP address encapsulation includes at least one of the following:
[0063] 1) Destination address encapsulation scheme, which encapsulates the network edge node or data center gateway to which the target network edge node or data center gateway belongs as the destination address in the corresponding field of the packet header. Application scenarios include but are not limited to IPv4, IPv6, MPLS and other network data planes.
[0064] 2) Source routing address scheme, that is, the network edge node or data center gateway to which the target network edge node or the target data center gateway belongs is used as the outgoing node, the source routing path is arranged and encapsulated in the corresponding field of the packet header. Application scenarios include but are not limited to SR-MPLS, SRv6 and other network data planes.
[0065] Meanwhile, the user access gateway (equivalent to the entry node in the above embodiments) (such as a Broadband Remote Access System (BRAS)) performs computing power service identifier encapsulation based on the user's computing power service request, including the following two encapsulation schemes:
[0066] The encapsulation methods for computing power service identifiers include the following two:
[0067] 1) SRv6 computing service identifier programming extension scheme, that is, in the SID (Segment IDentification) locator + function structure, the computing service identifier is encapsulated as a function in the SID;
[0068] 2) Encapsulate the computing service identifier in an Overlay layer above the IP address.
[0069] Specifically, intermediate forwarding nodes in the network do not need to deseal the computing power service identifier; they only forward computing power traffic that carries the encapsulated IP address and the encapsulated computing power service identifier.
[0070] When an outgoing node receives computing traffic carrying an encapsulated IP address and an encapsulated computing service identifier, it instructs the outgoing node to decapsulate the encapsulated computing service identifier. The outgoing node then searches for the target computing service instance corresponding to the computing service identifier in the second routing table entry and forwards the computing traffic to the target computing service instance.
[0071] In particular, to maintain flow stickiness, that is, to ensure that computing power traffic of the same application is routed to the corresponding computing power service instance, the outgoing node maintains the mapping relationship between computing power service identifier and computing power service instance, and routes computing power traffic to the corresponding computing power service instance. The way the outgoing node maintains the mapping relationship between computing power service identifier and computing power service instance includes, but is not limited to, the 5-tuple scheme (source IP address, destination IP address, source port, destination port, transport layer protocol type).
[0072] like Figure 4 As shown, Figure 4This is a schematic diagram of a two-level routing and encapsulation mechanism for IP address and computing power service identifier according to an embodiment of the present invention.
[0073] In one exemplary embodiment, the two-level encapsulation and forwarding process of IP address and computing service identifier based on SRv6 computing service function programming is as follows: Figure 5 As shown.
[0074] The SRv6 ingress node calculates the target network edge node or target data center node that satisfies the computing power traffic based on the first routing table, and uses the gateway or network edge node to which the target network edge node or target data center node belongs as the egress node, uses the address of the egress node as the Locator of the last hop of SRv6, and uses the computing power service identifier corresponding to the user request as the Function of the last hop of SRv6, and encapsulates it in the SRH header.
[0075] Specifically, SRv6 ingress and egress nodes need to have semantic resolution capabilities for computing power service identifiers. The computing power application data flow forwarding process is as follows:
[0076] Step S501: The computing power traffic reaches the service access gateway (equivalent to the entry node in the above embodiment);
[0077] Step S502: The service access gateway searches the first routing table based on the user's application computing power request and completes IP address encapsulation;
[0078] Step S503: Based on the user's computing power service identifier, complete the encapsulation of the computing power service identifier in the outgoing node SID;
[0079] It should be noted that the above-mentioned IP address encapsulation and computing power service identifier encapsulation are respectively reflected in the SID's Locator and Function (which may include service and function parameters); in particular, the service access gateway maintains the mapping relationship between computing power traffic and outgoing nodes through methods including but not limited to computing power traffic 5-tuples in order to maintain flow stickiness.
[0080] Step S504: The computing power traffic passes through the P node. The P node can be understood as an intermediate node. The P node does not perform semantic parsing of the computing power service identifier, but only performs stateless forwarding of computing power.
[0081] Step S505: When computing power traffic arrives at the designated outgoing node, the outgoing node completes SRv6 route termination, performs semantic resolution of computing power service identifier, and performs computing power service addressing.
[0082] Step S506: The outgoing node looks up the second routing table, calculates the route to the specified computing power service identifier based on the computing power service identifier and its parameters, and the computing power traffic arrives at an instance of the computing power service to execute the service function.
[0083] In particular, when a computing power service identifier corresponds to multiple computing power service instances, the outgoing node executes a local policy to select the target computing power service instance to forward traffic, and maintains the mapping relationship between the computing power service identifier and the computing power service instance through methods including but not limited to computing power traffic 5-tuples, in order to maintain flow stickiness.
[0084] In another embodiment, the two-level encapsulation and forwarding process based on IP&MPLS OverLay computing service function programming, such as Figure 6 As shown.
[0085] The ingress node calculates the target network edge node or target data center node that meets the computing power traffic requirements based on the first routing table. It then uses the gateway or network edge node to which the target network edge node or target data center node belongs as the egress node. The address of the egress node is used as the locator for the last hop of the corresponding Underlay (IP & MPLS, etc.). The computing power service identifier corresponding to the user request is encapsulated in the Overlay (a virtual network built on top of the physical network) protocol header, such as Universal Network Virtualization Encapsulation (GENEVE), Network Service Header (NSH), Virtual Extensible Local Area Network (VxLAN), etc.
[0086] Specifically, the ingress and egress nodes of the IP&MPLS Overlay need to have semantic resolution capabilities for computing power service identifiers. The computing power application data flow forwarding process is as follows:
[0087] Step S601: The computing power traffic reaches the service access gateway (equivalent to the entry node in the above embodiment);
[0088] Step S602: The service access gateway searches the first routing table based on the user's computing power request and completes IP address encapsulation;
[0089] Step S603: Complete the encapsulation of the computing power service identifier in the OverLay protocol header according to the user's computing power service identifier;
[0090] Specifically, the service access gateway maintains the mapping relationship between computing power traffic and outgoing nodes through methods including but not limited to computing power traffic 5-tuples in order to maintain flow stickiness.
[0091] Step S604: Passing through P node, which can be understood as an intermediate node. P node does not perform semantic parsing of computing power service identifier, but only performs stateless forwarding of computing power, that is, Underlay forwarding.
[0092] Step S605: The computing power traffic arrives at the designated outgoing node. The outgoing node completes the UnderLay route termination, performs semantic parsing of the computing power service identifier in the OverLay protocol header, and performs computing power service addressing.
[0093] Step S606: The outgoing node looks up the second routing table, calculates the route to the specified computing power service identifier based on the computing power service identifier and its parameters, and the computing power traffic arrives at an instance of the computing power service to execute the service function.
[0094] In particular, for scenarios where a computing service identifier corresponds to multiple computing service instances, the outgoing node executes a local policy to select the target computing service instance to forward traffic, and maintains the mapping relationship between the computing service identifier and the computing service instance through methods including but not limited to computing traffic 5-tuples, in order to maintain flow stickiness.
[0095] Through the above embodiments, computing resources are divided into coarse-grained computing resources and fine-grained computing services. The coarse-grained computing resources indicate computing resources whose resource status change frequency is lower than a preset threshold, and the fine-grained computing services indicate fine-grained computing resources whose resource status change frequency is higher than the preset threshold. The coarse-grained computing resources are announced to network edge nodes or data center gateways according to a first method, and the fine-grained computing services are announced to network edge nodes within the domain of the network edge nodes or data center gateways according to a second method. In other words, computing resources are divided into coarse-grained computing resources and fine-grained computing services according to the frequency of resource status changes, and these are announced according to a preset method. This method solves the problem in related technologies where including all types and granularities of computing resources in the routing table maintained by network nodes leads to exponential growth of routing table entries, resulting in impaired routing convergence efficiency. It achieves announcement based on different computing resources, thereby incorporating them into the routing tables maintained by different network nodes.
[0096] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods according to the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes several instructions to cause a terminal device (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods described in the various embodiments of the present invention.
[0097] This embodiment also provides a computing resource notification device, which is used to implement the above embodiments and preferred embodiments; details already described will not be repeated. As used below, the term "module" can be a combination of software and / or hardware that implements a predetermined function. Although the device described in the following embodiments is preferably implemented in software, hardware implementation, or a combination of software and hardware, is also possible and contemplated.
[0098] Figure 7 This is a structural block diagram of a method for announcing computing resources according to an embodiment of the present invention, such as... Figure 7 As shown, the device includes:
[0099] The partitioning module 62 is used to partition computing resources into coarse-grained computing resources and fine-grained computing services. The coarse-grained computing resources are used to indicate computing resources whose resource status change frequency is lower than a preset threshold, and the fine-grained computing services are used to indicate refined computing resources whose resource status change frequency is higher than the preset threshold.
[0100] The notification module 64 is used to notify the coarse-grained computing power resources to the network edge nodes or data center gateways in a first manner, and to notify the fine-grained computing power services to the network edge nodes in the domain where the network edge nodes or data center gateways are located in a second manner.
[0101] Through the above embodiments, computing resources are divided into coarse-grained computing resources and fine-grained computing services. The coarse-grained computing resources indicate computing resources whose resource status change frequency is lower than a preset threshold, and the fine-grained computing services indicate fine-grained computing resources whose resource status change frequency is higher than the preset threshold. The coarse-grained computing resources are announced to network edge nodes or data center gateways according to a first method, and the fine-grained computing services are announced to network edge nodes within the domain of the network edge nodes or data center gateways according to a second method. In other words, computing resources are divided into coarse-grained computing resources and fine-grained computing services according to the frequency of resource status changes, and these are announced according to a preset method. This method solves the problem in related technologies where including all types and granularities of computing resources in the routing table maintained by network nodes leads to exponential growth of routing table entries, resulting in impaired routing convergence efficiency. It achieves announcement based on different computing resources, thereby incorporating them into the routing tables maintained by different network nodes.
[0102] In an exemplary embodiment, the notification module is further configured to notify the coarse-grained computing resources to the network edge node or data center gateway via the Border Gateway Protocol (BGP); and to notify the control plane interface information of the coarse-grained computing resources to the network edge node or data center gateway.
[0103] In other words, there are two ways to announce coarse-grained computing resources: 1) Border Gateway Protocol (BGP) extension method, which announces coarse-grained computing resource information to the network edge node or data center gateway through an extended BGP protocol payload; 2) Centralized controller method, which announces the control plane interface information of the coarse-grained computing resources to the network edge node or data center gateway. The announcement method includes, but is not limited to, the path computation element protocol (PCEP), BGP-LS, etc., and this embodiment of the invention does not limit this.
[0104] In one exemplary embodiment, the notification module is further configured to notify the fine-grained computing power service to network edge nodes within the domain where the network edge node or data center gateway is located using a publish-subscribe subscription method; and to notify the fine-grained computing power service to network edge nodes within the domain where the network edge node or data center gateway is located via the Interior Gateway Protocol (IGP).
[0105] There are two ways to announce fine-grained computing power services: 1) Announce fine-grained computing power services to network edge nodes or data center gateways within the same domain through a publish-subscribe method; 2) Announce fine-grained computing power services through an extension of the Interior Gateway Protocol (IGP), that is, announce the fine-grained computing power services to network edge nodes or data center gateways within the same domain through an extension of the IGP protocol payload.
[0106] In an exemplary embodiment, the above-described apparatus further includes a creation module. After announcing the coarse-grained computing resources to network edge nodes or data center gateways in a first manner and the fine-grained computing services to network edge nodes within the domain of the network edge nodes or data center gateways in a second manner, the creation module is configured to create a first routing table entry based on the coarse-grained computing resources, so that the network edge nodes or data center gateways maintain the first routing table entry; and to create a second routing table entry based on the fine-grained computing services, so that the network edge nodes within the domain of the network edge nodes or data center gateways maintain the second routing table entry.
[0107] This can be understood as creating different routing table entries based on the granularity of computing resources, with different nodes maintaining the corresponding routing table entries. Specifically, a first routing table entry is created based on the coarse-grained computing resources, and this first routing table entry is maintained by the network edge node or data center gateway receiving the coarse-grained computing resources. A second routing table entry is created based on the fine-grained computing services, and this second routing table entry is maintained by network edge nodes within the domain of the network edge node or data center gateway receiving the fine-grained computing services. It should be noted that the coarse-grained computing resources in the first routing table entry have a relatively coarse granularity and a low change frequency. Therefore, the size of the first routing table entry maintained by the network edge node or data center gateway is proportional to the number of connected network edge nodes or data center gateways, thus greatly compressing the size of the first routing table entry. The size of the second routing table entry is proportional to the scale of computing services provided by the network edge nodes within the domain of the network edge node or data center gateway. Since it only maintains fine-grained computing services for local or limited-home network edge nodes or data center gateways within their respective domains, the size of the corresponding second routing table entry is greatly compressed.
[0108] In an exemplary embodiment, the above-described apparatus further includes: a determining module, which creates a first routing table entry based on the coarse-grained computing power resources, and after the network edge node or data center gateway maintains the first routing table entry, the determining module is further configured to, when the ingress node receives computing power traffic, determine a target node of computing power traffic resources that satisfies the computing power traffic based on the first routing table entry, wherein the target node includes: a target network edge node or a target data center node; encapsulate the IP address of the target node in a packet header; obtain a computing power service identifier corresponding to the computing power traffic, and encapsulate the computing power service identifier in the target node, wherein the computing power service identifier has a one-to-one mapping relationship with a computing power service instance.
[0109] In other words, at the entry node (such as a Broadband Remote Access System (BRAS)), two-level encapsulation of IP address and computing power service identifier is performed. When the entry node receives computing power traffic, it determines the target network edge node or target data center node based on the first routing table entry maintained by the network edge node or data center gateway, and uses the target network edge node or target data center node as the target node. The IP address of the target node is encapsulated in the packet header. The target node satisfies the computing power traffic resources of the computing power traffic and determines the corresponding computing power service identifier based on the computing power traffic, and encapsulates the computing power service identifier.
[0110] Furthermore, in order to ensure that computing power traffic is routed to the corresponding computing power service instance, the outgoing node maintains the mapping relationship between the computing power service identifier and the computing power service instance. The method for maintaining the mapping relationship includes, but is not limited to, the 5-tuple scheme.
[0111] Specifically, the above-mentioned device further includes: an encapsulation module, used to encapsulate the destination address of the target node in the message header; to use the target node as the outgoing node of the computing power traffic, to determine the source address of the target node, and to encapsulate the source address in the message header.
[0112] The IP address of the target node can be encapsulated in the packet header in the following ways: 1) Encapsulate the target network edge node or target data center node as the destination address of the target node in the corresponding field of the packet header. Application scenarios include, but are not limited to, network data planes such as IPv4, IPv6, and MPLS; 2) Use the target network edge node or target data center node as the outgoing node, orchestrate the source path, and encapsulate the source path in the corresponding packet header. Application scenarios include, but are not limited to, network data planes such as SR-MPLS and SRv6.
[0113] The computing service identifier can be encapsulated in the following ways: 1) SRv6 computing service identifier programming extension scheme, that is, in the SID (Segment IDentification) locator + function structure, the computing service identifier is encapsulated as a function in the SID; 2) The computing service identifier is encapsulated in the OverLay layer above the IP address.
[0114] In one exemplary embodiment, the above apparatus further includes: an instruction module, configured to instruct the intermediate node not to deseal the encapsulated computing power service identifier when the intermediate node receives computing power traffic carrying the encapsulated IP address and the encapsulated computing power service identifier, and to instruct the intermediate node to forward the computing power traffic carrying the encapsulated IP address and the encapsulated computing power service identifier.
[0115] This can be understood as the intermediate node not needing to identify the computing power service identifier, meaning the intermediate node does not need to decapsulate the computing power service identifier, but only performs normal forwarding based on the encapsulated IP address and the encapsulated computing power service identifier.
[0116] In an exemplary embodiment, the above apparatus further includes: a desealing module, configured to, when an outgoing node receives computing traffic carrying the encapsulated IP address and the encapsulated computing service identifier, instruct the outgoing node to deseal the encapsulated computing service identifier to obtain the computing service identifier; instruct the outgoing node to search for a target computing service instance corresponding to the computing service identifier in the second routing table entry; and forward the computing traffic to the target computing service instance.
[0117] In other words, after the computing power traffic reaches the outgoing node, the outgoing node decapsulates the encapsulated computing power service identifier, searches the second routing table entry, determines the target computing power service instance based on the computing power service identifier, and forwards the computing power traffic to the target computing power service instance. In particular, when the computing power service identifier corresponds to multiple target computing power service instances, the outgoing node executes a local policy to select a specific target computing power service instance.
[0118] Embodiments of the present invention also provide a storage medium storing a computer program, wherein the computer program is configured to execute the steps in any of the above method embodiments when running.
[0119] Optionally, in this embodiment, the storage medium may be configured to store a computer program for performing the following steps:
[0120] S12, the computing power resources are divided into coarse-grained computing power resources and fine-grained computing power services. The coarse-grained computing power resources are used to indicate computing power resources whose resource status change frequency is lower than a preset threshold, and the fine-grained computing power services are used to indicate refined computing power resources whose resource status change frequency is higher than the preset threshold.
[0121] S14, the coarse-grained computing power resources are announced to the network edge node or data center gateway in a first manner, and the fine-grained computing power services are announced to the network edge node or data center gateway in the domain in a second manner.
[0122] Optionally, in this embodiment, the storage medium may include, but is not limited to, various media capable of storing computer programs, such as USB flash drives, read-only memory (ROM), random access memory (RAM), portable hard drives, magnetic disks, or optical disks.
[0123] Embodiments of the present invention also provide an electronic device including a memory and a processor, the memory storing a computer program and the processor being configured to run the computer program to perform the steps in any of the above method embodiments.
[0124] Optionally, the electronic device may further include a transmission device and an input / output device, wherein the transmission device is connected to the processor and the input / output device is connected to the processor.
[0125] Optionally, in this embodiment, the processor can be configured to perform the following steps via a computer program:
[0126] S22, the computing power resources are divided into coarse-grained computing power resources and fine-grained computing power services. The coarse-grained computing power resources are used to indicate computing power resources whose resource status change frequency is lower than a preset threshold, and the fine-grained computing power services are used to indicate refined computing power resources whose resource status change frequency is higher than the preset threshold.
[0127] S24, the coarse-grained computing power resources are announced to the network edge node or data center gateway in a first manner, and the fine-grained computing power services are announced to the network edge node or data center gateway in the domain in a second manner.
[0128] Optionally, in this embodiment, the storage medium may include, but is not limited to, various media capable of storing program code, such as USB flash drives, read-only memory (ROM), random access memory (RAM), portable hard drives, magnetic disks, or optical disks.
[0129] Optionally, specific examples in this embodiment can refer to the examples described in the above embodiments and optional implementations, and will not be repeated here.
[0130] It is obvious to those skilled in the art that the modules or steps of the present invention described above can be implemented using general-purpose computing devices. They can be centralized on a single computing device or distributed across a network of multiple computing devices. Optionally, they can be implemented using computer-executable program code, thereby storing them in a storage device for execution by a computing device. In some cases, the steps shown or described can be performed in a different order than those presented herein, or they can be fabricated as separate integrated circuit modules, or multiple modules or steps can be fabricated as a single integrated circuit module. Thus, the present invention is not limited to any particular combination of hardware and software.
[0131] The above description is merely a preferred embodiment of the present invention and is not intended to limit the invention. Various modifications and variations can be made to the present invention by those skilled in the art. Any modifications, equivalent substitutions, or improvements made within the principles of the present invention should be included within the scope of protection of the present invention.
Claims
1. A method for announcing computing resources, characterized in that, include: The computing resources are divided into coarse-grained computing resource status and fine-grained computing resource status. The coarse-grained computing resource status is used to indicate computing resources whose resource status change frequency is lower than a preset threshold, and the fine-grained computing resource status is used to indicate refined computing resources whose resource status change frequency is higher than the preset threshold. The coarse-grained computing power resource status is announced to the data center gateway in a first manner, and the fine-grained computing power resource status is announced to the network edge nodes in the domain where the data center gateway is located in a second manner. The notification of the coarse-grained computing resource status to the data center gateway according to the first method includes at least one of the following: The coarse-grained computing resource status is announced to the data center gateway via the border gateway BGP protocol; The coarse-grained computing power resource status control plane interface information is announced to the data center gateway; Specifically, announcing the fine-grained computing resource status to the network edge nodes within the domain where the data center gateway is located, according to the second method, includes at least one of the following: The fine-grained computing resource status is announced to the network edge nodes within the domain where the data center gateway is located using a publish-subscribe subscription method. The fine-grained computing resource status is announced to the network edge nodes within the domain where the data center gateway is located via the Interior Gateway Protocol (IGP).
2. The method according to claim 1, characterized in that, After announcing the coarse-grained computing resource status to the data center gateway in a first manner, and announcing the fine-grained computing resource status to the network edge nodes within the domain where the data center gateway is located in a second manner, the method further includes: A first routing table entry is created based on the coarse-grained computing resource status, so that the data center gateway maintains the first routing table entry; and A second routing table entry is created based on the fine-grained computing resource status, so that network edge nodes within the domain where the data center gateway is located maintain the second routing table entry.
3. The method according to claim 2, characterized in that, The method further includes creating a first routing table entry based on the coarse-grained computing resource status, and after the data center gateway maintains the first routing table entry, the method also includes: When the ingress node receives computing power traffic, the target node of the computing power traffic resource that satisfies the computing power traffic is determined according to the first routing table entry, wherein the target node includes: a target network edge node or a target data center node; The IP address of the target node is encapsulated in the packet header; Obtain the computing power service identifier corresponding to the computing power traffic, and encapsulate the computing power service identifier in the target node, wherein there is a one-to-one mapping relationship between the computing power service identifier and the computing power service instance.
4. The method according to claim 3, characterized in that, The IP address of the target node is encapsulated in the packet header, which includes at least one of the following: The destination address of the target node is encapsulated in the message header; The target node is used as the outgoing node of the computing power traffic to determine the source address of the target node, and the source address is encapsulated in the packet header.
5. The method according to claim 3, characterized in that, The method further includes: When an intermediate node receives computing power traffic carrying an encapsulated IP address and an encapsulated computing power service identifier, it instructs the intermediate node not to decapsulate the encapsulated computing power service identifier and instructs the intermediate node to forward the computing power traffic carrying the encapsulated IP address and the encapsulated computing power service identifier.
6. The method according to claim 3, characterized in that, The method further includes: When an outgoing node receives computing power traffic carrying an encapsulated IP address and an encapsulated computing power service identifier, it instructs the outgoing node to decapsulate the encapsulated computing power service identifier to obtain the computing power service identifier. The outgoing node is instructed to search for the target computing power service instance corresponding to the computing power service identifier in the second routing table entry; The computing power traffic is forwarded to the target computing power service instance.
7. A device for announcing computing resources, characterized in that, include: The partitioning module is used to partition computing resources into coarse-grained computing resource status and fine-grained computing resource status. The coarse-grained computing resource status is used to indicate computing resources whose resource status change frequency is lower than a preset threshold, and the fine-grained computing resource status is used to indicate refined computing resources whose resource status change frequency is higher than the preset threshold. The notification module is used to notify the data center gateway of the coarse-grained computing power resource status in a first manner, and to notify the network edge nodes in the domain where the data center gateway is located in a second manner. The notification module is further configured to perform at least one of the following: The coarse-grained computing resource status is announced to the data center gateway via the border gateway BGP protocol; The coarse-grained computing power resource status control plane interface information is announced to the data center gateway; The notification module is further configured to perform at least one of the following: The fine-grained computing resource status is announced to the network edge nodes within the domain where the data center gateway is located using a publish-subscribe subscription method. The fine-grained computing resource status is announced to the network edge nodes within the domain where the data center gateway is located via the Interior Gateway Protocol (IGP).
8. A computer-readable storage medium, characterized in that, The storage medium stores a computer program, wherein the computer program is configured to execute the method described in any one of claims 1 to 6 when it is run.
9. An electronic device comprising a memory and a processor, characterized in that, The memory stores a computer program, and the processor is configured to execute the method described in any one of claims 1 to 6 through the computer program.
