CN105022659A - Virtual machine state control method and system - Google Patents

Virtual machine state control method and system Download PDF

Info

Publication number
CN105022659A
CN105022659A CN201410182984.XA CN201410182984A CN105022659A CN 105022659 A CN105022659 A CN 105022659A CN 201410182984 A CN201410182984 A CN 201410182984A CN 105022659 A CN105022659 A CN 105022659A
Authority
CN
China
Prior art keywords
state
virtual machine
session
user
input operation
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.)
Granted
Application number
CN201410182984.XA
Other languages
Chinese (zh)
Other versions
CN105022659B (en
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.)
China Telecom Corp Ltd
Original Assignee
China Telecom Corp 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 China Telecom Corp Ltd filed Critical China Telecom Corp Ltd
Priority to CN201410182984.XA priority Critical patent/CN105022659B/en
Publication of CN105022659A publication Critical patent/CN105022659A/en
Application granted granted Critical
Publication of CN105022659B publication Critical patent/CN105022659B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Computer And Data Communications (AREA)

Abstract

An embodiment of the present invention discloses a virtual machine state control method and system. The method comprises: monitoring an input operation behavior of a user for a virtual machine by means of a virtual desktop on a user terminal; determining, according to a current session state of a connection session on the virtual desktop and the input operation behavior of the user, a target session state to which the virtual desktop needs to be switched, wherein the session states of the connection session comprise activeness, silence, sleep and logout; and switching the connection session from the current session state to the target session state, and switching the virtual machine to a virtual machine state corresponding to the target session state according to a correspondence relationship between a preset session state and the virtual machine state, wherein, the virtual machine states are running states of the virtual machine, comprising running, standby, hibernation and stop states respectively corresponding to the activeness, silence, sleep and logout states. According to the embodiment of the present invention, management on the session states of the virtual desktop according to the user behaviors can be implemented, so that the state of the virtual machine is controlled.

Description

