Inventory management method and device of virtual terminal, electronic equipment and storage medium

By automatically managing the inventory of virtual terminals, the problems of lag and inefficiency caused by manual intervention in traditional cloud computing resource management are solved, and efficient, accurate and low-cost automated operations of virtual terminal inventory management are achieved.

CN120297856APending Publication Date: 2025-07-11GUANGZHOU DULING TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510331104.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-19
Publication Date
2025-07-11

AI Technical Summary

Technical Problem

In traditional cloud computing resource management systems, the management of physical machine resources, especially the allocation and replenishment process of special resources such as cloud mobile phones, relies on manual intervention, resulting in lagging reactions, subjective decision-making and inefficient, and being unable to respond to changes in business needs in a timely manner.

Method used

Provides a virtual terminal inventory management method, which automatically manages the virtual terminal's inventory by obtaining inventory update information of virtual terminals in the resource pool, including incremental and allocation operations, reduces manual intervention, and improves response speed and accuracy.

Benefits of technology

It has achieved the improvement of the automation level of virtual terminal inventory management, reduced operation and maintenance costs, improved the response speed and accuracy of inventory management, and reduced the dependence of manual intervention.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120297856A_ABST
    Figure CN120297856A_ABST
Patent Text Reader

Abstract

The invention provides an inventory management method and device for a virtual terminal, electronic equipment and a storage medium, and relates to the technical field of cloud services, in particular to the technical field of resource calculation and resource allocation. According to the specific implementation scheme, the method comprises the steps of obtaining inventory updating information of a virtual terminal in a resource pool; and performing inventory management on the virtual terminals in the resource pool according to the inventory update information.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the technical field of cloud services, specifically to the technical fields of resource computing and resource allocation, and particularly to an inventory management method, device, electronic device, and storage medium for virtual terminals. Background Art

[0002] In traditional cloud computing resource management systems, the management of physical machine resources, especially the allocation and replenishment processes of special resources such as cloud phones, largely relies on manual intervention and operations. Due to problems such as lagging response, subjective decision-making, and low execution efficiency in manual operations, resource allocation cannot promptly respond to changes in business requirements. Summary of the Invention

[0003] The present disclosure provides an inventory management method, device, electronic device, and storage medium for virtual terminals.

[0004] According to one aspect of the present disclosure, there is provided an inventory management method for virtual terminals, including: obtaining inventory update information of virtual terminals in a resource pool; and performing inventory management on the virtual terminals in the resource pool according to the inventory update information.

[0005] According to another aspect of the present disclosure, there is provided an inventory management device for virtual terminals, including: an obtaining module configured to obtain inventory update information of virtual terminals in a resource pool; and a management module configured to perform inventory management on the virtual terminals in the resource pool according to the inventory update information.

[0006] According to another aspect of the present disclosure, there is provided an electronic device, including: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and when the instructions are executed by the at least one processor, the at least one processor is enabled to execute the inventory management method for virtual terminals according to the embodiment of the above-mentioned one aspect.

[0007] According to another aspect of the present disclosure, there is provided a non-transitory computer-readable storage medium storing computer instructions, with a computer program / instruction stored thereon, and the computer instructions are used to cause a computer to execute the inventory management method for virtual terminals according to the embodiment of the above-mentioned one aspect.

[0008] According to another aspect of the present disclosure, there is provided a computer program product, including a computer program / instruction, and when the computer program / instruction is executed by a processor, it implements the inventory management method for virtual terminals according to the embodiment of the above-mentioned one aspect.

[0009] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present disclosure, nor is it used to limit the scope of the present disclosure. Other features of the present disclosure will become readily apparent from the following description. Description of the Drawings

[0010] The drawings are used to better understand the present solution and do not constitute a limitation to the present disclosure. Among them:

[0011] Figure 1 It is a schematic flowchart of a method for inventory management of virtual terminals provided by an embodiment of the present disclosure;

[0012] Figure 2 It is a schematic flowchart of another method for inventory management of virtual terminals provided by an embodiment of the present disclosure;

[0013] Figure 3 It is a schematic flowchart of another method for inventory management of virtual terminals provided by an embodiment of the present disclosure;

[0014] Figure 4 It is a schematic flowchart of a process for determining available virtual terminals in a resource pool in a method for inventory management of virtual terminals provided by an embodiment of the present disclosure;

[0015] Figure 5 It is a schematic flowchart of a process for multi-dimensional screening of virtual terminals in a resource pool provided by an embodiment of the present disclosure;

[0016] Figure 6 It is a schematic flowchart of a process for evaluating virtual terminals provided by an embodiment of the present disclosure;

[0017] Figure 7 It is a schematic flowchart of a process for managing virtual terminals in a resource pool provided by an embodiment of the present disclosure;

[0018] Figure 8 It is a schematic structural diagram of an inventory management device for virtual terminals provided by an embodiment of the present disclosure;

[0019] Figure 9 It is a block diagram of an electronic device for implementing the method for inventory management of virtual terminals according to an embodiment of the present disclosure. Detailed Embodiments

[0020] The following describes exemplary embodiments of the present disclosure in conjunction with the accompanying drawings. Various details of the embodiments of the present disclosure are included to assist understanding, and they should be considered merely exemplary. Therefore, those of ordinary skill in the art should recognize that various changes and modifications can be made to the embodiments described herein without departing from the scope and spirit of the present disclosure. Similarly, for clarity and conciseness, descriptions of well-known functions and structures are omitted in the following description.

[0021] Cloud services, also known as cloud computing services, are a computing method and service model based on the Internet. Cloud services obtain the required resources (including hardware, platforms, and software) in a demand-driven and easily scalable manner through the network. These resources are encapsulated into an independent virtual environment, providing computing resources and services for both users and service providers.

[0022] The following describes an inventory management method, apparatus, electronic device, and storage medium for a virtual terminal according to embodiments of the present disclosure with reference to the accompanying drawings.

[0023] Figure 1 It is a flowchart of an inventory management method for a virtual terminal provided by an embodiment of the present disclosure.

[0024] As Figure 1 shown, the inventory management method for the virtual terminal may include:

[0025] S101, obtaining inventory update information of virtual terminals in the resource pool.

[0026] It should be noted that the execution subject of the inventory management method for the virtual terminal in the embodiments of the present disclosure may be a hardware device with data processing capabilities and / or the necessary software for driving the hardware device to work. Optionally, the execution subject may include a server, a user terminal, and other intelligent devices. Optionally, the user terminal includes, but is not limited to, mobile phones, computers, intelligent voice interaction devices, etc. Optionally, the server includes, but is not limited to, a web server, an application server, and may also be a server of a distributed system, or a server combined with a blockchain, etc. The embodiments of the present disclosure do not make specific limitations.

