Verification method and device for processing computing power operation task by intelligent computing center

By receiving running code and resource configuration information in the intelligent computing center, calculating and generating processing logs to verify initial information, the problem that users cannot verify the accuracy of initial information is solved, and the matching of the paid amount and the actual processing situation is achieved.

CN120447991APending Publication Date: 2025-08-08DATACANVAS LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202510559013.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-29
Publication Date
2025-08-08

AI Technical Summary

Technical Problem

After the user processes computing power running tasks in the Intelligent Computing Center, he is unable to verify the accuracy of the initial information, resulting in the actual payment amount not matching the actual processing situation.

Method used

Receive the operation code information and resource configuration information input by the user, calculate the initial information, generate the processing log, and verify the accuracy of the initial information through the processing log, and generate verification results to indicate whether the initial information matches the actual computing resource consumption.

Benefits of technology

It improves the matching of the initial information and the actual processing of computing power operation tasks, ensuring the accuracy of the user's paid amount.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120447991A_ABST
    Figure CN120447991A_ABST
Patent Text Reader

Abstract

The invention provides a verification method and device for processing a computing power operation task by an intelligent computing center, and the method comprises the steps: receiving operation code information and resource configuration information inputted by a user, carrying out the calculation of a result of processing the computing power operation task, obtaining initial information, generating a processing log after the processing of the computing power operation task is completed, and carrying out the verification of the processing log. Therefore, the initial information is verified through the processing log to obtain the verification result, and the accuracy of the initial information can be verified according to the verification result, so that the actual payment amount of the user can be corrected subsequently according to the verification result to improve the matching between the initial information and the actual processing condition of the computing power operation task.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of intelligent computing centers, smart computing centers and computing power infrastructure, and specifically to a verification method and device for an intelligent computing center to process computing power operation tasks. Background Art

[0002] With the rapid development of artificial intelligence technology, "intelligent computing centers" and "intelligent computing centers" have emerged.

[0003] An "Intelligent Computing Center" is a facility that uses large-scale heterogeneous computing resources, including general-purpose and intelligent computing power, to provide the computing power, data, and algorithms required for AI applications (such as AI deep learning model development, model training, and model inference). The Intelligent Computing Center encompasses facilities, hardware, and software, and provides a full stack of capabilities, from bottom-level computing power to top-level application enablement.

[0004] “Intelligent Computing Center” includes but is not limited to “Smart Computing Center”.

[0005] "Intelligent Computing Center" refers to an artificial intelligence computing center. It is a type of computing power infrastructure that is based on artificial intelligence theory, adopts artificial intelligence computing architecture, and provides computing power services, data services, and algorithm services required for artificial intelligence applications.

[0006] "Computing power" is the core of "intelligent computing center" and "intelligent computing center". It is the ability of computer equipment or computing / data center to process information. It is the ability of computer hardware and software to work together to perform certain computing needs. It is the computing power to achieve target result output by processing information data. It is a new type of productivity that integrates information computing power, network carrying capacity, and data storage capacity. It mainly provides services to society through computing power infrastructure.

[0007] In related technologies, when a user needs to process a computing power operation task based on the computing power of an intelligent computing center, after the user sends the computing power operation task to the intelligent computing center, the intelligent computing center will usually generate initial information corresponding to the computing power operation task, and process the computing power operation task after the user pays based on the initial information. However, this initial information is a bill generated by calculating the cost based on experience before the intelligent computing center runs the computing power operation task. After the computing power operation task is processed, the user cannot verify the accuracy of the initial information, that is, after the intelligent computing center processes the computing power operation task, the user cannot determine whether the initial information corresponds to the actual processing situation, which may lead to the problem that the actual payment amount of the user does not match the actual processing situation. Summary of the Invention

[0008] The present invention provides a verification method and device for an intelligent computing center processing computing power operation tasks, which solves the problem in the prior art that when a user requests an intelligent computing center to process computing power operation tasks, the actual payment amount of the user does not match the actual processing situation.

[0009] To solve the above problems, the present invention is achieved as follows:

[0010] In a first aspect, the present invention provides a method for verifying a computing power operation task processed by an intelligent computing center, the method comprising:

[0011] Step S1: receiving operation code information and resource configuration information input by a user, wherein the operation code information is used to process a computing power operation task, and the resource configuration information includes computing power resource parameter values for processing the computing power operation task;

[0012] Step S2: Calculate the result of processing the computing power operation task based on the operation code information and the resource configuration information to obtain initial information, where the initial information is the calculated computing power resource consumption information of the computing power operation task;

[0013] Step S3: Process the computing power operation task based on the operation code information and the resource configuration information, and generate a processing log, where the processing log is a task log generated after the computing power operation task is processed;

[0014] Step S4: verify the initial information according to the processing log to obtain a verification result, where the verification result is used to indicate whether the initial information matches the computing power resource consumption information corresponding to the processing log.

[0015] Optionally, the step S2 of calculating the result of processing the computing power running task based on the running code information and the resource configuration information to obtain initial information includes:

[0016] Step S21: Calculate the result of processing the computing power operation task based on the operation code information and the resource configuration information to generate first resource information and first time information, where the first resource information includes the initial computing power resources consumed by processing the computing power operation task, and the first time information includes the initial time consumed by processing the computing power operation task;

[0017] Step S22: determining initial price information according to the first resource information and the first time information;

[0018] The initial information includes the first resource information, the first time information and the initial price information.

[0019] Optionally, the step S4 of verifying the initial information according to the processing log to obtain a verification result includes:

[0020] Step S41: Parse the processing log to obtain second resource information and second time information, where the second resource information includes the computing resources actually consumed by the computing power execution task, and the second time information includes the actual time consumed by the computing power execution task;

[0021] Step S42: Calculate the second resource information and the second time information to obtain actual price information;

[0022] Step S43: Verify the first resource information, the first time information, and the initial price information according to the second resource information, the second time information, and the actual price information to obtain the verification result.

[0023] Optionally, step S43, verifying the first resource information, the first time information, and the initial price information according to the second resource information, the second time information, and the actual price information to obtain the verification result, includes:

[0024] Step S431: Obtain a first difference value, a second difference value, and a third difference value, wherein the first difference value is a difference value between the first resource information and the second resource information, the second difference value is a difference value between the first time information and the second time information, and the third difference value is a difference value between the initial price information and the actual price information;

[0025] Step S432: If the first difference value, the second difference value, and the third difference value are all 0, generate the verification result, where the verification result indicates that the initial information matches the computing resource consumption corresponding to the processing log;

[0026] Step S433: When any one of the first difference value, the second difference value and the third difference value is not 0, generate the verification result, and the verification result indicates that the initial information does not match the computing power resource consumption corresponding to the processing log.

[0027] Optionally, the step S42 of calculating the second resource information and the second time information to obtain second price information includes:

[0028] Step S421: Determine the computing resource type, computing resource quantity, and computing resource coefficient based on the second resource information, where the computing resource type includes the model of the graphics processing unit (GPU) and / or the model of the central processing unit (CPU), the computing resource quantity includes the number of GPUs and / or the number of CPUs, and the computing resource coefficient includes the price coefficient corresponding to the GPU and / or the price coefficient corresponding to the CPU.

[0029] Step S422: Determine a processing duration according to the second time information, where the processing duration is the duration of processing the computing power running task;

[0030] Step S423: Calculate the computing resource type, the computing resource quantity, the computing resource coefficient, and the processing time to obtain the second price information.

[0031] Optionally, the step S1, receiving the running code information and resource configuration information input by the user, includes:

[0032] Step S11: receiving the running code information input by the user based on the code configuration interface;

[0033] Step S12: After the security verification of the running code information is performed and the verification passes, a resource configuration interface is generated based on the running code information;

[0034] Step S13: Based on the resource configuration interface, receive the resource configuration information input by the user.

[0035] Optionally, the step S13, receiving the resource configuration information input by the user based on the resource configuration interface, includes:

[0036] Step S131: receiving an image file imported by a user or selected in the resource configuration interface, wherein the image file is used to create and deploy a configuration environment for processing the computing power operation task;

[0037] Step S132: Determine computing resource information based on user input, where the computing resource information includes computing resource parameters for processing the computing operation task;

[0038] The resource configuration information includes the image file and the computing resource information.

[0039] In a second aspect, the present invention provides a verification device for processing computing power operation tasks in an intelligent computing center, the device comprising:

[0040] A receiving module, configured to receive operation code information and resource configuration information input by a user, wherein the operation code information is used to process a computing power operation task, and the resource configuration information includes a computing power resource parameter value for processing the computing power operation task;

[0041] a calculation module, configured to calculate a result of processing the computing power operation task based on the operation code information and the resource configuration information, and obtain initial information, wherein the initial information is the calculated computing power resource consumption information of the computing power operation task;

[0042] a processing module, configured to process the computing power operation task based on the operation code information and the resource configuration information, and generate a processing log, wherein the processing log is a task log generated after the computing power operation task is processed;

[0043] A verification module is used to verify the initial information according to the processing log to obtain a verification result, and the verification result is used to indicate whether the initial information matches the computing power resource consumption information corresponding to the processing log.

[0044] In a third aspect, the present invention further provides an electronic device comprising a processor, a memory, and a computer program stored in the memory and executable on the processor, wherein the computer program, when executed by the processor, implements the steps of the method described in the first aspect above.

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

[0046] In a fifth aspect, the present invention further provides a computer program product comprising computer instructions, which, when executed by a processor, implement the steps of the method described in the first aspect above.

[0047] The present invention provides a verification method and device for processing computing power operation tasks in an intelligent computing center, the method comprising: step S1, receiving operation code information and resource configuration information input by a user, the operation code information being used to process the computing power operation task, and the resource configuration information comprising computing power resource parameter values for processing the computing power operation task; step S2, calculating the result of processing the computing power operation task based on the operation code information and the resource configuration information to obtain initial information, the initial information being the calculated computing power resource consumption information of the computing power operation task; step S3, processing the computing power operation task based on the operation code information and the resource configuration information to generate a processing log, the processing log being a task log generated after the computing power operation task is processed; step S4, verifying the initial information according to the processing log to obtain a verification result, the verification result being used to indicate whether the initial information matches the computing power resource consumption information corresponding to the processing log. The present invention receives the running code information and resource configuration information input by the user, calculates the result of processing the computing power running task, obtains initial information, and generates a processing log after the computing power running task processing is completed, thereby verifying the initial information through the processing log to obtain a verification result, and the accuracy of the initial information can be verified based on the verification result. In this way, the actual payment amount of the user can be corrected subsequently based on the verification result to improve the matching between the initial information and the actual processing situation of the computing power running task. BRIEF DESCRIPTION OF THE DRAWINGS

[0048] In order to more clearly illustrate the technical solution of the present invention, the following is a brief introduction to the drawings required for the description of the present invention. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0049] Figure 1 This is a flow chart of a verification method for an intelligent computing center processing computing power operation task provided by the present invention;

[0050] Figure 2 This is a structural diagram of a verification device for an intelligent computing center processing computing power operation tasks provided by the present invention;

[0051] Figure 3 This is a structural diagram of an electronic device provided by the present invention. DETAILED DESCRIPTION

[0052] The following will clearly and completely describe the technical solutions of the present invention in conjunction with the accompanying drawings. Obviously, the embodiments described are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making any creative efforts shall fall within the scope of protection of the present invention.

[0053] The "computing power" mentioned in the present invention refers to: the ability of computer equipment or computing / data centers to process information, the ability of computer hardware and software to work together to execute certain computing requirements, and the computing power to achieve target result output by processing information data. It is a new type of productivity that integrates information computing power, network carrying capacity, and data storage capacity, and mainly provides services to society through computing power infrastructure.