Virtual machine state control method and system
Technical field
The present invention relates to cloud computing technology, especially a kind of virtual machine state control method and system.
Background technology
Along with China's cloud computing technology and application enter substantive developing stage, basis continues compacting.Internet firm, infrastructure operator, software and hardware IT enterprises and various places government etc. in many ways strength are all actively promoting cloud computing technology and application development.The cloud computing application that Ge great infrastructure operator promotes mainly comprises cloud main frame, cloud storage, cloud desktop etc.
Server virtualization refers on a physics host, to fictionalize multiple virtual machine (VirtualMachine is called for short VM), mutually isolated between each virtual machine, and can run separate a kind of technology simultaneously.A physics host can be split into dozens of independently virtual machine by this technology, each virtual function independent operating business, to realize improving server resource utilization factor, improves the target of the efficiency of management.As the foundation class technology of cloud computing, server virtualization technology is obtaining a large amount of application and popularization in recent years.Such as, a physics host is invented the virtual machine of about 20 by Internet data center (Internet DataCenter, IDC) service provider, and every platform virtual machine possesses independently operating system, network environment, then is hired out to user.
Cloud desktop is wherein also referred to as virtual desktop.Virtual desktop technology is based on server virtualization technology, by PC server virtualization, and is divided into multiple virtual desktop for a kind of cloud computing technology of different user.User opens cloud terminal, after starting virtual desktop navigation device or client, can ask the virtual desktop of connection server end, thus logs in the corresponding virtual machine of use.
Realizing in process of the present invention, inventor finds, the connection session of current virtual desktop is only supported normal and nullifies two states.Correspondingly, virtual machine also only has the two states that starts and shut down.Virtual desktop connect session and virtual machine state all too simple.After user logs in virtual machine, only in manually shutdown, nullify session or after disconnecting a period of time, session just can stop, virtual machine just can shut down, and cannot realize the quick release of virtual resource.And after virtual machine shutdown, when user logs in virtual machine again, need to wait for cannot realize the fast quick-recovery of virtual machine by virtual machine activation.
Summary of the invention
Embodiment of the present invention technical matters to be solved is: provide a kind of virtual machine state control method and system, to realize the session status according to user behavior managing virtual desktop, thus controls the state of empty machine.
A kind of virtual machine state control method that the embodiment of the present invention provides, comprising:
Supervisory user is by the input operation behavior of the virtual desktop on user terminal to virtual machine;
The target session state that described virtual desktop is switched to by needs is determined according to the input operation behavior of the current sessions state and user that described virtual desktop connect session; Wherein, connect the session status of session comprise active, mourn in silence, be sunk into sleep, nullify;
Connection session is switched to described target session state by current sessions state, and according to the corresponding relation between the session status pre-set and virtual machine state, described virtual machine is switched to the virtual machine state corresponding with described target session state; Wherein, virtual machine state is the running status of virtual machine, comprise respectively with enliven, mourn in silence, be sunk into sleep, nullify operation corresponding to session status, standby, dormancy, halted state.
State in a specific embodiment of method on the invention, when virtual machine state is holding state, virtual machine is less than central processor CPU needed for running status and memory source by taking;
When virtual machine state is dormant state, virtual machine will discharge shared CPU and memory source completely.
State in a specific embodiment of method on the invention, described supervisory user is comprised by the input operation behavior of the virtual desktop on user terminal to virtual machine:
User behavior monitoring unit monitoring from the user terminal of described user to virtual machine whether there is input operation behavior, and report the input operation behavior of the user monitored to virtual desktop management platform, described in the input operation behavior of user that monitors comprise to monitor from described user terminal to virtual machine there is input operation behavior, in the first Preset Time, do not monitor user's input operation behavior, in the second Preset Time, do not monitor user's input operation behavior or do not monitor user's input operation behavior in the 3rd Preset Time; Wherein, the first Preset Time is less than the second Preset Time, and the second Preset Time is less than the 3rd Preset Time;
Determine that the target session state that described virtual desktop is switched to by needs comprises according to the input operation behavior of the current sessions state and user that described virtual desktop connect session: when described virtual desktop management platform receives input operation behavior for described virtual machine of user that user behavior monitoring unit reports, obtain the current sessions state described virtual desktop connecting session, and determined the target session state of described virtual desktop for the input operation behavior of described virtual machine and current sessions state by user in the following way:
If current sessions state is for active or nullify, and from described user terminal to virtual machine there is input operation behavior, then determine that target session state is current sessions state;
If current sessions state is for mourning in silence or being sunk into sleep, and from described user terminal to virtual machine there is input operation behavior, then determine that target session state is active;
If current sessions state is active, and in the first Preset Time, do not monitor user's input operation behavior, then determine that target session state is for mourning in silence;
If current sessions state is for mourning in silence, and in the second Preset Time, do not monitor user's input operation behavior, then determine that target session state is for being sunk into sleep;
If current sessions state is for being sunk into sleep, and do not monitor user's input operation behavior in the 3rd Preset Time, then determine that target session state is for nullifying.
State in a specific embodiment of method on the invention, described supervisory user is comprised by the input operation behavior of the virtual desktop on user terminal to virtual machine:
When there is input operation behavior user behavior monitoring unit monitors from the user terminal of described user to virtual machine, report the reporting message of the input operation behavior monitoring user to virtual desktop management platform;
Determine that the target session state that described virtual desktop is switched to by needs comprises according to the input operation behavior of the current sessions state with user that described virtual desktop connect session: current sessions state virtual desktop described in described virtual desktop management platform Real-time Obtaining being connected session, and in the following way, by the current sessions state got with whether receive user that user behavior monitoring unit reports to determine described virtual desktop target session state for the input operation behavior of described virtual machine:
If current sessions state is active or cancellation, and receives described reporting message, then determine that target session state is current sessions state;
If current sessions state is for mourning in silence or being sunk into sleep, and receives described reporting message, then determine that target session state is active;
If current sessions state is active, and do not receive described reporting message in the 4th Preset Time, then determine that target session state is for mourning in silence;
If current sessions state is for mourning in silence, and do not receive described reporting message in the 5th Preset Time, then determine that target session state is for being sunk into sleep;
If current sessions state is for being sunk into sleep, and do not receive described reporting message in the 6th Preset Time, then determine that target session state is for nullifying.
State in a specific embodiment of method on the invention, connection session be switched to described target session state by current sessions state and comprise:
Judge whether the target session state determined is current sessions state;
When target session state is not current sessions state, connection session is switched to described target session state by current sessions state.
State on the invention in a specific embodiment of method, also comprise:
Described virtual desktop management platform, when the virtual machine generation virtual machine state change of supervising, according to the virtual machine state that virtual machine is switched to, carries out corresponding resource reclaim or distribution to described virtual machine.
A kind of virtual machine state control system that the embodiment of the present invention provides, comprising:
User behavior monitoring unit, is arranged in the virtualization layer of server, for supervisory user by the input operation behavior of the virtual desktop on user terminal to virtual machine on described server;
Virtual desktop management platform, for the input operation behavior of user monitored according to the current sessions state and user behavior monitoring unit that described virtual desktop connect session, determines the target session state needing described virtual desktop to be switched to; Wherein, connect the session status of session comprise active, mourn in silence, be sunk into sleep, nullify; And connection session is switched to described target session state by current sessions state, and according to the corresponding relation between the session status pre-set and virtual machine state, described virtual machine is switched to the virtual machine state corresponding with described target session state; Wherein, virtual machine state comprise respectively with enliven, mourn in silence, be sunk into sleep, nullify operation corresponding to session status, standby, dormancy, halted state.
State in a specific embodiment of system on the invention, when virtual machine state is holding state, virtual machine is less than central processor CPU needed for running status and memory source by taking;
When virtual machine state is dormant state, virtual machine will discharge shared CPU and memory source completely.
State in a specific embodiment of system on the invention, whether described user behavior monitoring unit has input operation behavior specifically monitoring from the user terminal of described user to virtual machine, and to the input operation behavior of user that the session status control module in virtual desktop management platform reports virtual machine to identify ID and monitor, described virtual machine ID is used for unique identification virtual machine, the input operation behavior of the described user monitored comprise to monitor from described user terminal to virtual machine there is input operation behavior, user's input operation behavior is not monitored in the first Preset Time, user's input operation behavior is not monitored in the second Preset Time, or in the 3rd Preset Time, do not monitor user's input operation behavior, wherein, the first Preset Time is less than the second Preset Time, and the second Preset Time is less than the 3rd Preset Time,
Described virtual desktop management platform comprises:
Session status administrative unit, connects the session status of session on the virtual desktop that leading subscriber operates virtual machine, stores virtual machine ID and the current sessions status information corresponding virtual desktop connecting session;
Session status control module, for when receiving input operation behavior for described virtual machine of user that user behavior monitoring unit reports, obtain from session status administrative unit the current sessions state that described virtual desktop connects session according to virtual machine ID, and determined the target session state of described virtual desktop in the following way for the input operation behavior of described virtual machine and current sessions state by user: if current sessions state is for active or nullify, and from described user terminal to virtual machine there is input operation behavior, then determine that target session state is current sessions state, if current sessions state is for mourning in silence or being sunk into sleep, and from described user terminal to virtual machine there is input operation behavior, then determine that target session state is active, if current sessions state is active, and in the first Preset Time, do not monitor user's input operation behavior, then determine that target session state is for mourning in silence, if current sessions state is for mourning in silence, and in the second Preset Time, do not monitor user's input operation behavior, then determine that target session state is for being sunk into sleep, if current sessions state is for being sunk into sleep, and do not monitor user's input operation behavior in the 3rd Preset Time, then determine that target session state is for nullifying, and connection session is switched to described target session state by current sessions state, and according to the corresponding relation between the session status pre-set and virtual machine state, obtain the virtual machine state corresponding with described target session state, and send state switch indicating information to virtual machine state control module, the virtual machine state corresponding with described target session state that the virtual machine ID that described state switch indicating information comprises described virtual machine is switched to needs,
Virtual machine state control module, for according to described state switch indicating information, is switched to the virtual machine state corresponding with described target session state by described virtual machine.
State in a specific embodiment of system on the invention, when described user behavior monitoring unit specifically has input operation behavior monitoring from the user terminal of described user to virtual machine, report the reporting message of the input operation behavior monitoring user to virtual desktop management platform;
Described virtual desktop management platform comprises:
Session status administrative unit, connects the session status of session on the virtual desktop that leading subscriber operates virtual machine, stores virtual machine ID and the current sessions status information corresponding virtual desktop connecting session;
Session status control module, obtain from described session status administrative unit the current sessions state that described virtual desktop connects session for real-time, and in the following way, by the current sessions state got with whether receive user that user behavior monitoring unit reports to determine described virtual desktop target session state for the input operation behavior of described virtual machine: if current sessions state is for active or nullify, and receive described reporting message, then determine that target session state is current sessions state; If current sessions state is for mourning in silence or being sunk into sleep, and receives described reporting message, then determine that target session state is active; If current sessions state is active, and does not receive described reporting message in the first Preset Time, then determine that target session state is for mourning in silence; If current sessions state is for mourning in silence, and do not receive described reporting message in the second Preset Time, then determine that target session state is for being sunk into sleep; If current sessions state is for being sunk into sleep, and do not receive described reporting message in the 3rd Preset Time, then determine that target session state is for nullifying; And connection session is switched to described target session state by current sessions state, and according to the corresponding relation between the session status pre-set and virtual machine state, obtain the virtual machine state corresponding with described target session state, and send state switch indicating information to virtual machine state control module, the virtual machine state corresponding with described target session state that the virtual machine ID that described state switch indicating information comprises described virtual machine is switched to needs;
Virtual machine state control module, for according to described state switch indicating information, is switched to the virtual machine state corresponding with described target session state by described virtual machine.
State in a specific embodiment of system on the invention, described session status control module, also for judging whether the target session state determined is current sessions state; And when target session state is not current sessions state, performs the corresponding relation between session status and virtual machine state that described basis pre-sets, obtain the operation of the virtual machine state corresponding with described target session state.
State in a specific embodiment of system on the invention, described virtual desktop management platform also comprises:
Condition monitoring unit, the running status of all virtual machines on monitoring server; And when the running status monitoring virtual machine changes, sending virtual machine state change notification message to rm-cell, described virtual machine state change notification message comprises the virtual machine ID that running status changes and the virtual machine state changed to;
Rm-cell, for according to described virtual machine state change notification message, according to the virtual machine state that virtual machine ID and virtual machine change to, carries out corresponding resource reclaim or distribution to respective virtual machine.
State in a specific embodiment of system on the invention, described virtual desktop management platform also comprises:
Virtual Machine Manager unit, for creating on the server, revising, delete virtual machine, is configured virtual machine and safeguards; And notify that rm-cell carries out corresponding resource reclaim or distribution to respective virtual machine; And the running status of notify status monitoring unit to the virtual machine created is monitored.
The virtual machine state control method provided based on the above embodiment of the present invention and system, can configuration virtual desktop connect the session status of session comprise active, mourn in silence, be sunk into sleep, nullify, and create and enliven, mourn in silence, be sunk into sleep, nullify virtual machine state corresponding to session status, comprise run respectively, standby, dormancy, halted state, supervisory user is by the input operation behavior of the virtual desktop on user terminal to virtual machine; The target session state needing virtual desktop to be switched to is determined according to the input operation behavior of the current sessions state and user that virtual desktop connect session, connection session is switched to target session state by current sessions state, and virtual machine is switched to the virtual machine state corresponding with target session state; Wherein, virtual machine state is the running status of virtual machine.Compared with prior art, the embodiment of the present invention can realize the session status according to user behavior managing virtual desktop, by the switching of session status, controls the state of empty machine in real time; And after user logs in virtual machine, the quick release of virtual resource after having one section of Preset Time inoperation virtual machine, can be realized; When user does not nullify login virtual machine, the fast quick-recovery of virtual machine can be realized according to the input operation behavior of user to virtual machine.The embodiment of the present invention is applicable to all virtual desktop systems, can realize according to user behavior managing virtual desktop session status, thus control the function of empty machine state.
Below by drawings and Examples, technical scheme of the present invention is described in further detail.
Description of the invention provides in order to example with for the purpose of describing, and is not exhaustively or limit the invention to disclosed form.Many modifications and variations are obvious for the ordinary skill in the art.Selecting and describing embodiment is in order to principle of the present invention and practical application are better described, and enables those of ordinary skill in the art understand the present invention thus design the various embodiments with various amendment being suitable for special-purpose.
Accompanying drawing explanation
What form a part for instructions drawings describes embodiments of the invention, and is used from explanation principle of the present invention together with description one.
With reference to accompanying drawing, according to detailed description below, clearly the present invention can be understood, wherein:
Fig. 1 is the process flow diagram of a virtual machine state control method of the present invention embodiment.
Fig. 2 is the migration schematic diagram that in the embodiment of the present invention, virtual desktop connects the session status of session.
Fig. 3 is a migration schematic diagram of virtual machine state in the embodiment of the present invention.
Fig. 4 is the process flow diagram of another embodiment of virtual machine state control method of the present invention.
Fig. 5 is the process flow diagram of another embodiment of virtual machine state control method of the present invention.
Fig. 6 is the structural representation of a virtual machine state control system of the present invention embodiment.
Embodiment
Various exemplary embodiment of the present invention is described in detail now with reference to accompanying drawing.It should be noted that: unless specifically stated otherwise, otherwise positioned opposite, the numerical expression of the parts of setting forth in these embodiments and step and numerical value do not limit the scope of the invention.
Meanwhile, it should be understood that for convenience of description, the size of the various piece shown in accompanying drawing is not draw according to the proportionate relationship of reality.
Illustrative to the description only actually of at least one exemplary embodiment below, never as any restriction to the present invention and application or use.
May not discuss in detail for the known technology of person of ordinary skill in the relevant, method and apparatus, but in the appropriate case, described technology, method and apparatus should be regarded as a part for instructions.
In all examples with discussing shown here, any occurrence should be construed as merely exemplary, instead of as restriction.Therefore, other example of exemplary embodiment can have different values.
It should be noted that: represent similar terms in similar label and letter accompanying drawing below, therefore, once be defined in an a certain Xiang Yi accompanying drawing, then do not need to be further discussed it in accompanying drawing subsequently.
In the embodiment of the present invention, new settings four kinds of virtual desktops connect the session status of session, comprising: enliven, mourn in silence, be sunk into sleep, nullify; New settings four kinds of virtual machine states, comprising: run, standby, dormancy, stopping; And the corresponding relation arranged between session status and empty machine state is: when session is in active state, be virtually in running status; When session is in silent status, empty machine is in holding state; When session is in slumber, be virtually in dormant state; When session is in exit state, empty machine is in halted state.Wherein, can take a small amount of central processing unit (CPU) and memory source to maintain the operation of virtual machine when virtual machine is in holding state, when being in dormant state, virtual machine discharges CPU and memory source completely.
Fig. 1 is the process flow diagram of a virtual machine state control method of the present invention embodiment.As shown in Figure 1, the virtual machine state control method of this embodiment comprises:
110, supervisory user, by the input operation behavior of the virtual desktop on user terminal to virtual machine, such as, is monitored and whether have the input operation such as keyboard, mouse between user terminal to virtual machine.
User terminal in various embodiments of the present invention can be that cloud terminal, thin terminal etc. are various can the terminal of logging in network side cloud server.User terminal can connect the input equipments such as user's side switch dish, mouse, and the output device such as display, projector, and the peripheral hardware such as USB flash disk, portable hard drive, printer, can carry out up-downgoing information interaction by cryptographic protocol and server.
120, according to the input operation behavior of the current sessions state and user that virtual desktop connect session, determine the target session state needing virtual desktop to be switched to.
Wherein, connect the session status of session comprise active, mourn in silence, be sunk into sleep, nullify.
130, connection session is switched to target session state by current sessions state, and according to the corresponding relation between the session status pre-set and virtual machine state, virtual machine is switched to the virtual machine state corresponding with target session state.
Wherein, virtual machine state is the running status of virtual machine, comprise respectively with enliven, mourn in silence, be sunk into sleep, nullify operation corresponding to session status, standby, dormancy, halted state.Virtual machine from operation, to standby, to dormancy, to halted state, required CPU and memory source reduce successively, wherein, virtual machine state is for being less than central processing unit (CPU) needed for running status and memory source by taking during holding state; When virtual machine state is dormant state, virtual machine will discharge shared CPU and memory source completely.
As shown in Figure 2, for the embodiment of the present invention setting virtual desktop connect session session status between one may move schematic diagram.As shown in Figure 3, for the embodiment of the present invention setting virtual machine state between one may move schematic diagram.
Based on the virtual machine state control method that the above embodiment of the present invention provides, can configuration virtual desktop connect the session status of session comprise active, mourn in silence, be sunk into sleep, nullify, and create and enliven, mourn in silence, be sunk into sleep, nullify virtual machine state corresponding to session status, comprise run respectively, standby, dormancy, halted state, supervisory user is by the input operation behavior of the virtual desktop on user terminal to virtual machine; The target session state needing virtual desktop to be switched to is determined according to the input operation behavior of the current sessions state and user that virtual desktop connect session, connection session is switched to target session state by current sessions state, and virtual machine is switched to the virtual machine state corresponding with target session state; Wherein, virtual machine state is the running status of virtual machine.Compared with prior art, the embodiment of the present invention can realize the session status according to user behavior managing virtual desktop, by the switching of session status, controls the state of empty machine in real time; And after user logs in virtual machine, the quick release of virtual resource after having one section of Preset Time inoperation virtual machine, can be realized; When user does not nullify login virtual machine, the fast quick-recovery of virtual machine can be realized according to the input operation behavior of user to virtual machine.The embodiment of the present invention is applicable to all virtual desktop systems, can realize according to user behavior managing virtual desktop session status, thus control the function of empty machine state.
Fig. 4 is the process flow diagram of another embodiment of virtual machine state control method of the present invention.As shown in Figure 4, the virtual machine state control method of this embodiment comprises:
210, after user logs in the virtual machine on cloud server by user terminal, user behavior monitoring unit monitoring on server from the user terminal of user to virtual machine whether there is input operation behavior, and report the input operation behavior of the user monitored to virtual desktop management platform.
Wherein, the input operation behavior of the user monitored comprises monitoring and between user terminal to virtual machine, to have input operation behavior, do not monitor user's input operation behavior, do not monitor user's input operation behavior in the second Preset Time or do not monitor user's input operation behavior in the first Preset Time in the 3rd Preset Time.Wherein, the first Preset Time is less than the second Preset Time, and the second Preset Time is less than the 3rd Preset Time, and such as, the first Preset Time, the second Preset Time, the 3rd Preset Time are respectively 15 minutes, 30 minutes, 40 minutes.
220, when virtual desktop management platform receives input operation behavior for virtual machine of user that user behavior monitoring unit reports, obtain current sessions state virtual desktop connecting session.
Wherein, connect the session status of session comprise active, mourn in silence, be sunk into sleep, nullify.
230, virtual desktop management platform is in the following way by the input operation behavior of user for virtual machine and the target session state of current sessions state determination virtual desktop:
If current sessions state is active or cancellation, and has input operation behavior between user terminal to virtual machine, then determine that target session state is current sessions state;
If current sessions state is for mourning in silence or being sunk into sleep, and has input operation behavior between user terminal to virtual machine, then determine that target session state is active;
If current sessions state is active, and in the first Preset Time, do not monitor user's input operation behavior, then determine that target session state is for mourning in silence;
If current sessions state is for mourning in silence, and in the second Preset Time, do not monitor user's input operation behavior, then determine that target session state is for being sunk into sleep;
If current sessions state is for being sunk into sleep, and do not monitor user's input operation behavior in the 3rd Preset Time, then determine that target session state is for nullifying.
240, virtual desktop management platform judges whether the target session state determined is the current sessions state got, that is: whether the two is identical, switches the need of to session status.
If the target session state determined is different from the current sessions state got, perform the operation of 250.Otherwise, if the target session state determined is identical with the current sessions state got, do not perform the follow-up flow process of the present embodiment.
250, connection session on virtual desktop is switched to target session state by current sessions state by virtual desktop management platform, and according to the corresponding relation between the session status pre-set and virtual machine state, virtual machine is switched to the virtual machine state corresponding with target session state.
Wherein, virtual machine state is the running status of virtual machine, and comprise operation, standby, dormancy, halted state, these four kinds of virtual machine states correspond respectively to session status that is active, that mourn in silence, be sunk into sleep, nullify.
Fig. 5 is the process flow diagram of another embodiment of virtual machine state control method of the present invention.As shown in Figure 5, the virtual machine state control method of this embodiment comprises:
310, after user logs in the virtual machine on cloud server by user terminal, when there is input operation behavior the user behavior monitoring unit on server monitors from the user terminal of user to virtual machine, and report the reporting message of the input operation behavior monitoring user to virtual desktop management platform.
320, the corresponding virtual desktop of the above-mentioned virtual machine of virtual desktop management platform Real-time Obtaining connects the current sessions state of session, and in the following way, by the current sessions state got with whether receive user that user behavior monitoring unit the reports target session state for the input operation behavior determination virtual desktop of virtual machine:
If current sessions state is active or cancellation, and receives reporting message, then determine that target session state is current sessions state;
If current sessions state is for mourning in silence or being sunk into sleep, and receives reporting message, then determine that target session state is active;
If current sessions state is active, and do not receive reporting message in the 4th Preset Time, then determine that target session state is for mourning in silence;
If current sessions state is for mourning in silence, and do not receive reporting message in the 5th Preset Time, then determine that target session state is for being sunk into sleep;
If current sessions state is for being sunk into sleep, and do not receive reporting message in the 6th Preset Time, then determine that target session state is for nullifying.
Wherein, connect the session status of session comprise active, mourn in silence, be sunk into sleep, nullify.
330, virtual desktop management platform judges whether the target session state determined is the current sessions state got, that is: whether the two is identical, switches the need of to session status.
If the target session state determined is different from the current sessions state got, perform the operation of 340.Otherwise, if the target session state determined is identical with the current sessions state got, do not perform the follow-up flow process of the present embodiment.
340, connection session on virtual desktop is switched to target session state by current sessions state by virtual desktop management platform, and according to the corresponding relation between the session status pre-set and virtual machine state, virtual machine is switched to the virtual machine state corresponding with target session state.
Wherein, virtual machine state is the running status of virtual machine, and comprise operation, standby, dormancy, halted state, these four kinds of virtual machine states correspond respectively to session status that is active, that mourn in silence, be sunk into sleep, nullify.
In another embodiment of virtual machine state control method of the present invention, virtual desktop management platform can also when the virtual machine generation virtual machine state change of supervising, according to the virtual machine state that virtual machine is switched to, corresponding resource reclaim or distribution are carried out to this virtual machine.Such as, when virtual machine is switched to holding state by running status or is switched to dormant state by holding state, corresponding resource reclaim is carried out to this virtual machine, when virtual machine is switched to halted state by dormant state, reclaims the resource distributing to this virtual machine completely; When virtual machine is switched to running status by holding state or is switched to holding state by dormant state, increase Resources allocation to virtual machine.
One of ordinary skill in the art will appreciate that: all or part of step realizing said method embodiment can have been come by the hardware that programmed instruction is relevant, aforesaid program can be stored in a computer read/write memory medium, this program, when performing, performs the step comprising said method embodiment; And aforesaid storage medium comprises: ROM, RAM, magnetic disc or CD etc. various can be program code stored medium.
Fig. 6 is the structural representation of a virtual machine state control system of the present invention embodiment.The virtual machine state control system of this embodiment can be used in the present invention above-mentioned each virtual machine state control method embodiment.As shown in Figure 6, it comprises user behavior monitoring unit and virtual desktop management platform.Wherein:
User behavior monitoring unit, be arranged in the virtualization layer (Hypervisor) of server, after user logs in the virtual machine on cloud server by user terminal, supervisory user is by the input operation behavior of the virtual desktop on user terminal to virtual machine on server.
Wherein, virtualization layer is on physical hardware layer, under virtual machine, mainly realizes the virtual of physical hardware in server, such as, and virtual cpu, virtual memory etc.Virtual machine creates after being integrated by some virtual resources to form.
Virtual desktop management platform, for the input operation behavior of user monitored according to the current sessions state and user behavior monitoring unit that virtual desktop connect session, determines the target session state needing virtual desktop to be switched to; And connection session is switched to target session state by current sessions state, and according to the corresponding relation between the session status pre-set and virtual machine state, virtual machine is switched to the virtual machine state corresponding with target session state.Wherein, connect the session status of session comprise active, mourn in silence, be sunk into sleep, nullify, virtual machine state comprise respectively with enliven, mourn in silence, be sunk into sleep, nullify operation corresponding to session status, standby, dormancy, halted state.Wherein, virtual machine state is for being less than CPU needed for running status and memory source by taking during holding state; When virtual machine state is dormant state, virtual machine will discharge shared CPU and memory source completely.
Exemplarily, then see Fig. 6, the virtual desktop management platform in the above embodiment of the present invention specifically can comprise session status administrative unit, session status control module and virtual machine state control module.
In another embodiment of virtual machine state control system of the present invention, whether user behavior monitoring unit has input operation behavior specifically monitoring from the user terminal of user to virtual machine, and to the input operation behavior of user that the session status control module in virtual desktop management platform reports virtual machine ID and monitors, virtual machine ID is wherein used for unique identification virtual machine.Wherein, the input operation behavior of the user monitored comprises monitoring and between user terminal to virtual machine, to have input operation behavior, do not monitor user's input operation behavior, do not monitor user's input operation behavior in the second Preset Time or do not monitor user's input operation behavior in the first Preset Time in the 3rd Preset Time.Wherein, the first Preset Time is less than the second Preset Time, and the second Preset Time is less than the 3rd Preset Time.
Correspondingly, in this another embodiment, the virtual desktop that session status administrative unit operates virtual machine for leading subscriber connects the session status of session, store virtual machine ID and the current sessions status information corresponding virtual desktop connecting session.
Session status control module is used for when receiving input operation behavior for virtual machine of user that user behavior monitoring unit reports, connect the current sessions state of session from session status administrative unit acquisition virtual desktop according to virtual machine ID, and in the following way by the input operation behavior of user for virtual machine and the target session state of current sessions state determination virtual desktop: if current sessions state is active or cancellation, and there is input operation behavior between user terminal to virtual machine, then determine that target session state is current sessions state; If current sessions state is for mourning in silence or being sunk into sleep, and has input operation behavior between user terminal to virtual machine, then determine that target session state is active; If current sessions state is active, and in the first Preset Time, do not monitor user's input operation behavior, then determine that target session state is for mourning in silence; If current sessions state is for mourning in silence, and in the second Preset Time, do not monitor user's input operation behavior, then determine that target session state is for being sunk into sleep; If current sessions state is for being sunk into sleep, and do not monitor user's input operation behavior in the 3rd Preset Time, then determine that target session state is for nullifying; And connection session is switched to target session state by current sessions state, and according to the corresponding relation between the session status pre-set and virtual machine state, obtain the virtual machine state corresponding with target session state, and send state switch indicating information to virtual machine state control module, the virtual machine state corresponding with target session state that the virtual machine ID that state switch indicating information comprises virtual machine is switched to needs.
Virtual machine state control module is used for the state switch indicating information sent according to session status control module, and virtual machine is switched to the virtual machine state corresponding with target session state.
In another embodiment of virtual machine state control system of the present invention, when user behavior monitoring unit specifically has input operation behavior monitoring from the user terminal of user to virtual machine, report the reporting message of the input operation behavior monitoring user to virtual desktop management platform.
Correspondingly, in this another embodiment, the virtual desktop that session status administrative unit operates virtual machine for leading subscriber connects the session status of session, store virtual machine ID and the current sessions status information corresponding virtual desktop connecting session.
Session status control module is for the real-time current sessions state connecting session from session status administrative unit acquisition virtual desktop, and in the following way, by the current sessions state got with whether receive user that user behavior monitoring unit the reports target session state for the input operation behavior determination virtual desktop of virtual machine: if current sessions state is for active or nullify, and receive reporting message, then determine that target session state is current sessions state; If current sessions state is for mourning in silence or being sunk into sleep, and receives reporting message, then determine that target session state is active; If current sessions state is active, and does not receive reporting message in the first Preset Time, then determine that target session state is for mourning in silence; If current sessions state is for mourning in silence, and do not receive reporting message in the second Preset Time, then determine that target session state is for being sunk into sleep; If current sessions state is for being sunk into sleep, and do not receive reporting message in the 3rd Preset Time, then determine that target session state is for nullifying; And connection session is switched to target session state by current sessions state, and according to the corresponding relation between the session status pre-set and virtual machine state, obtain the virtual machine state corresponding with target session state, and send state switch indicating information to virtual machine state control module, the virtual machine state corresponding with target session state that the virtual machine ID that state switch indicating information comprises virtual machine is switched to needs.
Virtual machine state control module is used for the state switch indicating information sent according to session status control module, and virtual machine is switched to the virtual machine state corresponding with target session state.
Further, in another embodiment that virtual machine state of the present invention controls, whether the target session state that session status control module can also be used for judging to determine is current sessions state; And when target session state is not current sessions state, starts to perform the corresponding relation according between the session status pre-set and virtual machine state, obtain the operation of the virtual machine state corresponding with target session state.
Again see Fig. 6, in another embodiment that virtual machine state of the present invention controls, virtual desktop management platform can also comprise condition monitoring unit and rm-cell.Wherein, the running status of condition monitoring unit all virtual machines on monitoring server; And when the running status monitoring virtual machine changes, sending virtual machine state change notification message to rm-cell, this virtual machine state change notification message comprises the virtual machine ID that running status changes and the virtual machine state changed to.Rm-cell is used for according to virtual machine state change notification message, according to the virtual machine state that the virtual machine ID in virtual machine state change notification message and virtual machine change to, carries out corresponding resource reclaim or distribution to respective virtual machine.
Again see Fig. 6, in another embodiment that virtual machine state of the present invention controls, virtual desktop management platform can also comprise Virtual Machine Manager unit, for creating on the server, revising, delete virtual machine, is configured and safeguards virtual machine; And notify that rm-cell carries out corresponding resource reclaim or distribution to respective virtual machine; And the running status of notify status monitoring unit to the virtual machine created is monitored.
Based on an embody rule of the embodiment of the present invention, flow process is as follows:
User opens cloud terminal, starts the virtual desktop navigation device/client in cloud terminal, information such as input user account number and password etc., request connection server end desktop;
Server carries out certification to user account number and password, and after certification is passed through, user logins successfully, and returns the virtual machine ID, reference address, session information and other configuration informations that distribute to it to user.Wherein, user and virtual machine can be also can be the relation of one-to-many one to one, user can select the virtual machine that will connect, and every platform virtual machine all can be assigned with unique virtual machine ID when creating, and what can identify user's current operation by this virtual machine ID is the empty machine of which platform; After user logins successfully, the running status of its virtual machine is defaulted as active state;
The corresponding virtual machine of message reference that the browser/client of cloud end side returns according to server;
After successful connection, the picture (that is: virtual desktop) of user's desktop is sent to cloud terminal, by cloud terminal display on its display device by server.Now, user just can carry out the input operations such as key mouse, and the input operation behavioural information of user is sent in corresponding virtual machine by special encrypted tunnel by cloud terminal;
User is when carrying out input operation, user's input information is transparent in virtual machine by Hypervisor, if user's a period of time (such as, 15 minutes, 30 minutes or 40 minutes) without input operation, the session status of user is switched to by user behavior monitoring unit triggering session status unit to be mourned in silence, be sunk into sleep or nullify;
Session status control module triggers according to the corresponding relation between pre-configured session status and virtual machine state the switching that virtual machine state control module carries out empty machine state, such as, empty machine is switched to corresponding standby, dormancy or off-mode;
Virtual machine state control module carries out the change of empty machine state;
When condition monitoring unit monitors changes to the running status of virtual machine, notice rm-cell, rm-cell control Hypervisor carries out resource to empty machine and redistributes;
When session is in non-exit state, user carries out input operation again, user behavior monitoring unit announcement session status unit;
Session status is switched to active state by session status control module, and notifies that virtual machine is switched to active state by virtual machine state control module;
After virtual machine is switched to active state, condition monitoring unit monitors changes to the running status of virtual machine, and notice rm-cell, rm-cell control Hypervisor carries out resource to empty machine and redistributes.
In this instructions, each embodiment all adopts the mode of going forward one by one to describe, and what each embodiment stressed is the difference with other embodiment, same or analogous part cross-reference between each embodiment.For system embodiment, because itself and embodiment of the method are substantially corresponding, so description is fairly simple, relevant part illustrates see the part of embodiment of the method.
Method of the present invention, system may be realized in many ways.Such as, any combination by software, hardware, firmware or software, hardware, firmware realizes method and system of the present invention.Said sequence for the step of described method is only to be described, and the step of method of the present invention is not limited to above specifically described order, unless specifically stated otherwise.In addition, in certain embodiments, can be also record program in the recording medium by the invention process, these programs comprise the machine readable instructions for realizing according to method of the present invention.Thus, the present invention also covers the recording medium stored for performing the program according to method of the present invention.

