CN103561089B - Virtual machine desktop log-in, Apparatus and system - Google Patents

Virtual machine desktop log-in, Apparatus and system Download PDF

Info

Publication number
CN103561089B
CN103561089B CN201310530390.9A CN201310530390A CN103561089B CN 103561089 B CN103561089 B CN 103561089B CN 201310530390 A CN201310530390 A CN 201310530390A CN 103561089 B CN103561089 B CN 103561089B
Authority
CN
China
Prior art keywords
virtual machine
state
status
logging
desktop
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
Application number
CN201310530390.9A
Other languages
Chinese (zh)
Other versions
CN103561089A (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.)
Huawei Cloud Computing Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201310530390.9A priority Critical patent/CN103561089B/en
Publication of CN103561089A publication Critical patent/CN103561089A/en
Application granted granted Critical
Publication of CN103561089B publication Critical patent/CN103561089B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The present invention relates to virtual desktop login method, Apparatus and system, this virtual desktop login method includes that user's access unit receives the connection status of each virtual machine that desktop transmission control unit (TCU) sends;User's access unit determines the logging status of each described virtual machine according to described connection status, and logging status includes logging in ready state, shutdown resting state and malfunction;List and the logging status of described each virtual machine are sent to user terminal by user's access unit.The present invention by determining the logging status of each described virtual machine according to described connection status, it is possible to is effectively improved user's login efficiency during logging in virtual machine desktop and user experience.

Description