[0027] It can be understood that in a cloud computing resource management system, the resource pool is used to manage and optimize system resources. In a virtualized environment, the resource pool usually contains multiple virtual terminals or other forms of virtualized resources, and these resources can be dynamically allocated and released.

[0028] The virtual terminal can provide the function of running application programs on a remote computer for remote users. In the embodiments of the present disclosure, the virtual terminal can be a cloud phone, and the cloud phone can be remotely accessed and operated on any terminal device supporting network connection.

[0029] The inventory update information refers to the latest information about changes in the number, status, configuration, etc. of virtual terminals in the resource pool. For example, the increment of virtual terminals and the quantity of the increment can be used as inventory update information.

[0030] In some embodiments, the inventory update information of the virtual terminal can be obtained by obtaining the parameter information of the virtual terminal in the resource pool and then according to the parameter information.

[0031] In some embodiments, it is also possible to receive order information for subscribing to virtual terminals, and obtain inventory update information for the virtual terminals according to the number of virtual terminals indicated in the order information.

[0032] In some embodiments, the parameter information of the virtual terminal can be the vacancy rate of the virtual terminal, that is, the proportion of the virtual terminal not being used in the resource pool. By obtaining the number of virtual terminals in the resource pool and determining the usage status of the virtual terminals, the number of unused virtual terminals can be determined, and further the vacancy rate of the virtual terminal can be calculated.

[0033] In some embodiments, by setting a vacancy rate threshold, the inventory update information of the virtual terminal can be determined according to the vacancy rate of the virtual terminal and the vacancy rate threshold. Optionally, if the vacancy rate is less than the vacancy rate threshold, it can be determined that the proportion of the virtual terminals in the resource pool being used is high, and the number of virtual terminals needs to be increased. Then, the inventory update information of the virtual terminal can be generated to increase the number of virtual terminals according to the inventory update information.

[0034] Optionally, if the vacancy rate is greater than or equal to the vacancy rate threshold, it can be determined that the proportion of the virtual terminals in the resource pool being used is low, and the number of virtual terminals needs to be decreased. Then, the inventory update information of the virtual terminal can be generated to decrease the number of virtual terminals according to the inventory update information.

[0035] In some embodiments, after receiving the order information for subscribing to virtual terminals, the number of virtual terminals to be pre-subscribed indicated by the order information can be compared with the number of virtual terminals in the resource pool. If the number of virtual terminals to be pre-subscribed is greater than the number of virtual terminals in the resource pool, the inventory update information of the virtual terminal can be generated, indicating that an increment of the virtual terminal is required. Optionally, if the number of virtual terminals to be pre-subscribed is less than the number of virtual terminals in the resource pool, the virtual terminals in the resource pool can be directly allocated.

[0036] S102, perform inventory management on the virtual terminals in the resource pool according to the inventory update information.

[0037] In some embodiments, performing inventory management on the virtual terminals in the resource pool can include performing an increment operation on the virtual terminals in the resource pool to achieve inventory management; it can also include performing a recycling operation on the virtual terminals in the resource pool to achieve inventory management.

[0038] In some embodiments, determining the inventory update information according to the order information and performing inventory management on the virtual terminals in the resource pool according to the inventory update information can include performing an allocation operation on the virtual terminals to achieve inventory management. Optionally, the client sending the order information can be determined, and virtual terminals can be allocated to the client.

[0039] In some embodiments, when performing an incremental operation on a virtual terminal in a resource pool, the version information of the virtual terminal indicated in the inventory update information may be used to determine the incremental priority, and then the virtual terminal may be incrementally operated according to the incremental priority. Optionally, the virtual terminals may be sorted according to the incremental priority and the virtual terminals may be incrementally operated in sequence.

[0040] In some embodiments, when performing a recycling operation on a virtual terminal in a resource pool, the identification information of the virtual terminal indicated in the inventory update information may be used, and the virtual terminal corresponding to the identification information may be directly recycled according to the identification information.

[0041] In some embodiments, before allocating a virtual terminal to a client, it may be determined whether an incremental operation needs to be performed on the virtual terminal according to the inventory update information. After determining to perform the incremental operation, the virtual terminal may be incrementally operated, and then the virtual terminal in the resource pool after the incremental operation may be allocated to the client.

[0042] According to the virtual terminal inventory management method provided by the embodiments of the present disclosure, by obtaining the inventory information of the virtual terminals in the resource pool and performing inventory management of virtual resources according to the inventory information, thus, according to the inventory update information of the virtual terminals, inventory management of the virtual terminals in the resource pool may be performed, which can realize timely inventory management, improve the response speed of inventory management, perform inventory management according to the inventory update information, reduce manual intervention, improve the accuracy of inventory management, further improve the automation level of inventory management, and reduce the operation and maintenance costs.

[0043] Figure 2 It is a schematic flowchart of a virtual terminal inventory management method provided by an embodiment of the present disclosure.

[0044] As Figure 2 shown, the virtual terminal inventory management method may include:

[0045] S201, monitor at least one parameter of the vacancy rate and fragmentation rate of the virtual terminal.

[0046] In some embodiments, the vacancy rate of the virtual terminal refers to the proportion of the virtual terminal that is not used in the resource pool. The number of virtual terminals in the resource pool may be obtained and the usage status of the virtual terminals may be monitored, so as to determine the number of unused virtual terminals, and further the vacancy rate of the virtual terminals may be calculated to realize monitoring of the vacancy rate of the virtual terminals.

[0047] In some embodiments, the fragmentation rate of virtual terminals refers to the concentration of virtual terminals allocated. For example, if multiple virtual terminals in a resource pool are allocated to the same computer room, the fragmentation rate of the virtual terminals is 0 at this time. If multiple virtual terminals are allocated to 2 computer rooms, the fragmentation rate of the virtual terminals is relatively low at this time. If multiple virtual terminals are allocated to multiple computer rooms, the fragmentation rate of the virtual terminals is relatively high. That is to say, the address information allocated to the virtual terminals can be monitored to obtain the fragmentation rate of the virtual terminals.

[0048] S202. Obtain inventory update information according to at least one parameter among the vacancy rate and the fragmentation rate.

[0049] In some embodiments, thresholds corresponding to the parameters can be preset in advance to determine the inventory update information according to at least one parameter among the vacancy rate and the fragmentation rate. Optionally, setting conditions can be determined according to the thresholds, and it can be judged whether the virtual terminals meet the setting conditions. Furthermore, the inventory update information can be determined based on the virtual terminals that meet the setting conditions, so that inventory management of the resource pool can be realized according to the actual inventory situation of the virtual terminals in the resource pool, the resource vacancy rate can be reduced, and the response speed can be improved.