Claims (13)

1. a virtual machine state control method, is characterized in that, comprising:
Supervisory user is by the input operation behavior of the virtual desktop on user terminal to virtual machine;
The target session state that described virtual desktop is switched to by needs is determined according to the input operation behavior of the current sessions state and user that described virtual desktop connect session; Wherein, connect the session status of session comprise active, mourn in silence, be sunk into sleep, nullify;
Connection session is switched to described target session state by current sessions state, and according to the corresponding relation between the session status pre-set and virtual machine state, described virtual machine is switched to the virtual machine state corresponding with described target session state; Wherein, virtual machine state is the running status of virtual machine, comprise respectively with enliven, mourn in silence, be sunk into sleep, nullify operation corresponding to session status, standby, dormancy, halted state.
2. method according to claim 1, is characterized in that, when virtual machine state is holding state, virtual machine is less than central processor CPU needed for running status and memory source by taking;
When virtual machine state is dormant state, virtual machine will discharge shared CPU and memory source completely.
3. method according to claim 2, is characterized in that, described supervisory user is comprised by the input operation behavior of the virtual desktop on user terminal to virtual machine:
User behavior monitoring unit monitoring from the user terminal of described user to virtual machine whether there is input operation behavior, and report the input operation behavior of the user monitored to virtual desktop management platform, described in the input operation behavior of user that monitors comprise to monitor from described user terminal to virtual machine there is input operation behavior, in the first Preset Time, do not monitor user's input operation behavior, in the second Preset Time, do not monitor user's input operation behavior or do not monitor user's input operation behavior in the 3rd Preset Time; Wherein, the first Preset Time is less than the second Preset Time, and the second Preset Time is less than the 3rd Preset Time;
Determine that the target session state that described virtual desktop is switched to by needs comprises according to the input operation behavior of the current sessions state and user that described virtual desktop connect session: when described virtual desktop management platform receives input operation behavior for described virtual machine of user that user behavior monitoring unit reports, obtain the current sessions state described virtual desktop connecting session, and determined the target session state of described virtual desktop for the input operation behavior of described virtual machine and current sessions state by user in the following way:
If current sessions state is for active or nullify, and from described user terminal to virtual machine there is input operation behavior, then determine that target session state is current sessions state;
If current sessions state is for mourning in silence or being sunk into sleep, and from described user terminal to virtual machine there is input operation behavior, then determine that target session state is active;
If current sessions state is active, and in the first Preset Time, do not monitor user's input operation behavior, then determine that target session state is for mourning in silence;
If current sessions state is for mourning in silence, and in the second Preset Time, do not monitor user's input operation behavior, then determine that target session state is for being sunk into sleep;
If current sessions state is for being sunk into sleep, and do not monitor user's input operation behavior in the 3rd Preset Time, then determine that target session state is for nullifying.
4. method according to claim 2, is characterized in that, described supervisory user is comprised by the input operation behavior of the virtual desktop on user terminal to virtual machine:
When there is input operation behavior user behavior monitoring unit monitors from the user terminal of described user to virtual machine, report the reporting message of the input operation behavior monitoring user to virtual desktop management platform;
Determine that the target session state that described virtual desktop is switched to by needs comprises according to the input operation behavior of the current sessions state with user that described virtual desktop connect session: current sessions state virtual desktop described in described virtual desktop management platform Real-time Obtaining being connected session, and in the following way, by the current sessions state got with whether receive user that user behavior monitoring unit reports to determine described virtual desktop target session state for the input operation behavior of described virtual machine:
If current sessions state is active or cancellation, and receives described reporting message, then determine that target session state is current sessions state;
If current sessions state is for mourning in silence or being sunk into sleep, and receives described reporting message, then determine that target session state is active;
If current sessions state is active, and do not receive described reporting message in the 4th Preset Time, then determine that target session state is for mourning in silence;
If current sessions state is for mourning in silence, and do not receive described reporting message in the 5th Preset Time, then determine that target session state is for being sunk into sleep;
If current sessions state is for being sunk into sleep, and do not receive described reporting message in the 6th Preset Time, then determine that target session state is for nullifying.
5. the method according to claim 3 or 4, is characterized in that, connection session is switched to described target session state by current sessions state and comprises:
Judge whether the target session state determined is current sessions state;
When target session state is not current sessions state, connection session is switched to described target session state by current sessions state.
6. method according to claim 5, is characterized in that, also comprises:
Described virtual desktop management platform, when the virtual machine generation virtual machine state change of supervising, according to the virtual machine state that virtual machine is switched to, carries out corresponding resource reclaim or distribution to described virtual machine.
7. a virtual machine state control system, is characterized in that, comprising:
User behavior monitoring unit, is arranged in the virtualization layer of server, for supervisory user by the input operation behavior of the virtual desktop on user terminal to virtual machine on described server;
Virtual desktop management platform, for the input operation behavior of user monitored according to the current sessions state and user behavior monitoring unit that described virtual desktop connect session, determines the target session state needing described virtual desktop to be switched to; Wherein, connect the session status of session comprise active, mourn in silence, be sunk into sleep, nullify; And connection session is switched to described target session state by current sessions state, and according to the corresponding relation between the session status pre-set and virtual machine state, described virtual machine is switched to the virtual machine state corresponding with described target session state; Wherein, virtual machine state comprise respectively with enliven, mourn in silence, be sunk into sleep, nullify operation corresponding to session status, standby, dormancy, halted state.
8. system according to claim 7, is characterized in that, when virtual machine state is holding state, virtual machine is less than central processor CPU needed for running status and memory source by taking;
When virtual machine state is dormant state, virtual machine will discharge shared CPU and memory source completely.
9. system according to claim 8, it is characterized in that, whether described user behavior monitoring unit has input operation behavior specifically monitoring from the user terminal of described user to virtual machine, and to the input operation behavior of user that the session status control module in virtual desktop management platform reports virtual machine to identify ID and monitor, described virtual machine ID is used for unique identification virtual machine, the input operation behavior of the described user monitored comprise to monitor from described user terminal to virtual machine there is input operation behavior, user's input operation behavior is not monitored in the first Preset Time, user's input operation behavior is not monitored in the second Preset Time, or in the 3rd Preset Time, do not monitor user's input operation behavior, wherein, the first Preset Time is less than the second Preset Time, and the second Preset Time is less than the 3rd Preset Time,
Described virtual desktop management platform comprises:
Session status administrative unit, connects the session status of session on the virtual desktop that leading subscriber operates virtual machine, stores virtual machine ID and the current sessions status information corresponding virtual desktop connecting session;
Session status control module, for when receiving input operation behavior for described virtual machine of user that user behavior monitoring unit reports, obtain from session status administrative unit the current sessions state that described virtual desktop connects session according to virtual machine ID, and determined the target session state of described virtual desktop in the following way for the input operation behavior of described virtual machine and current sessions state by user: if current sessions state is for active or nullify, and from described user terminal to virtual machine there is input operation behavior, then determine that target session state is current sessions state, if current sessions state is for mourning in silence or being sunk into sleep, and from described user terminal to virtual machine there is input operation behavior, then determine that target session state is active, if current sessions state is active, and in the first Preset Time, do not monitor user's input operation behavior, then determine that target session state is for mourning in silence, if current sessions state is for mourning in silence, and in the second Preset Time, do not monitor user's input operation behavior, then determine that target session state is for being sunk into sleep, if current sessions state is for being sunk into sleep, and do not monitor user's input operation behavior in the 3rd Preset Time, then determine that target session state is for nullifying, and connection session is switched to described target session state by current sessions state, and according to the corresponding relation between the session status pre-set and virtual machine state, obtain the virtual machine state corresponding with described target session state, and send state switch indicating information to virtual machine state control module, the virtual machine state corresponding with described target session state that the virtual machine ID that described state switch indicating information comprises described virtual machine is switched to needs,
Virtual machine state control module, for according to described state switch indicating information, is switched to the virtual machine state corresponding with described target session state by described virtual machine.
10. system according to claim 8, it is characterized in that, when described user behavior monitoring unit specifically has input operation behavior monitoring from the user terminal of described user to virtual machine, report the reporting message of the input operation behavior monitoring user to virtual desktop management platform;
Described virtual desktop management platform comprises:
Session status administrative unit, connects the session status of session on the virtual desktop that leading subscriber operates virtual machine, stores virtual machine ID and the current sessions status information corresponding virtual desktop connecting session;
Session status control module, obtain from described session status administrative unit the current sessions state that described virtual desktop connects session for real-time, and in the following way, by the current sessions state got with whether receive user that user behavior monitoring unit reports to determine described virtual desktop target session state for the input operation behavior of described virtual machine: if current sessions state is for active or nullify, and receive described reporting message, then determine that target session state is current sessions state; If current sessions state is for mourning in silence or being sunk into sleep, and receives described reporting message, then determine that target session state is active; If current sessions state is active, and does not receive described reporting message in the first Preset Time, then determine that target session state is for mourning in silence; If current sessions state is for mourning in silence, and do not receive described reporting message in the second Preset Time, then determine that target session state is for being sunk into sleep; If current sessions state is for being sunk into sleep, and do not receive described reporting message in the 3rd Preset Time, then determine that target session state is for nullifying; And connection session is switched to described target session state by current sessions state, and according to the corresponding relation between the session status pre-set and virtual machine state, obtain the virtual machine state corresponding with described target session state, and send state switch indicating information to virtual machine state control module, the virtual machine state corresponding with described target session state that the virtual machine ID that described state switch indicating information comprises described virtual machine is switched to needs;
Virtual machine state control module, for according to described state switch indicating information, is switched to the virtual machine state corresponding with described target session state by described virtual machine.
11. systems according to claim 9 or 10, is characterized in that, described session status control module, also for judging whether the target session state determined is current sessions state; And when target session state is not current sessions state, performs the corresponding relation between session status and virtual machine state that described basis pre-sets, obtain the operation of the virtual machine state corresponding with described target session state.
12. systems according to claim 11, is characterized in that, described virtual desktop management platform also comprises:
Condition monitoring unit, the running status of all virtual machines on monitoring server; And when the running status monitoring virtual machine changes, sending virtual machine state change notification message to rm-cell, described virtual machine state change notification message comprises the virtual machine ID that running status changes and the virtual machine state changed to;
Rm-cell, for according to described virtual machine state change notification message, according to the virtual machine state that virtual machine ID and virtual machine change to, carries out corresponding resource reclaim or distribution to respective virtual machine.
13. systems according to claim 12, is characterized in that, described virtual desktop management platform also comprises:
Virtual Machine Manager unit, for creating on the server, revising, delete virtual machine, is configured virtual machine and safeguards; And notify that rm-cell carries out corresponding resource reclaim or distribution to respective virtual machine; And the running status of notify status monitoring unit to the virtual machine created is monitored.
CN201410182984.XA 2014-04-30 2014-04-30 virtual machine state control method and system Active CN105022659B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410182984.XA CN105022659B (en) 2014-04-30 2014-04-30 virtual machine state control method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410182984.XA CN105022659B (en) 2014-04-30 2014-04-30 virtual machine state control method and system

