Computing resource scheduling method and device, and storage medium
Patent Information
- Application Number
- CN202311507972.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-13
- Publication Date
- 2026-09-29
- Estimated Expiration
- 2043-11-13
AI Technical Summary
用户终端每次更换访问的算力中心时,均需要花费大量时间完成重新注册的过程,才能访问切换后的算力中心,降低了算力资源调度的效率
[0022]本申请的这些方面或其他方面在以下的描述中会更加简明易懂。
Smart Images

Figure CN117591277B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of communication technology, and in particular to a method, apparatus and storage medium for scheduling computing resources. Background Technology
[0002] In related technologies, during the process of a computing center providing services to user terminals, the user terminals can log in to the computing center's website to check the status of computing power applications. When a user terminal selects a suitable computing power application on the website, it submits a computing task to the application. The website then submits the task to the computing cluster at the backend of the computing center for computation. The user terminal can check the task's execution status in real time during the computation process, and after the task is completed, it can check the execution results and job details on the computing center's website.
[0003] However, most computing centers can only provide a single type of computing power. When a user terminal needs to schedule computing resources from multiple computing centers, it must register with each center sequentially and obtain an account assigned to each. The user terminal can then log in to the desired computing center using different accounts to access its resources. Each time a user terminal changes the computing center it accesses, a significant amount of time is spent re-registering before it can access the new center, reducing the efficiency of computing resource scheduling. Therefore, improving the efficiency of computing resource scheduling remains a technical problem to be solved. Summary of the Invention
[0004] This application provides a computing resource scheduling method, apparatus, and storage medium to improve the efficiency of user terminals in computing resource scheduling.
[0005] To achieve the above objectives, this application adopts the following technical solution:
[0006] In a first aspect, embodiments of this application provide a computing power resource scheduling method, applied to a computing power resource scheduling device. The computing power resource scheduling device receives computing power task request information from a user terminal. The computing power task request information includes: identification information of a target application, identification information of the user terminal, and a computing power task. The target application is used to request computing power services for the user terminal. The computing power resource scheduling device determines a target computing power center from at least one computing power center. The target computing power center is a computing power center containing the target application. The computing power resource scheduling device determines the target account information corresponding to the target computing power center based on the identification information of the user terminal and a virtual account mapping table stored in the computing power resource scheduling device. The virtual account mapping table includes the identification information of the user terminal and the account information corresponding to the user terminal's identification information in the computing power center. The computing power resource scheduling device logs into the target computing power center based on the target account information and sends a computing power task to the target computing power center.
[0007] In one possible implementation, the target user group to which the user terminal's identification information belongs is determined based on the user terminal's identification information; the virtual account mapping table also includes the user group and the corresponding account information of the user group in the computing center; the account information corresponding to the target user group is determined based on the target user group and the virtual account mapping table; and the account information corresponding to the user group in the computing center is used as the target account information.
[0008] In one possible implementation, the target computing power virtual resources to which the target application belongs are determined; it is determined whether the user terminal has subscribed to the target computing power virtual resources; if the target computing power virtual resources have been allocated to the user terminal, the target account information corresponding to the target computing power center is determined based on the user terminal's identification information and virtual account mapping table.
[0009] In one possible implementation, the target computing power virtual resources to which the target computing power center belongs are determined; it is determined whether to allocate target computing power virtual resources to the user terminal; if target computing power virtual resources are not allocated to the user terminal, the product information of the target computing power virtual resources is sent to the user terminal; order completion information is received from the user terminal; the order completion information is used to indicate that target computing power virtual resources have been allocated to the user terminal; and the target account information corresponding to the target computing power center is determined based on the user terminal's identification information and virtual account mapping table.
[0010] In one possible implementation, a waiting task query message is sent to each of the target computing centers; the waiting task query message is used to obtain the number of pending tasks for each of the target computing centers; from the target computing centers, a first target computing center is selected; the first target computing center is the computing center with the smallest number of pending tasks among the target computing centers; based on the first target account information corresponding to the first target computing center, the first target computing center is logged in; the target account information includes the first target account information.
[0011] In one possible implementation, status query information is sent to the target computing power center; the status query information is used to query the completion status of the computing power task; status query response information is received from the target computing power center, the status query response information is used to characterize the completion status of the computing power task; if the status query response information characterizes that the computing power task has been completed, computing power task response information is sent to the user terminal; the computing power task response information includes at least one of the following: the duration of computing power task, the resources occupied by computing power task, and the core time consumed by computing power task.
[0012] Secondly, this application provides a computing power resource scheduling device, comprising: a communication unit and a processing unit; the communication unit is configured to receive computing power task request information from a user terminal, the computing power task request information including: identification information of a target application, identification information of the user terminal, and a computing power task; the target application is used to request computing power services for the user terminal; the processing unit is configured to determine a target computing power center from at least one computing power center; the target computing power center is a computing power center containing the target application; the processing unit is further configured to determine target account information corresponding to the target computing power center based on the identification information of the user terminal and a virtual account mapping table stored in the computing power resource scheduling device; the virtual account mapping table includes the identification information of the user terminal and the account information corresponding to the identification information of the user terminal in the computing power center; the communication unit is configured to log in to the target computing power center based on the target account information and instruct the communication unit to send a computing power task to the target computing power center.
[0013] In one possible implementation, the processing unit is further configured to: determine the target user group to which the user terminal's identification information belongs based on the user terminal's identification information; the virtual account mapping table also includes the user group and the corresponding account information of the user group in the computing center; determine the account information corresponding to the target user group based on the target user group and the virtual account mapping table; and use the account information corresponding to the user group in the computing center as the target account information.
[0014] In one possible implementation, the processing unit is further configured to: determine the target computing power virtual resources to which the target application belongs; determine whether to allocate target computing power virtual resources to the user terminal; and, if target computing power virtual resources have been allocated to the user terminal, determine the target account information corresponding to the target computing power center based on the user terminal's identification information and virtual account mapping table.
[0015] In one possible implementation, the processing unit is further configured to: determine the target computing power virtual resources to which the target computing power center belongs; the processing unit is further configured to: determine whether to allocate target computing power virtual resources to the user terminal; the processing unit is further configured to: in the case that target computing power virtual resources have not been allocated to the user terminal, instruct the communication unit to send the product information of the target computing power virtual resources to the user terminal; the communication unit is further configured to: receive order completion information sent by the user terminal; the order completion information is used to indicate that target computing power virtual resources have been allocated to the user terminal; the processing unit is further configured to: determine the target account information corresponding to the target computing power center based on the user terminal's identification information and the virtual account mapping table.
[0016] In one possible implementation, the communication unit is further configured to: send waiting task query information to each computing center in the target computing center; the waiting task query information is used to obtain the number of pending tasks for each computing center in the target computing center; the processing unit is further configured to: select a first target computing center from the target computing centers; the first target computing center is the computing center with the smallest number of pending tasks among the target computing centers; the processing unit is further configured to: log in to the first target computing center based on the first target account information corresponding to the first target computing center; the target account information includes the first target account information.
[0017] In one possible implementation, the communication unit is further configured to: send status query information to the target computing center; the status query information is used to query the completion status of the computing task; the communication unit is further configured to: receive status query response information from the target computing center, the status query response information being used to characterize the completion status of the computing task; the processing unit is further configured to: when the status query response information characterizes that the computing task has been completed, instruct the communication unit to send computing task response information to the user terminal; the computing task response information includes at least one of the following: the duration of computing task calculation, the resources occupied by computing task calculation, and the core time consumed by computing task calculation.
[0018] Thirdly, this application provides a computing resource scheduling device, which includes a processor and a memory; wherein the memory is used to store computer execution instructions, and when the computing resource scheduling device is running, the processor executes the computer execution instructions stored in the memory to enable the computing resource scheduling device to perform the computing resource scheduling method as described in the first aspect and any possible implementation of the first aspect.
[0019] Fourthly, this application provides a computer-readable storage medium storing instructions that, when executed by a processor of a computing resource scheduling device, enable the computing resource scheduling device to perform the computing resource scheduling method as described in the first aspect and any possible implementation thereof.
[0020] Fifthly, embodiments of this application provide a chip, which includes a processor and a communication interface, the communication interface and the processor being coupled together. The processor is used to run computer programs or instructions to implement the computing resource scheduling method described in the first aspect and any possible implementation thereof.
[0021] In a sixth aspect, a computer program product containing instructions is provided, which, when run on a computer, enables the computer to execute the computing resource scheduling method described in the first aspect and any possible implementation thereof.
[0022] These or other aspects of this application will become more readily apparent in the following description.
[0023] The above solution offers at least the following advantages: In this embodiment, the computing power resource scheduling device receives computing power task request information from a user terminal. Since the computing power task request information contains the identifier information of the target application, the computing power resource scheduling device can determine the target computing power center containing the target application based on the identifier information. Furthermore, since the computing power task request information contains the identifier information of the user terminal, the computing power resource scheduling device determines the target account information corresponding to the target computing power center for logging into the target computing power center based on the user terminal's identifier information and the virtual account mapping table. In this way, the computing power resource scheduling device logs into the target computing power center based on the target account information and sends computing power tasks to the target computing power center. Compared to the prior art, where a user terminal needs to register, verify, and log in to different computing power centers sequentially when requiring various types of computing power resources, resulting in time-consuming and inefficient scheduling of computing power resources, this approach offers a significant advantage. In this application, after receiving the computing power task request information from the user terminal, the computing power resource scheduling device can directly allocate target account information to the user terminal through the computing power resource scheduling device, without having to register, verify, or log in at different computing power centers, and then send computing power tasks to the target computing power center, thereby improving the efficiency of computing power resource scheduling. Attached Figure Description
[0024] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0025] Figure 1 A schematic diagram of the structure of a computing resource scheduling system provided in an embodiment of this application;
[0026] Figure 2 A schematic diagram of a computing resource scheduling device provided in an embodiment of this application;
[0027] Figure 3 A flowchart of a computing resource scheduling method provided in an embodiment of this application;
[0028] Figure 4 A flowchart of a computing resource scheduling method provided in an embodiment of this application;
[0029] Figure 5 A flowchart of a computing resource scheduling method provided in an embodiment of this application;
[0030] Figure 6 A flowchart of a computing resource scheduling method provided in an embodiment of this application;
[0031] Figure 7 A flowchart of a computing resource scheduling method provided in an embodiment of this application;
[0032] Figure 8 A flowchart of a computing resource scheduling method provided in an embodiment of this application;
[0033] Figure 9 A flowchart of a computing resource scheduling method provided in an embodiment of this application;
[0034] Figure 10 This is a schematic diagram of a computing resource scheduling device provided in an embodiment of this application. Detailed Implementation
[0035] In this article, the term "and / or" is merely a description of the relationship between related objects, indicating that there can be three relationships. For example, A and / or B can represent three situations: A exists alone, A and B exist simultaneously, and B exists alone.
[0036] The terms "first" and "second," etc., used in the specification and drawings of this application are used to distinguish different objects or to distinguish different treatments of the same object, rather than to describe a specific order of objects.
[0037] Furthermore, the terms "comprising" and "having," and any variations thereof, used in the description of this application are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or apparatus that includes a series of steps or units is not limited to the steps or units listed, but may optionally include other steps or units not listed, or may optionally include other steps or units inherent to such process, method, product, or apparatus.
[0038] It should be noted that in the embodiments of this application, the words "exemplary" or "for example" are used to indicate examples, illustrations, or explanations. Any embodiment or design scheme described as "exemplary" or "for example" in the embodiments of this application should not be construed as being more preferred or advantageous than other embodiments or design schemes. Specifically, the use of the words "exemplary" or "for example" is intended to present the relevant concepts in a specific manner.
[0039] In the description of this application, unless otherwise stated, "a plurality of" means two or more.
[0040] In related technologies, during the process of a computing center providing services to user terminals, the user terminals can log in to the computing center's website to check the status of computing power applications. When a user terminal selects a suitable computing power application on the website, it submits a computing task to the application. The website then submits the task to the computing cluster at the backend of the computing center for computation. The user terminal can check the task's execution status in real time during the computation process, and after the task is completed, it can check the execution results and job details on the computing center's website.
[0041] However, most computing centers can only provide a single type of computing power. When a user terminal needs to schedule computing resources from multiple computing centers, it must register with each center sequentially and obtain an account assigned to each. The user terminal can then log in to the desired computing center using different accounts to access its resources. Each time a user terminal changes the computing center it accesses, a significant amount of time is spent re-registering before it can access the new center, reducing the efficiency of computing resource scheduling. Therefore, improving the efficiency of computing resource scheduling remains a technical problem to be solved.
[0042] To address the technical problems existing in related technologies, in this embodiment, the computing power resource scheduling device receives computing power task request information from a user terminal. Since the computing power task request information contains the identification information of the target application, the computing power resource scheduling device can determine the target computing power center containing the target application based on the target application's identification information. Furthermore, since the computing power task request information contains the identification information of the user terminal, the computing power resource scheduling device determines the target account information corresponding to the target computing power center for logging into the target computing power center based on the user terminal's identification information and a virtual account mapping table. In this way, the computing power resource scheduling device logs into the target computing power center based on the target account information and sends computing power tasks to the target computing power center. Compared to the prior art, where a user terminal needs to register, verify, and log in to different computing power centers sequentially when requiring multiple types of computing power resources, resulting in time-consuming and inefficient scheduling of computing power resources, this approach offers a significant improvement. In this application, after receiving the computing power task request information from the user terminal, the computing power resource scheduling device can directly allocate target account information to the user terminal through the computing power resource scheduling device, without having to register, verify, or log in at different computing power centers, and then send computing power tasks to the target computing power center, thereby improving the efficiency of computing power resource scheduling.
[0043] The following, in conjunction with the appendix Figure 1 This application provides a detailed description of a computing resource scheduling system 10 according to embodiments, such as... Figure 1 As shown, the computing power resource scheduling system 10 includes: a computing power resource scheduling device 11, a user terminal 12, and a target computing power center 13.
[0044] The computing power resource scheduling device 11 includes: a user management module 111, a commodity management module 112, and a computing power control module 113.
[0045] The target computing center 13 includes the target application 131.
[0046] The computing power resource scheduling device 11 is configured to: receive computing power task request information from user terminal 12, the computing power task request information including: identification information of target application 131, identification information of user terminal 12, and computing power task; target application 131 is an application that requests computing power services from user terminal; determine target computing power center 13 from at least one computing power center; determine target account information corresponding to target computing power center 13 based on identification information of user terminal 12 and virtual account mapping table; virtual account mapping table includes identification information of user terminal 12 and account information corresponding to user terminal 12 in computing power center 13, target account information is used to log in to target computing power center 13; and send computing power task to target computing power center 13 based on target account information.
[0047] The user management module 111 is configured to: register, authenticate, and authorize user terminals 12, and record the computing power usage of user terminals 12.
[0048] The product management module 112 is configured to: standardize and encapsulate the application, and provide user terminal 12 with functions such as product listing, product ordering, and product billing.
[0049] The computing power control module 113 is configured to provide the user terminal 12 with the target account information corresponding to the target computing power center 13.
[0050] User terminal 12 is configured to send computing power task request information to computing power resource scheduling device 11.
[0051] The computing center 13 is configured to receive computing tasks from the computing resource scheduling device 11.
[0052] It should be noted in this application that the user terminal 12 is a device with wireless communication capabilities, which can be deployed on land, including indoors or outdoors, handheld or vehicle-mounted. It can also be deployed on water (such as on ships). Furthermore, it can be deployed in the air (e.g., on airplanes, balloons, and satellites). The user terminal, also known as a mobile station (MS), mobile terminal (MT), or other similar device, is a device that provides voice and / or data connectivity to a user. For example, terminals include handheld devices with wireless connectivity, vehicle-mounted devices, etc. Currently, terminals can be: mobile phones, tablets, laptops, PDAs, mobile internet devices (MIDs), wearable devices (such as smartwatches, smart bracelets, pedometers, etc.), in-vehicle devices (such as cars, bicycles, electric vehicles, airplanes, ships, trains, high-speed trains, etc.), virtual reality (VR) devices, augmented reality (AR) devices, wireless terminals in industrial control, smart home devices (such as refrigerators, televisions, air conditioners, electricity meters, etc.), intelligent robots, workshop equipment, wireless terminals in self-driving vehicles, wireless terminals in remote medical surgery, wireless terminals in smart grids, wireless terminals in transportation safety, wireless terminals in smart cities, or wireless terminals in smart homes, and flying equipment (such as intelligent robots, hot air balloons, drones, airplanes), etc. In one possible application scenario of this application, the user terminal 12 is a terminal device that frequently operates on the ground, such as an in-vehicle device. In this application, for ease of description, the chip deployed in the above-mentioned device, such as a system-on-a-chip (SOC), a baseband chip, or other chip with communication functions, may also be referred to as a user terminal.
[0053] Optionally, the user terminal 12 can be an embedded communication device or a user handheld communication device, including mobile phones, tablets, etc.
[0054] As an example, in this embodiment, the user terminal 12 can also be a wearable device. Wearable devices, also known as wearable smart devices, are a general term for devices that utilize wearable technology to intelligently design and develop everyday wearables, such as glasses, gloves, watches, clothing, and shoes. Wearable devices are portable devices that are worn directly on the body or integrated into the user's clothing or accessories. Wearable devices are not merely hardware devices, but also achieve powerful functions through software support, data interaction, and cloud interaction. Broadly speaking, wearable smart devices include those that are feature-rich, large in size, and can achieve complete or partial functions without relying on a smartphone, such as smartwatches or smart glasses, as well as those that focus on a specific type of application function and require the use of other devices such as smartphones, such as various smart bracelets and smart jewelry for vital sign monitoring.
[0055] This application provides a computing resource scheduling device for executing the computing resource scheduling system provided in this application. Figure 2 This is a schematic diagram of a computing resource scheduling device provided in an embodiment of this application. Figure 2 As shown, the computing resource scheduling device 200 includes at least one processor 201, a communication line 202, and at least one communication interface 204, and may also include a memory 203. The processor 201, memory 203, and communication interface 204 can be connected via the communication line 202.
[0056] The processor 201 may be a central processing unit (CPU), an application-specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of this application, such as one or more digital signal processors (DSPs), or one or more field-programmable gate arrays (FPGAs).
[0057] Communication line 202 may include a path for transmitting information between the aforementioned components.
[0058] The communication interface 204 is used to communicate with other devices or communication networks and can use any transceiver-like device, such as Ethernet, radio access network (RAN), WLAN, etc.
[0059] The memory 203 may be a read-only memory (ROM) or other type of static storage device capable of storing static information and instructions, random access memory (RAM) or other type of dynamic storage device capable of storing information and instructions, or electrically erasable programmable read-only memory (EEPROM), compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage (including compressed optical discs, laser discs, optical discs, digital universal optical discs, Blu-ray discs, etc.), magnetic disk storage media or other magnetic storage devices, or any other medium capable of including or storing desired program code having the form of instructions or data structures and accessible by a computer, but not limited thereto.
[0060] In one possible design, the memory 203 can exist independently of the processor 201, meaning the memory 203 can be an external memory of the processor 201. In this case, the memory 203 can be connected to the processor 201 via a communication line 202 to store execution instructions or application code, and its execution is controlled by the processor 201 to implement the computing resource scheduling method provided in the following embodiments of this application. In another possible design, the memory 203 can also be integrated with the processor 201, meaning the memory 203 can be an internal memory of the processor 201. For example, the memory 203 can be a cache, which can be used to temporarily store some data and instruction information.
[0061] As one possible implementation, processor 201 may include one or more CPUs, for example Figure 2 CPU0 and CPU1 in the example. Alternatively, the computing resource scheduling device 200 may include multiple processors, such as... Figure 2 The processors 201 and 207 are included. Alternatively, the computing resource scheduling device 200 may also include an output device 205 and an input device 206.
[0062] The following, in conjunction with the appendix Figure 3 The computing resource scheduling method provided in the embodiments of this application will be described in detail, such as... Figure 3 As shown, the computing resource scheduling method includes S301-S304.
[0063] S301. The user terminal sends a computing power task request message to the computing power resource scheduling device. Correspondingly, the computing power resource scheduling device receives the computing power task request message from the user terminal.
[0064] The computing power task request information includes: the identification information of the target application, the identification information of the user terminal, and the computing power task; the target application is used to provide computing power services to the user terminal requesting computing power services.
[0065] In one possible implementation, before the user terminal sends a computing task request to the computing resource scheduling device, the computing resource scheduling device receives a registration request from the user terminal, which includes the user terminal's identity information. The computing resource scheduling device then authenticates the user terminal based on its identity information. If the user terminal passes the authentication, the device sends initial account information to the user terminal.
[0066] Optionally, the initial account information includes: an initial username and an initial password. The initial account information is used to identify the user terminal.
[0067] Optionally, the user terminal's identification information includes the initial account information sent by the user terminal.
[0068] S302, The computing power resource scheduling device determines the target computing power center from at least one computing power center.
[0069] Among them, the target computing center is the computing center that contains the target application.
[0070] Optionally, computing centers include supercomputing centers.
[0071] In one possible implementation, the computing power resource scheduling device obtains the applications in each of at least one computing power center, and designates the computing power center containing the target application as the target computing power center.
[0072] In another possible implementation, the computing resource scheduling device queries the database for target computing centers containing the target application.
[0073] Optionally, the database records applications in at least one computing center.
[0074] S303. The computing power resource scheduling device determines the target account information corresponding to the target computing power center based on the user terminal's identification information and the virtual account mapping table stored in the computing power resource scheduling device.
[0075] The virtual account mapping table includes the user terminal's identification information and the corresponding account information in the computing center.
[0076] Optionally, the target account information is used to log in to the target computing center.
[0077] In one possible implementation, the computing resource scheduling device determines the target account information corresponding to the target computing center based on the user terminal's initial account and the virtual account mapping table stored by the computing resource scheduling device.
[0078] Optionally, the virtual account mapping table includes the initial account and the first account information corresponding to the initial account in the computing center, with the first account information corresponding one-to-one with the initial account.
[0079] For example, as shown in Table 1, the initial account abc1 corresponds to the first account information abc11 in computing center 1; the initial account abc1 corresponds to the first account information abc12 in computing center 2; the initial account abc1 corresponds to the first account information abc13 in computing center 3; and the initial account abc1 corresponds to the first account information abc14 in computing center 4. The initial account abc2 corresponds to the first account information abc21 in computing center 1; the initial account abc2 corresponds to the first account information abc22 in computing center 2; the initial account abc2 corresponds to the first account information abc23 in computing center 3; and the initial account abc2 corresponds to the first account information abc24 in computing center 4. The initial account abc3 corresponds to the first account information abc31 in computing center 1; the initial account abc3 corresponds to the first account information abc32 in computing center 2; the initial account abc3 corresponds to the first account information abc33 in computing center 3; and the initial account abc3 corresponds to the first account information abc34 in computing center 4.
[0080] Table 1. First Account Information Relationship Table
[0081] abc1 abc11 abc12 abc13 abc14 abc2 abc21 abc22 abc23 abc24 abc3 abc31 abc32 abc33 abc34
[0082] Optionally, the virtual account mapping table includes the initial account and the corresponding second account information of the initial account in the computing center, with one second account information corresponding to at least one initial account.
[0083] For example, as shown in Table 2, the second account information corresponding to the initial account abc1 in computing center 1 is ABC1; the second account information corresponding to the initial account abc1 in computing center 2 is ABC2; the second account information corresponding to the initial account abc1 in computing center 3 is ABC3; and the second account information corresponding to the initial account abc1 in computing center 4 is ABC4. Similarly, the second account information corresponding to the initial account abc2 in computing center 1 is ABC1; the second account information corresponding to the initial account abc2 in computing center 2 is ABC2; the second account information corresponding to the initial account abc2 in computing center 3 is ABC3; and the second account information corresponding to the initial account abc2 in computing center 4 is ABC4.
[0084] Table 2. Second Account Information Relationship Table
[0085] abc1 ABC1 ABC2 ABC3 ABC4 abc2 ABC1 ABC2 ABC3 ABC4
[0086] S304. The computing power resource scheduling device logs into the target computing power center based on the target account information and sends computing power tasks to the target computing power center.
[0087] Optionally, the target account information includes the target virtual account and virtual password.
[0088] In one possible implementation, the computing resource scheduling device sends first information to the target computing center. This first information is used to verify the legitimacy of the computing resource scheduling device and includes: the target virtual account, virtual password, and computing task.
[0089] Understandably, after receiving the initial information, the target computing center verifies the legitimacy of the computing resource scheduling device based on the target virtual account and password. If the computing resource scheduling device passes verification, it processes the computing tasks and assigns them numbers.
[0090] Optionally, the computing power number includes the task identity document (ID).
[0091] In one possible implementation, the computing resource scheduling device sends second information to the target computing center. This second information verifies the legitimacy of the computing resource scheduling device and includes the target virtual account and virtual password. The device then receives a successful verification response from the target computing center and sends a computing task to the target computing center.
[0092] Optionally, the computing resource scheduling device sends computing tasks to the target computing center through an application programming interface (API).
[0093] The above solution offers at least the following advantages: In this embodiment, the computing power resource scheduling device receives computing power task request information from a user terminal. Since the computing power task request information contains the identifier information of the target application, the computing power resource scheduling device can determine the target computing power center containing the target application based on the identifier information. Furthermore, since the computing power task request information contains the identifier information of the user terminal, the computing power resource scheduling device determines the target account information corresponding to the target computing power center for logging into the target computing power center based on the user terminal's identifier information and the virtual account mapping table. In this way, the computing power resource scheduling device logs into the target computing power center based on the target account information and sends computing power tasks to the target computing power center. Compared to the prior art, where a user terminal needs to register, verify, and log in to different computing power centers sequentially when requiring various types of computing power resources, resulting in time-consuming and inefficient scheduling of computing power resources, this approach offers a significant advantage. In this application, after receiving the computing power task request information from the user terminal, the computing power resource scheduling device can directly allocate target account information to the user terminal through the computing power resource scheduling device, without having to register, verify, or log in at different computing power centers, and then send computing power tasks to the target computing power center, thereby improving the efficiency of computing power resource scheduling.
[0094] In one possible implementation, combining Figure 3 ,like Figure 4 As shown in S303, the process by which the computing power resource scheduling device determines the target account information corresponding to the target computing power center based on the user terminal's identification information and the virtual account mapping table stored in the computing power resource scheduling device can be specifically implemented through the following S401-S403.
[0095] S401, The computing power resource scheduling device determines the target user group to which the user terminal's identification information belongs based on the user terminal's identification information.
[0096] The virtual account mapping table also includes user groups and the corresponding account information for each user group.
[0097] Optionally, the user terminal's identification information includes the initial account, and user groups correspond one-to-one with account information.
[0098] S402, The computing resource scheduling device determines the account information corresponding to the target user group based on the target user group and virtual account mapping table.
[0099] In one possible implementation, the computing resource scheduling device looks up the third account information corresponding to the target user group in the virtual account mapping table.
[0100] For example, as shown in Table 3, the third account information corresponding to user group 1 in computing center 1 is abc11; the third account information corresponding to user group 1 in computing center 2 is abc12; the third account information corresponding to user group 1 in computing center 3 is abc13; and the third account information corresponding to user group 1 in computing center 4 is abc14. The third account information corresponding to user group 2 in computing center 1 is abc21; the third account information corresponding to user group 2 in computing center 2 is abc22; the third account information corresponding to user group 2 in computing center 3 is abc23; and the third account information corresponding to user group 2 in computing center 4 is abc24.
[0101] Table 3. Third Account Information Relationship Table
[0102]
[0103]
[0104] S403, The computing power resource scheduling device uses the account information corresponding to the user group in the computing power center as the target account information.
[0105] In one possible implementation, the computing resource scheduling device uses the third account information as the target account information.
[0106] For example, when the first initial account is any one of abc1, abc2, and abc3, the corresponding third account information in computing center 2 is abc12; the corresponding third account information in computing center 3 is abc13; and the corresponding third account information in computing center 4 is abc14. When the second initial account is any one of abc4, abc5, and abc6, the corresponding third account information in computing center 1 is abc21; the corresponding third account information in computing center 2 is abc22; the corresponding third account information in computing center 3 is abc23; and the corresponding third account information in computing center 4 is abc24.
[0107] The above solution brings at least the following beneficial effects: In this embodiment of the application, the computing power resource scheduling device determines the target account information based on the user group to which the user terminal belongs, thereby improving the diversity of the target account information.
[0108] In one possible implementation, combining Figure 3 ,like Figure 5As shown in S303, the process by which the computing power resource scheduling device determines the target account information corresponding to the target computing power center based on the user terminal's identification information and the virtual account mapping table stored in the computing power resource scheduling device can be specifically implemented through the following S501-S503.
[0109] S501, the computing power resource scheduling device determines the target computing power virtual resources to which the target application belongs.
[0110] In one possible implementation, the computing power resource scheduling device queries the commodity data table to find the target computing power commodity package to which the target application belongs.
[0111] Optionally, the virtual resources of the target computing power package include the target computing power package itself.
[0112] For example, as shown in Table 4, Computing Power Package 1 has a validity period of 1 year; a computing power of 10,000 cores per hour; and a price of 1,000 yuan. Its applications include: Big Data Earth Science Analysis Software: Pangeo; Scientific and Machine Learning Programming Tools: Jupyter; Large-Scale Atomic and Molecular Parallel Simulator: LAMMPS; Climatology, Meteorology, and Oceanography Software: NCView. Computing Power Package 2 has a validity period of 1 year; a computing power of 10,000 cores per hour; and a price of 1,000 yuan. Its applications include: Big Data Earth Science Analysis Software: Pangeo; Scientific Data Visualization Design Software: ParaNcl; Gene Analysis and Detection Software: Polysovler; and General-Purpose Software for Plotting and Data Analysis: Tecplot. Computing Power Package 3 has a validity period of 1 year; a computing power of 10,000 cores per hour; and a price of 1,000 yuan. Its applications include: Industrial Simulation Design Software: Abaqus; Fluid Dynamics and Electrodynamics Simulation Software: COMSOL; Fluent Fluid Dynamics Simulation Software; and Numerical Analysis and Processing Software: SuperMesh.
[0113] Table 4. Product Data Table
[0114]
[0115] In another possible implementation, the computing power resource scheduling device obtains the target computing power commodity package to which the target application belongs based on the mapping table between the computing power center and the application.
[0116] For example, as shown in Table 5, Computing Center 1 has 1000 computing nodes; its applications include: big data earth science analysis software: Pangeo; scientific and machine learning programming tools: Jupyter; large-scale atomic and molecular parallel simulator: LAMMPS; and climatology, meteorology, and oceanography software: NCView. Computing Center 2 has 2000 computing nodes; its applications include: big data earth science analysis software: Pangeo; scientific data visualization design software: ParaNcl; gene analysis and detection software: Polysovler; and general-purpose software for plotting and data analysis: Tecplot. Computing Center 3 has 3000 computing nodes; its applications include: industrial simulation design software: Abaqus; fluid mechanics and electrodynamics simulation software: COMSOL; fluid mechanics simulation software: Fluent; and numerical analysis processing software: SuperMesh.
[0117] Table 5. Mapping Table of Computing Centers and Applications
[0118]
[0119] S502, the computing power resource scheduling device determines whether to allocate target computing power virtual resources to the user terminal.
[0120] In one possible implementation, the computing power resource scheduling device determines whether the user terminal has ordered the target computing power package.
[0121] Optionally, the computing power resource scheduling device receives third information from the user terminal and determines whether the user terminal has ordered the target computing power package based on the third information. The third information includes the user terminal's computing power package order voucher, which includes the name of the computing power package and the quantity ordered.
[0122] It should be explained that when a user terminal orders computing power products from a computing power resource scheduling device and makes payment, the computing power resource scheduling device will send a computing power product order voucher to the user terminal.
[0123] Optionally, the computing power resource scheduling device queries the set of computing power product packages that the user terminal has subscribed to during the product ordering process. If the set of subscribed computing power product packages includes the target computing power product package, the computing power resource scheduling device determines that the user terminal has subscribed to the target computing power product package; if the set of subscribed computing power product packages does not include the target computing power product package, the computing power resource scheduling device determines that the user terminal has not subscribed to the target computing power product package.
[0124] S503. When the target computing power virtual resources have been allocated to the user terminal, the computing power resource scheduling device determines the target account information corresponding to the target computing power center based on the user terminal's identification information and the virtual account mapping table.
[0125] In one possible implementation, if the user terminal has already ordered the target computing power package, the computing power resource scheduling device determines the target account information corresponding to the target computing power center based on the user terminal's identification information and virtual account mapping table.
[0126] It should be explained that if the user terminal has not ordered the target computing power package, the computing power resource scheduling device does not query the virtual account mapping table.
[0127] It should be explained that, when a user terminal has already subscribed to a target computing power package, the computing power resource scheduling system will also query the subscription time and validity period to determine whether the current time is within the valid period. If the current time is within the valid period, the computing power resource scheduling device will determine the target account information corresponding to the target computing power center based on the user terminal's identification information and the virtual account mapping table.
[0128] The above solution offers at least the following advantages: In this embodiment, before the computing power resource scheduling device queries the virtual account mapping table, the computing power resource scheduling device determines whether the user terminal has subscribed to the target computing power virtual resources belonging to the target application. If the user terminal has subscribed to the target computing power virtual resources, the computing power resource scheduling device determines the target account information corresponding to the target computing power center based on the user terminal's identification information and the virtual account mapping table. This allows for the provision of accurate computing power services to user terminals that have subscribed to the target account information, preventing user terminals that have not subscribed to the target account information from illegally obtaining computing power resources.
[0129] In one possible implementation, combining Figure 3 ,like Figure 6 As shown in S303, the process by which the computing power resource scheduling device determines the target account information corresponding to the target computing power center based on the user terminal's identification information and the virtual account mapping table stored in the computing power resource scheduling device can be specifically implemented through the following S601-S605.
[0130] S601, the computing power resource scheduling device determines the target computing power virtual resources to which the target application belongs.
[0131] It should be noted that S601 and S501 are implemented in the same way, and will not be described again here.
[0132] S602, The computing power resource scheduling device determines whether to allocate target computing power virtual resources to the user terminal.
[0133] It should be noted that S602 and S502 are implemented in the same way, and will not be described again here.
[0134] S603. In the absence of allocating target computing power virtual resources to the user terminal, the computing power resource scheduling device sends the commodity information of the target computing power virtual resources to the user terminal.
[0135] In one possible implementation, the computing power resource scheduling device sends a network link to the target computing power commodity package to the user terminal.
[0136] It should be explained that after the user terminal receives the network link to the target computing power package, it orders the target computing power package online through the network link.
[0137] Optionally, if the current time is within the valid time period, the computing power resource scheduling device sends the commodity information of the target computing power virtual resource to the user terminal.
[0138] S604, the computing power resource scheduling device receives order completion information sent by the user terminal.
[0139] The order completion information indicates that the target computing power virtual resources have been allocated to the user terminal.
[0140] Optionally, the order completion information is used to indicate that the user terminal has ordered the target computing power package. The order completion information includes the user terminal's credentials for ordering the target computing power virtual resources and the user terminal's identification information.
[0141] S605, the computing power resource scheduling device determines the target account information corresponding to the target computing power center based on the user terminal's identification information and virtual account mapping table.
[0142] In one possible implementation, the computing resource scheduling device determines the target account and password based on the user terminal's identification information and virtual account mapping table.
[0143] The above solution offers at least the following advantages: In this embodiment, before the computing power resource scheduling device queries the virtual account mapping table, the computing power resource scheduling device determines whether the user terminal has subscribed to the target computing power virtual resources belonging to the target application. If the user terminal has not subscribed to the target computing power virtual resources, the device promptly reminds the user to subscribe, thus facilitating the provision of computing power services to the user.
[0144] In one possible implementation, combining Figure 3 ,like Figure 7 As shown in S304, the process of the computing power resource scheduling device logging into the target computing power center based on the target account information can be specifically implemented through the following S701-S703.
[0145] S701, the computing power resource scheduling device sends waiting task query information to each computing power center in the target computing power center.
[0146] The target computing center includes at least two computing centers, and the waiting task query information is used to obtain the number of tasks to be executed in each computing center in the target computing center.
[0147] Optionally, the waiting task query information is used to obtain the number of pending tasks and the amount of resources required for each pending task in the target computing center.
[0148] S702, The computing power resource scheduling device selects the first target computing power center from the target computing power centers.
[0149] Among them, the first target computing center is the computing center with the smallest number of tasks to be executed among the target computing centers.
[0150] S703, the computing power resource scheduling device logs into the first target computing power center based on the first target account information corresponding to the first target computing power center.
[0151] The target account information includes the information of the first target account.
[0152] The above solution brings at least the following beneficial effects: In the embodiments of this application, when the target computing center includes at least two computing centers, the computing resource scheduling device sends computing tasks to the first target computing center with the smallest number of tasks to be executed, which can make full use of computing resources so as to obtain computing results as soon as possible.
[0153] In one possible implementation, combining Figure 3 ,like Figure 8 As shown, after the computing power resource scheduling device sends the computing power task to the target computing power center in S304, the computing power resource scheduling device sends the computing power task request result back to the user terminal. The process of the computing power resource scheduling device sending the computing power task request result back to the user terminal can be specifically implemented through the following S801-S803.
[0154] S801, the computing resource scheduling device sends status query information to the target computing center.
[0155] The status query information is used to check the completion status of computing tasks.
[0156] Optionally, the status query information includes the ID of the computing task.
[0157] In one possible implementation, the computing resource scheduling device periodically sends status query information to the target computing center based on a preset period.
[0158] The optional preset cycle is 10 minutes.
[0159] It should be explained that the computing resource scheduling device determines the target time for sending status query information to the target computing center based on a preset function, and then sends the status query information to the target computing center at the target time. The preset function can be a linear function or an indicator function.
[0160] For example, the preset function includes y = e^x, where x is the cumulative number of queries for the current status query information, and y is the query time interval.
[0161] S802, the computing power resource scheduling device receives status query response information from the target computing power center.
[0162] Among them, the status query response information is used to characterize the completion status of computing power tasks.
[0163] Optionally, the status query response information includes the duration of the computing task, the resources occupied by the computing task, the core time consumed by the computing task, and the percentage of computing task completion.
[0164] In one possible implementation, after receiving the status query response information from the target computing center, the computing resource scheduling device forwards the status query response information to the user terminal.
[0165] S803. When the status query response information indicates that the computing task has been completed, the computing resource scheduling device sends the computing task response information to the user terminal.
[0166] The computing task response information includes at least one of the following: the duration of the computing task, the resources occupied by the computing task, and the core time consumed by the computing task.
[0167] In one possible implementation, when the target computing center completes the computing task, the computing resource scheduling device sends computing task response information and computing task calculation results to the user terminal.
[0168] The above solution offers at least the following benefits: In this embodiment, the computing power resource scheduling device queries and sends status query information to the target computing power center to determine the execution status of the computing power task. When the target computing power center completes the computing power task, the computing power resource scheduling device sends computing power task response information to the user terminal, enabling the user terminal to promptly obtain the result of the computing power task.
[0169] The following, in conjunction with the appendix Figure 9 The computing resource scheduling method provided in the embodiments of this application will be described in detail, such as... Figure 9 As shown, the computing resource scheduling method includes S901-S922.
[0170] S901, The user terminal sends an authentication request to the user management module.
[0171] The authentication request includes an initial username and an initial password.
[0172] S902, The user management module sends an authentication response to the user terminal.
[0173] The authentication response includes a message indicating successful authentication.
[0174] S903, The user terminal sends a computing power task request to the product management module.
[0175] S904, the product management module sends the first product package information and the second product package information to the user terminal.
[0176] S905, The user terminal orders the first and second product packages from the product management module.
[0177] S906, The user terminal sends a computing power task request to the computing power control module.
[0178] S907, the computing power control module sends a list of computing power applications to the user terminal.
[0179] Optionally, before the computing power control module sends the computing power application list to the user terminal, the computing power control module determines the application information in the product package ordered by the user terminal and generates a computing power application list based on the application information.
[0180] S908, The user terminal submits a computing power task on the target application.
[0181] S909, the computing power control module determines the target supercomputing center.
[0182] The target supercomputing center includes a first target supercomputing center and a second target supercomputing center; the target supercomputing center includes target applications.
[0183] Optionally, the computing power control module determines the target account information corresponding to the first target supercomputing center as abc1; the computing power control module determines the target account information corresponding to the second target supercomputing center as abc2.
[0184] S910, the computing power control module sends an authentication request to the target supercomputing center.
[0185] In one possible implementation, the computing power control module sends a first authentication request to the first target supercomputing center, and the computing power control module sends a second authentication request to the second target supercomputing center.
[0186] Optionally, the first authentication request includes abc1, and the second authentication request includes abc2.
[0187] S911, the target supercomputing center sends the first instruction information to the computing power control module.
[0188] The first indication information is used to indicate that the computing power control module has been successfully authenticated.
[0189] S912, the computing power control module sends the number of tasks to be executed to the target supercomputing center.
[0190] In one possible implementation, the computing power control module sends query information on the number of tasks to be executed to the first target supercomputing center and the second target supercomputing center, respectively.
[0191] S913, the computing power control module receives response information on the number of tasks to be executed from the first target supercomputing power center and the second target supercomputing power center.
[0192] S914, the computing power control module determines the first target supercomputing center based on the response information of the number of tasks to be executed.
[0193] Among them, the first target supercomputing center has the fewest tasks to be executed.
[0194] S915, the computing power control module sends computing power tasks to the first target supercomputing center.
[0195] S916, the first target supercomputing center is to execute computing tasks and send the ID of the computing task to the computing control module.
[0196] S917 The computing power control module records the ID of the computing power task and sends the target message to the user terminal.
[0197] The target message includes: the ID of the computing task and the execution status of the computing task.
[0198] S918, the computing power control module sends computing power task status query information to the first target supercomputing power center.
[0199] S919, the first target supercomputing center sends computing task status response information to the computing power control module.
[0200] S920, the computing power control module updates the status information of computing power tasks.
[0201] S921, The user terminal sends computing task status query information to the computing power control module.
[0202] S922, the computing power control module sends computing power task status response information to the user terminal.
[0203] The above solution brings at least the following beneficial effects: In this embodiment of the application, the user terminal can send computing power tasks to the target computing power center through the user management module, the product management module, and the computing power control module without registering with the target computing power center, thereby improving the efficiency of computing power resource scheduling.
[0204] As can be seen, the above mainly describes the technical solutions provided by the embodiments of this application from a methodological perspective. To achieve the above functions, it includes hardware structures and / or software modules corresponding to the execution of each function. Those skilled in the art should readily recognize that, in conjunction with the modules and algorithm steps of the various examples described in the embodiments disclosed herein, the embodiments of this application can be implemented in hardware or a combination of hardware and computer software. Whether a function is executed in hardware or by computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this invention.
[0205] This application also provides a computer-readable storage medium storing instructions. When a computer executes these instructions, the computer performs each step of the method flow shown in the above-described method embodiments.
[0206] like Figure 10 The diagram shown is a structural schematic of a computing resource scheduling device provided in an embodiment of this application. This computing resource scheduling device can be used to execute... Figure 3 , Figure 4 , Figure 5 , Figure 6 , Figure 7 The method for scheduling computing resources is shown. Figure 10 The computing resource scheduling device 100 shown includes a communication unit 1001 and a processing unit 1002.
[0207] The communication unit 1001 is used to receive computing power task request information from a user terminal. The computing power task request information includes: the identification information of the target application, the identification information of the user terminal, and the computing power task. The target application is used to request computing power services from the user terminal. The processing unit 1002 is used to determine the target computing power center from at least one computing power center. The target computing power center is a computing power center containing the target application. The processing unit 1002 is also used to determine the target account information corresponding to the target computing power center based on the identification information of the user terminal and the virtual account mapping table stored in the computing power resource scheduling device. The virtual account mapping table includes the identification information of the user terminal and the account information corresponding to the identification information of the user terminal in the computing power center. The communication unit 1001 is used to log in to the target computing power center based on the target account information and instruct the communication unit 1001 to send the computing power task to the target computing power center.
[0208] Optionally, the processing unit 1002 is further configured to: determine the target user group to which the user terminal's identification information belongs based on the user terminal's identification information; the virtual account mapping table also includes the user group and the corresponding account information of the user group in the computing center; determine the account information corresponding to the target user group based on the target user group and the virtual account mapping table; and use the account information corresponding to the user group in the computing center as the target account information.
[0209] Optionally, the processing unit 1002 is further configured to: determine the target computing power virtual resources to which the target application belongs; determine whether to allocate target computing power virtual resources to the user terminal; and, if target computing power virtual resources have been allocated to the user terminal, determine the target account information corresponding to the target computing power center based on the user terminal's identification information and virtual account mapping table.
[0210] Optionally, the processing unit 1002 is further configured to: determine the target computing power virtual resources to which the target computing power center belongs; the processing unit 1002 is further configured to: determine whether to allocate target computing power virtual resources to the user terminal; the processing unit 1002 is further configured to: instruct the communication unit 1001 to send the product information of the target computing power virtual resources to the user terminal if no target computing power virtual resources are allocated to the user terminal; the communication unit 1001 is further configured to: receive order completion information sent by the user terminal; the order completion information is used to indicate that target computing power virtual resources have been allocated to the user terminal; the processing unit 1002 is further configured to: determine the target account information corresponding to the target computing power center based on the user terminal's identification information and virtual account mapping table.
[0211] Optionally, the communication unit 1001 is further configured to: send waiting task query information to each computing center in the target computing center; the waiting task query information is used to obtain the number of tasks to be executed in each computing center in the target computing center; the processing unit 1002 is further configured to: select a first target computing center from the target computing centers; the first target computing center is the computing center with the smallest number of tasks to be executed in the target computing centers; the processing unit 1002 is further configured to: log in to the first target computing center based on the first target account information corresponding to the first target computing center; the target account information includes the first target account information.
[0212] Optionally, the communication unit 1001 is further configured to: send status query information to the target computing center; the status query information is used to query the completion status of the computing task; the communication unit 1001 is further configured to: receive status query response information from the target computing center, the status query response information is used to characterize the completion status of the computing task; the processing unit 1002 is further configured to: when the status query response information characterizes that the computing task has been completed, instruct the communication unit 1001 to send computing task response information to the user terminal; the computing task response information includes at least one of the following: the duration of computing task calculation, the resources occupied by computing task calculation, and the core time consumed by computing task calculation.
[0213] This application also provides a chip, which includes a processor and a communication interface. The communication interface and the processor are coupled. The processor is used to run computer programs or instructions to implement the computing resource scheduling method in the above method embodiments.
[0214] Embodiments of this application provide a computer program product containing instructions that, when executed on a computer, cause the computer to perform the industrial terminal switching method described in the above method embodiments.
[0215] The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of computer-readable storage media (a non-exhaustive list) include: an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM), registers, hard disks, optical fibers, compact disc read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing, or any other form of computer-readable storage medium in the art. An exemplary storage medium is coupled to a processor, enabling the processor to read information from and write information to the storage medium. Of course, the storage medium may also be a component of the processor. The processor and the storage medium may reside in an application-specific integrated circuit (ASIC). In embodiments of the present invention, a computer-readable storage medium may be any tangible medium that contains or stores a program that may be used by or in conjunction with an instruction execution system, apparatus, or device.
[0216] Since the apparatus, device, computer-readable storage medium, and computer program product in the embodiments of the present invention can be applied to the above methods, the technical effects that can be obtained can also be referred to the above method embodiments. The embodiments of this application will not be repeated here.
[0217] The above are merely specific embodiments of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions within the technical scope disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
Claims
1. A method for scheduling computing resources, characterized in that, The method, applied to a computing resource scheduling device, includes: The system receives a computing power task request from a user terminal; the computing power task request includes: the identifier of the target application, the identifier of the user terminal, and the computing power task; the target application is used to provide computing power services to the user terminal in response to the request. A target computing center is determined from at least one computing center; the target computing center is the computing center that contains the target application; Based on the identification information of the user terminal and the virtual account mapping table stored by the computing power resource scheduling device, the target account information corresponding to the target computing power center is determined; the virtual account mapping table includes the identification information of the user terminal and the account information corresponding to the identification information of the user terminal in the computing power center; Log in to the target computing center based on the target account information and send the computing task to the target computing center.
2. The method according to claim 1, characterized in that, The determination of the target account information corresponding to the target computing center based on the user terminal's identification information and the virtual account mapping table stored in the computing resource scheduling device includes: Based on the identification information of the user terminal, the target user group to which the identification information of the user terminal belongs is determined; the virtual account mapping table also includes the user group and the account information corresponding to the user group in the computing power center; Based on the target user group and the virtual account mapping table, determine the account information corresponding to the target user group; The account information corresponding to the user group in the computing center is used as the target account information.
3. The method according to claim 1 or 2, characterized in that, The step of determining the target account information corresponding to the target computing center based on the user terminal's identification information and the virtual account mapping table stored in the computing resource scheduling device further includes: Determine the target computing power virtual resources to which the target application belongs; Determine whether to allocate the target computing power virtual resources to the user terminal; If the target computing power virtual resources have been allocated to the user terminal, the target account information corresponding to the target computing power center is determined based on the user terminal's identification information and the virtual account mapping table.
4. The method according to claim 1 or 2, characterized in that, The step of determining the target account information corresponding to the target computing center based on the user terminal's identification information and the virtual account mapping table stored in the computing resource scheduling device further includes: Determine the target computing power virtual resources to which the target computing power center belongs; Determine whether to allocate the target computing power virtual resources to the user terminal; In the absence of allocating the target computing power virtual resources to the user terminal, the product information of the target computing power virtual resources is sent to the user terminal; The system receives order completion information sent by the user terminal; the order completion information indicates that the target computing power virtual resources have been allocated to the user terminal. Based on the user terminal's identification information and the virtual account mapping table, the target account information corresponding to the target computing center is determined.
5. The method according to claim 1 or 2, characterized in that, The target computing power center includes at least two computing power centers, and logging into the target computing power center based on the target account information includes: Send waiting task query information to each of the target computing centers; the waiting task query information is used to obtain the number of pending tasks for each computing center in the target computing centers; From the target computing power centers, select a first target computing power center; the first target computing power center is the computing power center with the smallest number of tasks to be executed among the target computing power centers; Log in to the first target computing center based on the first target account information corresponding to the first target computing center; the target account information includes the first target account information.
6. The method according to claim 1 or 2, characterized in that, After sending the computing power task to the target computing power center, the method further includes: Send status query information to the target computing center; the status query information is used to query the completion status of the computing task; Receive status query response information from the target computing power center, the status query response information being used to characterize the completion status of the computing power task; When the status query response information indicates that the computing task has been completed, a computing task response information is sent to the user terminal; the computing task response information includes at least one of the following: the time taken to calculate the computing task, the resources occupied by the computing task, and the core time consumed by the computing task.
7. A computing resource scheduling device, characterized in that, The device includes: a communication unit and a processing unit; The communication unit is configured to receive computing power task request information from a user terminal. The computing power task request information includes: identification information of a target application, identification information of the user terminal, and a computing power task. The target application is configured to request computing power services from the user terminal. The processing unit is configured to determine a target computing center from at least one computing center; the target computing center is a computing center that contains the target application; The processing unit is further configured to determine the target account information corresponding to the target computing center based on the identification information of the user terminal and the virtual account mapping table stored in the computing power resource scheduling device; the virtual account mapping table includes the identification information of the user terminal and the account information corresponding to the identification information of the user terminal in the computing power center; The communication unit is used to log in to the target computing center based on the target account information, and to instruct the communication unit to send the computing task to the target computing center.
8. The apparatus according to claim 7, characterized in that, The processing unit is also used for: Based on the identification information of the user terminal, the target user group to which the identification information of the user terminal belongs is determined; the virtual account mapping table also includes the user group and the account information corresponding to the user group in the computing power center; Based on the target user group and the virtual account mapping table, determine the account information corresponding to the target user group; The account information corresponding to the user group in the computing center is used as the target account information.
9. A computing resource scheduling device, characterized in that, include: A processor and a memory; wherein the memory is used to store computer execution instructions, and when the computing power resource scheduling device is running, the processor executes the computer execution instructions stored in the memory to cause the computing power resource scheduling device to execute the computing power resource scheduling method according to any one of claims 1-6.
10. A computer-readable storage medium, characterized in that, The computer-readable storage medium includes instructions that, when executed by a computing resource scheduling device, cause the computer to perform the computing resource scheduling method as described in any one of claims 1-6.
Citation Information
Patent Citations
Account management method, management platform and account management system
CN104702575A
Computing power service authentication method and device and readable storage medium
CN113157444A