Resource processing method, device and equipment, readable storage medium and program product

By sending request messages to the computing power network and processing the identification information in the response messages, the process of adding or exiting computing power nodes is automatically executed, which solves the problem of low manual recording efficiency in the existing technology and realizes the management of computing power resources. Automated management and efficient utilization.

CN118540328APending Publication Date: 2024-08-23CHINA TELECOM CORP LTD TECHNOLOGY INNOVATION CENTER +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410596541.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-14
Publication Date
2024-08-23

AI Technical Summary

Technical Problem

The discovery of computing resources in the existing computing network mainly relies on manual records, which is inefficient and cannot be automated.

Method used

By sending a target request message to the computing power network, receiving the computing power node identification information in the response message, and executing the addition or exit process of the computing power node based on this information, including saving or deleting the identification information in the preset database, and establishing or deleting private network connections.

Benefits of technology

It realizes the automatic discovery and management of computing power nodes, improves resource utilization efficiency, reduces manual intervention, and improves the reliability and efficiency of the computing power network.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118540328A
    Figure CN118540328A
Patent Text Reader

Abstract

The invention relates to a resource processing method and device, equipment, a readable storage medium and a program product. The method comprises the following steps: firstly, sending a target request message to a computing power network deployed with a plurality of computing power nodes, then, receiving a response message which is returned by a target computing power node in response to the target request message and contains identification information of the target computing power node, and finally, based on the identification information of the target computing power node, determining the target computing power node according to the response message. A processing flow is executed on the target computing power node, and the processing flow comprises a computing power node newly-added flow or a computing power node quit flow. By adopting the method, the computing power node adding process or the computing power node quitting process can be automatically executed on the computing power node, and manual adding operation of the computing power node is not needed, so that the efficiency is higher.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of network communication technology, and in particular to a resource processing method, device, equipment, readable storage medium and program product. Background Art

[0002] With the development of network communication technology, computing power networks have emerged. Computing power networks can distribute computing power, algorithms, and storage information based on the network control plane, and realize the distribution, association, transaction, and allocation of computing, network, and storage resources with business needs as the core, so as to achieve the optimal configuration of the resources of the entire computing power network. Therefore, the scheduling of computing power resources in the computing power network is the core of the computing power network, and before the scheduling of computing power resources, the authentication process of computing power nodes needs to be completed.

[0003] Among them, computing resource discovery is used to discover available computing nodes in the computing network, which is the premise of the computing node authentication process. However, the current computing resource discovery is generally done by manually recording the newly added computing nodes, which is inefficient. Summary of the invention

[0004] Based on this, it is necessary to provide a resource processing method, device, equipment, readable storage medium and program product that can automatically process computing power node resources in response to the above technical problems.

[0005] In a first aspect, the present application provides a resource processing method, comprising:

[0006] Send a target request message to the computing network, where multiple computing nodes are deployed.

[0007] Receive a response message returned by the target computing power node in response to the target request message, where the response message includes identification information of the target computing power node;

[0008] Based on the identification information of the target computing power node, a processing flow is executed on the target computing power node, and the processing flow includes a computing power node addition flow or a computing power node exit flow.

[0009] In one embodiment, the target request message includes a computing power discovery request message, and based on the identification information of the target computing power node, a processing flow is executed on the target computing power node, including:

[0010] Query the preset database according to the identification information of the target computing power node;

[0011] If the identification information of the target computing power node does not exist in the preset database, the computing power node addition process is executed for the target computing power node.

[0012] In one embodiment, a computing node adding process is performed on a target computing node, including:

[0013] Save the identification information of the target computing power node to the preset database;

[0014] Send a resource connection establishment request, which is used to establish a dedicated network connection between the target computing power node and the computing power network.

[0015] In one embodiment, the target request includes a computing power node detection message, and based on the identification information of the target computing power node, a processing flow is executed on the target computing power node, including:

[0016] According to the identification information of the target computing power node, a preset database is queried to determine the time corresponding to the identification information of the target computing power node;

[0017] If the time interval between the time corresponding to the identification information of the target computing power node and the response message returned by the target computing power node is less than the preset time threshold, the time corresponding to the identification information of the target computing power node in the preset database is updated according to the time of the response message returned by the target computing power node.

[0018] In one embodiment, the method further comprises:

[0019] If it is determined that the number of times that the time corresponding to the identification information of the target computing power node in the preset database has not been updated continuously is greater than the preset number threshold, the computing power node exit process is executed for the target computing power node.

[0020] In one embodiment, executing a computing power node exit process on a target computing power node includes:

[0021] Delete the identification information of the target computing power node in the preset database;

[0022] Send a resource connection deletion request, which is used to delete the dedicated network connection between the target computing power node and the computing power network.

[0023] In a second aspect, the present application further provides a resource processing device, including:

[0024] The sending module is used to send a target request message to the computing network, where multiple computing nodes are deployed.

[0025] A receiving module, used to receive a response message returned by the target computing power node in response to the target request message, wherein the response message includes identification information of the target computing power node;

[0026] The processing module is used to execute a processing flow on the target computing power node based on the identification information of the target computing power node, and the processing flow includes a computing power node addition flow or a computing power node exit flow.

[0027] In a third aspect, the present application further provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the steps of any method described in the first aspect are implemented.

[0028] In a fourth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps of any of the methods described in the first aspect are implemented.

[0029] In a fifth aspect, the present application further provides a computer program product, comprising a computer program, which, when executed by a processor, implements the steps of any of the methods described in the first aspect above.

[0030] The resource processing method, device, equipment, readable storage medium and program product described above first send a target request message to a computing power network deployed with multiple computing power nodes, then receive a response message returned by the target computing power node in response to the target request message and containing the identification information of the target computing power node, and finally, based on the identification information of the target computing power node, execute a processing flow for the target computing power node, wherein the processing flow includes a computing power node addition flow or a computing power node exit flow. In this way, the identification information of the computing power node is obtained by interacting with the message of the computing power node, and the available computing power node can be found according to the identification information, or the computing power node that is unavailable due to a fault can be found in time, thereby realizing the automatic execution of the computing power node addition flow or the computing power node exit flow for the computing power node, without the need for manual operation of adding computing power nodes, and thus the efficiency is higher. BRIEF DESCRIPTION OF THE DRAWINGS

[0031] In order to more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the drawings required for use in the embodiments of the present application or related technical descriptions will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.

[0032] FIG1 is an application environment diagram of a resource processing method in one embodiment;

[0033] FIG2 is a schematic diagram of a process flow of a resource processing method in one embodiment;

[0034] FIG3 is a schematic diagram of a flow chart of a resource processing method in another embodiment;

[0035] FIG4 is a schematic diagram of a flow chart of a resource processing method in another embodiment;

[0036] FIG5 is a schematic diagram of a flow chart of a resource processing method in another embodiment;

[0037] FIG6 is a schematic diagram of a flow chart of a resource processing method in another embodiment;

[0038] FIG7 is a schematic diagram of the structure of a computing resource discovery system in one embodiment;

[0039] FIG8 is a schematic diagram of a process for adding a computing node in a computing resource discovery system according to an embodiment;

[0040] FIG9 is a flow chart of a computing power node exit process of a computing power resource discovery system in one embodiment;

[0041] FIG10 is a block diagram of a resource processing device in one embodiment;

[0042] FIG. 11 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION

[0043] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0044] The resource processing method provided in the embodiment of the present application can be applied in the application environment shown in FIG1. ​​Among them, the server 102 communicates with the computing network 104 through the network. The data storage system can store the data that the server 102 needs to process. The data storage system can be integrated on the server 102, or it can be placed on the cloud or other network servers. The server 102 can be an independent physical server, or it can be a server cluster or distributed system composed of multiple physical servers, or it can be a cloud server that provides cloud computing services.

[0045] In an exemplary embodiment, as shown in FIG2 , a resource processing method is provided, which is described by taking the method applied to the server in FIG1 as an example, and includes the following steps 201 to 203. Among them:

[0046] Step 201, sending a target request message to the computing power network.

[0047] Among them, the computing power network is deployed with multiple computing power nodes, and the computing power network orchestration management layer is used to realize the orchestration and scheduling of computing power resources in the computing power network. Multiple computing power nodes include computing power nodes that have not been discovered by the computing power network orchestration management layer. Since only discovered computing power nodes can perform subsequent computing power node authentication processes and scheduling operations, discovering new computing power nodes in the computing power network is a prerequisite for the operation of the computing power network. At the same time, when the computing power nodes that are already in the available resource list of the computing power network orchestration management layer are unavailable due to failures and other reasons, in order to avoid allocating user services to the failed computing power nodes, it is also necessary to promptly discover the unavailable computing power nodes in the computing power network. In order to determine the status of multiple computing power nodes, target request messages are periodically sent, and the target request messages can be broadcast messages.

[0048] Step 202, receiving a response message returned by the target computing power node in response to the target request message.

[0049] The response message contains the identification information of the target computing node, which is any one of the multiple computing nodes in the computing network. Optionally, the identification information can be the IP address of the target computing node. After receiving the target request message, the target computing node returns a response message if the target computing node is in normal state.

[0050] Step 203: Execute the processing flow on the target computing power node based on the identification information of the target computing power node.

[0051] Among them, the processing flow includes a computing power node addition flow or a computing power node exit flow. The computing power node addition flow can be to add the newly added computing power node to the available resource list of the computing power network orchestration management layer, so that the computing power network orchestration management layer can schedule the newly added computing power node. The computing power node exit flow can be to delete the faulty computing power node from the available resource list to avoid affecting the normal operation of the computing power network. Optionally, if the target computing power node is determined to be a newly added computing power node based on the identification information of the target computing power node, the computing power node addition flow is executed for the target computing power node. If the target computing power node is determined to be a faulty computing power node based on the identification information of the target computing power node, the computing power node exit flow is executed for the target computing power node.

[0052] In the above embodiment, first, a target request message is sent to a computing power network deployed with multiple computing power nodes, then, a response message containing the identification information of the target computing power node returned by the target computing power node in response to the target request message is received, and finally, based on the identification information of the target computing power node, a processing flow is executed on the target computing power node, wherein the processing flow includes a computing power node addition flow or a computing power node exit flow. In this way, the identification information of the computing power node is obtained by interacting with the message of the computing power node, and the available computing power node can be found according to the identification information, or the unavailable computing power node can be found in time, thereby realizing the automatic execution of the computing power node addition flow or the computing power node exit flow for the computing power node, and no manual operation of adding computing power nodes is required, so the efficiency is higher.

[0053] In one embodiment, the target request message includes a computing power discovery request message, and the above step 203 may be as shown in FIG. 3, including:

[0054] Step 301, query the preset database according to the identification information of the target computing power node.

[0055] Optionally, the preset database may store the computing nodes and corresponding identification information included in the list of available resources of the computing network orchestration management layer. By querying the preset database based on the identification information of the target computing node, such as the IP address, it can be determined whether the target computing node is in the list of available resources.

[0056] Step 302: If the identification information of the target computing power node does not exist in the preset database, the computing power node addition process is executed for the target computing power node.

[0057] If the identification information of the target computing power node does not exist in the preset database, that is, the target computing power node does not exist in the preset database, that is, the target computing power node has not been discovered before and is not in the list of available resources in the orchestration management layer, in order to realize the scheduling of the target computing power node, the computing power node addition process is executed for the target computing power node, and the target computing power node is added to the list of available resources.

[0058] Optionally, the process of adding a computing power node to the target computing power node may be as shown in FIG4, including:

[0059] Step 401, save the identification information of the target computing power node into a preset database.

[0060] Optionally, the time of adding the target computing power node or other configuration information of the target computing power node is saved in a preset database.

[0061] Step 402: Send a resource connection establishment request, where the resource connection establishment request is used to establish a dedicated network connection between the target computing power node and the computing power network.

[0062] After adding the target computing node, in order to provide a reliable network environment for the subsequent registration and identification process of the target computing node, a dedicated network connection is established between the target computing node and the computing network orchestration management layer. Optionally, a VPN (Virtual Private Network) is established. The dedicated network connection is established by sending a resource connection establishment request.

[0063] In the above embodiment, by sending a computing power discovery request message, the identification information of the target computing power node is obtained, and then the preset database is queried according to the identification information to determine whether the target computing power node is a newly added computing power node. If it is a newly added computing power node, the identification information of the target computing power node is saved in the preset database, and a dedicated network connection is established at the same time, thereby realizing the automatic addition process of the target computing power node.

[0064] In an embodiment of the present application, the target request includes a computing power node detection message, and the above step 203, as shown in FIG5 , may include:

[0065] Step 501, query the preset database according to the identification information of the target computing power node to determine the time corresponding to the identification information of the target computing power node.

[0066] When the target request is a computing power node detection message, at this time, the target computing power node is a computing power node that already exists in the list of available resources in the orchestration management layer. The target computing power node responds to the computing power node detection message and then returns a response message. According to the identification information of the target computing power node in the response message, the preset database is queried to determine the time corresponding to the identification information of the target computing power node, which is also the time when the target computing power node last returned a response message.

[0067] Step 502: If the time interval between the time corresponding to the identification information of the target computing power node and the response message returned by the target computing power node is less than a preset time threshold, the time corresponding to the identification information of the target computing power node in the preset database is updated according to the time of the response message returned by the target computing power node.

[0068] Among them, the preset time threshold can be set according to actual conditions. When the time corresponding to the identification information of the target computing power node, that is, the time interval between the time when the target computing power node returned a response message in the previous cycle and the time when the target computing power node returned a response message in the current cycle is less than the preset time threshold, it is determined that the status of the target computing power node is normal, and the time corresponding to the target computing power node in the preset database is updated according to the time of the response message of the target computing power node in the current cycle.

[0069] If it is determined that the number of times that the time corresponding to the identification information of the target computing power node in the preset database has not been updated continuously is greater than the preset number threshold, the computing power node exit process is executed for the target computing power node.

[0070] If the target computing power node fails, it may not be able to return a response message, that is, the time corresponding to the identification information of the target computing power node in the preset database cannot be updated in time. When it is found that the time corresponding to the identification information of the target computing power node in the preset database has not been updated for a number of consecutive times greater than the preset number threshold, that is, no response message has been received for multiple consecutive cycles, it is determined that the target computing power node may have a fault and cannot be used normally. At this time, the computing power node exit process is executed for the target computing power node.

[0071] Optionally, the steps of executing the computing power node exit process for the target computing power node may be as shown in FIG6, including:

[0072] Step 601, delete the identification information of the target computing power node in the preset database.

[0073] Step 602: Send a resource connection deletion request, which is used to delete the dedicated network connection between the target computing power node and the computing power network.

[0074] In the above embodiment, the availability of the target computing node is determined by periodically sending computing node detection messages. When the target computing node fails, the list of available resources in the orchestration management layer is updated in time, and the dedicated network connection is deleted to avoid scheduling user services to unavailable computing nodes, thereby ensuring the reliability of the computing network.

[0075] In an embodiment of the present application, the computing power resource processing method can be applied to a computing power resource processing system, wherein the functional structure diagram of the computing power resource processing system can be shown in FIG. 7 .

[0076] The computing resource processing system may include a computing resource discovery database, i.e., a preset database, storing a list of available computing nodes, a decision generation module, a computing resource discovery module, a resource connection management module, and a computing resource detection module. The computing resource discovery module, the resource connection management module, and the computing resource detection module are connected to the computing network resource layer, i.e., the resources in the computing network, including multiple computing nodes.

[0077] Among them, the decision generation module is used to communicate and connect with the computing power resource discovery module, the computing power resource detection module and the resource connection management module, and judge whether it is necessary to add or delete computing power nodes, and whether it is necessary to establish or delete dedicated network connections according to the computing power resource discovery module, the computing power resource detection message and the computing power resource discovery database. The computing power resource discovery module is used to send computing power discovery requests to each computing power node and receive response messages from the computing power node. The computing power resource detection module is used to send computing power node detection requests to each computing power node and receive response messages from the computing power node. The resource connection management module is used to receive a request to establish or delete a dedicated network connection from the decision generation module and perform corresponding operations on resource connections.

[0078] Optionally, the computing power resource processing method may include a computing power node addition process and a computing power node exit process. The computing power node addition process may be shown in FIG8 .

[0079] The process of adding computing power nodes involves four modules: computing power resource discovery module, decision generation module, computing power resource discovery database, and resource connection management module. The computing power resource discovery module sends a request message to obtain computing power nodes that are available but not added to the available resource list by the computing power network system, write them into the computing power resource discovery database, and establish a dedicated network connection. The specific process is as follows:

[0080] ① The computing power resource discovery module periodically sends computing power discovery request messages to the computing power network resource layer.

[0081] ② Each computing power node in the computing power network resource layer responds to the computing power discovery request message and returns a response message, which includes the computing power node IP address.

[0082] ③ The computing resource discovery module receives the response message from the computing node, takes out the IP address of the computing node and sends it to the decision generation module.

[0083] ④ The decision generation module sends a query request to the computing resource discovery database to confirm whether the computing resource discovery database contains the computing node IP address. If it does, the process ends. If it does not, the computing node IP address is written into the computing resource discovery database, and the time information of the newly added computing node being written into the database is recorded, and then ⑤ is executed.

[0084] ⑤ The decision generation module sends a resource connection establishment request to the resource connection management module.

[0085] ⑥ The resource connection management module sends a resource connection establishment request to the computing power network resource layer, and the computing power network resource layer establishes a dedicated network connection between the newly added computing power node and the computing power network control and orchestration system, such as VPN, so as to provide a reliable network environment for the subsequent registration and identification process of the newly added computing power node.

[0086] The computing power node exit process can be shown in Figure 9. The computing power node exit process involves four modules: computing power resource detection module, decision generation module, computing power resource discovery database, and resource connection management module. The specific process is as follows:

[0087] ① The computing resource detection module periodically sends computing node detection messages to the computing network resource layer.

[0088] ② The computing node of the computing network resource layer responds to the computing node detection message of the computing resource detection module and returns a response message, which includes the computing node IP address.

[0089] ③ The computing resource detection module receives the response message of the computing node detection message and sends the computing node IP address in the response message to the decision generation module.

[0090] ④ The decision generation module sends a query request to the computing power resource discovery database to confirm the time information corresponding to the computing power node IP address in the response message in the database. If it is within the time window T, the time information corresponding to the computing power node IP address is updated to the latest response message time, and then returns to ① to continue the next round of detection; if it is found that there is a computing power node in the database that has not received a response message for N consecutive cycles, the record of the computing power node is deleted and execution ⑤ continues.

[0091] ⑤The decision generation module sends a resource connection deletion request to the resource connection management module.

[0092] ⑥ The resource connection management module sends a resource connection deletion request to the computing network resource layer, and the resource layer deletes the dedicated network connection between the computing node and the computing network control and orchestration system.

[0093] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages 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 to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.

[0094] Based on the same inventive concept, the embodiment of the present application also provides a resource processing device for implementing the resource processing method involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in one or more resource processing device embodiments provided below can refer to the limitations on the resource processing method above, and will not be repeated here.

[0095] In an exemplary embodiment, as shown in FIG10 , a resource processing device 1000 is provided, comprising: a sending module, a receiving module and a processing module, wherein:

[0096] The sending module is used to send a target request message to the computing network, where multiple computing nodes are deployed.

[0097] A receiving module, used to receive a response message returned by the target computing power node in response to the target request message, wherein the response message includes identification information of the target computing power node;

[0098] The processing module is used to execute a processing flow on the target computing power node based on the identification information of the target computing power node, and the processing flow includes a computing power node addition flow or a computing power node exit flow.

[0099] In one embodiment, the target request message includes a computing power discovery request message, and the processing module is specifically used to query a preset database based on the identification information of the target computing power node; if the identification information of the target computing power node does not exist in the preset database, the computing power node addition process is executed for the target computing power node.

[0100] In one embodiment, the processing module is specifically used to save the identification information of the target computing power node into a preset database; send a resource connection establishment request, and the resource connection establishment request is used to establish a dedicated network connection between the target computing power node and the computing power network.

[0101] In one embodiment, the target request includes a computing power node detection message, and the processing module is specifically used to query a preset database according to the identification information of the target computing power node to determine the time corresponding to the identification information of the target computing power node; if the time interval between the time corresponding to the identification information of the target computing power node and the response message returned by the target computing power node is less than a preset time threshold, then the time corresponding to the identification information of the target computing power node in the preset database is updated according to the time of the response message returned by the target computing power node.

[0102] In one embodiment, the processing module is specifically used to execute a computing node exit process for the target computing node if it is determined that the number of times that the identification information of the target computing node in the preset database has not been updated continuously is greater than a preset number threshold.

[0103] In one embodiment, the processing module is specifically used to delete the identification information of the target computing power node in the preset database; send a resource connection deletion request, and the resource connection deletion request is used to delete the dedicated network connection between the target computing power node and the computing power network.

[0104] Each module in the resource processing device can be implemented in whole or in part by software, hardware, or a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute operations corresponding to each module.

[0105] In an exemplary embodiment, a computer device is provided, which may be a server, and its internal structure diagram may be shown in FIG11. The computer device includes a processor, a memory, an input / output interface (Input / Output, referred to as I / O) and a communication interface. Among them, 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. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store computing power node data. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a resource processing method is implemented.

[0106] Those skilled in the art will understand that the structure shown in FIG. 11 is merely a block diagram of a partial structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than shown in the figure, or combine certain components, or have a different arrangement of components.

[0107] In an exemplary embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the following steps when executing the computer program: sending a target request message to a computing power network, wherein the computing power network is deployed with multiple computing power nodes; receiving a response message returned by the target computing power node in response to the target request message, wherein the response message includes identification information of the target computing power node; and executing a processing flow on the target computing power node based on the identification information of the target computing power node, wherein the processing flow includes a computing power node addition flow or a computing power node exit flow.

[0108] In one embodiment, the target request message includes a computing power discovery request message, and the processor also implements the following steps when executing the computer program: querying a preset database based on the identification information of the target computing power node; if the identification information of the target computing power node does not exist in the preset database, executing the computing power node addition process for the target computing power node.

[0109] In one embodiment, when the processor executes the computer program, the following steps are also implemented: saving the identification information of the target computing power node to a preset database; sending a resource connection establishment request, the resource connection establishment request is used to establish a dedicated network connection between the target computing power node and the computing power network.

[0110] In one embodiment, the target request includes a computing power node detection message, and the processor also implements the following steps when executing the computer program: querying a preset database based on the identification information of the target computing power node to determine the time corresponding to the identification information of the target computing power node; if the time interval between the time corresponding to the identification information of the target computing power node and the response message returned by the target computing power node is less than a preset time threshold, then updating the time corresponding to the identification information of the target computing power node in the preset database according to the time of the response message returned by the target computing power node.

[0111] In one embodiment, when the processor executes the computer program, the following steps are also implemented: if it is determined that the number of times that the time corresponding to the identification information of the target computing power node in the preset database has not been updated continuously is greater than a preset number threshold, the computing power node exit process is executed for the target computing power node.

[0112] In one embodiment, when the processor executes the computer program, it also implements the following steps: deleting the identification information of the target computing power node in the preset database; sending a resource connection deletion request, the resource connection deletion request is used to delete the dedicated network connection between the target computing power node and the computing power network.

[0113] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the following steps are implemented: sending a target request message to a computing power network, where a plurality of computing power nodes are deployed; receiving a response message returned by the target computing power node in response to the target request message, where the response message includes identification information of the target computing power node; and executing a processing flow on the target computing power node based on the identification information of the target computing power node, where the processing flow includes a computing power node addition flow or a computing power node exit flow.

[0114] In one embodiment, the target request message includes a computing power discovery request message, and the computer program also implements the following steps when executed by the processor: querying a preset database based on the identification information of the target computing power node; if the identification information of the target computing power node does not exist in the preset database, executing the computing power node addition process for the target computing power node.

[0115] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: saving the identification information of the target computing power node to a preset database; sending a resource connection establishment request, the resource connection establishment request is used to establish a dedicated network connection between the target computing power node and the computing power network.

[0116] In one embodiment, the target request includes a computing power node detection message, and the computer program also implements the following steps when executed by the processor: querying a preset database based on the identification information of the target computing power node to determine the time corresponding to the identification information of the target computing power node; if the time interval between the time corresponding to the identification information of the target computing power node and the response message returned by the target computing power node is less than a preset time threshold, then updating the time corresponding to the identification information of the target computing power node in the preset database according to the time of the response message returned by the target computing power node.

[0117] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: if it is determined that the number of times that the time corresponding to the identification information of the target computing power node in the preset database has not been updated continuously is greater than a preset number threshold, the computing power node exit process is executed for the target computing power node.

[0118] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: deleting the identification information of the target computing power node in the preset database; sending a resource connection deletion request, which is used to delete the dedicated network connection between the target computing power node and the computing power network.

[0119] In one embodiment, a computer program product is provided, including a computer program, which implements the following steps when executed by a processor: sending a target request message to a computing power network, where a plurality of computing power nodes are deployed; receiving a response message returned by the target computing power node in response to the target request message, where the response message includes identification information of the target computing power node; and executing a processing flow on the target computing power node based on the identification information of the target computing power node, where the processing flow includes a computing power node addition flow or a computing power node exit flow.

[0120] In one embodiment, the target request message includes a computing power discovery request message, and the computer program also implements the following steps when executed by the processor: querying a preset database based on the identification information of the target computing power node; if the identification information of the target computing power node does not exist in the preset database, executing the computing power node addition process for the target computing power node.

[0121] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: saving the identification information of the target computing power node to a preset database; sending a resource connection establishment request, the resource connection establishment request is used to establish a dedicated network connection between the target computing power node and the computing power network.

[0122] In one embodiment, the target request includes a computing power node detection message, and the computer program also implements the following steps when executed by the processor: querying a preset database based on the identification information of the target computing power node to determine the time corresponding to the identification information of the target computing power node; if the time interval between the time corresponding to the identification information of the target computing power node and the response message returned by the target computing power node is less than a preset time threshold, then updating the time corresponding to the identification information of the target computing power node in the preset database according to the time of the response message returned by the target computing power node.

[0123] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: if it is determined that the number of times that the time corresponding to the identification information of the target computing power node in the preset database has not been updated continuously is greater than a preset number threshold, the computing power node exit process is executed for the target computing power node.

[0124] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: deleting the identification information of the target computing power node in the preset database; sending a resource connection deletion request, which is used to delete the dedicated network connection between the target computing power node and the computing power network.

[0125] 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 used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant regulations.

[0126] A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment method can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, an artificial intelligence (AI) processor, etc., but are not limited to this.

[0127] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.

[0128] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.

Claims

1. A resource processing method, characterized in that: The method comprises: Sending a target request message to a computing power network, where the computing power network is deployed with multiple computing power nodes; Receive a response message returned by the target computing power node in response to the target request message, wherein the response message includes identification information of the target computing power node; Based on the identification information of the target computing power node, a processing flow is executed on the target computing power node, where the processing flow includes a computing power node addition flow or a computing power node exit flow.

2. The method according to claim 1, characterized in that The target request message includes a computing power discovery request message, and the processing flow of executing the target computing power node based on the identification information of the target computing power node includes: Querying a preset database according to the identification information of the target computing power node; If the identification information of the target computing power node does not exist in the preset database, the computing power node addition process is executed for the target computing power node.

3. The method according to claim 2, characterized in that The step of executing a computing node addition process on the target computing node includes: Saving the identification information of the target computing power node in the preset database; Send a resource connection establishment request, where the resource connection establishment request is used to establish a dedicated network connection between the target computing power node and the computing power network.

4. The method according to claim 1, characterized in that: The target request includes a computing power node detection message, and the processing flow of executing the target computing power node based on the identification information of the target computing power node includes: Querying a preset database according to the identification information of the target computing power node to determine the time corresponding to the identification information of the target computing power node; If the time interval between the time corresponding to the identification information of the target computing power node and the response message returned by the target computing power node is less than the preset time threshold, the time corresponding to the identification information of the target computing power node in the preset database is updated according to the time of the response message returned by the target computing power node.

5. The method according to claim 4, characterized in that The method further comprises: If it is determined that the number of times that the identification information of the target computing power node in the preset database has not been updated continuously is greater than the preset number threshold, the computing power node exit process is executed for the target computing power node.

6. The method according to claim 4, characterized in that The executing a computing power node exit process on the target computing power node includes: Deleting the identification information of the target computing power node in the preset database; Send a resource connection deletion request, where the resource connection deletion request is used to delete the dedicated network connection between the target computing power node and the computing power network.

7. A resource processing device, characterized in that: The device comprises: A sending module, used to send a target request message to a computing power network, where the computing power network is deployed with multiple computing power nodes; A receiving module, used to receive a response message returned by a target computing power node in response to the target request message, wherein the response message includes identification information of the target computing power node; A processing module is used to execute a processing flow on the target computing power node based on the identification information of the target computing power node, and the processing flow includes a computing power node addition flow or a computing power node exit flow.

8. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.

10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.