Intelligent computing center model local development method and device oriented to popularity
By creating a virtual environment for the intelligent computing center in the terminal and synchronizing model code updates, computing resources are scheduled only when needed, the problems of low utilization of computing resources and high model development costs of intelligent computing centers are solved, and the wide application of universal computing power is achieved.
Patent Information
- Application Number
- CN202510364714.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-26
- Publication Date
- 2025-04-25
- Estimated Expiration
- 2045-03-26
AI Technical Summary
In the prior art, the computing power resource utilization rate of intelligent computing centers is low, the economic cost of model development is high, and it is difficult to achieve widespread application of universal computing power.
By creating a virtual environment for the intelligent computing center in the terminal and synchronizing it to the intelligent computing center when the model code is updated, the computing power resources of the intelligent computing center are only scheduled when the updated model code needs to be processed.
It improves the computing power resource utilization rate of the intelligent computing center, reduces the economic cost of users to develop models, and realizes the widespread application of universal computing power.
Smart Images

Figure CN119883223A_ABST
Abstract
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 local development method and device for an intelligent computing center model for universal computing power. Background Art
[0002] With the rapid development of artificial intelligence technology, "intelligent computing centers" and "intelligent computing centers" have come into being.
[0003] "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 reasoning) by using large-scale heterogeneous computing 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 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 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 execute certain computing needs. It is the computing power to process information data and achieve target result output. 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] Currently, users develop models through computing resources provided by intelligent computing centers. In the prior art, the model is deployed to the intelligent computing center to process the model using the computing resources of the intelligent computing center. However, in the prior art, the model needs to be adjusted during the model development process, and the adjustment process still needs to occupy the computing resources of the intelligent computing center, resulting in long-term occupation of the computing resources of the intelligent computing center and low utilization of computing resources. At the same time, users need to rent the computing services of the intelligent computing center for a long time, resulting in high cost of model development, making it difficult to achieve widespread application of inclusive computing power.
[0008] It can be seen that the existing technology has the problems of low utilization of computing resources and high economic cost of model development. Summary of the invention
[0009] The present invention provides a local development method and device for an intelligent computing center model for universal computing power, so as to solve the problems in the prior art of low utilization of computing power resources and high economic cost of model development.
[0010] To solve the above problems, the present invention is achieved as follows: In a first aspect, the present invention provides a local development method of an intelligent computing center model for inclusive computing power, comprising: Step S1: upon receiving a first instruction, creating a virtual environment of an intelligent computing center, wherein the first instruction is an instruction sent by a 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, 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; Step S3: updating the model code in the virtual environment of the intelligent computing center based on the model update information; Step S4: dispatch computing resources of the intelligent computing center to process the updated model code.
[0011] In one embodiment, the model update information includes code related data, and the step S3 includes: Step S31: updating the model code in the virtual environment of the intelligent computing center based on the code-related data.
[0012] 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; The step S3 comprises: Step S32: acquiring code-related data based on at least one of the first address, the second address and the third address; Step S33: updating the model code in the virtual environment of the intelligent computing center based on the code-related data.
[0013] In one embodiment, the code-related data corresponding to the first address, the second address, and the third address match or do not match, and after step S32, the method further includes: Step S34: when the code-related data is obtained based on at least two of the first address, the second address and the third address, the code-related data obtained from different addresses are compared to obtain a comparison result; The step S33 comprises: Step S331: When the comparison result indicates that the code-related data obtained from different addresses match each other, the model code in the virtual environment of the intelligent computing center is updated based on the code-related data of any one of the different addresses.
[0014] In one embodiment, 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 the full code; When the intelligent computing center receives the second instruction for the Nth time, the code-related data is an incremental code, and N is a positive integer greater than 1.
[0015] In one embodiment, step S4 includes: Step S41: creating a container based on the computing resources of the intelligent computing center; Step S42: Processing 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.
[0016] In a second aspect, the present invention further provides a local development device for an intelligent computing center model for universal computing power, comprising: A creation module, configured to create a virtual environment of an intelligent computing center upon receiving a first instruction, wherein the first instruction is an instruction sent to the intelligent computing center after the terminal creates 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, wherein 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 updating module, used for updating the model code in the virtual environment of the intelligent computing center based on the model update information; A processing module is used to schedule the computing resources of the intelligent computing center to process the updated model code.
[0017] 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 when the computer program is executed by the processor, the steps in the local development method of an intelligent computing center model for inclusive computing power as described in the first aspect above are implemented.
[0018] In a fourth aspect, the present invention further provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps in the local development method of an intelligent computing center model for inclusive computing power as described in the first aspect above.
[0019] 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 in the local development method of an intelligent computing center model for inclusive computing power as described in the first aspect above.
[0020] In the present invention, upon receiving a first instruction, a virtual environment of an intelligent computing center is created, wherein the first instruction is an instruction sent by the terminal to the intelligent computing center after the terminal creates a local virtual environment, and the virtual environment of the intelligent computing center matches the local virtual environment; receiving a second instruction, wherein 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; updating the model code in the virtual environment of the intelligent computing center based on the model update information; and scheduling the computing power resources of the intelligent computing center to process the updated model code. In this way, the model code of the terminal and the intelligent computing center is synchronized through the first instruction and the second instruction, and the computing power resources of the intelligent computing center are then scheduled to process the updated model code, so that the computing power of the intelligent computing center is called only when the updated model code needs to be processed, thereby improving the computing power resource utilization rate of the intelligent computing center. Furthermore, since users do not need to rent the computing power service of the intelligent computing center for a long time, the economic cost of model development for users is greatly reduced, and the widespread application of inclusive computing power is realized. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] In order to more clearly illustrate the technical solution of the present invention, the accompanying drawings required for use in the description of the present invention will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative labor.
[0022] Figure 1 It is a flow chart of a local development method of an intelligent computing center model for inclusive computing power provided by the present invention; Figure 2 It is a structural diagram of a local development device of an intelligent computing center model for inclusive computing power provided by the present invention; Figure 3 It is a structural diagram of an electronic device provided by the present invention. DETAILED DESCRIPTION
[0023] The technical solution of the present invention will be described clearly and completely below in conjunction with the accompanying drawings of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0024] The "computing power" mentioned in the present invention refers to: the ability of computer equipment or computing / data center 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 it mainly provides services to the society through computing power infrastructure.
[0025] The "computing power" (Computational Power, CP) mentioned in the present invention refers to: it is 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, super computing 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, 1 EFLOPS is approximately the computing power output of 5 Tianhe-2A or 500,000 mainstream server CPUs or 2 million mainstream notebooks. The calculation formula is: CP=CP 通用 +CP 智能 +CP 超级 .
[0026] The "carrying capacity" (Network Power, NP) mentioned in the present invention refers to: it is the performance of the data transmission capacity of the computing power facilities, including the comprehensive capabilities of 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.
[0027] The "Storage Power" (SP) mentioned in the present invention refers to: the comprehensive capabilities of a data center in terms of data storage capacity, performance, safety and reliability, and green and low-carbon. It is a comprehensive indicator for measuring the data storage capacity of a data center, including external storage devices such as storage arrays and server built-in storage devices. The commonly used unit of measurement for storage capacity is exabyte (EB, 1EB=2^60bytes), and the commonly used unit of measurement for performance is the number of reads and writes per second per unit capacity (IOPS / TB, Input / Output Operations Per Second / TB). The disaster recovery ratio is an important manifestation of safety and reliability.
[0028] 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, which can realize centralized computing, storage, transmission and application of information.
[0029] The "new information infrastructure" mentioned in the present invention refers to: mainly including network infrastructure such as 5G network, fiber broadband network, backbone network, international communication network, satellite Internet, computing power infrastructure such as data center, general computing power center, intelligent computing center, supercomputing center, and new technology facilities such as artificial intelligence and blockchain. With the emergence and promotion of new general technologies, the new information infrastructure will become more diverse.
[0030] The “computing power” mentioned in the present invention includes: general computing power, intelligent computing power and super computing power.
[0031] 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.
[0032] The "intelligent computing power" mentioned in the present invention refers to: a computing platform based on GPU (Graphics Processing Unit), FPGA (Field Programmable Gate Array), ASIC (Application Specific Integrated Circuit) and other dedicated chips for various innovative artificial intelligence applications, such as natural language processing, machine vision, etc.
[0033] The "super computing power" mentioned in the present invention refers to: the computing power mainly provided by high-performance computing clusters such as supercomputers. It uses 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, gene analysis, etc.
[0034] The "intelligent computing center" mentioned in the present invention 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 reasoning) by using large-scale heterogeneous computing 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 bottom-level computing power to top-level application enablement.
[0035] The “intelligent computing center” mentioned in the present invention includes but is not limited to the “intelligent computing center”.
[0036] The "intelligent computing center" mentioned in the present invention is an artificial intelligence computing center, which 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.
[0037] 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.
[0038] 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 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.
[0039] 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, 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 supporting and guarantee resources such as wind, fire, water and electricity.
[0040] The "inclusive computing power" mentioned in the present invention refers to providing appropriate and effective computing power services at an affordable cost to all social classes and groups that have computing power service needs based on the requirements of equal opportunity and the principle of commercial sustainability.
[0041] The “model” mentioned in the present invention includes but is not limited to a “large language model” and a “multimodal large model”.
[0042] 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, designed 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.
[0043] The "Multimodal Large Models" mentioned in the present invention refer to models that combine multimodal information such as text, images, videos, audio, etc. for training, including but not limited to multimodal large language models.
[0044] 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 most commonly used Python language for intelligent computing and / or the C++ language required at the bottom layer. The model code can be written and adjusted through the virtual environment.
[0045] See also Figure 1 , Figure 1 is a flowchart of a local development method of an intelligent computing center model for inclusive computing power provided by the present invention, such as Figure 1 As shown, the following steps are included: Step S1: upon receiving a first instruction, creating a virtual environment of an intelligent computing center, wherein the first instruction is an instruction sent by a 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.
[0046] The first instruction is sent by the terminal 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 the operating system information and the operating environment information. After receiving the first instruction, the intelligent computing center can create a virtual environment using at least one of the operating system information and the operating environment information. That is, the first instruction includes at least one of the operating system information and the operating environment information, and the step S1 includes: Step S11: upon receiving the first instruction, creating a virtual environment of the intelligent computing center based on at least one of the operating system information and the operating environment information.
[0047] 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 the 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, so that the intelligent computing center updates the virtual environment to keep it consistent with the local virtual environment.
[0048] In some embodiments, when a development package is installed, updated, and / or uninstalled in a local virtual environment, the terminal sends a first instruction to the intelligent computing center in real time to achieve real-time synchronization with the virtual environment in the intelligent computing center to ensure the consistency of the environment.
[0049] In some embodiments, the method further comprises: Step S6: upon receiving a check instruction sent by the terminal, sending virtual environment information corresponding to the virtual environment of the intelligent computing center to the terminal, wherein the check instruction is an instruction sent regularly by the terminal; Step S7: receiving 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.
[0050] It should be noted that the terminal can periodically 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 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.
[0051] 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 in the terminal, so that the user can write and adjust the model code through the terminal; after the terminal creates the local virtual environment, the first instruction is sent to synchronize the local virtual environment to the intelligent computing center, so that the intelligent computing center is consistent with the local, so that after the user adjusts the model code, the adjusted code is synchronized to the intelligent computing center.
[0052] 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, and use the IDE software to create a virtual environment and send a first instruction. The IDE software can be a code integrated development software or an industry standard IDE extension plug-in provided by the intelligent computing center. The code integrated development software or the industry standard IDE extension plug-in can be used to schedule the computing resources of the intelligent computing center to process the adjusted model code. Specifically, the user logs in to the terminal, creates a local virtual environment through the code integrated development software or the IDE extension plug-in, and synchronizes it to the intelligent computing center through the first instruction, so that the intelligent computing center will also create a virtual environment that matches the local virtual environment.
[0053] Step S2: receiving 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.
[0054] The 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 of the local virtual environment of the terminal.
[0055] In some implementations, the second instruction is an instruction sent in real time by the terminal to the intelligent computing center when the model code in the local virtual environment is adjusted.
[0056] In some implementations, the second instruction is an instruction sent periodically by the terminal. Specifically, the terminal periodically scans the model code in the local virtual environment, and sends the second instruction to the intelligent computing center when the model code in the local virtual environment changes.
[0057] The above-mentioned model update information is information of the adjusted model code, and the model code in the virtual environment of the intelligent computing center can be updated through the model update information.
[0058] Step S3: updating the model code in the virtual environment of the intelligent computing center based on the model update information.
[0059] It should be noted that the intelligent computing center updates the model code in the virtual environment of the intelligent computing center based on the model update information. During the update process, it does not need to occupy the computing power resources of the GPU acceleration card of the intelligent computing center, but only occupies the CPU resources or storage resources of the intelligent computing center, thereby avoiding occupying the computing power resources of the intelligent computing center for a long time.
[0060] Step S4: dispatch computing resources of the intelligent computing center to process the updated model code.
[0061] After updating the model code in the virtual environment of the intelligent computing center, the computing power resources of the intelligent computing center are dispatched to process the updated model code, so that the computing power of the intelligent computing center is called only when the updated model code needs to be processed, thereby improving the computing power resource utilization rate of the intelligent computing center.
[0062] In the present invention, upon receiving a first instruction, a virtual environment of an intelligent computing center is created, wherein the first instruction is an instruction sent by the terminal to the intelligent computing center after the terminal creates a local virtual environment, and the virtual environment of the intelligent computing center matches the local virtual environment; receiving a second instruction, wherein 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; updating the model code in the virtual environment of the intelligent computing center based on the model update information; and scheduling the computing power resources of the intelligent computing center to process the updated model code. In this way, the model code of the terminal and the intelligent computing center is synchronized through the first instruction and the second instruction, and the computing power resources of the intelligent computing center are then scheduled to process the updated model code, so that the computing power of the intelligent computing center is called only when the updated model code needs to be processed, thereby improving the computing power resource utilization rate of the intelligent computing center. Furthermore, since users do not need to rent the computing power service of the intelligent computing center for a long time, the economic cost of model development for users is greatly reduced, and the widespread application of inclusive computing power is realized.
[0063] It should be noted that updating the model code in the virtual environment of the intelligent computing center based on the second instruction can be done by directly adding code-related data in the second instruction, or by storing the code-related data in a specific location, and the intelligent computing center obtains the code-related data from the specific location to implement model code update through the code-related data.
[0064] Wherein, for directly adding code-related data in the second instruction, specifically, the model update information includes code-related data, and the step S3 includes: Step S31: updating the model code in the virtual environment of the intelligent computing center based on the code-related data.
[0065] The above-mentioned 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 the code-related data according to the adjusted model code, and encapsulates the code-related data into a second instruction.
[0066] In the present invention, by adding code-related data to the second instruction, after receiving the second instruction, the intelligent computing center 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, thereby realizing the rapid update of the model code in the virtual environment of the intelligent computing center.
[0067] In addition, for storing the code-related data in a specific location, specifically: 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; The step S3 comprises: Step S32: acquiring code-related data based on at least one of the first address, the second address and the third address; Step S33: updating the model code in the virtual environment of the intelligent computing center based on the code-related data.
[0068] The above-mentioned code warehouse, distributed file system and object storage can all realize 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 warehouse, distributed file system and / or object storage, and then encapsulates at least one of the first address of the code warehouse, the second address of the distributed file system, and the third address of the object storage as a second instruction.
[0069] In this way, after receiving the second instruction, the intelligent computing center obtains 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.
[0070] Among them, code-related data can be uploaded to the code repository, distributed file system and object storage through code integration development software or IDE extension plug-ins.
[0071] In one embodiment, the code-related data corresponding to the first address, the second address, and the third address match or do not match, and after step S32, the method further includes: Step S34: when the code-related data is obtained based on at least two of the first address, the second address and the third address, the code-related data obtained from different addresses are compared to obtain a comparison result; The step S33 comprises: Step S331: When the comparison result indicates that the code-related data obtained from different addresses match each other, the model code in the virtual environment of the intelligent computing center is updated based on the code-related data of any one of the different addresses.
[0072] It should be noted that when storing code-related data in a code repository, distributed file system, and object storage, an exception may occur during the data storage process, resulting in errors in the code-related data storage, causing data storage failure. For example, when storing code-related data in a code repository, the first storage is successful but 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 for the first time, resulting in inconsistencies between the model code in the local virtual environment of the terminal and the model code in the virtual environment of the intelligent computing center.
[0073] In order to reduce the probability of the above situation, the present invention compares the code-related data of the two addresses, and determines whether it needs to be updated based on the comparison result. Wherein, 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 the two addresses are the latest data stored after the terminal adjusts the model code, and the model code in the virtual environment of the intelligent computing center is updated through the code-related data of any address, so that the model code of the local virtual environment of the terminal and the model code in the virtual environment of the intelligent computing center can be kept consistent.
[0074] Furthermore, if the comparison result indicates that the code-related data obtained at different addresses do not match, the model code in the virtual environment of the intelligent computing center cannot be updated through the code-related data at any address, and the code-related data needs to be re-acquired.
[0075] Specifically, the step S33 further includes: Step S332: If the comparison result indicates that the code-related data obtained at different addresses do not match, sending an acquisition request to the terminal; Step S333: receiving a third instruction sent by the terminal, wherein the third instruction is an instruction sent by the terminal to the intelligent computing center after receiving the acquisition request, and the third instruction includes the latest code-related data; Step S334: Update the model code in the virtual environment of the intelligent computing center based on the latest code-related data.
[0076] In this way, the latest code-related data is directly obtained from the terminal in the above manner, so that the model code of the local virtual environment of the terminal and the model code in the virtual environment of the intelligent computing center are consistent.
[0077] In one embodiment, 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 the full code; When the intelligent computing center receives the second instruction for the Nth time, the code-related data is an incremental code, and N is a positive integer greater than 1.
[0078] In the present invention, when the intelligent computing center receives the second instruction for the first time, the code-related data is the full 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 model code of the local virtual environment of the terminal and the model code in the virtual environment of the intelligent computing center are synchronized in the form of incremental code, which reduces the amount of data included in the second instruction and realizes rapid synchronization of the model code.
[0079] In one embodiment, step S4 includes: Step S41: creating a container based on the computing resources of the intelligent computing center; Step S42: Processing 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.
[0080] 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, the updated model code is run by occupying the computing power resources of the intelligent computing center through the container, and the computing power resources of the intelligent computing center are released after the operation is completed, thereby improving the utilization rate of the computing power resources of the intelligent computing center.
[0081] Furthermore, the computing power resources of the intelligent computing center are released after the processing results are obtained, reducing the time users need to rent computing power resources and realizing the widespread application of inclusive computing power.
[0082] In some implementations, the processing result includes an operation log, so that the user can determine the operation status of the updated model code through the operation log, so as to further optimize the model code.
[0083] It should be noted that the method of the present invention ensures the consistency of the virtual environment, code, and data of the terminal and the intelligent computing center, and the user can quickly use the inclusive computing power with one click. Specifically, before step S41, the method includes: Step S40: receiving a parameter instruction sent by the terminal, wherein the parameter instruction includes a required parameter for running the model code; Step S42 includes: Step S421: Process the updated model code based on the container and the requirement parameters to obtain a processing result.
[0084] The requirement parameters may include operating parameters, and the intelligent computing center can infer the operating environment and resource size required for the development task based on the operating parameters and the updated model code.
[0085] Furthermore, the model code can be updated and the updated model code can be processed based on the image-based ultra-fast loading technology, which can achieve millisecond-level startup, making users unaware of the existence of the remote intelligent computing center and improving the user experience.
[0086] In some implementations, the intelligent computing center can have multiple containers share the computing power resources of a GPU accelerator card, which can further reduce user usage costs and the system load of the intelligent computing center.
[0087] See also Figure 2 , Figure 2 This is a structural diagram of a local development device of an intelligent computing center model for universal computing power provided by the present invention, such as Figure 2 As shown, the local development device 200 of the intelligent computing center model for inclusive computing power includes: A creation module 201 is used to create a virtual environment of an intelligent computing center when receiving a first instruction, wherein the first instruction is an instruction sent to the intelligent computing center after the terminal creates a local virtual environment, and the virtual environment of the intelligent computing center matches the local virtual environment; A first receiving module 202 is used 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 updating module 203, configured to update the model code in the virtual environment of the intelligent computing center based on the model update information; The processing module 204 is used to schedule the computing resources of the intelligent computing center to process the updated model code.
[0088] In one embodiment, the model update information includes code related data, and the update module 203 includes: The first updating unit is used to update the model code in the virtual environment of the intelligent computing center based on the code-related data.
[0089] 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; The updating module 203 includes: an acquiring unit, configured to acquire code-related data based on at least one of the first address, the second address, and the third address; The second updating unit is used to update the model code in the virtual environment of the intelligent computing center based on the code-related data.
[0090] In one embodiment, the code-related data corresponding to the first address, the second address, and the third address match or do not match, and after the acquisition unit, the local development device 200 for the intelligent computing center model for inclusive computing power further includes: a comparing unit, configured to compare the code-related data obtained from different addresses to obtain a comparison result when the code-related data is obtained based on at least two of the first address, the second address and the third address; The second updating unit comprises: The updating subunit is used to update the model code in the virtual environment of the intelligent computing center based on the code-related data of any address among the different addresses when the comparison result indicates that the code-related data obtained from different addresses match each other.
[0091] In one embodiment, 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 the full code; When the intelligent computing center receives the second instruction for the Nth time, the code-related data is an incremental code, and N is a positive integer greater than 1.
[0092] In one embodiment, the processing module 204 includes: A first creation unit, configured to create a container based on the computing resources of the intelligent computing center; A processing unit, configured to process the updated model code based on the container to obtain a processing result; After the processing module 204, the local development device 200 for the intelligent computing center model for inclusive computing power further includes: The release module is used 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.
[0093] In one embodiment, the first instruction includes at least one of operating system information and operating environment information, and the creation module 201 includes: The second creation unit is used to create the 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.
[0094] In one embodiment, the first instruction is an instruction sent by the terminal to the intelligent computing center after the development package is installed, updated and / or uninstalled in the local virtual environment.
[0095] In one embodiment, the local development device 200 for the intelligent computing center model for inclusive computing power further includes: A sending module, configured to send virtual environment information corresponding to the virtual environment of the intelligent computing center to the terminal upon receiving a check instruction sent by the terminal, wherein the check instruction is an instruction sent periodically by the terminal; The second receiving module is used to 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.
[0096] The local development device of the intelligent computing center model for inclusive computing power provided by the present invention can realize the various processes of the various embodiments of the above-mentioned local development method of the intelligent computing center model for inclusive computing power. The technical features correspond one to one and can achieve the same technical effects. To avoid repetition, they will not be described here.
[0097] 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.
[0098] The present invention also provides an electronic device, see Figure 3 , Figure 3 is a schematic diagram of the structure of an electronic device provided by the present invention, the electronic device includes a memory 301, a processor 302 and a program or instruction stored in the memory 301 and running thereon, and when the program or instruction is executed by the processor 302, it can be realized Figure 1 Any steps in the corresponding local development method embodiment of the intelligent computing center model for inclusive computing power and the same beneficial effects achieved will not be repeated here.
[0099] The processor 302 may be a CPU, an ASIC, an FPGA or a GPU.
[0100] A person skilled in the art can understand that all or part of the steps of the above-mentioned 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.
[0101] The present invention also provides a readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the above Figure 1Any steps in the corresponding embodiments of the local development method of the intelligent computing center model for inclusive computing power can achieve the same technical effect. To avoid repetition, they will not be repeated here. The storage medium is, for example, a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk.
[0102] The present invention also provides a computer program product, comprising computer instructions, which, when executed by a processor, implement the above Figure 1 The corresponding processes of the implementation method of the local development method of the intelligent computing center model for inclusive computing power can achieve the same technical effect. To avoid repetition, they will not be repeated here.
[0103] The terms "first", "second" etc. in the present invention are used to distinguish similar objects, and need not be used to describe a specific order or sequential order. In addition, the terms "include" and "have" and any variation are intended to cover non-exclusive inclusions, for example, the process, method, system, product or equipment comprising a series of steps or units need not be limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or equipment. In addition, "and / or" is used in the present application to represent at least one of the connected objects, such as A and / or B and / or C, which means to include 7 situations including single A, single B, single C, and both A and B exist, both B and C exist, both A and C exist, and both A, B and C exist.
[0104] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.
[0105] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, 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, a disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, an air conditioner, or a second terminal device, etc.) to execute the methods of each embodiment of the present application.
[0106] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application 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 application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.
Claims
1. A local development method of an intelligent computing center model for inclusive computing power, characterized in that: include: Step S1: upon receiving a first instruction, creating a virtual environment of an intelligent computing center, wherein the first instruction is an instruction sent by a 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, 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; Step S3: updating the model code in the virtual environment of the intelligent computing center based on the model update information; Step S4: dispatch computing resources of the intelligent computing center to process the updated model code.
2. The method according to claim 1, characterized in that The model update information includes code related data, and the step S3 includes: Step S31: updating 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, characterized in that 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; The step S3 comprises: Step S32: acquiring code-related data based on at least one of the first address, the second address and the third address; Step S33: updating the model code in the virtual environment of the intelligent computing center based on the code-related data.
4. The method according to claim 3, characterized in that The code-related data corresponding to the first address, the second address, and the third address match or do not match, and after step S32, the method further includes: Step S34: when the code-related data is obtained based on at least two of the first address, the second address and the third address, the code-related data obtained from different addresses are compared to obtain a comparison result; The step S33 comprises: Step S331: When the comparison result indicates that the code-related data obtained from different addresses match each other, the model code in the virtual environment of the intelligent computing center is updated based on the code-related data of any one of the different addresses.
5. The method according to any one of claims 2 to 4, 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 the full code; When the intelligent computing center receives the second instruction for the Nth time, the code-related data is an incremental code, and N is a positive integer greater than 1.
6. The method according to any one of claims 1 to 4, characterized in that The step S4 comprises: Step S41: creating a container based on the computing resources of the intelligent computing center; Step S42: Processing 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.
7. The method according to claim 1, characterized in that The first instruction includes at least one of operating system information and operating environment information, and the step S1 includes: Step S11: upon receiving the first instruction, creating a virtual environment of the intelligent computing center based on at least one of the operating system information and the operating environment information.
8. The method according to claim 1 or 7, characterized in that The first instruction is an instruction sent by the terminal to the intelligent computing center after the development package is installed, updated and / or uninstalled in the local virtual environment.
9. The method according to claim 1, characterized in that The method further comprises: Step S6: upon receiving a check instruction sent by the terminal, sending virtual environment information corresponding to the virtual environment of the intelligent computing center to the terminal, wherein the check instruction is an instruction sent regularly by the terminal; Step S7: receiving 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.
10. A local development device for an intelligent computing center model for universal computing power, characterized in that: include: A creation module, configured to create a virtual environment of an intelligent computing center upon receiving a first instruction, wherein the first instruction is an instruction sent to the intelligent computing center after the terminal creates 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, wherein 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 updating module, used for updating the model code in the virtual environment of the intelligent computing center based on the model update information; A processing module is used to schedule the computing resources of the intelligent computing center to process the updated model code.
11. An electronic device, characterized in that: include: A processor, a memory, and a program stored in the memory and executable on the processor, wherein when the program is executed by the processor, the steps of the local development method of the intelligent computing center model for inclusive computing power as described in any one of claims 1 to 9 are implemented.
12. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, which, when executed by a processor, implements the steps of the local development method of the intelligent computing center model for inclusive computing power as described in any one of claims 1 to 9.
13. A computer program product, characterized in that It includes computer instructions, which, when executed by a processor, implement the steps of the local development method of the intelligent computing center model for universal computing power as described in any one of claims 1 to 9.
Citation Information
Patent Citations
Calculation power network scheduling method, device, system, equipment and medium
CN115357351A
EBPF enabling task unloading method and eBPF enabling task unloading system for cloud side-end collaborative network
CN117891609A
Intelligent computing center model development method and device oriented to popularity
CN119336517A
Intelligent computing center multi-agent sharing method and device oriented to popularity
CN119415275A
Creating instances of cloud computing environments
US20110314466A1