Cloud computer control method and device, electronic equipment and storage medium
By creating mutually exclusive cloud computer instances and performing concurrent verification in the cloud computer system, the limitations of resource management and concurrency control are solved, enabling flexible resource allocation and efficient utilization.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- CHINA TELECOM CLOUD TECH CO LTD
- Filing Date
- 2025-11-26
- Publication Date
- 2026-04-17
AI Technical Summary
Existing cloud computing systems have limitations in resource management and concurrency control, resulting in low resource utilization efficiency and an inability to flexibly adjust resource allocation.
By responding to the resource capacity selection operation, a cloud PC resource pool is determined, and mutually exclusive cloud PC instances to be run are created in the resource pool. Based on the connection request, the target instance is determined for concurrent verification and access, thereby achieving fine-grained resource allocation.
This allows users to flexibly adjust computing resources according to specific needs, improving resource utilization efficiency, avoiding resource overruns, and ensuring system stability and user experience.
Smart Images

Figure CN121879899A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the fields of cloud computing and virtualization technology, and in particular to a cloud computer control method, a cloud computer control device, an electronic device, and a computer-readable storage medium. Background Technology
[0002] With the development of cloud computing and virtualization technologies, cloud computing has gradually become a new type of computing service. Cloud computing provides a flexible and efficient computing environment to meet the increasingly diverse needs of users. However, existing cloud computing systems have limitations in resource management and concurrency control, and their inability to flexibly adjust resource allocation leads to low resource utilization efficiency. Summary of the Invention
[0003] In view of the above problems, embodiments of the present invention are proposed to provide a cloud computer control method, a cloud computer control device, an electronic device, and a computer-readable storage medium that overcome or at least partially solve the above problems.
[0004] To address the aforementioned problems, in a first aspect, an embodiment of the present invention discloses a cloud computer control method, comprising: In response to the selection operation for resource capacity, determine the cloud PC resource pool; In response to configuration operations for cloud computers, multiple different cloud computer instances to be run are created in the cloud computer resource pool, and the different cloud computer instances to be run are mutually exclusive. Upon receiving a cloud computer connection request, the target cloud computer instance is determined from the cloud computer instances to be run based on the cloud computer connection request; Concurrent verification is performed based on the target cloud computer instance; If the verification is successful, access the target cloud computer instance.
[0005] Optionally, the selection operation corresponds to a resource package size, and the step of determining the cloud computer resource pool includes: Create a cloud PC resource pool that corresponds to the size of the resource package.
[0006] Optionally, the configuration operation includes at least one set of configuration parameters, each set of configuration parameters including cloud PC type and cloud PC specifications. The step of creating multiple different cloud PC instances to be run in the cloud PC resource pool includes: For any set of configuration parameters, determine the initial cloud computer instance based on the cloud computer type and the cloud computer specifications; The resource usage of the initial cloud computer instances is summed to determine the total resource usage; If the total resource usage of the initial cloud PC instance is less than the resource capacity of the cloud PC resource pool, the initial cloud PC instance is converted into a cloud PC instance to be run.
[0007] Optionally, the step of performing concurrent verification based on the target cloud computer instance includes: Calculate the current total concurrent resource usage; The remaining capacity is determined based on the current total concurrent resource usage; If the resource usage of the target cloud computer instance is not greater than the remaining capacity, the verification is deemed successful. If the resource usage of the target cloud computer instance exceeds the remaining capacity, the verification is deemed unsuccessful.
[0008] Optionally, the step of determining the remaining capacity based on the current total concurrent resource usage includes: The difference between the current total concurrent resource usage and the resource capacity of the cloud computer resource pool is determined as the remaining capacity.
[0009] Optionally, the method further includes: In response to a modification operation on a cloud PC, the cloud PC instance to be modified is determined from the cloud PC instances to be run; Modify the cloud computer instance to be modified based on the modification parameters corresponding to the modification operation.
[0010] Optionally, the method further includes: In response to a deletion operation on a cloud PC, a cloud PC instance to be deleted is determined from the cloud PC instances to be run; Clear the cloud computer instance to be deleted.
[0011] In a second aspect, embodiments of the present invention disclose a cloud computer control device, comprising: The resource determination module is used to determine the cloud computer resource pool in response to the selection operation for resource capacity; A creation module is used to respond to configuration operations for cloud computers by creating multiple different cloud computer instances to be run in the cloud computer resource pool, with the different cloud computer instances to be run mutually exclusive. The target determination module is used to determine the target cloud computer instance from the cloud computer instances to be run based on the cloud computer connection request when a cloud computer connection request is received. The verification module is used to perform concurrent verification based on the target cloud computer instance; The access module is used to access the target cloud computer instance after successful verification.
[0012] In a third aspect, an embodiment of the present invention discloses an electronic device, including a processor, a memory, and a computer program stored in the memory and capable of running on the processor, wherein the computer program, when executed by the processor, implements the steps of the cloud computer control method as described above.
[0013] In a fourth aspect, embodiments of the present invention disclose a computer-readable storage medium storing a computer program that, when executed by a processor, implements the steps of the cloud computer control method described above.
[0014] The embodiments of the present invention have the following advantages: This invention, in response to a resource capacity selection operation, determines a cloud PC resource pool; in response to a cloud PC configuration operation, it creates multiple different cloud PC instances to be run within the resource pool, with these instances mutually exclusive; upon receiving a cloud PC connection request, it determines a target cloud PC instance from the pool based on the request; it performs concurrent verification on the target instance; and if verification passes, it connects to the target instance. By creating a cloud PC resource pool based on resource capacity, and allowing the creation of multiple different cloud PC instances to be run within this pool, with mutual exclusion between these instances, users can flexibly switch between different specifications and types of cloud PC instances. This better meets diverse scenario needs, providing users with more choices and enabling them to flexibly adjust according to specific requirements, efficiently utilizing computing resources. Furthermore, the concurrent verification ensures that only instances are connected upon successful verification, avoiding exceeding computing resource limits and achieving refined resource allocation. Attached Figure Description
[0015] Figure 1 This is a flowchart illustrating the steps of an embodiment of the cloud computer control method of the present invention; Figure 2 This is a flowchart illustrating the steps of another embodiment of the cloud computer control method of the present invention; Figure 3 This is a schematic diagram of the runtime architecture of an example of a cloud computer control method according to the present invention; Figure 4 This is a schematic diagram illustrating the creation of an example of a cloud computer control method according to the present invention; Figure 5 This is an access diagram illustrating an embodiment of the cloud computer control method of the present invention; Figure 6 This is a structural block diagram of an embodiment of a cloud computer control device according to the present invention; Figure 7This is a schematic diagram of an embodiment of an electronic device according to the present invention; Figure 8 This is a schematic diagram of an embodiment of a computer-readable storage medium according to the present invention. Detailed Implementation
[0016] To make the above-mentioned objects, features and advantages of the present invention more apparent and understandable, the present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments.
[0017] Reference Figure 1 The diagram illustrates a flowchart of an embodiment of a cloud computer control method according to the present invention. The cloud computer control method may specifically include the following steps: Step 101: In response to the selection operation for resource capacity, determine the cloud PC resource pool; Users can freely choose the required resource capacity according to their actual needs, and issue a selection operation for the resource capacity when making the selection operation. The selection operation for resource capacity can be based on a preset capacity size or the user can input a capacity size themselves.
[0018] It can respond to the user's selection of resource capacity and determine the size of the cloud PC resource pool based on the selected capacity.
[0019] Step 102: In response to the configuration operation for the cloud computer, multiple different cloud computer instances to be run are created in the cloud computer resource pool, and the different cloud computer instances to be run are mutually exclusive. Users can also create and configure different cloud computers within the cloud computer resource pool. When a user confirms the configuration of a cloud computer, a configuration operation is issued for that computer. The system can respond to this configuration operation, creating multiple different cloud computer instances to be run in the resource pool based on the configuration details. These instances are generated from the configuration created by the configuration operation. These multiple instances can be of different types or specifications. Different instances are mutually exclusive; only one instance can be concurrently online at any given time. Switching between different types or specifications of cloud computers will automatically shut down the other type of cloud computer.
[0020] Step 103: Upon receiving a cloud computer connection request, determine the target cloud computer instance from the cloud computer instances to be run based on the cloud computer connection request. Then, when a user needs to access a cloud computer, a cloud computer connection request will be sent. Upon receiving the cloud computer connection request, the target cloud computer instance can be determined from the cloud computer instances to be run based on the target identifier, required indicators, and other information requested in the cloud computer connection request.
[0021] Step 104: Perform concurrent verification based on the target cloud computer instance; After identifying the target cloud PC instance, it is also necessary to perform concurrent verification on the target cloud PC instance to determine whether the access of the target cloud PC instance will exceed the resource load of the cloud PC resource pool, so as to avoid resource overload.
[0022] Step 105: If the verification is successful, access the target cloud computer instance.
[0023] If the verification is successful, it indicates that accessing the target cloud PC instance will not exceed the resource capacity of the cloud PC resource pool, and access to the target cloud PC instance is permitted. Users can then use the cloud PC service corresponding to the target cloud PC instance.
[0024] This invention, in response to a resource capacity selection operation, determines a cloud PC resource pool; in response to a cloud PC configuration operation, it creates multiple different cloud PC instances to be run within the resource pool, with these instances mutually exclusive; upon receiving a cloud PC connection request, it determines a target cloud PC instance from the pool based on the request; it performs concurrent verification on the target instance; and if verification passes, it connects to the target instance. By creating a cloud PC resource pool based on resource capacity, and allowing the creation of multiple different cloud PC instances to be run within this pool, with mutual exclusion between these instances, users can flexibly switch between different specifications and types of cloud PC instances. This better meets diverse scenario needs, providing users with more choices and enabling them to flexibly adjust according to specific requirements, efficiently utilizing computing resources. Furthermore, the concurrent verification ensures that only instances are connected upon successful verification, avoiding exceeding computing resource limits and achieving refined resource allocation.
[0025] Reference Figure 2 The diagram illustrates a flowchart of another embodiment of the cloud computer control method of the present invention, which specifically includes the following steps: Step 201: In response to the selection operation for resource capacity, determine the cloud PC resource pool; Users can select the computing and storage resources they need, thus initiating a resource capacity selection operation. In response to the resource capacity selection operation, the cloud PC resource pool can be created based on the resource capacity of the computing and storage resources selected by the user, serving as the foundational resources for the cloud PC pool.
[0026] In an optional embodiment of the present invention, the selection operation corresponds to a resource package size, and the step of determining the cloud computer resource pool includes: creating a cloud computer resource pool corresponding to the resource package size.
[0027] When a user makes a selection, the resource package size can be based on the user's chosen resource capacity, and the selection operation can carry relevant information. A cloud PC resource pool corresponding to the resource package size can be created. Users can flexibly select and subscribe to different types of cloud PCs, such as regular cloud PCs, GPU (graphics processing unit) cloud PCs, and Linux (operating system) servers, within the limits of this resource package, to meet diverse usage needs. Users can flexibly configure and manage resources according to actual needs, improving resource utilization efficiency and flexibility. Step 202: In response to the configuration operation for the cloud computer, multiple different cloud computer instances to be run are created in the cloud computer resource pool, and the different cloud computer instances to be run are mutually exclusive. Users can create different cloud computers from the cloud computer resource pool according to their needs. Users can configure the cloud computers based on their usage scenarios and issue configuration operations. In response to configuration operations, multiple different cloud computer instances corresponding to the configuration operation can be created in the cloud computer resource pool. Configuration operations can include, but are not limited to, memory capacity, graphics rendering capabilities, number of threads, bandwidth, etc. For example, a high-performance Type A cloud computer or a Type B cloud computer suitable for daily office work. Type A cloud computers are suitable for tasks requiring large amounts of computing resources, while Type B cloud computers are suitable for lightweight office applications. Typically, Type A cloud computers have higher specifications and consume more resources; within the total resource limit, users can order more Type B cloud computers to optimize resource utilization. Furthermore, different cloud computer instances are mutually exclusive, allowing users to dynamically adjust and allocate resources according to actual needs.
[0028] In an optional embodiment of the present invention, the configuration operation includes at least one set of configuration parameters, each set of configuration parameters including cloud computer type and cloud computer specifications. The step of creating multiple different cloud computer instances to be run in the cloud computer resource pool includes: for any set of configuration parameters, determining an initial cloud computer instance based on the cloud computer type and the cloud computer specifications; accumulating the resource usage of the initial cloud computer instance to determine the total resource usage; and if the total resource usage of the initial cloud computer instance is less than the resource capacity of the cloud computer resource pool, converting the initial cloud computer instance into a cloud computer instance to be run.
[0029] In practical applications, the decision to actually create a corresponding cloud PC can be determined based on the user's resource situation. For any set of configuration parameters, a corresponding cloud PC is created using the cloud PC type and specifications specified in that set of parameters, generating an initial cloud PC instance. After creating the initial cloud PC instance, the resource usage of all previously created cloud PC instances is accumulated, that is, the resource usage of the currently created initial cloud PC instance is added together to determine the total resource usage of the initial cloud PC instance. This confirms whether the total resource usage of the current cloud PC instance would exceed the resource limit of the cloud PC resource pool if it were actually created. The total resource usage can be compared with the resource capacity of the cloud PC resource pool. If the total resource usage of the initial cloud PC instance is less than the resource capacity of the cloud PC resource pool, it means that the resource capacity limit of the cloud PC resource pool has not been exceeded, and the initial cloud PC instance can be converted into a pending cloud PC instance to complete the creation. Otherwise, if the total resource usage of the initial cloud PC instance is not less than the resource capacity of the cloud PC resource pool, it means that the resource capacity limit of the cloud PC resource pool has been exceeded, and resources need to be released or creation should be rejected.
[0030] Step 203: Upon receiving a cloud computer connection request, determine the target cloud computer instance from the cloud computer instances to be run based on the cloud computer connection request; When a user requests to connect to a cloud PC, a cloud PC connection request is sent. Upon receiving a cloud PC connection request, the target cloud PC instance can be determined from the list of cloud PC instances to be run based on the cloud PC information requested in the connection request. For example, if the cloud PC connection request contains a cloud PC identifier, this identifier can be used to pair one-to-one with the cloud PC instances to be run, and the cloud PC instance that successfully pairs with the requested cloud PC identifier can be identified as the target cloud PC instance.
[0031] Step 204: Perform concurrent verification based on the target cloud computer instance; Then, it is necessary to perform concurrent verification on the target cloud PC instance to check whether the current number of concurrent connections has reached the maximum allowed value of the cloud PC resource pool, so as to ensure the running status after access.
[0032] In an optional embodiment of the present invention, the step of performing concurrent verification based on the target cloud computer instance includes: Sub-step S2041: Calculate the current total concurrent resource usage; First, based on the current operating status of the cloud computers, the current total concurrent resource usage can be determined. The current total concurrent resource usage represents the total amount of resources currently occupied by all cloud computers.
[0033] Sub-step S2042: Determine the remaining capacity based on the current total concurrent resource usage; The remaining capacity in the cloud PC resource pool can be determined based on the current total concurrent resource usage. The remaining capacity represents the total amount of currently available resources in the cloud PC resource pool.
[0034] Specifically, the step of determining the remaining capacity based on the current total concurrent resource usage includes: determining the difference between the current total concurrent resource usage and the resource capacity of the cloud computer resource pool as the remaining capacity.
[0035] The difference between the current total concurrent resource usage and the resource capacity of the cloud computer resource pool can be calculated as the remaining capacity.
[0036] Sub-step S2043: If the resource usage of the target cloud computer instance is not greater than the remaining capacity, the verification is confirmed to be successful. Then, the resource usage of the target cloud PC instance is compared with its remaining capacity. If the resource usage of the target cloud PC instance is not greater than its remaining capacity, the resources can be allocated to the target cloud PC instance to provide relevant services, and the verification is successful.
[0037] Sub-step S2043: If the resource usage of the target cloud computer instance is greater than the remaining capacity, the verification is determined to fail.
[0038] If the resource usage of the target cloud PC instance exceeds the remaining capacity, i.e., the resource allocation is insufficient, access will be rejected and the verification will fail.
[0039] For example, a user purchases a cloud PC pool with a total resource specification of FN, which includes two specifications of cloud PCs: specification A (each PC occupies A units of resources) and specification B (each PC occupies B units of resources). Currently, the number of specification A cloud PCs connected is FA, and the number of specification B cloud PCs is FB. The user wants to connect a new cloud PC, requiring a resource specification of N.
[0040] Calculate the current total resource usage: Total Used = FA × A + FB × B. Assume FA = 3 (3 cloud computers of specification A are connected), A = 10 (each cloud computer of specification A occupies 10 units of resources), FB = 4 (4 cloud computers of specification B are connected), B = 5 (each cloud computer of specification B occupies 5 units of resources). Then the current total resource usage is calculated as follows: Total Used = 3 × 10 + 4 × 5 = 30 + 20 = 50.
[0041] The formula for calculating the remaining resources in the cloud computer resource pool is: Remaining = FN Total Used. Assume the total resource specification of the cloud computer pool ordered by the user is FN = 100. Then the remaining resources are calculated as follows: Remaining = 100 50 = 50.
[0042] Then check whether the remaining resources Remaining are greater than or equal to the resources N required for the cloud computer that the user requests to connect. If Remaining ≥ N, allow the user to connect and allocate the corresponding cloud computer resources. If Remaining < N, reject the user's connection request and require the user to wait for the resources to be released. Assume the user hopes to connect a cloud computer of specification A, and the resources N required for it are N = 10, and the remaining resources = 50, and the resources N required for the cloud computer requested by the user are N = 10. Since Remaining = 50 ≥ 10 and the condition is met, the verification passes and the connection is allowed. If the cloud computer requested by the user requires N = 60 units of resources, the check will show that Remaining = 50 < 60, so the verification fails, the connection request will be rejected, and the user will be prompted to queue up and wait for the resources to be available.
[0043] By performing concurrent verification, the usage of resources can be effectively controlled, ensuring that the total resource limit of the cloud computer resource pool will not be exceeded at any time. It effectively avoids the over-allocation of resources, guarantees the stability of the system, improves the resource utilization efficiency at the same time, and optimizes the user experience.
[0044] Step 205, in the case of successful verification, access the target cloud computer instance; After successful verification, the target cloud computer instance can be accessed. The target cloud computer instance provides cloud computer services for the user.
[0045] Step 206, in response to a modification operation on the cloud computer, determine the cloud computer instance to be modified from the cloud computer instances to be run; During use, users can also modify the configuration of the cloud PC, initiating modification operations. In response to these modification operations, the system can determine the cloud PC instance to be modified from the list of pending cloud PC instances based on the requested modification information. The cloud PC instance to be modified is the one that needs to be modified after the modification operation is initiated.
[0046] Step 207: Modify the cloud computer instance to be modified based on the modification parameters corresponding to the modification operation; Based on the modification parameters corresponding to the modification operation, the configuration parameters of the cloud PC instance to be modified are modified, and the cloud PC instance to be modified is updated after the modification is completed so that users can select and use it.
[0047] Step 208: In response to the deletion operation for the cloud computer, determine the cloud computer instance to be deleted from the cloud computer instances to be run; During use, cloud computers can also be deleted, and a deletion operation can be initiated. In response to a deletion operation, the system can determine the cloud computer instance to be deleted from the list of running cloud computer instances based on the information of the cloud computer requested for deletion. The cloud computer instance to be deleted is the one that needs to be deleted after the deletion operation is initiated.
[0048] Step 209: Clear the cloud computer instance to be deleted.
[0049] Clear all content of the cloud PC instance to be deleted, thereby deleting the cloud PC.
[0050] This invention, in response to a selection operation on resource capacity, determines a cloud PC resource pool; in response to a configuration operation on a cloud PC, creates multiple different cloud PC instances to be run in the resource pool, with these instances mutually exclusive; upon receiving a cloud PC connection request, determines a target cloud PC instance from the pool of instances to be run based on the request; performs concurrent verification on the target instance; and connects to the target instance if verification passes. In response to a modification operation on a cloud PC, determines a cloud PC instance to be modified from the pool of instances to be run; modifies the instance based on the modification parameters corresponding to the modification operation; and in response to a deletion operation on a cloud PC, determines a cloud PC instance to be deleted from the pool of instances to be run; and clears the instance to be deleted. By creating cloud PC resource pools based on resource capacity, and allowing the creation of multiple different cloud PC instances to run within these pools, the system ensures mutual exclusion between these instances. Users can flexibly switch between different specifications and types of cloud PC instances, better meeting diverse scenario needs and providing users with more choices to adjust and efficiently utilize computing resources according to specific requirements. Furthermore, concurrency verification is implemented; cloud PC instances are only connected after successful verification, preventing exceeding computing resource limits and achieving fine-grained resource allocation. Users within the cloud PC resource pool can switch between different systems or different specifications of cloud PCs, provided that the total number of resources is not exceeded; the other type of cloud PC will be automatically shut down. Users dynamically adjust and allocate resources according to actual needs, improving the flexibility of resource management and the overall resource utilization rate of the system. Concurrency verification effectively controls resource usage, ensuring that the total resource limit of the cloud PC resource pool is never exceeded. This effectively avoids over-allocation of resources, ensures system stability, improves resource utilization efficiency, and optimizes the user experience.
[0051] To enable those skilled in the art to clearly understand the embodiments of the present invention, some examples are used below for illustration: The implementation architecture may include references Figure 3The system can include an ordering module, a cloud PC management module, and a user access control module. The ordering module allows users to select a resource package containing large-capacity computing and storage resources based on their needs, serving as the foundational resources for the cloud PC pool. The cloud PC management module manages different types of instances within the cloud PC pool, including creation, configuration, and deletion. This module supports unified management of different types of cloud PCs within the same cloud PC pool. The user access control module primarily manages user access requests and controls the system's maximum concurrent connections. When a user requests to connect to a cloud PC, the system first checks whether the current number of concurrent connections has reached the maximum allowed value of the cloud PC pool. If the number of concurrent connections has not reached the maximum value, the system will allow new connections; if the maximum concurrency has been reached, the system will reject new connection requests. This ensures the system's stability and efficient operation, improving overall resource utilization.
[0052] You can refer to the process of activating a cloud PC. Figure 4 1. Create a flexible concurrent cloud PC pool; 2. Select associated resource packages; 3. Fix the maximum number of online concurrent resources; 4. Create multiple different types of cloud PCs; 5. Disconnection settings; i.e., the interval for applying reconnection; 6. Switch connection settings to be mutually exclusive with other cloud PCs.
[0053] For the process of using a cloud computer, please refer to [the following]. Figure 5 Users access the cloud PC list through the client, select a cloud PC, and determine whether the remaining resources in the cloud PC pool are sufficient.
[0054] When the remaining resources in the cloud PC pool are insufficient, a queuing prompt will appear.
[0055] When the remaining resources in the cloud PC pool are exhausted, the cloud PC in use will be shut down, and the user will be able to use the cloud PC.
[0056] If a user needs to switch to another cloud computer while using a cloud computer, they can re-enter the cloud computer list and select a different cloud computer to switch to.
[0057] It should be noted that, for the sake of simplicity, the method embodiments are all described as a series of actions. However, those skilled in the art should understand that the embodiments of the present invention are not limited to the described order of actions, because according to the embodiments of the present invention, some steps can be performed in other orders or simultaneously. Furthermore, those skilled in the art should also understand that the embodiments described in the specification are preferred embodiments, and the actions involved are not necessarily essential to the embodiments of the present invention.
[0058] Reference Figure 6 The diagram illustrates a structural block diagram of an embodiment of a cloud computer control device according to the present invention. The cloud computer control device may specifically include the following modules: The resource determination module 601 is used to determine the cloud computer resource pool in response to the selection operation for resource capacity; Module 602 is used to create multiple different cloud computer instances to be run in the cloud computer resource pool in response to configuration operations for cloud computers, and the different cloud computer instances to be run are mutually exclusive. The target determination module 603 is used to determine the target cloud computer instance from the cloud computer instances to be run based on the cloud computer connection request when a cloud computer connection request is received. Verification module 604 is used to perform concurrent verification based on the target cloud computer instance; Access module 605 is used to access the target cloud computer instance after successful verification.
[0059] In an optional embodiment of the present invention, the selection operation corresponds to a resource package size, and the resource determination module 601 includes: The resource pool determination submodule is used to create a cloud computer resource pool that corresponds to the size of the resource package.
[0060] In an optional embodiment of the present invention, the configuration operation includes at least one set of configuration parameters, each set of configuration parameters including cloud computer type and cloud computer specifications, and the creation module 602 includes: The initial cloud PC instance creation submodule is used to determine the initial cloud PC instance based on the cloud PC type and the cloud PC specifications for any set of configuration parameters. The resource usage determination submodule is used to sum up the resource usage of the initial cloud computer instance to determine the total resource usage. The conversion module is used to convert the initial cloud computer instance into a cloud computer instance to be run when the total resource usage of the initial cloud computer instance is less than the resource capacity of the cloud computer resource pool.
[0061] In an optional embodiment of the present invention, the verification module 604 includes: The calculation submodule is used to calculate the current total concurrent resource usage; The remaining capacity determination submodule is used to determine the remaining capacity based on the current total concurrent resource usage; The first verification submodule is used to determine that the verification is successful if the resource usage of the target cloud computer instance is not greater than the remaining capacity. The second verification submodule is used to determine that the verification fails if the resource usage of the target cloud computer instance is greater than the remaining capacity.
[0062] In an optional embodiment of the present invention, the remaining capacity determination submodule includes: The difference unit is used to determine the remaining capacity as the difference between the current total concurrent resource usage and the resource capacity of the cloud computer resource pool.
[0063] In an optional embodiment of the present invention, the device further includes: The modification response module is used to respond to modification operations on the cloud computer and to determine the cloud computer instance to be modified from the cloud computer instances to be run. The modification processing module is used to modify the cloud computer instance to be modified based on the modification parameters corresponding to the modification operation.
[0064] In an optional embodiment of the present invention, the device further includes: The deletion response module is used to respond to the deletion operation for the cloud computer by determining the cloud computer instance to be deleted from the cloud computer instances to be run. The deletion processing module is used to clear the cloud computer instance to be deleted.
[0065] This invention, in response to a resource capacity selection operation, determines a cloud PC resource pool; in response to a cloud PC configuration operation, it creates multiple different cloud PC instances to be run within the resource pool, with these instances mutually exclusive; upon receiving a cloud PC connection request, it determines a target cloud PC instance from the pool based on the request; it performs concurrent verification on the target instance; and if verification passes, it connects to the target instance. By creating a cloud PC resource pool based on resource capacity, and allowing the creation of multiple different cloud PC instances to be run within this pool, with mutual exclusion between these instances, users can flexibly switch between different specifications and types of cloud PC instances. This better meets diverse scenario needs, providing users with more choices and enabling them to flexibly adjust according to specific requirements, efficiently utilizing computing resources. Furthermore, the concurrent verification ensures that only instances are connected upon successful verification, avoiding exceeding computing resource limits and achieving refined resource allocation.
[0066] As the device embodiment is basically similar to the method embodiment, the description is relatively simple, and relevant parts can be found in the description of the method embodiment.
[0067] Reference Figure 7 The present invention also provides an electronic device, comprising: A processor 701 and a memory 702 are provided, the memory 702 storing a computer program executable by the processor 701. When the electronic device is running, the processor 701 executes the computer program to perform the cloud computer control method as described in any one of the embodiments of the present invention. The cloud computer control method includes: determining a cloud computer resource pool in response to a selection operation for resource capacity; In response to configuration operations for cloud computers, multiple different cloud computer instances to be run are created in the cloud computer resource pool, and the different cloud computer instances to be run are mutually exclusive. Upon receiving a cloud computer connection request, the target cloud computer instance is determined from the cloud computer instances to be run based on the cloud computer connection request; Concurrent verification is performed based on the target cloud computer instance; If the verification is successful, access the target cloud computer instance.
[0068] Optionally, the selection operation corresponds to a resource package size, and the step of determining the cloud computer resource pool includes: Create a cloud PC resource pool that corresponds to the size of the resource package.
[0069] Optionally, the configuration operation includes at least one set of configuration parameters, each set of configuration parameters including cloud PC type and cloud PC specifications. The step of creating multiple different cloud PC instances to be run in the cloud PC resource pool includes: For any set of configuration parameters, determine the initial cloud computer instance based on the cloud computer type and the cloud computer specifications; The resource usage of the initial cloud computer instances is summed to determine the total resource usage; If the total resource usage of the initial cloud PC instance is less than the resource capacity of the cloud PC resource pool, the initial cloud PC instance is converted into a cloud PC instance to be run.
[0070] Optionally, the step of performing concurrent verification based on the target cloud computer instance includes: Calculate the current total concurrent resource usage; The remaining capacity is determined based on the current total concurrent resource usage; If the resource usage of the target cloud computer instance is not greater than the remaining capacity, the verification is deemed successful. If the resource usage of the target cloud computer instance exceeds the remaining capacity, the verification is deemed unsuccessful.
[0071] Optionally, the step of determining the remaining capacity based on the current total concurrent resource usage includes: The difference between the current total concurrent resource usage and the resource capacity of the cloud computer resource pool is determined as the remaining capacity.
[0072] Optionally, the method further includes: In response to a modification operation on a cloud PC, the cloud PC instance to be modified is determined from the cloud PC instances to be run; Modify the cloud computer instance to be modified based on the modification parameters corresponding to the modification operation.
[0073] Optionally, the method further includes: In response to a deletion operation on a cloud PC, a cloud PC instance to be deleted is determined from the cloud PC instances to be run; Clear the cloud computer instance to be deleted.
[0074] This invention, in response to a resource capacity selection operation, determines a cloud PC resource pool; in response to a cloud PC configuration operation, it creates multiple different cloud PC instances to be run within the resource pool, with these instances mutually exclusive; upon receiving a cloud PC connection request, it determines a target cloud PC instance from the pool based on the request; it performs concurrent verification on the target instance; and if verification passes, it connects to the target instance. By creating a cloud PC resource pool based on resource capacity, and allowing the creation of multiple different cloud PC instances to be run within this pool, with mutual exclusion between these instances, users can flexibly switch between different specifications and types of cloud PC instances. This better meets diverse scenario needs, providing users with more choices and enabling them to flexibly adjust according to specific requirements, efficiently utilizing computing resources. Furthermore, the concurrent verification ensures that only instances are connected upon successful verification, avoiding exceeding computing resource limits and achieving refined resource allocation.
[0075] The processors mentioned above can be general-purpose processors, including central processing units (CPUs), network processors (NPs), etc.; they can also be digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components.
[0076] Reference Figure 8 This invention also provides a computer-readable storage medium 801, on which a computer program is stored. When a processor executes the computer program, it performs the cloud computer control method as described in any one of the embodiments of this invention. The cloud computer control method includes: determining a cloud computer resource pool in response to a selection operation for resource capacity; In response to configuration operations for cloud computers, multiple different cloud computer instances to be run are created in the cloud computer resource pool, and the different cloud computer instances to be run are mutually exclusive. Upon receiving a cloud computer connection request, the target cloud computer instance is determined from the cloud computer instances to be run based on the cloud computer connection request; Concurrent verification is performed based on the target cloud computer instance; If the verification is successful, access the target cloud computer instance.
[0077] Optionally, the selection operation corresponds to a resource package size, and the step of determining the cloud computer resource pool includes: Create a cloud PC resource pool that corresponds to the size of the resource package.
[0078] Optionally, the configuration operation includes at least one set of configuration parameters, each set of configuration parameters including cloud PC type and cloud PC specifications. The step of creating multiple different cloud PC instances to be run in the cloud PC resource pool includes: For any set of configuration parameters, determine the initial cloud computer instance based on the cloud computer type and the cloud computer specifications; The resource usage of the initial cloud computer instances is summed to determine the total resource usage; If the total resource usage of the initial cloud PC instance is less than the resource capacity of the cloud PC resource pool, the initial cloud PC instance is converted into a cloud PC instance to be run.
[0079] Optionally, the step of performing concurrent verification based on the target cloud computer instance includes: Calculate the current total concurrent resource usage; The remaining capacity is determined based on the current total concurrent resource usage; If the resource usage of the target cloud computer instance is not greater than the remaining capacity, the verification is deemed successful. If the resource usage of the target cloud computer instance exceeds the remaining capacity, the verification is deemed unsuccessful.
[0080] Optionally, the step of determining the remaining capacity based on the current total concurrent resource usage includes: The difference between the current total concurrent resource usage and the resource capacity of the cloud computer resource pool is determined as the remaining capacity.
[0081] Optionally, the method further includes: In response to a modification operation on a cloud PC, the cloud PC instance to be modified is determined from the cloud PC instances to be run; Modify the cloud computer instance to be modified based on the modification parameters corresponding to the modification operation.
[0082] Optionally, the method further includes: In response to a deletion operation on a cloud PC, a cloud PC instance to be deleted is determined from the cloud PC instances to be run; Clear the cloud computer instance to be deleted.
[0083] This invention, in response to a resource capacity selection operation, determines a cloud PC resource pool; in response to a cloud PC configuration operation, it creates multiple different cloud PC instances to be run within the resource pool, with these instances mutually exclusive; upon receiving a cloud PC connection request, it determines a target cloud PC instance from the pool based on the request; it performs concurrent verification on the target instance; and if verification passes, it connects to the target instance. By creating a cloud PC resource pool based on resource capacity, and allowing the creation of multiple different cloud PC instances to be run within this pool, with mutual exclusion between these instances, users can flexibly switch between different specifications and types of cloud PC instances. This better meets diverse scenario needs, providing users with more choices and enabling them to flexibly adjust according to specific requirements, efficiently utilizing computing resources. Furthermore, the concurrent verification ensures that only instances are connected upon successful verification, avoiding exceeding computing resource limits and achieving refined resource allocation.
[0084] The various embodiments in this specification are described in a progressive manner, with each embodiment focusing on the differences from other embodiments. The same or similar parts between the various embodiments can be referred to each other.
[0085] Those skilled in the art will understand that embodiments of the present invention can be provided as methods, apparatus, or computer program products. Therefore, embodiments of the present invention can take the form of entirely hardware embodiments, entirely software embodiments, or embodiments combining software and hardware aspects. Furthermore, embodiments of the present invention can take the form of computer program products implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0086] Embodiments of the present invention are described with reference to flowchart illustrations and / or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing terminal device to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal device, generate instructions for implementing the flowchart illustrations and / or block diagrams. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0087] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing terminal device to operate in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.
[0088] These computer program instructions can also be loaded onto a computer or other programmable data processing terminal equipment, causing a series of operational steps to be performed on the computer or other programmable terminal equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable terminal equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.
[0089] Although preferred embodiments of the present invention have been described, those skilled in the art, upon learning the basic inventive concept, can make other changes and modifications to these embodiments. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments as well as all changes and modifications falling within the scope of the embodiments of the present invention.
[0090] Finally, it should be noted that in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or terminal device that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or terminal device. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or terminal device that includes said element.
[0091] The foregoing has provided a detailed description of a cloud computer control method, a cloud computer control device, an electronic device, and a computer-readable storage medium provided by the present invention. Specific examples have been used to illustrate the principles and implementation methods of the present invention. The descriptions of the above embodiments are only for the purpose of helping to understand the method and core ideas of the present invention. At the same time, for those skilled in the art, there will be changes in the specific implementation methods and application scope based on the ideas of the present invention. Therefore, the content of this specification should not be construed as a limitation of the present invention.
Claims
1. A cloud computer control method, characterized in that, include: In response to the selection operation for resource capacity, determine the cloud PC resource pool; In response to configuration operations for cloud computers, multiple different cloud computer instances to be run are created in the cloud computer resource pool, and the different cloud computer instances to be run are mutually exclusive. Upon receiving a cloud computer connection request, the target cloud computer instance is determined from the cloud computer instances to be run based on the cloud computer connection request; Concurrent verification is performed based on the target cloud computer instance; If the verification is successful, access the target cloud computer instance.
2. The method according to claim 1, characterized in that, The selection operation corresponds to a resource package size, and the steps for determining the cloud computer resource pool include: Create a cloud PC resource pool that corresponds to the size of the resource package.
3. The method according to claim 1, characterized in that, The configuration operation includes at least one set of configuration parameters, each set of configuration parameters including cloud PC type and cloud PC specifications. The steps of creating multiple different cloud PC instances to be run in the cloud PC resource pool include: For any set of configuration parameters, determine the initial cloud computer instance based on the cloud computer type and the cloud computer specifications; The resource usage of the initial cloud computer instances is summed to determine the total resource usage; If the total resource usage of the initial cloud PC instance is less than the resource capacity of the cloud PC resource pool, the initial cloud PC instance is converted into a cloud PC instance to be run.
4. The method according to claim 1, characterized in that, The steps for concurrent verification based on the target cloud computer instance include: Calculate the current total concurrent resource usage; The remaining capacity is determined based on the current total concurrent resource usage; If the resource usage of the target cloud computer instance is not greater than the remaining capacity, the verification is deemed successful. If the resource usage of the target cloud computer instance exceeds the remaining capacity, the verification is deemed unsuccessful.
5. The method according to claim 4, characterized in that, The step of determining the remaining capacity based on the current total concurrent resource usage includes: The difference between the current total concurrent resource usage and the resource capacity of the cloud computer resource pool is determined as the remaining capacity.
6. The method according to claim 1, characterized in that, The method further includes: In response to a modification operation on a cloud PC, the cloud PC instance to be modified is determined from the cloud PC instances to be run; Modify the cloud computer instance to be modified based on the modification parameters corresponding to the modification operation.
7. The method according to claim 1, characterized in that, The method further includes: In response to a deletion operation on a cloud PC, a cloud PC instance to be deleted is determined from the cloud PC instances to be run; Clear the cloud computer instance to be deleted.
8. A cloud computer control device, characterized in that, include: The resource determination module is used to determine the cloud computer resource pool in response to the selection operation for resource capacity; A creation module is used to respond to configuration operations for cloud computers by creating multiple different cloud computer instances to be run in the cloud computer resource pool, with the different cloud computer instances to be run mutually exclusive. The target determination module is used to determine the target cloud computer instance from the cloud computer instances to be run based on the cloud computer connection request when a cloud computer connection request is received. The verification module is used to perform concurrent verification based on the target cloud computer instance; The access module is used to access the target cloud computer instance after successful verification.
9. An electronic device, characterized in that, It includes a processor, a memory, and a computer program stored in the memory and capable of running on the processor, wherein the computer program, when executed by the processor, implements the steps of the cloud computer control method as described in any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that, A computer program is stored on the computer-readable storage medium, and when executed by a processor, the computer program implements the steps of the cloud computer control method as described in any one of claims 1 to 7.