Publications (2)

Publication Number Publication Date
CN105022659A true CN105022659A (en) 2015-11-04
CN105022659B CN105022659B (en) 2018-05-11

Family

ID=54412649

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410182984.XA Active CN105022659B (en) 2014-04-30 2014-04-30 virtual machine state control method and system

Country Status (1)

Country Link
CN (1) CN105022659B (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105681164A (en) * 2015-12-31 2016-06-15 深圳中兴网信科技有限公司 Message prompt control method and apparatus, and message prompt method and apparatus
CN105681454A (en) * 2016-02-29 2016-06-15 广东顺德中山大学卡内基梅隆大学国际联合研究院 Method and system for self-adaptively connecting cloud desktop
CN106506670A (en) * 2016-11-21 2017-03-15 北京永信至诚科技股份有限公司 A kind of cloud platform virtual resource high speed dispatching method and system
CN107086937A (en) * 2016-02-14 2017-08-22 华为技术有限公司 A kind of monitoring method and equipment
CN107810488A (en) * 2017-08-11 2018-03-16 深圳前海达闼云端智能科技有限公司 A kind of method of state management of virtual machine, device and intelligent terminal
CN108241522A (en) * 2016-12-27 2018-07-03 阿里巴巴集团控股有限公司 Sleep state switching method, device and electronic equipment in virtualized environment
CN108270753A (en) * 2016-12-30 2018-07-10 北京国双科技有限公司 The method and device of logging off users account
CN109885460A (en) * 2019-01-29 2019-06-14 北京明略软件系统有限公司 A kind of information acquisition method, device and computer readable storage medium
CN113347209A (en) * 2021-07-30 2021-09-03 深圳市永达电子信息股份有限公司 Service behavior analysis method, system, equipment and storage medium based on state machine
CN117873735A (en) * 2024-03-11 2024-04-12 湖南马栏山视频先进技术研究院有限公司 GPU scheduling system under virtualized environment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101313278A (en) * 2005-12-02 2008-11-26 国际商业机器公司 Maintaining session states within virtual machine environments
CN101916207A (en) * 2010-08-28 2010-12-15 华为技术有限公司 Energy saving method, device and system under desktop virtual environment
CN102983990A (en) * 2012-11-07 2013-03-20 曙光云计算技术有限公司 Method and device for management of virtual machine
CN102999372A (en) * 2011-09-19 2013-03-27 中兴通讯股份有限公司 Virtual machine operation method and system
CN103561089A (en) * 2013-10-30 2014-02-05 华为技术有限公司 Virtual machine desktop log-in method, device and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101313278A (en) * 2005-12-02 2008-11-26 国际商业机器公司 Maintaining session states within virtual machine environments
CN101916207A (en) * 2010-08-28 2010-12-15 华为技术有限公司 Energy saving method, device and system under desktop virtual environment
CN102999372A (en) * 2011-09-19 2013-03-27 中兴通讯股份有限公司 Virtual machine operation method and system
CN102983990A (en) * 2012-11-07 2013-03-20 曙光云计算技术有限公司 Method and device for management of virtual machine
CN103561089A (en) * 2013-10-30 2014-02-05 华为技术有限公司 Virtual machine desktop log-in method, device and system

Cited By (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105681164A (en) * 2015-12-31 2016-06-15 深圳中兴网信科技有限公司 Message prompt control method and apparatus, and message prompt method and apparatus
CN105681164B (en) * 2015-12-31 2019-05-14 深圳中兴网信科技有限公司 Message notifying control method and device, message prompt method and device
CN107086937A (en) * 2016-02-14 2017-08-22 华为技术有限公司 A kind of monitoring method and equipment
CN107086937B (en) * 2016-02-14 2020-01-10 华为技术有限公司 Monitoring method and device
CN105681454A (en) * 2016-02-29 2016-06-15 广东顺德中山大学卡内基梅隆大学国际联合研究院 Method and system for self-adaptively connecting cloud desktop
CN105681454B (en) * 2016-02-29 2019-04-05 广东顺德中山大学卡内基梅隆大学国际联合研究院 A kind of adaptive connection cloud desktop method and system
CN106506670B (en) * 2016-11-21 2019-11-05 北京永信至诚科技股份有限公司 A kind of cloud platform virtual resource high speed dispatching method and system
CN106506670A (en) * 2016-11-21 2017-03-15 北京永信至诚科技股份有限公司 A kind of cloud platform virtual resource high speed dispatching method and system
CN108241522B (en) * 2016-12-27 2022-05-17 阿里巴巴集团控股有限公司 Sleep state switching method and device in virtualization environment and electronic equipment
CN108241522A (en) * 2016-12-27 2018-07-03 阿里巴巴集团控股有限公司 Sleep state switching method, device and electronic equipment in virtualized environment
CN108270753B (en) * 2016-12-30 2021-02-26 北京国双科技有限公司 Method and device for logging out user account
CN108270753A (en) * 2016-12-30 2018-07-10 北京国双科技有限公司 The method and device of logging off users account
CN107810488A (en) * 2017-08-11 2018-03-16 深圳前海达闼云端智能科技有限公司 A kind of method of state management of virtual machine, device and intelligent terminal
CN109885460A (en) * 2019-01-29 2019-06-14 北京明略软件系统有限公司 A kind of information acquisition method, device and computer readable storage medium
CN113347209A (en) * 2021-07-30 2021-09-03 深圳市永达电子信息股份有限公司 Service behavior analysis method, system, equipment and storage medium based on state machine
CN113347209B (en) * 2021-07-30 2021-11-26 深圳市永达电子信息股份有限公司 Service behavior analysis method, system, equipment and storage medium based on state machine
CN117873735A (en) * 2024-03-11 2024-04-12 湖南马栏山视频先进技术研究院有限公司 GPU scheduling system under virtualized environment
CN117873735B (en) * 2024-03-11 2024-05-28 湖南马栏山视频先进技术研究院有限公司 GPU scheduling system under virtualized environment

Also Published As

Publication number Publication date
CN105022659B (en) 2018-05-11

Similar Documents

Publication Publication Date Title
CN105022659A (en) Virtual machine state control method and system
US10304153B2 (en) Virtual machine graphic resource usage
US20210334178A1 (en) File service auto-remediation in storage systems
US20190199601A1 (en) Data-centric predictive container migration based on cognitive modelling
JP5497201B2 (en) Method for allocating resources, computer program for allocating resources, and system for allocating resources
US10102051B2 (en) Reporting errors to a data storage device
US20100115509A1 (en) Power optimization via virtualization opportunity
CN105243321B (en) A kind of cipher machine, realization and working method based on container virtualization technology
US20190199785A1 (en) Determining server level availability and resource allocations based on workload level availability requirements
US10439957B1 (en) Tenant-based management system and method for distributed computing environments
US20120047357A1 (en) Methods and systems for enabling control to a hypervisor in a cloud computing environment
JP2013518330A5 (en)
US11182217B2 (en) Multilayered resource scheduling
US10084674B2 (en) Virtual desktop operation and data continuity preservation
US11245636B2 (en) Distributing computing resources based on location
CN103309721A (en) Virtual machine monitor management system and method
CN104683388A (en) Cloud resource management system and management method thereof
CN105183674A (en) USB virtualization network mapping method, USB virtualization network mapping device and USB hub
CN103493012A (en) Virtual bios
US10318343B2 (en) Migration methods and apparatuses for migrating virtual machine including locally stored and shared data
US11586470B2 (en) Scalable workflow engine with a stateless orchestrator
KR102332809B1 (en) Stream based event processing utilizing virtual streams and processing agents
US10241815B2 (en) Tag inheritance
CN110221910B (en) Method and apparatus for performing MPI jobs
CN106775920B (en) Identification and removal of zombie virtual machines

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant