Local Development Method and Device for Intelligent Computing Center Model Oriented to Inclusive Computing Power

By synchronizing model updates between local and smart computing environments, the method optimizes resource utilization and reduces costs, facilitating broad access to computing power.

CN119883223BActive Publication Date: 2025-07-15DATACANVAS LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202510364714.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-03-26
Publication Date
2025-07-15
Estimated Expiration
2045-03-26

AI Technical Summary

Technical Problem

In the prior art, the computing power resource utilization rate of intelligent computing centers is low and the model development cost is high, making it difficult to achieve widespread application of universal computing power.

Method used

By synchronizing the virtual environment and model code between the terminal and the intelligent computing center, the computing resources can only be dispatched to process the updated model code when needed, avoiding long-term occupancy of computing resources.

Benefits of technology

It improves the computing power resource utilization rate of the intelligent computing center, reduces the economic cost of model development, and realizes the widespread application of universal computing power.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119883223B_ABST
    Figure CN119883223B_ABST
Patent Text Reader

Abstract

The present invention provides a method and device for local development of an intelligent computing center model for inclusive computing power, which relates to the technical fields of intelligent computing centers, intelligent computing centers, and computing power infrastructure. The method includes: Step S1, when receiving a first instruction, creating a virtual environment of the intelligent computing center. The first instruction is an instruction sent by the terminal to the intelligent computing center after creating a local virtual environment, and the virtual environment of the intelligent computing center matches the local virtual environment; Step S2, receiving a second instruction, which is an instruction sent by the terminal after the model code in the local virtual environment is updated. The second instruction includes model update information; Step S3, updating the model code in the virtual environment of the intelligent computing center based on the model update information; Step S4, scheduling the computing power resources of the intelligent computing center to process the updated model code. The present invention can greatly improve the utilization rate of the computing power resources of the intelligent computing center and greatly reduce the economic cost of model development.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical fields of intelligent computing centers, intelligent computing centers, and computing power infrastructure, and particularly relates to a method and device for local development of an intelligent computing center model for inclusive computing power. Background Art

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

[0003] An "intelligent computing center" refers to a facility that provides the required computing power, data, and algorithms for artificial intelligence applications (such as artificial intelligence deep learning model development, model training, and model inference scenarios) by using large-scale heterogeneous computing power resources, including general computing power and intelligent computing power. The intelligent computing center covers facilities, hardware, and software, and can provide full-stack capabilities from underlying computing power to top-level application enabling.

[0004] The "intelligent computing center" includes, but is not limited to, the "intelligent computing center".

[0005] An "intelligent computing center", that is, an artificial intelligence computing center, is a type of computing power infrastructure that provides computing power services, data services, and algorithm services required for artificial intelligence applications based on artificial intelligence theory and using an artificial intelligence computing architecture.

[0006] "Computing power" is the core of "intelligent computing centers" and "intelligent computing centers". It is the ability of computer devices or computing / data centers to process information, the ability of computer hardware and software to cooperate to jointly execute a certain computing requirement, the computing ability to achieve the output of target results by processing information data, and a new type of productive force that integrates information computing power, network carrying capacity, and data storage capacity. It mainly provides services to society through computing power infrastructure.

[0007] Currently, users achieve model development through the computing power resources provided by intelligent computing centers. In the prior art, a model is deployed to an intelligent computing center to utilize the computing power resources of the intelligent computing center to process the model. However, in the prior art, during the model development process, the model needs to be adjusted, and the adjustment process still needs to occupy the computing power resources of the intelligent computing center, resulting in long-term occupation of the computing power resources of the intelligent computing center and very low utilization rate of the computing power resources. At the same time, users need to lease the computing power services of the intelligent computing center for a long time, resulting in high costs for model development and making it difficult to achieve the widespread application of inclusive computing power.

[0008] It can be seen that there are problems in the prior art such as very low utilization rate of computing power resources and very high economic costs for model development. Summary of the Invention

[0009] The present invention provides a method and device for local development of an intelligent computing center model for inclusive computing power, so as to solve the problems of low utilization rate of computing power resources and high economic cost of model development in the prior art.

[0010] To solve the above problems, the present invention is implemented as follows:

[0011] In a first aspect, the present invention provides a method for local development of an intelligent computing center model for inclusive computing power, including:

[0012] Step S1, when receiving a first instruction, create a virtual environment of the intelligent computing center, where the first instruction is an instruction sent by the terminal to the intelligent computing center after creating a local virtual environment, and the virtual environment of the intelligent computing center matches the local virtual environment;

[0013] Step S2, receive a second instruction, where the second instruction is an instruction sent by the terminal after the model code in the local virtual environment is updated, and the second instruction includes model update information;

[0014] Step S3, update the model code in the virtual environment of the intelligent computing center based on the model update information;

[0015] Step S4, schedule the computing power resources of the intelligent computing center to process the updated model code.

[0016] In one embodiment, the model update information includes code-related data, and step S3 includes:

[0017] Step S31, update the model code in the virtual environment of the intelligent computing center based on the code-related data.

[0018] In one embodiment, the model update information includes at least one of a first address of a code repository, a second address of a distributed file system, and a third address of an object storage;

[0019] Step S3 includes:

[0020] Step S32, obtain code-related data based on at least one of the first address, the second address, and the third address;

[0021] Step S33, update the model code in the virtual environment of the intelligent computing center based on the code-related data.

[0022] In one embodiment, the code-related data corresponding to the first address, the second address, and the third address matches or does not match. After step S32, the method further includes:

[0023] Step S34: When obtaining code-related data based on at least two of the first address, the second address, and the third address, compare the code-related data obtained from different addresses to obtain a comparison result;

[0024] The step S33 includes:

[0025] Step S331: When the comparison result indicates that the code-related data obtained from different addresses match each other, update the model code in the virtual environment of the intelligent computing center based on the code-related data of any one of the different addresses.

[0026] In one embodiment, the code-related data satisfies at least one of the following:

[0027] When the intelligent computing center receives the second instruction for the first time, the code-related data is the full amount of code;

[0028] When the intelligent computing center receives the second instruction for the Nth time, the code-related data is the incremental code, where N is a positive integer greater than 1.

[0029] In one embodiment, the step S4 includes:

[0030] Step S41: Create a container based on the computing power resources of the intelligent computing center;

[0031] Step S42: Process the updated model code based on the container to obtain a processing result;

[0032] After the step S4, the method further includes:

[0033] Step S5: Send the processing result to the terminal, and close the container to release the computing power resources of the intelligent computing center occupied by the container.

[0034] In a second aspect, the present invention further provides an intelligent computing center model local development device for inclusive computing power, including:

[0035] A creation module, configured to create a virtual environment of the intelligent computing center when receiving a first instruction, where the first instruction is an instruction sent by the terminal to the intelligent computing center after creating a local virtual environment, and the virtual environment of the intelligent computing center matches the local virtual environment;

[0036] A first receiving module, configured to receive a second instruction, where the second instruction is an instruction sent by the terminal after the model code in the local virtual environment is updated, and the second instruction includes model update information;

[0037] An update module, configured to update model codes in the virtual environment of the intelligent computing center based on the model update information;

[0038] A processing module, configured to schedule computing power resources of the intelligent computing center to process the updated model codes.

[0039] In a third aspect, the present invention further provides an electronic device, including a processor, a memory, and a computer program stored on the memory and executable on the processor. When the computer program is executed by the processor, the steps in the method for local development of an intelligent computing center model for inclusive computing power as described in the first aspect above are implemented.

[0040] In a fourth aspect, the present invention further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps in the method for local development of an intelligent computing center model for inclusive computing power as described in the first aspect above are implemented.

[0041] In a fifth aspect, the present invention further provides a computer program product, including computer instructions. When the computer instructions are executed by a processor, the steps in the method for local development of an intelligent computing center model for inclusive computing power as described in the first aspect above are implemented.

[0042] In the present invention, in response to receiving a first instruction, a virtual environment of the intelligent computing center is created. The first instruction is an instruction sent by the terminal to the intelligent computing center after creating a local virtual environment, and the virtual environment of the intelligent computing center matches the local virtual environment; a second instruction is received. The second instruction is an instruction sent by the terminal after the model codes in the local virtual environment are updated, and the second instruction includes model update information; the model codes in the virtual environment of the intelligent computing center are updated based on the model update information; the computing power resources of the intelligent computing center are scheduled to process the updated model codes. In this way, the synchronization of model codes between the terminal and the intelligent computing center is realized through the first instruction and the second instruction, and then the computing power resources of the intelligent computing center are scheduled to process the updated model codes, achieving the call of the computing power of the intelligent computing center only when it is necessary to process the updated model codes, and improving the utilization rate of the computing power resources of the intelligent computing center. Further, since there is no need for the user to lease the computing power service of the intelligent computing center for a long time, the economic cost of the user for model development is greatly reduced, and the wide application of inclusive computing power is realized. Description of the Drawings

[0043] To more clearly illustrate the technical solution of the present invention, the following will briefly introduce the attached drawings required for the description of the present invention. Obviously, the attached drawings in the following description are only some embodiments of the present invention. For those of ordinary skill in the art, without creative efforts, other attached drawings can be obtained based on these drawings.

[0044] Figure 1 is a flowchart of a local development method for an intelligent computing center model for inclusive computing power provided by the present invention;

[0045] Figure 2 is a structural diagram of a local development device for an intelligent computing center model for inclusive computing power provided by the present invention;

[0046] Figure 3 is a structural diagram of an electronic device provided by the present invention. Specific embodiments

[0047] The following will clearly and completely describe the technical solutions in the present invention in conjunction with the attached drawings in the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, rather than all of them. Based on the embodiments in the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts belong to the scope of protection of the present invention.

[0048] The "computing power" described in the present invention refers to: the ability of a computer device or a computing / data center to process information, the ability of computer hardware and software to cooperate to jointly execute a certain computing requirement, the computing ability to achieve the output of a target result through the processing of information data, a new type of productive force integrating information computing power, network carrying capacity, and data storage capacity, and mainly providing services to society through computing power infrastructure.