[0050] In some embodiments, a first vacancy rate threshold and a second vacancy rate threshold corresponding to the vacancy rate can be set, and a first fragmentation rate threshold and a second fragmentation rate threshold corresponding to the fragmentation rate can be set, where the first vacancy rate threshold is less than the second vacancy rate threshold, and the first fragmentation rate threshold is less than the second fragmentation rate threshold.

[0051] Furthermore, the vacancy rate being less than the first vacancy rate threshold can be used as meeting the setting conditions, and the fragmentation rate being less than the first fragmentation rate threshold can be used as meeting the setting conditions.

[0052] In some embodiments, by comparing the vacancy rate of the virtual terminals with the first vacancy rate threshold, or comparing the fragmentation rate of the virtual terminals with the first fragmentation rate threshold, virtual terminals whose at least one parameter meets the setting conditions are determined from the resource pool. Furthermore, the inventory update information can be determined according to the virtual terminals that meet the setting conditions.

[0053] Optionally, the version information corresponding to the virtual terminals that meet the setting conditions and the identification information of the virtual terminals can be obtained, and then the inventory update information is generated according to the version information and the identification information.

[0054] In some embodiments, if the vacancy rate of a virtual terminal is greater than a second vacancy rate threshold, or the fragmentation rate of the virtual terminal is greater than a second fragmentation rate threshold, it indicates that the virtual terminals in the resource pool are in excess. The virtual terminals can be sorted in descending order according to the vacancy rate or the fragmentation rate, and the top K virtual terminals can be determined from the sorting result, and then the K virtual terminals can be recycled to achieve reallocation of resources. Here, K is a natural number greater than 1.

[0055] S203. Perform inventory management on the virtual terminals in the resource pool according to the inventory update information.

[0056] In some embodiments, the inventory update information at least includes the version information of the virtual terminals that meet the set conditions. Furthermore, the virtual terminals that meet the set conditions can be inventoried according to the priority corresponding to the version information, which can achieve the flexibility of inventory management, prioritize the inventory management of the virtual terminals with high priority, and improve the rationality of resource allocation.

[0057] In some embodiments, the heat value of the version information can be obtained, and the incremental priority corresponding to the version information can be determined according to the heat value of the version information. Here, the heat value is a quantitative index that measures the degree of attention or popularity of a certain version information within a specific time period. Optionally, the relevant data of the version information, such as the search volume, view volume, download volume, etc., can be collected, and then a set algorithm or model can be used to calculate the heat value of the version information according to the relevant data.

[0058] In some embodiments, the corresponding relationship between different heat value ranges and different incremental priorities can be preset in advance, and after determining the heat value of the version information, the incremental priority corresponding to the version information can be determined by querying this corresponding relationship.

[0059] Exemplarily, assume that the heat value ranges are range A, range B, and range C respectively, where the incremental priority corresponding to range A is 1, the incremental priority corresponding to range B is 2, and the incremental priority corresponding to range C is 3, and the magnitude relationship of the incremental priorities is 3 is greater than 2 is greater than 1. If the heat value of the version information of virtual terminal 1 that meets the set conditions is m and m is within range B, then the incremental priority of virtual terminal 1 is determined to be 2.

[0060] Furthermore, incremental operations can be performed on the virtual terminals that meet the set conditions according to the incremental priority. Optionally, the order of the incremental operations can be determined according to the magnitude of the incremental priority to perform incremental operations on the virtual terminals that meet the set conditions. That is to say, the greater the incremental priority, the earlier the order of the incremental operations corresponding to the virtual terminals that meet the set conditions. That is to say, the virtual terminals with a large incremental priority are incrementally operated first.

[0061] According to the inventory management method of the virtual terminal provided by the embodiments of the present disclosure, at least one parameter of the virtual terminal is monitored, and the virtual terminal that meets the set conditions is determined according to the at least one parameter, so as to determine the inventory update information. Thus, the incremental priority of the virtual terminal can be determined according to the inventory update information, and the incremental operation of the virtual terminal can be performed according to the incremental priority. Therefore, by determining the virtual terminal that meets the set conditions according to the at least one parameter and determining the inventory update information according to the virtual terminal, the inventory management of the resource pool is realized according to the actual inventory situation of the virtual terminal in the resource pool, which can reduce the resource vacancy rate and improve the response speed.

[0062] Figure 3 FIG. is a schematic flowchart of an inventory management method for a virtual terminal provided by an embodiment of the present disclosure.

[0063] As Figure 3 shown, the inventory management method of the virtual terminal may include:

[0064] S301, receiving order information of a target object.

[0065] In some embodiments, the target object may perform a purchase operation on the client, and the client generates order information according to the purchase operation of the target object and sends it to the server. Thus, the order information of the target object can be received.

[0066] In some embodiments, the order information may include a first quantity of virtual terminals ordered by the target object.

[0067] S302, obtaining inventory update information according to the order information.

[0068] In some embodiments, the inventory update information may be determined according to the first quantity carried in the order information.

[0069] In some embodiments, in order to improve the utilization rate of resources and the order processing rate, the first quantity to be pre-ordered may be determined according to the order information, and according to the first quantity, it is determined whether to split the order information. After determining to split the order information, the inventory update information is determined according to the split order information, thereby enhancing the dynamic response speed.

[0070] In some embodiments, an order quantity threshold may be set, and it is determined whether to split the order information according to the size of the first quantity and the order quantity threshold.

[0071] In some embodiments, in response to the first quantity being greater than the order quantity threshold, the order information is split to obtain multiple sub-order information, so that the second quantity of the virtual terminals pre-ordered by each of the multiple sub-order information can be determined. Wherein, the second quantity is less than or equal to the order quantity threshold.

[0072] Optionally, the number of multiple sub-order information can be determined, and the first quantity can be evenly divided according to the number of sub-order information to obtain a second quantity. Then, it can be determined whether the second quantity is greater than the order quantity threshold. If it is still greater, the number of sub-order information can be increased, and the first quantity can be evenly divided until a second quantity less than the order quantity threshold is obtained.

[0073] In some embodiments, by determining the second quantity of the virtual terminals to be pre-ordered for each of the multiple sub-order information, the inventory update information can be determined according to the second quantity of the multiple sub-order information. That is to say, the inventory update information includes the second quantity of the multiple sub-order information.

