CN114265742A - Virtual terminal control method, device, system, electronic equipment and storage medium - Google Patents

Virtual terminal control method, device, system, electronic equipment and storage medium Download PDF

Info

Publication number
CN114265742A
CN114265742A CN202111550654.8A CN202111550654A CN114265742A CN 114265742 A CN114265742 A CN 114265742A CN 202111550654 A CN202111550654 A CN 202111550654A CN 114265742 A CN114265742 A CN 114265742A
Authority
CN
China
Prior art keywords
virtual terminal
target
cloud server
computing resources
target virtual
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111550654.8A
Other languages
Chinese (zh)
Inventor
王凯
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Qianxin Technology Group Co Ltd
Secworld Information Technology Beijing Co Ltd
Original Assignee
Qianxin Technology Group Co Ltd
Secworld Information Technology Beijing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Qianxin Technology Group Co Ltd, Secworld Information Technology Beijing Co Ltd filed Critical Qianxin Technology Group Co Ltd
Priority to CN202111550654.8A priority Critical patent/CN114265742A/en
Publication of CN114265742A publication Critical patent/CN114265742A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention provides a virtual terminal management and control method, a virtual terminal management and control device, a virtual terminal management and control system, electronic equipment and a storage medium, wherein the method is applied to a platform for managing a cloud server cluster and comprises the following steps: receiving an application instruction which is sent by a user terminal and carries virtual terminal attribute information; creating a target virtual terminal which accords with the attribute information of the virtual terminal and has storage resources based on the application instruction; and configuring computing resources which accord with the attribute information of the virtual terminal for the target virtual terminal so as to operate the target virtual terminal. The scheme provided by the invention solves the technical problem of low utilization rate of computing resources in the existing virtual terminal creation process.

Description