[0049] The "computational power" (Computational Power, CP) described in the present invention refers to: the ability of a data center server to process data and achieve result output, a comprehensive index to measure the computing ability of a data center, including general computing ability, supercomputing ability, and intelligent computing ability. The commonly used measurement unit is the number of floating-point operations per second (FLOPS, 1 EFLOPS = 10^18 FLOPS), and the larger the value, the stronger the comprehensive computing ability. It is estimated that 1 EFLOPS 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 通用 + CP 智能 + CP 超级 .

[0050] The "Network Power (NP)" in the present invention refers to: It is an indication of the data transmission capacity of computing power facilities, and is a comprehensive capacity including network architecture, network bandwidth, transmission delay, 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.

[0051] The "Storage Power (SP)" in the present invention refers to: It is the comprehensive capacity of a data center in four aspects: data storage capacity, performance, security and reliability, and green and low-carbon. It is a comprehensive indicator for measuring the data storage capacity of a data center, and includes external storage devices such as storage arrays and server-internal storage devices. The commonly used measurement unit for storage capacity is exabyte (EB, 1EB = 2^60 bytes), the commonly used measurement unit for performance is the number of read and write operations per second per unit capacity (IOPS / TB, Input / Output Operations Per Second / TB), and the disaster recovery ratio is an important manifestation of security and reliability.

[0052] The "computing power infrastructure" 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 computing, storage, transmission, and application of information.

[0053] The "new type of information infrastructure" in the present invention refers to: It mainly includes network infrastructures such as 5G networks, fiber broadband networks, backbone networks, international communication networks, and satellite Internet, computing power infrastructures such as data centers, general computing power centers, intelligent computing centers, and supercomputing centers, and new technology facilities such as artificial intelligence and blockchain. With the emergence and popularization of new general-purpose technologies, the form of the new type of information infrastructure will be more diverse.

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

[0055] The "general computing power" 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.

[0056] The "intelligent computing power" in the present invention refers to: For various artificial intelligence innovation applications, a computing platform is deployed on a large scale based on dedicated chips such as GPU (Graphics Processing Unit), FPGA (Field Programmable Gate Array), and ASIC (Application Specific Integrated Circuit), such as natural language processing, machine vision, etc.

[0057] The "super computing power" described in the present invention refers to: mainly 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 processes extremely complex or data-intensive problems through a dedicated operating system. It is mainly used for computing in cutting-edge scientific fields, such as planetary simulation, drug molecule design, gene analysis, etc.

[0058] The "intelligent computing center" described in the present invention refers to: a facility that mainly provides the required computing power, data, and algorithms for artificial intelligence applications (such as scenarios like artificial intelligence deep learning model development, model training, and model inference) by using large-scale heterogeneous computing power resources, including general computing power (CPU) and intelligent computing power (GPU, FPGA, ASIC, etc.). The intelligent computing center covers facilities, hardware, and software, and can provide full-stack capabilities from underlying computing power to top-level application enabling.

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

[0060] The "intelligent computing center" described in the present invention, namely the artificial intelligence computing center, is a type of computing power infrastructure based on artificial intelligence theory, adopting an artificial intelligence computing architecture, and providing computing power services, data services, and algorithm services required for artificial intelligence applications.

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

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

[0063] The "computing power resources" described in the present invention refers to: technologies and facilities required for the development of the digital society with information computing, transmission, storage, and application capabilities, including but not limited to computing resources such as CPU and GPU, network 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 support and guarantee resources such as wind, fire, water, and electricity.

[0064] The "inclusive computing power" described in the present invention refers to providing appropriate and effective computing power services for all social strata and groups with computing power service needs at an affordable cost based on the requirements of equal opportunity and the principle of commercial sustainability.

[0065] The "models" described in the present invention include, but are not limited to, "large language models" and "multimodal large models".

[0066] The "large language model" described in the present invention refers to a large-scale language model (LLM), which is a language model with a relatively large number of parameters, aiming to understand and generate human language, trained with a large amount of text data, and can perform a wide range of tasks including text summarization, translation, sentiment analysis, etc.

[0067] The "multimodal large models" described in the present invention refer to models that jointly train multimodal information such as text, images, videos, and audio, including but not limited to multimodal large language models.

[0068] The "virtual environment" described in the present invention is a development environment created based on software. The virtual environment can support multiple development languages, such as the commonly used Python language in intelligent computing and / or the C++ language required at the underlying level. Through the virtual environment, the model code can be written and adjusted.

[0069] Please refer to Figure 1 , Figure 1 which is a flowchart of a local development method for an intelligent computing center model for inclusive computing power provided by the present invention. As Figure 1 shown, it includes the following steps:

[0070] Step S1: When receiving a first instruction, create a virtual environment for the intelligent computing center. The first instruction is an instruction sent by the terminal to the intelligent computing center after creating a local virtual environment, and the virtual environment of the intelligent computing center matches the local virtual environment.

[0071] The above first instruction is sent by the terminal and is used to instruct the intelligent computing center to create a virtual environment that matches the terminal. In some embodiments, the first instruction includes at least one of operating system information and running environment information. After receiving the first instruction, the intelligent computing center can create a virtual environment based on at least one of the operating system information and the running environment information. That is, the first instruction includes at least one of operating system information and running environment information, and step S1 includes:

[0072] Step S11: When receiving the first instruction, create the virtual environment of the intelligent computing center based on at least one of the operating system information and the running environment information.

[0073] Among them, the first instruction can be an instruction sent by the terminal to the intelligent computing center after the user installs, updates, and / or uninstalls a development package in the local virtual environment. That is, when the local virtual environment changes, the terminal sends the first instruction to the intelligent computing center, enabling the intelligent computing center to update the virtual environment to be consistent with the local virtual environment.

[0074] In some embodiments, when a development package is installed, updated, and / or uninstalled in the local virtual environment, the terminal sends the first instruction to the intelligent computing center in real time to achieve real-time synchronization to the virtual environment in the intelligent computing center and ensure environmental consistency.

[0075] In some embodiments, the method further includes:

[0076] Step S6: When receiving the check instruction sent by the terminal, send the virtual environment information corresponding to the virtual environment of the intelligent computing center to the terminal, where the check instruction is an instruction regularly sent by the terminal;

[0077] Step S7: Receive the first instruction, where the first instruction is an instruction sent by the terminal to the intelligent computing when the virtual environment information does not match the local virtual environment.

[0078] It should be noted that the terminal can regularly send a check instruction to the terminal to determine whether the virtual environment of the intelligent computing center is consistent with the local virtual environment of the terminal. When the intelligent computing center receives the check instruction sent by the terminal, it sends the virtual environment information to the terminal; after receiving the virtual environment information, the terminal determines whether it matches the local virtual environment based on the virtual environment information; when the virtual environment information does not match the local virtual environment, the first instruction is sent to the intelligent computing center, thereby ensuring that the local virtual environment is consistent with the virtual environment of the intelligent computing center.

[0079] As mentioned above, the terminal is a local device used by the user, and the user needs to adjust the model code through the terminal. Specifically, before sending the first instruction, the user creates a local virtual environment on the terminal to facilitate the user to write and adjust the model code through the terminal; after creating the local virtual environment on the terminal, the first instruction is sent to synchronize the local virtual environment to the intelligent computing center, making the intelligent computing center consistent with the local, so that after the user adjusts the model code, the adjusted code can be synchronized to the intelligent computing center.

[0080] In some embodiments, before the user creates a local virtual environment on the terminal, it is necessary to install an Integrated Development Environment (IDE) software on the terminal. The virtual environment is created and the first instruction is sent through the IDE software. Among them, the IDE software can be the code integrated development software provided by the intelligent computing center or the industry standard IDE extension plugin. Through the code integrated development software or the industry standard IDE extension plugin, the computing power resources of the intelligent computing center can be scheduled to process the adjusted model code. Specifically, the user logs in on the terminal, creates a local virtual environment through the code integrated development software or the IDE extension plugin, and synchronizes it to the intelligent computing center through the first instruction, so that the intelligent computing center also creates a virtual environment matching the local virtual environment.

[0081] Step S2: Receive a second instruction, which is an instruction sent by the terminal after the model code in the local virtual environment is updated. The second instruction includes model update information.

[0082] The above second instruction is used to instruct the intelligent computing center to update the model code in the virtual environment, so that the model code in the virtual environment of the intelligent computing center is consistent with the model code in the local virtual environment of the terminal.

[0083] In some embodiments, the second instruction is an instruction sent by the terminal to the intelligent computing center in real time when the model code in the local virtual environment is adjusted.

[0084] In some embodiments, the second instruction is an instruction sent by the terminal regularly. Specifically, the terminal regularly scans the model code in the local virtual environment, and when the model code in the local virtual environment changes, it sends a second instruction to the intelligent computing center.

[0085] The above model update information is the information of the adjusted model code. Through the model update information, the model code in the virtual environment of the intelligent computing center can be updated.

[0086] Step S3: Update the model code in the virtual environment of the intelligent computing center based on the model update information.

[0087] It should be noted that when the intelligent computing center updates the model code in the virtual environment of the intelligent computing center based on the model update information, it does not need to occupy the computing power resources of the GPU acceleration card of the intelligent computing center during the update process, but only occupies the CPU resources or storage resources of the intelligent computing center, thus avoiding occupying the computing power resources of the intelligent computing center for a long time.

[0088] Step S4: Schedule the computing power resources of the intelligent computing center to process the updated model code.

[0089] After updating the model code in the virtual environment of the intelligent computing center, the computing power resources of the intelligent computing center are then scheduled to process the updated model code, achieving the call of the computing power of the intelligent computing center only when it is necessary to process the updated model code, and improving the utilization rate of the computing power resources of the intelligent computing center.

[0090] In the present invention, in the case of receiving a first instruction, a virtual environment of an intelligent computing center is created. The first instruction is an instruction sent by the terminal to the intelligent computing center after creating a local virtual environment, and the virtual environment of the intelligent computing center matches the local virtual environment; a second instruction is received. The second instruction is an instruction sent by the terminal after the model code in the local virtual environment is updated, and the second instruction includes model update information; based on the model update information, the model code in the virtual environment of the intelligent computing center is updated; the computing power resources of the intelligent computing center are scheduled to process the updated model code. In this way, through the first instruction and the second instruction, the model code synchronization between the terminal and the intelligent computing center is realized, and then the computing power resources of the intelligent computing center are scheduled to process the updated model code, achieving the call of the computing power of the intelligent computing center only when it is necessary to process the updated model code, and improving the utilization rate of the computing power resources of the intelligent computing center. Further, since there is no need for the user to lease the computing power service of the intelligent computing center for a long time, the economic cost of the user for model development is greatly reduced, and the wide application of inclusive computing power is realized.

[0091] It should be noted that updating the model code in the virtual environment of the intelligent computing center based on the second instruction may be to directly add code-related data to the second instruction, or store the code-related data in a specific location, and the intelligent computing center obtains the code-related data from the specific location to update the model code through the code-related data.

[0092] Among them, for directly adding code-related data to the second instruction, specifically, the model update information includes code-related data, and the step S3 includes:

[0093] Step S31: Update the model code in the virtual environment of the intelligent computing center based on the code-related data.

[0094] The above code-related data is the data of the adjusted model code. Specifically, after the user adjusts the model code in the local virtual environment of the terminal, the terminal generates code-related data according to the adjusted model code and encapsulates the code-related data into a second instruction.

[0095] In the present invention, by adding code-related data to the second instruction, when the intelligent computing center receives the second instruction, it can directly update the model code in the virtual environment of the intelligent computing center according to the code-related data included in the second instruction, realizing the rapid update of the model code in the virtual environment of the intelligent computing center.

[0096] In addition, for storing the code-related data in a specific location, specifically, it may be: the model update information includes at least one of the first address of the code repository, the second address of the distributed file system, and the third address of the object storage;

[0097] The step S3 includes:

[0098] Step S32: Obtain code-related data based on at least one of the first address, the second address, and the third address;

[0099] Step S33: Update the model code in the virtual environment of the intelligent computing center based on the code-related data.

[0100] The above-mentioned code repository, distributed file system, and object storage can all implement the storage of code-related data. In some embodiments, after the user adjusts the model code in the local virtual environment of the terminal, the terminal generates code-related data according to the adjusted model code, stores the code-related data in the code repository, distributed file system, and / or object storage, and then encapsulates at least one of the first address of the code repository, the second address of the distributed file system, and the third address of the object storage as the second instruction.

[0101] In this way, when the intelligent computing center receives the second instruction, the intelligent computing center obtains the code-related data through at least one of the first address, the second address, or the third address, and then can update the model code in the virtual environment of the intelligent computing center through the code-related data.

[0102] Among them, the code-related data can be uploaded to the code repository, distributed file system, and object storage through code integrated development software or IDE extension plugins.

[0103] In one embodiment, the code-related data corresponding to the first address, the second address, and the third address matches or does not match. After the step S32, the method further includes:

[0104] Step S34: When obtaining code-related data based on at least two of the first address, the second address, and the third address, compare the code-related data obtained from different addresses to obtain a comparison result;

[0105] The step S33 includes:

[0106] Step S331: When the comparison result indicates that the code-related data obtained from different addresses match each other, update the model code in the virtual environment of the intelligent computing center based on the code-related data of any one of the different addresses.

[0107] It should be noted that when storing code-related data in a code repository, a distributed file system, and an object storage, it is possible that an exception occurs during the data storage process, resulting in incorrect storage of the code-related data and causing the data storage to fail. For example, when storing code-related data in a code repository, the first storage is successful while the second storage fails. On this basis, the code-related data obtained by the intelligent computing center from the code repository is still the code-related data stored in the first time, resulting in a situation where the model code in the local virtual environment of the terminal is inconsistent with the model code in the virtual environment of the intelligent computing center.

[0108] To reduce the probability of the above situation occurring, in the present invention, the code-related data of two addresses are compared, and it is determined whether to update based on the comparison result. Among them, when the comparison result indicates that the code-related data obtained from different addresses match each other, it is considered that the code-related data of both addresses are the latest data stored after the terminal adjusts the model code. By updating the model code in the virtual environment of the intelligent computing center with the code-related data of any one address, it is possible to keep the model code in the local virtual environment of the terminal consistent with the model code in the virtual environment of the intelligent computing center.

[0109] Furthermore, if the comparison result indicates that the code-related data obtained from different addresses do not match, the model code in the virtual environment of the intelligent computing center cannot be updated with the code-related data of any one address, and the code-related data needs to be obtained again.

[0110] Specifically, step S33 further includes:

[0111] Step S332: When the comparison result indicates that the code-related data obtained from different addresses do not match, send a fetch request to the terminal;

[0112] Step S333: Receive the third instruction sent by the terminal. The third instruction is an instruction sent by the terminal to the intelligent computing center after receiving the fetch request, and the third instruction includes the latest code-related data;

[0113] Step S334: Update the model code in the virtual environment of the intelligent computing center based on the latest code-related data.

[0114] In this way, by directly obtaining the latest code-related data from the terminal in the above manner, the model code in the local virtual environment of the terminal is kept consistent with the model code in the virtual environment of the intelligent computing center.

[0115] In one embodiment, the code-related data satisfies at least one of the following:

[0116] When the intelligent computing center receives the second instruction for the first time, the code-related data is the full set of code;

[0117] When the intelligent computing center receives the second instruction for the Nth time, the code-related data is the incremental code, where N is a positive integer greater than 1.

[0118] In the present invention, when the intelligent computing center receives the second instruction for the first time, the code-related data is the full set of code; when the intelligent computing center receives the second instruction for the Nth time, the code-related data is the incremental code, where N is a positive integer greater than 1. In this way, the synchronization of the model code in the terminal local virtual environment and the model code in the virtual environment of the intelligent computing center is achieved in the form of incremental code, reducing the amount of data included in the second instruction and realizing the rapid synchronization of the model code.

[0119] In one embodiment, step S4 includes:

[0120] Step S41: Create a container based on the computing power resources of the intelligent computing center;

[0121] Step S42: Process the updated model code based on the container to obtain a processing result;

[0122] After step S4, the method further includes:

[0123] Step S5: Send the processing result to the terminal, and close the container to release the computing power resources of the intelligent computing center occupied by the container.

[0124] In the present invention, a container is created based on the computing power resources of the intelligent computing center; the updated model code is processed based on the container to obtain a processing result; the processing result is sent to the terminal, and the container is closed to release the computing power resources of the intelligent computing center occupied by the container. In this way, by using the container to occupy the computing power resources of the intelligent computing center to run the updated model code and releasing the computing power resources of the intelligent computing center after the operation is completed, the utilization rate of the computing power resources of the intelligent computing center is improved.

[0125] Furthermore, releasing the computing power resources of the intelligent computing center after obtaining the processing result reduces the time for users to lease computing power resources and realizes the wide application of inclusive computing power.

[0126] In some embodiments, the processing result includes a running log, enabling the user to determine the running status of the updated model code through the running log, facilitating further optimization of the model code.

[0127] It should be noted that the method of the present invention ensures the consistency of the virtual environment, code, and data between the terminal and the intelligent computing center, allowing the user to quickly use the inclusive computing power with one key. Specifically, before step S41, the method includes:

[0128] Step S40: Receive a parameter instruction sent by the terminal, where the parameter instruction includes the required parameters for running the model code;

[0129] Step S42 includes:

[0130] Step S421: Process the updated model code based on the container and the required parameters to obtain a processing result.

[0131] Among them, the required parameters may include running parameters, and the intelligent computing center can infer the required running environment and resource size for the development task based on the running parameters and the updated model code.

[0132] Furthermore, the model code can be updated and the updated model code can be processed based on the mirror fast loading technology, which can achieve millisecond-level startup, making the user unaware of the existence of the remote intelligent computing center and improving the user experience.

[0133] In some embodiments, the intelligent computing center can share the computing power resources of a GPU acceleration card among multiple containers, which can further reduce the user's usage cost and the system load of the intelligent computing center.

[0134] Please refer to Figure 2 , Figure 2 which is the structural diagram of an intelligent computing center model local development device for inclusive computing power provided by the present invention. As Figure 2 shown, the intelligent computing center model local development device 200 for inclusive computing power includes:

[0135] A creation module 201, configured to create a virtual environment of the intelligent computing center when receiving a first instruction, where the first instruction is an instruction sent by the terminal to the intelligent computing center after creating a local virtual environment, and the virtual environment of the intelligent computing center matches the local virtual environment;

[0136] A first receiving module 202, configured to receive a second instruction, where the second instruction is an instruction sent by the terminal after the model code in the local virtual environment is updated, and the second instruction includes model update information;

[0137] An update module 203, configured to update the model code in the virtual environment of the intelligent computing center based on the model update information;

[0138] A processing module 204, configured to schedule the computing power resources of the intelligent computing center to process the updated model code.

[0139] In one embodiment, the model update information includes code-related data, and the update module 203 includes:

[0140] A first update unit, configured to update the model code in the virtual environment of the intelligent computing center based on the code-related data.

[0141] In one embodiment, the model update information includes at least one of a first address of a code repository, a second address of a distributed file system, and a third address of an object storage;

[0142] The update module 203 includes:

[0143] An acquisition unit, configured to acquire code-related data based on at least one of the first address, the second address, and the third address;

[0144] A second update unit, configured to update the model code in the virtual environment of the intelligent computing center based on the code-related data.

[0145] In one embodiment, the code-related data corresponding to the first address, the second address, and the third address is matched or not matched. After the acquisition unit, the intelligent computing center model local development device 200 for inclusive computing power further includes:

[0146] A comparison unit, configured to compare the code-related data obtained from different addresses to obtain a comparison result when acquiring code-related data based on at least two of the first address, the second address, and the third address;

[0147] The second update unit includes:

[0148] An update subunit, configured to update the model code in the virtual environment of the intelligent computing center based on the code-related data of any one of the different addresses when the comparison result indicates that the code-related data obtained from different addresses match each other.

[0149] In one embodiment, the code-related data satisfies at least one of the following:

[0150] When the intelligent computing center receives the second instruction for the first time, the code-related data is full-scale code;

[0151] When the intelligent computing center receives the second instruction for the Nth time, the code-related data is incremental code, where N is a positive integer greater than 1.

[0152] In one embodiment, the processing module 204 includes:

[0153] A first creation unit, configured to create a container based on the computing power resources of the intelligent computing center;

[0154] A processing unit, configured to process the updated model code based on the container to obtain a processing result;

[0155] After the processing module 204, the intelligent computing center model local development device 200 for inclusive computing power further includes:

[0156] A release module, configured to send the processing result to the terminal, close the container, and release the computing power resources of the intelligent computing center occupied by the container.

[0157] In one embodiment, the first instruction includes at least one of operating system information and operating environment information, and the creation module 201 includes:

[0158] A second creation unit, configured to create a virtual environment of the intelligent computing center based on at least one of the operating system information and the operating environment information when receiving the first instruction.

[0159] In one embodiment, the first instruction is an instruction sent by the terminal to the intelligent computing center after a development package for installation, update, and / or uninstallation of the local virtual environment.

[0160] In one embodiment, the intelligent computing center model local development device 200 for inclusive computing power further includes:

[0161] A sending module, configured to send virtual environment information corresponding to the virtual environment of the intelligent computing center to the terminal when receiving a check instruction sent by the terminal, where the check instruction is an instruction regularly sent by the terminal;

[0162] A second receiving module, configured to receive the first instruction, where the first instruction is an instruction sent by the terminal to the intelligent computing center when the virtual environment information does not match the local virtual environment.

[0163] The intelligent computing center model local development device for inclusive computing power provided by the present invention can implement each process of the above-mentioned intelligent computing center model local development method for inclusive computing power. The technical features correspond one by one and can achieve the same technical effects. To avoid repetition, they are not described here again.

[0164] It should be noted that the local development device of the intelligent computing center model for inclusive computing power in the present invention can be a device, or a component, integrated circuit, or chip in an electronic device.

[0165] The present invention also provides an electronic device. Refer to Figure 3 , Figure 3 FIG. is a schematic structural diagram of an electronic device provided in an embodiment of the present invention. The electronic device includes a memory 301, a processor 302, and a program or instruction stored on the memory 301 and running. When the program or instruction is executed by the processor 302, it can implement Figure 1 any steps in the corresponding embodiment of the local development method of the intelligent computing center model for inclusive computing power and achieve the same beneficial effects, which will not be elaborated here.

[0166] Among them, the processor 302 can be a CPU, ASIC, FPGA, or GPU.

[0167] Those of ordinary skill in the art can understand that all or part of the steps of implementing the above embodiment of the local development method of the intelligent computing center model for inclusive computing power can be completed by hardware related to program instructions, and the program can be stored in a readable medium.

[0168] The present invention also provides a readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, it can implement the above Figure 1 any steps in the corresponding embodiment of the local development method of the intelligent computing center model for inclusive computing power and can achieve the same technical effects. To avoid repetition, it will not be elaborated here. The storage medium is, for example, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disc, etc.

[0169] The present invention also provides a computer program product, including computer instructions. When the computer instructions are executed by a processor, they implement the above Figure 1 each process of the corresponding embodiment of the local development method of the intelligent computing center model for inclusive computing power and can achieve the same technical effects. To avoid repetition, it will not be elaborated here.

[0170] The terms "first", "second", etc. in the present invention are used to distinguish similar objects and do not necessarily describe a specific order or sequence. In addition, the terms "comprising", "having" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product or device comprising a series of steps or units does not have to be limited to those steps or units clearly listed, but may include other steps or units not clearly listed or inherent to these processes, methods, products or devices. In addition, as used in this application, "and / or" means at least one of the connected objects. For example, A and / or B and / or C means including the 7 cases of A alone, B alone, C alone, A and B both present, B and C both present, A and C both present, and A, B and C all present.

[0171] It should be noted that in this document, the term "comprising", "including" or any other variation thereof is intended to cover non-exclusive inclusion, such that a process, method, article or device comprising a series of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such process, method, article or device. Without further limitation, an element defined by the phrase "comprising an..." does not exclude the presence of additional identical elements in the process, method, article or device comprising that element.

[0172] Through the description of the above embodiments, those skilled in the art can clearly understand that the above-described embodiment methods can be implemented by means of software plus a necessary general hardware platform. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation. Based on such an understanding, the technical solution of this application, in essence or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes several instructions for causing a terminal (which may be a mobile phone, computer, server, air conditioner, or a second terminal device, etc.) to execute the methods of various embodiments of this application.

[0173] The embodiments of this application are described above in conjunction with the accompanying drawings, but this application is not limited to the above specific embodiments. The above specific embodiments are merely illustrative and not restrictive. Under the inspiration of this application, those of ordinary skill in the art can also make many forms without departing from the purpose of this application and the scope protected by the claims, and all of them fall within the protection scope of this application.

Claims