[0074] In some embodiments, the type of the virtual terminal to be pre-ordered can also be determined according to the order information, and the inventory update information can be determined according to the type of the virtual terminal. Wherein, the type of the virtual terminal can be the number of shards of the virtual terminal. That is to say, the inventory update information can also include the type of the virtual terminal.

[0075] S303, perform at least one inventory management operation of incremental operation and allocation operation on the virtual terminals in the resource pool according to the inventory update information.

[0076] In some embodiments, the inventory management operation includes at least one of an incremental operation and an allocation operation. According to the inventory update information, an incremental operation can be performed on the virtual terminals in the resource pool, or an allocation operation can be performed on the virtual terminals in the resource pool, or an incremental operation and an allocation operation can be performed on the virtual terminals in the resource pool.

[0077] In the embodiments of the present disclosure, inventory management of the virtual terminals in the resource pool is performed according to the inventory update information, which can realize real-time synchronization according to the inventory update information, automatically perform incremental or allocation operations on the virtual terminals in the resource pool, so as to improve inventory management efficiency, reduce manual intervention, and thus reduce operation and maintenance costs.

[0078] In some embodiments, when the first quantity is greater than the order quantity threshold, inventory management of the virtual terminals in the resource pool can be to first perform an incremental operation on the virtual terminals in the resource pool, and then perform an allocation operation on the incremented virtual terminals. By combining the incremental operation and the allocation operation, the number of virtual terminals in the resource pool can be adjusted in time, thereby improving the dynamic response speed.

[0079] In some embodiments, the first virtual terminals can be incrementally added to the resource pool according to the second quantity of the sub-order information. That is to say, by obtaining the second quantity of each sub-order information, the first virtual terminals are incrementally added to the resource pool in sequence according to the second quantity. For example, if there are 3 sub-order information with corresponding second quantities of A, B, and C respectively, then A first virtual terminals can be incrementally added to the resource pool first, then B first virtual terminals are incrementally added to the resource pool, and then C first virtual terminals are incrementally added to the resource pool.

[0080] Furthermore, the first virtual terminals can be allocated to the client associated with the order information. Optionally, by determining the client that sends the order information of the target object and using this client as the client associated with the order information.

[0081] In some embodiments, when the first quantity is greater than the order quantity threshold, inventory management of the virtual terminals in the resource pool can also be directly performing an allocation operation on the virtual terminals in the resource pool to improve the efficiency of inventory management. That is to say, if the number of virtual terminals in the resource pool is greater than the first quantity, then an allocation operation can be directly performed on the virtual terminals in the resource pool.

[0082] In some embodiments, according to the inventory update information, the available virtual terminals for each sub-order information can be determined in batches from the resource pool, and then the available virtual terminals are allocated to the client associated with the order information.

[0083] In some embodiments, if the first quantity is less than or equal to the order quantity threshold, there is no need to split the order information, and the inventory update information can be directly determined according to the order information, thereby improving the order processing efficiency. That is to say, in response to the first quantity being less than or equal to the order quantity threshold, according to the order information, the available virtual terminals in the resource pool are determined, and according to the available virtual terminals, the inventory update information is determined. Optionally, the inventory update information can be determined according to the number of available virtual terminals.

[0084] In some embodiments, the requirements of the virtual terminals indicated by the order information can be determined, and according to the requirements of the virtual terminals, the virtual terminals in the resource pool are screened to obtain the virtual terminals that meet the requirements as the available virtual terminals.

[0085] In some embodiments, if the inventory update information includes the number of available virtual terminals, then it can be determined whether an incremental operation needs to be performed on the resource pool according to the number of virtual terminals and the first quantity, so as to improve the accuracy of inventory management and avoid the situation of insufficient virtual terminal allocation during subsequent allocation operations.

[0086] In some embodiments, by determining that the number of available virtual terminals is less than the first number according to the inventory update information, a second virtual terminal is incremented to the resource pool, and then the second virtual terminal and the available virtual terminals are allocated to the client associated with the order information.

[0087] According to the virtual terminal inventory management method provided by the embodiments of the present disclosure, by receiving the order information of the target object and determining the inventory update information according to the order information, the inventory of the virtual terminals in the resource pool is managed according to the inventory update information. When determining the inventory update information according to the order information, multiple sub-order information can be obtained by splitting the order information according to the first number corresponding to the order information, thereby improving the order processing efficiency.

[0088] Based on the above embodiments, the embodiments of the present disclosure can explain the process of determining the available virtual terminals in the resource pool, such as Figure 4 As shown, the process of determining the available virtual terminals in the resource pool may include:

[0089] S401, according to the order information, perform multi-dimensional screening on the virtual terminals in the resource pool to obtain the third virtual terminal.

[0090] In some embodiments, performing multi-dimensional screening on the virtual terminals in the resource pool may include performing address screening on the virtual terminals, performing version screening on the virtual terminals, performing screening on the application programs of the virtual terminals, etc., to achieve multi-dimensional screening. By performing multi-dimensional screening on the virtual terminals, the matching degree between the virtual terminals and the order information is optimized.

[0091] In some embodiments, the address information of the client can be determined according to the order information, and then the virtual terminals in the resource pool can be screened according to the address information to obtain candidate virtual terminals. Optionally, the address information may include the geographical area where the client is located and the location of the computer room where the client is located. Then, when screening the virtual terminals according to the address information, the virtual terminals in the geographical area where the client is located can be screened out first according to the geographical area, and then the virtual terminals in the computer room where the client is located can be screened out according to the location of the computer room as candidate virtual terminals.

[0092] Furthermore, the target version and the application program information of the client can be determined according to the order information, and the candidate virtual terminals can be screened according to the target version and the application program information to obtain the third virtual terminal. That is to say, the version of the third virtual terminal can match the target version, and the third virtual terminal can run the application program of the client.

[0093] Figure 5The flowchart of multi-dimensional screening of virtual terminals in the resource pool is shown. By obtaining order information and determining the address information of the client from the order information, the virtual terminals can be screened by region according to the address information to filter out virtual terminals in regions other than the client's location, and further screened by computer room according to the location of the computer room where the client is located to filter out virtual terminals in computer rooms other than the client's location, thereby obtaining candidate virtual terminals.

[0094] Furthermore, the required target version and the application information of the client are determined from the order information, so that the candidate virtual terminals are screened according to the target version to obtain candidate virtual terminals that can match the target version, and further application screening is performed according to the application information to screen out candidate virtual terminals that can run the application as the third virtual terminal.

[0095] S402: Screen the third virtual terminal according to the authority level of the user associated with the order information to obtain a fourth virtual terminal.

[0096] In some embodiments, the required number of shards can be determined based on the permission level of the user associated with the order information, and then the third virtual terminal can be screened based on the number of shards corresponding to the third virtual terminal to obtain a fourth virtual terminal that meets the user's permission level, thereby achieving dynamic adjustment of resources.