Virtual terminal control method, device, system, electronic equipment and storage medium
Technical Field
The invention relates to a cloud server, in particular to a virtual terminal management and control method, a virtual terminal management and control device, a virtual terminal management and control system, electronic equipment and a storage medium.
Background
The existing cloud mobile phones are established in advance, and once a user applies for cloud mobile phone resources from a cloud server, the user can only use the cloud mobile phones; if a plurality of users use the cloud server, personal privacy can be leaked, but when the users do not use the cloud server, computing resources are always in an idle state, computing resources are wasted, and the utilization rate of the computing resources in the cloud server is low.
Disclosure of Invention
In view of the above problems, the present invention provides a method, an apparatus, a system, an electronic device, and a storage medium for managing and controlling a virtual terminal, so as to at least solve the technical problem of low utilization rate of computing resources in the existing virtual terminal creation process.
According to a first aspect of the present invention, a method for managing and controlling a virtual terminal is provided, which is applied to a platform for managing a cloud server cluster, and includes: receiving an application instruction which is sent by a user terminal and carries virtual terminal attribute information; creating a target virtual terminal which accords with the attribute information of the virtual terminal and has storage resources based on the application instruction; and configuring computing resources which accord with the attribute information of the virtual terminal for the target virtual terminal so as to operate the target virtual terminal.
Optionally, the configuring, for the target virtual terminal, a computing resource conforming to the virtual terminal attribute information to operate the target virtual terminal includes: performing weighted calculation on different types of computing resources corresponding to the current operating state of each cloud server in the cloud server cluster to obtain a computing resource weighted value of each cloud server; the different types of computing resources at least comprise CPU utilization rate, memory utilization rate and GPU utilization rate corresponding to each cloud server; selecting the cloud server with the largest computing resource weighted value as a target cloud server according to the computing resource weighted value of each cloud server; and configuring computing resources which accord with the attribute information of the virtual terminal for the target virtual terminal by the target cloud server, and initializing the target virtual terminal to start the target virtual terminal.
Optionally, after configuring, for the target virtual terminal, a computing resource that conforms to the attribute information of the virtual terminal to run the target virtual terminal, the method further includes: and if the target virtual terminal is not used in a first preset time period, recovering the computing resources in the target virtual terminal.
Optionally, before recovering the computing resources in the target virtual terminal, the method further includes: monitoring the number of online devices of a plurality of virtual terminals which run on a target cloud server running the target virtual terminal; and when the number of the online devices exceeds a threshold value, recovering the computing resources in the target virtual terminal.
Optionally, after it is monitored that the number of the online devices exceeds the threshold, the method further includes: monitoring whether the current residual computing resources of the target cloud server are sufficient; and if the current residual computing resources of the target cloud server are monitored to be insufficient, recovering the computing resources in the target virtual terminal.
Optionally, the method further includes: receiving a use instruction sent by a user terminal where a target user account corresponding to the target virtual terminal is located; monitoring whether the current residual computing resources of a target cloud server running the target virtual terminal meet the attribute information of the virtual terminal; responding to the use instruction to operate the target virtual terminal if the current residual computing resources of the target cloud server meet the attribute information of the virtual terminal; otherwise, the target user account is listed in a waiting mode.
According to a second aspect of the present invention, there is provided a management and control apparatus for a virtual terminal, which is applied to a platform for managing a cloud server cluster, and includes: the first receiving module is used for receiving an application instruction which is sent by a user terminal and carries virtual terminal attribute information; the creating module is used for creating a target virtual terminal which accords with the attribute information of the virtual terminal and has storage resources based on the application instruction; and the configuration module is used for configuring computing resources which accord with the attribute information of the virtual terminal for the target virtual terminal so as to operate the target virtual terminal.
Optionally, the configuration module includes: the computing unit is used for performing weighted computing on different types of computing resources corresponding to the current operating state of each cloud server in the cloud server cluster to obtain a computing resource weighted value of each cloud server; the different types of computing resources at least comprise CPU utilization rate, memory utilization rate and GPU utilization rate corresponding to each cloud server; the selecting unit is used for selecting the cloud server with the largest computing resource weighted value as a target cloud server according to the computing resource weighted value of each cloud server; and the configuration unit is used for configuring the computing resources which accord with the attribute information of the virtual terminal for the target virtual terminal by the target cloud server and initializing the target virtual terminal so as to start the target virtual terminal.
Optionally, the apparatus further comprises: the first recovery module is used for recovering the computing resources in the target virtual terminal when the target virtual terminal is not used within a first preset time period after the configuration module configures the computing resources which accord with the attribute information of the virtual terminal for the target virtual terminal.
Optionally, the apparatus further comprises: the first monitoring module is used for monitoring the number of online devices of a plurality of virtual terminals which run on a target cloud server of the target virtual terminal on line before the first recovery module recovers the computing resources in the target virtual terminal; and the second recovery module is used for recovering the computing resources in the target virtual terminal when the fact that the number of the online devices exceeds a threshold value is monitored.
Optionally, the apparatus further comprises: the second monitoring module is used for monitoring whether the current residual computing resources of the target cloud server are sufficient or not after the first monitoring module monitors that the number of the online devices exceeds a threshold value; and the third recovery module is used for recovering the computing resources in the target virtual terminal if the situation that the current residual computing resources of the target cloud server are insufficient is monitored.
Optionally, the apparatus further comprises: the second receiving module is used for receiving a use instruction sent by a user terminal where a target user account corresponding to the target virtual terminal is located; the third monitoring module is used for monitoring whether the current residual computing resources of a target cloud server running the target virtual terminal meet the attribute information of the virtual terminal; the execution module is used for responding to the use instruction to operate the target virtual terminal when the current residual computing resources of the target cloud server meet the attribute information of the virtual terminal; otherwise, the target user account is listed in a waiting mode.
According to a third aspect of the present invention, a management and control system for a virtual terminal is further provided, where the system includes a user terminal where a target user account is located, a management and control apparatus for the virtual terminal, and a cloud server cluster.
According to a fourth aspect of the present invention, there is also provided an electronic device comprising a memory having a computer program stored therein and a processor arranged to run the computer program to perform the steps of any of the above method embodiments.
According to a fifth aspect of the present invention, there is also provided a storage medium having a computer program stored therein, wherein the computer program is arranged to perform the steps in any of the apparatus embodiments described above when executed.
According to the management and control method of the virtual terminal, when an application instruction which is sent by a user terminal and carries the attribute information of the virtual terminal is received, a target virtual terminal which accords with the attribute information of the virtual terminal and has storage resources is created first instead of a virtual terminal which is created for a user in advance in the existing scheme, so that the effect of dynamically creating the virtual terminal is achieved; and then, the target virtual terminal can be operated only by configuring computing resources for the target virtual terminal, so that only storage resources are allocated without allocating computing resources before the virtual terminal is not put into use, the occupation of the computing resources can be reduced, the efficiency of creating the virtual terminal can be improved, and the technical problem of low utilization rate of the computing resources in the existing virtual terminal creating process is solved.
The foregoing description is only an overview of the technical solutions of the present invention, and the embodiments of the present invention are described below in order to make the technical means of the present invention more clearly understood and to make the above and other objects, features, and advantages of the present invention more clearly understandable.
The above and other objects, advantages and features of the present invention will become more apparent to those skilled in the art from the following detailed description of specific embodiments thereof, taken in conjunction with the accompanying drawings.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
fig. 1 is a flowchart of a method for managing and controlling a virtual terminal according to an embodiment of the present invention;
fig. 2 is a block diagram of a management and control apparatus of a virtual terminal according to an embodiment of the present invention;
fig. 3 is a block diagram of a management and control system of a virtual terminal according to an embodiment of the present invention.
Detailed Description
Exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the invention are shown in the drawings, it should be understood that the invention can be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the invention to those skilled in the art.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that such uses are interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the term "include" and its variants are to be read as open-ended terms meaning "including, but not limited to".
In order to solve the technical problems in the related art, the present embodiment provides a method for managing and controlling a virtual terminal. The following describes the technical solution of the present invention and how to solve the above technical problems with specific examples. The following several specific embodiments may be combined with each other, and details of the same or similar concepts or processes may not be repeated in some embodiments. Embodiments of the present invention will be described below with reference to the accompanying drawings.
Fig. 1 is a flowchart of a method for managing and controlling a virtual terminal according to an embodiment of the present invention, where as shown in fig. 1, the flowchart includes the following steps:
step S102, receiving an application instruction which is sent by a user terminal and carries virtual terminal attribute information;
in this embodiment, a user sends an application instruction through a user terminal, where the application instruction carries virtual terminal attribute information of a virtual terminal that the user applies for; and determining the configuration of the virtual terminal applied by the target user account according to the attribute information of the virtual terminal.
The virtual terminal is a terminal virtualized on a personal computer and software written for this purpose, such as a cloud mobile phone. The purpose of the virtual terminal is to enable a personal computer and its user to connect to a mainframe computer, where the user at the remote terminal can run applications on the remote computer as if sitting in front of the computer.
In addition, the virtual terminal attribute information at least comprises storage resources and computing resources, wherein the size of the storage resources, such as a hard disk, is 10G; computing resources, such as performance index data of a CPU (collectively referred to as a Central Processing Unit), a memory size, a GPU (Graphics Processing Unit), and the like, for example, the CPU is a 2-core computing resource, and the memory is 4G computing resource; it should be noted that the computing resources are for the user to enable the virtual terminal, and the virtual terminal can only operate if the computing resources are configured for the virtual terminal.
Step S104, a target virtual terminal which accords with the attribute information of the virtual terminal and has storage resources is established based on the application instruction;
in this embodiment, the user terminal only sends an application instruction of the virtual terminal, and the cloud server creates a virtual terminal with a storage function for the user first, because the user only allocates storage resources and does not allocate computing resources when applying for the virtual terminal, the occupation of the computing resources is reduced before the virtual terminal is not put into use, and not only is the utilization rate of the computing resources improved, but also the efficiency of creating the virtual terminal is improved.
A possible implementation manner is provided in the embodiment of the present application, and the step S104 specifically includes: performing information security authentication on a target user account applying for a target virtual terminal; and after the target user account passes the authentication, a physical machine where the cloud server cluster is located is used for creating a target virtual terminal which accords with the attribute information of the virtual terminal and has storage resources.
Taking a user applying for a cloud mobile phone as an example, the user sends an application instruction to a management platform through a user terminal, a user management/authentication and subsystem authentication service of the management platform authenticates a user account of the user, and after the user management/authentication and subsystem authentication service of the management platform passes the authentication, the user successfully logs in the management platform; and then, searching a physical machine in the virtualization subsystem according to the running state of the cluster server by resource scheduling of the management platform, and creating a cloud mobile phone with a storage function on the physical machine by an equipment management module of the management platform.
And step S106, configuring computing resources which accord with the attribute information of the virtual terminal for the target virtual terminal so as to operate the target virtual terminal.
In a possible implementation manner of this embodiment, when a user first needs to use a virtual terminal, the cloud server cluster configures, by sending a boot instruction through the user terminal, a computing resource that meets attribute information of the virtual terminal for a target virtual terminal having a storage function, and initializes the virtual terminal using the computing resource, so as to operate the target virtual terminal.
According to the management and control method of the virtual terminal, when an application instruction which is sent by a user terminal and carries the attribute information of the virtual terminal is received, a target virtual terminal which accords with the attribute information of the virtual terminal and has storage resources is created first instead of a virtual terminal which is created for a user in advance in the existing scheme, so that the effect of dynamically creating the virtual terminal is achieved; and then, the target virtual terminal can be operated only by configuring computing resources for the target virtual terminal, so that only storage resources are allocated without allocating computing resources before the virtual terminal is not put into use, the occupation of the computing resources can be reduced, the efficiency of creating the virtual terminal can be improved, and the technical problem of low utilization rate of the computing resources in the existing virtual terminal creating process is solved.
In an optional embodiment of the present disclosure, the step S106 specifically includes: carrying out weighted calculation on different types of computing resources corresponding to the current operating state of each cloud server in the cloud server cluster to obtain a computing resource weighted value of each cloud server; the different types of computing resources at least comprise CPU utilization rate, memory utilization rate and GPU utilization rate corresponding to each cloud server; selecting the cloud server with the largest computing resource weighted value as a target cloud server according to the computing resource weighted value of each cloud server; and configuring computing resources which accord with the attribute information of the virtual terminal for the target virtual terminal by the target cloud server, and initializing the target virtual terminal to start the target virtual terminal.
Taking a cloud mobile phone as an example, when a user uses the cloud mobile phone for the first time, the management platform performs weighted calculation on computing resources (such as operating data of usage rates of a CPU, a memory, a GPU and the like) of each server in a current operating state of each server for each cloud server in the cloud server cluster to obtain a plurality of computing resource weighted values (namely weighted values), wherein the maximum computing resource weighted value represents an idle cloud server with the minimum computing resource consumption or the minimum computing resource occupation; and then, according to the strategy management module and the application distribution management module, an idle cloud server is used for operating the cloud mobile phone, the equipment management module initializes the cloud mobile phone, and then the cloud mobile phone is started.
In this embodiment, the policy management module, that is, a management and control policy of the mobile phone, or some settings of the cloud mobile phone, for example, adding a watermark, disallowing to open a certain software, disallowing to use a certain function of the mobile phone, or forcing a user to install software, is equivalent to security management and control of the cloud mobile phone; the application distribution management module presets applications for the cloud mobile phone. After the cloud mobile phone is built based on the computing resources, the utilization strategy management module and the application distribution management module are completed, the cloud mobile phone can be delivered to the user for use.
In a possible implementation manner of the present disclosure, after the step S106, if the target virtual terminal is not used within the first preset time period, the computing resource in the target virtual terminal is recovered.
When the target virtual terminal is not used in a certain time period, the computing resources in the target virtual terminal are in an idle state; if the current computing resources in the cloud server running the target virtual terminal are insufficient, in order to not affect the cloud server to provide services for other virtual terminals, the target virtual terminal may be recovered, the user information associated with the target user account may be stored, and the computing resources in the target virtual terminal may be released, thereby improving the utilization rate of the computing resources.
Further, before the recovering the computing resources in the target virtual terminal, the method further includes: monitoring the number of online devices of a plurality of virtual terminals which run on a target cloud server running a target virtual terminal; and when the number of the online devices exceeds the threshold value, recovering the computing resources in the target virtual terminal.
In one example, according to a defined ratio of the cluster online devices (i.e. the threshold value), when the running device (virtual terminal) exceeds the ratio and is not used in a preset time period, for example, a user is not used for more than 30 minutes by a cloud mobile phone, the cloud mobile phone with the farthest offline time is automatically recovered until a preset number of allowed simultaneous online devices (threshold value) is reached.
In another example, assuming that 2 cloud mobile phones are not used in 30 minutes, the use frequency of the 2 cloud mobile phones is considered, the cloud mobile phone with the lower use frequency is closed, the user data is stored, and resources are recycled, so that the resource utilization rate is improved.
Optionally, the cloud mobile phone with the high use frequency is set to be never powered off, so that the user can use the cloud mobile phone at any time, and the user experience is improved.
Further, after the monitored number of the online devices exceeds the threshold, the method further comprises: monitoring whether the current residual computing resources of the target cloud server are sufficient; and if the current residual computing resources of the target cloud server are insufficient, recovering the computing resources in the target virtual terminal.
In one example, according to a defined cluster online device proportion (i.e. the above threshold), when the running device (virtual terminal) exceeds the proportion, is not used in a preset time period, and it is monitored that the current remaining computing resources of the cloud server running the target virtual terminal are insufficient, the cloud mobile phone with the farthest offline time is automatically recovered until the preset number of allowed simultaneous online devices (threshold) is reached.
In another example, when it is monitored that the current remaining computing resources of the target cloud server are insufficient, the cloud mobile phone with the farthest offline time is automatically recovered.
The embodiment of the present application provides a possible implementation manner, further including: receiving a use instruction sent by a user terminal where a target user account corresponding to a target virtual terminal is located; monitoring whether the current residual computing resources of a target cloud server running a target virtual terminal meet the attribute information of the virtual terminal; responding to the use instruction to operate the target virtual terminal if the current residual computing resources of the target cloud server meet the attribute information of the virtual terminal; otherwise, the target user account is listed in a waiting mode.
Taking the example that the user reenters the cloud mobile phone, the cloud mobile phone is restarted by using the user data, and when the residual computing resources in a cloud server running the cloud mobile phone are not enough, the target user request is queued by using a queuing algorithm according to the user level (such as the use frequency of the user); the user terminal prompts the target user to enter a queue, and informs the target user of how many people are waiting for computing resources in front in real time; after queuing is completed, the management background can automatically allocate computing resources, start the cloud mobile phone, initialize user data, update the pipe control strategy and the preset application, inform the user that service is available, and execute corresponding actions according to the strategy.
The embodiment of the application further provides a possible implementation manner, and when the user uses the cloud mobile phone again, at this time, the cloud mobile phone still has 3 states: 1) the cloud mobile phone of the user is in an available state, namely, the cloud mobile phone is not turned off, the computing resources are sufficient, and the user can directly use the cloud mobile phone; 2) the cloud mobile phone of the user is in a power-off state, computing resources are sufficient, after the user sends a command for starting the cloud mobile phone, the cloud mobile phone is started by the cloud server, and the user can directly use the cloud mobile phone; 3) the user applies for using the cloud mobile phone, but computing resources are insufficient, a target user request is brought into a queuing user to enter a waiting mode by using a queuing algorithm according to the user level, and a user is informed that a plurality of people wait in front.
Through the implementation steps, the embodiment of the invention can realize that when a user has the requirement of the virtual terminal, the storage resource is provided firstly, the computing resource is not distributed, the establishing speed is improved, the computing resource is distributed after the user requests to use the cloud mobile phone, the cloud mobile phone is dynamically distributed by the cloud server, and the computing resource is not occupied when the user does not use the mobile phone; dynamic recovery of computing resources of the cloud mobile phone can be realized, and the utilization rate of the computing resources is improved;
secondly, the cloud mobile phone of the scheme solves the limitation problem that the current user can only use a virtual mobile phone in an intranet or must use software in an office, or the local machine can only display the video stream of remote operation, the specific operation is on a remote server, and through the cloud mobile phone created by the scheme, the user can use the own mobile phone, and access the intranet software through the remote cloud mobile phone by safely connecting the remote server, so that the local machine (user terminal) cannot have any retention, and the remote server data cannot be influenced by the local machine;
in addition, the user cost can be reduced, when the use frequency of a user is high, the user generally uses one cloud mobile phone, and the over-matching of the cloud mobile phone by 1.5 times can be achieved through the scheme; if the low-frequency power supply is used, the super-match of 1:10 can be achieved, and the problem of user cost is solved.
Based on the method for managing and controlling a virtual terminal provided in the foregoing embodiments, based on the same inventive concept, the present embodiment further provides a device for managing and controlling a virtual terminal, where the device is used to implement the foregoing embodiments and preferred embodiments, and the description of the device is omitted. As used below, the term "module" may be a combination of software and/or hardware that implements a predetermined function. Although the means described in the embodiments below are preferably implemented in software, an implementation in hardware, or a combination of software and hardware is also possible and contemplated.
Fig. 2 is a block diagram of a structure of a management and control apparatus for a virtual terminal according to an embodiment of the present invention, and as shown in fig. 2, the apparatus is applied to a platform that manages a cloud server cluster, and includes: a first receiving module 20, configured to receive an application instruction carrying virtual terminal attribute information sent by a user terminal; a creating module 22, connected to the first receiving module 20, for creating a target virtual terminal which conforms to the attribute information of the virtual terminal and has a storage resource based on the application instruction; and a configuration module 24, connected to the creating module 22, configured to configure the computing resource conforming to the attribute information of the virtual terminal for the target virtual terminal, so as to operate the target virtual terminal.
Optionally, the configuration module 24 includes: the computing unit is used for carrying out weighted computing on different types of computing resources corresponding to the current operating state of each cloud server in the cloud server cluster to obtain a computing resource weighted value of each cloud server; the different types of computing resources at least comprise CPU utilization rate, memory utilization rate and GPU utilization rate corresponding to each cloud server; the selecting unit is used for selecting the cloud server with the largest computing resource weighted value as a target cloud server according to the computing resource weighted value of each cloud server; and the configuration unit is used for configuring the computing resources which accord with the attribute information of the virtual terminal for the target virtual terminal by the target cloud server and initializing the target virtual terminal so as to start the target virtual terminal.
Optionally, the apparatus further comprises: the first recovery module is used for recovering the computing resources in the target virtual terminal when the target virtual terminal is not used within a first preset time period after the configuration module configures the computing resources which accord with the attribute information of the virtual terminal for the target virtual terminal.
Optionally, the apparatus further comprises: the first monitoring module is used for monitoring the number of online devices of a plurality of virtual terminals which run on the target cloud server running the target virtual terminal before the first recovery module recovers the computing resources in the target virtual terminal; and the second recovery module is used for recovering the computing resources in the target virtual terminal when the monitored number of the online devices exceeds the threshold value.
Optionally, the apparatus further comprises: the second monitoring module is used for monitoring whether the current residual computing resources of the target cloud server are sufficient or not after the first monitoring module monitors that the number of the online devices exceeds a threshold value; and the third recovery module is used for recovering the computing resources in the target virtual terminal if the situation that the current residual computing resources of the target cloud server are insufficient is monitored.
Optionally, the apparatus further comprises: the second receiving module is used for receiving a use instruction sent by a user terminal where a target user account corresponding to the target virtual terminal is located; the third monitoring module is used for monitoring whether the current residual computing resources of a target cloud server running a target virtual terminal meet the attribute information of the virtual terminal; the execution module is used for responding to the use instruction to operate the target virtual terminal when the current residual computing resources of the target cloud server meet the attribute information of the virtual terminal; otherwise, the target user account is listed in a waiting mode.
It should be noted that, the above modules may be implemented by software or hardware, and for the latter, the following may be implemented, but not limited to: the modules are all positioned in the same processor; alternatively, the modules are respectively located in different processors in any combination.
Based on the method for managing and controlling a virtual terminal provided in the foregoing embodiments, based on the same inventive concept, the present embodiment further provides a system for managing and controlling a virtual terminal, where the system includes a user terminal 30 where a target user account is located, a management and control device 34 of the virtual terminal, and a cloud server cluster 32, as shown in fig. 3, fig. 3 is a block diagram of a structure of a system for managing and controlling a virtual terminal provided in an embodiment of the present invention, and the system is used for implementing the foregoing embodiments and preferred embodiments, and is not described again after having been described.
Embodiments of the present invention also provide a storage medium having a computer program stored therein, wherein the computer program is arranged to perform the steps of any of the above method embodiments when executed.
Alternatively, in the present embodiment, the storage medium may be configured to store a computer program for executing the steps of:
s1, receiving an application instruction carrying virtual terminal attribute information sent by a user terminal;
s2, creating a target virtual terminal which accords with the attribute information of the virtual terminal and has storage resources based on the application instruction;
s3, configuring the computing resource which accords with the virtual terminal attribute information for the target virtual terminal so as to operate the target virtual terminal.
Optionally, in this embodiment, the storage medium is a storage resource corresponding to a cloud server cluster, and belongs to cloud storage.
To achieve the above object, based on the embodiments of the method shown in fig. 1 and the apparatus shown in fig. 2, an embodiment of the present invention further provides an electronic device, which includes a storage medium and a processor; a storage medium for storing a computer program; a processor for executing a computer program to implement the above-described virtual terminal management and control method shown in fig. 1.
Based on such understanding, the technical solution of the present invention can be embodied in the form of a software product, where the software product can be stored in the cloud and includes a plurality of instructions for enabling an electronic device (which may be a personal computer, a server, or a network device, etc.) to execute the method according to each implementation scenario of the present invention.
It will be understood by those skilled in the art that the structure of an electronic device provided in the present embodiment does not constitute a limitation of the physical device, and may include more or less components, or some components in combination, or a different arrangement of components.
Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments and optional implementation manners, and this embodiment is not described herein again.
It will be apparent to those skilled in the art that the modules or steps of the present invention described above may be implemented by a general purpose computing device, they may be centralized on a single computing device or distributed across a network of multiple computing devices, and alternatively, they may be implemented by program code executable by a computing device, such that they may be stored in a storage device and executed by a computing device, and in some cases, the steps shown or described may be performed in an order different than that described herein, or they may be separately fabricated into individual integrated circuit modules, or multiple ones of them may be fabricated into a single integrated circuit module. Thus, the present invention is not limited to any specific combination of hardware and software.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the principle of the present invention should be included in the protection scope of the present invention.

Claims (10)

1. A management and control method for a virtual terminal is applied to a platform for managing a cloud server cluster, and comprises the following steps:
receiving an application instruction which is sent by a user terminal and carries virtual terminal attribute information;
creating a target virtual terminal which accords with the attribute information of the virtual terminal and has storage resources based on the application instruction;
and configuring computing resources which accord with the attribute information of the virtual terminal for the target virtual terminal so as to operate the target virtual terminal.
2. The method of claim 1, wherein the configuring the computing resources conforming to the virtual terminal attribute information for the target virtual terminal to run the target virtual terminal comprises:
performing weighted calculation on different types of computing resources corresponding to the current operating state of each cloud server in the cloud server cluster to obtain a computing resource weighted value of each cloud server; the different types of computing resources at least comprise CPU utilization rate, memory utilization rate and GPU utilization rate corresponding to each cloud server;
selecting the cloud server with the largest computing resource weighted value as a target cloud server according to the computing resource weighted value of each cloud server;
and configuring computing resources which accord with the attribute information of the virtual terminal for the target virtual terminal by the target cloud server so as to operate the target virtual terminal.
3. The method according to claim 1, wherein after configuring the target virtual terminal with computing resources conforming to the virtual terminal attribute information to run the target virtual terminal, the method further comprises:
and if the target virtual terminal is not used in a first preset time period, recovering the computing resources in the target virtual terminal.
4. The method of claim 3, wherein prior to reclaiming computing resources in the target virtual terminal, the method further comprises:
monitoring the number of online devices of a plurality of virtual terminals which run on a target cloud server running the target virtual terminal;
and when the number of the online devices exceeds a threshold value, recovering the computing resources in the target virtual terminal.
5. The method of claim 4, wherein after monitoring that the number of online devices exceeds a threshold, the method further comprises:
monitoring whether the current residual computing resources of the target cloud server are sufficient;
and if the current residual computing resources of the target cloud server are monitored to be insufficient, recovering the computing resources in the target virtual terminal.
6. The method according to any one of claims 3-5, further comprising:
receiving a use instruction sent by a user terminal where a target user account corresponding to the target virtual terminal is located;
monitoring whether the current residual computing resources of a target cloud server running the target virtual terminal meet the attribute information of the virtual terminal;
responding to the use instruction to operate the target virtual terminal if the current residual computing resources of the target cloud server meet the attribute information of the virtual terminal; otherwise, the target user account is listed in a waiting mode.
7. The utility model provides a management and control device of virtual terminal which characterized in that is applied to the platform of managing cloud server cluster, includes:
the first receiving module is used for receiving an application instruction which is sent by a user terminal and carries virtual terminal attribute information;
the creating module is used for creating a target virtual terminal which accords with the attribute information of the virtual terminal and has storage resources based on the application instruction;
and the configuration module is used for configuring computing resources which accord with the attribute information of the virtual terminal for the target virtual terminal so as to operate the target virtual terminal.
8. A management and control system for a virtual terminal, the system including a user terminal where a target user account is located, the management and control device for a virtual terminal according to claim 7, and a cloud server cluster.
9. An electronic device comprising a memory and a processor, the memory storing a computer program, wherein the processor implements the steps of the method of any one of claims 1 to 6 when executing the computer program.
10. A storage medium having a computer program stored thereon, the computer program, when being executed by a processor, realizing the steps of the method of any one of claims 1 to 6.
CN202111550654.8A 2021-12-17 2021-12-17 Virtual terminal control method, device, system, electronic equipment and storage medium Pending CN114265742A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111550654.8A CN114265742A (en) 2021-12-17 2021-12-17 Virtual terminal control method, device, system, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111550654.8A CN114265742A (en) 2021-12-17 2021-12-17 Virtual terminal control method, device, system, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN114265742A true CN114265742A (en) 2022-04-01

