Computing power allocation method, device, storage medium and electronic device

By receiving the demand information in the computing power allocation request, the target node is determined among multiple computing power nodes, the problem of low efficiency in selecting computing power nodes by users is solved, and automated computing power task processing is realized, and task processing efficiency is improved.

CN115292046BActive Publication Date: 2024-11-12CHINA TELECOM CORP LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210957678.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-08-10
Publication Date
2024-11-12
Estimated Expiration
2042-08-10

AI Technical Summary

Technical Problem

In the prior art, users need to choose computing nodes by themselves, and need professional knowledge and consume a lot of manpower and material resources, which leads to the low efficiency of selecting computing nodes and reduces the efficiency of processing computing tasks.

Method used

By receiving the required computing power type information and size information in the computing power allocation request, the target computing power node is determined among multiple computing power nodes, and the computing power tasks are performed through the target computing power nodes, avoiding users selecting computing power nodes by themselves, saving User time.

Benefits of technology

It realizes the automatic determination of the computing power nodes used according to the computing power allocation request, avoiding the problem of users being unable to handle tasks without professional knowledge, saving users time to select computing power nodes, and improving the efficiency of processing computing power tasks.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115292046B_ABST
    Figure CN115292046B_ABST
Patent Text Reader

Abstract

The present disclosure relates to the field of computer technology, and specifically to a computing power allocation method, computing power allocation device, computer-readable storage medium and electronic device, wherein the method comprises: receiving a computing power allocation request; wherein the computing power allocation request includes required computing power type information and required computing power size information; determining a target computing power node from multiple computing power nodes according to the required computing power type information and required computing power size information; and executing the computing power task corresponding to the computing power allocation request through the target computing power node. The technical solution of the embodiment of the present disclosure can solve the problem of poor efficiency in selecting computing power nodes in related technologies.
Need to check novelty before this filing date? Find Prior Art

Description

Background Art

[0002] With the rapid development of software and hardware, cloud computing and edge computing have also developed rapidly, and a computing power system has emerged that can provide personalized computing power services to users through the Internet.

[0003] In the related art, users can choose appropriate computing nodes according to their needs to meet their computing needs. After the user determines the computing node to be used, the system can open the computing node for the user, and the computing node can receive the computing tasks sent by the user and perform calculations. However, the solutions in the related art require users to select computing nodes by themselves, require users to have considerable professional knowledge, and require more manpower and material resources to make the selection, which wastes user time and reduces the efficiency of processing computing tasks.

[0004] It should be noted that the information disclosed in the above background technology section is only used to enhance the understanding of the background of the present disclosure, and therefore may include information that does not constitute the prior art known to ordinary technicians in the field. Summary of the invention

[0005] The purpose of the present disclosure is to provide a computing power allocation method, a computing power allocation device, a computer-readable storage medium and an electronic device, which can solve the problem of poor efficiency in selecting computing power nodes in related technologies.

[0006] Other features and advantages of the present disclosure will become apparent from the following detailed description, or may be learned in part by the practice of the present disclosure.

[0007] According to a first aspect of the present disclosure, a computing power allocation method is provided, comprising: receiving a computing power allocation request; wherein the computing power allocation request includes required computing power type information and required computing power size information; determining a target computing power node from multiple computing power nodes based on the required computing power type information and the required computing power size information; and executing a computing power task corresponding to the computing power allocation request through the target computing power node.

[0008] In an exemplary embodiment of the present disclosure, based on the aforementioned scheme, a target computing power node is determined among multiple computing power nodes according to the required computing power type information and the required computing power size information, including: obtaining the computing power type information corresponding to the computing power node and the computing power size information corresponding to the computing power node; when the computing power type information corresponding to the computing power node and the computing power size information corresponding to the computing power node meet the required computing power type information and the required computing power size information, determining the computing power node as the target computing power node.

[0009] In an exemplary embodiment of the present disclosure, based on the aforementioned scheme, the computing power type information corresponding to the computing power node and the computing power size information corresponding to the computing power node meet the required computing power type information and the required computing power size information, including: when the computing power type information corresponding to the computing power node is the same as the required computing power type information, and the required computing power size information is less than or equal to the computing power size information corresponding to the computing power node, the computing power type information corresponding to the computing power node and the computing power size information corresponding to the computing power node meet the required computing power type information and the required computing power size information.

[0010] In an exemplary embodiment of the present disclosure, based on the aforementioned scheme, when the computing power type information corresponding to the computing power node and the computing power size information corresponding to the computing power node meet the required computing power type information and the required computing power size information, the computing power node is determined as a target computing power node, including: when the computing power type information corresponding to the computing power node and the computing power size information corresponding to the computing power node meet the required computing power type information and the required computing power size information, the computing power node is determined as a candidate computing power node; the allocation priorities of multiple candidate computing power nodes are obtained, and the target computing power node is determined according to the allocation priorities of the multiple candidate computing power nodes.

[0011] In an exemplary embodiment of the present disclosure, based on the aforementioned scheme, the allocation priorities of multiple candidate computing power nodes are obtained, including: determining the allocation priorities of the candidate computing power nodes according to the computing energy consumption levels corresponding to the candidate computing power nodes.

[0012] In an exemplary embodiment of the present disclosure, based on the aforementioned scheme, the allocation priorities of multiple candidate computing power nodes are obtained, including: obtaining the user node corresponding to the computing power allocation request; calculating the transmission delay between the user node corresponding to the computing power allocation request and the candidate computing power node, and determining the allocation priorities of the multiple candidate computing power nodes according to the transmission delay.

[0013] In an exemplary embodiment of the present disclosure, based on the aforementioned scheme, the target computing node is determined according to the allocation priorities of multiple candidate computing nodes, including: determining the candidate computing node with the highest allocation priority among the multiple candidate computing nodes as the target computing node.

[0014] According to a second aspect of the present disclosure, a computing power allocation device is provided, including: an allocation request receiving module, used to receive a computing power allocation request; wherein the computing power allocation request includes required computing power type information and required computing power size information; a target node determination module, used to determine a target computing power node among multiple computing power nodes according to the required computing power type information and the required computing power size information; a computing power allocation module, used to execute the computing power task corresponding to the computing power allocation request through the target computing power node.

[0015] According to a third aspect of the present disclosure, a computer-readable storage medium is provided, on which a computer program is stored. When the program is executed by a processor, the computing power allocation method of the first aspect of the above embodiment is implemented.

[0016] According to a fourth aspect of the present disclosure, there is provided an electronic device, including:

[0017] one or more processors; and

[0018] A storage device is used to store one or more programs. When the one or more programs are executed by one or more processors, the one or more processors implement the computing power allocation method of the first aspect of the above embodiment.

[0019] The technical solution provided by the embodiments of the present disclosure may have the following beneficial effects:

[0020] In a computing power allocation method provided by an embodiment of the present disclosure, a computing power allocation request can be received, and a target computing power node can be determined from multiple computing power nodes according to the required computing power type information and the required computing power size information, and the computing power task corresponding to the computing power allocation request is executed through the target computing power node. Through the embodiments of the present disclosure, on the one hand, the computing power node to be used can be determined according to the relevant information corresponding to the computing power allocation request, without the need for the user to select the computing power node by himself, thereby avoiding the problem that the user cannot handle the computing power task when he does not have the relevant professional knowledge; on the other hand, it can avoid the problem of consuming more manpower and material resources to select computing power nodes, thereby saving user time and improving the efficiency of processing computing power tasks.

[0021] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] The drawings herein are incorporated into the specification and constitute a part of the specification, showing embodiments consistent with the present disclosure, and together with the specification, are used to explain the principles of the present disclosure. Obviously, the drawings described below are only some embodiments of the present disclosure, and for ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work. In the drawings:

[0023] Figure 1 A schematic diagram schematically illustrates an exemplary system architecture of a computing power allocation method in an exemplary embodiment of the present disclosure;

[0024] Figure 2 A flowchart schematically illustrates a method for allocating computing power in an exemplary embodiment of the present disclosure;

[0025] Figure 3A flowchart schematically illustrates, in an exemplary embodiment of the present disclosure, when the computing power type information corresponding to the computing power node and the computing power size information corresponding to the computing power node meet the required computing power type information and the required computing power size information, determining the computing power node as a target computing power node;

[0026] Figure 4 A flowchart schematically illustrates obtaining allocation priorities of multiple candidate computing nodes and determining a target computing node according to the allocation priorities of the multiple candidate computing nodes in an exemplary embodiment of the present disclosure;

[0027] Figure 5 A flowchart for dividing a computing power set in an exemplary embodiment of the present disclosure is schematically shown;

[0028] Figure 6 A flowchart schematically illustrates a method of calculating the transmission delay between a user node corresponding to a computing power allocation request and a candidate computing power node, and determining the allocation priority of multiple candidate computing power nodes according to the transmission delay in an exemplary embodiment of the present disclosure;

[0029] Figure 7 A schematic diagram schematically shows a computing network orchestration and control system in an exemplary embodiment of the present disclosure;

[0030] Figure 8 A schematic diagram schematically shows the composition of a computing power allocation device in an exemplary embodiment of the present disclosure;

[0031] Fig. 9 The structure diagram of a computer system suitable for implementing the electronic device of the exemplary embodiment of the present disclosure is schematically shown. DETAILED DESCRIPTION

[0032] Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be implemented in a variety of forms and should not be construed as being limited to the examples set forth herein; on the contrary, these embodiments are provided so that the present disclosure will be more comprehensive and complete, and the concept of the example embodiments will be fully conveyed to those skilled in the art. The described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. In addition, the described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. In the following description, many specific details are provided to provide a full understanding of the embodiments of the present disclosure. However, those skilled in the art will appreciate that the technical solutions of the present disclosure may be practiced without one or more of the specific details, or other methods, components, devices, steps, etc. may be adopted. In other cases, known structures, methods, devices, implementations, materials, or operations are not shown or described in detail to avoid blurring various aspects of the present disclosure.

[0033] The block diagrams shown in the accompanying drawings are merely functional entities and do not necessarily correspond to physically independent entities. That is, these functional entities may be implemented in software form, or these functional entities or parts of functional entities may be implemented in one or more software hardened modules, or these functional entities may be implemented in different networks and / or processor devices and / or microcontroller devices.

[0034] Figure 1 A schematic diagram showing an exemplary system architecture to which the computing power allocation method according to an embodiment of the present disclosure can be applied.

[0035] like Figure 1 As shown, the system architecture 1000 may include one or more of terminal devices 1001, 1002, 1003, a network 1004, and a server 1005. The network 1004 is used to provide a medium for communication links between the terminal devices 1001, 1002, 1003 and the server 1005. The network 1004 may include various connection types, such as wired, wireless communication links, or optical fiber cables, etc.

[0036] It should be understood that Figure 1 The number of terminal devices, networks and servers in the embodiment is only for illustration. According to the implementation requirements, there may be any number of terminal devices, networks and servers. For example, the server 1005 may be a server cluster composed of multiple servers.

[0037] Users can use terminal devices 1001, 1002, 1003 to interact with server 1005 through network 1004 to receive or send messages, etc. Terminal devices 1001, 1002, 1003 can be various electronic devices with display screens, including but not limited to smart phones, tablet computers, portable computers, desktop computers, etc. In addition, server 1005 can be a server that provides various services.

[0038] In one embodiment, the executor of the computing power allocation method disclosed herein may be server 1005. Server 1005 may obtain a computing power allocation request sent by terminal devices 1001, 1002, and 1003, determine a target computing power node among multiple computing power nodes based on the required computing power type information and the required computing power size information, and execute the computing power task corresponding to the computing power allocation request through the target computing power node.

[0039] In addition, the computing power allocation method disclosed in the present invention can also be executed through terminal devices 1001, 1002, 1003, etc. to realize the reception of computing power allocation requests, wherein the computing power allocation request includes required computing power type information and required computing power size information, and the target computing power node is determined from multiple computing power nodes based on the required computing power type information and the required computing power size information, and the computing power task corresponding to the computing power allocation request is executed through the target computing power node.

[0040] In addition, the implementation process of the computing power allocation method disclosed in the present invention can also be implemented by the terminal devices 1001, 1002, 1003 and the server 1005. For example, the terminal devices 1001, 1002, 1003 can receive a computing power allocation request, wherein the computing power allocation request includes the required computing power type information and the required computing power size information, and determine the target computing power node from multiple computing power nodes according to the required computing power type information and the required computing power size information, and send the determined computing power node to the server 1005, so that the server 1005 can execute the computing power task corresponding to the computing power allocation request through the target computing power node.

[0041] With the rapid development of software and hardware, cloud computing and edge computing have also developed rapidly, and a computing power system has emerged that can provide personalized computing power services to users through the Internet.

[0042] In the related art, users can choose appropriate computing nodes according to their needs to meet their computing needs. After the user determines the computing node to be used, the system can open the computing node for the user, and the computing node can receive the computing tasks sent by the user and perform calculations. However, the solutions in the related art require users to select computing nodes by themselves, require users to have considerable professional knowledge, and require more manpower and material resources to make the selection, which wastes user time and reduces the efficiency of processing computing tasks.

[0043] According to the computing power allocation method provided in this exemplary embodiment, a computing power allocation request can be received, and a target computing power node is determined from multiple computing power nodes according to the required computing power type information and the required computing power size information, and the computing power task corresponding to the computing power allocation request is executed by the target computing power node. Figure 2 As shown, the computing power allocation method may include the following steps:

[0044] Step S210, receiving a computing power allocation request; wherein the computing power allocation request includes required computing power type information and required computing power size information;

[0045] Step S220, determining a target computing power node from among multiple computing power nodes according to the required computing power type information and the required computing power size information;

[0046] Step S230: Execute the computing power task corresponding to the computing power allocation request through the target computing power node.

[0047] In a computing power allocation method provided by an embodiment of the present disclosure, a computing power allocation request can be received, and a target computing power node can be determined from multiple computing power nodes according to the required computing power type information and the required computing power size information, and the computing power task corresponding to the computing power allocation request is executed through the target computing power node. Through the embodiments of the present disclosure, on the one hand, the computing power node to be used can be determined according to the relevant information corresponding to the computing power allocation request, without the need for the user to select the computing power node by himself, thereby avoiding the problem that the user cannot handle the computing power task when he does not have the relevant professional knowledge; on the other hand, it can avoid the problem of consuming more manpower and material resources to select computing power nodes, thereby saving user time and improving the efficiency of processing computing power tasks.

[0048] Step S210, receiving a computing power allocation request;

[0049] In an example embodiment of the present disclosure, a computing power allocation request may be received, wherein the computing power allocation request includes information about the type of computing power required and information about the size of computing power required. Specifically, computing power refers to the computing power required to achieve target result output by processing information data.

[0050] Specifically, computing tasks refer to tasks that require computing in production and life. For example, computing tasks can be from the consumer field (mobile Internet, watching TV series, online shopping, taxi-hailing, etc.), from the industry field (industrial manufacturing, transportation and logistics, financial securities, education and medical care, etc.), and from the urban governance field (smart city, one-card access, city brain, etc.).

[0051] Computing tasks can be divided into many types, such as scientific computing: physical chemistry, meteorology and environmental protection, life sciences, oil exploration, astronomical detection, etc.; engineering computing: computer-aided engineering, computer-aided manufacturing, electronic design automation, electromagnetic simulation, etc.; intelligent computing: artificial intelligence (AI) computing, including: machine learning, deep learning, data analysis, etc.

[0052] It should be noted that the present disclosure does not specifically limit the fields and types of computing tasks.

[0053] In an example embodiment of the present disclosure, the computing power allocation request includes information about the type of computing power required and information about the size of the computing power required. Specifically, the computing power type information required can be used to indicate the type of computing power required to perform the computing power task. Among them, computing power corresponds to a computing power type, and computing power has multiple classification methods. For example, computing power can be divided into general computing power (general chips: x86, ARM) and dedicated computing power (FPGA, ASIC); or, computing power can be classified according to the computing carrier used. For example, computing power can be divided into APU (Accelerated Processing Unit) computing power, CPU (central processing unit) computing power, DPU (Data Processing Unit) computing power, GPU (Graphic Processing Unit) computing power, NPU (Neural Processing Unit) computing power, TPU (Tensor Processing Unit) computing power, etc.

[0054] It should be noted that the present disclosure does not impose any special restrictions on the type of computing power.

[0055] In an example embodiment of the present disclosure, the computing power allocation request includes required computing power type information and required computing power size information. Specifically, the required computing power size information can be used to indicate the computing power size required to perform the computing power task. The computing power size can be used to indicate the ability to perform calculations. There are many indicators for measuring the computing power size, such as FLOPS (floating-point operations per second, the number of floating-point operations performed per second), TFLOPS (TeraFloating Point Operations Per Second, 1 trillion floating-point instructions per second), MIPS (MillionInstructions Per Second, the number of million-level machine language instructions processed per second), etc.

[0056] It should be noted that the present disclosure does not impose any special limitation on the measurement indicators of computing power.

[0057] In an example embodiment of the present disclosure, a user may send a computing power allocation request based on computing power requirements. A computing power allocation request refers to a request sent to complete a computing power task. The purpose of the computing power allocation request is to determine the computing power node used to execute the computing power task and to execute the computing power task through the computing power node.

[0058] For example, a user can submit a computing power task on the computing power system, select the required computing power type information and the required computing power size information, and send a computing power allocation request; or, after the system generates new data, the required computing power size information and the required computing power type information can be determined based on the new data, and a computing power allocation request can be sent.

[0059] It should be noted that the present disclosure does not impose any special limitation on the method of sending the computing power allocation request.

[0060] Step S220, determining a target computing power node from among multiple computing power nodes according to the required computing power type information and the required computing power size information;

[0061] In an exemplary embodiment of the present disclosure, after receiving the computing power allocation request through the above steps, the target computing power node can be determined from multiple computing power nodes according to the required computing power type information and the required computing power size information. Specifically, the computing power system may include multiple computing power nodes, and the target computing power node can be determined from multiple computing power nodes. Specifically, a computing power node that meets the required computing power type information and the required computing power size information can be searched from multiple computing power nodes, and the computing power node is determined as the target computing power node.

[0062] Furthermore, multiple computing power nodes that meet the required computing power type information and the required computing power size information can be searched among multiple computing power nodes, and the multiple computing power nodes can be determined as target computing power nodes.

[0063] Furthermore, multiple candidate computing power nodes that meet the required computing power type information and the required computing power size information can be searched among multiple computing power nodes, and the target computing power node can be determined among the multiple candidate computing power nodes.

[0064] It should be noted that the present disclosure does not specifically limit the specific method of determining the target computing power node among multiple computing power nodes based on the required computing power type information and the required computing power size information.

[0065] In an exemplary embodiment of the present disclosure, the computing power type information and computing power size information corresponding to the computing power node can be obtained, and when the computing power type information and computing power size information corresponding to the computing power node meet the required computing power type information and required computing power size information, the computing power node is determined as the target computing power node. Figure 3 As shown, when the computing power type information corresponding to the computing power node and the computing power size information corresponding to the computing power node meet the required computing power type information and the required computing power size information, determining the computing power node as the target computing power node may include the following steps S310-S320:

[0066] Step S310, obtaining computing power type information corresponding to the computing power node and computing power size information corresponding to the computing power node;

[0067] In an exemplary embodiment of the present disclosure, after obtaining the computing power allocation request through the above steps, the computing power type information corresponding to the computing power node and the computing power size information corresponding to the computing power node can be obtained. Specifically, the computing power system may include multiple computing power nodes, and the computing power type information corresponding to these computing power nodes and the computing power size information corresponding to these computing power nodes can be obtained. For example, in the computing power system, the computing power type information corresponding to each computing power node and the computing power size information corresponding to the computing power node are identified, and the computing power type information corresponding to the computing power node and the computing power size information corresponding to the computing power node can be determined according to the computing power identification; or, after receiving the computing power allocation request, multiple computing power nodes in the computing power system can be analyzed to obtain the computing power type information corresponding to the computing power node and the computing power size information corresponding to the computing power node.

[0068] It should be noted that the present disclosure does not specifically limit the specific method of obtaining the computing power type information corresponding to the computing power node and the computing power size information corresponding to the computing power node.

[0069] Furthermore, the computing power size information corresponding to the computing power node may include the available computing power size, that is, in the computing power node, part of the computing power has been used, and the available computing power size is the remaining computing power size.

[0070] Step S320, when the computing power type information corresponding to the computing power node and the computing power size information corresponding to the computing power node meet the required computing power type information and the required computing power size information, the computing power node is determined as the target computing power node.

[0071] In an example embodiment of the present disclosure, after obtaining the computing power type information corresponding to each computing power node and the computing power size information corresponding to each computing power node through the above steps, and receiving the computing power allocation request, it can be determined whether the computing power type information corresponding to each computing power node and the computing power size information corresponding to each computing power node meet the computing power allocation request. When the computing power type information corresponding to the computing power node and the computing power size information corresponding to the computing power node meet the required computing power type information and the required computing power size information, the computing power node is determined as the target computing power node.

[0072] In an example embodiment of the present disclosure, when the computing power type information corresponding to the computing power node is the same as the required computing power type information, and the required computing power size information is less than or equal to the computing power size information corresponding to the computing power node, the computing power type information corresponding to the computing power node and the computing power size information corresponding to the computing power node satisfy the required computing power type information and the required computing power size information.

[0073] For example, the received computing power allocation request includes the required computing power type information - computing power type 3 and the required computing power size information - computing power size e. The computing power system includes computing power node A, computing power node B, computing power node C, and computing power node D. The computing power type information corresponding to each computing power node and the computing power size information corresponding to each computing power node are respectively: computing power node A-computing power type 1-computing power size a, computing power node B-computing power type 2-computing power size b, computing power node C-computing power type 3-computing power size c, computing power node D-computing power type 3-computing power size d, among which, the computing power type of computing power node C and computing power node D is the same as the computing power type in the computing power allocation request, the computing power size c of computing power node C is less than the computing power size e in the computing power allocation request, and the computing power size d of computing power node D is greater than the computing power size e in the computing power allocation request. At this time, computing power node D meets the required computing power type information and the required computing power size information in the computing power allocation request, that is, computing power node D can be determined as the target computing power node.

[0074] It should be noted that the present disclosure does not impose any special limitation on the number of target computing power nodes.

[0075] Through the above steps S310 to S320, the computing power type information corresponding to the computing power node and the computing power size information corresponding to the computing power node can be obtained. When the computing power type information corresponding to the computing power node and the computing power size information corresponding to the computing power node meet the required computing power type information and the required computing power size information, the computing power node is determined as the target computing power node. Through the embodiments of the present disclosure, there is no need for users to select computing power nodes by themselves, which avoids consuming more manpower and material resources, thereby improving the efficiency of processing computing power tasks.

[0076] In an exemplary embodiment of the present disclosure, when the computing power type information corresponding to the computing power node and the computing power size information corresponding to the computing power node meet the required computing power type information and the required computing power size information, the computing power node can be determined as a candidate computing power node, the allocation priorities of multiple candidate computing power nodes can be obtained, and the target computing power node can be determined according to the allocation priorities of the multiple candidate computing power nodes. Figure 4 As shown, obtaining the allocation priorities of multiple candidate computing nodes and determining the target computing node according to the allocation priorities of the multiple candidate computing nodes may include the following steps S410-S420:

[0077] Step S410, when the computing power type information corresponding to the computing power node and the computing power size information corresponding to the computing power node meet the required computing power type information and the required computing power size information, determine the computing power node as a candidate computing power node;

[0078] In an exemplary embodiment of the present disclosure, after obtaining the computing power type information corresponding to each computing power node and the computing power size information corresponding to each computing power node through the above steps, it can be determined whether the computing power type information corresponding to each computing power node in the computing power system and the computing power size information corresponding to each computing power node meet the required computing power type information and the required computing power size information. When the computing power type information corresponding to the computing power node and the computing power size information corresponding to the computing power node meet the required computing power type information and the required computing power size information, the computing power node is determined as a candidate computing power node. Specifically, the computing power system includes multiple computing power nodes, and at least two candidate computing power nodes that meet the required computing power type information and the required computing power size information can be obtained.

[0079] In an exemplary embodiment of the present disclosure, after receiving a computing power allocation request through the above steps, a computing power set (including candidate computing power nodes) can be determined from multiple computing power nodes. Specifically, when the computing power type information corresponding to the computing power node and the computing power size information corresponding to the computing power node meet the required computing power type information and the required computing power size information, the computing power node can be determined as a candidate computing power node and divided into the computing power set.

[0080] Specifically, the computing power allocation request includes the required computing power type information k and the required computing power size information s. The computing power system includes multiple computing power nodes, and the computing power type information corresponding to the computing power node is K i , the computing power size information (available computing power size) corresponding to the computing power node is S i , where if k and K i If (k&&K i ) is 1, if k and K i If they are inconsistent, then (k&&K i ) is 0, in (S i -s)×(k&&K i ) is greater than 0, the computing power node can be divided into the computing power concentration. i -s)×(k&&K i ) is less than or equal to 0, the computing power node is discarded.

[0081] like Figure 5 As shown, for the computing power nodes in the computing power system, the computing power node R i Calculate (S i -s)×(k&&K i ), in (S i -s)×(k&&K i ) is greater than 0, the computing power node R i Divide into computing power concentration, otherwise discard, judge R iIs it the last computing node in the computing power system? If so, the computing power set division is completed. If not, i=i+1 and the division continues.

[0082] Step S420, obtaining the allocation priorities of multiple candidate computing nodes, and determining the target computing node according to the allocation priorities of the multiple candidate computing nodes.

[0083] In an exemplary embodiment of the present disclosure, after obtaining multiple candidate computing nodes through the above steps, the allocation priorities of the multiple candidate computing nodes can be obtained, and the target computing node can be determined according to the allocation priorities of the multiple candidate computing nodes. Specifically, the allocation priorities of the multiple candidate computing nodes can be used to indicate the priority of the computing node used when executing the computing task.

[0084] For example, the allocation priority of multiple candidate computing power nodes can be determined according to the computing power sizes of the multiple candidate computing power nodes. For example, the candidate computing power nodes determined by the above steps and the computing power sizes corresponding to these candidate computing power nodes are: candidate computing power node A-computing power size a, candidate computing power node B-computing power size b, candidate computing power node C-computing power size c, among which computing power size a is smaller than computing power size b which is smaller than computing power size c. The allocation priority of computing power node A with the largest computing power size can be determined as high priority, the allocation priority of computing power node B with a larger computing power size can be determined as medium priority, and the allocation priority of computing power node C with the smallest computing power size can be determined as low priority. Computing power node A can be determined as the target computing power node.

[0085] It should be noted that the present disclosure does not specifically limit the method for determining the allocation priority of multiple candidate computing nodes.

[0086] Through the above steps S410 to S420, when the computing power type information corresponding to the computing power node and the computing power size information corresponding to the computing power node meet the required computing power type information and the required computing power size information, the computing power node can be determined as a candidate computing power node, the allocation priorities of multiple candidate computing power nodes can be obtained, and the target computing power node can be determined according to the allocation priorities of the multiple candidate computing power nodes. Through the embodiments of the present disclosure, the priorities of multiple candidate computing power nodes can be determined, and computing power nodes with higher priorities can be used to perform computing power tasks, which can improve the efficiency of executing computing power tasks.

[0087] In an exemplary embodiment of the present disclosure, the allocation priority of the candidate computing power node can be determined according to the computing energy consumption level corresponding to the candidate computing power node. Specifically, the computing energy consumption level corresponding to the candidate computing power node can be used to indicate the energy consumed by the computing power node when executing a computing task through the computing power node. Specifically, when the computing energy consumption level corresponding to the candidate computing power node is high, the candidate computing power node can be assigned a lower allocation priority, and when the computing energy consumption level corresponding to the candidate computing power node is low, the candidate computing power node can be assigned a higher allocation priority.

[0088] It should be noted that the present disclosure determines the allocation priority of candidate computing power nodes according to the computing energy consumption levels corresponding to the candidate computing power nodes.

[0089] In an exemplary embodiment of the present disclosure, a user node corresponding to a computing power allocation request may be obtained, a transmission delay between the user node corresponding to the computing power allocation request and a candidate computing power node may be calculated, and an allocation priority of multiple candidate computing power nodes may be determined according to the transmission delay. Figure 6 As shown, calculating the transmission delay between the user node corresponding to the computing power allocation request and the candidate computing power node, and determining the allocation priority of multiple candidate computing power nodes according to the transmission delay may include the following steps S610-S620:

[0090] Step S610, obtaining the user node corresponding to the computing power allocation request;

[0091] In an example embodiment of the present disclosure, a user node corresponding to a computing power allocation request may be obtained. Specifically, a computing power allocation request may be sent through a user node, that is, the user node is a user node corresponding to the computing power allocation request, in which the original data for executing the computing power task is stored, and after determining the target computing power node, the original data needs to be sent to the target computing power node, or, after the computing power task is executed by the target computing power node to obtain the calculation result, the calculation result needs to be sent to the user node corresponding to the computing power allocation request.

[0092] It should be noted that the present disclosure does not specifically limit the specific method of obtaining the user node corresponding to the computing power allocation request.

[0093] Step S620, calculate the transmission delay between the user node corresponding to the computing power allocation request and the candidate computing power node, and determine the allocation priority of multiple candidate computing power nodes according to the transmission delay.

[0094] In an exemplary embodiment of the present disclosure, after obtaining the user node corresponding to the computing power allocation request through the above steps, the transmission delay between the user node corresponding to the computing power allocation request and the candidate computing power node can be calculated. Specifically, the transmission delay between the user node corresponding to the computing power allocation request and the candidate computing power node can be used to indicate the time required for the node to make the data block enter the transmission medium from the node when sending data between the user node corresponding to the computing power allocation request and the candidate computing power node, that is, the total time required for a node to start sending a data frame and complete the sending of the data frame (or the total time for the receiving station to receive a data frame).

[0095] It should be noted that the present disclosure does not specifically limit the specific method of calculating the transmission delay between the user node corresponding to the computing power allocation request and the candidate computing power node.

[0096] In an exemplary embodiment of the present disclosure, after the transmission delay between the user node corresponding to the computing power allocation request and the candidate computing power node is obtained through the above steps, the allocation priority of multiple candidate computing power nodes can be determined according to the transmission delay. Specifically, when the transmission delay between the user node corresponding to the computing power allocation request and the candidate computing power node is large, a lower allocation priority can be assigned to the candidate computing power node, and when the transmission delay between the user node corresponding to the computing power allocation request and the candidate computing power node is small, a higher allocation priority can be assigned to the candidate computing power node.

[0097] It should be noted that the present disclosure does not specifically limit the specific method of determining the allocation priority of multiple candidate computing nodes based on transmission delay.

[0098] Through the above steps S610 to S620, the user node corresponding to the computing power allocation request can be obtained, the transmission delay between the user node corresponding to the computing power allocation request and the candidate computing power node can be calculated, and the allocation priority of multiple candidate computing power nodes can be determined according to the transmission delay. Through the embodiments of the present disclosure, the allocation priority of the candidate computing power node can be determined according to the transmission delay, and the candidate computing power node with smaller transmission delay can be given a higher allocation priority, thereby improving the efficiency of processing computing power tasks.

[0099] In an exemplary embodiment of the present disclosure, the candidate computing node with the highest allocation priority among multiple candidate computing nodes is determined as the target computing node. Specifically, after determining the allocation priority among multiple candidate computing nodes through the above steps, the candidate computing node with the highest allocation priority can be determined as the target computing node.

[0100] In an exemplary embodiment of the present disclosure, the allocation priority of multiple candidate computing nodes can be determined according to the computing power size information corresponding to the candidate computing nodes, the computing energy consumption level corresponding to the candidate computing nodes, and the transmission delay between the user node corresponding to the computing power allocation request and the candidate computing node. i is the allocation priority of the candidate computing power node, α, β, and γ are weight coefficients greater than 0 (they can be adjusted according to the business scenario. The larger the value, the more important the physical quantity corresponding to the weight coefficient is). i represents the i-th candidate computing power node, and S i is the computing power information corresponding to the candidate computing power node, E i is the computing energy consumption level corresponding to the candidate computing power node, T i is the transmission delay between the user node corresponding to the computing power allocation request and the candidate computing power node, δ s ,δ e ,δ t It is a custom parameter (greater than 0 or equal to 0) set according to the business scenario. Its expression is as follows:

[0101]

[0102] Step S230: Execute the computing power task corresponding to the computing power allocation request through the target computing power node.

[0103] In an exemplary embodiment of the present disclosure, after the target computing power node is determined through the above steps, the computing power task corresponding to the computing power allocation request can be executed through the target computing power node. For example, the calculation data corresponding to the computing power task can be transmitted to the target computing power node, and the computing power task corresponding to the computing power allocation request can be executed through the target computing power node. After the calculation is completed, the calculation result is returned to the node that issued the computing power allocation request.

[0104] It should be noted that the present disclosure does not specifically limit the specific method of executing the computing task corresponding to the computing power allocation request through the target computing power node.

[0105] In an exemplary embodiment of the present disclosure, Figure 7 As shown, a computing power allocation request can be sent through the computing network transaction platform, and the computing power allocation request can be processed by the computing network orchestration and control system. The computing power allocation request including the required computing power type information and the required computing power size information can be obtained through the demand analysis unit, and the computing power nodes in the current computing power system, as well as the computing power type information, computing power size information, transmission delay between the user node and the computing power node corresponding to the computing power allocation request, and the computing energy consumption level corresponding to the power node can be determined through the resource perception unit, and the target computing power node is determined in the computing power allocation unit, and computing power scheduling, business deployment and other functions are performed in other units.

[0106] In a computing power allocation method provided by an embodiment of the present disclosure, a computing power allocation request can be received, and a target computing power node can be determined from multiple computing power nodes according to the required computing power type information and the required computing power size information, and the computing power task corresponding to the computing power allocation request is executed through the target computing power node. Through the embodiments of the present disclosure, on the one hand, the computing power node to be used can be determined according to the relevant information corresponding to the computing power allocation request, without the need for the user to select the computing power node by himself, thereby avoiding the problem that the user cannot handle the computing power task when he does not have the relevant professional knowledge; on the other hand, it can avoid the problem of consuming more manpower and material resources to select computing power nodes, thereby saving user time and improving the efficiency of processing computing power tasks.

[0107] It should be noted that the above figures are only schematic illustrations of the processes included in the method according to the exemplary embodiments of the present disclosure, and are not intended to be limiting. It is easy to understand that the processes shown in the above figures do not indicate or limit the time sequence of these processes. In addition, it is also easy to understand that these processes can be performed synchronously or asynchronously, for example, in multiple modules.

[0108] In addition, in an exemplary embodiment of the present disclosure, a computing power allocation device is also provided. Figure 8 As shown, a computing power allocation device 800 includes: an allocation request receiving module 810, a target node determination module 820 and a computing power allocation module 830.

[0109] Among them, the allocation request receiving module is used to receive the computing power allocation request; wherein the computing power allocation request includes the required computing power type information and the required computing power size information; the target node determination module is used to determine the target computing power node among multiple computing power nodes according to the required computing power type information and the required computing power size information; the computing power allocation module is used to execute the computing power task corresponding to the computing power allocation request through the target computing power node.

[0110] In an exemplary embodiment of the present disclosure, based on the aforementioned scheme, a target computing power node is determined among multiple computing power nodes according to the required computing power type information and the required computing power size information, and the device also includes: a computing power information acquisition unit, used to obtain the computing power type information corresponding to the computing power node and the computing power size information corresponding to the computing power node; a first target node determination unit, used to determine the computing power node as the target computing power node when the computing power type information corresponding to the computing power node and the computing power size information corresponding to the computing power node meet the required computing power type information and the required computing power size information.

[0111] In an exemplary embodiment of the present disclosure, based on the aforementioned scheme, the computing power type information corresponding to the computing power node and the computing power size information corresponding to the computing power node meet the required computing power type information and the required computing power size information, and the device also includes: a conditional judgment unit, which is used to judge the computing power type information corresponding to the computing power node and the computing power size information corresponding to the computing power node when the computing power type information corresponding to the computing power node is the same as the required computing power type information, and the required computing power size information is less than or equal to the computing power size information corresponding to the computing power node.

[0112] In an exemplary embodiment of the present disclosure, based on the aforementioned scheme, when the computing power type information corresponding to the computing power node and the computing power size information corresponding to the computing power node meet the required computing power type information and the required computing power size information, the computing power node is determined as a target computing power node, and the device also includes: a candidate node determination unit, which is used to determine the computing power node as a candidate computing power node when the computing power type information corresponding to the computing power node and the computing power size information corresponding to the computing power node meet the required computing power type information and the required computing power size information; a second target node determination unit, which is used to obtain the allocation priorities of multiple candidate computing power nodes, and determine the target computing power node according to the allocation priorities of the multiple candidate computing power nodes.

[0113] In an exemplary embodiment of the present disclosure, based on the aforementioned scheme, the allocation priority of multiple candidate computing power nodes is obtained, and the device also includes: a first priority determination unit, which is used to determine the allocation priority of the candidate computing power node according to the computing energy consumption level corresponding to the candidate computing power node.

[0114] In an exemplary embodiment of the present disclosure, based on the aforementioned scheme, the allocation priorities of multiple candidate computing power nodes are obtained, and the device also includes: a user node acquisition unit, used to obtain the user node corresponding to the computing power allocation request; a second priority determination unit, used to calculate the transmission delay between the user node corresponding to the computing power allocation request and the candidate computing power node, and determine the allocation priorities of multiple candidate computing power nodes according to the transmission delay.

[0115] In an exemplary embodiment of the present disclosure, based on the aforementioned scheme, the target computing power node is determined according to the allocation priorities of multiple candidate computing power nodes, and the device also includes: a high priority determination unit, which is used to determine the candidate computing power node with the highest allocation priority among the multiple candidate computing power nodes as the target computing power node.

[0116] Since the various functional modules of the computing power allocation device of the example embodiment of the present disclosure correspond to the steps of the example embodiment of the computing power allocation method described above, for details not disclosed in the embodiment of the device of the present disclosure, please refer to the embodiment of the computing power allocation method described above in the present disclosure.

[0117] It should be noted that, although several modules or units of the device for action execution are mentioned in the above detailed description, this division is not mandatory. In fact, according to the embodiments of the present disclosure, the features and functions of two or more modules or units described above can be embodied in one module or unit. On the contrary, the features and functions of one module or unit described above can be further divided into multiple modules or units to be embodied.

[0118] In addition, in an exemplary embodiment of the present disclosure, an electronic device capable of implementing the above-mentioned computing power allocation method is also provided.

[0119] Those skilled in the art will appreciate that various aspects of the present disclosure may be implemented as systems, methods or program products. Therefore, various aspects of the present disclosure may be specifically implemented in the following forms, namely: complete hardware embodiments, complete software embodiments (including firmware, microcode, etc.), or embodiments combining hardware and software aspects, which may be collectively referred to herein as "circuits", "modules" or "systems".

[0120] Refer to the following Fig. 9 hereinafter describes an electronic device 900 according to such an embodiment of the present disclosure. Fig. 9 The electronic device 900 shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.

[0121] like Fig. 9 As shown, the electronic device 900 is in the form of a general computing device. The components of the electronic device 900 may include, but are not limited to: the at least one processing unit 910, the at least one storage unit 920, a bus 930 connecting different system components (including the storage unit 920 and the processing unit 910), and a display unit 940.

[0122] The storage unit stores program codes, which can be executed by the processing unit 910, so that the processing unit 910 performs the steps according to various exemplary embodiments of the present disclosure described in the above “Exemplary Method” section of this specification. For example, the processing unit 910 can perform the following steps: Figure 2 In step S210 shown in the figure, a computing power allocation request is received; wherein the computing power allocation request includes required computing power type information and required computing power size information; in step S220, a target computing power node is determined from multiple computing power nodes according to the required computing power type information and the required computing power size information; in step S230, a computing power task corresponding to the computing power allocation request is executed through the target computing power node.

[0123] The storage unit 920 may include a readable medium in the form of a volatile storage unit, such as a random access memory unit (RAM) 921 and / or a cache memory unit 922 , and may further include a read-only memory unit (ROM) 923 .

[0124] The storage unit 920 may also include a program / utility 924 having a set (at least one) of program modules 925, such program modules 925 including but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment.

[0125] Bus 930 may represent one or more of several types of bus structures, including a memory unit bus or memory unit controller, a peripheral bus, a graphics acceleration open port, a processing unit, or a local bus using any of a variety of bus architectures.

[0126] The electronic device 900 may also communicate with one or more external devices 970 (e.g., keyboards, pointing devices, Bluetooth devices, etc.), may also communicate with one or more devices that enable a user to interact with the electronic device 900, and / or communicate with any device that enables the electronic device 900 to communicate with one or more other computing devices (e.g., routers, modems, etc.). Such communication may be performed via an input / output (I / O) interface 950. Furthermore, the electronic device 900 may also communicate with one or more networks (e.g., local area networks (LANs), wide area networks (WANs), and / or public networks, such as the Internet) via a network adapter 960. As shown, the network adapter 960 communicates with other modules of the electronic device 900 via a bus 930. It should be understood that, although not shown in the figure, other hardware and / or software modules may be used in conjunction with the electronic device 900, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, etc.

[0127] Through the description of the above embodiments, it is easy for those skilled in the art to understand that the example embodiments described here can be implemented by software, or by software combined with necessary hardware. Therefore, the technical solution according to the embodiment of the present disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which can be a personal computer, a server, a terminal device, or a network device, etc.) to execute the method according to the embodiment of the present disclosure.

[0128] In an exemplary embodiment of the present disclosure, a computer-readable storage medium is also provided, on which a program product capable of implementing the above method of the present specification is stored. In some possible embodiments, various aspects of the present disclosure can also be implemented in the form of a program product, which includes a program code. When the program product is run on a terminal device, the program code is used to enable the terminal device to execute the steps according to various exemplary embodiments of the present disclosure described in the above "Exemplary Method" section of the present specification.

[0129] Computer readable signal media may include data signals propagated in baseband or as part of a carrier wave, in which readable program code is carried. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Readable signal media may also be any readable medium other than a readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.

[0130] The program code embodied on the readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wired, optical cable, RF, etc., or any suitable combination of the foregoing.

[0131] Program code for performing the operations of the present disclosure may be written in any combination of one or more programming languages, including object-oriented programming languages ​​such as Java, C++, etc., and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as a separate software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server. In cases involving a remote computing device, the remote computing device may be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device (e.g., through the Internet using an Internet service provider).

[0132] In addition, the above-mentioned figures are only schematic illustrations of the processes included in the method according to the exemplary embodiments of the present disclosure, and are not intended to be limiting. It is easy to understand that the processes shown in the above-mentioned figures do not indicate or limit the time sequence of these processes. In addition, it is also easy to understand that these processes can be performed synchronously or asynchronously, for example, in multiple modules.

[0133] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary technical means in the art that are not disclosed in the present disclosure. The specification and examples are to be considered as exemplary only, and the true scope and spirit of the present disclosure are indicated by the claims.

Claims

1. A computing power allocation method, characterized in that: The method comprises: Receive a computing power allocation request; wherein the computing power allocation request includes required computing power type information and required computing power size information; Determine a target computing power node among multiple computing power nodes according to the required computing power type information and the required computing power size information; Execute the computing power task corresponding to the computing power allocation request through the target computing power node; Wherein, determining a target computing power node from a plurality of computing power nodes according to the required computing power type information and the required computing power size information includes: When the computing power type information corresponding to the computing power node and the computing power size information corresponding to the computing power node meet the required computing power type information and the required computing power size information, determining the computing power node as a candidate computing power node; Obtain the allocation priorities of the plurality of candidate computing nodes, and determine the target computing node according to the allocation priorities of the plurality of candidate computing nodes; the expression of the allocation priority is: Among them, Y i is the allocation priority of the candidate computing power node, α, β, γ are weight coefficients greater than 0, i represents the i-th candidate computing power node, S i is the computing power information corresponding to the candidate computing power node, E i is the computing energy consumption level corresponding to the candidate computing power node, T i is the transmission delay between the user node corresponding to the computing power allocation request and the candidate computing power node, δ s , δ e , δ t It is a custom parameter set according to the business scenario.

2. The method according to claim 1, characterized in that The determining a target computing power node from a plurality of computing power nodes according to the required computing power type information and the required computing power size information includes: Obtain computing power type information corresponding to the computing power node and computing power size information corresponding to the computing power node; When the computing power type information corresponding to the computing power node and the computing power size information corresponding to the computing power node meet the required computing power type information and the required computing power size information, the computing power node is determined as the target computing power node.

3. The method according to claim 2, characterized in that The computing power type information corresponding to the computing power node and the computing power size information corresponding to the computing power node meet the required computing power type information and the required computing power size information, including: When the computing power type information corresponding to the computing power node is the same as the required computing power type information, and the required computing power size information is less than or equal to the computing power size information corresponding to the computing power node, the computing power type information corresponding to the computing power node and the computing power size information corresponding to the computing power node satisfy the required computing power type information and the required computing power size information.

4. The method according to claim 1, characterized in that: The obtaining the allocation priorities of the plurality of candidate computing power nodes includes: The allocation priority of the candidate computing power node is determined according to the computing energy consumption level corresponding to the candidate computing power node.

5. The method according to claim 4, characterized in that The obtaining the allocation priorities of the plurality of candidate computing power nodes includes: Obtaining the user node corresponding to the computing power allocation request; Calculate the transmission delay between the user node corresponding to the computing power allocation request and the candidate computing power node, and determine the allocation priority of multiple candidate computing power nodes according to the transmission delay.

6. The method according to claim 1, characterized in that The determining the target computing node according to the allocation priorities of the plurality of candidate computing nodes comprises: The candidate computing power node with the highest allocation priority among the multiple candidate computing power nodes is determined as the target computing power node.

7. A computing power allocation device, characterized in that: The device comprises: An allocation request receiving module, used to receive a computing power allocation request; wherein the computing power allocation request includes required computing power type information and required computing power size information; A target node determination module, used to determine a target computing power node among multiple computing power nodes according to the required computing power type information and the required computing power size information; A computing power allocation module, used to execute the computing power task corresponding to the computing power allocation request through the target computing power node; Wherein, determining a target computing power node from a plurality of computing power nodes according to the required computing power type information and the required computing power size information includes: When the computing power type information corresponding to the computing power node and the computing power size information corresponding to the computing power node meet the required computing power type information and the required computing power size information, determining the computing power node as a candidate computing power node; Obtain the allocation priorities of the plurality of candidate computing nodes, and determine the target computing node according to the allocation priorities of the plurality of candidate computing nodes; the expression of the allocation priority is: Among them, Y i is the allocation priority of the candidate computing power node, α, β, γ are weight coefficients greater than 0, i represents the i-th candidate computing power node, S i is the computing power information corresponding to the candidate computing power node, E i is the computing energy consumption level corresponding to the candidate computing power node, T i is the transmission delay between the user node corresponding to the computing power allocation request and the candidate computing power node, δ s , δ e , δ t It is a custom parameter set according to the business scenario.

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

9. An electronic device, characterized in that: include: one or more processors; as well as A memory, used to store one or more programs, when the one or more programs are executed by the one or more processors, enables the one or more processors to implement the method according to any one of claims 1 to 6.