[0054] The "computing power" (CP) mentioned in the present invention refers to: the ability of a data center server to process data and output results. It is a comprehensive indicator to measure the computing power of a data center, including general computing power, supercomputing power and intelligent computing power. The commonly used unit of measurement is the number of floating-point operations performed per second (FLOPS, 1EFLOPS=10^18FLOPS). The larger the value, the stronger the comprehensive computing power. According to calculations, 1EFLOPS is approximately the computing power output of 5 Tianhe-2A or 500,000 mainstream server CPUs or 2 million mainstream laptops. The calculation formula is: CP=CP general + CP intelligent + CP super.

[0055] The "carrying capacity" (Network Power, NP) mentioned in the present invention refers to: it is the performance of the data transmission capability of the computing power facility, which includes comprehensive capabilities such as network architecture, network bandwidth, transmission latency, intelligent management and scheduling, etc. It involves network transmission within and between data centers, and is a comprehensive indicator for measuring network transmission scheduling capabilities.

[0056] The "Storage Power" (SP) described in this invention refers to the comprehensive capabilities of a data center in terms of data storage capacity, performance, security and reliability, and environmental friendliness. It is a comprehensive indicator for measuring a data center's data storage capacity, encompassing both external storage devices such as storage arrays and internal server storage. Storage capacity is commonly measured in exabytes (EB, 1EB = 2^60 bytes), while performance is commonly measured in IOPS / TB (Input / Output Operations Per Second / TB). Disaster recovery ratio is a key indicator of security and reliability.

[0057] The "computing power infrastructure" mentioned in the present invention refers to a new type of information infrastructure that integrates information computing power, network carrying capacity, and data storage capacity, and can realize the centralized calculation, storage, transmission and application of information.

[0058] The "new information infrastructure" mentioned in the present invention refers to: mainly including network infrastructure such as 5G networks, fiber-optic broadband networks, backbone networks, international communication networks, satellite Internet, computing power infrastructure such as data centers, general computing power centers, intelligent computing centers, supercomputing centers, and new technology facilities such as artificial intelligence, blockchain, and quantum computing.

[0059] The "computing power" mentioned in the present invention includes: general computing power, intelligent computing power and super computing power.

[0060] The "general computing power" mentioned in the present invention refers to the computing power provided by servers based on CPU (Central Processing Unit) chips, which is used to support basic general computing such as cloud computing and edge computing.

[0061] The "intelligent computing power" mentioned in this invention refers to: a computing platform based on specialized chips such as GPU (Graphics Processing Unit), FPGA (Field Programmable Gate Array), and ASIC (Application Specific Integrated Circuit) for various innovative artificial intelligence applications, such as natural language processing and machine vision.

[0062] The "supercomputing power" mentioned in the present invention refers to the computing power provided by high-performance computing clusters such as supercomputers. It utilizes the centralized computing resources of multiple computer systems working in parallel and uses a dedicated operating system to handle extremely complex or data-intensive problems. It is mainly used for calculations in cutting-edge scientific fields, such as planetary simulation, drug molecule design, genetic analysis, etc.

[0063] The "intelligent computing center" described in this article refers to a facility that provides the computing power, data, and algorithms required for artificial intelligence applications (such as AI deep learning model development, model training, and model inference) by utilizing large-scale heterogeneous computing resources, including general-purpose computing power (CPU) and intelligent computing power (GPU, FPGA, ASIC, etc.). The intelligent computing center encompasses facilities, hardware, and software, and can provide a full stack of capabilities, from bottom-level computing power to top-level application enablement.

[0064] The "intelligent computing center" mentioned in the present invention includes but is not limited to the "intelligent computing center".

[0065] The "intelligent computing center" mentioned in the present invention is an artificial intelligence computing center, which is a type of computing power infrastructure based on artificial intelligence theory, adopts artificial intelligence computing architecture, and provides computing power services, data services and algorithm services required for artificial intelligence applications.

[0066] The "computing power center" mentioned in the present invention refers to: a facility that is mainly composed of infrastructure such as wind, fire, water, electricity, and IT hardware and software equipment, and has computing power, transportation capacity, and storage capacity, including general data centers, intelligent computing centers, supercomputing centers, etc.

[0067] The "supercomputing center" mentioned in the present invention refers to: a supercomputing data center, which is a data center based on a supercomputer or a large-scale computing cluster, which can provide large-scale computing, storage and network services and other functions, and is widely used in application scenarios such as aerospace, national defense, oil exploration, climate modeling and genome sequencing.

[0068] The "computing resources" mentioned in the present invention refer to: technologies and facilities with information computing, transmission, storage and application capabilities required for the development of a digital society, including but not limited to computing resources such as CPUs and GPUs, computing resources such as switches and routers, storage resources such as storage arrays and distributed storage, security resources such as firewalls and intrusion detection systems, and supporting and guarantee resources such as wind, fire, water and electricity.

[0069] The “model” mentioned in the present invention includes but is not limited to a “large language model” and a “large multimodal model”.

[0070] The "large language model" mentioned in the present invention refers to a large language model (LLM), which is a language model with a large parameter scale. It is designed to understand and generate human language. It is trained with a large amount of text data and can perform a wide range of tasks including text summarization, translation, sentiment analysis, etc.

[0071] The "Multimodal Large Models" mentioned in the present invention refer to models that combine multimodal information such as text, images, video, and audio for training, including but not limited to multimodal large language models.

[0072] The "computing power operation task" mentioned in the present invention refers to a specific workload or job executed on computing power resources that requires a certain amount of computing power support, usually involving complex data processing, numerical calculations, model training or simulation scenarios.

[0073] See Figure 1 , Figure 1 This is a flow chart of a verification method for an intelligent computing center processing computing power operation task provided by the present invention, such as Figure 1 As shown, the following steps are included:

[0074] Step S1: Receive the running code information and resource configuration information input by the user, wherein the running code information is used to process the computing power running task, and the resource configuration information includes the computing power resource parameter value for processing the computing power running task.

[0075] In the present invention, the execution subject in this embodiment can be the server side, and the intelligent computing center can receive the running code information and resource configuration information of the user's request to process the computing power running task, thereby processing the computing power running task requested by the user. Specifically, after the intelligent computing center receives the user's request, it prompts the user to enter the running code information and resource configuration information, wherein the running code information includes the task code for processing the computing power running task. The task code varies according to the specific application scenario and requirements. For example, it can be a code written in Python, which is not specifically limited in the present invention. The resource configuration information includes the computing power resource parameter value for processing the computing power running task, wherein the computing power resource parameter can include computing parameters, storage parameters, computing power resource parameters, etc. In this embodiment, each computing power resource parameter corresponds to a specific value. For example, the computing parameter in the resource configuration information can be the GPU utilization rate, the CPU utilization rate, the memory utilization rate, etc.

[0076] Step S2: Calculate the result of processing the computing power running task based on the running code information and the resource configuration information to obtain initial information, where the initial information is the calculated computing power resource consumption information of the computing power running task.

[0077] In the present invention, after the intelligent computing center receives the running code information and resource configuration information, it calculates the processing results of the computing power running task requested by the user and generates initial information, wherein the initial information is the computing power resource consumption information of the computing power running task obtained by calculation. For example, the initial information can be billing information, which is a bill generated by calculating the cost based on experience before the intelligent computing center runs the computing power running task.

[0078] For example, the Intelligent Computing Center will calculate the time and resource consumption corresponding to the computing power operation task and the amount required by the user based on historical data to generate initial information. After viewing the initial information, the user can independently evaluate whether to agree with the Intelligent Computing Center's processing of the computing power operation task. For example, if the user is dissatisfied with the processing time and amount indicated in the initial information, the user can choose to reject the processing.

[0079] Step S3: Process the computing power operation task based on the operation code information and the resource configuration information to generate a processing log, where the processing log is a task log generated after the computing power operation task is processed.

[0080] In the present invention, after the user confirms that the computing power operation task is processed by the intelligent computing center, the intelligent computing center processes the computing power operation task according to the operation code information and resource configuration information. After the processing is completed, a processing log is generated. The processing log is a task log generated after the computing power operation task is processed. The processing log may include at least one of the following: basic task information, resource usage, error and exception information, task status, processing time, system information, etc. The actual processing status of the computing power operation task can be queried and obtained through the processing log, for example, including the computing power resource consumption information of the actual processing of the computing power operation task. For example, the computing power resource consumption information includes the actual resource consumption of the processing computing power operation task, the actual consumption time of the processing computing power operation task, etc.

[0081] Step S4: verify the initial information according to the processing log to obtain a verification result, where the verification result is used to indicate whether the initial information matches the computing power resource consumption information corresponding to the processing log.

[0082] In the present invention, the initial information is verified based on the actual resource consumption and actual consumption duration included in the processing log to generate a verification result. Specifically, the verification result indicates whether the initial information matches the computing power resource consumption information corresponding to the processing log. Exemplarily, when the verification result indicates that the initial information matches the computing power resource consumption information corresponding to the processing log, it indicates that the accuracy of the initial information of the intelligent computing power center is high and no adjustment is required. When the verification result indicates that the initial information matches the computing power resource consumption information corresponding to the processing log, it indicates that the accuracy of the initial information of the intelligent computing power center is low and the calculation method needs to be optimized. The specific optimization method is not specifically limited in this embodiment.

[0083] The present invention receives the running code information and resource configuration information input by the user, calculates the result of processing the computing power running task, obtains initial information, and generates a processing log after the computing power running task processing is completed, thereby verifying the initial information through the processing log to obtain a verification result, and the accuracy of the initial information can be verified based on the verification result. In this way, the actual payment amount of the user can be corrected subsequently based on the verification result to improve the matching between the initial information and the actual processing situation of the computing power running task.

[0084] In some feasible implementations, optionally, the step S2 of calculating the result of processing the computing power execution task based on the execution code information and the resource configuration information to obtain initial information includes:

[0085] Step S21: Calculate the result of processing the computing power operation task based on the operation code information and the resource configuration information to generate first resource information and first time information, where the first resource information includes the initial computing power resources consumed by processing the computing power operation task, and the first time information includes the initial time consumed by processing the computing power operation task;

[0086] Step S22: determining initial price information according to the first resource information and the first time information;

[0087] The initial information includes the first resource information, the first time information and the initial price information.

[0088] In the present invention, the result of processing a computing power execution task is calculated based on the execution code information and resource configuration information to generate first resource information and first time information. The first resource information is the initial computing power resources consumed by processing the computing power execution task, such as the type of GPU used, the number of GPUs, and the unit price of the GPUs. The first time information includes the initial time consumed by processing the computing power execution task, such as the total time consumed by processing the computing power execution task. It should be noted that during the process of processing the computing power execution task, the computing power execution task can be paused and resumed at an appropriate time. Therefore, the first time information includes the total time consumed by multiple processing times of processing the computing power execution task.

[0089] After determining the first resource information and the first time information, a calculation is performed based on the first resource information and the first time information to determine initial price information. This initial price information represents the amount a user must pay to process the computing power task. Based on this initial information, the user can determine whether to have the computing power task processed by the intelligent computing center, thereby increasing the flexibility of processing computing power tasks.

[0090] Optionally, the step S4 of verifying the initial information according to the processing log to obtain a verification result includes:

[0091] Step S41: Parse the processing log to obtain second resource information and second time information, where the second resource information includes the computing resources actually consumed by the computing power execution task, and the second time information includes the actual time consumed by the computing power execution task;

[0092] Step S42: Calculate the second resource information and the second time information to obtain actual price information;

[0093] Step S43: Verify the first resource information, the first time information, and the initial price information according to the second resource information, the second time information, and the actual price information to obtain the verification result.

[0094] In this embodiment, after obtaining the processing log, the processing log is parsed to obtain second resource information and second time information. The second resource information includes the computing power resources actually consumed by the computing power execution task, and the second time information includes the actual time consumed by the computing power execution task. The second resource information includes, for example, the type of GPU actually used, the number of GPUs, and the unit price of the GPUs, and the second time information includes, for example, the total time consumed by the actual processing of the computing power execution task.

[0095] After obtaining the second resource information and the second time information, the second resource information and the second time information are calculated to obtain actual price information.

