CN105022659B - virtual machine state control method and system - Google Patents
virtual machine state control method and system Download PDFInfo
- Publication number
- CN105022659B CN105022659B CN201410182984.XA CN201410182984A CN105022659B CN 105022659 B CN105022659 B CN 105022659B CN 201410182984 A CN201410182984 A CN 201410182984A CN 105022659 B CN105022659 B CN 105022659B
- Authority
- CN
- China
- Prior art keywords
- state
- virtual machine
- session
- user
- current sessions
- 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.)
- Active
Links
Landscapes
- Computer And Data Communications (AREA)
Abstract
The embodiment of the invention discloses a kind of virtual machine state control method and system, wherein, method includes:Monitoring user passes through input operation behavior of the virtual desktop on user terminal to virtual machine;Determine to need the target session state for being switched to the virtual desktop according to the current sessions state of connection session on the virtual desktop and the input operation behavior of user;Wherein, connect session session status include it is active, silent, be sunk into sleep, nullify;Connection session is switched to the target session state by current sessions state, and according to the correspondence between pre-set session status and virtual machine state, the virtual machine is switched to virtual machine state corresponding with the target session state;Wherein, virtual machine state is the operating status of virtual machine, including respectively with it is active, silent, be sunk into sleep, nullify the corresponding operation of session status, standby, dormancy, halted state.The embodiment of the present invention can realize the session status that virtual desktop is managed according to user behavior, so as to control the state of empty machine.
Description
Technical field
The present invention relates to cloud computing technology, especially a kind of virtual machine state control method and system.
Background technology
As China's cloud computing technology and application enter substantive developing stage, the lasting compacting in basis.Internet firm, base
The multi-party strength such as plinth operator, software and hardware IT enterprises and various regions government is all actively promoting cloud computing technology and application development.Respectively
The cloud computing application that big infrastructure operator promotes mainly includes cloud host, cloud storage, cloud desktop etc..
Server virtualization refers to fictionalize multiple virtual machines (Virtual Machine, letter on a physics host
Claim VM), it is mutually isolated between each virtual machine, and a kind of mutually independent technology can be run at the same time.The technology can be by one
Physics host splits into the virtual machine of dozens of independence, and each virtual function independent operating business, server money is improved to realize
Source utilization rate, improves the target of the efficiency of management.As the foundation class technology of cloud computing, server virtualization technology obtains in recent years
Substantial amounts of application and popularization are arrived.For example, (Internet Data Center, IDC) service provider of Internet data center is by one
Platform physics host invents the virtual machine of 20 or so, and every virtual machine possesses independent operating system, network environment, then will
It is leased to user.
Cloud desktop therein is also referred to as virtual desktop.Virtual desktop technology is to be based on server virtualization technology, and PC is taken
Business device virtualization, and a kind of cloud computing technology for being divided into multiple virtual desktops to be used for different user.User opens cloud terminal,
After starting virtual desktop navigation device or client, the virtual desktop at Connection Service device end can be asked, so as to log in using corresponding
Virtual machine.
In the implementation of the present invention, inventor has found, normal and note is only supported in the connection session of virtual desktop at present
Sell two states.Correspondingly, virtual machine also only starts and shuts down two states.Virtual desktop connects session and virtual machine state
It is all too simple.After user logs in virtual machine, only after shutting down manually, nullify session or disconnect a period of time, meeting
Words can just terminate, and virtual machine can just shut down, and can not realize the quick release of virtual resource.And after virtual machine shutdown, user is again
, it is necessary to wait virtual machine to start when logging in virtual machine, the fast quick-recovery of virtual machine can not be realized.
The content of the invention
The embodiment of the present invention the technical problem to be solved is that:A kind of virtual machine state control method and system are provided, with
The session status that virtual desktop is managed according to user behavior is realized, so as to control the state of empty machine.
A kind of virtual machine state control method provided in an embodiment of the present invention, including:
Monitoring user passes through input operation behavior of the virtual desktop on user terminal to virtual machine;
Needs are determined according to the current sessions state of connection session on the virtual desktop and the input operation behavior of user
The target session state that the virtual desktop is switched to;Wherein, connect session session status include it is active, silent, be sunk into sleep,
Nullify;
Connection session is switched to the target session state by current sessions state, and according to pre-set session shape
Correspondence between state and virtual machine state, virtual machine corresponding with the target session state is switched to by the virtual machine
State;Wherein, virtual machine state is the operating status of virtual machine, including respectively with it is active, silent, be sunk into sleep, nullify session status
Corresponding operation, standby, dormancy, halted state.
In a specific embodiment of the above method of the present invention, when virtual machine state is holding state, virtual machine will account for
With less than the central processor CPU and memory source needed for operating status;
When virtual machine state is resting state, CPU and memory source of the virtual machine shared by by complete release.
In a specific embodiment of the above method of the present invention, the monitoring user passes through the virtual table on user terminal
Input operation behavior in face of virtual machine includes:
User behavior monitoring unit is monitored from whether the user terminal of the user there is input to operate to virtual machine
Behavior, and the input operation behavior of the user monitored is reported to virtual desktop management platform, the user's monitored is defeated
Enter operation behavior include monitor from the user terminal to virtual machine have input operation behavior, in the first preset time
User is not monitored inside to input operation behavior, do not monitor in the second preset time user and input operation behavior or the
User is not monitored in three preset times and inputs operation behavior;Wherein, the first preset time is less than the second preset time, and second is pre-
If the time is less than the 3rd preset time;
Needs are determined according to the current sessions state of connection session on the virtual desktop and the input operation behavior of user
The target session state that the virtual desktop is switched to is included:The virtual desktop management platform receives user behavior monitoring
When the user that unit reports is directed to the input operation behavior of the virtual machine, obtains and the current of session is connected on the virtual desktop
Session status, and in the following way institute is determined for the input operation behavior and current sessions state of the virtual machine by user
State the target session state of virtual desktop:
If current sessions state is active or nullifies, and from the user terminal to virtual machine there is input to operate row
For, it is determined that target session state is current sessions state;
If current sessions state is silence or is sunk into sleep, and from the user terminal to virtual machine there is input to operate row
For, it is determined that target session state is active;
If current sessions state is active, and does not monitor user in the first preset time and input operation behavior, then really
The session status that sets the goal is silence;
If current sessions state is silence, and does not monitor user in the second preset time and input operation behavior, then really
The session status that sets the goal is to be sunk into sleep;
If current sessions state does not monitor user in the 3rd preset time and inputs operation behavior to be sunk into sleep, then really
The session status that sets the goal is cancellation.
In a specific embodiment of the above method of the present invention, the monitoring user passes through the virtual table on user terminal
Input operation behavior in face of virtual machine includes:
User behavior monitoring unit, which is monitored from the user terminal of the user, to virtual machine there is input to operate row
For when, the reporting message for monitoring the input operation behavior of user is reported to virtual desktop management platform;
Needs are determined according to the current sessions state of connection session on the virtual desktop and the input operation behavior of user
The target session state that the virtual desktop is switched to is included:The virtual desktop management platform obtains the virtual table in real time
The current sessions state of session is connected on face, and in the following way, by the current sessions state got and whether is received
The user that user behavior monitoring unit reports determines the target of the virtual desktop for the input operation behavior of the virtual machine
Session status:
If current sessions state is active or nullify, and receives the reporting message, it is determined that target session state is
Current sessions state;
If current sessions state is silent or be sunk into sleep, and receives the reporting message, it is determined that target session state is
It is active;
If current sessions state is active, and does not receive the reporting message in the 4th preset time, it is determined that mesh
Rotating savings speech phase is silence;
If current sessions state is silence, and does not receive the reporting message in the 5th preset time, it is determined that mesh
Rotating savings speech phase is to be sunk into sleep;
If current sessions state does not receive the reporting message to be sunk into sleep in the 6th preset time, it is determined that mesh
Rotating savings speech phase is cancellation.
In a specific embodiment of the above method of the present invention, will connection session be switched to by current sessions state it is described
Target session state includes:
Judge whether definite target session state is current sessions state;
When target session state is not current sessions state, connection session is switched to the mesh by current sessions state
Rotating savings speech phase.
In a specific embodiment of the above method of the present invention, further include:
The virtual desktop management platform switches when virtual machine state change occurs for the virtual machine of supervision according to virtual machine
The virtual machine state arrived, corresponding resource reclaim or distribution are carried out to the virtual machine.
A kind of virtual machine state control system provided in an embodiment of the present invention, including:
User behavior monitoring unit, is arranged in the virtualization layer of server, passes through user terminal for monitoring user
Virtual desktop to the input operation behavior of virtual machine on the server;
Virtual desktop management platform, for according to the current sessions state and user's row that session is connected on the virtual desktop
The input operation behavior of the user monitored for monitoring unit, determines to need the target session shape for being switched to the virtual desktop
State;Wherein, connect session session status include it is active, silent, be sunk into sleep, nullify;And session will be connected by current sessions shape
State is switched to the target session state, and according to the correspondence between pre-set session status and virtual machine state,
The virtual machine is switched to virtual machine state corresponding with the target session state;Wherein, virtual machine state includes difference
With it is active, silent, be sunk into sleep, nullify the corresponding operation of session status, standby, dormancy, halted state.
In a specific embodiment of said system of the present invention, when virtual machine state is holding state, virtual machine will account for
With less than the central processor CPU and memory source needed for operating status;
When virtual machine state is resting state, CPU and memory source of the virtual machine shared by by complete release.
In a specific embodiment of said system of the present invention, the user behavior monitoring unit is specifically monitored from described
Whether the user terminal of user is to having input operation behavior, and the session shape into virtual desktop management platform between virtual machine
State control unit reports the input operation behavior of virtual machine mark ID and the user monitored, and the virtual machine ID is used to uniquely mark
Know a virtual machine, the input operation behavior of the user monitored includes it is monitored from the user terminal to virtual machine
Between there is input operation behavior, do not monitor in the first preset time user and input operation behavior, in the second preset time
User is not monitored to input operation behavior or do not monitor user's input operation behavior in the 3rd preset time;Wherein,
One preset time is less than the second preset time, and the second preset time is less than the 3rd preset time;
The virtual desktop management platform includes:
Session status administrative unit, the meeting of session is connected on the virtual desktop operated for managing user to virtual machine
Speech phase, is stored with virtual machine ID with connecting the current sessions status information of session on corresponding virtual desktop;
Session status control unit, for being directed to the virtual machine receiving the user that user behavior monitoring unit reports
Input operation behavior when, obtained according to virtual machine ID from session status administrative unit and working as session connected on the virtual desktop
Preceding session status, and determined in the following way by user for the input operation behavior and current sessions state of the virtual machine
The target session state of the virtual desktop:If current sessions state is active or nullify, and from the user terminal to virtual
There is input operation behavior, it is determined that target session state is current sessions state between machine;If current sessions state is silence
Or be sunk into sleep, and from the user terminal to virtual machine have input operation behavior, it is determined that target session state is active;
If current sessions state is active, and does not monitor user in the first preset time and input operation behavior, it is determined that target meeting
Speech phase is silence;If current sessions state is silence, and does not monitor user in the second preset time and inputs operation behavior,
Target session state is then determined to be sunk into sleep;If current sessions state does not monitor user to be sunk into sleep in the 3rd preset time
Input operation behavior, it is determined that target session state is cancellation;And will connection session be switched to by current sessions state it is described
Target session state, and according to the correspondence between pre-set session status and virtual machine state, obtain and the mesh
The corresponding virtual machine state of rotating savings speech phase, and send state switch indicating information, the shape to virtual machine state control unit
State switch indicating information includes the virtual machine ID of the virtual machine and needs be switched to it is corresponding with the target session state
Virtual machine state;
Virtual machine state control unit, for according to the state switch indicating information, by the virtual machine be switched to
The corresponding virtual machine state of the target session state.
In a specific embodiment of said system of the present invention, the user behavior monitoring unit specifically monitor from
The user terminal of the user is reported to virtual desktop management platform and monitored to when having input operation behavior between virtual machine
The reporting message of the input operation behavior of user;
The virtual desktop management platform includes:
Session status administrative unit, the meeting of session is connected on the virtual desktop operated for managing user to virtual machine
Speech phase, is stored with virtual machine ID with connecting the current sessions status information of session on corresponding virtual desktop;
Session status control unit, connects for being obtained in real time from the session status administrative unit on the virtual desktop
The current sessions state of session, and in the following way, by the current sessions state got and whether receive user behavior
The user that monitoring unit reports determines the target session state of the virtual desktop for the input operation behavior of the virtual machine:
If current sessions state is active or cancellation, and receives the reporting message, it is determined that target session state is current sessions
State;If current sessions state is silence or is sunk into sleep, and receives the reporting message, it is determined that target session state is work
Jump;If current sessions state is active, and does not receive the reporting message in the first preset time, it is determined that target session
State is silence;If current sessions state is silence, and does not receive the reporting message in the second preset time, it is determined that
Target session state is to be sunk into sleep;If current sessions state does not receive described report in the 3rd preset time and disappears to be sunk into sleep
Breath, it is determined that target session state is cancellation;And connection session is switched to the target session shape by current sessions state
State, and according to the correspondence between pre-set session status and virtual machine state, obtain and the target session state
Corresponding virtual machine state, and send state switch indicating information, the state switching instruction to virtual machine state control unit
Message includes the virtual machine shape corresponding with the target session state that the virtual machine ID of the virtual machine and needs are switched to
State;
Virtual machine state control unit, for according to the state switch indicating information, by the virtual machine be switched to
The corresponding virtual machine state of the target session state.
In a specific embodiment of said system of the present invention, the session status control unit, is additionally operable to judge true
Whether fixed target session state is current sessions state;And when target session state is not current sessions state, perform
The correspondence according between pre-set session status and virtual machine state, obtains and the target session state pair
The operation for the virtual machine state answered.
In a specific embodiment of said system of the present invention, the virtual desktop management platform further includes:
Condition monitoring unit, the operating status of all virtual machines on monitoring server;And monitoring virtual machine
When operating status changes, virtual machine state change notification message is sent to rm-cell, the virtual machine state becomes
Changing notification message includes the changed virtual machine ID of operating status and the virtual machine state changed to;
Rm-cell, for according to the virtual machine state change notification message, according to virtual machine ID and virtual machine
The virtual machine state changed to, corresponding resource reclaim or distribution are carried out to respective virtual machine.
In a specific embodiment of said system of the present invention, the virtual desktop management platform further includes:
Virtual Machine Manager unit, for creating on the server, changing, deleting virtual machine, virtual machine is carried out configuration and
Safeguard;And rm-cell is notified to carry out corresponding resource reclaim or distribution to respective virtual machine;And notice condition monitoring
Unit is monitored the operating status of the virtual machine of establishment.
The virtual machine state control method and system provided based on the above embodiment of the present invention, can configure virtual desktop company
Connect session session status include it is active, silent, be sunk into sleep, nullify, and create with it is active, silent, be sunk into sleep, nullify session status pair
The virtual machine state answered, including be separately operable, be standby, dormancy, halted state, monitoring user pass through the virtual table on user terminal
In face of the input operation behavior of virtual machine;According to the input operation for the current sessions state and user that session is connected on virtual desktop
Behavior determines to need the target session state for being switched to virtual desktop, will connect session and be switched to target by current sessions state
Session status, and virtual machine is switched to virtual machine state corresponding with target session state;Wherein, virtual machine state is virtual
The operating status of machine.Compared with prior art, the embodiment of the present invention can realize the meeting that virtual desktop is managed according to user behavior
Speech phase, passes through the switching of session status, the state of the empty machine of control in real time;And there can be one section after user logs in virtual machine
Preset time does not operate the quick release that virtual resource is realized after virtual machine;When user does not nullify and logs in virtual machine, Ke Yigen
The fast quick-recovery of virtual machine is realized according to input operation behavior of the user to virtual machine.The embodiment of the present invention is suitable for all virtual tables
Plane system, can realize and manage virtual desktop session status according to user behavior, so as to control the function of empty machine state.
Below by drawings and examples, technical scheme is described in further detail.
Brief description of the drawings
The attached drawing of a part for constitution instruction the embodiment that the invention has been described, and be used to explain together with description
The principle of the present invention.
Referring to the drawings, according to following detailed description, the present invention can be more clearly understood, wherein:
Fig. 1 is the flow chart of virtual machine state control method one embodiment of the present invention.
Fig. 2 is a migration schematic diagram of the session status that virtual desktop connects session in the embodiment of the present invention.
Fig. 3 is a migration schematic diagram of virtual machine state in the embodiment of the present invention.
Fig. 4 is the flow chart of another embodiment of virtual machine state control method of the present invention.
Fig. 5 is the flow chart of another embodiment of virtual machine state control method of the present invention.
Fig. 6 is the structure diagram of virtual machine state control system one embodiment of the present invention.
Embodiment
Carry out the various exemplary embodiments of detailed description of the present invention now with reference to attached drawing.It should be noted that:Unless in addition have
Body illustrates that the unlimited system of component and the positioned opposite of step, numerical expression and the numerical value otherwise illustrated in these embodiments is originally
The scope of invention.
At the same time, it should be appreciated that for the ease of description, the size of the various pieces shown in attached drawing is not according to reality
Proportionate relationship draw.
The description only actually at least one exemplary embodiment is illustrative to be never used as to the present invention below
And its application or any restrictions that use.
It may be not discussed in detail for technology, method and apparatus known to person of ordinary skill in the relevant, but suitable
In the case of, the technology, method and apparatus should be considered as part for specification.
In shown here and discussion all examples, any occurrence should be construed as merely exemplary, without
It is as limitation.Therefore, the other examples of exemplary embodiment can have different values.
It should be noted that:Similar label and letter represents similar terms in following attached drawing, therefore, once a certain Xiang Yi
It is defined, then it need not be further discussed in subsequent attached drawing in a attached drawing.
In the embodiment of the present invention, the session status of session is connected on four kinds of virtual desktops of new settings, including:Active, silent,
It is sunk into sleep, nullifies;Four kinds of virtual machine states of new settings, including:Operation, standby, dormancy, stopping;And session status and empty machine are set
Correspondence between state is:When session is in active state, virtually in operating status;When session is in silent status,
Empty machine is in holding state;When session is in slumber, virtually in a dormant state;When session is in exit state, empty machine
In halted state.Wherein, a small amount of central processing unit (CPU) and memory source can be taken when virtual machine is in holding state to tie up
Hold the operation of virtual machine, in a dormant state when virtual machine discharge CPU and memory source completely.
Fig. 1 is the flow chart of virtual machine state control method one embodiment of the present invention.As shown in Figure 1, the embodiment
Virtual machine state control method includes:
110, monitoring user is by input operation behavior of the virtual desktop on user terminal to virtual machine, for example, monitoring
Whether there is the inputs such as keyboard, mouse operation 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 be with logging in network side high in the clouds
The terminal of server.User terminal can connect the input equipments such as user side keyboard, mouse, and the output such as display, projecting apparatus
Equipment, and the peripheral hardware such as USB flash disk, mobile hard disk, printer, can carry out row information up and down by cryptographic protocol and server and hand over
Mutually.
120, according to the current sessions state of session and the input operation behavior of user is connected on virtual desktop, determine to need
The target session state that virtual desktop is switched to.
Wherein, connect session session status include it is active, silent, be sunk into sleep, nullify.
130, connection session is switched to target session state by current sessions state, and according to pre-set session shape
Correspondence between state and virtual machine state, virtual machine state corresponding with target session state is switched to by virtual machine.
Wherein, virtual machine state is the operating status of virtual machine, including respectively with it is active, silent, be sunk into sleep, nullify session shape
The corresponding operation of state, standby, dormancy, halted state.Virtual machine from operation, to it is standby, to dormancy, to halted state, it is required
CPU and memory source are reduced successively, wherein, it will be taken when virtual machine state is holding state less than the center needed for operating status
Processor (CPU) and memory source;When virtual machine state is resting state, virtual machine will the shared CPU of release completely and interior
Deposit resource.
As shown in Fig. 2, one between the session status of the virtual desktop connection session of setting of the embodiment of the present invention can
Schematic diagram can be migrated.As shown in figure 3, one between the virtual machine state of setting of the embodiment of the present invention may migration signal
Figure.
The virtual machine state control method provided based on the above embodiment of the present invention, can configure virtual desktop connection session
Session status include it is active, silent, be sunk into sleep, nullify, and create with it is active, silent, be sunk into sleep, nullify the corresponding void of session status
Plan machine state, including be separately operable, be standby, dormancy, halted state, monitoring user by the virtual desktop on user terminal to void
The input operation behavior of plan machine;It is true according to current sessions state and the input operation behavior of user that session is connected on virtual desktop
Surely the target session state for being switched to virtual desktop is needed, connection session is switched to target session shape by current sessions state
State, and virtual machine is switched to virtual machine state corresponding with target session state;Wherein, virtual machine state is the fortune of virtual machine
Row state.Compared with prior art, the embodiment of the present invention can realize the session status that virtual desktop is managed according to user behavior,
Pass through the switching of session status, the state of the empty machine of control in real time;And there can be one section of preset time after user logs in virtual machine
The quick release that virtual resource is realized after virtual machine is not operated;, can be according to user couple when user does not nullify and logs in virtual machine
The input operation behavior of virtual machine realizes the fast quick-recovery of virtual machine.The embodiment of the present invention is suitable for all virtual desktop systems,
It can realize and virtual desktop session status is managed according to user behavior, so as to control the function of empty machine state.
Fig. 4 is the flow chart of another embodiment of virtual machine state control method of the present invention.As shown in figure 4, the embodiment
Virtual machine state control method include:
210, after user logs in the virtual machine on cloud server by user terminal, the user behavior monitoring on server
Unit monitors are from the user terminal of user to whether having input operation behavior virtual machine, and to virtual desktop management platform
Report the input operation behavior of the user monitored.
Wherein, the input operation behavior of the user monitored includes monitoring between user terminal to virtual machine with defeated
Enter operation behavior, do not monitor user's input operation behavior in the first preset time, do not monitored in the second preset time
User, which inputs operation behavior or do not monitor user in the 3rd preset time, inputs operation behavior.Wherein, first it is default when
Between be less than the second preset time, the second preset time is less than the 3rd preset time, for example, the first preset time, second it is default when
Between, the 3rd preset time be respectively 15 minutes, 30 minutes, 40 minutes.
220, virtual desktop management platform receives the input that the user that user behavior monitoring unit reports is directed to virtual machine
During operation behavior, the current sessions state that session is connected on virtual desktop is obtained.
Wherein, connect session session status include it is active, silent, be sunk into sleep, nullify.
230, virtual desktop management platform is in the following way by user for the input operation behavior of virtual machine and current
Session status determines the target session state of 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 silence or is 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 does not monitor user in the first preset time and input operation behavior, then really
The session status that sets the goal is silence;
If current sessions state is silence, and does not monitor user in the second preset time and input operation behavior, then really
The session status that sets the goal is to be sunk into sleep;
If current sessions state does not monitor user in the 3rd preset time and inputs operation behavior to be sunk into sleep, then really
The session status that sets the goal is cancellation.
240, virtual desktop management platform judges whether definite target session state is the current sessions state got,
I.e.:Whether the two is identical, if needs to switch over session status.
If it is determined that target session state it is different from the current sessions state got, perform 250 operation.Otherwise, if
Definite target session state is identical with the current sessions state got, does not perform the follow-up process of the present embodiment.
250, the connection session on virtual desktop is switched to target meeting by virtual desktop management platform by current sessions state
Speech phase, and according to the correspondence between pre-set session status and virtual machine state, virtual machine is switched to and mesh
The corresponding virtual machine state of rotating savings speech phase.
Wherein, virtual machine state is the operating status of virtual machine, including operation, standby, dormancy, halted state, these four
Virtual machine state corresponds respectively to session status that is active, silent, being sunk into sleep, nullify.
Fig. 5 is the flow chart of another embodiment of virtual machine state control method of the present invention.As shown in figure 5, the embodiment
Virtual machine state control method include:
310, after user logs in the virtual machine on cloud server by user terminal, the user behavior monitoring on server
Unit monitors are to the user terminal from user to when having input operation behavior virtual machine, and to virtual desktop management platform
Report the reporting message for monitoring the input operation behavior of user.
320, virtual desktop management platform obtains above-mentioned virtual machine and corresponds to the current meeting that session is connected on virtual desktop in real time
Whether speech phase, and in the following way, by the current sessions state got and receive user behavior monitoring unit and report
User determine the target session state of virtual desktop for the input operation behavior of virtual machine:
If current sessions state is active or cancellation, and receives reporting message, it is determined that target session state is current
Session status;
If current sessions state is silence or is sunk into sleep, and receives reporting message, it is determined that target session state is active;
If current sessions state is active, and does not receive reporting message in the 4th preset time, it is determined that target meeting
Speech phase is silence;
If current sessions state is silence, and does not receive reporting message in the 5th preset time, it is determined that target meeting
Speech phase is to be sunk into sleep;
If current sessions state does not receive reporting message to be sunk into sleep in the 6th preset time, it is determined that target meeting
Speech phase is cancellation.
Wherein, connect session session status include it is active, silent, be sunk into sleep, nullify.
330, virtual desktop management platform judges whether definite target session state is the current sessions state got,
I.e.:Whether the two is identical, if needs to switch over session status.
If it is determined that target session state it is different from the current sessions state got, perform 340 operation.Otherwise, if
Definite target session state is identical with the current sessions state got, does not perform the follow-up process of the present embodiment.
340, the connection session on virtual desktop is switched to target meeting by virtual desktop management platform by current sessions state
Speech phase, and according to the correspondence between pre-set session status and virtual machine state, virtual machine is switched to and mesh
The corresponding virtual machine state of rotating savings speech phase.
Wherein, virtual machine state is the operating status of virtual machine, including operation, standby, dormancy, halted state, these four
Virtual machine state corresponds respectively to session status that is active, silent, being sunk into sleep, nullify.
In the further embodiment of virtual machine state control method of the present invention, virtual desktop management platform can also supervise
When virtual machine state change occurs for the virtual machine of pipe, the virtual machine state that is switched to according to virtual machine carries out phase to the virtual machine
The resource reclaim answered or distribution.For example, virtual machine is switched to holding state by operating status or is switched to not by holding state
During dormancy state, corresponding resource reclaim is carried out to the virtual machine, when virtual machine is switched to halted state by resting state, completely
The resource of the virtual machine is distributed in recycling;Operating status is switched to by holding state in virtual machine or is switched by resting state
During to holding state, increase distribution resource to virtual machine.
One of ordinary skill in the art will appreciate that:Realizing all or part of step of above method embodiment can pass through
The relevant hardware of programmed instruction is completed, and foregoing program can be stored in a computer read/write memory medium, the program
Upon execution, the step of execution includes above method embodiment;And foregoing storage medium includes:ROM, RAM, magnetic disc or light
Disk etc. is various can be with the medium of store program codes.
Fig. 6 is the structure diagram of virtual machine state control system one embodiment of the present invention.The virtual machine of the embodiment
State control system can be used for realizing the above-mentioned each virtual machine state control method embodiment of the present invention.As shown in fig. 6, it includes using
Family behavior monitoring unit and virtual desktop management platform.Wherein:
User behavior monitoring unit, is arranged in the virtualization layer (Hypervisor) of server, for user by using
After family terminal logs in the virtual machine on cloud server, monitoring user is by the virtual desktop on user terminal to empty on server
The input operation behavior of plan machine.
Wherein, virtualization layer is on physical hardware layer, under virtual machine, mainly realizes physical hardware in server
Virtualization, for example, virtual cpu, virtual memory etc..Virtual machine is to create to form after being integrated by some virtual resources.
Virtual desktop management platform, for being supervised according to current sessions state and user behavior that session is connected on virtual desktop
The input operation behavior for the user that control unit monitors arrive, determines to need the target session state for being switched to virtual desktop;And
Connection session is switched to target session state by current sessions state, and according to pre-set session status and virtual machine shape
Correspondence between state, virtual machine state corresponding with target session state is switched to by virtual machine.Wherein, session is connected
Session status include it is active, silent, be sunk into sleep, nullify, virtual machine state include respectively with it is active, silent, be sunk into sleep, nullify session shape
The corresponding operation of state, standby, dormancy, halted state.Wherein, it will be taken when virtual machine state is holding state and be less than operating status
Required CPU and memory source;When virtual machine state is resting state, CPU and memory of the virtual machine shared by by complete release
Resource.
Exemplarily, referring back to Fig. 6, the virtual desktop management platform in the above embodiment of the present invention can specifically include meeting
Speech phase administrative unit, session status control unit and virtual machine state control unit.
In another embodiment of virtual machine state control system of the present invention, user behavior monitoring unit specifically monitoring from
Whether the user terminal of user is to having input operation behavior, and the session shape into virtual desktop management platform between virtual machine
The input operation behavior of user that state control unit reports virtual machine ID and monitors, virtual machine ID therein are used for unique mark
One virtual machine.Wherein, the input operation behavior of the user monitored includes monitoring having between user terminal to virtual machine
There is input operation behavior, do not monitor user's input operation behavior in the first preset time, do not supervised in the second preset time
User is controlled to input operation behavior or do not monitor user's input operation behavior in the 3rd preset time.Wherein, first is pre-
If the time is less than the second preset time, the second preset time is less than the 3rd preset time.
Correspondingly, in another embodiment, session status administrative unit grasps virtual machine for managing user
The session status of session is connected on the virtual desktop of work, is stored with virtual machine ID with connecting the current of session on corresponding virtual desktop
Session state information.
Session status control unit is used to receive user that user behavior monitoring unit reports for the defeated of virtual machine
When entering operation behavior, the current sessions shape that session is connected on virtual desktop is obtained from session status administrative unit according to virtual machine ID
State, and determine the mesh of virtual desktop for the input operation behavior and current sessions state of virtual machine by user in the following way
Rotating savings speech phase:If current sessions state is active or cancellation, and has input operation row between user terminal to virtual machine
For, it is determined that target session state is current sessions state;If current sessions state is silent or be sunk into sleep, and from user terminal to
There is input operation behavior, it is determined that target session state is active between virtual machine;If current sessions state is active, and
User is not monitored in first preset time and inputs operation behavior, it is determined that target session state is silence;If current sessions shape
State is silence, and does not monitor user in the second preset time and input operation behavior, it is determined that target session state is to be sunk into sleep;
If current sessions state does not monitor user in the 3rd preset time and inputs operation behavior to be sunk into sleep, it is determined that target meeting
Speech phase is cancellation;And connection session is switched to target session state by current sessions state, and according to pre-set
Correspondence between session status and virtual machine state, obtains corresponding with target session state virtual machine state, and to void
Plan machine status control unit sends state switch indicating information, state switch indicating information include the virtual machine ID of virtual machine with
Need the virtual machine state corresponding with target session state being switched to.
Virtual machine state control unit is used for the state switch indicating information sent according to session status control unit, by void
Intend machine-cut and change to virtual machine state corresponding with target session state.
In another embodiment of virtual machine state control system of the present invention, user behavior monitoring unit is specifically monitoring
To the user terminal from user to when there is input operation behavior virtual machine, report and monitor to virtual desktop management platform
The reporting message of the input operation behavior of user.
Correspondingly, in another embodiment, session status administrative unit grasps virtual machine for managing user
The session status of session is connected on the virtual desktop of work, is stored with virtual machine ID with connecting the current of session on corresponding virtual desktop
Session state information.
Session status control unit, which is used to obtain from session status administrative unit in real time, connects working as session on virtual desktop
Preceding session status, and in the following way, by the current sessions state got and whether receive user behavior monitoring unit
The user reported determines the target session state of virtual desktop for the input operation behavior of virtual machine:If current sessions state is
Active or cancellation, and receive reporting message, it is determined that target session state is current sessions state;If current sessions state is
Silence is sunk into sleep, and receives reporting message, it is determined that target session state is active;If current sessions state is active, and
Reporting message is not received in the first preset time, it is determined that target session state is silence;If current sessions state is quiet
It is silent, and reporting message is not received in the second preset time, it is determined that target session state is to be sunk into sleep;If current sessions state
To be sunk into sleep, and reporting message is not received in the 3rd preset time, it is determined that target session state is cancellation;And will connection
Session is switched to target session state by current sessions state, and according between pre-set session status and virtual machine state
Correspondence, obtain corresponding with target session state virtual machine state, and to virtual machine state control unit transmission state
Switch indicating information, state switch indicating information includes the virtual machine ID of virtual machine and needs are switched to and target session shape
The corresponding virtual machine state of state.
Virtual machine state control unit is used for the state switch indicating information sent according to session status control unit, by void
Intend machine-cut and change to virtual machine state corresponding with target session state.
Further, in the further embodiment of virtual machine state of the present invention control, session status control unit may be used also
For judging whether definite target session state is current sessions state;And in target session state it is not current sessions
During state, start to perform according to the correspondence between pre-set session status and virtual machine state, obtain and target meeting
The operation of the corresponding virtual machine state of speech phase.
Referring back to Fig. 6, in another embodiment of virtual machine state of the present invention control, virtual desktop management platform may be used also
With including condition monitoring unit and rm-cell.Wherein, condition monitoring unit is used for all virtual machines on monitoring server
Operating status;And when the operating status for monitoring virtual machine changes, virtual machine state is sent to rm-cell
Change notification message, the virtual machine state change notification message include the changed virtual machine ID of operating status and change to
Virtual machine state.Rm-cell is used for according to virtual machine state change notification message, is changed according to virtual machine state logical
Know the virtual machine state that the virtual machine ID in message and virtual machine change to, respective virtual machine is carried out corresponding resource reclaim or
Distribution.
Referring back to Fig. 6, in another embodiment of virtual machine state of the present invention control, virtual desktop management platform may be used also
With including Virtual Machine Manager unit, for creating on the server, changing, deleting virtual machine, virtual machine is configured and is tieed up
Shield;And rm-cell is notified to carry out corresponding resource reclaim or distribution to respective virtual machine;And notice condition monitoring list
Member is monitored the operating status of the virtual machine of establishment.
A concrete application based on the embodiment of the present invention, flow are as follows:
User opens cloud terminal, starts virtual desktop navigation device/client in cloud terminal, inputs user account number and password
Etc. information, request Connection Service device end desktop;
Server is authenticated user account number and password, and by rear, user logins successfully for certification, is returned to user to it
Virtual machine ID, access address, session information and other configuration informations of distribution.Wherein, user can be one-to-one with virtual machine
Can also be one-to-many relation, user can select the virtual machine to be connected, and every virtual machine can all be divided when creating
With unique virtual machine ID, which platform void machine can identify user's current operation by virtual machine ID is;User logins successfully
Afterwards, the operating status of its virtual machine is defaulted as active state;
The browser/client of cloud end side is according to the corresponding virtual machine of message reference that server returns;
After successful connection, server by the picture of user's desktop (i.e.:Virtual desktop) cloud terminal is transmitted to, by cloud terminal exhibition
Show on its display device.At this time, user can be carried out the inputs such as key mouse operation, and cloud terminal is by the input operation behavior of user
Information is transmitted in corresponding virtual machine by dedicated encrypted tunnel;
When carrying out input operation, user inputs information and is transparent to by Hypervisor in virtual machine user, if with
(for example, 15 minutes, 30 minutes or 40 minutes) are operated without input for a period of time at family, user behavior monitoring unit triggering session shape
The session status of user is switched to silence, is sunk into sleep or nullifies by state control unit;
Session status control unit is triggered according to the correspondence between preconfigured session status and virtual machine state
Virtual machine state control unit carries out the switching of empty machine state, for example, empty machine-cut is changed to corresponding standby, dormancy or shutdown shape
State;
Virtual machine state control unit carries out the change of empty machine state;
When the operating status of condition monitoring unit monitors to virtual machine changes, rm-cell, resource pipe are notified
Reason unit control Hypervisor carries out resource to empty machine and redistributes;
When session is in non-exit state, user carries out input operation, user behavior monitoring unit announcement session again
Status control unit;
Session status is switched to active state by session status control unit, and notifies virtual machine state control unit by void
Intend machine-cut and change to active state;
After virtual machine is switched to active state, the operating status of condition monitoring unit monitors to virtual machine changes, and leads to
Know rm-cell, rm-cell controls Hypervisor to carry out resource to empty machine and redistributes.
Each embodiment is described by the way of progressive in this specification, what each embodiment stressed be and its
The difference of its embodiment, the same or similar part cross-reference between each embodiment.For system embodiment
For, since it is substantially corresponding with embodiment of the method, so description is fairly simple, referring to the portion of embodiment of the method in place of correlation
Defend oneself bright.
Method, the system of the present invention may be achieved in many ways.For example, software, hardware, firmware or soft can be passed through
Part, hardware, firmware any combinations come realize the present invention method and system.The said sequence of the step of for the method is only
It is to illustrate, the step of method of the invention is not limited to order described in detail above, unless otherwise especially
Explanation.In addition, in certain embodiments, the present invention can be also embodied as recording program in the recording medium, these program bags
Include the machine readable instructions for being used for realization the method according to the invention.Thus, the present invention also covering storage is used to perform according to this
The recording medium of the program of the method for invention.
Description of the invention provides for the sake of example and description, and is not exhaustively or by the present invention
It is limited to disclosed form.Many modifications and variations are obvious for the ordinary skill in the art.Select and retouch
State embodiment and be to more preferably illustrate the principle of the present invention and practical application, and those of ordinary skill in the art is managed
The solution present invention is so as to design the various embodiments with various modifications suitable for special-purpose.
Claims (13)
- A kind of 1. virtual machine state control method, it is characterised in that including:Monitoring user passes through input operation behavior of the virtual desktop on user terminal to virtual machine;Determine to need institute according to the current sessions state of connection session on the virtual desktop and the input operation behavior of user State the target session state that virtual desktop is switched to;Wherein, connect session session status include it is active, silent, be sunk into sleep, note Pin;Connection session is switched to the target session state by current sessions state, and according to pre-set session status with Correspondence between virtual machine state, virtual machine shape corresponding with the target session state is switched to by the virtual machine State;Wherein, virtual machine state is the operating status of virtual machine, including respectively with it is active, silent, be sunk into sleep, nullify session status pair Answer run, be standby, dormancy, halted state.
- 2. according to the method described in claim 1, it is characterized in that, when virtual machine state is holding state, virtual machine will take Less than the central processor CPU and memory source needed for operating status;When virtual machine state is resting state, CPU and memory source of the virtual machine shared by by complete release.
- 3. according to the method described in claim 2, it is characterized in that, the monitoring user passes through the virtual desktop on user terminal Input operation behavior to virtual machine includes:User behavior monitoring unit is monitored from the user terminal of the user to whether having input operation behavior virtual machine, And the input operation behavior of the user monitored is reported to virtual desktop management platform, the input operation of the user monitored Behavior includes monitoring not to be supervised from the user terminal to virtual machine with input operation behavior, in the first preset time User is controlled to input operation behavior, do not monitor user's input operation behavior in the second preset time or preset the 3rd User is not monitored in time and inputs operation behavior;Wherein, the first preset time is less than the second preset time, the second preset time Less than the 3rd preset time;Determine to need institute according to the current sessions state of connection session on the virtual desktop and the input operation behavior of user Stating the target session state that virtual desktop is switched to includes:The virtual desktop management platform receives user behavior monitoring unit When the user reported is directed to the input operation behavior of the virtual machine, the current sessions that session is connected on the virtual desktop are obtained State, and in the following way the void is determined for the input operation behavior and current sessions state of the virtual machine by user Intend the target session state of desktop:If current sessions state is active or nullify, and from the user terminal to having input operation behavior virtual machine, Then determine that target session state is current sessions state;If current sessions state is silent or be sunk into sleep, and from the user terminal to having input operation behavior virtual machine, Then determine that target session state is active;If current sessions state is active, and does not monitor user in the first preset time and input operation behavior, it is determined that mesh Rotating savings speech phase is silence;If current sessions state is silence, and does not monitor user in the second preset time and input operation behavior, it is determined that mesh Rotating savings speech phase is to be sunk into sleep;If current sessions state does not monitor user in the 3rd preset time and inputs operation behavior to be sunk into sleep, it is determined that mesh Rotating savings speech phase is cancellation.
- 4. according to the method described in claim 2, it is characterized in that, the monitoring user passes through the virtual desktop on user terminal Input operation behavior to virtual machine includes:User behavior monitoring unit is monitored from the user terminal of the user to when having input operation behavior virtual machine, The reporting message for monitoring the input operation behavior of user is reported to virtual desktop management platform;Determine to need institute according to the current sessions state of connection session on the virtual desktop and the input operation behavior of user Stating the target session state that virtual desktop is switched to includes:The virtual desktop management platform obtains on the virtual desktop in real time The current sessions state of session is connected, and in the following way, by the current sessions state got and whether receives user The user that behavior monitoring unit reports determines the target session of the virtual desktop for the input operation behavior of the virtual machine State:If current sessions state is active or cancellation, and receives the reporting message, it is determined that target session state is current Session status;If current sessions state is silence or is sunk into sleep, and receives the reporting message, it is determined that target session state is active;If current sessions state is active, and does not receive the reporting message in the 4th preset time, it is determined that target meeting Speech phase is silence;If current sessions state is silence, and does not receive the reporting message in the 5th preset time, it is determined that target meeting Speech phase is to be sunk into sleep;If current sessions state does not receive the reporting message to be sunk into sleep in the 6th preset time, it is determined that target meeting Speech phase is cancellation.
- 5. the method according to claim 3 or 4, it is characterised in that connection session is switched to institute by current sessions state Stating target session state includes:Judge whether definite target session state is current sessions state;When target session state is not current sessions state, connection session is switched to the target meeting by current sessions state Speech phase.
- 6. according to the method described in claim 5, it is characterized in that, further include:The virtual desktop management platform is switched to when virtual machine state change occurs for the virtual machine of supervision according to virtual machine Virtual machine state, corresponding resource reclaim or distribution are carried out to the virtual machine.
- A kind of 7. virtual machine state control system, it is characterised in that including:User behavior monitoring unit, is arranged in the virtualization layer of server, passes through the void on user terminal for monitoring user Intend input operation behavior of the desktop to virtual machine on the server;Virtual desktop management platform, for being supervised according to current sessions state and user behavior that session is connected on the virtual desktop The input operation behavior for the user that control unit monitors arrive, determines to need the target session state for being switched to the virtual desktop; Wherein, connect session session status include it is active, silent, be sunk into sleep, nullify;And connection session is cut by current sessions state The target session state is changed to, and according to the correspondence between pre-set session status and virtual machine state, by institute State virtual machine and be switched to virtual machine state corresponding with the target session state;Wherein, virtual machine state include respectively with work Jump, silence, be sunk into sleep, nullify the corresponding operation of session status, standby, dormancy, halted state.
- 8. system according to claim 7, it is characterised in that when virtual machine state is holding state, virtual machine will take Less than the central processor CPU and memory source needed for operating status;When virtual machine state is resting state, CPU and memory source of the virtual machine shared by by complete release.
- 9. system according to claim 8, it is characterised in that the user behavior monitoring unit is specifically monitored from the use Whether the user terminal at family is to having input operation behavior, and the session status into virtual desktop management platform between virtual machine Control unit reports the input operation behavior of virtual machine mark ID and the user monitored, and the virtual machine ID is used for unique mark One virtual machine, the input operation behavior of the user monitored include monitoring from the user terminal to virtual machine With input operation behavior, do not monitor in the first preset time user input operation behavior, in the second preset time not User is monitored to input operation behavior or do not monitor user's input operation behavior in the 3rd preset time;Wherein, first Preset time is less than the second preset time, and the second preset time is less than the 3rd preset time;The virtual desktop management platform includes:Session status administrative unit, the session shape of session is connected on the virtual desktop operated for managing user to virtual machine State, is stored with virtual machine ID with connecting the current sessions status information of session on corresponding virtual desktop;Session status control unit, for receiving user that user behavior monitoring unit reports for the defeated of the virtual machine When entering operation behavior, the current meeting that session is connected on the virtual desktop is obtained from session status administrative unit according to virtual machine ID Speech phase, and determined in the following way for the input operation behavior and current sessions state of the virtual machine by user described The target session state of virtual desktop:If current sessions state is active or nullify, and from the user terminal to virtual machine it Between have input operation behavior, it is determined that target session state is current sessions state;If current sessions state is silent or heavy Sleep, and from the user terminal to virtual machine have input operation behavior, it is determined that target session state is active;If work as Preceding session status is active, and does not monitor user in the first preset time and input operation behavior, it is determined that target session shape State is silence;If current sessions state is silence, and does not monitor user in the second preset time and input operation behavior, then really The session status that sets the goal is to be sunk into sleep;If current sessions state does not monitor user's input to be sunk into sleep in the 3rd preset time Operation behavior, it is determined that target session state is cancellation;And connection session is switched to the target by current sessions state Session status, and according to the correspondence between pre-set session status and virtual machine state, obtain and the target meeting The corresponding virtual machine state of speech phase, and state switch indicating information is sent to virtual machine state control unit, the state is cut Changing instruction message includes the void corresponding with the target session state that the virtual machine ID of the virtual machine and needs are switched to Plan machine state;Virtual machine state control unit, for according to the state switch indicating information, by the virtual machine be switched to it is described The corresponding virtual machine state of target session state.
- 10. system according to claim 8, it is characterised in that the user behavior monitoring unit specifically monitor from The user terminal of the user is reported to virtual desktop management platform and monitored to when having input operation behavior between virtual machine The reporting message of the input operation behavior of user;The virtual desktop management platform includes:Session status administrative unit, the session shape of session is connected on the virtual desktop operated for managing user to virtual machine State, is stored with virtual machine ID with connecting the current sessions status information of session on corresponding virtual desktop;Session status control unit, session is connected for being obtained in real time from the session status administrative unit on the virtual desktop Current sessions state, and in the following way, by the current sessions state got and whether receive user behavior monitoring The user that unit reports determines the target session state of the virtual desktop for the input operation behavior of the virtual machine:If work as Preceding session status is active or cancellation, and receives the reporting message, it is determined that target session state is current sessions state; If current sessions state is silence or is sunk into sleep, and receives the reporting message, it is determined that target session state is active;If work as Preceding session status is active, and does not receive the reporting message in the first preset time, it is determined that target session state is It is silent;If current sessions state is silence, and does not receive the reporting message in the second preset time, it is determined that target meeting Speech phase is to be sunk into sleep;If current sessions state does not receive the reporting message to be sunk into sleep in the 3rd preset time, then really The session status that sets the goal is cancellation;And connection session is switched to the target session state, and root by current sessions state According to the correspondence between pre-set session status and virtual machine state, void corresponding with the target session state is obtained Plan machine state, and state switch indicating information is sent to virtual machine state control unit, wrapped in the state switch indicating information Include the virtual machine ID of the virtual machine and need the virtual machine state corresponding with the target session state being switched to;Virtual machine state control unit, for according to the state switch indicating information, by the virtual machine be switched to it is described The corresponding virtual machine state of target session state.
- 11. the system according to claim 9 or 10, it is characterised in that the session status control unit, is additionally operable to judge Whether definite target session state is current sessions state;And when target session state is not current sessions state, hold The row correspondence according between pre-set session status and virtual machine state, obtains and the target session state The operation of corresponding virtual machine state.
- 12. system according to claim 11, it is characterised in that the virtual desktop management platform further includes:Condition monitoring unit, the operating status of all virtual machines on monitoring server;And monitoring the operation of virtual machine When state changes, virtual machine state change notification message is sent to rm-cell, the virtual machine state change is logical Know that message includes the changed virtual machine ID of operating status and the virtual machine state changed to;Rm-cell, for according to the virtual machine state change notification message, being changed according to virtual machine ID and virtual machine The virtual machine state arrived, corresponding resource reclaim or distribution are carried out to respective virtual machine.
- 13. system according to claim 12, it is characterised in that the virtual desktop management platform further includes:Virtual Machine Manager unit, for creating on the server, changing, deleting virtual machine, configures virtual machine and is safeguarded; And rm-cell is notified to carry out corresponding resource reclaim or distribution to respective virtual machine;And notice condition monitoring unit pair The operating status of the virtual machine of establishment is monitored.
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 CN105022659A (en) | 2015-11-04 |
CN105022659B true 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) |
Families Citing this family (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105681164B (en) * | 2015-12-31 | 2019-05-14 | 深圳中兴网信科技有限公司 | Message notifying control method and device, message prompt method and device |
CN107086937B (en) * | 2016-02-14 | 2020-01-10 | 华为技术有限公司 | Monitoring method and device |
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 |
CN108241522B (en) * | 2016-12-27 | 2022-05-17 | 阿里巴巴集团控股有限公司 | Sleep state switching method and device in virtualization environment and electronic equipment |
CN108270753B (en) * | 2016-12-30 | 2021-02-26 | 北京国双科技有限公司 | Method and device for logging out user 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 |
CN113347209B (en) * | 2021-07-30 | 2021-11-26 | 深圳市永达电子信息股份有限公司 | Service behavior analysis method, system, equipment and storage medium based on state machine |
CN117873735B (en) * | 2024-03-11 | 2024-05-28 | 湖南马栏山视频先进技术研究院有限公司 | GPU scheduling system under virtualized environment |
Citations (5)
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 |
-
2014
- 2014-04-30 CN CN201410182984.XA patent/CN105022659B/en active Active
Patent Citations (5)
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 |
Also Published As
Publication number | Publication date |
---|---|
CN105022659A (en) | 2015-11-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105022659B (en) | virtual machine state control method and system | |
CN109471710B (en) | Task request processing method and device, processor, terminal and server | |
US10162661B2 (en) | Interdependent virtual machine management | |
US8819490B2 (en) | Test execution spanning cloud and local devices | |
US9081750B2 (en) | Recovery escalation of cloud deployments | |
US10785133B2 (en) | Virtual desktop operation and data continuity preservation | |
US9015325B2 (en) | Performing maintenance operations on cloud computing node without requiring to stop all virtual machines in the node | |
CN107534570A (en) | Virtualize network function monitoring | |
US10439957B1 (en) | Tenant-based management system and method for distributed computing environments | |
WO2017016212A1 (en) | Testing method and device for desktop cloud system | |
CN108234212A (en) | Mixed cloud disaster recovery method, server and storage medium | |
CN104683388A (en) | Cloud resource management system and management method thereof | |
US20150012624A1 (en) | Updating hardware and software components of cloud computing environment at optimal times | |
US11303729B2 (en) | Virtual workspace experience visualization and optimization | |
CN103501295B (en) | A kind of remote access method based on virtual machine (vm) migration and equipment | |
US9483781B2 (en) | Automatically generating a review rating the performance of a pattern based on pattern deployment, service history and operation of pattern | |
CN110221910B (en) | Method and apparatus for performing MPI jobs | |
US20170147372A1 (en) | Identification and removal of zombie virtual machines | |
CN116319341A (en) | Cloud sharing industrial control network safety shooting range system | |
CN111905361B (en) | Game service system, game processing method, storage medium and device | |
US20180335894A1 (en) | Messaging and orchestrating platform in a computer network environment | |
US9043648B2 (en) | Intelligently responding to hardware failures so as to optimize system performance | |
US11381496B1 (en) | Testing a two-phase commit protocol conformance of a cloud based online transaction processing platform | |
US11902178B2 (en) | System and method to effectively allocate computing resources to end users | |
US20220377105A1 (en) | Intelligent orchestration to combat denial of service attacks |
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 |