[0097] In some embodiments, the number of shards is related to the performance of the physical machine, wherein the fewer the number of shards, the higher the corresponding physical machine performance. That is, the higher the authority level of the user associated with the order information, the fewer the number of shards.

[0098] In some embodiments, based on the user's authority level, the first shard number of the physical machine authorized for the user is determined, and the second shard number of the physical machine where the third virtual terminal is located is determined, and then the third virtual terminal can be screened based on the first shard number and the second shard number to obtain the fourth virtual terminal.

[0099] In some embodiments, a third virtual terminal whose second fragment quantity is less than or equal to the first component quantity may be determined, and the third virtual terminal whose second fragment quantity is less than or equal to the first component quantity may be used as the fourth virtual terminal.

[0100] S403: Screen the fourth virtual terminal according to the resource whole-slice matching strategy to obtain available virtual terminals.

[0101] In some embodiments, to reduce resource fragmentation and improve resource continuity, the fourth virtual terminal can be screened according to the resource whole-piece matching strategy, so as to obtain a fourth virtual terminal with a low fragmentation rate as an available virtual terminal. By implementing the resource whole-piece matching strategy, frequent resource replacement can be avoided, thereby reducing the replacement rate and improving the stability and persistence of resources.

[0102] In some embodiments, by obtaining the fragmentation rate of the fourth virtual terminal and screening the fourth virtual terminal according to the fragmentation rate of the fourth virtual terminal, an available virtual terminal is obtained. Optionally, the fourth virtual terminals can be sorted in ascending order according to the fragmentation rate, and the fourth virtual terminal with a smaller fragmentation rate can be determined from the sorting result as the available virtual terminal.

[0103] For example, the virtual terminals in the resource pool are located in Machine Room 1 and Machine Room 2 respectively. Among them, the fragmentation rate of the fourth virtual terminal in Machine Room 1 is A, and the fragmentation rate of the fourth virtual terminal in Machine Room 2 is B. If A is less than B, then the fourth virtual terminal in Machine Room 1 is determined as the available virtual terminal.

[0104] According to the virtual terminal inventory management method provided by the embodiments of the present disclosure, by screening the virtual terminals in the resource pool, accurate matching of resources can be achieved, the fragmentation rate of resources can be reduced, and the utilization rate of resources can be improved.

[0105] Based on the above embodiments, the embodiments of the present disclosure can also screen the virtual terminals in the resource pool according to the status evaluation information of the virtual terminals, and screen the virtual terminals according to the running status of the neighbor nodes of the virtual terminals, so as to obtain virtual terminals with excellent performance and high stability.

[0106] In some embodiments, by determining the status evaluation information of the virtual terminals in the resource pool and screening the virtual terminals in the resource pool based on the status evaluation information of the virtual terminals. And / or, determine the neighbor nodes of the virtual terminal, determine the running status of the neighbor nodes, and screen the virtual terminals in the resource pool based on the running status of the neighbor nodes.

[0107] In some embodiments, the stability index and performance index of the virtual terminal are monitored to obtain the monitoring index information of the virtual terminal, and the status of the virtual terminal is evaluated according to the monitoring index information of the virtual terminal to obtain the status evaluation information of the virtual terminal.

[0108] Optionally, the stability index of the virtual terminal includes the fragmentation rate and offline rate of the virtual terminal. The performance index of the virtual terminal includes indicators such as the size of the Central Processing Unit (CPU), the running temperature of the virtual terminal, the virtual terminal system version, and performance loss.

[0109] In some embodiments, based on the status evaluation model, weighted calculation can be performed on the monitoring metric information to evaluate the status of the virtual terminal, so as to obtain the status score of the virtual terminal as the status evaluation information of the virtual terminal. Among them, the higher the status score, the better the performance and the higher the stability of the virtual terminal, thereby realizing real-time monitoring of the virtual terminal to timely detect whether there are problems with the virtual terminal, and then realizing automated operation and maintenance.

[0110] In some embodiments, when the resource pool includes original virtual terminals and incremental virtual terminals, the historical operation data of the original virtual terminals can be obtained, and based on the historical operation data, the monitoring metric information of the original virtual terminals can be determined, and the incremental virtual terminals can be tested to obtain the test data of the incremental virtual terminals, and based on the test data, the monitoring metric information of the incremental virtual terminals can be determined.

[0111] That is to say, the stability metrics and performance metrics can be obtained from the historical operation data and the test data to obtain the monitoring metric information of the virtual terminal, making the monitoring metric information more comprehensive.

[0112] In some embodiments, when the status evaluation information of the virtual terminal is obtained, the stability parameter prediction of the virtual terminal can be performed according to the status evaluation information of the virtual terminal and the running status of the neighbor nodes, so as to realize real-time monitoring and prediction of the virtual terminal, and then be able to timely discover and solve potential problems and reduce the offline rate of the virtual terminal.

[0113] Optionally, a stability prediction model can be used to predict the stability parameters of the virtual terminal to determine whether the resource pool is stable.

[0114] In some embodiments, by determining the stability threshold and comparing the size of the stability parameter and the stability threshold, the stability of the resource pool can be judged according to the size relationship. In response to the stability parameter being less than or equal to the set stability threshold, a disaster recovery policy is triggered. That is to say, when the stability parameter is less than or equal to the set stability threshold, the resource pool where the virtual terminal is located is unstable, and then the disaster recovery policy is triggered.

[0115] Figure 6The figure shows a schematic flow chart for evaluating a virtual terminal. By obtaining the stability index and performance index of the virtual terminal as the monitoring index information of the virtual terminal, and inputting the monitoring index information into an evaluation model for weighted calculation to obtain the status evaluation information of the virtual terminal. Further, determine the running status of the neighbor nodes of the virtual terminal, and input the status evaluation information and the running status of the neighbor nodes into a stability prediction model, so as to predict the stability parameter of the virtual terminal, and determine whether the resource pool is stable according to the stability parameter. When the stability parameter is less than or equal to the set stability threshold, the resource pool where the virtual terminal is located is unstable, and a disaster recovery policy is triggered.

[0116] Figure 7 The figure shows a schematic flow chart for managing virtual terminals in a resource pool. Figure 7 It includes a dynamic replenishment module 701, an intelligent allocation module 702, and a resource pool 703. Among them, the dynamic replenishment module 701 is used to perform an increment operation on the virtual terminals in the resource pool 703, and the intelligent allocation module 702 is used to perform an allocation operation on the virtual terminals in the resource pool 703.

[0117] The dynamic replenishment module 701 includes: obtaining at least one parameter of the vacancy rate and fragmentation rate of the virtual terminal from the resource pool 703, and determining the virtual terminal unit 711 that meets the set conditions in the dynamic replenishment module 701. Judging whether the virtual terminal meets the set conditions according to at least one parameter, and determining the virtual terminal that meets the set conditions. Furthermore, the inventory update information can be determined according to the virtual terminal that meets the set conditions. Further, the version information of the virtual terminal that meets the set conditions can be determined from the inventory update information, so as to determine the increment priority corresponding to the virtual terminal according to the version information, and thus the increment operation can be performed according to the increment priority.

[0118] The dynamic replenishment module 701 further includes: receiving order information, determining the first quantity of the pre-order corresponding to the order information, and using the order splitting unit 712 in the dynamic replenishment module 701 to judge whether to split the order information according to the first quantity. If the first quantity is greater than the order quantity threshold, the order information is split to obtain multiple sub-order information. Furthermore, the inventory update information can be determined according to the second quantity of the pre-ordered virtual terminals in each of the multiple sub-order information, and thus the resource pool 703 can be incremented according to the second quantity in the inventory update information.

[0119] Among them, the inventory update information unit 713 in the dynamic replenishment module 701 determines the inventory update information.

[0120] The intelligent allocation module 702 includes: a first screening unit 721 that performs multi-dimensional screening on virtual terminals in the resource pool 703 using a matching algorithm according to order information to obtain a third virtual terminal. Further, a second screening unit 722 screens the number of slices of the physical machine where the third virtual terminal is located according to the privilege level of the user associated with the order information, so as to obtain a fourth virtual terminal with a smaller number of slices. Further, a third screening unit 723 screens the fourth virtual terminal based on the resource whole-piece matching strategy to obtain an available virtual terminal, and allocates the available virtual terminal to the client associated with the order information.

[0121] Corresponding to the virtual terminal inventory management methods provided in the above several embodiments, an embodiment of the present disclosure further provides a virtual terminal inventory management device. Since the virtual terminal inventory management device provided in the embodiments of the present disclosure corresponds to the virtual terminal inventory management methods provided in the above several embodiments, the implementation manners of the above virtual terminal inventory management methods are also applicable to the virtual terminal inventory management device provided in the embodiments of the present disclosure and will not be described in detail in the following embodiments.

[0122] Figure 8 It is a schematic structural diagram of a virtual terminal inventory management device provided in an embodiment of the present disclosure.

[0123] As Figure 8 shown, the virtual terminal inventory management device 800 of the embodiment of the present disclosure includes an acquisition module 801 and a management module 802.

[0124] The acquisition module 801 is used to obtain inventory update information of virtual terminals in the resource pool;

[0125] The management module 802 is used to perform inventory management on the virtual terminals in the resource pool according to the inventory update information.

[0126] In an embodiment of the present disclosure, the acquisition module 801 is further used to: monitor at least one parameter among the vacancy rate and fragmentation rate of virtual terminals; obtain inventory update information according to at least one parameter among the vacancy rate and fragmentation rate.

[0127] In an embodiment of the present disclosure, the acquisition module 801 is further used to: determine virtual terminals in the resource pool whose at least one parameter meets the set conditions; determine inventory update information according to the virtual terminals that meet the set conditions.

[0128] In an embodiment of the present disclosure, the management module 802 is further used to: obtain the popularity value of version information; determine the incremental priority corresponding to the version information according to the popularity value of the version information; perform an incremental operation on the virtual terminals that meet the set conditions according to the incremental priority.

[0129] In one embodiment of the present disclosure, the obtaining module 801 is further configured to: receive order information of a target object; and obtain inventory update information according to the order information.

[0130] In one embodiment of the present disclosure, the management module 802 is further configured to: perform at least one inventory management operation of incremental operation and allocation operation on the virtual terminals in the resource pool according to the inventory update information.

[0131] In one embodiment of the present disclosure, the obtaining module 801 is further configured to: determine a first quantity to be pre-ordered according to the order information; in response to the first quantity being greater than an order quantity threshold, split the order information to obtain multiple sub-order information; determine a second quantity of the virtual terminals to be pre-ordered for each of the multiple sub-order information; and determine the inventory update information according to the second quantity of the multiple sub-order information.

[0132] In one embodiment of the present disclosure, the management module 802 is further configured to: increment a first virtual terminal to the resource pool according to the second quantity of the sub-order information; and allocate the first virtual terminal to the client associated with the order information.

[0133] In one embodiment of the present disclosure, the management module 802 is further configured to: determine available virtual terminals for each sub-order information from the resource pool in batches according to the inventory update information; and allocate the available virtual terminals to the client associated with the order information.

[0134] In one embodiment of the present disclosure, the obtaining module 801 is further configured to: in response to the first quantity being less than or equal to the order quantity threshold, determine available virtual terminals in the resource pool according to the order information; and determine the inventory update information according to the available virtual terminals.

[0135] In one embodiment of the present disclosure, the management module 802 is further configured to: determine that the number of available virtual terminals is less than the first quantity according to the inventory update information, increment a second virtual terminal to the resource pool; and allocate the second virtual terminal and the available virtual terminals to the client associated with the order information.

[0136] In one embodiment of the present disclosure, the obtaining module 801 is further configured to: perform multi-dimensional screening on the virtual terminals in the resource pool according to the order information to obtain a third virtual terminal; perform screening on the third virtual terminal according to the permission level of the user associated with the order information to obtain a fourth virtual terminal; and perform screening on the fourth virtual terminal according to the resource whole-piece matching strategy to obtain available virtual terminals.

[0137] In one embodiment of the present disclosure, the obtaining module 801 is further configured to: determine the address information of the client according to the order information; screen the virtual terminals in the resource pool according to the address information to obtain candidate virtual terminals; determine the required target version and the application information of the client according to the order information; and screen the candidate virtual terminals according to the target version and the application information to obtain a third virtual terminal.

[0138] In one embodiment of the present disclosure, the obtaining module 801 is further configured to: determine the first shard quantity of the physical machines authorized for the user according to the user's privilege level; determine the second shard quantity of the physical machine where the third virtual terminal is located; and screen the third virtual terminal according to the first shard quantity and the second shard quantity to obtain a fourth virtual terminal.

[0139] In one embodiment of the present disclosure, the obtaining module 801 is further configured to: obtain the fragmentation rate of the fourth virtual terminal; and screen the fourth virtual terminal according to the fragmentation rate of the fourth virtual terminal to obtain an available virtual terminal.

[0140] In one embodiment of the present disclosure, the obtaining module 801 is further configured to: determine the status evaluation information of the virtual terminals in the resource pool, and screen the virtual terminals in the resource pool based on the status evaluation information of the virtual terminals; and / or determine the neighbor nodes of the virtual terminal, determine the running status of the neighbor nodes, and screen the virtual terminals in the resource pool based on the running status of the neighbor nodes.

[0141] In one embodiment of the present disclosure, the obtaining module 801 is further configured to: obtain the monitoring metric information of the virtual terminal; and evaluate the status of the virtual terminal according to the monitoring metric information of the virtual terminal to obtain the status evaluation information of the virtual terminal.

[0142] In one embodiment of the present disclosure, the obtaining module 801 is further configured to: obtain the historical operation data of the original virtual terminal, and determine the monitoring metric information of the original virtual terminal based on the historical operation data; obtain the test data of the incremental virtual terminal, and determine the monitoring metric information of the incremental virtual terminal based on the test data.

[0143] In one embodiment of the present disclosure, the apparatus further includes: predicting the stability parameter of the virtual terminal according to the status evaluation information of the virtual terminal and the running status of the neighbor nodes; and triggering a disaster recovery policy in response to the stability parameter being less than or equal to a set stability threshold.

[0144] According to the inventory management device of the virtual terminal provided by the embodiments of the present disclosure, by obtaining the inventory information of the virtual terminals in the resource pool and performing inventory management of the virtual resources according to the inventory information, thus, according to the inventory update information of the virtual terminals, inventory management of the virtual terminals in the resource pool is performed, which can achieve timely inventory management, improve the response speed of inventory management, perform inventory management according to the inventory update information, reduce manual intervention, improve the accuracy of inventory management, further improve the automation level of inventory management, and reduce the operation and maintenance costs.

[0145] In the technical solution of the present disclosure, the acquisition, storage, and application of the user's personal information involved all comply with the provisions of relevant laws and regulations and do not violate public order and good customs.

[0146] According to the embodiments of the present disclosure, the present disclosure also provides an electronic device, a readable storage medium, and a computer program product.

[0147] Figure 9 FIG. shows a schematic block diagram of an exemplary electronic device 900 that can be used to implement the embodiments of the present disclosure. The electronic device is intended to represent various forms of digital computers, such as, a laptop computer, a desktop computer, a workbench, a personal digital assistant, a server, a blade server, a mainframe computer, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as, a personal digital processor, a cellular phone, a smart phone, a wearable device, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are only examples and are not intended to limit the implementation of the present disclosure described and / or claimed herein.

[0148] As Figure 9 shown, the device 900 includes a computing unit 901, which can execute various appropriate actions and processes according to the computer programs / instructions stored in the read-only memory (ROM) 902 or the computer programs / instructions loaded from the storage unit 906 into the random access memory (RAM) 903. In the RAM 903, various programs and data required for the operation of the device 900 can also be stored. The computing unit 901, the ROM 902, and the RAM 903 are connected to each other through a bus 904. The input / output (I / O) interface 905 is also connected to the bus 904.

[0149] Multiple components in device 900 are connected to I / O interface 905, including: input unit 906 such as a keyboard, mouse, etc.; output unit 907, such as various types of displays, speakers, etc.; storage unit 908, such as a disk, optical disc, etc.; and communication unit 909, such as a network card, modem, wireless communication transceiver, etc. Communication unit 909 allows device 900 to exchange information / data with other devices via a computer network such as the Internet and / or various telecommunication networks.

[0150] Computing unit 901 can be various general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of computing unit 901 include but are not limited to a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, a digital signal processor (DSP), and any suitable processor, controller, microcontroller, etc. Computing unit 901 executes the various methods and processes described above, such as the inventory management method of the virtual terminal. For example, in some embodiments, the inventory management method of the virtual terminal can be implemented as a computer software program that is tangibly contained in a machine-readable medium, such as storage unit 906. In some of these embodiments, part or all of the computer program / instructions can be loaded and / or installed onto device 900 via ROM 902 and / or communication unit 909. When the computer program / instructions are loaded into RAM 903 and executed by computing unit 901, one or more steps of the inventory management method of the virtual terminal described above can be executed. Alternatively, in other embodiments, computing unit 901 can be configured to execute the inventory management method of the virtual terminal in any other suitable manner (e.g., by means of firmware).

[0151] The various embodiments of the systems and technologies described above in this article can be implemented in digital electronic circuit systems, integrated circuit systems, field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), application-specific standard products (ASSPs), system-on-chip systems (SOCs), complex programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments can include: implemented in one or more computer programs / instructions that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a dedicated or general-purpose programmable processor, and can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit the data and instructions to the storage system, the at least one input device, and the at least one output device.

[0152] The program code for implementing the methods of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general purpose computer, a special purpose computer, or other programmable data processing device, such that the program codes, when executed by the processor or controller, cause the functions / operations specified in the flowchart and / or block diagram to be implemented. The program code may be executed entirely on the machine, partially on the machine, as a stand-alone software package partially on the machine and partially on a remote machine, or entirely on the remote machine or server.

[0153] In the context of the present disclosure, a machine-readable medium may be a tangible medium that can contain or store a program for use by or in connection with an instruction execution system, apparatus, or device. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0154] For providing interaction with a user, the systems and techniques described herein may be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or a trackball) by which the user can provide input to the computer. Other kinds of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).

[0155] The systems and techniques described herein can be implemented in a computing system including backend components (e.g., as a data server), or a computing system including middleware components (e.g., an application server), or a computing system including frontend components (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described herein), or a computing system including any combination of such backend components, middleware components, or frontend components. The components of the system can be interconnected with each other by digital data communication in any form or medium (e.g., a communication network). Examples of communication networks include: local area network (LAN), wide area network (WAN), the Internet, and blockchain networks.

[0156] A computer system can include a client and a server. The client and the server are generally far from each other and usually interact through a communication network. The client-server relationship is generated by computer programs / instructions running on the respective computers and having a client-server relationship with each other. The server can be a cloud server, or a server of a distributed system, or a server incorporating blockchain.

[0157] It should be understood that various forms of the processes shown above can be used, with steps reordered, added, or deleted. For example, the steps recited in the disclosure can be executed in parallel, sequentially, or in a different order, as long as the desired results of the technical solutions disclosed in the present disclosure can be achieved, and no limitations are imposed herein.

[0158] The above specific embodiments do not constitute a limitation on the protection scope of the present disclosure. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of the present disclosure shall be included within the protection scope of the present disclosure.

Claims