1. A local development method for an intelligent computing center model for inclusive computing power, characterized in that Including: Step S1: When receiving a first instruction, create a virtual environment of the intelligent computing center. The first instruction is an instruction sent by the terminal to the intelligent computing center after creating a local virtual environment, and the virtual environment of the intelligent computing center matches the local virtual environment. Step S2: Receive a second instruction, which is an instruction sent by the terminal after the model code in the local virtual environment is updated. The second instruction includes model update information. Step S3: Update the model code in the virtual environment of the intelligent computing center based on the model update information. Step S4: Schedule the computing power resources of the intelligent computing center to process the updated model code. The first instruction includes at least one of operating system information and running environment information. Step S1 includes: Step S11: When receiving a first instruction, create the virtual environment of the intelligent computing center based on at least one of the operating system information and the running environment information. The first instruction is an instruction sent by the terminal to the intelligent computing center after a development package for installation, update, and / or uninstallation is performed on the local virtual environment. The model update information includes at least one of a first address of a code repository, a second address of a distributed file system, and a third address of an object storage. Step S3 includes: Step S32: Obtain code-related data based on at least one of the first address, the second address, and the third address. Step S33: Update the model code in the virtual environment of the intelligent computing center based on the code-related data. Whether the code-related data corresponding to the first address, the second address, and the third address match or not. After step S32, the method further includes: Step S34: When obtaining code-related data based on at least two of the first address, the second address, and the third address, compare the code-related data obtained from different addresses to obtain a comparison result. Step S33 includes: Step S331: When the comparison result indicates that the code-related data obtained from different addresses match each other, update the model code in the virtual environment of the intelligent computing center based on the code-related data of any one of the different addresses.

2. The method according to claim 1, wherein The model update information includes code-related data. Step S3 includes: Step S31: Update the model code in the virtual environment of the intelligent computing center based on the code-related data.

3. The method according to claim 1 or 2, characterized in that, The code-related data satisfies at least one of the following: When the intelligent computing center receives the second instruction for the first time, the code-related data is full-scale code. When the intelligent computing center receives the second instruction for the Nth time, the code-related data is incremental code, where N is a positive integer greater than 1.

4. The method according to claim 1 or 2, characterized in that, Step S4 includes: Step S41: Create a container based on the computing power resources of the intelligent computing center. Step S42: Process the updated model code based on the container to obtain a processing result. After step S4, the method further includes: Step S5: Send the processing result to the terminal, close the container, and release the computing power resources of the intelligent computing center occupied by the container.

5. The method according to claim 1, characterized in that, The method further includes: Step S6: When receiving the inspection instruction sent by the terminal, send the virtual environment information corresponding to the virtual environment of the intelligent computing center to the terminal, where the inspection instruction is an instruction regularly sent by the terminal; Step S7: Receive the first instruction, where the first instruction is an instruction sent by the terminal to the intelligent computing when the virtual environment information does not match the local virtual environment.

6. An intelligent computing center model local development device for inclusive computing power, characterized in that, It includes: A creation module, configured to create a virtual environment of the intelligent computing center when receiving the first instruction, where the first instruction is an instruction sent by the terminal to the intelligent computing center after creating a local virtual environment, and the virtual environment of the intelligent computing center matches the local virtual environment; A first receiving module, configured to receive a second instruction, where the second instruction is an instruction sent by the terminal after the model code in the local virtual environment is updated, and the second instruction includes model update information; An update module, configured to update the model code in the virtual environment of the intelligent computing center based on the model update information; A processing module, configured to schedule the computing power resources of the intelligent computing center to process the updated model code; The first instruction includes at least one of operating system information and running environment information, and the creation module includes: A second creation unit, configured to create the virtual environment of the intelligent computing center based on at least one of the operating system information and the running environment information when receiving the first instruction; The first instruction is an instruction sent by the terminal to the intelligent computing center after the development package for installation, update, and / or uninstallation is performed on the local virtual environment; The model update information includes at least one of the first address of the code repository, the second address of the distributed file system, and the third address of the object storage; The update module includes: An acquisition unit, configured to acquire code-related data based on at least one of the first address, the second address, and the third address; A second update unit, configured to update the model code in the virtual environment of the intelligent computing center based on the code-related data; Whether the code-related data corresponding to the first address, the second address, and the third address match or not, the intelligent computing center model local development device for inclusive computing power further includes: A comparison unit, configured to compare the code-related data obtained from different addresses to obtain a comparison result when acquiring code-related data based on at least two of the first address, the second address, and the third address; The second update unit includes: An update subunit, configured to update the model code in the virtual environment of the intelligent computing center based on the code-related data of any one of the different addresses when the comparison result indicates that the code-related data obtained from different addresses match each other.

7. An electronic device, characterized in that, It includes: A processor, a memory, and a program stored on the memory and executable on the processor, wherein when the program is executed by the processor, the steps of the intelligent computing center model local development method for inclusive computing power as described in any one of claims 1 to 5 are implemented.

8. A computer-readable storage medium, characterized in that, A computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the intelligent computing center model local development method for inclusive computing power as described in any one of claims 1 to 5 are implemented.

9. A computer program product, characterized in that, It includes computer instructions, and when the computer instructions are executed by a processor, the steps of the intelligent computing center model local development method for inclusive computing power as described in any one of claims 1 to 5 are implemented.

Citation Information

Patent Citations

  • Intelligent computing center model development method and device oriented to popularity

    CN119336517A