Method and system for collecting and managing computing power information of network equipment

Through the computing power information collection and management system in network equipment, the problem of insufficient management of computing power information by network equipment is solved, efficient management of local and remote computing power information is achieved, and resource utilization and computing efficiency are improved.

CN120602492AActive Publication Date: 2025-09-05CHINA TOWER CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202511079595.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-08-04
Publication Date
2025-09-05
Estimated Expiration
2045-08-04

AI Technical Summary

Technical Problem

Current network equipment lacks the ability to manage computing power information, which limits the full utilization of computing resources and overall computing efficiency.

Method used

Through the coordinated operation of the computing power information collection module, routing module and management module, local and remote computing power information management is realized. The gRPC, SNMP and Prometheus protocols are used for information collection and conversion. The routing information is linked with BGP and SDN controller to dynamically generate and update the computing power routing table.

Benefits of technology

It improves the management and utilization efficiency of computing power information, provides a basis for computing power information evaluation and user service discovery for network devices, and optimizes the configuration of computing power resources and traffic forwarding path calculation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120602492A_ABST
    Figure CN120602492A_ABST
Patent Text Reader

Abstract

The invention belongs to the technical field of communication, and provides a network equipment computing power information collection and management method and system, and the method comprises the steps: a computing power information collection module cooperates with a computing power collection agent to obtain and process computing power information from a local computing power cluster, and transmits the processed computing power information to a computing power management module; the computing power routing module receives updated computing power routing information announced by the remote equipment, converts the updated computing power routing information into computing power information and transmits the computing power information to the computing power management module; the computing power management module receives computing power information and stores the computing power information to a computing power information table; the computing power information change in the computing power information table is monitored, and local computing power change information is transmitted to the computing power routing module; the computing power routing module dynamically generates or updates a computing power routing table based on the computing power change information to obtain a current local computing power routing table; and notifying the remote equipment of the local computing power routing based on the current local computing power routing table. Local computing power information and computing power information of remote notification can be managed at the same time, and the management and use efficiency of the computing power information is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure belongs to the field of communication technology, and in particular relates to a method and system for collecting and managing computing power information of network devices. Background Art

[0002] With the continuous advancement of cloud computing and big data technologies, the effective management and scheduling of computing power information has become increasingly critical. However, current network equipment generally lacks the ability to manage computing power information, which not only limits the full utilization of computing power resources within the network but also reduces overall computing efficiency.

[0003] In computing networks, the perception and processing of computing power information is fundamental to optimizing computing resource allocation and calculating traffic forwarding paths. This requires comprehensive management of local and remote computing power information. Current network equipment primarily focuses on forwarding and controlling data packets, but falls short in managing computing power information. Therefore, network devices urgently need a method and system for collecting and managing computing power information. Summary of the Invention

[0004] To solve the above problems, the present disclosure provides a method and system for collecting and managing computing power information of network devices. Through the coordinated operation of various modules, it can simultaneously manage local computing power information and remotely notified computing power information, thereby improving the management and use efficiency of computing power information.

[0005] In a first aspect, a method for collecting and managing computing power information of network devices is provided, comprising: The computing power information collection module, in accordance with the computing power information type and format defined by the computing power management module and based on the local computing power collection tasks issued by the computing power management module, collaborates with the computing power collection agent to obtain and process computing power information from the local computing power cluster, and transmits the processed computing power information to the computing power management module. The computing power information collection module is deployed on the network device, and the computing power collection agent is deployed on the computing power node of the computing power cluster. The computing power routing module receives the updated computing power routing information notified by the remote device, converts the updated computing power routing information into computing power information, and transmits the converted computing power information to the computing power management module; The computing power management module receives the processed computing power information transmitted by the computing power information collection module and the converted computing power information transmitted by the computing power routing module, and stores the processed computing power information and the converted computing power information in the computing power information table; The computing power management module monitors computing power changes based on the local computing power information in the computing power information table and transmits the local computing power change information to the computing power routing module; The computing power routing module dynamically generates or updates the computing power routing table based on the local computing power change information, obtains the current local computing power routing table, and notifies the local computing power routing to the remote device based on the current local computing power routing table.

[0006] Furthermore, the updated computing power routing information is converted into computing power information, including: The computing power routing information is converted into computing power information by using the field mapping relationship between the computing power routing table and the computing power information table; wherein, the field mapping relationship is as follows: the Destination field in the computing power routing table is mapped to the S_IP field in the computing power information table; the APP field in the computing power routing table is mapped to the S_NAME field in the computing power information table; the bgp in the TYPE field in the computing power routing table is mapped to the remote in the Site field in the computing power information table; other fields in the computing power routing table are mapped one-to-one with other fields in the computing power information table, and other fields include: CPU and / or GPU.

[0007] Furthermore, the computing power routing module dynamically generates or updates the computing power routing table based on the local computing power change information to obtain the current local computing power routing table, including: The computing power routing module uses the field mapping relationship between the computing power routing table and the computing power information table to convert the computing power change information into computing power routing information, and uses the converted computing power routing information to dynamically generate or update the computing power routing table to obtain the current local computing power routing table; among which, the field mapping relationship is: the S_IP field in the computing power information table is mapped to the Destination field in the computing power routing table; the S_NAME field in the computing power information table is mapped to the APP field in the computing power routing table; the local in the Site field in the computing power information table is mapped to the direct in the TYPE field in the computing power routing table; other fields in the computing power information table are mapped one-to-one with other fields in the computing power routing table, and other fields include: CPU and / or GPU.

[0008] Furthermore, the defined computing power information types and formats include: a unique identification field, whose data type is String; a service type field, whose data type is String; and a resource type field, whose data type is String.

[0009] Furthermore, before the computing power management module transmits the local computing power change information to the computing power routing module, the method further includes: The computing power management module calculates the current local computing power change using the formula A'=T|(C-C')|, where A' is the current local computing power change value, T is the change rate, C' is the total computing power after the change, and C is the current local computing power. Different computing power ranges correspond to different change rates. The computing power management module determines whether the current local computing power change value exceeds the defined computing power change threshold; The computing power management module transmits computing power change information to the computing power routing module, including: When the current local computing power change value exceeds the defined computing power change threshold, the computing power management module transmits the local computing power change information to the computing power routing module.

[0010] Furthermore, the processed computing power information is passed to the computing power management module, including: The processed computing power information is passed to the computing power management module through the gRPC protocol, SNMP protocol or Prometheus toolkit.

[0011] Furthermore, the computing power routing module receives updated computing power routing information notified by the remote device, including: The computing power routing module receives updated computing power routing information announced by remote devices by linking with the BGP routing protocol; or The computing power routing module receives updated computing power routing information notified by remote devices by coordinating with the SDN controller.

[0012] In a second aspect, a network device computing power information collection and management system is provided, including: a computing power information collection module, a computing power routing module, a computing power management module and a computing power information table; wherein: The computing power information collection module is used to cooperate with the computing power collection agent to obtain and process computing power information from the local computing power cluster according to the computing power information type and format defined by the computing power management module and the local computing power collection task issued by the computing power management module, and then pass the processed computing power information to the computing power management module. The computing power information collection module is deployed on the network device, and the computing power collection agent is deployed on the computing power node of the computing power cluster; The computing power routing module is used to receive updated computing power routing information notified by the remote device, convert the updated computing power routing information into computing power information, and transmit the converted computing power information to the computing power management module; and dynamically generate or update the computing power routing table based on the computing power change information locally to obtain the current local computing power routing table; based on the current local computing power routing table, notify the remote device of the local computing power routing; The computing power management module is configured to receive the processed computing power information transmitted by the computing power information acquisition module and the converted computing power information transmitted by the computing power routing module, store the processed computing power information and the converted computing power information in a computing power information table; monitor computing power changes based on the local computing power information in the computing power information table, and transmit local computing power change information to the computing power routing module; The computing power information table is used to store the processed computing power information and the converted computing power information.

[0013] Furthermore, the computing power routing module is specifically used to convert the computing power routing information into computing power information by utilizing the field mapping relationship between the computing power routing table and the computing power information table; wherein, the field mapping relationship is: the Destination field in the computing power routing table is mapped to the S_IP field in the computing power information table; the APP field in the computing power routing table is mapped to the S_NAME field in the computing power information table; the bgp in the TYPE field in the computing power routing table is mapped to the remote in the Site field in the computing power information table; other fields in the computing power routing table are mapped one-to-one to other fields in the computing power information table, and other fields include: CPU and / or GPU.

[0014] Furthermore, the computing power routing module is specifically used to utilize the field mapping relationship between the computing power routing table and the computing power information table to convert the computing power change information into computing power routing information, and utilize the computing power routing information obtained by the conversion to dynamically generate or update the computing power routing table to obtain the current local computing power routing table; wherein, the field mapping relationship is: the S_IP field in the computing power information table is mapped to the Destination field in the computing power routing table; the S_NAME field in the computing power information table is mapped to the APP field in the computing power routing table; the local in the Site field in the computing power information table is mapped to the direct in the TYPE field in the computing power routing table; other fields in the computing power information table are mapped one-to-one to other fields in the computing power routing table, and other fields include: CPU and / or GPU.

[0015] In a third aspect, an electronic device is provided, comprising a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory communicate with each other via the communication bus; Memory for storing computer programs; The processor is used to implement the above method when executing the program stored in the memory.

[0016] In a fourth aspect, a computer storage medium stores a computer program, and the computer program implements the above method when executed by a processor.

[0017] Compared with the prior art, the present disclosure has the following advantages: It can simultaneously manage local computing power information and remotely notified computing power information, improve the management and use efficiency of computing power information by integrating all information resources, and provide basic information for network devices to evaluate computing power information and discover user services.

[0018] Other features and advantages of the present disclosure will be described in the following description, and in part will become apparent from the description, or will be understood by practicing the present disclosure. The purposes and other advantages of the present disclosure can be realized and obtained by the structures indicated in the description, claims and drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] In order to more clearly illustrate the embodiments of the present disclosure or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present disclosure. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0020] Figure 1 A schematic diagram of a method for managing computing power of a network device according to an embodiment of the present disclosure is shown; Figure 2 A schematic diagram illustrating the interaction between the computing power collection module and the computing power management module to implement local computing power collection according to an embodiment of the present disclosure is shown; Figure 3 The figure shows the intention of implementing remote computing power collection by the computing power routing module and the computing power management module interacting according to an embodiment of the present disclosure; Figure 4 A schematic diagram illustrating a process in which a change in computing power information exceeding a threshold triggers the transmission of computing power information in a gRPC channel according to an embodiment of the present disclosure is shown; Figure 5 shows a network topology diagram according to an embodiment of the present disclosure; Figure 6 A schematic diagram of a network device computing power management system according to an embodiment of the present disclosure is shown. DETAILED DESCRIPTION

[0021] In a computing power network, network devices need to perceive both local and remote computing power information. Centrally and efficiently managing this information is a current challenge. This invention provides a method for collecting and managing computing power information on a network. By interoperating with a routing protocol and identifying computing power information advertised by the routing protocol, network devices are able to manage remote computing power information, thereby providing basic information for network devices to evaluate computing power information and discover user services. This method can simultaneously manage both local and remotely advertised computing power information, improving the efficiency of managing and using computing power information by integrating all information resources.

[0022] To make the objectives, technical solutions, and advantages of the embodiments of the present disclosure more clear, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present disclosure, not all of the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments of the present disclosure without making any creative efforts shall fall within the scope of protection of the present disclosure.

[0023] like Figure 1 The diagram of a method for managing computing power of a network device according to an embodiment of the present disclosure is shown in FIG. The method for collecting and managing computing power information of a network device according to an embodiment of the present disclosure includes the following steps: Step 101: The computing power information collection module collects local computing power information and transmits it to the computing power management module.

[0024] Specifically, the computing power information collection module obtains and processes computing power information from the local computing power cluster in accordance with the computing power information type and format defined by the computing power management module and the local computing power collection task issued by the computing power management module, and passes the processed computing power information to the computing power management module.

[0025] Among them, the computing power information collection module is deployed on the network equipment, and the computing power collection agent is deployed on the computing power node of the computing power cluster.

[0026] In order to achieve unified management of computing power information, the computing power management module can define the computing power information request format as shown in Table 1 below.

[0027]

[0028] The computing power collection module collects local computing power based on the tasks issued by the computing power management module. The computing power collection module consists of a computing power collection module deployed on the network device and a computing power collection agent deployed on the computing power cluster node. The modules use the gRPC (Google Remote Procedure Call) channel to transmit information. Figure 2 This is a schematic diagram of information interaction between modules, including the following steps: 1. The computing power management module defines the type and format of the collected computing power information.

[0029] 2. The computing power collection module located in the network device uses the GRPC method to send the computing power collection request to the computing power collection agent located in the computing power cluster node.

[0030] 3. The computing power collection agent located at the computing power cluster node responds to the computing power collection request.

[0031] 4. The computing power collection agent located at the computing power cluster node periodically sends the collected computing power information to the computing power collection module.

[0032] 5. The computing power collection module located in the network device confirms the computing power information reported.

[0033] 6. The computing power collection module located in the network device processes the new computing power information and transmits the computing power information to the computing power management module.

[0034] The gRPC data format for computing power information collection can be as follows: { "cpu": { "model": "Intel Core i7-11700K", "cores": 8, "threads": 16, "base_clock": 3.6, "max_boost_clock": 5.0, "cache": 16 }, "gpu": { "model": "NVIDIA GeForce RTX 3070", "vram": 8, "core_clock": 1725, "boost_clock": 1815, "cuda_cores": 5888 } } The gRPC protocol is used in the local computing power collection process. It provides a transmission channel for the collection of computing power information, but it does not directly participate in the computing power collection process. gRPC can also be used to extend related protocols and fields to realize the collection of computing power information and other resources.

[0035] You can also use SNMP (Simple Network Management Protocol) to collect computing power information. You can also use the Prometheus toolkit, an open source system monitoring and alerting toolkit that can also be used to collect computing power information, especially in containerized and microservice architectures.

[0036] Step 102: The computing power routing module transmits computing power information to the computing power management module based on the updated computing power routing information notified by the remote device.

[0037] Specifically, the computing power routing module receives updated computing power routing information notified by the remote device, converts the updated computing power routing information into computing power information, and transmits the converted computing power information to the computing power management module.

[0038] In this step 102, the computing power management module interacts with the computing power routing module to realize the conversion of computing power information and computing power routing.

[0039] The computing power information table design can be shown in Table 2 below, and the computing power routing table design can be shown in Table 3 below:

[0040] Specifically, when the network device receives the computing power routing update notified by the remote device, it converts the computing power routing into computing power information and passes it to the computing power management module using the gRPC channel. This process is as follows: Figure 3 As shown, including: 1. The computing power routing module receives the computing power routing update; 2. The computing power routing module converts computing power routing information into computing power information for transmission; 3. The computing power management module stores the computing power information in the computing power information table; 4. The computing power management module confirms the computing power transfer operation; The mapping relationship between the computing power routing table and the computing power information table fields is as follows: The Destination field in the computing power routing table is mapped to the S_IP field in the computing power information table.

[0041] The APP field in the computing power routing table is mapped to the S_NAME field in the computing power information table.

[0042] The bgp value in the TYPE field in the computing power routing table is mapped to remote in the computing power information table.

[0043] The CPU, GPU, and other fields in the computing power routing table are mapped one-to-one with the fields in the computing power information table.

[0044] The process of acquiring computing power information from remote devices is implemented using BGP routing protocol linkage, which allows local computing power to be communicated to remote devices and remote information to be communicated to local devices. Alternatively, this can be achieved using SDN controller linkage, which leverages the flexibility of software-defined networking to communicate computing power information.

[0045] In the above steps 101 and 102, these alternatives provide flexibility and selectivity, enabling the computing power information management system to select the most appropriate collection and notification method according to the specific application scenario and network environment, thereby optimizing the management and utilization efficiency of computing power resources.

[0046] It should be noted that there is no sequential execution relationship between the above steps 101 and 102, but a parallel execution relationship.

[0047] Step 103: The computing power management module receives the processed computing power information and the converted computing power information, and stores them in the computing power information table.

[0048] Specifically, the computing power management module receives the processed computing power information transmitted by the computing power information collection module and the converted computing power information transmitted by the computing power routing module, and stores the processed computing power information and the converted computing power information in the computing power information table, wherein the computing power management module is deployed on the network device.

[0049] Step 104: The computing power management module monitors computing power changes based on the local computing power information in the computing power information table, and transmits the local computing power change information to the computing power routing module.

[0050] The computing power management module of the network device transmits the local computing power information to the computing power routing module to reduce the fluctuation of computing power routing and improve the transmission efficiency. Before the computing power management module transmits the computing power change information to the computing power routing module, the method further includes: The computing power management module calculates the current local computing power change value based on the monitored computing power changes using the formula A'=T|(C-C')|. Where A' is the current local computing power change value, T is the change rate, C' is the total computing power after the change, and C is the current local computing power. Different computing power ranges correspond to different change rates. The computing power management module determines whether the current local computing power change value exceeds the defined computing power change threshold; At this time, this step 104 is specifically as follows: when the current local computing power change value exceeds the defined computing power change threshold, the computing power management module transmits the computing power change information to the computing power routing module.

[0051] Here, the computing power management module defines computing power change thresholds based on the resource status of different computing power information. When the computing power information parameter changes exceed the defined computing power change threshold, the computing power management module transmits the computing power change information to the computing power routing module. If the computing power information parameter changes do not exceed the computing power change threshold, the computing power parameter change is not transmitted.

[0052] It should be noted that the computing power management module transmits the local computing power information to the computing power routing module, and the computing power routing module transmits the computing power obtained by the BGP neighbor to the computing power management module. To avoid the flooding effect, the transmission of computing power is one-way. The computing power information transmitted from the remote device is no longer transmitted to the remote device, but the local computing power information can be transmitted to the remote end.

[0053] The process of transmitting the local computing power information in the gRPC channel is triggered when the local computing power information changes beyond the computing power change threshold. Figure 4 As shown: 1. The computing power management module defines the computing power change threshold; 2. The computing power management module monitors changes in the local computing power information table; 3. If the computing power information changes beyond the computing power change threshold, the local computing power information transmission is triggered; 4. The computing power routing module updates the computing power routing table based on the transmitted computing power information using the mapping relationship between the computing power information table and the computing power routing table fields; 5. The computing power routing module confirms the transmission of computing power information.

[0054] The mapping relationship between the computing power information table and the computing power routing table fields is as follows: The S_IP field in the computing power information table is mapped to the Destination field in the computing power routing table.

[0055] The S_NAME field in the computing power information table is mapped to the APP field in the computing power routing table.

[0056] The "local" field in the Site field of the computing power information table is mapped to the "direct" field in the TYPE field of the computing power routing table.

[0057] The CPU, GPU, and other fields in the computing power information table are mapped one-to-one with the fields in the computing power routing table.

[0058] Step 105: The computing power routing module dynamically generates or updates the computing power routing table based on the local computing power change information to obtain the current local computing power routing table; and notifies the remote device of the local computing power routing based on the current local computing power routing table.

[0059] In the computing power information management system of the present invention, multiple alternatives are provided for the collection of local computing power information and the notification of remote computing power information to adapt to different network environments and technical requirements.

[0060] Below is Figure 5 The network topology shown in the figure illustrates the solution of the embodiment of the present disclosure: Figure 5 It includes the following 3 steps: 1. The computing power management module located in the network device defines the computing power collection parameters and computing power notification computing power change thresholds.

[0061] 2. The computing power collection module located in network device 1 is responsible for collecting the computing power information of computing power node 1 and computing power node 2 under this node, and the computing power collection module located in network device 2 is responsible for collecting the computing power information of computing power node 3 under this node.

[0062] 3. The computing power routing modules of each network device announce each other’s computing power routing.

[0063] The computing power information table of network device 1 is as follows: Table 4:

[0064] The computing power routing table of network device 1 is as follows: Table 5:

[0065] The computing power information table of network device 2 is as follows: Table 6:

[0066] The computing power routing table of network device 2 is as follows: Table 7:

[0067] Based on the above method, the embodiment of the present disclosure also provides a network device computing power information collection and management system corresponding to the above method. Figure 6 A schematic diagram of a network device computing power information collection and management system according to an embodiment of the present disclosure is shown, including: a computing power collection module, a computing power routing module, a computing power management module, and a computing power information table, wherein: The computing power information collection module is used to cooperate with the computing power collection agent (agent) to obtain and process computing power information from the local computing power cluster according to the computing power information type and format defined by the computing power management module and the local computing power collection task issued by the computing power management module, and then pass the processed computing power information to the computing power management module. The computing power information collection module is deployed on the network device, and the computing power collection agent is deployed on the computing power node of the computing power cluster; The computing power routing module is configured to receive updated computing power routing information notified by a remote device, convert the updated computing power routing information into computing power information, and transmit the converted computing power information to the computing power management module; and dynamically generate or update the computing power routing table based on the local computing power change information to obtain the current local computing power routing table; and notify the remote device of the local computing power routing based on the current local computing power routing table; The computing power management module is used to receive the processed computing power information transmitted by the computing power information acquisition module and the converted computing power information transmitted by the computing power routing module, store the processed computing power information and the converted computing power information in the computing power information table; maintain the computing power information table, monitor the computing power changes based on the local computing power information in the computing power information table, and transmit the local computing power change information to the computing power routing module; The computing power information table is used to store the processed computing power information and the converted computing power information for subsequent retrieval and use.

[0068] Specifically, the computing power management module provides a northbound interface for calling by third-party platforms such as controllers, so as to define global parameters on the controller and send them to the computing power management module of the network device.

[0069] Through the coordinated operation of the above modules, network devices can effectively manage and utilize local and remote computing resources, thereby optimizing the user service discovery process and improving overall network performance.

[0070] Furthermore, the computing power routing module is specifically used to convert the computing power routing information into computing power information by utilizing the field mapping relationship between the computing power routing table and the computing power information table; wherein, the field mapping relationship is: the Destination field in the computing power routing table is mapped to the S_IP field in the computing power information table; the APP field in the computing power routing table is mapped to the S_NAME field in the computing power information table; the bgp in the TYPE field in the computing power routing table is mapped to the remote in the Site field in the computing power information table; other fields in the computing power routing table are mapped one-to-one to other fields in the computing power information table, and other fields include: CPU and / or GPU.

[0071] Furthermore, the computing power routing module is specifically used to utilize the field mapping relationship between the computing power routing table and the computing power information table to convert the computing power change information into computing power routing information, and utilize the computing power routing information obtained by the conversion to dynamically generate or update the computing power routing table to obtain the current local computing power routing table; wherein, the field mapping relationship is: the S_IP field in the computing power information table is mapped to the Destination field in the computing power routing table; the S_NAME field in the computing power information table is mapped to the APP field in the computing power routing table; the local in the Site field in the computing power information table is mapped to the direct in the TYPE field in the computing power routing table; other fields in the computing power information table are mapped one-to-one to other fields in the computing power routing table, and other fields include: CPU and / or GPU.

[0072] Based on the same inventive concept as the above disclosure, the present disclosure also provides an electronic device. The electronic device of the present disclosure embodiment includes at least one processor and at least one memory electrically connected to each other, the memory being electrically connected to the processor, wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method described above.

[0073] It should be noted that the electrical connection between the above-mentioned units does not necessarily mean the connection between lines. An indirect connection method can be applied to the embodiments of the present disclosure as long as the purpose of the present disclosure is achieved.

[0074] Based on the same inventive concept, the present disclosure further provides a computer storage medium, wherein the computer storage medium stores a computer program, and when the computer program is executed by a processor, the above method is implemented.

[0075] Although the present disclosure has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein; and these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present disclosure.

Claims

1. A method for collecting and managing computing power information of network equipment, characterized in that: include: The computing power information collection module, in accordance with the computing power information type and format defined by the computing power management module and based on the local computing power collection tasks issued by the computing power management module, collaborates with the computing power collection agent to obtain and process computing power information from the local computing power cluster, and transmits the processed computing power information to the computing power management module. The computing power information collection module is deployed on the network device, and the computing power collection agent is deployed on the computing power node of the computing power cluster. The computing power routing module receives the updated computing power routing information notified by the remote device, converts the updated computing power routing information into computing power information, and transmits the converted computing power information to the computing power management module; The computing power management module receives the processed computing power information transmitted by the computing power information collection module and the converted computing power information transmitted by the computing power routing module, and stores the processed computing power information and the converted computing power information in the computing power information table; The computing power management module monitors computing power changes based on the local computing power information in the computing power information table and transmits the local computing power change information to the computing power routing module; The computing power routing module dynamically generates or updates the computing power routing table based on the local computing power change information, obtains the current local computing power routing table, and notifies the local computing power routing to the remote device based on the current local computing power routing table.

2. The method according to claim 1, characterized in that Convert the updated computing power routing information into computing power information, including: The computing power routing information is converted into computing power information by using the field mapping relationship between the computing power routing table and the computing power information table; wherein, the field mapping relationship is as follows: the Destination field in the computing power routing table is mapped to the S_IP field in the computing power information table; the APP field in the computing power routing table is mapped to the S_NAME field in the computing power information table; the bgp in the TYPE field in the computing power routing table is mapped to the remote in the Site field in the computing power information table; other fields in the computing power routing table are mapped one-to-one with other fields in the computing power information table, and other fields include: CPU and / or GPU.

3. The method according to claim 1, characterized in that The computing power routing module dynamically generates or updates the computing power routing table based on the local computing power change information, and obtains the current local computing power routing table, including: The computing power routing module uses the field mapping relationship between the computing power routing table and the computing power information table to convert the computing power change information into computing power routing information, and uses the converted computing power routing information to dynamically generate or update the computing power routing table to obtain the current local computing power routing table; among which, the field mapping relationship is: the S_IP field in the computing power information table is mapped to the Destination field in the computing power routing table; the S_NAME field in the computing power information table is mapped to the APP field in the computing power routing table; the local in the Site field in the computing power information table is mapped to the direct in the TYPE field in the computing power routing table; other fields in the computing power information table are mapped one-to-one with other fields in the computing power routing table, and other fields include: CPU and / or GPU.

4. The method according to any one of claims 1 to 3, characterized in that: The defined computing power information types and formats include: a unique identifier field, whose data type is String; a service type field, whose data type is String; and a resource type field, whose data type is String.

5. The method according to any one of claims 1 to 3, characterized in that: Before the computing power management module transmits the local computing power change information to the computing power routing module, the method further includes: The computing power management module calculates the current local computing power change using the formula A'=T|(C-C')|, where A' is the current local computing power change value, T is the change rate, C' is the total computing power after the change, and C is the current local computing power. Different computing power ranges correspond to different change rates. The computing power management module determines whether the current local computing power change value exceeds the defined computing power change threshold; The computing power management module transmits computing power change information to the computing power routing module, including: When the current local computing power change value exceeds the defined computing power change threshold, the computing power management module transmits the local computing power change information to the computing power routing module.

6. The method according to any one of claims 1 to 3, characterized in that: The processed computing power information is passed to the computing power management module, including: The processed computing power information is passed to the computing power management module through the gRPC protocol, SNMP protocol or Prometheus toolkit.

7. The method according to any one of claims 1 to 3, characterized in that: The computing power routing module receives updated computing power routing information notified by the remote device, including: The computing power routing module receives updated computing power routing information announced by remote devices by linking with the BGP routing protocol; or The computing power routing module receives updated computing power routing information notified by remote devices by coordinating with the SDN controller.

8. A network equipment computing power information collection and management system, characterized in that: include: Computing power information collection module, computing power routing module, computing power management module and computing power information table; among which: The computing power information collection module is used to obtain and process computing power information from the local computing power cluster in accordance with the computing power information type and format defined by the computing power management module and the local computing power collection task issued by the computing power management module, and then pass the processed computing power information to the computing power management module. The computing power information collection module is deployed on the network device, and the computing power collection agent is deployed on the computing power node of the computing power cluster; The computing power routing module is used to receive updated computing power routing information notified by the remote device, convert the updated computing power routing information into computing power information, and transmit the converted computing power information to the computing power management module; and dynamically generate or update the computing power routing table based on the computing power change information locally to obtain the current local computing power routing table; based on the current local computing power routing table, notify the remote device of the local computing power routing; The computing power management module is configured to receive the processed computing power information transmitted by the computing power information acquisition module and the converted computing power information transmitted by the computing power routing module, store the processed computing power information and the converted computing power information in a computing power information table; monitor computing power changes based on the local computing power information in the computing power information table, and transmit local computing power change information to the computing power routing module; The computing power information table is used to store the processed computing power information and the converted computing power information.

9. The network equipment computing power information collection and management system according to claim 8, characterized in that: The computing power routing module is specifically used to convert computing power routing information into computing power information by utilizing the field mapping relationship between the computing power routing table and the computing power information table. The field mapping relationship is as follows: the Destination field in the computing power routing table is mapped to the S_IP field in the computing power information table; the APP field in the computing power routing table is mapped to the S_NAME field in the computing power information table; the bgp in the TYPE field in the computing power routing table is mapped to the remote in the Site field in the computing power information table; other fields in the computing power routing table are mapped one-to-one with other fields in the computing power information table, and other fields include: CPU and / or GPU.

10. The network equipment computing power information collection and management system according to claim 8, characterized in that: The computing power routing module is specifically used to use the field mapping relationship between the computing power routing table and the computing power information table to convert the computing power change information into computing power routing information, and use the computing power routing information obtained by the conversion to dynamically generate or update the computing power routing table to obtain the current local computing power routing table; wherein, the field mapping relationship is: the S_IP field in the computing power information table is mapped to the Destination field in the computing power routing table; the S_NAME field in the computing power information table is mapped to the APP field in the computing power routing table; the local in the Site field in the computing power information table is mapped to the direct in the TYPE field in the computing power routing table; other fields in the computing power information table are mapped one-to-one with other fields in the computing power routing table, and other fields include: CPU and / or GPU.

11. An electronic device, characterized in that: It includes a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other via the communication bus; Memory for storing computer programs; A processor, configured to implement the method according to any one of claims 1 to 7 when executing a program stored in a memory.

12. A computer storage medium, characterized in that The computer storage medium stores a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.

Citation Information

Patent Citations

  • Edge computing power resource scheduling method and system based on terminal triggering

    CN112134802A

  • Calculation network scheduling method, network domain, cloud side node, computing power gateway, system and medium

    CN119276861A

  • Memory allocation method and device for model in heterogeneous system, medium and product

    CN119621356A

  • Computing power processing network system, and service processing method and device

    WO2022028418A1