1. An inventory management method for a virtual terminal, characterized in that, The method includes: Obtaining inventory update information of virtual terminals in a resource pool; Performing inventory management on the virtual terminals in the resource pool according to the inventory update information.

2. The method according to claim 1, wherein The obtaining of the inventory update information of the virtual terminals in the resource pool includes: Monitoring at least one parameter of the vacancy rate and fragmentation rate of the virtual terminals; Obtaining the inventory update information according to at least one parameter of the vacancy rate and fragmentation rate.

3. The method according to claim 2, wherein The obtaining of the inventory update information according to at least one parameter of the vacancy rate and fragmentation rate includes: Determining virtual terminals in the resource pool whose at least one parameter meets a set condition; Determining the inventory update information according to the virtual terminals that meet the set condition.

4. The method according to claim 3, wherein, The inventory update information at least includes version information of the virtual terminals that meet the set condition. The performing of inventory management on the virtual terminals in the resource pool according to the inventory update information includes: Obtaining a popularity value of the version information; Determining an incremental priority corresponding to the version information according to the popularity value of the version information; Performing an incremental operation on the virtual terminals that meet the set condition according to the incremental priority.

5. The method according to claim 1, wherein The obtaining of the inventory update information of the virtual terminals in the resource pool includes: Receiving order information of a target object; Obtaining the inventory update information according to the order information.

6. The method according to claim 5, wherein, The performing of inventory management on the virtual terminals in the resource pool according to the inventory update information includes: Performing at least one inventory management operation of an incremental operation and an allocation operation on the virtual terminals in the resource pool according to the inventory update information.

7. The method according to claim 5, wherein The obtaining of the inventory update information according to the order information includes: Determining a first quantity of pre-orders according to the order information; In response to the first quantity being greater than an order quantity threshold, splitting the order information to obtain multiple sub-order information; Determining a second quantity of virtual terminals to be pre-ordered for each of the multiple sub-order information; Determining the inventory update information according to the second quantity of the multiple sub-order information.

8. The method according to claim 6, wherein The performing of inventory management on the virtual terminals in the resource pool according to the inventory update information includes: Incrementing a first virtual terminal to the resource pool according to the second quantity of the sub-order information; Allocating the first virtual terminal to a client associated with the order information.

9. The method according to claim 7, wherein, The performing of inventory management on the virtual terminals in the resource pool according to the inventory update information includes: Determining available virtual terminals for each of the sub-order information from the resource pool in batches according to the inventory update information; Allocating the available virtual terminals to a client associated with the order information.

10. The method according to claim 7, wherein The method further includes: In response to the first quantity being less than or equal to the order quantity threshold, determining available virtual terminals in the resource pool according to the order information; Determining the inventory update information according to the available virtual terminals.

11. The method according to claim 10, wherein, The performing of inventory management on the virtual terminals in the resource pool according to the inventory update information includes: In response to the number of the available virtual terminals determined according to the inventory update information being less than the first quantity, incrementing a second virtual terminal to the resource pool; Allocate the second virtual terminal and the available virtual terminal to the client associated with the order information.

12. The method according to any one of claims 9-11, wherein, Determine the available virtual terminals in the resource pool, including: Perform multi-dimensional screening on the virtual terminals in the resource pool according to the order information to obtain the third virtual terminal; Screen the third virtual terminal according to the privilege level of the user associated with the order information to obtain the fourth virtual terminal; Screen the fourth virtual terminal according to the resource whole-piece matching strategy to obtain the available virtual terminal.

13. The method according to claim 12, wherein The performing multi-dimensional screening on the virtual terminals in the resource pool according to the order information to obtain the third virtual terminal includes: Determine the address information of the client according to the order information; Screen the virtual terminals in the resource pool according to the address information to obtain candidate virtual terminals; Determine the required target version and the application program information of the client according to the order information; Screen the candidate virtual terminals according to the target version and the application program information to obtain the third virtual terminal.

14. The method according to claim 12, wherein, The screening the third virtual terminal according to the privilege level of the user associated with the order information to obtain the fourth virtual terminal includes: Determine the first shard quantity of the physical machines authorized for the user according to the privilege level of the user; Determine the second shard quantity of the physical machine where the third virtual terminal is located; Screen the third virtual terminal according to the first shard quantity and the second shard quantity to obtain the fourth virtual terminal.

15. The method according to claim 12, wherein, The screening the fourth virtual terminal according to the resource whole-piece matching strategy to obtain the available virtual terminal includes: Obtain the fragmentation rate of the fourth virtual terminal; Screen the fourth virtual terminal according to the fragmentation rate of the fourth virtual terminal to obtain the available virtual terminal.

16. The method according to claim 12, wherein, The method further includes: Determine the status evaluation information of the virtual terminals in the resource pool, and screen the virtual terminals in the resource pool based on the status evaluation information of the virtual terminals; and / or, Determine the neighbor nodes of the virtual terminal, determine the running status of the neighbor nodes, and screen the virtual terminals in the resource pool based on the running status of the neighbor nodes.

17. According to the method of claim 16, the determining the status evaluation information of the virtual terminals in the resource pool includes: Obtain the monitoring metric information of the virtual terminal; Evaluate the status of the virtual terminal according to the monitoring metric information of the virtual terminal to obtain the status evaluation information of the virtual terminal.

18. The method according to claim 17, wherein The resource pool includes original virtual terminals and incremental virtual terminals. The obtaining the monitoring metric information of the virtual terminal includes: Obtain the historical operation data of the original virtual terminals, and determine the monitoring metric information of the original virtual terminals based on the historical operation data; Obtain the test data of the incremental virtual terminals, and determine the monitoring metric information of the incremental virtual terminals based on the test data.

19. The method according to claim 18, wherein The method further includes: Predict the stability parameters of the virtual terminal according to the status evaluation information of the virtual terminal and the running status of the neighbor nodes. In response to the stability parameter being less than or equal to a set stability threshold, a disaster recovery policy is triggered.

20. An inventory management device for a virtual terminal, characterized in that, The device includes: an acquisition module, configured to acquire inventory update information of virtual terminals in a resource pool; a management module, configured to perform inventory management on the virtual terminals in the resource pool according to the inventory update information.

21. An electronic device, comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein, the memory stores instructions executable by the at least one processor, and when the instructions are executed by the at least one processor, the at least one processor is enabled to execute the method according to any one of claims 1-19.

22. A non-transitory computer-readable storage medium storing computer instructions, wherein, The computer instructions are used to cause the computer to execute the method according to any one of claims 1-19.

23. A computer program product, comprising a computer program / instructions, characterized in that, When the computer program / instruction is executed by a processor, the method according to any one of claims 1-19 is implemented.