CN103561089A - Virtual machine desktop log-in method, device and system - Google Patents
Virtual machine desktop log-in method, device and system Download PDFInfo
- Publication number
- CN103561089A CN103561089A CN201310530390.9A CN201310530390A CN103561089A CN 103561089 A CN103561089 A CN 103561089A CN 201310530390 A CN201310530390 A CN 201310530390A CN 103561089 A CN103561089 A CN 103561089A
- Authority
- CN
- China
- Prior art keywords
- virtual machine
- login
- state
- status
- access unit
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 50
- 230000005540 biological transmission Effects 0.000 claims abstract description 31
- 230000000284 resting effect Effects 0.000 claims description 56
- 230000007257 malfunction Effects 0.000 claims description 55
- 230000005059 dormancy Effects 0.000 claims description 25
- 230000000977 initiatory effect Effects 0.000 claims description 20
- 238000012217 deletion Methods 0.000 claims description 11
- 230000037430 deletion Effects 0.000 claims description 11
- 230000005012 migration Effects 0.000 claims description 11
- 238000013508 migration Methods 0.000 claims description 11
- 238000006386 neutralization reaction Methods 0.000 claims description 11
- 238000011084 recovery Methods 0.000 claims description 11
- 239000003086 colorant Substances 0.000 claims description 8
- 230000004913 activation Effects 0.000 claims description 4
- 238000004891 communication Methods 0.000 description 6
- 230000008569 process Effects 0.000 description 6
- 230000006870 function Effects 0.000 description 5
- 238000005516 engineering process Methods 0.000 description 4
- 230000008439 repair process Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
Images
Landscapes
- Computer And Data Communications (AREA)
Abstract
The invention relates to a virtual machine desktop log-in method, device and system. The virtual machine desktop log-in method comprises the steps that a user accessing unit receives connecting states of virtual machines sent by a desktop transmission controller; the user accessing unit determines log-in states of the virtual machines according to the connecting states, the log-in states comprise log-in ready states, shutdown dormant states and fault states; the user accessing unit sends lists and the log-in states of the virtual machines to a user terminal. The log-in states of the virtual machine are determined according to the connecting states, and log-in efficiency and user experience can be effectively improved when a user logs in a virtual machine desktop.
Description
Technical field
The present invention relates to desktop cloud field, relate in particular to a kind of virtual machine desktop login method, Apparatus and system.
Background technology
Desktop cloud (Desktop Cloud) refers to the desktop and the application program trustship that originally operate on user terminal is moved to server end, user terminal carries out remote access by network to the desktop of trustship and application program, and now user terminal is only realized the function of input and output and interface display.
At present, the parts that are mainly concerned with in the login process of virtual machine desktop comprise: user terminal, user's access unit (English: Web Interface, abbreviation: WI), desktop transmission control unit (TCU) (English: Desktop Delivery Controller, abbreviation: DDC), IT adapter (English: IT Adapter, abbreviation: ITA) with virtual resource manager (English: Virtual Resource Manager, abbreviation: VRM), in the login process of virtual machine desktop, user's access unit obtains all virtual machine lists from DDC, and all virtual machine lists are presented to user, user can only know there is which virtual machine by virtual machine list, can not know the connection status of virtual machine.And in practical application virtual machine may in login ready state, also may be in unregistered state.
Unregistered state represents that virtual machine may be in shutdown resting state or malfunction, if the virtual machine that user selects is shutdown resting state, need by the time after this virtual machine activation, can login, if the virtual machine that user selects is malfunction, user can receive the prompting of login-timeout, needs user to reselect virtual machine or login again, not only time-consuming, inefficiency, and user's Experience Degree is lower.
Summary of the invention
technical problem
In view of this, the invention provides a kind of virtual machine desktop login method, Apparatus and system, to solve in login virtual machine desktop process, login inefficiency, the problem that user experience is low.
solution
In order to solve the problems of the technologies described above, according to one embodiment of the invention, provide a kind of virtual machine desktop login method, comprising:
User's access unit receives the connection status of each virtual machine of desktop transmission control unit (TCU) transmission;
Described user's access unit is determined the logging status of virtual machine described in each according to described connection status, described logging status comprises login ready state, shutdown resting state and malfunction; And
Described user's access unit sends to user terminal by the list of described each virtual machine and logging status.
For above-mentioned virtual machine desktop login method, in a kind of possible implementation, described user's access unit is determined the logging status of virtual machine described in each according to described connection status, comprising:
If described connection status for connecting, do not connect and ready in any one state, described user's access unit determines that the logging status of described virtual machine is login ready state; And
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 malfunction.
For above-mentioned virtual machine desktop login method, in a kind of possible implementation, 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 malfunction, comprising:
Described user's access unit obtains from virtual resource manager the running status that connection status is the virtual machine of unregistered state by IT adapter; And
Described user's access unit determines that according to described running status the logging status of described virtual machine is shutdown resting state or malfunction.
For above-mentioned virtual machine desktop login method, in a kind of possible implementation, described user's access unit determines that according to described running status the logging status of described virtual machine is shutdown resting state or malfunction, comprising:
If described running status in stopping, stopping, starting in, in dormancy, dormancy and paused in any one state, described user's access unit determines that the logging status of corresponding virtual machine is shutdown resting state; And
If described running status is in migration, fault recovery, deletion, create neutralization any one state in indefinite, described user's access unit determines that the logging status of corresponding virtual machine is malfunction.
For above-mentioned virtual machine desktop login method, in a kind of possible implementation, after described user's access unit returns to user terminal by described logging status, also comprise:
Described user's access unit receives the virtual machine of described user terminal selecting login, and carries out corresponding operation.
For above-mentioned virtual machine desktop login method, in a kind of possible implementation, described user's access unit is carried out corresponding operation, comprising:
If the virtual machine of described user terminal selecting login in login ready state, described user's access unit delivers corresponding virtual machine desktop to described user terminal.
For above-mentioned virtual machine desktop login method, in a kind of possible implementation, described user's access unit is carried out corresponding operation, comprising:
If the virtual machine of described user terminal selecting login in shutdown resting state, announcement information during described user's access unit sends that described virtual machine is normal and starts is to described user terminal, and after described virtual machine activation, corresponding virtual machine desktop delivered to described user terminal; And
If the virtual machine of described user terminal selecting login in malfunction, described user's access unit send described virtual-machine fail and the announcement information that cannot login to described user terminal.
For above-mentioned virtual machine desktop login method, in a kind of possible implementation, the announcement information during described user's access unit sends that described virtual machine is normal and starts, to before described user terminal, also comprises:
Described user's access unit sends the initiation message of described virtual machine to described virtual resource manager by IT adapter, described initiation message is used to indicate described virtual resource manager and starts corresponding virtual machine.
For above-mentioned virtual machine desktop login method, in a kind of possible implementation, described user's access unit, also comprises by IT adapter after described virtual resource manager sends the initiation message of described virtual machine:
Described user's access unit is to the connection status of the corresponding virtual machine of described desktop transmission control unit (TCU) poll:
If described connection status for connecting, do not connect and ready in any one state, described user's access unit delivers corresponding virtual machine desktop to described user terminal; And
If described connection status is unregistered state, the notification message that described user's access unit sends login failure is to described user terminal.
For above-mentioned virtual machine desktop login method, in a kind of possible implementation, described login ready state, shutdown resting state and malfunction adopt the icon of different colours to represent.
In order to solve the problems of the technologies described above, according to another embodiment of the present invention, provide a kind of virtual machine desktop login device, comprising:
Receiver module, for receiving the connection status of each virtual machine of desktop transmission control unit (TCU) transmission;
Logging status determination module, is connected with described receiver module, and for determine the logging status of virtual machine described in each according to described connection status, described logging status comprises login ready state, shutdown resting state and malfunction; And
Sending module, is connected with described logging status determination module, for described logging status is sent to user terminal.
For above-mentioned virtual machine desktop login device, in a kind of possible implementation, described logging status determination module comprises:
Login ready state determining unit, in described connection status for connecting, do not connect and determining that the logging status of corresponding virtual machine is login ready state during ready any one state.
For above-mentioned virtual machine desktop login device, in a kind of possible implementation, described receiver module is also for when described connection status is unregistered state, the running status of the virtual machine of the unregistered state sending by IT adapter reception virtual resource manager, described logging status determination module also comprises:
Shutdown resting state determining unit, for described running status in stopping, stopping, starting, in dormancy, dormancy and paused in any one state time determine that the logging status of corresponding virtual machine is the resting state of shutting down; And
Malfunction determining unit, for being migration, fault recovery, deletion in described running status, determining that the logging status of corresponding virtual machine is malfunction while creating any one state in indefinite of neutralization.
For above-mentioned virtual machine desktop login device, in a kind of possible implementation, described receiver module is also for receiving the virtual machine of user terminal selecting login, and described virtual machine desktop login device also comprises:
Executive Module, be connected with described sending module with described receiver module, for corresponding virtual machine desktop being delivered to described user terminal by described sending module when logining the virtual machine of ready state in described user terminal selecting login, announcement information in sending by described sending module during virtual machine in the login of described user terminal selecting in shutdown resting state that described virtual machine is normal and starting is to described user terminal, the announcement information that sends described virtual-machine fail by described sending module and cannot login when described user terminal selecting is logined the virtual machine in malfunction is to described user terminal.
For above-mentioned virtual machine desktop login device, in a kind of possible implementation, described virtual machine desktop login device also comprises: start module, be connected with described sending module with described receiver module, be used for by described sending module and via IT adapter, sending the initiation message of virtual machine to virtual resource manager when described user terminal selecting is logined the virtual machine in shutdown resting state, described initiation message is used to indicate described virtual resource manager and starts corresponding virtual machine.
For above-mentioned virtual machine desktop login device, in a kind of possible implementation, described virtual machine desktop login device also comprises: poll module, with described receiver module, described startup module, described Executive Module is connected with described sending module, for send after the initiation message of virtual machine the connection status to described desktop transmission control unit (TCU) poll correspondence virtual machine in described startup module, and in described connection status for connecting, do not connect and ready in any one state time send the successful notification message of startup to described Executive Module, when being unregistered state, described connection status send the notification message of login failure to described Executive Module,
Executive Module, for according to the successful notification message of described startup, corresponding virtual machine desktop being delivered to described user terminal, and is transmitted to described user terminal according to the notification message of described login failure by the notification message of described login failure.
For above-mentioned virtual machine desktop login device, in a kind of possible implementation, described virtual machine desktop login device also comprises: icon display module, be connected with described logging status determination module, for adopting the icon of different colours to represent described login ready state, shutdown resting state and malfunction.
In order to solve the problems of the technologies described above, according to still another embodiment of the invention, provide a kind of virtual machine desktop login system, comprised above-mentioned virtual machine desktop login device.
beneficial effect
Before selecting to login virtual machine desktop user, just according to the connection status of virtual machine, analyze virtual machine in which kind of logging status, and present to user and select for user, according to the virtual machine desktop login method of the embodiment of the present invention, can improve login efficiency and user experience;
By logining user in the whole process of virtual machine desktop, to user, make prompting accurately, further improved user's Experience Degree;
By the virtual machine for different logging status, adopt the icon of different colours to represent, further improved user's Experience Degree.
According to below with reference to accompanying drawing to detailed description of illustrative embodiments, it is clear that further feature of the present invention and aspect will become.
Accompanying drawing explanation
The accompanying drawing that is included in specification and forms a part for specification shows exemplary embodiment of the present invention, feature and aspect together with specification, and for explaining principle of the present invention.
Fig. 1 shows the flow chart of the virtual machine desktop login method that one embodiment of the present of invention provide;
Fig. 2 shows the flow chart of the virtual machine desktop login method that an alternative embodiment of the invention provides;
Fig. 3 shows the flow chart of the virtual machine desktop login method that another embodiment of the present invention provides;
Fig. 4 shows the structural representation of the virtual machine desktop login device that one embodiment of the present of invention provide;
Fig. 5 shows the structural representation of the virtual machine desktop login device that another embodiment of the present invention provides;
Fig. 6 shows the structural representation of the virtual machine desktop login device that another embodiment of the present invention provides;
The structural representation of the virtual machine desktop login system providing in one embodiment of the present of invention is provided Fig. 7;
Fig. 8 shows the structural representation of the virtual machine desktop login device that one embodiment of the present of invention provide.
Embodiment
Below with reference to accompanying drawing, describe various exemplary embodiments of the present invention, feature and aspect in detail.The identical same or analogous element of Reference numeral presentation function in accompanying drawing.Although the various aspects of embodiment shown in the drawings, unless otherwise indicated, needn't draw accompanying drawing in proportion.
Here special-purpose word " exemplary " means " as example, embodiment or illustrative ".Here as " exemplary " illustrated any embodiment, needn't be interpreted as being better than or being better than other embodiment.
In addition, for better explanation the present invention, in embodiment below, provided numerous details.It will be appreciated by those skilled in the art that and there is no some detail, the present invention can implement equally.In some instances, the method for knowing for those skilled in the art, means, element and circuit are not described in detail, so that highlight purport of the present invention.
embodiment 1
Fig. 1 shows the flow chart of the virtual machine desktop login method that one embodiment of the present of invention provide.As shown in Figure 1, the method mainly comprises the following steps:
S110, user's access unit receive the connection status of each virtual machine of desktop transmission control unit (TCU) transmission.This connection status comprises and connecting, do not connect, ready and unregistered four kinds of states.
S120, user's access unit are determined the logging status of each virtual machine according to this connection status.This logging status comprises that login is ready, dormancy and these three kinds of states of fault shut down.
In this step, when user's access unit is determined the logging status of each virtual machine according to this connection status, if the connection status of virtual machine for connecting, do not connect and ready in any one state, this user's access unit determines that the logging status of this virtual machine is login ready state; If the connection status of virtual machine is unregistered state, this user's access unit determines that the logging status of this virtual machine is shutdown resting state or malfunction.
S130, user's access unit send to user terminal by the list of each virtual machine and logging status.
Than current virtual machine desktop login method, this method is before user selects to login virtual machine desktop, just according to the connection status of virtual machine, analyze virtual machine in which kind of logging status, and present to user and select for user, improved login efficiency and user experience.
embodiment 2
Fig. 2 shows the flow chart of the virtual machine desktop login method that an alternative embodiment of the invention provides.As shown in Figure 2, the method mainly comprises the following steps:
S210, user's access unit receive the connection status of each virtual machine of desktop transmission control unit (TCU) transmission.This connection status comprises and connecting, do not connect, ready and unregistered four kinds of states.
S220, user's access unit determine the logging status of virtual machine described in each according to this connection status.This logging status comprises that login is ready, dormancy and these three kinds of states of fault shut down.
In this step, if the connection status of virtual machine for connecting, do not connect and ready in any one state, perform step S240; If the connection status of virtual machine is unregistered state, the logging status that represents this virtual machine is shutdown resting state or malfunction, execution step S230.
S230, user's access unit obtain the running status of the virtual machine of unregistered state from virtual resource manager by IT adapter, and perform step S250.This running status comprise stop, stopping in, start in, in dormancy, in dormancy, paused, migration, fault recovery, deletion, create indefinite these several states of neutralization.
S240, user's access unit determine that the logging status of this virtual machine is login ready state, and perform step S280.
S250, user's access unit determine that according to this running status the logging status of described virtual machine is shutdown resting state or malfunction.
In this step, if the running status of virtual machine in stopping, stopping, starting in, in dormancy, dormancy and paused in any one state, perform step S260; If the running status of virtual machine is in migration, fault recovery, deletion, create neutralization any one state in indefinite, 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.
S280, user's access unit send to user terminal by the list of this virtual machine and logging status.
Than embodiment 1, the present embodiment is before user selects to login virtual machine desktop, not only analyzed the virtual machine in login ready state, also distinguished the virtual machine in shutdown resting state and malfunction, and present to user and select for user, thus, further improved user experience.In addition, for the virtual machine in malfunction, user or attendant can repair in time, have shortened the time that the user that causes due to virtual-machine fail cannot login virtual machine desktop, have improved login efficiency.
embodiment 3
Fig. 3 shows the flow chart of the virtual machine desktop login method that another embodiment of the present invention provides.As shown in Figure 3, the method mainly comprises the following steps:
S310, user's access unit receive the connection status of each virtual machine of desktop transmission control unit (TCU) transmission.This connection status comprises and connecting, do not connect, ready and unregistered four kinds of states.
S311, user's access unit determine the logging status of virtual machine described in each according to this connection status.This logging status comprises that login is ready, dormancy and these three kinds of states of fault shut down.
In this step, if the connection status of virtual machine for connecting, do not connect and ready in any one state, perform step S313; If the connection status of virtual machine is unregistered state, the logging status that represents this virtual machine is shutdown resting state or malfunction, execution step S312.
S312, user's access unit obtain the running status of the virtual machine of unregistered state from virtual resource manager by IT adapter, and perform step S314.This running status comprise stop, stopping in, start in, in dormancy, in dormancy, paused, migration, fault recovery, deletion, create indefinite these several states of neutralization.
S313, user's access unit determine that the logging status of this virtual machine is login ready state, and the list of this virtual machine and login ready state are sent to user terminal.
S314, user's access unit determine that according to this running status the logging status of described virtual machine is shutdown resting state or malfunction.
In this step, if the running status of virtual machine in stopping, stopping, starting in, in dormancy, dormancy and paused in any one state, perform step S315; If the running status of virtual machine is in migration, fault recovery, deletion, create neutralization any one state in indefinite, perform step S316.
S315, user's access unit determine that the logging status of this virtual machine is shutdown resting state, and the list of this virtual machine and shutdown resting state are sent to user terminal.
S316, user's access unit determine that the logging status of this virtual machine is malfunction, and the list of this virtual machine and malfunction are sent to user terminal.
The virtual machine of user terminal selecting login in login ready state, user's access unit delivers corresponding virtual machine desktop to user terminal.
The user terminal selecting login virtual machine in malfunction, user's access unit send this virtual-machine fail and the announcement information that cannot login to user terminal.
The virtual machine of user terminal selecting login in shutdown resting state, the operation of user's access unit execution step S317~S322.
S317, user's access unit send the initiation message of described virtual machine to virtual resource manager by IT adapter, described initiation message is used to indicate this virtual resource manager and starts corresponding virtual machine.
Announcement information during S318, user's access unit send that this virtual machine is normal and start is to user terminal.
The connection status of the virtual machine after S319, user's access unit start to desktop transmission control unit (TCU) poll.
The connection status of S320, the virtual machine after startup for connecting, do not connect and ready in any one state time, execution step S322; The connection status of the virtual machine after startup is unregistered state, performs step S321.
The notification message that S321, user's access unit send login failure is to user terminal.
S322, user's access unit deliver corresponding virtual machine desktop to user terminal.
Than embodiment 2, in the present embodiment, for user, login in the whole process of virtual machine desktop, can make prompting accurately to user, further improved user's Experience Degree.
In addition,, for the virtual machine of different logging status, the present invention adopts the icon of different colours to represent.For example, for the virtual machine of login ready state, adopt green icon to represent, for the virtual machine of shutdown resting state, adopt yellow to represent, for the virtual machine of malfunction, adopt redness to represent.
embodiment 4
Fig. 4 shows the structural representation of the virtual machine desktop login device that one embodiment of the present of invention provide.As shown in Figure 4, this user's access unit comprises receiver module 10, logins ready module 20 and sending module 30.
Logging status determination module 20, is connected with this receiver module 10, for determining that according to this connection status the logging status of each virtual machine, this logging status comprise login ready state, shutdown resting state and malfunction.
Sending module 30, is connected with logging status determination module 20, for this logging status is returned to user terminal.
Than current virtual machine desktop login device, the present embodiment is before user selects to login virtual machine desktop, just according to the connection status of virtual machine, analyze virtual machine in which kind of logging status, and present to user and select for user, improved 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 shown in Figure 5, this user's access unit comprises receiver module 10, logins ready module 20 and sending module 30, and this is logined ready module 20 and comprises login ready state determining unit 201, shutdown resting state determining unit 202 and malfunction determining unit 203.
Login ready state determining unit 201 in connection status for connecting, do not connect and determining that the logging status of corresponding virtual machine is login ready state during ready any one state.
Shutdown resting state determining unit 202, for the running status of the virtual machine that is unregistered state in connection status in stopping, stopping, starting, in dormancy, dormancy and paused in any one state time determine that the logging status of corresponding virtual machine is the resting state of shutting down.
Sending module 30, is connected with logging status determination module 20, for this logging status is returned to user terminal.
Than embodiment 4, the present embodiment, before user selects to login virtual machine desktop, has not only analyzed the virtual machine in login ready state, has also distinguished the virtual machine in shutdown resting state and malfunction, and presents to user and select for user.Thus, further user experience.In addition, for the virtual machine in malfunction, user or attendant can repair in time, have shortened the time that the user that causes due to virtual-machine fail cannot login virtual machine desktop, have improved login efficiency.
embodiment 6
Fig. 6 shows the structural representation of user's access unit that another embodiment of the present invention provides.As shown in Figure 6, this user's access unit comprises receiver module 10, logins ready module 20, sending module 30, Executive Module 40, start module 50, poll module 60 and icon display module 70, and this is logined ready module 20 and comprises login ready state determining unit 201, shutdown resting state determining unit 202 and malfunction determining unit 203.
Login ready state determining unit 201 in connection status for connecting, do not connect and determining that the logging status of corresponding virtual machine is login ready state during ready any one state.
Shutdown resting state determining unit 202, for the running status of the virtual machine that is unregistered state in connection status in stopping, stopping, starting, in dormancy, dormancy and paused in any one state time determine that the logging status of corresponding virtual machine is the resting state of shutting down.
Sending module 30, is connected with logging status determination module 20, for this logging status is sent to user terminal.
Than embodiment 5, the present embodiment adopts Executive Module, logins the whole process of virtual machine desktop for user, all can make prompting accurately to user, has improved user's Experience Degree.In addition, the present embodiment adopts icon display module, represents the virtual machine of different logging status with the icon of different colours, has further improved user's Experience Degree.
embodiment 7
Fig. 7 shows the structural representation of the virtual machine desktop login system that one embodiment of the present of invention provide.As shown in Figure 7, this virtual machine desktop login system comprises any one virtual machine desktop login device in user terminal, embodiment 4 to embodiment 6.
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 host server, personal computer PC or portable portable computer or the terminal etc. that possess computing capability.The specific embodiment of the invention does not limit the specific implementation of computing node.
Described virtual desktop entering device 800 comprises processor (processor) 810, communication interface (Communications Interface) 820, memory (memory array) 830 and bus 840.Wherein, processor 810, communication interface 820 and memory 830 complete mutual communication by bus 840.
Processor 810 is for executive program.Processor 810 may be a central processor CPU, or application-specific integrated circuit ASIC (Application Specific Integrated Circuit), or is configured to implement one or more integrated circuits of the embodiment of the present invention.
Memory 830 is for storing documents.Memory 830 may comprise high-speed RAM memory, also may also comprise nonvolatile memory (non-volatile memory), for example at least one magnetic disc store.Memory 830 can be also memory array.Memory 830 also may be by piecemeal, and described can become virtual volume by certain principle combinations.
In a kind of possible implementation, said procedure can be the program code that comprises computer-managed instruction.This program specifically can be used for making virtual desktop entering device to carry out following steps:
Receive the connection status of each virtual machine of desktop transmission control unit (TCU) transmission;
According to described connection status, determine the logging status of virtual machine described in each, in described connection status for connecting, do not connect and ready in any one state time determine that the logging status of corresponding virtual machine is login ready state, the logging status of determining described virtual machine when described connection status is unregistered state is shutdown resting state or malfunction;
The running status of the virtual machine of the unregistered state sending by IT adapter reception virtual resource manager;
The logging status of determining described virtual machine according to described running status is shutdown resting state or malfunction, described running status in stopping, stopping, starting in, in dormancy, dormancy and paused in any one state time determine that the logging status of corresponding virtual machine is shutdown resting state, in described running status, be in migration, fault recovery, deletion, determine that the logging status of corresponding virtual machine is malfunction while creating any one state in indefinite of neutralization;
Described logging status is returned to user terminal.
In a kind of possible implementation, said procedure is also for after returning to user terminal by described logging status, also make described virtual desktop entering device: the virtual machine that receives described user terminal selecting login, and carry out corresponding operation: if the virtual machine of described user terminal selecting login in login ready state delivered corresponding virtual machine desktop to described user terminal.
If the virtual machine of described user terminal selecting login in shutdown resting state, the announcement information in sending that described virtual machine is normal and starting is to described user terminal, and after described virtual machine activation, corresponding virtual machine desktop delivered to described user terminal;
If the virtual machine of described user terminal selecting login in malfunction, send described virtual-machine fail and the announcement information that cannot login to described user terminal.
In a kind of possible implementation, said procedure is also for sending the normal announcement information starting of described virtual machine to before described user terminal, also make described virtual desktop entering device: by IT adapter, to described virtual resource manager, send the initiation message of described virtual machine, described initiation message is used to indicate described virtual resource manager and starts corresponding virtual machine.
In a kind of possible implementation, said procedure also for by IT adapter after described virtual resource manager sends the initiation message of described virtual machine, also make described virtual desktop entering device: to the connection status of the corresponding virtual machine of described desktop transmission control unit (TCU) poll:
If described connection status for connecting, do not connect and ready in any one state, corresponding virtual machine desktop is delivered to described user terminal; And
If described connection status is unregistered state, send the notification message of login failure to described user terminal.Those of ordinary skills can recognize, each exemplary cell and algorithm steps in embodiment described herein can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions realize with hardware or form of software actually, depend on application-specific and the design constraint of technical scheme.Professional and technical personnel can realize described function for specific application choice diverse ways, but this realization should not thought and exceeds scope of the present invention.
If the form of computer software of usining realizes described function and as production marketing independently or while using, can think to a certain extent that all or part of (part for example prior art being contributed) of technical scheme of the present invention is with the form embodiment of computer software product.This computer software product is stored in the non-volatile memory medium of embodied on computer readable conventionally, comprises that some instructions are used so that computer equipment (can be personal computer, server or the network equipment etc.) is carried out all or part of step of various embodiments of the present invention method.And aforesaid storage medium comprises the various media that can be program code stored such as USB flash disk, portable hard drive, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD.
The above; be only the specific embodiment of the present invention, but protection scope of the present invention is not limited to this, is anyly familiar with those skilled in the art in the technical scope that the present invention discloses; can expect easily changing or replacing, within all should being encompassed in protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion by the described protection range with claim.
Claims (18)
1. a virtual machine desktop login method, is characterized in that, comprising:
User's access unit receives the connection status of each virtual machine of desktop transmission control unit (TCU) transmission;
Described user's access unit is determined the logging status of virtual machine described in each according to described connection status, described logging status comprises login ready state, shutdown resting state and malfunction; And
Described user's access unit sends to user terminal by the list of described each virtual machine and logging status.
2. method according to claim 1, is characterized in that, described user's access unit is determined the logging status of virtual machine described in each according to described connection status, comprising:
If described connection status for connecting, do not connect and ready in any one state, described user's access unit determines that the logging status of described virtual machine is login ready state; And
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 malfunction.
3. method according to claim 2, is characterized 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 malfunction, comprising:
Described user's access unit obtains from virtual resource manager the running status that connection status is the virtual machine of unregistered state by IT adapter; And
Described user's access unit determines that according to described running status the logging status of described virtual machine is shutdown resting state or malfunction.
4. method according to claim 3, is characterized in that, described user's access unit determines that according to described running status the logging status of described virtual machine is shutdown resting state or malfunction, comprising:
If described running status in stopping, stopping, starting in, in dormancy, dormancy and paused in any one state, described user's access unit determines that the logging status of corresponding virtual machine is shutdown resting state; And
If described running status is in migration, fault recovery, deletion, create neutralization any one state in indefinite, described user's access unit determines that the logging status of corresponding virtual machine is malfunction.
5. according to the method described in any one in claim 1-4, it is characterized in that, after described user's access unit returns to user terminal by described logging status, also comprise:
Described user's access unit receives the virtual machine of described user terminal selecting login, and carries out corresponding operation.
6. method according to claim 5, is characterized in that, described user's access unit is carried out corresponding operation, comprising:
If the virtual machine of described user terminal selecting login in login ready state, described user's access unit delivers corresponding virtual machine desktop to described user terminal.
7. method according to claim 5, is characterized in that, described user's access unit is carried out corresponding operation, comprising:
If the virtual machine of described user terminal selecting login in shutdown resting state, announcement information during described user's access unit sends that described virtual machine is normal and starts is to described user terminal, and after described virtual machine activation, corresponding virtual machine desktop delivered to described user terminal; And
If the virtual machine of described user terminal selecting login in malfunction, described user's access unit send described virtual-machine fail and the announcement information that cannot login to described user terminal.
8. method according to claim 7, is characterized in that, the announcement information during described user's access unit sends that described virtual machine is normal and starts, to before described user terminal, also comprises:
Described user's access unit sends the initiation message of described virtual machine to described virtual resource manager by IT adapter, described initiation message is used to indicate described virtual resource manager and starts corresponding virtual machine.
9. method according to claim 8, is characterized in that, described user's access unit, also comprises by IT adapter after described virtual resource manager sends the initiation message of described virtual machine:
Described user's access unit is to the connection status of the corresponding virtual machine of described desktop transmission control unit (TCU) poll:
If described connection status for connecting, do not connect and ready in any one state, described user's access unit delivers corresponding virtual machine desktop to described user terminal; And
If described connection status is unregistered state, the notification message that described user's access unit sends login failure is to described user terminal.
10. according to the method described in any one in claim 1~9, it is characterized in that, described login ready state, shutdown resting state and malfunction adopt the icon of different colours to represent.
11. 1 kinds of virtual machine desktop login devices, is characterized in that, comprising:
Receiver module, for receiving the connection status of each virtual machine of desktop transmission control unit (TCU) transmission;
Logging status determination module, is connected with described receiver module, and for determine the logging status of virtual machine described in each according to described connection status, described logging status comprises login ready state, shutdown resting state and malfunction; And
Sending module, is connected with described logging status determination module, for described logging status is sent to user terminal.
12. virtual machine desktop login devices according to claim 11, is characterized in that, described logging status determination module comprises:
Login ready state determining unit, in described connection status for connecting, do not connect and determining that the logging status of corresponding virtual machine is login ready state during ready any one state.
13. according to the virtual machine desktop login device described in claim 11 or 12, it is characterized in that, described receiver module is also for when described connection status is unregistered state, the running status of the virtual machine of the unregistered state sending by IT adapter reception virtual resource manager, described logging status determination module also comprises:
Shutdown resting state determining unit, for described running status in stopping, stopping, starting, in dormancy, dormancy and paused in any one state time determine that the logging status of corresponding virtual machine is the resting state of shutting down; And
Malfunction determining unit, for being migration, fault recovery, deletion in described running status, determining that the logging status of corresponding virtual machine is malfunction while creating any one state in indefinite of neutralization.
14. according to the virtual machine desktop login device described in any one in claim 11~13, it is characterized in that, described receiver module is also for receiving the virtual machine of user terminal selecting login, and described virtual machine desktop login device also comprises:
Executive Module, be connected with described sending module with described receiver module, for corresponding virtual machine desktop being delivered to described user terminal by described sending module when logining the virtual machine of ready state in described user terminal selecting login, announcement information in sending by described sending module during virtual machine in the login of described user terminal selecting in shutdown resting state that described virtual machine is normal and starting is to described user terminal, the announcement information that sends described virtual-machine fail by described sending module and cannot login when described user terminal selecting is logined the virtual machine in malfunction is to described user terminal.
15. virtual machine desktop login devices according to claim 14, is characterized in that, also comprise:
Start module, be connected with described sending module with described receiver module, be used for by described sending module and via IT adapter, sending the initiation message of virtual machine to virtual resource manager when described user terminal selecting is logined the virtual machine in shutdown resting state, described initiation message is used to indicate described virtual resource manager and starts corresponding virtual machine.
16. virtual machine desktop login devices according to claim 15, is characterized in that, also comprise:
Poll module, be connected with described sending module with described receiver module, described startup module, described Executive Module, for send after the initiation message of virtual machine the connection status to described desktop transmission control unit (TCU) poll correspondence virtual machine in described startup module, and in described connection status for connecting, do not connect and ready in any one state time send and start successful notification message to described Executive Module, when described connection status is unregistered state, send the notification message of login failure to described Executive Module;
Executive Module, for according to the successful notification message of described startup, corresponding virtual machine desktop being delivered to described user terminal, and is transmitted to described user terminal according to the notification message of described login failure by the notification message of described login failure.
17. virtual machine desktop login devices according to claim 14, is characterized in that, also comprise:
Icon display module, is connected with described logging status determination module, for adopting the icon of different colours to represent described login ready state, shutdown resting state and malfunction.
18. 1 kinds of virtual machine desktop login systems, is characterized in that, comprise the virtual machine desktop login device described in any one in claim 11~17.
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 true CN103561089A (en) | 2014-02-05 |
CN103561089B 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) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104331319A (en) * | 2014-11-14 | 2015-02-04 | 华为技术有限公司 | Method and device for managing virtual desktop instances |
CN104391736A (en) * | 2014-11-25 | 2015-03-04 | 杭州华为数字技术有限公司 | Method for setting up sleep mode of virtual machine and device |
CN105022659A (en) * | 2014-04-30 | 2015-11-04 | 中国电信股份有限公司 | Virtual machine state control method and system |
CN108022600A (en) * | 2017-10-26 | 2018-05-11 | 珠海格力电器股份有限公司 | A kind of apparatus control method, device, storage medium and server |
CN110806901A (en) * | 2019-11-05 | 2020-02-18 | 西安雷风电子科技有限公司 | Multi-desktop dynamic switching system and method |
Citations (4)
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 |
US20130254761A1 (en) * | 2012-03-20 | 2013-09-26 | Cellco Partnership D/B/A Verizon Wireless | Granular application sessions tagging |
-
2013
- 2013-10-30 CN CN201310530390.9A patent/CN103561089B/en active Active
Patent Citations (4)
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 |
US20130254761A1 (en) * | 2012-03-20 | 2013-09-26 | Cellco Partnership D/B/A Verizon Wireless | Granular application sessions tagging |
CN102882968A (en) * | 2012-09-27 | 2013-01-16 | 广东电子工业研究院有限公司 | Method for dynamically distributing cloud desktops |
Non-Patent Citations (1)
Title |
---|
宋振华: "《虚拟化技术中的存储管理问题研究》", 《中国优秀硕士学位论文全文数据库》 * |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105022659A (en) * | 2014-04-30 | 2015-11-04 | 中国电信股份有限公司 | Virtual machine state control method and system |
CN105022659B (en) * | 2014-04-30 | 2018-05-11 | 中国电信股份有限公司 | virtual machine state control method and system |
CN104331319A (en) * | 2014-11-14 | 2015-02-04 | 华为技术有限公司 | Method and device for managing virtual desktop instances |
CN104331319B (en) * | 2014-11-14 | 2017-11-17 | 华为技术有限公司 | The management method and device of virtual desktop example |
CN104391736A (en) * | 2014-11-25 | 2015-03-04 | 杭州华为数字技术有限公司 | Method for setting up sleep mode of virtual machine and device |
CN104391736B (en) * | 2014-11-25 | 2018-04-10 | 杭州华为数字技术有限公司 | The park mode method to set up and device of virtual machine |
CN108022600A (en) * | 2017-10-26 | 2018-05-11 | 珠海格力电器股份有限公司 | A kind of apparatus control method, device, storage medium and server |
CN110806901A (en) * | 2019-11-05 | 2020-02-18 | 西安雷风电子科技有限公司 | Multi-desktop dynamic switching system and method |
Also Published As
Publication number | Publication date |
---|---|
CN103561089B (en) | 2017-01-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10042583B2 (en) | Device management method, device, and device management controller | |
CN103561089A (en) | Virtual machine desktop log-in method, device and system | |
US9645952B2 (en) | USB device communication system and working mode switching method to prevent USB device from adopting power interruption when reconfiguring firmware programs | |
CN103810020A (en) | Virtual machine elastic scaling method and device | |
US10614011B2 (en) | Apparatus, method, and electronic device for implementing solid-state drive data interaction | |
KR102168994B1 (en) | How to delete a cloud host in a cloud computing environment, devices, servers and storage media | |
CN103853594A (en) | INFORMATION PROCESSING APPARATUS, INFORMATION PROCESSING METHOD, AND COMPUTER Program | |
CN108234551B (en) | Data processing method and device | |
CN103559124A (en) | Fast fault detection method and device | |
CN104793982A (en) | Method and device for establishing virtual machine | |
CN112540801A (en) | Network card configuration method, host device, network card device, and storage medium | |
CN103870564A (en) | Data updating method and electronic equipment | |
CN108112052B (en) | Terminal network sharing method and device, air conditioner and storage medium | |
CN109413180B (en) | Data acquisition method, system and equipment and storage medium | |
CN103024545A (en) | Starting method of operating system of set-top box, set-top box and server | |
CN110971696B (en) | System and method for realizing virtual electronic card communication | |
CN104951325A (en) | Information display method and electronic equipment | |
CN103475733A (en) | File uploading method and system based on WEB | |
CN103761022A (en) | Content inputting method and terminal device | |
CN114327647A (en) | Server startup method, system, equipment and computer readable storage medium | |
CN106201938A (en) | A kind of chip, hub, electronic equipment and the method for interruption U SB signal | |
CN107515746B (en) | Startup initialization method and device, electronic equipment and computer storage medium | |
CN107066360B (en) | Information transmission method and server | |
US10282212B2 (en) | System and method for reducing boot time of a workload configuration on a target server | |
CN110427336B (en) | CPU link rate configuration method, system, equipment and computer 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 | ||
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 Technologies Co.,Ltd. Address before: 518129 Bantian HUAWEI headquarters office building, Longgang District, Guangdong, Shenzhen Patentee before: HUAWEI TECHNOLOGIES Co.,Ltd. |