Virtual machine desktop log-in, Apparatus and system
Technical field
The present invention relates to desktop cloud field, particularly relate to a kind of virtual machine desktop log-in, device and be System.
Background technology
Desktop cloud (Desktop Cloud) refers to the desktop originally run on the subscriber terminal and applies journey Sequence trustship runs to server end, and desktop and the application program of trustship are entered by user terminal by network Row remote access, now user terminal only realizes the function of input and output and interface display.
At present, the parts being mainly concerned with in the login process of virtual machine desktop include: user terminal, User's access unit (English: Web Interface, WI), desktop transmission control unit (TCU) (English abbreviation: Literary composition: Desktop Delivery Controller, abbreviation: DDC), IT adapter (English: IT Adapter, Abbreviation: ITA) and virtual resource manager (English: Virtual Resource Manager, abridge: VRM), in the login process of virtual machine desktop, user's access unit obtains all of virtual from DDC Machine list, and user is presented in all of virtual machine list, user can only be known by virtual machine list There is which virtual machine, the connection status of virtual machine can not be known.And in reality application at virtual machine possibility In logging in ready state, it is also possible to be in unregistered state.
Unregistered state represents that virtual machine is likely to be at shutdown resting state or malfunction, if user's choosing The virtual machine selected is shutdown resting state, then need by the time can log in after this virtual machine activation, as The virtual machine that really user selects is malfunction, then user can receive the prompting of login-timeout, needs user Reselect virtual machine or again log in, the most time-consuming, inefficiency, and also the Experience Degree of user is relatively low.
Summary of the invention
Technical problem
In view of this, the present invention provides a kind of virtual machine desktop log-in, Apparatus and system, to solve During logging in virtual machine desktop, log in inefficiency, the problem that user experience is low.
Solution
In order to solve above-mentioned technical problem, according to one embodiment of the invention, it is provided that a kind of virtual machine table Face login method, including:
User's access unit receives the connection status of each virtual machine that desktop transmission control unit (TCU) sends;
Described user's access unit determines the logging status of each described virtual machine, institute according to described connection status State logging status to include logging in ready state, shutdown resting state and malfunction;And
List and the logging status of described each virtual machine are sent to user terminal by described user's access unit.
For above-mentioned virtual machine desktop log-in, in a kind of possible implementation, described user connects Enter unit and determine the logging status of each described virtual machine according to described connection status, including:
If described connection status be connect, be not connected with ready in any one state, described user Access unit determines that the logging status of described virtual machine is for logging in ready state;And
If described connection status is unregistered state, described user's access unit determines stepping on of described virtual machine Record state is shutdown resting state or malfunction.
For above-mentioned virtual machine desktop log-in, in a kind of possible implementation, if described connection State is unregistered state, and described user's access unit determines that the logging status of described virtual machine is stopped for shutdown Dormancy state or malfunction, including:
It is not that described user's access unit obtains connection status by IT adapter from virtual resource manager The running status of the virtual machine of login state;And
According to described running status, described user's access unit determines that the logging status of described virtual machine is for closing Machine resting state or malfunction.
For above-mentioned virtual machine desktop log-in, in a kind of possible implementation, described user connects Enter unit according to described running status determine the logging status of described virtual machine for shutdown resting state or Malfunction, including:
If described running status for stopping, stopping in, in startup, in dormancy, dormancy and paused In any one state, described user's access unit determine correspondence virtual machine logging status for shutdown Resting state;And
If described running status is in migration, fault recovery, deletion, create neutralize indefinite in any A kind of state, described user's access unit determines that the logging status of the virtual machine of correspondence is malfunction.
For above-mentioned virtual machine desktop log-in, in a kind of possible implementation, described user After described logging status is returned to user terminal by access unit, also include:
Described user's access unit receives the virtual machine that described user terminal selecting logs in, and performs corresponding Operation.
For above-mentioned virtual machine desktop log-in, in a kind of possible implementation, described user connects Enter unit and perform corresponding operation, including:
If described user terminal selecting logs in is in the virtual machine logging in ready state, described user accesses list Corresponding virtual machine desktop is delivered to described user terminal by unit.
For above-mentioned virtual machine desktop log-in, in a kind of possible implementation, described user connects Enter unit and perform corresponding operation, including:
If described user terminal selecting logs in the virtual machine being in shutdown resting state, described user accesses list Unit sends the extremely described user terminal of the announcement information during described virtual machine normally starts, and at described virtual machine After startup, corresponding virtual machine desktop is delivered to described user terminal;And
If described user terminal selecting logs in the virtual machine being in malfunction, described user's access unit is sent out Send described virtual-machine fail and the announcement information extremely described user terminal that cannot log in.
For above-mentioned virtual machine desktop log-in, in a kind of possible implementation, described user connects Before entering the announcement information extremely described user terminal during the unit described virtual machine of transmission normally starts, also wrap Include:
Described user's access unit sends described virtual by IT adapter to described virtual resource manager The initiation message of machine, it is the most virtual that described initiation message is used for indicating described virtual resource manager to start Machine.
For above-mentioned virtual machine desktop log-in, in a kind of possible implementation, described user connects Enter unit by IT adapter to described virtual resource manager send described virtual machine initiation message it After, also include:
Described user's access unit is to the connection status of described desktop transmission control unit (TCU) poll correspondence virtual machine:
If described connection status be connect, be not connected with ready in any one state, the most described use Corresponding virtual machine desktop is delivered to described user terminal by family access unit;And
If described connection status is unregistered state, the most described user's access unit sends the logical of login failure Know that message is to described user terminal.
For above-mentioned virtual machine desktop log-in, in a kind of possible implementation, described login is just Not-ready status, shutdown resting state and malfunction use the icon of different colours to represent.
In order to solve above-mentioned technical problem, according to another embodiment of the present invention, it is provided that a kind of virtual machine Desktop login device, including:
Receiver module, for receiving the connection status of each virtual machine that desktop transmission control unit (TCU) sends;
Logging status determines module, is connected with described receiver module, for determining according to described connection status The logging status of each described virtual machine, described logging status includes logging in ready state, shutdown resting state And malfunction;And
With described logging status, sending module, determines that module is connected, for described logging status being sent to User terminal.
For above-mentioned virtual machine desktop entering device, in a kind of possible implementation, described login shape State determines that module includes:
Log in ready state and determine unit, be used in described connection status as connecting, being not connected with ready In any one state time determine that the logging status of corresponding virtual machine is for logging in ready state.
For above-mentioned virtual machine desktop entering device, in a kind of possible implementation, described reception mould Block is additionally operable to when described connection status is unregistered state, receives virtual resource by IT adapter and manages The running status of the virtual machine of the unregistered state that device sends, the most described logging status determines that module is also wrapped Include:
Shutdown resting state determines unit, in described running status for stopping, stopping in, startup In, in dormancy, dormancy and paused in any one state time determine the login shape of corresponding virtual machine State is shutdown resting state;And
Malfunction determines unit, in being migration, fault recovery, deletion in described running status, Create neutralize indefinite in any one state time determine that the logging status of corresponding virtual machine is fault shape State.
For above-mentioned virtual machine desktop entering device, in a kind of possible implementation, described reception mould Block is additionally operable to receive the virtual machine that user terminal selecting logs in, and described virtual machine desktop entering device also wraps Include:
Perform module, be connected with described receiver module and described sending module, at described user terminal Select to log in and pass through described sending module by corresponding virtual machine when being in the virtual machine logging in ready state Desktop is delivered to described user terminal, logs in the void being in shutdown resting state in described user terminal selecting The announcement information during described virtual machine normally starts is sent to described use by described sending module during plan machine Family terminal, when described user terminal selecting logs in the virtual machine being in malfunction by described transmission mould Block sends described virtual-machine fail and the announcement information extremely described user terminal that cannot log in.
For above-mentioned virtual machine desktop entering device, in a kind of possible implementation, described virtual machine Desktop login device also includes: starts module, is connected with described receiver module and described sending module, uses By described transmission mould when be in the virtual machine of shutdown resting state in the login of described user terminal selecting Block and via IT adapter to virtual resource manager send virtual machine initiation message, described initiation message For indicating described virtual resource manager to start corresponding virtual machine.
For above-mentioned virtual machine desktop entering device, in a kind of possible implementation, described virtual machine Desktop login device also includes: poller module, with described receiver module, described startup module, described in hold Row module and described sending module connect, for send in described startup module virtual machine initiation message it The connection status of backward described desktop transmission control unit (TCU) poll correspondence virtual machine, and in described connection status For connect, be not connected with ready in any one state time send start successful notification message to institute State execution module, send the notification message of login failure when described connection status is unregistered state to institute State execution module;
Perform module, for being delivered by corresponding virtual machine desktop according to the successful notification message of described startup To described user terminal, and according to the notification message of described login failure by the notice of described login failure Message is transmitted to described user terminal.
For above-mentioned virtual machine desktop entering device, in a kind of possible implementation, described virtual machine Desktop login device also includes: icon display module, determines that module is connected with described logging status, is used for The icon of different colours is used to carry out table described login ready state, shutdown resting state and malfunction Show.
In order to solve above-mentioned technical problem, according to still another embodiment of the invention, it is provided that a kind of virtual machine Desktop login system, includes above-mentioned virtual machine desktop entering device.
Beneficial effect
Before selecting to log in virtual machine desktop user, just analyze according to the connection status of virtual machine Which kind of logging status virtual machine is in, and presents to user's confession user's selection, according to embodiments of the present invention Virtual machine desktop log-in can improve login efficiency and user experience;
By user log in virtual machine desktop whole during, make to user and pointing out accurately, enter One step improves the Experience Degree of user;
By the virtual machine for different logging status, the icon of different colours is used to represent, further Improve the Experience Degree of user.
According to below with reference to the accompanying drawings to detailed description of illustrative embodiments, the further feature of the present invention and side Face will be clear from.
Accompanying drawing explanation
The accompanying drawing of the part comprising in the description and constituting description together illustrates with description The exemplary embodiment of the present invention, feature and aspect, and for explaining the principle of the present invention.
Fig. 1 shows the flow chart of the virtual machine desktop log-in that one embodiment of the present of invention provides;
Fig. 2 shows the flow process of the virtual machine desktop log-in that an alternative embodiment of the invention provides Figure;
Fig. 3 shows the flow process of the virtual machine desktop log-in of another embodiment offer of the present invention Figure;
Fig. 4 shows the structural representation of the virtual machine desktop entering device that one embodiment of the present of invention provides Figure;
Fig. 5 shows the structural representation of the virtual machine desktop entering device that another embodiment of the present invention provides Figure;
Fig. 6 shows the structural representation of the virtual machine desktop entering device that another embodiment of the present invention provides Figure;
Fig. 7 shows that the structure of the virtual machine desktop login system provided in one embodiment of the present of invention is shown It is intended to;
Fig. 8 shows the structural representation of the virtual machine desktop entering device that one embodiment of the present of invention provides Figure.
Detailed description of the invention
Various exemplary embodiments, feature and the aspect of the present invention is described in detail below with reference to accompanying drawing.Attached Reference identical in figure represents the same or analogous element of function.Although enforcement shown in the drawings The various aspects of example, but unless otherwise indicated, it is not necessary to accompanying drawing drawn to scale.
The most special word " exemplary " means " as example, embodiment or illustrative ".Here as Any embodiment illustrated by " exemplary " should not necessarily be construed as preferred or advantageous over other embodiments.
It addition, in order to better illustrate the present invention, detailed description of the invention below gives numerous Detail.It will be appreciated by those skilled in the art that do not have some detail, the present invention is equally Implement.In some instances, for method well known to those skilled in the art, means, element and circuit It is not described in detail, in order to highlight the purport of the present invention.
Embodiment 1
Fig. 1 shows the flow chart of the virtual machine desktop log-in that one embodiment of the present of invention provides. As it is shown in figure 1, the method mainly comprises the steps that
S110, user's access unit receive the connection status of each virtual machine that desktop transmission control unit (TCU) sends. This connection status includes connecting, is not connected with, ready and unregistered four kinds of states.
S120, user's access unit determine the logging status of each virtual machine according to this connection status.This login State includes logging in ready, shutdown dormancy and fault these three state.
In this step, user's access unit determines the logging status of each virtual machine according to this connection status Time, if the connection status of virtual machine be connect, be not connected with ready in any one state, then This user's access unit determines that the logging status of this virtual machine is for logging in ready state;If the company of virtual machine The state of connecing is unregistered state, then this user's access unit determines that the logging status of this virtual machine is stopped for shutdown Dormancy state or malfunction.
List and the logging status of each virtual machine are sent to user terminal by S130, user's access unit.
Compared to current virtual machine desktop log-in, this method selects to log in virtual machine desktop user Before, just analyze which kind of logging status virtual machine is according to the connection status of virtual machine, and present to User selects for user, improves login efficiency and user experience.
Embodiment 2
Fig. 2 shows the flow process of the virtual machine desktop log-in that an alternative embodiment of the invention provides Figure.As in figure 2 it is shown, the method mainly comprises the steps that
S210, user's access unit receive the connection status of each virtual machine that desktop transmission control unit (TCU) sends. This connection status includes connecting, is not connected with, ready and unregistered four kinds of states.
S220, user's access unit determine the logging status of each described virtual machine according to this connection status.Should Logging status includes logging in ready, shutdown dormancy and fault these three state.
In this step, if the connection status of virtual machine be connect, be not connected with ready in any one The state of kind, then perform step S240;If the connection status of virtual machine is unregistered state, then it represents that should The logging status of virtual machine is shutdown resting state or malfunction, performs step S230.
S230, user's access unit obtain unregistered state by IT adapter from virtual resource manager The running status of virtual machine, and perform step S250.This running status includes stopping, stopping in, open In disorder of internal organs, dormancy, dormancy, paused, migration, fault recovery, in deletion, create neutralize not clear Really these several states.
S240, user's access unit determine that the logging status of this virtual machine is login ready state, and perform Step S280.
According to this running status, S250, user's access unit determine that the logging status of described virtual machine is for shutting down Resting state or malfunction.
In this step, if the running status of virtual machine for stopping, stopping in, in startup, dormancy In, dormancy and paused in any one state, then perform step S260;If the fortune of virtual machine Row state is in migration, fault recovery, deletion, create neutralize indefinite in any one state, then Perform step S270.
S260, user's access unit determine that the logging status of this virtual machine is shutdown resting state, and perform Step S280.
S270, user's access unit determine that the logging status of this virtual machine is malfunction, and perform step S280。
List and the logging status of this virtual machine are sent to user terminal by S280, user's access unit.
Compared to embodiment 1, the present embodiment, before user selects to log in virtual machine desktop, is not only analyzed Go out and be in the virtual machine logging in ready state, also distinguished and be in shutdown resting state and malfunction Virtual machine, and present to user for user select, thus, further increase user experience.This Outward, for being in the virtual machine of malfunction, user or attendant can repair in time, Shorten the user caused due to virtual-machine fail and cannot log in the time of virtual machine desktop, improve login Efficiency.
Embodiment 3
Fig. 3 shows the flow process of the virtual machine desktop log-in of another embodiment offer of the present invention Figure.As it is shown on figure 3, the method mainly comprises the steps that
S310, user's access unit receive the connection status of each virtual machine that desktop transmission control unit (TCU) sends. This connection status includes connecting, is not connected with, ready and unregistered four kinds of states.
S311, user's access unit determine the logging status of each described virtual machine according to this connection status.Should Logging status includes logging in ready, shutdown dormancy and fault these three state.
In this step, if the connection status of virtual machine be connect, be not connected with ready in any one The state of kind, then perform step S313;If the connection status of virtual machine is unregistered state, then it represents that should The logging status of virtual machine is shutdown resting state or malfunction, performs step S312.
S312, user's access unit obtain unregistered state by IT adapter from virtual resource manager The running status of virtual machine, and perform step S314.This running status includes stopping, stopping in, open In disorder of internal organs, dormancy, dormancy, paused, migration, fault recovery, in deletion, create neutralize not clear Really these several states.
S313, user's access unit determine that the logging status of this virtual machine is login ready state, and should List and the login ready state of virtual machine are sent to user terminal.
According to this running status, S314, user's access unit determine that the logging status of described virtual machine is for shutting down Resting state or malfunction.
In this step, if the running status of virtual machine for stopping, stopping in, in startup, dormancy In, dormancy and paused in any one state, then perform step S315;If the fortune of virtual machine Row state is in migration, fault recovery, deletion, create neutralize indefinite in any one state, then Perform step S316.
S315, user's access unit determine that the logging status of this virtual machine is shutdown resting state, and should List and the shutdown resting state of virtual machine are sent to user terminal.
S316, user's access unit determine that the logging status of this virtual machine is malfunction, and this is virtual List and the malfunction of machine are sent to user terminal.
User terminal selecting logs in and is in the virtual machine logging in ready state, and user's access unit is by correspondence Virtual machine desktop is delivered to user terminal.
User terminal selecting logs in the virtual machine being in malfunction, and user's access unit sends this virtual machine Fault and the announcement information that cannot log in are to user terminal.
User terminal selecting logs in the virtual machine being in shutdown resting state, and user's access unit performs step The operation of S317~S322.
S317, user's access unit send described virtual machine by IT adapter to virtual resource manager Initiation message, described initiation message is used for indicating this virtual resource manager to start corresponding virtual machine.
S318, user's access unit send the announcement information during this virtual machine normally starts to user terminal.
The connection shape of S319, the user's access unit virtual machine after desktop transmission control unit (TCU) poll starts State.
S320, the connection status of virtual machine upon actuation be connect, be not connected with ready in any During a kind of state, perform step S322;The connection status of virtual machine upon actuation is unregistered state, Then perform step S321.
S321, user's access unit send the notification message of login failure to user terminal.
Corresponding virtual machine desktop is delivered to user terminal by S322, user's access unit.
Compared to embodiment 2, in the present embodiment for user log in virtual machine desktop whole during, Can make to user and pointing out accurately, further increase the Experience Degree of user.
Additionally, for the virtual machine of different logging status, the present invention uses the icon of different colours to represent. Such as, green icon is used to represent for the virtual machine logging in ready state, for shutdown resting state Virtual machine use yellow represent, for malfunction virtual machine use redness represent.
Embodiment 4
Fig. 4 shows the structural representation of the virtual machine desktop entering device that one embodiment of the present of invention provides Figure.As shown in Figure 4, this user's access unit includes receiver module 10, logs in ready module 20 and send Module 30.
Receiver module 10 is for receiving the connection status of each virtual machine that desktop transmission control unit (TCU) sends.
Logging status determines module 20, is connected with this receiver module 10, for determining according to this connection status The logging status of each virtual machine, this logging status includes logging in ready state, shutdown resting state and event Barrier state.
Sending module 30, determines that with logging status module 20 is connected, for this logging status returns to use Family terminal.
Compared to current virtual machine desktop entering device, the present embodiment selects to log in virtual machine table user Before face, just analyze which kind of logging status virtual machine is according to the connection status of virtual machine, and present Select for user to user, improve login efficiency and user experience.
Embodiment 5
Fig. 5 shows the structural representation of user's access unit that an alternative embodiment of the invention provides. As it is shown in figure 5, this user's access unit includes receiver module 10, logs in ready module 20 and sending module 30, and this login ready module 20 include log in ready state determine unit 201, shutdown resting state true Cell 202 and malfunction determine unit 203.
Receiver module 10 is for receiving the connection status of each virtual machine that desktop transmission control unit (TCU) sends.
Log in ready state determine unit 201 in connection status for connecting, be not connected with ready in Any one state time determine that the logging status of corresponding virtual machine is for logging in ready state.
Receiver module 10 is additionally operable to when connection status is unregistered state, receives virtual by IT adapter The running status of the virtual machine of the unregistered state that explorer sends.
Shutdown resting state determines unit 202, at the virtual machine that connection status is unregistered state Running status be stop, stopping in, start in, in dormancy, dormancy and paused in any one The logging status determining corresponding virtual machine during kind of state is shutdown resting state.
Malfunction determines unit 203, for the operation at the virtual machine that connection status is unregistered state State is in migration, fault recovery, deletion, create neutralize indefinite in any one state time determine The logging status of corresponding virtual machine is malfunction.
Sending module 30, determines that with logging status module 20 is connected, for this logging status returns to use Family terminal.
Compared to embodiment 4, the present embodiment, before user selects to log in virtual machine desktop, is not only analyzed Go out and be in the virtual machine logging in ready state, also distinguished and be in shutdown resting state and malfunction Virtual machine, and present to user for user select.Thus, further user experience.Additionally, pin To being in the virtual machine of malfunction, user or attendant can repair in time, shorten The user caused due to virtual-machine fail cannot log in the time of virtual machine desktop, improves login efficiency.
Embodiment 6
Fig. 6 shows the structural representation of user's access unit of another embodiment offer of the present invention. As shown in Figure 6, this user's access unit includes receiver module 10, logs in ready module 20, sending module 30, perform module 40, start module 50, poller module 60 and icon display module 70, and this login is just Thread module 20 includes that logging in ready state determines that unit 201, shutdown resting state determine unit 202 and fault Status determining unit 203.
Receiver module 10 is for receiving the connection status of each virtual machine that desktop transmission control unit (TCU) sends.
Log in ready state determine unit 201 in connection status for connecting, be not connected with ready in Any one state time determine that the logging status of corresponding virtual machine is for logging in ready state.
Receiver module 10 is additionally operable to when connection status is unregistered state, receives virtual by IT adapter The running status of the virtual machine of the unregistered state that explorer sends.
Shutdown resting state determines unit 202, at the virtual machine that connection status is unregistered state Running status be stop, stopping in, start in, in dormancy, dormancy and paused in any one The logging status determining corresponding virtual machine during kind of state is shutdown resting state.
Malfunction determines unit 203, for the operation at the virtual machine that connection status is unregistered state State is in migration, fault recovery, deletion, create neutralize indefinite in any one state time determine The logging status of corresponding virtual machine is malfunction.
Sending module 30, determines that with logging status module 20 is connected, for this logging status is sent to use Family terminal.
Receiver module 10 is additionally operable to receive the virtual machine that user terminal selecting logs in.
Perform module 40, be connected with receiver module 10 and sending module 30, for stepping in user terminal selecting Corresponding virtual machine desktop is delivered when being in the virtual machine logging in ready state by record by sending module 30 To user terminal, when user terminal selecting logs in the virtual machine being in shutdown resting state by sending mould Block 30 sends announcement information during this virtual machine normally starts to user terminal, logs in user terminal selecting Send this virtual-machine fail by sending module 30 when being in the virtual machine of malfunction and cannot log in Announcement information is to described user terminal.
Start module 50, be connected with this receiver module 10 and sending module 30, in user terminal selecting Sending module 30 is passed through and via IT adapter to virtual when logging in the virtual machine being in shutdown resting state Explorer sends the initiation message of virtual machine, and described initiation message is used for indicating virtual resource manager Start corresponding virtual machine.
Poller module 60, with receiver module 10, sending module 30, execution module 40 and startup module 50 even Connect, for sending the rear to desktop transmission control unit (TCU) poll pair of the initiation message of virtual machine in startup module 50 Answer the connection status of virtual machine, and connection status be connect, be not connected with ready in any one During the state of kind, the successful notification message of transmission startup is to performing module 40, is unregistered state in connection status Time send login failure notification message to perform module 40;
Perform module 40, for being delivered to by corresponding virtual machine desktop according to the successful notification message of startup Described user terminal, and according to the notification message of login failure, the notification message of described login failure is turned Issue user terminal.
Icon display module 70, determines that with logging status module 20 is connected, for will log in ready state, Shutdown resting state and malfunction use the icon of different colours to represent.
Compared to embodiment 5, the present embodiment uses and performs module, logs in virtual machine desktop for user Whole process, all can make to user and pointing out accurately, improve the Experience Degree of user.Additionally, this reality Executing example and use icon display module, icon in different colors represents the virtual machine of different logging status, Further increase the Experience Degree of user.
Embodiment 7
Fig. 7 shows the structural representation of the virtual machine desktop login system that one embodiment of the present of invention provides Figure.As it is shown in fig. 7, this virtual machine desktop login system includes user terminal, embodiment 4 to embodiment 6 In any one virtual machine desktop entering device.
Embodiment 8
The structured flowchart of a kind of virtual desktop entering device that Fig. 8 provides for one embodiment of the present of invention. Virtual desktop entering device 800 can be possess the host server of computing capability, personal computer PC, Or portable portable computer or terminal etc..The specific embodiment of the invention is to calculating node Implement and limit.
Described virtual desktop entering device 800 includes processor (processor) 810, communication interface (Communications Interface) 820, memorizer (memory array) 830 and bus 840.Wherein, Processor 810, communication interface 820 and memorizer 830 complete mutual communication by bus 840.
Communication interface 820 is used for and net element communication, and wherein network element includes such as Virtual Machine Manager center, is total to Enjoy storage etc..
Processor 810 is used for performing program.Processor 810 is probably a central processor CPU, or It is application-specific integrated circuit ASIC (Application Specific Integrated Circuit), or is joined It is set to implement one or more integrated circuits of the embodiment of the present invention.
Memorizer 830 is used for depositing file.Memorizer 830 may comprise high-speed RAM memorizer, it is also possible to Also include nonvolatile memory (non-volatile memory), for example, at least one disk memory.Deposit Reservoir 830 can also be memory array.Memorizer 830 is also possible to by piecemeal, and described piece can be by one Fixed rule sets synthesis virtual volume.
In a kind of possible implementation, said procedure can be the program generation including computer-managed instruction Code.This program is particularly used in and makes virtual desktop entering device execution following steps:
Receive the connection status of each virtual machine that desktop transmission control unit (TCU) sends;
Determine the logging status of each described virtual machine according to described connection status, be in described connection status Connect, be not connected with ready in any one state time determine that the logging status of corresponding virtual machine is for logging in Ready state, determines that when described connection status is unregistered state the logging status of described virtual machine is for closing Machine resting state or malfunction;
The operation of the virtual machine of the unregistered state that virtual resource manager sends is received by IT adapter State;
According to described running status determine the logging status of described virtual machine for shutdown resting state or therefore Barrier state, in described running status for stopping, stopping in, in startup, in dormancy, dormancy and The logging status determining the virtual machine of correspondence during any one state in time-out is shutdown resting state, Described running status is in migration, fault recovery, deletion, create neutralize indefinite in any one shape The logging status of virtual machine determining correspondence during state is malfunction;
Described logging status is returned to user terminal.
In a kind of possible implementation, said procedure is additionally operable to described logging status is returning to use After the terminal of family, also make described virtual desktop entering device: receive the void that described user terminal selecting logs in Plan machine, and perform corresponding operation: if described user terminal selecting logs in is in the void logging in ready state Plan machine, then be delivered to described user terminal by corresponding virtual machine desktop.
If described user terminal selecting logs in the virtual machine being in shutdown resting state, then send described virtual Machine normally start in announcement information to described user terminal, and by corresponding after described virtual machine activation Virtual machine desktop is delivered to described user terminal;
If described user terminal selecting logs in the virtual machine being in malfunction, then send the event of described virtual machine Barrier and the announcement information extremely described user terminal that cannot log in.
In a kind of possible implementation, said procedure is additionally operable to normally start at the described virtual machine of transmission In announcement information to before described user terminal, also make described virtual desktop entering device: fitted by IT Orchestration sends the initiation message of described virtual machine to described virtual resource manager, and described initiation message is used for Described virtual resource manager is indicated to start corresponding virtual machine.
In a kind of possible implementation, said procedure be additionally operable to by IT adapter to described virtual After explorer sends the initiation message of described virtual machine, also make described virtual desktop entering device: Connection status to described desktop transmission control unit (TCU) poll correspondence virtual machine:
If described connection status be connect, be not connected with ready in any one state, then by correspondence Virtual machine desktop be delivered to described user terminal;And
If described connection status is unregistered state, then send the notification message of login failure to described user Terminal.Those of ordinary skill in the art are it is to be appreciated that each exemplary in embodiment described herein Unit and algorithm steps, it is possible to come real with the combination of electronic hardware or computer software and electronic hardware Existing.These functions realize with hardware or software form actually, depend on the application-specific of technical scheme And design constraint.Professional and technical personnel can select different methods to realize for specific application Described function, but this realization is it is not considered that beyond the scope of this invention.
If realizing described function using the form of computer software and as independent production marketing or make Used time, the most to a certain extent it is believed that technical scheme all or part of (such as to existing The part that technology contributes) embody in form of a computer software product.This computer software produces Product are generally stored inside in the non-volatile memory medium of embodied on computer readable, including some instruction with so that It is each that computer equipment (can be personal computer, server or the network equipment etc.) performs the present invention All or part of step of embodiment method.And aforesaid storage medium includes USB flash disk, portable hard drive, only Read memorizer (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), the various media that can store program code such as magnetic disc or CD.
The above, the only detailed description of the invention of the present invention, but protection scope of the present invention is not limited to In this, any those familiar with the art, can be easily in the technical scope that the invention discloses Expect change or replace, all should contain within protection scope of the present invention.Therefore, the protection of the present invention Scope should described be as the criterion with scope of the claims.