Family

ID=80827728

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111550654.8A Pending CN114265742A (en) 2021-12-17 2021-12-17 Virtual terminal control method, device, system, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114265742A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116610270A (en) * 2023-07-21 2023-08-18 湖南马栏山视频先进技术研究院有限公司 Video processing calculation and separation method and video calculation and separation system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116610270A (en) * 2023-07-21 2023-08-18 湖南马栏山视频先进技术研究院有限公司 Video processing calculation and separation method and video calculation and separation system
CN116610270B (en) * 2023-07-21 2023-10-03 湖南马栏山视频先进技术研究院有限公司 Video processing calculation and separation method and video calculation and separation system

Similar Documents

Publication Publication Date Title
EP3073374B1 (en) Thread creation method, service request processing method and related device
CN104011685A (en) Resource management method of virtual machine system, virtual machine system, and apparatus
WO2011088261A2 (en) Methods and apparatus for coordinated energy management in virtualized data centers
EP2839373A1 (en) Virtual computing resource orchestration
CN104252390A (en) Resource scheduling method, device and system
CN113342534B (en) Graphics processing resource allocation method, device, equipment and storage medium
CN112825042A (en) Resource management method and device, electronic equipment and storage medium
CN113312142A (en) Virtualization processing system, method, device and equipment
CN112486642B (en) Resource scheduling method, device, electronic equipment and computer readable storage medium
CN113821308A (en) System on chip, virtual machine task processing method and device, and storage medium
CN114265742A (en) Virtual terminal control method, device, system, electronic equipment and storage medium
CN111338756A (en) GPU pooling method, device, equipment and computer readable storage medium
CN114721818A (en) Kubernetes cluster-based GPU time-sharing method and system
CN110795323A (en) Load statistical method, device, storage medium and electronic equipment
CN111953809B (en) Method, device, equipment and system for managing resource address
WO2014193361A1 (en) Tiered eviction of instances of executing processes
Toeroe et al. Managing application level elasticity and availability
CN114564305A (en) Control method, device and equipment for distributed inference and readable storage medium
CN114116220A (en) GPU (graphics processing Unit) sharing control method, GPU sharing control device and storage medium
WO2021221611A1 (en) Power mode transition
CN115202853A (en) Virtual reality video cloud computing service method
CN111930502A (en) Server management method, device, equipment and storage medium
CN110955644A (en) IO control method, device, equipment and storage medium of storage system
CN113611099B (en) Remote controller control method, control device and remote controller system
CN103562869B (en) Audio-frequency processing method under virtualized environment and equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination