Resource information collection function architecture, processing method, electronic device, and storage medium
By introducing a resource information collection function architecture into the computing power network control layer, the problem that the computing power network control layer cannot dynamically grasp the resource information of the entire network is solved, realizing the comprehensive collection and visualization processing of resource information, and improving the efficiency of resource monitoring and transactions.
Patent Information
- Application Number
- PCT/CN2024/127412
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2024-07-02
- Filing Date
- 2024-10-25
- Publication Date
- 2026-01-08
AI Technical Summary
In existing technologies, the computing network control layer cannot dynamically grasp the resource information of the entire network, resulting in poor resource monitoring, management and scheduling effects.
A resource information collection functional architecture is provided, including a resource information perception component, an announcement component, an integration component, and a view generation component. Through these components, resource information is obtained from the computing power network resource layer, and then announced, integrated, and visualized. A visualized resource information table is generated and sent to the computing power network service layer and the orchestration management layer.
It enhances the comprehensiveness and standardization of resource information in the computing network control layer, supports the visualization of resource transactions and monitoring processes, and ensures that the computing network service layer and orchestration management layer can dynamically grasp the resource information of the entire network.
Smart Images

Figure CN2024127412_08012026_PF_FP_ABST
Abstract
Description
Resource information collection function architecture, processing method, electronic device and storage medium
[0001] The present application claims priority to the Chinese patent application No. 2024108804620, filed on July 2, 2024, and entitled "Resource information collection function architecture, processing method, electronic device and storage medium", the content of which is incorporated herein by reference in its entirety. TECHNICAL FIELD
[0002] The present application relates to the technical field of computing power network, in particular to a resource information collection function architecture, a processing method, an electronic device, a storage medium and a computer program product. BACKGROUND
[0003] The related standards define the function architecture of the computing power network, including the resource layer, the control layer, the service layer and the orchestration management layer. Among them, the control layer collects the resource information of the resource layer of the computing power network through computing power routing and other ways, and sends the resource information to the service layer of the computing power network for further processing.
[0004] According to the definition of the related standards, the control layer of the computing power network needs to collect various resource information. Moreover, the collection of resource information is the premise for the subsequent resource scheduling of the computing power network. After collecting various resource information, each resource can be monitored, managed, scheduled and applied. However, the related technology does not study the method of resource information collection proposed by the related standards, which leads to that the control layer of the computing power network cannot dynamically master the resource information of the whole network.
[0005] SUMMARY
[0006] Therefore, it is necessary to provide a resource information collection function architecture, a processing method, an electronic device, a computer readable storage medium and a computer program product capable of improving the resource information collection effect of the control layer of the computing power network.
[0007] In a first aspect, the present application provides a resource information collection function architecture deployed in the control layer of the computing power network, comprising:
[0008] a resource information perception component, responsible for connecting with the resource layer of the computing power network, and obtaining resource information from the resource layer of the computing power network;
[0009] a resource information announcement component, configured to receive the resource information from the resource information perception component, and announce the resource information;
[0010] a resource information integration component, configured to receive the resource information, and generate an integrated resource information table;
[0011] The resource view generation component generates a visual resource information table based on the integrated resource information table and sends the visual resource information table to the computing power network service layer and / or the computing power network orchestration management layer.
[0012] In one of the embodiments, wherein:
[0013] The resource information perception component periodically or on demand acquires resource information from the computing power network resource layer and sends the acquired resource information to the resource information announcement component.
[0014] In one of the embodiments, wherein:
[0015] The resource information acquired by the resource information perception component from the computing power network resource layer includes at least one of computing power resource information, network resource information, storage resource information, and algorithm resource information.
[0016] In one of the embodiments, wherein:
[0017] The resource information announcement component receives resource information from the resource information perception component and announces the resource information across the network.
[0018] In one of the embodiments, wherein:
[0019] The resource information announcement component receives resource information from the resource information perception component and announces the resource information across the network.
[0020] In one of the embodiments, wherein:
[0021] The resource view generation component extracts part of the information based on the integrated resource information table to generate the visual resource information table and sends the visual resource information table to the computing power network service layer and / or the computing power network orchestration management layer.
[0022] In a second aspect, the application further provides a resource information collection and processing method. The method comprises:
[0023] Acquiring resource information from the computing power network resource layer;
[0024] Announcing the acquired resource information;
[0025] Generating an integrated resource information table;
[0026] Generating a visual resource information table based on the integrated resource information table and sending the visual resource information table to the computing power network service layer and / or the computing power network orchestration management layer.
[0027] In one of the embodiments, the method of obtaining resource information from the computing power network resource layer and publishing the obtained resource information comprises:
[0028] The resource information is transmitted from the computing power network resource layer to the resource information perception component;
[0029] The resource information is transmitted from the resource information perception component to the resource information publishing component;
[0030] The resource information publishing component receives the resource information from the resource information perception component and publishes the received resource information in the entire network.
[0031] In one of the embodiments, the resource information transmitted from the computing power network resource layer to the resource information perception component comprises at least one of computing power resource information, network resource information, storage resource information, and algorithm resource information.
[0032] In one of the embodiments, the method of generating an integrated resource information table comprises:
[0033] The published resource information is received by the resource information integration component, and an integrated resource information table containing all resource information is generated by the resource information integration component;
[0034] The resource information received and published by the resource information integration component comprises computing power resource information, storage resource information, and algorithm resource information from each computing node in the entire network, and network resource information between the computing nodes and other devices.
[0035] In one of the embodiments, the method of generating a visual resource information table based on the integrated resource information table and transmitting the visual resource information table to the computing power network service layer and / or the computing power network orchestration management layer comprises:
[0036] The integrated resource information table is transmitted to the resource view generation component, and part of the information is extracted by the resource view generation component to generate a visual resource information table;
[0037] The visual resource information table is transmitted to the computing power network service layer and / or the computing power network orchestration management layer by the resource view generation component.
[0038] In a third aspect, the present application further provides an electronic device. The electronic device comprises a memory and a processor, the memory stores a computer program, and the processor implements the steps of the resource information collection and processing method when executing the computer program. The method can be:
[0039] Obtaining resource information from the computing power network resource layer;
[0040] announcing the obtained resource information;
[0041] generating an integrated resource information table;
[0042] based on the integrated resource information table, generating a visual resource information table, and sending the visual resource information table to a computing power network service layer and / or a computing power network orchestration management layer.
[0043] In a fourth aspect, the present application also provides a computer readable storage medium. The computer readable storage medium has a computer program stored thereon, and the computer program is executed by a processor to implement the steps of the resource information collection and processing method, which can be as follows:
[0044] obtaining resource information from a computing power network resource layer;
[0045] announcing the obtained resource information;
[0046] generating an integrated resource information table;
[0047] based on the integrated resource information table, generating a visual resource information table, and sending the visual resource information table to a computing power network service layer and / or a computing power network orchestration management layer.
[0048] In a fifth aspect, the present application also provides a computer program product. The computer program product includes a computer program, and the computer program is executed by a processor to implement the steps of the resource information collection and processing method, which can be as follows:
[0049] obtaining resource information from a computing power network resource layer;
[0050] announcing the obtained resource information;
[0051] generating an integrated resource information table;
[0052] based on the integrated resource information table, generating a visual resource information table, and sending the visual resource information table to a computing power network service layer and / or a computing power network orchestration management layer.
[0053] The resource information collection function architecture, processing method, electronic device, storage medium and computer program product described above, in the resource information collection function architecture of the computing power network control layer, include four functional components of a resource information perception component, a resource information announcement component, a resource information integration component and a resource view generation component. The resource information perception component is connected with the computing power network resource layer and obtains resource information from the computing power network resource layer, and sends the resource information to the resource information announcement component. The resource information announcement component announces the resource information after receiving the resource information. The resource information integration component can receive the announced resource information and generate an integrated resource information table containing all resource information. The resource view generation component can extract the required information from the integrated resource information table and generate a visual resource information table, and send the visual resource information table to the computing power network service layer and / or the computing power network orchestration management layer, thereby realizing the visualization of resource monitoring and transaction processes. The resource information collection function architecture described above can obtain resource information from the computing power network resource layer, announce the obtained resource information, and then integrate the obtained resource information of multiple types through the resource information integration component to obtain an integrated resource information table corresponding to the computing power network resource layer, thereby improving the comprehensiveness and standardization of the collected resource information. The resource view generation component can extract information from the integrated resource information table and obtain a corresponding visual resource information table to provide to the computing power network service layer and / or the computing power network orchestration management layer, thereby ensuring the visual resource information required by the computing power network service layer and / or the computing power network orchestration management layer. BRIEF DESCRIPTION OF DRAWINGS
[0054] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the related art, the following will briefly introduce the drawings needed to be used in the embodiment or related art description. Obviously, the drawings in the following description are only some embodiments of the present application, and those skilled in the art can obtain other drawings according to these drawings without creative labor.
[0055] FIG. 1 is an application environment diagram of a resource information collection function architecture in an embodiment;
[0056] FIG. 2 is an architecture schematic diagram of a computing power network control layer in an embodiment;
[0057] FIG. 3 is a flow schematic diagram of a resource information collection processing method in an embodiment;
[0058] FIG. 4 is a flow schematic diagram of a resource information collection processing method in another embodiment;
[0059] FIG. 5 is a flow schematic diagram of a resource information collection processing method in another embodiment;
[0060] FIG. 6 is a schematic diagram of resource information synchronization in a centralized architecture, a hybrid architecture, and a distributed architecture in an embodiment;
[0061] FIG. 7 is a schematic diagram of a flow of resource information synchronization in an embodiment;
[0062] FIG. 8 is a schematic diagram of a flow of resource information synchronization in another embodiment;
[0063] FIG. 9 is an internal structure diagram of an electronic device in an embodiment. DETAILED DESCRIPTION
[0064] To make the purposes, technical solutions, and advantages of the present application clearer, the present application is further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and do not limit the present application.
[0065] The resource information collection function architecture provided by the embodiments of the present application can be applied to the computing power network as shown in FIG. 1. The computing power network is a technology based on network control plane to distribute computing power, algorithms, and storage information. In combination with network information, the technology can achieve the core of business demand, provide distribution, association, transaction, and deployment of computing resources, network resources, storage resources, and other resources, so as to achieve the goal of optimal configuration of the whole network resources.
[0066] According to the definition of the relevant standards, the computing power network architecture includes a computing power network service layer, a computing power network control layer, a computing power network resource layer, and a computing power network orchestration management layer. The computing power network control layer has three basic functions, including a resource information collection function, a resource allocation function, and a network connection scheduling function. The resource information collection function is responsible for collecting the computing power and network resource information of the whole network, the resource allocation function is responsible for configuring the best computing power node according to the business demand, and the network connection scheduling function is responsible for configuring the network connection from the user business side to the computing power resource side according to the business demand and the resource configuration of the resource allocation function module, so as to meet the requirements of the user for bandwidth, time delay, QoS (Quality of Service), and other indicators.
[0067] The computing power network control layer needs to collect various resource information. The collection of resource information is a prerequisite for the subsequent resource allocation function and network connection scheduling function of the computing power network. In the case of dynamically mastering the whole network resource information, each resource can be monitored, managed, scheduled and applied. Based on this, the computing power network control layer is the core of the computing power network technology. At present, there is no mature and effective solution for the process of obtaining resource information by the computing power network resource layer and providing the computing power network service layer and / or the computing power network arrangement management layer. The present disclosure provides an implementation architecture and processing process of the resource information collection function of the computing power network control layer. Specifically, a resource information collection function architecture including four functional components, i.e., a resource information perception component, a resource information announcement component, a resource information integration component and a resource view generation component is proposed. At the same time, a resource information collection processing process is proposed, which includes: the resource information is transmitted from the computing power network resource layer to the resource information perception component; the resource information is sent from the resource information perception component to the resource information announcement component; the resource information announcement component receives the resource information from the resource information perception component and announces the received resource information in the whole network; the announced resource information is received by the resource information integration component, and an integrated resource information table containing all resource information is generated by the resource information integration component; the integrated resource information table is transmitted to the resource view generation component, and part of the information is extracted by the resource view generation component to generate a visual resource information table; the visual resource information table is sent to the computing power network service layer and / or the computing power network arrangement management layer by the resource view generation component to support the visualization of the resource transaction and monitoring process.
[0068] Among them, the resource information contained in the computing power network resource layer includes: computing power resource information, network resource information, storage resource information and algorithm resource information, etc.
[0069] In the embodiments of the present application, the performance requirements of the computing power network control layer include: the requirement of real-time perception of the position of the terminal (which has been subscribed as a high mobility terminal), the network state (such as network jitter, network delay, network bandwidth) and the processing capability of the computing node; and the requirement of supporting intelligent allocation and optimization. The capability requirement of the computing power network control layer will be described to clearly show the detailed requirements of the technical capability (networking information collection capability, resource allocation capability, resource allocation capability) required to support the business demand.
[0070] The requirements for the network information collection function in the computing power network control layer include: supporting dynamic acquisition of resource information from the computing power network resource layer, including but not limited to computing power resource information, network resource information, storage resource information, and algorithm resource information; supporting the announcement / publishing of resource information, synchronizing different resource information in the entire network to enable users to master the global resource situation; supporting the management of resource information, including not only global resource information but also simplified resource information entries generated according to user needs to support the visualization function of the computing power network service layer and / or the computing power network orchestration management layer.
[0071] The technical solutions of the present application and how the technical solutions of the present application solve the above technical problems will be described in detail below with specific examples. The following specific examples can be combined with each other, and the same or similar concepts or processes may not be described again in some examples. The embodiments of the present application will be described below with reference to the accompanying drawings.
[0072] In an exemplary embodiment, as shown in FIG. 2, a resource information collection function architecture is provided, which is applied to the computing power network control layer in FIG. 1 as an example for illustration. Among them, the resource information collection function 200 includes four components: resource information perception component 201, resource information announcement component 202, resource information integration component 203, and resource view generation component 204, which will be described below.
[0073] Among them, the resource information perception component 201 is responsible for connecting with the computing power network resource layer to obtain resource information from the computing power network resource layer.
[0074] In an embodiment, the resource information perception component 201 is responsible for connecting with the computing power network resource layer to periodically or on-demand acquire resource information from the computing power network resource layer, and sends the acquired resource information to the resource information announcement component.
[0075] Among them, the resource information perception component 201 obtains resource information from the computing power network resource layer, including but not limited to computing power resource information, network resource information, storage resource information, and algorithm resource information.
[0076] Among them, the resource information perception component 201 can perceive the resource information of each node in the computing power network through the perception technology, and the perception technology can perceive the resource information of the network resource layer according to a preset period or other demand-based perception conditions.
[0077] In some embodiments, the resource information sensing component 201 can pre-configure sensing conditions for obtaining resource information from the computing power network resource layer, including triggering conditions, periodic conditions, resource requirements, collection intervals, and the like. The computing power network control layer can collect resource information contained in the computing power network resource layer according to the above parameters and sensing technology. In each period, resource information that meets the parameters can be collected and used as resource information in the period. The resource information sensing component 201 can periodically collect resource information multiple times to obtain resource information in multiple time periods.
[0078] In one example, the computing power network resource layer contains multiple resource information. The resource information sensing component 201 can collect resource information corresponding to different time points through the resource information sensing component. For example, the resource information sensing component 201 can determine that the triggering condition is a preset whole hour, such as 6 o'clock in the morning or 24 o'clock at night. When the time meets the triggering condition, the computing power resource control layer collects resource information from the computing power network resource layer through the resource information sensing component. The resource information sensing component 201 can configure periodic conditions, for example, set one day as a period, that is, the resource information obtained within 24 hours is the corresponding resource information in the period. The resource information sensing component 201 can configure resource requirements, for example, determine the resource information of the computing nodes contained in the computing power network, and the resource information between the computing nodes and other devices. The resource information sensing component 201 can configure periodic condition collection intervals, for example, in a one-day period, set the collection interval to 1 hour, then resource information can be collected every hour.
[0079] The resource information announcement component 202 is configured to receive resource information from the resource information sensing component 201 and announce the resource information.
[0080] In one embodiment, the resource information announcement component 202 is configured to receive resource information from the resource information sensing component 201 and announce the resource information in the whole network.
[0081] In some embodiments, the resource information announcement component 202 can announce resource information in the whole network according to a pre-set announcement strategy. The whole network can be understood as a range containing all computing power gateways and / or centralized management and control platforms in the computing power network, so that each computing power gateway and each centralized management and control platform in the computing power network can obtain resource information in the whole network.
[0082] In an embodiment, the resource information announcement component 202 can announce the resource information within a control entity (e.g., a computing power gateway or a centralized management platform) in the computing power network, or between different control entities (computing power gateways or centralized management platforms). In the case of announcing the resource information within the control entity, the resource information announcement method can include function call, message queue, and transparent transmission, etc. In the case of announcing the resource information between the control entities, the resource information announcement method can include extended routing protocol, restful API, and message queue, etc.
[0083] In some embodiments, the resource information announcement component 202 can receive the resource information acquired by the resource information perception component 201. For the acquired resource information, the resource information announcement component 202 can determine the required announced resource information and the to-be-announced field corresponding to the resource information of each resource type according to the announcement policy, thereby determining the target announced resource information. The resource information announcement component 202 announces the target announced resource information in the entire network, including announcing within the current computing power gateway or the current centralized management platform, and externally announcing to other computing power gateways or other centralized management platforms.
[0084] In an example, the announcement policy can be to announce the network resource information and the first to tenth fields of the network resource information. According to the announcement policy, the resource information announcement component 202 can announce the first to tenth fields of the network resource information contained in each node in the computing power network.
[0085] In some embodiments, the resource information announcement component 202 can configure permissions for the target announced resource information, and configure different levels of permissions for different target announced resource information, such as first to tenth levels of permissions. The higher the permission level, the higher the degree of confidentiality. When a query terminal queries the target announced resource information, it is necessary to determine whether the target announced resource information can be viewed according to the permission information of the query terminal. If the target announced resource information is of the third level of permission, the permission information of the query terminal is of the third to tenth levels of permission.
[0086] The resource information integration component 203 is configured to receive the resource information and generate an integrated resource information table.
[0087] In an embodiment, the resource information integration component 203 is configured to receive the announced resource information and generate an integrated resource information table.
[0088] The resource information integration component 203 can receive the resource information announced by the resource information announcement component 202. Since the resource information announcement component 202 can be a resource information announcement component corresponding to other computing power gateway or other centralized management platform, or can be a resource information announcement component of the current computing power gateway or the current centralized management platform where the resource information integration component 203 is located, and each resource information announcement component announces the resource information obtained by it in the whole network, the resource information integration component 203 can receive the resource information in the whole network, and the integrated resource information table generated can contain the resource information in the whole network.
[0089] In some embodiments, the resource information integration component 203 can integrate the resource information received from each computing node in the whole network into one resource information table to obtain an integrated resource information table. Since the resource information perception component 201 can obtain multiple types of resource information contained in a time period, and the resource information perception component 201 can also obtain the same type of resource information contained in different time periods, based on this, the resource information integration component 203 can integrate multiple types of resource information contained in multiple time periods into one information table through the integrated resource information table.
[0090] In some embodiments, the resource view generation component 204 is configured to generate a visual resource information table based on the integrated resource information table, and send the visual resource information table to the computing power network service layer and / or the computing power network orchestration management layer.
[0091] In one embodiment, the resource view generation component 204 is configured to extract part of the information based on the integrated resource information table to generate a visual resource information table, and send the visual resource information table to the computing power network service layer and / or the computing power network orchestration management layer.
[0092] In some embodiments, the resource information contained in the visual resource information table can be determined based on the specific business needs of the user side. Different business needs of the user side can generate different visual resource information tables, and different visual resource information tables can be sent to the computing power network service layer and / or the computing power network orchestration management layer. In one example, the resource view generation component 204 can generate multiple visual resource information tables at a time based on the integrated resource information table, and then send part of the multiple visual resource information tables to the computing power network orchestration management layer, and send another part to the computing power network service layer. In another example, the resource view generation component 204 generates one visual resource information table at a time based on the integrated resource information table, and then sends the visual resource information table to one of the computing power network orchestration management layer and the network service layer.
[0093] In some embodiments, the resource view generation component 204 can extract part of information corresponding to a specific business requirement of the user side from the integrated resource information table according to the specific business requirement, and generate a visual resource information table based on the extracted part of information. The resource view generation component 204 sends the generated visual resource information table to the computing power network service layer and / or the computing power network orchestration management layer. The computing power network orchestration management layer and the computing power network service layer can respectively call corresponding programs to render the visual resource information table, thereby obtaining a visual image, and monitor the data of the visual resource information table through the visual image, to support the visualization of the resource transaction and monitoring process.
[0094] In the above resource information collection function architecture, four function components are included, i.e., the resource information perception component 201, the resource information announcement component 202, the resource information integration component 203, and the resource view generation component 204. The resource information perception component 201 is connected with the computing power network resource layer, and obtains resource information from the computing power network resource layer, and sends the resource information to the resource information announcement component 202. The resource information announcement component 202 announces the resource information after receiving the resource information. The resource information integration component 203 can receive the announced resource information, and generate an integrated resource information table containing all resource information. The resource view generation component 204 can extract required information from the integrated resource information table, and generate a visual resource information table, and send the visual resource information table to the computing power network service layer and / or the computing power network orchestration management layer, thereby realizing the visualization of the resource monitoring and transaction process. The above resource information collection function architecture can obtain resource information from the computing power network resource layer, announce the obtained resource information, and then integrate the received multiple types of announced resource information through the resource information integration component 203, to obtain an integrated resource information table corresponding to the computing power network resource layer, thereby improving the comprehensiveness and standardization of the collected resource information. The resource view generation component 204 can extract information in the integrated resource information table, and obtain a corresponding visual resource information table provided to the computing power network service layer and / or the computing power network orchestration management layer, thereby guaranteeing the visual resource information required by the computing power network service layer and / or the computing power network orchestration management layer.
[0095] In an exemplary embodiment, the resource information perception component obtains resource information from the computing power network resource layer, which includes at least one of computing power resource information, network resource information, storage resource information, and algorithm resource information.
[0096] In some embodiments, the computing power resource information can represent total computing power, current available computing power, and other computing power resource information of each computing node. The network resource information can represent the network resource amount of each computing node at a certain time, for example, the total bandwidth allocated by the computing node at 12:00, and the used bandwidth and other data. The storage resource information can represent the total storage resource amount, storable resource amount, and stored resource amount of each computing node at a certain time. The algorithm resource under the computing power network refers to a set of algorithms for data processing, analysis, and calculation provided by distributed computing and network resources. These algorithm resources can be flexibly called on the cloud computing platform to achieve efficient and rapid computing processing. The algorithm resource can be a machine learning algorithm such as a support vector machine and a deep neural network.
[0097] In this embodiment, the resource information perception component can obtain various types of resource information from the computing power network resource layer. The resource information can include computing power resource information, network resource information, storage resource information, and algorithm resource information. The type and amount of resource information obtained by the resource information perception component can be increased, the data dimension of the obtained data can be improved, and the comprehensiveness of the obtained resource information can be improved.
[0098] In one embodiment, the resource information integration component receives the announced resource information, including computing power resource information, storage resource information, algorithm resource information from each computing node in the network, and network resource information between each computing node and other devices in the network, and generates an integrated resource information table containing all the resource information.
[0099] In some embodiments, the other devices can be electronic devices connected to the computing nodes via a network, such as personal terminals, servers, and other devices.
[0100] In some embodiments, the computing power network control layer obtains the computing power resource information, storage resource information, algorithm resource information of each computing node, and the network resource information between each computing node and other devices from the computing power network resource layer through the resource information perception component. The current resource information of each computing node and the network resource information between each computing node and other devices are stored in an integrated resource information table through the resource information integration component.
[0101] In this embodiment, by integrating the computing power resource information, storage resource information, algorithm resource information of each computing node in the network, and the network resource information between each computing node and other devices in the network into an integrated resource information table, the complete resource information of the network can be obtained, which facilitates the generation of various visual resource information tables based on subsequent user-side business needs to meet various business needs.
[0102] In one embodiment, as shown in FIG. 3, a resource information collection processing method is provided, which is applied to the computing power network control layer in FIG. 1 as an example. The processing method includes:
[0103] obtaining resource information from the computing power network resource layer; announcing the obtained resource information; generating an integrated resource information table; based on the integrated resource information table, generating a visual resource information table, and sending the visual resource information table to the computing power network service layer and / or the computing power network orchestration management layer.
[0104] In one embodiment, obtaining resource information from the computing power network resource layer includes at least one of computing power resource information, network resource information, storage resource information, and algorithm resource information.
[0105] In one embodiment, the above-mentioned announcement of the obtained resource information includes internal announcement and external announcement of the obtained resource information. Internal announcement means resource information announcement within the current computing power gateway or the current centralized management and control platform, and external announcement means resource information announcement to other computing power gateways or other centralized management and control platforms.
[0106] In some embodiments, the computing power network control layer can obtain various resource information from the computing power network resource layer, and announce the obtained various resource information in the entire network. Thus, each computing power gateway or centralized management and control platform in the computing power network can receive various resource information of each computing node in the entire network, and then integrate the various resource information to obtain an integrated resource information table containing all resource information. Further, based on the resource information in the integrated resource information table, information extraction can be performed to obtain a visual resource information table matching different business demands, and the visual resource information table is sent to the computing power network service layer and / or the computing power network orchestration management layer, so that the computing power network service layer and / or the computing power network orchestration management layer can visualize the visual resource information table to obtain visualized resource information.
[0107] In the above-mentioned method in this embodiment, resource information can be obtained from the computing power network resource layer, the obtained resource information can be announced, and various types of resource information obtained can be integrated to obtain an integrated resource information table, thereby improving the comprehensiveness and standardization of the collected resource information. The resource view generation component can extract information in the integrated resource information table and obtain a corresponding visual resource information table, which is provided to the computing power network service layer and / or the computing power network orchestration management layer, thereby ensuring the visualized resource information required by the computing power network service layer and / or the computing power network orchestration management layer.
[0108] In an embodiment, as shown in FIG. 4, a resource information collection processing method is provided, which is applied to the computing power network control layer in FIG. 1 as an example for illustration, and the resource information collection processing method includes steps S402-S412, which are specifically described as follows:
[0109] In step S402, the resource information is transmitted from the computing power network resource layer to the resource information perception component.
[0110] The resource information perception component can perceive the resource information of each node in the computing power network through the perception technology, and the perception technology can perceive the resource information according to a preset period or a preset resource type.
[0111] In some embodiments, the computing power network control layer can pre-configure trigger conditions, period conditions, resource requirements, collection intervals and other parameters for perceiving resource information, and the computing power network control layer can collect the resource information contained in the computing power network resource layer according to the above parameters and the perception technology, and can collect the resource information satisfying the parameters in each period as the resource information in the period. The computing power network control layer can periodically collect resource information multiple times to obtain resource information in multiple time periods.
[0112] In an embodiment, the resource information transmitted from the computing power network resource layer to the resource information perception component includes at least one of computing power resource information, network resource information, storage resource information and algorithm resource information.
[0113] In step S404, the resource information is sent from the resource information perception component to the resource information announcement component.
[0114] In some embodiments, the computing power network control layer can receive the resource information obtained by the resource information perception component through the resource information announcement component.
[0115] In step S406, the resource information announcement component receives the resource information from the resource information perception component and announces the received resource information in the whole network.
[0116] In some embodiments, for the resource information obtained in each period, the resource information announcement component can determine the resource information corresponding to the required announcement resource type and the announcement field corresponding to the resource information of each resource type according to the announcement strategy, and determine the target announcement resource information. The resource information announcement component announces the target announcement resource information in the whole network.
[0117] In step S408, the announced resource information is received by the resource information integration component, and an integrated resource information table containing all resource information is generated by the resource information integration component.
[0118] In some embodiments, the computing power network control layer can receive resource information within each node announced by the resource information announcement component through the resource information integration component.
[0119] The resource information integration component can integrate the received resource information into an integrated resource information table. Since the resource information awareness component can obtain multiple types of resource information contained in a time period, and the resource information awareness component can also obtain the same type of resource information contained in multiple time periods, based on this, the resource information integration component can integrate multiple types of resource information contained in multiple time periods through the integrated resource information table to obtain the integrated resource information table.
[0120] In one embodiment, the resource information received by the resource information integration component includes computing power resource information, storage resource information, and algorithm resource information from all computing nodes in the network, as well as network resource information between all computing nodes in the network and other devices. The resource information integration component generates an integrated resource information table containing all resources.
[0121] In this embodiment, the resource information awareness component can obtain multiple types of resource information from the computing power network resource layer. The resource information can include computing power resource information, network resource information, storage resource information, and algorithm resource information. The type and amount of resource information obtained by the resource information awareness component can be increased, the data dimension of the obtained data can be improved, and the comprehensiveness of the obtained resource information can be improved.
[0122] Step S410, the integrated resource information table is transmitted to the resource view generation component, and part of the information is extracted by the resource view generation component to generate a visual resource information table.
[0123] In some embodiments, the resource view generation component can extract part of the information from the integrated resource information table according to the received resource filtering instruction, and convert all the part of the information into a visual resource information table.
[0124] Step S412, the visual resource information table is sent to the computing power network service layer and / or the computing power network orchestration management layer by the resource view generation component to support the visualization of the resource transaction and monitoring process.
[0125] In some embodiments, the resource view generation component sends the visual resource information table corresponding to the resource filtering instruction to the computing power network service layer and / or the computing power network orchestration management layer. The computing power network orchestration management layer and the computing power network service layer can respectively call corresponding programs to visually process the visual resource information table, thereby obtaining a visual image, and monitoring the data of the visual resource information table through the visual image.
[0126] In the embodiment, the above method can obtain resource information from the computing power network resource layer, and make a network-wide announcement of the obtained resource information, and then integrate the obtained resource information of various types to obtain an integrated resource information table, so as to improve the comprehensiveness and standardization of the collected resource information. The resource view generation component can extract part of the information in the integrated resource information table, and obtain a visual resource information table corresponding to the part of information, and provide the visual resource information table to the computing power network service layer and / or the computing power network arrangement management layer, thereby ensuring the key visual resource information required by the computing power network service layer and / or the computing power network arrangement management layer.
[0127] In another embodiment, as shown in FIG. 5, a specific implementation process of a resource information collection processing method is described in detail, which includes the following steps:
[0128] In step 51, the resource information perception component obtains resource information from the computing power network resource layer, including but not limited to computing power resource information, network resource information, storage resource information, and algorithm resource information.
[0129] In step 52, the resource information perception component sends the obtained resource information to the resource information announcement component.
[0130] In step 53, the resource information announcement component receives the resource information from the resource information perception component, and announces the received information in the whole network according to certain rules.
[0131] In step 54, the resource information integration component receives the computing power resource information, the storage resource information, the algorithm resource information, and the network resource information between the computing power nodes and other devices from each computing power node, and generates an integrated resource information table containing all resources.
[0132] In step 55, the resource view generation component obtains the resource information table, and extracts part of the information to generate a visual resource information table.
[0133] In step 56, the resource view generation component sends the visual resource information table to the computing power network service layer and the arrangement management layer respectively, for supporting the visualization of resource transaction and monitoring process.
[0134] In the embodiment, the six steps included in the resource information collection method under the defined computing power network scene define the whole process from resource information perception to resource view generation, improve the comprehensiveness of the obtained resource information, and ensure the accuracy of the visual resource information required by the computing power network service layer and / or the computing power network arrangement management layer.
[0135] In one embodiment, the resource information collection function in the computing power network control layer can include a resource information perception component, a resource information announcement component, a resource information integration component, and a resource view generation component. In one example, the computing power network includes a plurality of computing power gateways and a plurality of centralized management and control platforms (also referred to as a plurality of entities), each computing power gateway and each centralized management and control platform includes the above four components and performs the resource information collection processing method through the above four components.
[0136] In one embodiment, the resource information perception component corresponding to the current computing power gateway or the current centralized management and control platform can pass the perceived resource information to the resource information integration component corresponding to the current computing power gateway or the current centralized management and control platform. For example, computing power gateway 1 and computing power gateway 2 can each obtain resource information through the resource information perception component, and computing power gateway 1 and computing power gateway 2 pass the resource information obtained by themselves to the resource information integration component of themselves, respectively. At the same time, the resource information perception component corresponding to the current computing power gateway or the current centralized management and control platform can also pass the perceived resource information to the resource information integration component corresponding to other computing power gateways or other centralized management and control platforms. For example, computing power gateway 1 and computing power gateway 2 can each obtain resource information through the resource information perception component, and computing power gateway 1 passes the obtained resource information to the resource information integration component of computing power gateway 2, and computing power gateway 2 passes the obtained resource information to the resource information integration component of computing power gateway 2.
[0137] In one exemplary embodiment, the resource information of the computing power network can be synchronized through the computing power network control layer. In related technologies, the resource information synchronization process of the computing power network can be that the computing power gateway publishes the resource information perceived by itself to the centralized management and control platform, or to the adjacent computing power gateway, thereby realizing the synchronization of the resource information of the whole network. As shown in FIG. 6, the computing power network can include three deployment architectures, specifically, a centralized architecture, a hybrid architecture, and a distributed architecture, and the resource information synchronization mechanisms corresponding to the above three deployment architectures are the same.
[0138] In the computing power network of the centralized architecture, the computing power gateway sends the perceived computing power network information to the centralized management and control platform through the restful API; in the computing power network of the hybrid architecture, the computing power gateways synchronize the computing power network information to the adjacent computing power gateways through the extended routing protocol (such as CP-BGP), and the computing power gateways send the resource information of the whole network to the centralized management and control platform through the restful API; in the computing power network of the distributed architecture, the gateways synchronize the resource information through the extended routing protocol (such as CP-BGP). It can be seen that when the information is synchronized through the computing power network of different architectures, the network overhead is large, and the existing resource information synchronization method cannot be universally adapted to the distributed architecture, the hybrid architecture, and the centralized architecture computing power network.
[0139] Based on this, the embodiments of the present application can introduce a message queue mechanism, which can reduce the number of information announcements, reduce the consumption of network link resources, and also use the method to uniformly complete the resource information synchronization of the computing power network without distinguishing the specific deployment architecture (distributed architecture, hybrid architecture, centralized architecture) of the computing power network.
[0140] As shown in FIG. 7, the resource information synchronization method in the computing power network scenario includes a resource information announcement component and a resource information integration component in the resource information collection functional architecture. Both the computing power gateway and the centralized management and control platform integrate the two components. The method uses the broadcast-Fanout subscription mode of the open-source general message passing library RabbitMQ to synchronize the resource information.
[0141] Among them, RabbitMQ can send messages from the message producer to the exchange (Exchange) through the publish / subscribe mode, and distribute the messages to the queues (Queue) bound to the exchange through the exchange (Exchange). The broadcast-Fanout subscription mode is a special form of the publish / subscribe mode. In the broadcast-Fanout subscription mode, the exchange does not consider the routing key when distributing messages, and directly broadcasts the received messages to all queues bound to it. Since no routing key matching is required, the Fanout exchange can quickly distribute messages to all bound queues. Moreover, the exchange can copy each message to ensure that all bound queues can receive a copy of the message.
[0142] Specifically, the resource information announcement component can act as a message producer (Producer). First, it obtains resource information from the resource information perception component. Then, it compares the currently perceived resource information with the resource information announced last time. Finally, it announces the resource information whose variation degree exceeds the preset value, and does not announce the resource information whose variation degree does not exceed the preset value. For example, the CPU occupancy rate announced last time is 20%, the currently perceived CPU occupancy rate is 15%, and the preset value is 10%. It can be seen that the variation degree is 5% and less than 10%, so the currently perceived CPU occupancy rate is not announced.
[0143] The resource information integration component can act as a message consumer (Consumer) to receive resource information announced by the resource information announcement component of other computing power gateways or centralized management and control platforms, and generate an integrated resource information table. The exchange (Exchange) and queue (queue) entities in RabbitMQ can be deployed in the computing power gateway or centralized management and control platform where the corresponding producer (Producer) is located.
[0144] In one embodiment, as shown in FIG. 8, the process using the resource information synchronization mechanism is introduced as follows:
[0145] Step 81, the resource information announcement component of the computing power gateway 1 obtains the resource information perceived by the computing power gateway 1 from the resource information perception component.
[0146] Step 82, compare the current perceived resource information with the value at the last announcement.
[0147] Step 83, traverse all resource information, if the change exceeds 10%, keep the information value, otherwise delete it.
[0148] Step 84, in the case where the change exceeds 10%, the resource information announcement component announces the current resource information.
[0149] Step 85, the resource information sharing component of the computing power gateway 2 or the centralized management and control platform receives the resource information of the computing power gateway 1.
[0150] Optionally, different computing power gateways and centralized management and control platforms can synchronize information with each other, that is, the computing power gateway 1 can synchronize information with the computing power gateway 2 or the centralized management and control platform, and the computing power gateway 2 or several management and control platforms can synchronize information with the computing power gateway 1.
[0151] In this embodiment, through the computing power network resource information synchronization method based on the message queue RabbitMQ, the resource information synchronization mechanism can be unified without distinguishing the computing power network deployment architecture, thereby improving the resource information synchronization efficiency and reducing the network overhead of the information synchronization process.
[0152] It should be understood that although each step in the flowchart involved in the above embodiments is displayed in sequence according to the arrow, these steps are not necessarily executed in sequence according to the arrow. Unless otherwise stated herein, the execution of these steps has no strict sequence limitation, and these steps can be executed in other orders. Moreover, at least part of the steps in the flowchart involved in the above embodiments can include multiple steps or stages, which are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily sequential, but can be executed in rotation or alternation with at least part of other steps or steps or stages in other steps.
[0153] Based on the same inventive concept, the embodiments of the present application also provide a resource information collection processing device for implementing the above-mentioned resource information collection processing method. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme described in the above method, so the specific limitations in one or more resource information collection processing device embodiments provided below can refer to the limitations of the resource information collection processing method in the above text, which will not be repeated here.
[0154] In an example embodiment, an electronic device, which can be a server, can have an internal structure as shown in FIG. 9. The electronic device includes a processor, a memory, an input / output interface, and a communication interface. The processor, the memory, and the input / output interface are connected through a system bus, and the communication interface is connected to the system bus through the input / output interface. The processor of the electronic device is configured to provide computing and control capabilities. The memory of the electronic device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores a computer program. The internal memory provides an environment for running the computer program in the non-volatile storage medium. The input / output interface of the electronic device is configured to exchange information between the processor and external devices. The communication interface of the electronic device is configured to communicate with external terminals through a network connection. The computer program is executed by the processor to implement a resource information collection processing method.
[0155] Those skilled in the art can understand that the structure shown in FIG. 9 is only a block diagram of part of the structure related to the scheme of the present application, and does not constitute a limitation on the electronic device to which the scheme of the present application is applied. The specific electronic device can include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0156] In an example embodiment, an electronic device is also provided, which includes a memory and a processor. The memory stores a computer program, and the processor executes the computer program to implement the steps in the above method embodiments.
[0157] In an example embodiment, a computer readable storage medium is provided, which stores a computer program. The computer program is executed by a processor to implement the steps in the above method embodiments.
[0158] In an example embodiment, a computer program product is provided, which includes a computer program. The computer program is executed by a processor to implement the steps in the above method embodiments.
[0159] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data for analysis, stored data, displayed data, etc.) involved in the present application are all information and data authorized by the user or authorized by all parties, and the collection, use, and processing of related data need to comply with relevant regulations.
[0160] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a non-volatile computer readable storage medium, and when the computer program is executed, the processes of the above-mentioned embodiments of the methods can be included. Any reference to memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (Read-Only Memory, ROM), magnetic tape, floppy disk, flash memory, optical storage, high-density embedded non-volatile memory, resistive memory (ReRAM), magnetoresistive memory (Magnetoresistive Random Access Memory, MRAM), ferroelectric memory (Ferroelectric Random Access Memory, FRAM), phase change memory (Phase Change Memory, PCM), graphene memory, etc. Volatile memory can include random access memory (Random Access Memory, RAM) or external cache memory, etc. As an illustration but not limitation, the RAM can be in various forms, such as static random access memory (Static Random Access Memory, SRAM) or dynamic random access memory (Dynamic Random Access Memory, DRAM), etc. The database involved in the embodiments provided in the present application can include at least one of a relational database and a non-relational database. The non-relational database can include a distributed database based on a block chain, etc., without being limited thereto. The processor involved in the embodiments provided in the present application can be a general-purpose processor, a central processing unit, a graphics processing unit, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., without being limited thereto.
[0161] Any combination of the technical features of the above embodiments can be made. In order to make the description simple, all possible combinations of the technical features in the above embodiments are not described, however, as long as the combination of the technical features does not exist contradictory, it should be considered as the scope of the present application.
[0162] The above embodiments only express several implementation manners of the present application, and the description is more specific and detailed, but it should not be understood as a limitation on the scope of the patent of the present application. It should be noted that for ordinary skilled in the art, without departing from the concept of the present application, a number of modifications and improvements can be made, which are within the scope of protection of the present application. Therefore, the scope of protection of the present application should be subject to the appended claims.
Claims
1. A resource information collection function architecture deployed in a computing power network control layer, comprising: a resource information perception component responsible for connecting with a computing power network resource layer and obtaining resource information from the computing power network resource layer; a resource information announcement component configured to receive resource information from the resource information perception component and announce the resource information; a resource information integration component configured to receive resource information and generate an integrated resource information table; a resource view generation component configured to generate a visual resource information table based on the integrated resource information table and send the visual resource information table to a computing power network service layer and / or a computing power network orchestration management layer.
2. The resource information collection function architecture of claim 1, wherein: the resource information perception component periodically or on demand obtains resource information from the computing power network resource layer and sends the obtained resource information to the resource information announcement component.
3. The resource information collection function architecture of claim 1, wherein: the resource information obtained by the resource information perception component from the computing power network resource layer includes at least one of computing power resource information, network resource information, storage resource information, and algorithm resource information.
4. The resource information collection function architecture of claim 1, wherein: the resource information announcement component is configured to receive resource information from the resource information perception component and announce the resource information across the network.
5. The resource information collection function architecture of claim 1, wherein: the resource information integration component receives announced resource information, including computing power resource information, storage resource information, algorithm resource information from each computing node across the network, and network resource information between the computing nodes and other devices, and generates an integrated resource information table containing all resource information.
6. The resource information collection function architecture of claim 1, wherein: the resource view generation component extracts part of the information based on the integrated resource information table to generate the visual resource information table and sends the visual resource information table to the computing power network service layer and / or the computing power network orchestration management layer.
7. The resource information collection function architecture of claim 1, wherein: the resource information announcement component is further configured to configure permissions for resource information to be announced, and configure different levels of permissions for different resource information to be announced.
8. A resource information collection processing method, comprising: obtaining resource information from a computing power network resource layer; announcing the obtained resource information; generating an integrated resource information table; generating a visual resource information table based on the integrated resource information table and sending the visual resource information table to a computing power network service layer and / or a computing power network orchestration management layer.
9. The resource information collecting processing method according to Claim 8, wherein the obtaining of resource information from the computing power network resource layer and the announcement of the obtained resource information, comprising: the resource information is transmitted from the computing power network resource layer to a resource information perception component; the resource information is sent from the resource information perception component to a resource information announcement component; the resource information announcement component receives resource information from the resource information perception component and announces the received resource information across the network. 10. The resource information collection processing method of claim 8, wherein, the resource information transmitted from the computing power network resource layer to the resource information perception component includes at least one of computing power resource information, network resource information, storage resource information, and algorithm resource information.
11. The resource information collecting processing method according to Claim 9, wherein the generating an integrated resource information table includes: the announced resource information is received by the resource information integration component, and an integrated resource information table containing all resource information is generated by the resource information integration component; the announced resource information received by the resource information integration component includes computing power resource information, storage resource information, and algorithm resource information from each computing node in the entire network, and network resource information between the computing nodes and other devices.
12. The resource information collecting processing method according to claim 8 or 11, wherein the generating a visual resource information table based on the integrated resource information table and sending the visual resource information table to the computing power network service layer and / or the computing power network orchestration management layer includes: the integrated resource information table is passed to a resource view generation component, and a visual resource information table is generated by the resource view generation component by extracting part of the information; the visual resource information table is sent to the computing power network service layer and / or the computing power network orchestration management layer by the resource view generation component.
13. The resource information collecting processing method of claim 8, wherein the announcing the obtained resource information includes: announcing the resource information within the current computing power gateway or the current centralized management and control platform; announcing the resource information to other computing power gateways or other centralized management and control platforms.
14. An electronic device comprising a memory and a processor, the memory storing a computer program, wherein, the processor executes the computer program to implement the steps of the resource information collection processing method of any one of claims 8 to 13.
15. A computer readable storage medium having stored thereon a computer program, wherein, the computer program is executed by the processor to implement the steps of the resource information collection processing method of any one of claims 8 to 13.
16. A computer program product comprising a computer program, wherein, the computer program is executed by the processor to implement the steps of the resource information collection processing method of any one of claims 8 to 13.
Citation Information
Patent Citations
Computing power sensing network, use method thereof and storage medium
CN115002681A
Uniform Data Model and API for Representation and Processing of Semantic Data
US20110035391A1