Claims (18)

1. a virtual machine desktop log-in, it is characterised in that including:
User's access unit receives the connection status of each virtual machine that desktop transmission control unit (TCU) sends;
Described user's access unit determines the logging status of each described virtual machine, institute according to described connection status State logging status to include logging in ready state, shutdown resting state and malfunction;And
List and the logging status of described each virtual machine are sent to user terminal by described user's access unit.
Method the most according to claim 1, it is characterised in that described user's access unit is according to institute State connection status and determine the logging status of each described virtual machine, including:
If described connection status be connect, be not connected with ready in any one state, described user Access unit determines that the logging status of described virtual machine is for logging in ready state;And
If described connection status is unregistered state, described user's access unit determines stepping on of described virtual machine Record state is shutdown resting state or malfunction.
Method the most according to claim 2, it is characterised in that if described connection status is unregistered State, described user's access unit determines that the logging status of described virtual machine is shutdown resting state or event Barrier state, including:
It is not that described user's access unit obtains connection status by IT adapter from virtual resource manager The running status of the virtual machine of login state;And
According to described running status, described user's access unit determines that the logging status of described virtual machine is for closing Machine resting state or malfunction.
Method the most according to claim 3, it is characterised in that described user's access unit is according to institute State running status determine the logging status of described virtual machine for shutdown resting state or malfunction, bag Include:
If described running status for stopping, stopping in, in startup, in dormancy, dormancy and paused In any one state, described user's access unit determine correspondence virtual machine logging status for shutdown Resting state;And
If described running status is in migration, fault recovery, deletion, create neutralize indefinite in any A kind of state, described user's access unit determines that the logging status of the virtual machine of correspondence is malfunction.
Method the most according to claim 1, it is characterised in that at described user's access unit by institute State after logging status returns to user terminal, also include:
Described user's access unit receives the virtual machine that described user terminal selecting logs in, and performs corresponding Operation.
Method the most according to claim 5, it is characterised in that described user's access unit performs phase The operation answered, including:
If described user terminal selecting logs in is in the virtual machine logging in ready state, described user accesses list Corresponding virtual machine desktop is delivered to described user terminal by unit.
Method the most according to claim 5, it is characterised in that described user's access unit performs phase The operation answered, including:
If described user terminal selecting logs in the virtual machine being in shutdown resting state, described user accesses list Unit sends the extremely described user terminal of the announcement information during described virtual machine normally starts, and at described virtual machine After startup, corresponding virtual machine desktop is delivered to described user terminal;And
If described user terminal selecting logs in the virtual machine being in malfunction, described user's access unit is sent out Send described virtual-machine fail and the announcement information extremely described user terminal that cannot log in.
Method the most according to claim 7, it is characterised in that described user's access unit sends institute Before stating the extremely described user terminal of the announcement information during virtual machine normally starts, also include:
Described user's access unit sends described virtual machine by IT adapter to described virtual resource manager Initiation message, it is the most virtual that described initiation message is used for indicating described virtual resource manager to start Machine.
Method the most according to claim 8, it is characterised in that described user's access unit passes through IT Adapter, after described virtual resource manager sends the initiation message of described virtual machine, also includes:
The connection shape of described user's access unit virtual machine after described desktop transmission control unit (TCU) poll starts State:
If described connection status be connect, be not connected with ready in any one state, the most described use Corresponding virtual machine desktop is delivered to described user terminal by family access unit;And
If described connection status is unregistered state, the most described user's access unit sends the logical of login failure Know that message is to described user terminal.
10. according to the method according to any one of claim 1~9, it is characterised in that described login is just Not-ready status, shutdown resting state and malfunction use the icon of different colours to represent.
11. 1 kinds of virtual machine desktop entering devices, it is characterised in that including:
Receiver module, for receiving the connection status of each virtual machine that desktop transmission control unit (TCU) sends;
Logging status determines module, is connected with described receiver module, for determining according to described connection status The logging status of each described virtual machine, described logging status includes logging in ready state, shutdown resting state And malfunction;And
With described logging status, sending module, determines that module is connected, for described logging status being sent to User terminal.
12. virtual machine desktop entering devices according to claim 11, it is characterised in that described in step on Record state determining module includes:
Log in ready state and determine unit, be used in described connection status as connecting, being not connected with ready In any one state time determine that the logging status of corresponding virtual machine is for logging in ready state.
13. virtual machine desktop entering devices according to claim 11, it is characterised in that described in connect Receive module and be additionally operable to when described connection status is unregistered state, receive virtual resource by IT adapter The running status of the virtual machine of the unregistered state that manager sends, the most described logging status determines that module is also Including:
Shutdown resting state determines unit, in described running status for stopping, stopping in, startup In, in dormancy, dormancy and paused in any one state time determine the login shape of corresponding virtual machine State is shutdown resting state;And
Malfunction determines unit, in being migration, fault recovery, deletion in described running status, Create neutralize indefinite in any one state time determine that the logging status of corresponding virtual machine is fault shape State.
14. virtual machine desktop entering devices according to claim 11, it is characterised in that described in connect Receiving module to be additionally operable to receive the virtual machine that user terminal selecting logs in, described virtual machine desktop entering device is also Including:
Perform module, be connected with described receiver module and described sending module, at described user terminal Select to log in and pass through described sending module by corresponding virtual machine when being in the virtual machine logging in ready state Desktop is delivered to described user terminal, logs in the void being in shutdown resting state in described user terminal selecting The announcement information during described virtual machine normally starts is sent to described use by described sending module during plan machine Family terminal, when described user terminal selecting logs in the virtual machine being in malfunction by described transmission mould Block sends described virtual-machine fail and the announcement information extremely described user terminal that cannot log in.
15. virtual machine desktop entering devices according to claim 14, it is characterised in that also include:
Start module, be connected with described receiver module and described sending module, at described user terminal Select to pass through described sending module when logging in the virtual machine being in shutdown resting state and via IT adapter Send the initiation message of virtual machine to virtual resource manager, described initiation message is used for indicating described virtual Explorer starts corresponding virtual machine.
16. virtual machine desktop entering devices according to claim 15, it is characterised in that also include:
Poller module, with described receiver module, described startup module, described execution module and described transmission Module connects, and transmits to described desktop for sending the rear of initiation message of virtual machine in described startup module The connection status of the virtual machine after the startup of controller poll, and in described connection status for connect, not Connect and ready in any one state time send start successful notification message to described execution module, The notification message of login failure be sent to described execution module when described connection status is unregistered state;
Perform module, for being delivered by corresponding virtual machine desktop according to the successful notification message of described startup To described user terminal, and according to the notification message of described login failure by the notice of described login failure Message is transmitted to described user terminal.
17. virtual machine desktop entering devices according to claim 14, it is characterised in that also include:
With described logging status, icon display module, determines that module is connected, for by ready for described login shape State, shutdown resting state and malfunction use the icon of different colours to represent.
18. 1 kinds of virtual machine desktop login systems, it is characterised in that include appointing in claim 11~17 One described virtual machine desktop entering device.
CN201310530390.9A 2013-10-30 2013-10-30 Virtual machine desktop log-in, Apparatus and system Active CN103561089B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310530390.9A CN103561089B (en) 2013-10-30 2013-10-30 Virtual machine desktop log-in, Apparatus and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310530390.9A CN103561089B (en) 2013-10-30 2013-10-30 Virtual machine desktop log-in, Apparatus and system

