Method for generating computing capability identifier, and computing capability identification apparatus and system
By generating computing power identification, the problem of unified identification of multi-level and heterogeneous computing power resources in computing power network is solved, and unified management and scheduling of these resources is realized, and the operation efficiency of computing power network is improved.
Patent Information
- Application Number
- PCT/CN2024/093128
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-08-02
- Filing Date
- 2024-05-14
- Publication Date
- 2025-02-06
AI Technical Summary
The prior art has failed to form a unified identification method for multi-level and heterogeneous computing resources in computing power networks, resulting in difficulty in uniform management and scheduling of these resources.
A method of generating computing power identification is proposed. By sending computing power modeling requests to the computing power modeling device, receiving and processing attribute information of computing power resources, generating computing power identification of computing power resources, and sending it to the resource The collection device is managed.
It realizes the unified identification of multi-level and heterogeneous computing resources in the computing power network, meets the unified management and scheduling needs of multi-level and heterogeneous computing power resources, and improves the operation and management efficiency of the computing power network.
Smart Images

Figure CN2024093128_06022025_PF_FP_ABST
Abstract
Description
A method for generating a computing power identification, a computing power identification device and a system
[0001] CROSS-REFERENCE TO RELATED APPLICATIONS
[0002] This application is based on the application with CN application number 202310964737.4 and application date August 2, 2023, and claims its priority. The disclosed content of the CN application is hereby introduced as a whole into this application. Technical Field
[0003] The present disclosure relates to the field of computer technology, and in particular to a method for generating a computing power identification, a computing power identification device, and a system. Background Art
[0004] Computing power identification is a prerequisite for the realization of a computing power network. Computing power resources in a computing power network differ from conventional homogeneous computing power resources. They are multi-level (e.g., cloud computing, edge computing, and edge computing), heterogeneous (e.g., central processing units (CPUs), graphics processing units (GPUs), field programmable gate arrays (FPGAs), and application-specific integrated circuits (ASICs)), and diverse in ownership. This makes it difficult to uniformly identify computing power resources.
[0005] In the related technology, there is no unified identification method for multi-level, heterogeneous computing resources in the computing network.
[0006] Summary of the Invention
[0007] The present disclosure provides a method for generating a computing power identification, a computing power identification device, and a system.
[0008] According to the first aspect of the present disclosure, a method for generating a computing power identification is proposed, including: sending a computing power modeling request to a computing power modeling device in response to a computing power identification request of a computing power resource; receiving a computing power modeling response corresponding to the computing power modeling request from the computing power modeling device, the computing power modeling response including a computing power modeling result; sending the computing power identification of the computing power resource to the computing power resource, the computing power identification of the computing power resource being obtained based on the computing power modeling result.
[0009] In some embodiments, the computing power modeling request includes at least one attribute information of the computing power resource, and the at least one attribute information of the computing power resource is used by the computing power modeling device to obtain the computing power modeling result.
[0010] In some embodiments, the at least one attribute information includes the computing power type of the computing power resource.
[0011] In some embodiments, the computing power modeling result includes the computing power value of the computing power resource.
[0012] In some embodiments, the computing power identification of the computing power resource includes the computing power value of the computing power resource and the unique computing power identification number of the computing power resource.
[0013] In some embodiments, the computing power identifier of the computing power resource also includes the computing power type of the computing power resource.
[0014] In some embodiments, the unique computing power identification number of the computing power resource is obtained according to the following method: according to the computing power identification request, the computing power type of the computing power resource is obtained; according to the reception time of the computing power identification request, the computing power type of the computing power resource, and the serial number, the unique computing power identification number of the computing power resource is generated.
[0015] In some embodiments, the method for generating a computing power identifier further includes: sending the computing power identifier of the computing power resource to a resource collection device, and the computing power identifier of the computing power resource is used by the resource collection device to manage the computing power identifier of the computing power resource.
[0016] In some embodiments, the method for generating a computing power identifier further includes: receiving a response from the resource collection device, where the response from the resource collection device is used to indicate whether the resource collection device has received the computing power identifier of the computing resource.
[0017] In some embodiments, the method for generating a computing power identifier further includes: receiving a response from the computing power resource, where the response from the computing power resource is used to indicate whether the computing power resource has received the computing power identifier of the computing power resource.
[0018] According to the second aspect of the present disclosure, a computing power identification device is proposed, including: a request sending unit, configured to send a computing power modeling request to the computing power modeling device in response to a computing power identification request of a computing power resource; a result receiving unit, configured to receive a computing power modeling response corresponding to the computing power modeling request from the computing power modeling device, the computing power modeling response including a computing power modeling result; an identification sending unit, configured to send the computing power identification of the computing power resource to the computing power resource, the computing power identification of the computing power resource being obtained based on the computing power modeling result.
[0019] According to the third aspect of the present disclosure, a computing power identification system is proposed, including: a computing power identification device, configured to send a computing power modeling request to the computing power modeling device in response to a computing power identification request of a computing power resource; the computing power modeling device is configured to: model the computing power resource according to the computing power modeling request to obtain a computing power modeling result of the computing power resource; and send the computing power modeling result to the computing power identification device; the computing power identification device is further configured to: generate a computing power identification of the computing power resource according to the computing power modeling result; and send the computing power identification of the computing power resource to the computing power resource.
[0020] In some embodiments, the computing power modeling result includes the computing power value of the computing power resource.
[0021] In some embodiments, the computing power modeling device models the computing power resource according to the computing power modeling request to obtain a computing power modeling result of the computing power resource, including: the computing power modeling device obtains at least one attribute information of the computing power resource according to the computing power modeling request; the computing power modeling device constructs a computing power measurement model of the computing power resource according to at least one attribute information of the computing power resource; the computing power modeling device determines the computing power value of the computing power resource according to the computing power measurement model of the computing power resource.
[0022] In some embodiments, the computing power modeling device models the computing power resource in the absence of historical modeling results of the computing power resource to obtain a computing power modeling result of the computing power resource; and the computing power modeling device is also configured to, in the absence of historical modeling results of the computing power resource, use the historical modeling results as the computing power modeling results of the computing power resource.
[0023] In some embodiments, the computing power identification system also includes: a resource collection device, configured to: receive the computing power identification of the computing power resource sent by the computing power identification device, and the computing power identification of the computing power resource is used by the resource collection device to manage the computing power identification of the computing power resource; and send a response to the computing power identification device, and the response is used to indicate whether the resource collection device has received the computing power identification of the computing power resource.
[0024] According to a fourth aspect of the present disclosure, an electronic device is proposed, comprising: a memory; and a processor coupled to the memory, wherein the processor is configured to execute the method for generating a computing power identifier as described above based on instructions stored in the memory.
[0025] According to a fifth aspect of the present disclosure, a computer-readable storage medium is proposed, on which computer program instructions are stored, and when the instructions are executed by a processor, a method for generating a computing power identifier is implemented.
[0026] Other features and advantages of the present disclosure will become apparent from the following detailed description of exemplary embodiments of the present disclosure with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments of the present disclosure and, together with the description, serve to explain the principles of the present disclosure.
[0028] The present disclosure can be more clearly understood from the following detailed description with reference to the accompanying drawings.
[0029] FIG1 is a flowchart of a method for generating a computing power identifier according to some embodiments of the present disclosure.
[0030] FIG2 is a flowchart of a method for generating a computing power identifier according to other embodiments of the present disclosure.
[0031] FIG3 is a flowchart of a method for generating a computing power identifier according to some further embodiments of the present disclosure.
[0032] FIG4 is a schematic structural diagram of a computing power identification device according to some embodiments of the present disclosure.
[0033] FIG5 is a schematic diagram of the structure of a computing power identification system according to some embodiments of the present disclosure.
[0034] FIG6 is a schematic diagram of the structure of a computing power network according to some embodiments of the present disclosure.
[0035] FIG7 is a schematic structural diagram of an electronic device according to some embodiments of the present disclosure.
[0036] FIG8 is a schematic diagram of the structure of a computer system according to some embodiments of the present disclosure. DETAILED DESCRIPTION
[0037] Various exemplary embodiments of the present disclosure will now be described in detail with reference to the accompanying drawings. It should be noted that unless otherwise specifically stated, the relative arrangement of components and steps, numerical expressions and numerical values set forth in these embodiments do not limit the scope of the present disclosure.
[0038] At the same time, it should be understood that for the convenience of description, the sizes of the various parts shown in the drawings are not drawn according to the actual proportional relationship.
[0039] The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the present disclosure, its application, or uses.
[0040] Technologies, methods, and apparatus known to ordinary technicians in the relevant field may not be discussed in detail, but where appropriate, such technologies, methods, and apparatus should be considered part of the authorization specification.
[0041] In all examples shown and discussed herein, any specific values should be interpreted as merely exemplary and not limiting. Therefore, other examples of the exemplary embodiments may have different values.
[0042] It should be noted that like reference numerals and letters refer to like items in the following figures, and therefore, once an item is defined in one figure, it need not be further discussed in subsequent figures.
[0043] In order to make the objectives, technical solutions and advantages of the present disclosure more clearly understood, the present disclosure is further described in detail below in conjunction with specific embodiments and with reference to the accompanying drawings.
[0044] In the relevant technology, there is no unified identification method for the multi-level, heterogeneous computing resources in the computing network. Therefore, designing a processing flow and computing power identification architecture for unified identification of computing power resource information in the computing network is a key issue in realizing the computing network.
[0045] In view of this, the present disclosure proposes a method, a computing power identification device and a system for generating computing power identification, and designs a process for unified identification of multi-level and heterogeneous computing power resources in a computing power network, which can meet the unified identification requirements of multi-level and heterogeneous computing power resources.
[0046] Figure 1 is a flow chart of a method for generating a computing power identifier according to some embodiments of the present disclosure. As shown in Figure 1 , the method for generating a computing power identifier includes steps S110 to S130.
[0047] In step S110, in response to the computing power identification request of the computing power resource, a computing power modeling request is sent to the computing power modeling device.
[0048] In some embodiments, the method for generating a computing power identification is performed by a computing power identification device.
[0049] In some embodiments, when the computing power resource does not have a computing power identifier or needs to update the computing power identifier, the computing power resource sends a computing power identifier request to the computing power identifier device.
[0050] In some embodiments, in order to distinguish between a case where there is no computing power identification and a case where the computing power identification needs to be updated, the computing power identification device sends different computing power identification requests in the two cases. In the case where the computing power identification needs to be updated, the computing power identification request sent by the computing power resource is specifically a computing power identification update request.
[0051] In some embodiments, the computing power modeling request includes at least one attribute information of the computing power resource, and the at least one attribute information of the computing power resource is used by the computing power modeling device to obtain the computing power modeling result.
[0052] In some embodiments, at least one attribute of a computing resource includes the computing type of the computing resource. For example, the computing type of a computing resource includes computing type, storage type, and so on. The computing type may further include multiple computing subtypes, such as cloud computing type, edge computing type, and edge computing type; and the storage type may further include multiple storage subtypes.
[0053] In other embodiments, at least one attribute information of the computing power resource includes not only the computing power type of the computing power resource, but also other attribute information of the computing power resource, such as the business type of the computing power resource.
[0054] In some embodiments, the computing power identification device obtains at least one attribute information of the computing power resource based on the computing power identification request, carries the at least one attribute information of the computing power resource in the computing power modeling request, and sends it to the computing power modeling device.
[0055] For example, the computing power identification device parses the computing power identification request to obtain at least one attribute information of the computing power resource. For example, the computing power identification device parses the computing power identification request to obtain the description information of the computing power resource, and queries the at least one attribute information of the computing power resource based on the description information of the computing power resource.
[0056] In the embodiment of the present disclosure, by carrying at least one attribute information of the computing power resource in the computing power modeling request, the computing power modeling module can perform targeted and accurate computing power modeling according to the characteristics of different computing power resources, thereby helping to improve the effect of unified identification of multi-level and heterogeneous computing power resources in the computing power network.
[0057] In step S120 , a computing power modeling response corresponding to the computing power modeling request is received from the computing power modeling device.
[0058] The computing power modeling response includes a computing power modeling result of the computing power resource. In some embodiments, the computing power modeling result of the computing power resource includes a computing power value of the computing power resource. The computing power value can be understood as a measurement of the processing capacity of the computing power resource.
[0059] In step S130, the computing power identifier of the computing power resource is sent to the computing power resource.
[0060] The computing power identifier of the computing power resource is obtained according to the computing power modeling result of the computing power resource.
[0061] In some embodiments, the computing power modeling result of the computing power resource includes the computing power value of the computing power resource. In these embodiments, after obtaining the computing power value of the computing power resource, the computing power identification device generates a computing power identification of the computing power resource, and the computing power identification of the computing power resource includes a unique computing power identification number of the computing power resource and the computing power value of the computing power resource.
[0062] In other embodiments, the computing power identification of the computing power resource includes not only the unique computing power identification number of the computing power resource and the computing power value of the computing power resource, but also the computing power type of the computing power resource.
[0063] In the embodiments of the present disclosure, by making the computing power identification of the computing power resource include information such as the unique computing power identification number of the computing power resource and the computing power value of the computing power resource, not only can the computing power resource be identified globally and uniquely, but it is also convenient to uniformly schedule, allocate, and manage multi-level, heterogeneous computing power resources based on information such as the computing power value of the computing power resource contained in the computing power identification, which helps to improve the efficiency of the operation and management of the entire computing power network.
[0064] In some embodiments, the computing power identification device generates a unique computing power identification number for the computing power resource based on the computing power identification request, and generates a computing power identification for the computing power resource based on the unique computing power identification number of the computing power resource and the computing power value of the computing power resource returned by the computing power modeling device, as well as the computing power type of the computing power resource.
[0065] In some embodiments, the computing power identification device generates a unique computing power identification number for a computing power resource in the following manner: obtaining the computing power type of the computing power resource in response to a computing power identification request; and generating the unique computing power identification number for the computing power resource based on the time the computing power identification request was received, the computing power type of the computing power resource, and a sequence number. For example, the sequence number is an auto-incremental sequence number.
[0066] In some embodiments, the computing power identification device generates a unique computing power identification number for the computing power resource in the following manner: obtaining the business type of the computing power resource based on the computing power identification request; and generating a unique computing power identification number for the computing power resource using the Redis algorithm based on the reception time of the computing power identification request, the business type of the computing power resource, and a random number.
[0067] The Redis algorithm is a distributed unique identification number generation algorithm that effectively addresses the issue of a large number of concurrent computing power identification requests within a short period of time. However, in related technologies, the identification numbers generated by the Redis algorithm typically consist of a date and an auto-incrementing identifier (ID). These numbers are highly coupled with time and have difficulty distinguishing between different services, making them difficult to directly apply to computing power identification generation scenarios.
[0068] In some embodiments of the present disclosure, by improving the processing flow of generating identification numbers based on the Redis algorithm, it is possible to generate a unique computing power identification number for computing power resources based on the Redis algorithm, thereby effectively solving the problem of a large number of concurrent computing power identification requests in a short period of time; further, when generating a unique computing power identification number using the Redis algorithm, not only the reception time of the computing power identification request is considered, but also the business type and random number of the computing power resource are considered, so that the generated unique computing power identification number is more random, so that concurrent computing power identification requests at the same time can be distinguished, and the generated unique computing power identification number can also reflect the business type information of different computing power resources, which facilitates the subsequent effective management of computing power resources based on the computing power identification including the unique computing power identification number.
[0069] In some embodiments, the unique computing power identification number of the computing power resource includes the time of receipt of the computing power identification request, the business type code of the computing power resource, and a random number.
[0070] For example, the unique computing power identification number of a computing power resource is a 64-bit binary number, consisting of: a 1-bit sign bit, a 7-bit service type code, a 32-bit timestamp, a 16-bit auto-incrementing sequence number, and an 8-bit random number. The sign bit (1 bit) is 0, ensuring that the generated unique computing power identification number is a positive number. The service type code (7 bits) is the encoding information of the service type of the computing power resource. The timestamp (32 bits) is the reception time information of the computing power identification request, accurate to the second and incremented by time. The sequence number (16 bits) is a self-incrementing sequence number generated by a counter. The random number (8 bits) is generated by a random number generation function to enhance the randomness and uniqueness of the identification.
[0071] In the disclosed embodiment, a process for uniformly identifying multi-level, heterogeneous computing resources in a computing network is designed through the above steps, which can meet the unified identification requirements of multi-level, heterogeneous computing resources.
[0072] FIG2 is a flow chart of a method for generating a computing power identifier according to some other embodiments of the present disclosure. As shown in FIG2 , the method for generating a computing power identifier includes steps 201 to 207 .
[0073] In step 201, the computing power resource sends a computing power identification request to the computing power identification device.
[0074] In some embodiments, at least one computing power resource among a plurality of computing power resources in a computing power network sends a computing power identification request to a computing power identification device.
[0075] In some embodiments, the computing power identification request includes at least one attribute information of the computing power resource. For example, the computing power identification request includes attribute information of the computing power resource, such as the computing power type of the computing power resource and the service type of the computing power resource.
[0076] In step 202, the computing power identification device sends a response message to the computing power resource.
[0077] In some implementations, after receiving the computing power identification request, the computing power identification device sends a response message to the computing power resource so that the computing power resource can confirm that the computing power identification device has received the computing power identification request.
[0078] In step 203, the computing power identification device sends a computing power modeling request to the computing power modeling device.
[0079] In some embodiments, step 203 includes: the computing power identification device obtains at least one attribute information of the computing power resource based on the computing power identification request, and sends a computing power modeling request containing the at least one attribute information of the computing power resource to the computing power modeling device. For example, the computing power identification device includes the computing power type of the computing power resource in the computing power modeling request and sends it to the computing power modeling device. Including the attribute information of the computing power resource in the computing power modeling request helps the computing power modeling module perform targeted and accurate computing power modeling based on the characteristics of different computing power resources, thereby helping to improve the effectiveness of unified identification of multi-level, heterogeneous computing power resources in the computing power network.
[0080] In some embodiments, step 203 includes: the computing power identification device verifies the computing power resources; if the computing power resources pass the verification, a computing power modeling request carrying at least one attribute information of the computing power resources is sent to the computing power modeling device.
[0081] For example, the computing power identification device determines whether the computing power resource is in the computing power resource whitelist. If the computing power resource is in the computing power resource whitelist, it is determined that the computing power resource has passed the verification; otherwise, it is determined that the computing power resource has not passed the verification.
[0082] In some embodiments, the method for generating a computing power identification further includes: if the computing power resource fails to pass the verification, the computing power identification device rejects the computing power identification request of the computing power resource.
[0083] In some embodiments, after receiving a computing power modeling request, the computing power modeling device obtains a computing power modeling result including: the computing power modeling device obtains at least one attribute information of the computing power resource according to the computing power modeling request; constructs a computing power measurement model of the computing power resource according to the at least one attribute information of the computing power resource; and determines the computing power value of the computing power resource according to the computing power measurement model of the computing power resource.
[0084] For example, the computing power modeling device parses the computing power type of the computing power resource from the computing power modeling request; constructs a corresponding computing power measurement model based on the computing power type of the computing power resource; and then calculates the computing power value of the computing power resource based on the computing power measurement model. For example, if the computing power type of the computing power resource is a computing type, a computing power measurement model applicable to the computing type is established, and the computing power value of the computing power resource is calculated based on the computing power measurement model; if the computing power type of the computing power resource is a storage type, a computing power measurement model applicable to the storage type is established, and the computing power value of the computing power resource is calculated based on the computing power measurement model.
[0085] In the embodiments of the present disclosure, by constructing different computing power measurement models for different types of computing power resources and calculating the computing power of computing power resources based on different computing power measurement models, the computing power modeling requirements of different computing power resources can be more accurately met, and the accuracy of the subsequently generated computing power identification can be improved.
[0086] In some embodiments, after receiving a computing power modeling request, the computing power modeling device obtains a computing power modeling result including: the computing power modeling device determines whether there are historical modeling results of the computing power resources; if there are historical modeling results of the computing power resources, the historical modeling results are used as the computing power modeling results of the computing power resources; if there are no historical modeling results of the computing power resources, the computing power resources are modeled to obtain the computing power modeling results.
[0087] In the embodiment of the present disclosure, by saving the historical modeling results of computing power resources and considering using the historical modeling results first when there is a need for computing power modeling, the resource overhead of the computing power modeling module can be reduced and the efficiency of computing power modeling can be improved, which in turn helps to reduce the resource overhead of generating computing power identifiers as a whole and improve the efficiency of generating computing power identifiers.
[0088] In some embodiments, after receiving a computing power modeling request, the computing power modeling device obtains a computing power modeling result including: the computing power modeling device determines whether there are historical modeling results of the computing power resource, and the scoring information of the historical modeling results; if there are historical modeling results of the computing power resource, and the scoring information of the historical modeling results indicates that the historical modeling results are credible (for example, the score of the historical modeling results is greater than or equal to the first scoring threshold, which indicates that the historical modeling results are credible), the historical modeling results are used as the computing power modeling results of the computing power resource; if there are no historical modeling results of the computing power resource, or the scoring information of the historical modeling results indicates that the historical modeling results are unreliable (for example, the score of the historical modeling results is less than the first scoring threshold, which indicates that the historical modeling results are unreliable), the computing power resource is modeled to obtain the computing power modeling result.
[0089] In the embodiment of the present disclosure, by further introducing the scoring information of the historical modeling results, and when there are historical modeling results of computing power resources and the scoring information indicates that the historical modeling results are credible, the historical modeling results are considered first. This not only reduces the resource overhead of the computing power modeling module and improves the efficiency of computing power modeling, but also improves the reliability of the obtained computing power modeling results, thereby reducing the resource overhead of generating computing power identifiers as a whole, improving the efficiency of generating computing power identifiers, and improving the reliability of the generated computing power identifiers.
[0090] In step 204, the computing power modeling device sends a computing power modeling response to the computing power identification device.
[0091] In some embodiments, the computing power modeling response includes a computing power modeling result. For example, the computing power modeling result includes a computing power value of the computing power resource.
[0092] In some embodiments, the computing power identification device generates a computing power identification of the computing power resource based on the computing power value of the computing power resource, the unique computing power identification number of the computing power resource, and the computing power type of the computing power resource.
[0093] For example, the computing power identification of a computing power resource includes the computing power value of the computing power resource, the unique computing power identification number of the computing power resource, and the computing power type of the computing power resource.
[0094] In some embodiments, the unique computing power identification number of the computing power resource includes the time of receipt of the computing power identification request, the business type code of the computing power resource, and a random number.
[0095] In step 205, the computing power identification device sends the computing power identification to the computing power resource.
[0096] In step 206, the computing power resource sends a response message to the computing power identification device.
[0097] In the embodiment of the present disclosure, by allowing the computing power resource to send a response message after receiving the computing power identifier, the computing power identification device can promptly know whether the computing power resource has received the computing power identifier, further improving the computing power identifier generation process.
[0098] In step 207, the computing power identification device sends the computing power identification to the resource collection device.
[0099] In some embodiments, the resource collection device uniformly schedules, allocates, and manages computing resources based on computing power identifiers. For example, upon receiving a computing power allocation request, the resource collection device compares the computing power required by the device in the computing power allocation request with the computing power values contained in the computing power identifiers of the respective computing resources, and allocates computing power resources to the devices based on the comparison result.
[0100] In step 208, the resource collection device sends a response message to the computing power identification device.
[0101] In the embodiment of the present disclosure, by having the resource collection module send a response message after receiving the computing power identifier, the computing power identification device can promptly know whether the resource collection module has received the computing power identifier, further improving the computing power identifier generation process.
[0102] In the disclosed embodiment, the above steps are used to design a process and architecture for unified identification of multi-level, heterogeneous computing resources in a computing network, which can meet the unified identification requirements of multi-level, heterogeneous computing resources.
[0103] FIG3 is a flow chart of a method for generating a computing power identifier according to some further embodiments of the present disclosure. As shown in FIG3 , the method for generating a computing power identifier includes steps 301 and 302 .
[0104] In step 301, the computing power resource sends a computing power identification request to the computing power identification system.
[0105] In some embodiments, the computing power identification request includes at least one attribute information of the computing power resource, for example, one or more of the attribute information such as the computing power type of the computing power resource and the service type of the computing power resource.
[0106] In step 302, the computing power identification system sends the computing power identification to the computing power resource.
[0107] The computing power identification system determines the computing power modeling result of the computing power resource based on the computing power identification request; generates the computing power identification of the computing power resource based on the computing power modeling result; and sends the computing power identification of the computing power resource to the computing power resource.
[0108] In some embodiments, the computing power modeling result includes a computing power value of the computing power resource. In these embodiments, the computing power identification system determines the computing power modeling result of the computing power resource based on the computing power identification request, including: the computing power identification system obtains the computing power type of the computing power resource based on the computing power identification request, and models the computing power resource based on the computing power type of the computing power resource to obtain the computing power value of the computing power resource.
[0109] In some embodiments, the computing power modeling result includes a computing power value of the computing power resource. In these embodiments, the computing power identification system generates a computing power identification of the computing power resource based on the computing power modeling result, including: the computing power identification system generates the computing power identification of the computing power resource based on the computing power value of the computing power resource, a unique computing power identification number of the computing power resource, and a computing power type of the computing power resource.
[0110] In some embodiments, the computing power resource system includes a computing power identification device, a computing power modeling device, and a resource collection device, and generates a computing power identification of the computing power resource based on the process shown in Figure 2.
[0111] In the disclosed embodiment, the above method is used to design a process and architecture for unified identification of multi-level, heterogeneous computing resources in a computing network, which can meet the unified identification requirements of multi-level, heterogeneous computing resources.
[0112] FIG4 is a schematic diagram of a computing power identification device according to some embodiments of the present disclosure. As shown in FIG4 , the computing power identification device 400 includes a request sending module 410 , a result receiving module 420 , and an identification sending module 430 .
[0113] The request sending module 410 is configured to send a computing power modeling request to the computing power modeling device in response to a computing power identification request of a computing power resource.
[0114] The result receiving module 420 is configured to receive a computing power modeling response corresponding to the computing power modeling request from the computing power modeling device, wherein the computing power modeling response includes a computing power modeling result.
[0115] The identifier sending module 430 is configured to send the computing power identifier of the computing power resource to the computing power resource, wherein the computing power identifier of the computing power resource is obtained according to the computing power modeling result.
[0116] In the disclosed embodiment, the above device realizes the process of unified identification of multi-level and heterogeneous computing resources in the computing network, which can meet the unified identification requirements of multi-level and heterogeneous computing resources.
[0117] FIG5 is a schematic diagram of a computing power identification system according to some embodiments of the present disclosure. As shown in FIG5 , the computing power identification system 500 includes a computing power identification device 510 and a computing power modeling device 520 .
[0118] The computing power identification device 510 is configured to send a computing power modeling request to the computing power modeling device 520 in response to a computing power identification request of a computing power resource.
[0119] The computing power modeling device 520 is configured to: model the computing power resources according to the computing power modeling request to obtain a computing power modeling result of the computing power resources; and send the computing power modeling result to the computing power identification device 510.
[0120] The computing power identification device 510 is further configured to: generate a computing power identification of the computing power resource according to the computing power modeling result; and send the computing power identification of the computing power resource to the computing power resource.
[0121] In some embodiments, the computing power modeling result includes the computing power value of the computing power resource. In these embodiments, the computing power modeling device 520 models the computing power resource according to the computing power modeling request to obtain the computing power modeling result of the computing power resource, including: obtaining at least one attribute information of the computing power resource according to the computing power modeling request; constructing a computing power measurement model of the computing power resource according to the at least one attribute information of the computing power resource; and determining the computing power value of the computing power resource according to the computing power measurement model of the computing power resource.
[0122] In some embodiments, the computing power modeling device 520 models the computing power resources to obtain the computing power modeling results of the computing power resources when there are no historical modeling results of the computing power resources; and uses the historical modeling results as the computing power modeling results of the computing power resources when there are historical modeling results of the computing power resources.
[0123] In some embodiments, the computing power identification system further includes a resource collection device 530. The resource collection device 530 is configured to: receive the computing power identification of the computing power resource sent by the computing power identification device 510, and the computing power identification of the computing power resource is used by the resource collection device 530 to manage the computing power identification of the computing power resource; and send a response to the computing power identification device 510, where the response is used to indicate whether the resource collection device has received the computing power identification of the computing power resource.
[0124] In the disclosed embodiment, the above system realizes the process and architecture for unified identification of multi-level and heterogeneous computing resources in the computing network, which can meet the unified identification requirements of multi-level and heterogeneous computing resources.
[0125] Figure 6 is a schematic diagram of the structure of a computing network according to some embodiments of the present disclosure. As shown in Figure 6, the computing network includes a computing network control layer 610, a computing network resource layer 620, and a computing network orchestration management layer 630.
[0126] The computing power network control layer 610 includes a resource collection device 611. The resource collection device 611 is used to collect computing power identifications of computing power resources so that the resource collection device or other devices can uniformly schedule, allocate, and manage computing power resources based on the computing power identifications of computing power resources.
[0127] The computing power network resource layer 620 includes a computing power identification device 621 , computing power resources 622 , and computing power resources m 623 .
[0128] The computing power identification device 621 is used to uniformly generate computing power identification for various computing power resources in the computing power network.
[0129] The computing power network orchestration management layer 630 includes a computing power modeling device 631. The computing power modeling device is used to model computing power resources so that the computing power identification device can generate a computing power identification based on the computing power modeling results.
[0130] Computing resources 622 and computing resources m623 are, for example, computing resources or storage resources.
[0131] In the embodiments of the present disclosure, the above architectural design can meet the unified identification requirements of multi-level, heterogeneous computing resources.
[0132] FIG7 is a schematic structural diagram of an electronic device according to some embodiments of the present disclosure.
[0133] As shown in Figure 7, electronic device 700 includes a memory 710 and a processor 720 coupled to the memory 710. Memory 710 is used to store instructions for executing the corresponding embodiments of the method for generating a computing power identifier. Processor 720 is configured to execute the method for generating a computing power identifier in any of the embodiments of the present disclosure based on the instructions stored in memory 710.
[0134] FIG8 is a schematic diagram of the structure of a computer system according to some embodiments of the present disclosure.
[0135] 8 , a computer system 800 may be implemented as a general-purpose computing device and includes a memory 810 , a processor 820 , and a bus 830 that connects various system components.
[0136] The memory 810 may include, for example, a system memory, a non-volatile storage medium, and the like. The system memory may store, for example, an operating system, an application program, a boot loader, and other programs. The system memory may include a volatile storage medium, such as a random access memory (RAM) and / or a cache memory. The non-volatile storage medium may store, for example, instructions for executing at least one corresponding embodiment of the method for generating a computing power identifier. Non-volatile storage media include, but are not limited to, disk storage, optical storage, flash memory, and the like.
[0137] The processor 820 can be implemented as a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic device, or as discrete hardware components such as discrete gates or transistors. Accordingly, each module, such as the request sending module, the result receiving module, and the identification sending module, can be implemented by a central processing unit (CPU) executing instructions in a memory for executing corresponding steps, or by dedicated circuits for executing corresponding steps.
[0138] The bus 830 may use any of a variety of bus architectures, including, but not limited to, an Industry Standard Architecture (ISA) bus, a Micro Channel Architecture (MCA) bus, and a Peripheral Component Interconnect (PCI) bus.
[0139] The computer system 800 interfaces 840, 850, and 860, as well as the memory 810 and the processor 820, can be connected via a bus 830. The input / output interface 840 provides a connection interface for input / output devices such as a display, mouse, and keyboard. The network interface 850 provides a connection interface for various networked devices. The storage interface 860 provides a connection interface for external storage devices such as floppy disks, USB flash drives, and SD cards.
[0140] Here, various aspects of the present disclosure are described with reference to flowcharts and / or block diagrams of methods, devices, and computer program products according to embodiments of the present disclosure. It should be understood that each block of the flowcharts and / or block diagrams, and combinations of blocks, can be implemented by computer-readable program instructions.
[0141] These computer-readable program instructions may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable device to produce a machine, so that the processor executes the instructions to produce means for implementing the functions specified in one or more blocks in the flowcharts and / or block diagrams.
[0142] These computer-readable program instructions may also be stored in a computer-readable memory, which cause the computer to operate in a specific manner to produce an article of manufacture, including instructions for implementing the functions specified in one or more blocks in the flowcharts and / or block diagrams.
[0143] The present disclosure can take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects.
[0144] Through the method, computing power identification device and system for generating computing power identification in the above embodiments, a process and architecture for unified identification of multi-level and heterogeneous computing power resources in a computing power network are designed, which can meet the unified identification requirements of multi-level and heterogeneous computing power resources.
[0145] The method, device, and system for generating computing power identifiers according to the present disclosure have been described in detail. To avoid obscuring the concepts of the present disclosure, some details known in the art have been omitted. Based on the above description, those skilled in the art will fully understand how to implement the technical solutions disclosed herein.
Claims
1. A method for generating a computing power identifier, comprising: In response to the computing power identification request of the computing power resource, sending a computing power modeling request to the computing power modeling device; receiving a computing power modeling response corresponding to the computing power modeling request from the computing power modeling device, wherein the computing power modeling response includes a computing power modeling result; Sending a computing power identifier of a computing power resource to the computing power resource, where the computing power identifier of the computing power resource is obtained according to the computing power modeling result.
2. The method for generating a computing power identifier according to claim 1, wherein: The computing power modeling request includes at least one kind of attribute information of the computing power resource, and the at least one kind of attribute information of the computing power resource is used by the computing power modeling device to obtain the computing power modeling result.
3. The method for generating a computing power identifier according to claim 2, wherein: The at least one attribute information includes the computing power type of the computing power resource.
4. The method for generating a computing power identifier according to any one of claims 1 to 3, wherein: The computing power modeling result includes the computing power value of the computing power resource.
5. The method for generating a computing power identifier according to any one of claims 1 to 4, wherein: The computing power identification of the computing power resource includes the computing power value of the computing power resource and the unique computing power identification number of the computing power resource.
6. The method for generating a computing power identifier according to claim 5, wherein: The computing power identifier of the computing power resource also includes the computing power type of the computing power resource.
7. The method for generating a computing power identifier according to claim 5 or 6, wherein: The unique computing power identification number of the computing power resource is obtained in the following manner: Obtaining the computing power type of the computing power resource according to the computing power identification request; Generate a unique computing power identification number for the computing power resource according to the reception time of the computing power identification request, the computing power type of the computing power resource, and the serial number.
8. The method for generating a computing power identifier according to any one of claims 1 to 7, further comprising: The computing power identification of the computing power resource is sent to a resource collection device, and the computing power identification of the computing power resource is used by the resource collection device to manage the computing power identification of the computing power resource.
9. The method for generating a computing power identifier according to claim 8, further comprising: Receive a response from the resource collection device, where the response from the resource collection device is used to indicate whether the resource collection device has received the computing power identifier of the computing power resource.
10. The method for generating a computing power identifier according to any one of claims 1 to 9, further comprising: A response from the computing power resource is received, where the response from the computing power resource is used to indicate whether the computing power resource has received the computing power identifier of the computing power resource.
11. A computing power identification device, comprising: A request sending unit, configured to send a computing power modeling request to the computing power modeling device in response to a computing power identification request of a computing power resource; A result receiving unit is configured to receive a computing power modeling response corresponding to the computing power modeling request from the computing power modeling device, wherein the computing power modeling response includes a computing power modeling result; An identification sending unit is configured to send a computing power identification of the computing power resource to the computing power resource, where the computing power identification of the computing power resource is obtained according to the computing power modeling result.
12. A computing power identification system, comprising: A computing power identification device, configured to send a computing power modeling request to the computing power modeling device in response to a computing power identification request of a computing power resource; The computing power modeling device is configured to: Modeling the computing power resource according to the computing power modeling request to obtain a computing power modeling result of the computing power resource; Sending the computing power modeling result to the computing power identification device; The computing power identification device is further configured to: Generate a computing power identifier of the computing power resource according to the computing power modeling result; Send the computing power identifier of the computing power resource to the computing power resource.
13. The computing power identification system according to claim 12, wherein: The computing power modeling result includes the computing power value of the computing power resource.
14. The computing power identification system according to claim 13, wherein: The computing power modeling device models the computing power resource according to the computing power modeling request to obtain a computing power modeling result of the computing power resource, including: The computing power modeling device obtains at least one attribute information of the computing power resource according to the computing power modeling request; The computing power modeling device constructs a computing power measurement model of the computing power resource according to at least one attribute information of the computing power resource; The computing power modeling device determines the computing power value of the computing power resource according to the computing power measurement model of the computing power resource.
15. The computing power identification system according to any one of claims 12 to 14, wherein: The computing power modeling device models the computing power resource in the absence of a historical modeling result of the computing power resource to obtain a computing power modeling result of the computing power resource; as well as, The computing power modeling device is also configured to, when there are historical modeling results of the computing power resource, use the historical modeling results as the computing power modeling results of the computing power resource.
16. The computing power identification system according to any one of claims 12 to 15, further comprising: The resource collection device is configured to: Receiving the computing power identification of the computing power resource sent by the computing power identification device, where the computing power identification of the computing power resource is used by the resource collection device to manage the computing power identification of the computing power resource; A response is sent to the computing power identification device, where the response is used to indicate whether the resource collection device has received the computing power identification of the computing power resource.
17. An electronic device comprising: Memory; as well as a processor coupled to the memory, the processor being configured to, based on instructions stored in the memory, Execute the method for generating a computing power identifier as described in any one of claims 1 to 10.
18. A computer-readable storage medium having computer program instructions stored thereon, which, when executed by a processor, implement the method for generating a computing power identifier as described in any one of claims 1 to 10.
19. A computer program comprising: Instructions, when executed by a processor, cause the processor to execute the method for generating a computing power identifier according to any one of claims 1 to 10.
Citation Information
Patent Citations
Task processing method and device applied to heterogeneous computing power system
CN114035943A
Computing power determination method and device and computing power sharing system
CN114531448A
Identification method and device of computing power resources and computer readable storage medium
CN114756365A
Calculation power unified identification modeling and distribution method, storage medium and electronic equipment
CN116414559A
Computer resource provisioning
US20210320908A1