[0096] Specifically, the actual price information is calculated based on the selected GPU model, the price coefficient corresponding to the GPU, the number of GPUs corresponding to the GPU, and the actual time consumed by the computing power to run the task. The first resource information, the first time information, and the initial price information are verified based on the second resource information, the second time information, and the actual price information to obtain a verification result.

[0097] Optionally, step S43, verifying the first resource information, the first time information, and the initial price information according to the second resource information, the second time information, and the actual price information to obtain the verification result, includes:

[0098] Step S431: Obtain a first difference value, a second difference value, and a third difference value, wherein the first difference value is a difference value between the first resource information and the second resource information, the second difference value is a difference value between the first time information and the second time information, and the third difference value is a difference value between the initial price information and the actual price information;

[0099] Step S432: If the first difference value, the second difference value, and the third difference value are all 0, generate the verification result, where the verification result indicates that the initial information matches the computing resource consumption corresponding to the processing log;

[0100] Step S433: When any one of the first difference value, the second difference value and the third difference value is not 0, generate the verification result, and the verification result indicates that the initial information does not match the computing power resource consumption corresponding to the processing log.

[0101] In this embodiment, the first resource information is compared with the second resource information to generate a first difference value, the first time information is compared with the second time information to generate a second difference value, and the initial price information is compared with the actual price information to generate a third difference value. Specifically, when the difference value is 0, it indicates that the two pieces of information compared above are the same; when the difference value is not 0, it indicates that the two pieces of information compared above are not the same.

[0102] If the first, second, and third difference values are all zero, the verification result indicates that the initial information matches the computing resource consumption corresponding to the processing log, i.e., the accuracy of the initial information is high, and there is no need to optimize the calculation method of the initial information. If any of the first, second, and third difference values is not zero, the verification result indicates that the initial information does not match the computing resource consumption corresponding to the processing log, i.e., the accuracy of the initial information is low, and there is a need to optimize the calculation method of the initial information.

[0103] Optionally, the step S42 of calculating the second resource information and the second time information to obtain second price information includes:

[0104] Step S421: Determine the computing resource type, computing resource quantity, and computing resource coefficient based on the second resource information, where the computing resource type includes the model of the graphics processing unit (GPU) and / or the model of the central processing unit (CPU), the computing resource quantity includes the number of GPUs and / or the number of CPUs, and the computing resource coefficient includes the price coefficient corresponding to the GPU and / or the price coefficient corresponding to the CPU.

[0105] Step S422: Determine a processing duration according to the second time information, where the processing duration is the duration of processing the computing power running task;

[0106] Step S423: Calculate the computing resource type, the computing resource quantity, the computing resource coefficient, and the processing time to obtain the second price information.

[0107] In the present invention, the computing power resource type, computing power resource quantity and computing power resource coefficient are determined based on the second resource information. Specifically, the computing power resource type includes the model of the graphics processing unit GPU and / or the model of the central processing unit CPU, etc., the computing power resource quantity includes the number of GPUs and / or the number of CPUs, and the computing power resource coefficient includes the price coefficient corresponding to the GPU and / or the price coefficient corresponding to the CPU, wherein the price coefficient is determined according to the specific model corresponding to the GPU or CPU.

[0108] Specifically, the second resource information can be calculated by the following formula, if (gpuType == 'nvidia.com / gpu-tesla-p4') {

[0109] (duration / 3600.00B)*0.1B*gpu

[0110] }else if(gpuType=='nvidia.com / gpu-tesla-p40'){

[0111] (duration / 3600.00B)*0.2B*gpu

[0112] }else if(gpuType=='nvidia.com / gpu-l40s'){

[0113] (duration / 3600.00B)*0.8657B*gpu

[0114] }else if(gpuType=='nvidia.com / gpu-h800-pcie'){

[0115] (duration / 3600.00B)*1.846B*gpu

[0116] }else if(gpuType=='nvidia.com / gpu-a100-sxm4-80gb'){

[0117] (duration / 3600.00B)*1B*gpu

[0118] }else if(gpuType=='nvidia.com / gpu-h100-80gb-hbm3'){

[0119] (duration / 3600.00B)*1B*gpu

[0120] }else

[0121] {(duration / 3600.00B)*0.2B*cpu / 16B}

[0122] Where gpuType==xxx is the selected GPU model, xxxB is the price coefficient corresponding to the GPU, and xxxgpu is the number of GPUs.

[0123] The second price information is obtained by calculating the computing resource type, the computing resource quantity, the computing resource coefficient and the processing time.

[0124] Optionally, the step S1, receiving the running code information and resource configuration information input by the user, includes:

[0125] Step S11: receiving the running code information input by the user based on the code configuration interface;

[0126] Step S12: After the security verification of the running code information is performed and the verification passes, a resource configuration interface is generated based on the running code information;

[0127] Step S13: Based on the resource configuration interface, receive the resource configuration information input by the user.

[0128] In the present invention, after the display interface receives the running code information input by the user, it is necessary to perform security verification on the input running code information, mainly to verify whether the code is safe. Exemplary methods for verifying the running code information include using static analysis tools (such as SonarQube, ESLint, etc.) to scan the code for security vulnerabilities and poor coding, or using dynamic analysis tools (such as OWASP ZAP, Burp Suite) to test the running code to discover potential runtime vulnerabilities, etc., which are not specifically limited in this embodiment.

[0129] If the security verification of the running code information passes, a resource configuration interface is generated based on the running code information, wherein the resource configuration interface is used to receive the resource configuration information input by the user. By verifying the running code information, the security of the processing power running task can be guaranteed.

[0130] Optionally, the step S13, receiving the resource configuration information input by the user based on the resource configuration interface, includes:

[0131] Step S131: receiving an image file imported by a user or selected in the resource configuration interface, wherein the image file is used to create and deploy a configuration environment for processing the computing power operation task;

[0132] Step S132: Determine computing resource information based on user input, where the computing resource information includes computing resource parameters for processing the computing operation task;

[0133] The resource configuration information includes the image file and the computing resource information.

[0134] In this embodiment, the resource configuration information includes image files and computing resource information. After the user selects the above configuration, the resource configuration information is generated. It should be noted that the resource configuration information in the present invention may include one or more of the above, and adaptive adjustments are made according to actual conditions.

[0135] Specifically, an image file is used to determine the image. Users can import it or select it in the resource configuration interface. The image defines the application and all its dependencies, ensuring that different computing nodes or services run in the same environment. This helps users more clearly define and allocate required computing resources and avoids resource waste due to environmental issues. This embodiment includes selecting the image file, the number of workers (computing units), and the selection of individual worker resources. After the user completes all selections, resource configuration information is generated and then security verification is performed on the resource configuration information.

[0136] The computing power resource information is determined by user selection, such as selection in the resource configuration interface. The computing power resource information generally includes various parameters, indicators and configurations related to the construction, management and performance of the network, such as uplink transmission rate and downlink transmission rate, etc.

[0137] For example, a user selects from multiple candidate image files in the resource configuration interface to determine the desired image file. Similarly, the user can also select computing resource information in the resource configuration interface to determine multiple pieces of information corresponding to the computing resource information, such as parameters, configurations, etc., which are not specifically limited in this embodiment.

[0138] In the present invention, the computing power resources required by the user can be accurately determined through the image file and computing power resource information input by the user, so the computing power resources required by the user can be used to process the computing power operation task.

[0139] The present invention receives the running code information and resource configuration information input by the user, calculates the result of processing the computing power running task, obtains initial information, and generates a processing log after the computing power running task processing is completed, thereby verifying the initial information through the processing log to obtain a verification result, and the accuracy of the initial information can be verified based on the verification result. In this way, the actual payment amount of the user can be corrected subsequently based on the verification result to improve the matching between the initial information and the actual processing situation of the computing power running task.

[0140] See Figure 2 , Figure 2 This is a structural diagram of a verification device for an intelligent computing center processing computing power operation tasks provided by the present invention, such as Figure 2 As shown, the verification device 200 for the intelligent computing center to process computing power operation tasks includes:

[0141] A receiving module 210 is configured to receive operation code information and resource configuration information input by a user, wherein the operation code information is used to process a computing power operation task, and the resource configuration information includes computing power resource parameter values for processing the computing power operation task;

[0142] A calculation module 220 is configured to calculate a result of processing the computing power operation task based on the operation code information and the resource configuration information to obtain initial information, where the initial information is the calculated computing power resource consumption information of the computing power operation task;

[0143] A processing module 230 is configured to process the computing power operation task based on the operation code information and the resource configuration information, and generate a processing log, wherein the processing log is a task log generated after the computing power operation task is processed;

[0144] The verification module 240 is used to verify the initial information according to the processing log to obtain a verification result, and the verification result is used to indicate whether the initial information matches the computing power resource consumption information corresponding to the processing log.

[0145] Optionally, the calculation module 220 includes:

[0146] a first calculation submodule, configured to calculate a result of processing the computing power operation task based on the operation code information and the resource configuration information, and generate first resource information and first time information, wherein the first resource information includes initial computing power resources consumed by processing the computing power operation task, and the first time information includes initial time consumed by processing the computing power operation task;

[0147] a determination submodule, configured to determine initial price information based on the first resource information and the first time information;

[0148] The initial information includes the first resource information, the first time information and the initial price information.

[0149] Optionally, the verification module 240 includes:

[0150] a parsing submodule, configured to parse the processing log to obtain second resource information and second time information, wherein the second resource information includes the computing power resources actually consumed by the computing power running task, and the second time information includes the time actually consumed by the computing power running task;

[0151] a second calculation submodule, configured to calculate the second resource information and the second time information to obtain actual price information;

[0152] The verification submodule is used to verify the first resource information, the first time information and the initial price information according to the second resource information, the second time information and the actual price information to obtain the verification result.

[0153] Optionally, the verification submodule includes:

[0154] an acquiring unit, configured to acquire a first difference value, a second difference value, and a third difference value, wherein the first difference value is a difference value between the first resource information and the second resource information, the second difference value is a difference value between the first time information and the second time information, and the third difference value is a difference value between the initial price information and the actual price information;

[0155] a first generating unit configured to generate the verification result when the first difference value, the second difference value, and the third difference value are all 0, the verification result indicating that the initial information matches the computing resource consumption corresponding to the processing log;

[0156] The second generating unit is used to generate the verification result when any one of the first difference value, the second difference value and the third difference value is not 0, and the verification result indicates that the initial information does not match the computing power resource consumption corresponding to the processing log.

[0157] Optionally, the calculation submodule includes:

[0158] a first determining unit, configured to determine a computing resource type, a computing resource quantity, and a computing resource coefficient based on the second resource information, wherein the computing resource type includes a model of a graphics processing unit (GPU) and / or a model of a central processing unit (CPU), the computing resource quantity includes the number of GPUs and / or the number of CPUs, and the computing resource coefficient includes a price coefficient corresponding to the GPU and / or the price coefficient corresponding to the CPU;

[0159] A second determining unit is configured to determine a processing duration according to the second time information, where the processing duration is a duration for processing the computing power running task;

[0160] A calculation unit is used to calculate the computing resource type, the computing resource quantity, the computing resource coefficient and the processing time to obtain the second price information.

[0161] Optionally, the receiving module 210 includes:

[0162] A first receiving submodule is configured to receive the running code information input by the user based on the code configuration interface;

[0163] a verification submodule, configured to generate a resource configuration interface based on the running code information when security verification is performed on the running code information and the verification passes;

[0164] The second receiving submodule is configured to receive the resource configuration information input by the user based on the resource configuration interface.

[0165] Optionally, the second receiving submodule includes:

[0166] A receiving unit, configured to receive an image file imported by a user or selected in the resource configuration interface, wherein the image file is used to create and deploy a configuration environment for processing the computing power operation task;

[0167] a third determining unit, configured to determine computing power resource information based on user input, the computing power resource information including computing power resource parameters for processing the computing power operation task;

[0168] The resource configuration information includes the image file and the computing resource information.

[0169] The present invention receives the running code information and resource configuration information input by the user, calculates the result of processing the computing power running task, obtains initial information, and generates a processing log after the computing power running task processing is completed, thereby verifying the initial information through the processing log to obtain a verification result, and the accuracy of the initial information can be verified based on the verification result. In this way, the actual payment amount of the user can be corrected subsequently based on the verification result to improve the matching between the initial information and the actual processing situation of the computing power running task.

[0170] The embodiment of the present invention also provides an electronic device. Figure 3 , the electronic device may include a processor 301, a memory 302, and a program 3021 stored in the memory 302 and executable on the processor 301.

[0171] When the program 3021 is executed by the processor 301, it can achieve Figure 1 Any step in the corresponding method embodiment:

[0172] Step S1: receiving operation code information and resource configuration information input by a user, wherein the operation code information is used to process a computing power operation task, and the resource configuration information includes computing power resource parameter values for processing the computing power operation task;

[0173] Step S2: Calculate the result of processing the computing power operation task based on the operation code information and the resource configuration information to obtain initial information, where the initial information is the calculated computing power resource consumption information of the computing power operation task;

[0174] Step S3: Process the computing power operation task based on the operation code information and the resource configuration information, and generate a processing log, where the processing log is a task log generated after the computing power operation task is processed;

[0175] Step S4: verify the initial information according to the processing log to obtain a verification result, where the verification result is used to indicate whether the initial information matches the computing power resource consumption information corresponding to the processing log.

[0176] Optionally, the step S2 of calculating the result of processing the computing power running task based on the running code information and the resource configuration information to obtain initial information includes:

[0177] Step S21: Calculate the result of processing the computing power operation task based on the operation code information and the resource configuration information to generate first resource information and first time information, where the first resource information includes the initial computing power resources consumed by processing the computing power operation task, and the first time information includes the initial time consumed by processing the computing power operation task;

[0178] Step S22: determining initial price information according to the first resource information and the first time information;

[0179] The initial information includes the first resource information, the first time information and the initial price information.

[0180] Optionally, the step S4 of verifying the initial information according to the processing log to obtain a verification result includes:

[0181] Step S41: Parse the processing log to obtain second resource information and second time information, where the second resource information includes the computing resources actually consumed by the computing power execution task, and the second time information includes the actual time consumed by the computing power execution task;

[0182] Step S42: Calculate the second resource information and the second time information to obtain actual price information;

[0183] Step S43: Verify the first resource information, the first time information, and the initial price information according to the second resource information, the second time information, and the actual price information to obtain the verification result.

[0184] Optionally, step S43, verifying the first resource information, the first time information, and the initial price information according to the second resource information, the second time information, and the actual price information to obtain the verification result, includes:

[0185] Step S431: Obtain a first difference value, a second difference value, and a third difference value, wherein the first difference value is a difference value between the first resource information and the second resource information, the second difference value is a difference value between the first time information and the second time information, and the third difference value is a difference value between the initial price information and the actual price information;

[0186] Step S432: If the first difference value, the second difference value, and the third difference value are all 0, generate the verification result, where the verification result indicates that the initial information matches the computing resource consumption corresponding to the processing log;

[0187] Step S433: When any one of the first difference value, the second difference value and the third difference value is not 0, generate the verification result, and the verification result indicates that the initial information does not match the computing power resource consumption corresponding to the processing log.

[0188] Optionally, the step S42 of calculating the second resource information and the second time information to obtain second price information includes:

[0189] Step S421: Determine the computing resource type, computing resource quantity, and computing resource coefficient based on the second resource information, where the computing resource type includes the model of the graphics processing unit (GPU) and / or the model of the central processing unit (CPU), the computing resource quantity includes the number of GPUs and / or the number of CPUs, and the computing resource coefficient includes the price coefficient corresponding to the GPU and / or the price coefficient corresponding to the CPU.

[0190] Step S422: Determine a processing duration according to the second time information, where the processing duration is the duration of processing the computing power running task;

[0191] Step S423: Calculate the computing resource type, the computing resource quantity, the computing resource coefficient, and the processing time to obtain the second price information.

[0192] Optionally, the step S1, receiving the running code information and resource configuration information input by the user, includes:

[0193] Step S11: receiving the running code information input by the user based on the code configuration interface;

[0194] Step S12: After the security verification of the running code information is performed and the verification passes, a resource configuration interface is generated based on the running code information;

[0195] Step S13: Based on the resource configuration interface, receive the resource configuration information input by the user.

[0196] Optionally, the step S13, receiving the resource configuration information input by the user based on the resource configuration interface, includes:

[0197] Step S131: receiving an image file imported by a user or selected in the resource configuration interface, wherein the image file is used to create and deploy a configuration environment for processing the computing power operation task;

[0198] Step S132: Determine computing resource information based on user input, where the computing resource information includes computing resource parameters for processing the computing operation task;

[0199] The resource configuration information includes the image file and the computing resource information.

[0200] The present invention receives the running code information and resource configuration information input by the user, calculates the result of processing the computing power running task, obtains initial information, and generates a processing log after the computing power running task processing is completed, thereby verifying the initial information through the processing log to obtain a verification result, and the accuracy of the initial information can be verified based on the verification result. In this way, the actual payment amount of the user can be corrected subsequently based on the verification result to improve the matching between the initial information and the actual processing situation of the computing power running task.

[0201] The embodiment of the present invention further provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the various processes of the embodiment of the verification method for processing computing power operation tasks in the intelligent computing center are implemented, and the same technical effects are achieved. To avoid repetition, the details are not described here. The computer-readable storage medium is, for example, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.

[0202] An embodiment of the present invention further provides a computer program product, which is stored in a storage medium. The computer program product is executed by at least one processor to implement the various processes of the above-mentioned verification method embodiment for the intelligent computing center processing computing power operation tasks, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0203] It should be noted that, in this document, the terms "comprises," "includes," or any other variations thereof are intended to encompass non-exclusive inclusion, such that a process, method, article, or apparatus comprising a series of elements includes not only those elements but also other elements not explicitly listed, or elements inherent to such process, method, article, or apparatus. In the absence of further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of other identical elements in the process, method, article, or apparatus comprising the element.

[0204] Through the description of the above embodiments, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus the necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is a better embodiment. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes a number of instructions for enabling a terminal (which can be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in each embodiment of the present invention.

[0205] The embodiments of the present invention are described above in conjunction with the accompanying drawings, but the present invention is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present invention, ordinary technicians in this field can also make many forms without departing from the scope of protection of the present invention and the claims, all of which are protected by the present invention.

Claims

1. A method for verifying the operation of computing power in an intelligent computing center, characterized in that: The method comprises: Step S1: receiving operation code information and resource configuration information input by a user, wherein the operation code information is used to process a computing power operation task, and the resource configuration information includes computing power resource parameter values for processing the computing power operation task; Step S2: Calculate the result of processing the computing power operation task based on the operation code information and the resource configuration information to obtain initial information, where the initial information is the calculated computing power resource consumption information of the computing power operation task; Step S3: Process the computing power operation task based on the operation code information and the resource configuration information, and generate a processing log, where the processing log is a task log generated after the computing power operation task is processed; Step S4: verify the initial information according to the processing log to obtain a verification result, where the verification result is used to indicate whether the initial information matches the computing power resource consumption information corresponding to the processing log.

2. The method according to claim 1, characterized in that The step S2, calculating the result of processing the computing power operation task based on the operation code information and the resource configuration information to obtain initial information, includes: Step S21: Calculate the result of processing the computing power operation task based on the operation code information and the resource configuration information to generate first resource information and first time information, where the first resource information includes the initial computing power resources consumed by processing the computing power operation task, and the first time information includes the initial time consumed by processing the computing power operation task; Step S22: determining initial price information based on the first resource information and the first time information; The initial information includes the first resource information, the first time information and the initial price information.

3. The method according to claim 2, characterized in that The step S4, verifying the initial information according to the processing log to obtain a verification result, includes: Step S41: Parse the processing log to obtain second resource information and second time information, where the second resource information includes the computing resources actually consumed by the computing power execution task, and the second time information includes the actual time consumed by the computing power execution task; Step S42: Calculate the second resource information and the second time information to obtain actual price information; Step S43: Verify the first resource information, the first time information, and the initial price information according to the second resource information, the second time information, and the actual price information to obtain the verification result.

4. The method according to claim 3, characterized in that The step S43 of verifying the first resource information, the first time information, and the initial price information according to the second resource information, the second time information, and the actual price information to obtain the verification result includes: Step S431: Obtain a first difference value, a second difference value, and a third difference value, wherein the first difference value is a difference value between the first resource information and the second resource information, the second difference value is a difference value between the first time information and the second time information, and the third difference value is a difference value between the initial price information and the actual price information; Step S432: If the first difference value, the second difference value, and the third difference value are all 0, generate the verification result, where the verification result indicates that the initial information matches the computing resource consumption corresponding to the processing log; Step S433: When any one of the first difference value, the second difference value and the third difference value is not 0, generate the verification result, and the verification result indicates that the initial information does not match the computing power resource consumption corresponding to the processing log.

5. The method according to claim 3, characterized in that The step S42 of calculating the second resource information and the second time information to obtain second price information includes: Step S421: Determine the computing resource type, computing resource quantity, and computing resource coefficient based on the second resource information, where the computing resource type includes the model of the graphics processing unit (GPU) and / or the model of the central processing unit (CPU), the computing resource quantity includes the number of GPUs and / or the number of CPUs, and the computing resource coefficient includes the price coefficient corresponding to the GPU and / or the price coefficient corresponding to the CPU. Step S422: Determine a processing duration according to the second time information, where the processing duration is the duration of processing the computing power running task; Step S423: Calculate the computing resource type, the computing resource quantity, the computing resource coefficient, and the processing time to obtain the second price information.

6. The method according to claim 1, characterized in that The step S1, receiving the running code information and resource configuration information input by the user, includes: Step S11: receiving the running code information input by the user based on the code configuration interface; Step S12: After the security verification of the running code information is performed and the verification passes, a resource configuration interface is generated based on the running code information; Step S13: Based on the resource configuration interface, receive the resource configuration information input by the user.

7. The method according to claim 6, characterized in that The step S13, receiving the resource configuration information input by the user based on the resource configuration interface, includes: Step S131: receiving an image file imported by a user or selected in the resource configuration interface, wherein the image file is used to create and deploy a configuration environment for processing the computing power operation task; Step S132: Determine computing resource information based on user input, where the computing resource information includes computing resource parameters for processing the computing operation task; The resource configuration information includes the image file and the computing resource information.

8. A verification device for processing computing power operation tasks in an intelligent computing center, characterized in that: The device comprises: A receiving module, configured to receive operation code information and resource configuration information input by a user, wherein the operation code information is used to process a computing power operation task, and the resource configuration information includes a computing power resource parameter value for processing the computing power operation task; a calculation module, configured to calculate a result of processing the computing power operation task based on the operation code information and the resource configuration information, and obtain initial information, wherein the initial information is the calculated computing power resource consumption information of the computing power operation task; a processing module, configured to process the computing power operation task based on the operation code information and the resource configuration information, and generate a processing log, wherein the processing log is a task log generated after the computing power operation task is processed; A verification module is used to verify the initial information according to the processing log to obtain a verification result, and the verification result is used to indicate whether the initial information matches the computing power resource consumption information corresponding to the processing log.

9. An electronic device, characterized in that: include: A processor, a memory, and a program stored in the memory and executable on the processor, wherein the program, when executed by the processor, implements the steps of the method according to any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a computer program, which implements the steps of the method according to any one of claims 1 to 7 when executed by a processor.

11. A computer program product, characterized in that The method comprises computer instructions, which, when executed by a processor, implement the steps of the method according to any one of claims 1 to 7.

Citation Information

Patent Citations

  • Computing power transaction contract generation method and device and computing power resource management platform

    CN117435349A

  • Computing power resource settlement method, device and equipment and computer readable storage medium

    CN117573335A

  • GPU computing power pool intelligent management method and system

    CN117971475A

  • Calculation power determination method and device, electronic equipment and storage medium

    CN118152241A