Publications (2)

Publication Number Publication Date
CN103561089A CN103561089A (en) 2014-02-05
CN103561089B true CN103561089B (en) 2017-01-04

Family

ID=50015239

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310530390.9A Active CN103561089B (en) 2013-10-30 2013-10-30 Virtual machine desktop log-in, Apparatus and system

Country Status (1)

Country Link
CN (1) CN103561089B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105022659B (en) * 2014-04-30 2018-05-11 中国电信股份有限公司 virtual machine state control method and system
CN104331319B (en) * 2014-11-14 2017-11-17 华为技术有限公司 The management method and device of virtual desktop example
CN104391736B (en) * 2014-11-25 2018-04-10 杭州华为数字技术有限公司 The park mode method to set up and device of virtual machine
CN108022600B (en) * 2017-10-26 2021-08-17 珠海格力电器股份有限公司 Equipment control method and device, storage medium and server
CN110806901B (en) * 2019-11-05 2023-07-28 西安雷风电子科技有限公司 Multi-desktop dynamic switching system and method

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101916207A (en) * 2010-08-28 2010-12-15 华为技术有限公司 Energy saving method, device and system under desktop virtual environment
CN102882968A (en) * 2012-09-27 2013-01-16 广东电子工业研究院有限公司 Method for dynamically distributing cloud desktops
CN103186408A (en) * 2011-12-29 2013-07-03 英业达股份有限公司 Management method of operated virtual machine, system and device thereof

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130254761A1 (en) * 2012-03-20 2013-09-26 Cellco Partnership D/B/A Verizon Wireless Granular application sessions tagging

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101916207A (en) * 2010-08-28 2010-12-15 华为技术有限公司 Energy saving method, device and system under desktop virtual environment
CN103186408A (en) * 2011-12-29 2013-07-03 英业达股份有限公司 Management method of operated virtual machine, system and device thereof
CN102882968A (en) * 2012-09-27 2013-01-16 广东电子工业研究院有限公司 Method for dynamically distributing cloud desktops

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
《虚拟化技术中的存储管理问题研究》;宋振华;《中国优秀硕士学位论文全文数据库》;20110115;全文 *

Also Published As

Publication number Publication date
CN103561089A (en) 2014-02-05

Similar Documents

Publication Publication Date Title
US11100605B2 (en) Virtual machine graphics resource usage
CN109471710B (en) Task request processing method and device, processor, terminal and server
CN104598257B (en) The method and apparatus of remote application operation
CN103561089B (en) Virtual machine desktop log-in, Apparatus and system
US20120151476A1 (en) Virtual machine morphing for heterogeneous migration environments
CN104331217B (en) A kind of method for showing interface and device
US8660833B2 (en) Method, computer program product and apparatus for providing an interactive network simulator
CN104765678A (en) Method and device for testing applications on mobile terminal
US10261880B1 (en) Error generation using a computer add-in card
CN110377429A (en) A kind of control method, device, server and storage medium that real-time task calculates
CN108153590A (en) Manage hardware resource
US10178170B2 (en) Browser-based virtual media administration
CN110046026A (en) Cloud host specifies virtual disk method for limiting speed, calculates equipment and cloud platform
CN106502760B (en) A kind of virtual machine compatibility strategy visualization method and device
CN109918320A (en) A kind of control method of USB device, device and KVM control system
CN106484459A (en) It is applied to flow control method and the device of JavaScript
CN115658301A (en) Storage resource scheduling method, device, storage medium and electronic equipment
CN110413675A (en) A kind of control method, device, server and storage medium that real-time task calculates
CN110515692A (en) A kind of method and apparatus applied for starting reading
CN109948332A (en) A kind of physical machine login password remapping method and device
CN108427560A (en) API file management methods, server and storage medium
CN109756350A (en) A kind of method and apparatus of the PUSH message in group session
US20210389846A1 (en) Systems and methods for viewing incompatible web pages via remote browser instances
CN108063723A (en) A kind of reminding method and electronic equipment
CN107454160B (en) Information processing method, mobile terminal and computer readable storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20220211

Address after: 550025 Huawei cloud data center, jiaoxinggong Road, Qianzhong Avenue, Gui'an New District, Guiyang City, Guizhou Province

Patentee after: Huawei Cloud Computing Technology Co.,Ltd.

Address before: 518129 Bantian HUAWEI headquarters office building, Longgang District, Guangdong, Shenzhen

Patentee before: HUAWEI TECHNOLOGIES Co.,Ltd.

TR01 Transfer of patent right