CN108206842A - Cloud Desktop Remote cut-in method and system - Google Patents
Cloud Desktop Remote cut-in method and system Download PDFInfo
- Publication number
- CN108206842A CN108206842A CN201611169780.8A CN201611169780A CN108206842A CN 108206842 A CN108206842 A CN 108206842A CN 201611169780 A CN201611169780 A CN 201611169780A CN 108206842 A CN108206842 A CN 108206842A
- Authority
- CN
- China
- Prior art keywords
- virtual machine
- host
- access
- state
- cloud 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.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/14—Session management
- H04L67/141—Setup of application sessions
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/455—Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
- G06F9/45533—Hypervisors; Virtual machine monitors
- G06F9/45558—Hypervisor-specific management and integration aspects
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/26—Special purpose or proprietary protocols or architectures
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/455—Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
- G06F9/45533—Hypervisors; Virtual machine monitors
- G06F9/45558—Hypervisor-specific management and integration aspects
- G06F2009/45595—Network integration; Enabling network access in virtual machine instances
Abstract
The present invention relates to a kind of cloud Desktop Remote cut-in methods and system, this method to include:According to the certificate parameter of acquisition to host send remote connection request, receiving host return virtual machine type and access before state;State is when being not keyed up state or booting and IP failure states before the access of virtual machine, or it is booting and when IP active states and type are Linux virtual machines, SPICE access requests are sent to host, so as to use the cloud desktop of SPICE protocol remote access virtual machine by host;State is booting and when IP active states and type is Windows virtual machines before the access of virtual machine, obtains the IP address of virtual machine and port and sends RDP access requests to virtual machine, so as to access cloud desktop using RDP protocol remotes by virtual machine.According to the access way that the selection of type of virtual machine and state is suitable, cloud desktop access effect can be improved.
Description
Technical field
The present invention relates to field of computer technology, more particularly to a kind of cloud Desktop Remote cut-in method and system.
Background technology
With the appearance of cloud computing technology, various cloud application products are gradually put into use, such as cloud desktop.Cloud desktop is
A kind of PC application based on cloud computing technology, user need to provide virtual machine by local terminal remote connection
Host, by host access of virtual machine to obtain virtual computation interface.Remotely accessing for cloud desktop is needed by desktop
Transport protocol is realized.
Generally only with RDP, (Remote Desktop Protocol remote desktops are assisted for domestic cloud desktop manufacturer at present
View) or SPICE (Simple Protocol for Independent Computing Environment stand-alone computer rings
Border simple protocol) as the transport protocol remotely accessed.RDP agreements are carried by Windows operating system, and clothes are provided by virtual machine
It is engaged in end, since its connection end point is in the virtual machine of Windows operating system, not supporting blue screen troubleshooting, not supporting self-service open
Machine does not support Linux desktops, does not support no network card configuration;SPICE protocol provides server-side by host, to bandwidth occupancy and end
Hold processing capacity requirement high, occupied bandwidth height, graphics process performance are low.Therefore, traditional cloud desktop access effect is poor.
Invention content
Based on this, it is necessary in view of the above-mentioned problems, providing a kind of cloud Desktop Remote access for improving cloud desktop access effect
Method and system.
A kind of cloud Desktop Remote cut-in method, including:
Certificate parameter is obtained, remote connection request is sent to the host for providing virtual machine according to the certificate parameter;
The host is received according to the type of the virtual machine of the correspondence certificate parameter that the remote connection request returns
With state before access;
When state is is not keyed up state or is booting and IP failure states before the access of the virtual machine, send
SPICE access requests remotely access the cloud table of the virtual machine for passing through the host using SPICE protocol to the host
Face;
When state is booting and IP active states before the access of the virtual machine, if the type of the virtual machine is
Windows virtual machines then obtain IP address and the port of the virtual machine, and are sent out according to the IP address of the virtual machine and port
RDP access requests is sent to access the cloud of the virtual machine to the virtual machine for passing through the virtual machine using RDP protocol remotes
Desktop;
When state is booting and IP active states before the access of the virtual machine, if the type of the virtual machine is
Linux virtual machines then send the SPICE access requests to the host, remote using SPICE protocol for passing through the host
Journey accesses the cloud desktop of the virtual machine.
A kind of cloud Desktop Remote access system, including:
Long-range link block for obtaining certificate parameter, is sent according to the certificate parameter to the host for providing virtual machine
Remote connection request;
Data reception module is joined for receiving the host according to the correspondence verification that the remote connection request returns
State before the type of several virtual machines and access;
First state AM access module, for before the access of the virtual machine state for be not keyed up state or be booting and
During IP failure states, SPICE access requests are sent to the host, the SPICE access requests are used to adopt by the host
The cloud desktop of the virtual machine is remotely accessed with SPICE protocol;
Second state AM access module, for before the access of the virtual machine state for booting and during IP active states, if
The type of the virtual machine is Windows virtual machines, then obtains IP address and the port of the virtual machine, and according to described virtual
The IP address of machine and port send RDP access requests to the virtual machine, and the RDP access requests are used for through the virtual machine
The cloud desktop of the virtual machine is accessed using RDP protocol remotes;
Third state AM access module, for before the access of the virtual machine state for booting and during IP active states, if
The type of the virtual machine is Linux virtual machines, then sends the SPICE access requests to the host, the SPICE accesses
Request is used to remotely access the cloud desktop of the virtual machine using SPICE protocol by the host.
Above-mentioned cloud Desktop Remote cut-in method and system, by remotely connecting to host transmission in the certificate parameter according to acquisition
After connecing request, state before the type of the virtual machine of the corresponding certificate parameter of receiving host return and access;It is for state before access
State is the class under booting and IP active states before being not keyed up the virtual machine of state or booting and IP failure states and accessing
Type is the virtual machine of Linux virtual machines, by sending SPICE access requests to host, so as to use SPICE protocol by host
The cloud desktop of remote access virtual machine;For state before access be booting and IP active states, type are Windows virtual machines
Virtual machine, by obtain virtual machine IP address and port after send RDP access requests to virtual machine, so as to be adopted by virtual machine
With the cloud desktop of RDP protocol remote access of virtual machines.In this way, the type and state with reference to virtual machine are analyzed, assisted from SPICE
The preferably access way suitable for type of virtual machine and state is chosen in view access and RDP agreements access two ways, can be carried
High cloud desktop access effect.
Description of the drawings
Fig. 1 is the flow chart of an embodiment medium cloud Desktop Remote cut-in method;
Fig. 2 is the flow chart of another embodiment medium cloud Desktop Remote cut-in method;
Fig. 3 is the module frame chart of an embodiment medium cloud Desktop Remote access system;
Fig. 4 is the module frame chart of another embodiment medium cloud Desktop Remote access system;
Fig. 5 is the environmental structure figure of an application examples.
Specific embodiment
With reference to figure 2, the cloud Desktop Remote cut-in method in an embodiment can be applied to terminal, and this method includes as follows
Step.
S110:Certificate parameter is obtained, remote connection request is sent to the host for providing virtual machine according to certificate parameter.
Certificate parameter refers to the data needed when being connect with host remote.Host is the equipment for providing virtual machine.According to verification
After parameter generation remote connection request is sent to host, host can verify the certificate parameter included in remote connection request, test
Card with sending the terminal foundation of certificate parameter by remotely connecting afterwards.
In one embodiment, certificate parameter includes host ip (Internet protocol) address, host port, host authority and void
Plan machine ID (identity card).Host IP address, host port and host authority need the host remotely connected, virtual machine for specified
Virtual machine where the cloud desktop that ID accesses for specified needs.
S120:Before the type for the virtual machine of correspondence certificate parameter that receiving host is returned according to remote connection request and access
State.
It is established with host after remotely connecting, host auto-returned corresponds to the information of the virtual machine of certificate parameter, including type
With state before access.For example, the corresponding virtual machines of virtual machine ID in certificate parameter are virtual machine A, then host returns to virtual machine A
Type and access before state.
The type of virtual machine includes Windows virtual machines and Linux virtual machines.Wherein, Windows virtual machines refer to installation
The virtual machine of Windows operating system, Linux virtual machines refer to the virtual machine of installation (SuSE) Linux OS.Before the access of virtual machine
State refers to the state of the virtual machine before cloud desktop is remotely accessed, including be not keyed up state, booting and IP failure states and booting and
IP active states.
S130:When state is is not keyed up state or is booting and IP failure states before the access of virtual machine, send
SPICE access requests are to host, for passing through the cloud desktop that host uses SPICE protocol remote access virtual machine.
It is not keyed up state and includes the states such as shutdown, standby, suspend mode.Booting and IP failure states include booting and without IP, open
Machine and the not available two states of IP.Virtual machine be in be not keyed up state or booting and IP failure states when, virtual machine can not
Connect network;It is connect at this point, no matter virtual machine to be any in Windows virtual machines and Linux virtual machines, sends SPICE
Enter request to host, so as to host can be used SPICE protocol the cloud desktop of corresponding virtual machine accessed to send SPICE accesses please
The terminal asked realizes remotely accessing for cloud desktop.
S140:When state is booting and IP active states before the access of virtual machine, if the type of virtual machine is Windows
Virtual machine then obtains IP address and the port of virtual machine, and sends RDP access requests extremely according to the IP address of virtual machine and port
Virtual machine, for passing through the cloud desktop that virtual machine uses RDP protocol remote access of virtual machines.
Under booting and IP active states, virtual machine network-connectable, the virtual machine of Windows type of virtual machine can be used
RDP agreements.Therefore, by judging the type of virtual machine under being in booting and IP active states in virtual machine, if Windows void
Plan machine then sends RDP access requests to virtual machine, so as to which RDP associations can be used in virtual machine according to the IP address of virtual machine and port
Cloud desktop is accessed the terminal for sending RDP access requests by view, realizes remotely accessing for cloud desktop.
S150:When state is booting and IP active states before the access of virtual machine, if the type of virtual machine is empty for Linux
Plan machine then sends SPICE access requests to host, for passing through the cloud table that host uses SPICE protocol remote access virtual machine
Face.
(SuSE) Linux OS does not support RDP agreements, therefore, under booting and IP active states, if the type of virtual machine is
Linux virtual machines then still realize remotely accessing for cloud desktop using SPICE protocol.
Above-mentioned cloud Desktop Remote cut-in method, by sending remote connection request to host in the certificate parameter according to acquisition
Afterwards, receiving host return the virtual machine of corresponding certificate parameter type and access before state;For state before access to be not keyed up
State is that the type under booting and IP active states is before state or booting and virtual machine under IP failure states and access
The virtual machine of Linux virtual machines, by sending SPICE access requests to host, so as to long-range using SPICE protocol by host
The cloud desktop of access of virtual machine;For state before access be booting and IP active states, type are the virtual of Windows virtual machines
Machine, by obtain virtual machine IP address and port after send RDP access requests to virtual machine, so as to be used by virtual machine
The cloud desktop of RDP protocol remote access of virtual machines.In this way, the type and state with reference to virtual machine are analyzed, from SPICE protocol
The preferably access way suitable for type of virtual machine and state is chosen in access and RDP agreements access two ways, can be improved
Cloud desktop access effect.
In one embodiment, in the current state of virtual machine when being not keyed up state, to send SPICE access requests to host
Later, booting step is further included:It shows the virtual power on button of virtual machine, virtual machine is obtained according to the virtual power on button of display
Power-on instruction is simultaneously sent to host, starts the booting process of virtual machine according to virtual machine power-on instruction for host and enters cloud table
Face.
The virtual power on button of virtual machine can by after being carried out telecommunication with host according to host feed back button figure
Shape information is shown.Virtual power-on instruction can be prestored or user is on the virtual power on button of display
Carry out the instruction that clicking operation triggers.By virtual machine be in be not keyed up state when, send virtual power-on instruction to master
Machine, so as to which host-controllable virtual machine is switched on.The step that is switched on is suitable for Windows virtual machines and Linux virtual machines.
In one embodiment, when the current state of virtual machine is booting and IP failure states, SPICE access requests are sent
To host, further include:If the type of virtual machine is Windows virtual machines, the login interface of virtual machine is shown, according to aobvious
The login interface shown obtains virtual machine entry authority and is sent to host.
The login interface of virtual machine can be by after carrying out telecommunication with host, the login interface figure that is fed back according to host
Shape information is shown.Virtual machine entry authority can be prestored or user is defeated according to the login interface of display
Enter to obtain.For example, in one embodiment, certificate parameter further includes virtual machine entry authority.It is Windows in the type of virtual machine
During virtual machine, by obtaining virtual machine entry authority and being sent to host, to log in virtual machine.
In one embodiment, with reference to figure 2, after step S130, step S160 is further included to step S190.
S160:Whether the type for judging virtual machine is Windows virtual machines.If so, perform step S170.
S170:Obtain the current state of virtual machine.
The state of virtual machine is variable in the process of running.The current state of virtual machine, which refers to, is remotely accessing cloud desktop process
In, the real-time status of virtual machine, including booting and IP failure states, booting and IP active states.
S180:During remotely accessing cloud desktop using SPICE protocol by host, if the current state of virtual machine is
Booting and IP active states then interrupt and remotely access cloud desktop using SPICE protocol by host, and used by virtual machine
RDP protocol remotes access cloud desktop.
Before remotely accessing cloud desktop using SPICE protocol by host, state is booting and IP before the access of virtual machine
Failure state is not keyed up state.If detecting, current state for booting and IP active states, represents the Status Change of virtual machine,
Virtual machine network-connectable remotely accesses cloud desktop, and pass through virtual machine and adopt by host at this point, interrupting using SPICE protocol
Cloud desktop is accessed with RDP protocol remotes, so as to which the mode accessed from SPICE protocol switches to the mode of RDP agreements access.
Specifically, it interrupts and cloud desktop is remotely accessed using SPICE protocol by host, can be by sending in SPICE
Disconnected request to host is realized, makes Host Interrupt SPICE protocol.Cloud desktop is accessed using RDP protocol remotes by virtual machine, specifically
Can send RDP access requests to virtual machine to realize.
S190:During accessing cloud desktop using RDP protocol remotes by virtual machine, if the current state of virtual machine becomes
More booting and IP failure states then interrupt and access cloud desktop using RDP protocol remotes by virtual machine, and used by host
SPICE protocol remotely accesses cloud desktop.
Before accessing cloud desktop using RDP protocol remotes by virtual machine, state is booting and IP before the access of virtual machine
Active states.If detecting, current state for booting and IP failure states, represents the Status Change of virtual machine, virtual machine can not connect
Network is connect, cloud desktop is accessed using RDP protocol remotes by virtual machine, and it is remote using SPICE protocol to pass through host at this point, interrupting
Journey accesses cloud desktop, so as to which the mode accessed from RDP agreements switches to the mode of SPICE protocol access.
Specifically, it interrupts and cloud desktop is accessed using RDP protocol remotes by virtual machine, can be after the IP of virtual machine fails
Automatic trigger RDP agreements disconnect.Cloud desktop is remotely accessed using SPICE protocol by host, can be specifically to send SPICE to connect
Enter request to virtual machine to realize.
In the present embodiment, to obtain in real time, step S170 to step S190 is the current state of virtual machine in step S170
Cycle performs, and realizes the automatic switchover of two kinds of access ways.
In the present embodiment, after step S140, step S170 is further included to step S190.That is, it is accessed using RDP agreements
Mode after, the change of the current state by detecting virtual machine, realize two kinds of access ways automatic switchover.
By in cloud desktop access procedure, being connect according to the current state of virtual machine in SPICE protocol access and RDP agreements
Enter and automatically switch between two ways, merge two kinds of access ways;Using the side of RDP agreements access under booting and IP active states
Formula will obtain low bandwidth occupancy, figure acceleration capacity, 4K high definitions redirection and terminal hardware acceleration etc. and promote user experience
Characteristic under booting and IP failure states, is accessed using SPICE, will obtain the management such as booting support, blue screen troubleshooting, network troubleshooting
Experience characteristic.The tache imperfection in the virtual machine cycle of operation is accessed using single RDP agreements in this way, overcoming, such as shut down,
Failure, suspension are unavailable etc., in turn avoid the poor efficiency in operation using the access of single SPICE protocol, as occupied bandwidth is high,
The problems such as graphics performance is low, and then there is loopful section and efficient, cloud desktop access effect is excellent.
With reference to figure 3, the cloud Desktop Remote access system in an embodiment can be applied to terminal, including long-range link block
110th, data reception module 120, first state AM access module 130, the second state AM access module 140 and third state AM access module
150。
Long-range link block 110 is sent far for obtaining certificate parameter, according to certificate parameter to the host for providing virtual machine
Journey connection request.
In one embodiment, certificate parameter includes host ip (Internet protocol) address, host port, host authority and void
Plan machine ID (identity card).Host IP address, host port and host authority need the host remotely connected, virtual machine for specified
Virtual machine where the cloud desktop that ID accesses for specified needs.
Data reception module 120 is used for the virtual machine of correspondence certificate parameter that receiving host is returned according to remote connection request
Type and access before state.
The type of virtual machine includes Windows virtual machines and Linux virtual machines.Wherein, Windows virtual machines refer to installation
The virtual machine of Windows operating system, Linux virtual machines refer to the virtual machine of installation (SuSE) Linux OS.Before the access of virtual machine
State refers to the state of the virtual machine before cloud desktop is remotely accessed, including be not keyed up state, booting and IP failure states and booting and
IP active states.
First state AM access module 130 be used for before the access of virtual machine state for be not keyed up state or be booting and IP
During failure state, SPICE access requests are sent to host.SPICE access requests are used for long-range using SPICE protocol by host
The cloud desktop of access of virtual machine.
It is not keyed up state and includes the states such as shutdown, standby, suspend mode.Booting and IP failure states include booting and without IP, open
Machine and the not available two states of IP.Virtual machine be in be not keyed up state or booting and IP failure states when, virtual machine can not
Connect network;It is connect at this point, no matter virtual machine to be any in Windows virtual machines and Linux virtual machines, sends SPICE
Enter request to host, so as to host can be used SPICE protocol the cloud desktop of corresponding virtual machine accessed to send SPICE accesses please
The terminal asked realizes remotely accessing for cloud desktop.
Second state AM access module 140 is used for before the access of virtual machine that state to be for booting and during IP active states, if empty
The type of plan machine is Windows virtual machines, then obtains IP address and the port of virtual machine, and the IP address according to virtual machine and end
Mouth sends RDP access requests to virtual machine.RDP access requests are used to use RDP protocol remote access of virtual machines by virtual machine
Cloud desktop.
By judging the type of virtual machine under being in booting and IP active states in virtual machine, if Windows virtual machines,
RDP access requests are then sent to virtual machine according to the IP address of virtual machine and port, so as to which RDP agreements can be used by cloud in virtual machine
Desktop access sends the terminal of RDP access requests, realizes remotely accessing for cloud desktop.
Third state AM access module 150 is used for before the access of virtual machine that state to be for booting and during IP active states, if empty
The type of plan machine is Linux virtual machines, then sends SPICE access requests to host.SPICE access requests are used to adopt by host
With the cloud desktop of SPICE protocol remote access virtual machine.
(SuSE) Linux OS does not support RDP agreements, therefore, under booting and IP active states, if the type of virtual machine is
Linux virtual machines then still realize remotely accessing for cloud desktop using SPICE protocol.
Above-mentioned cloud Desktop Remote access system, by long-range link block 110 according to the certificate parameter of acquisition to host
After sending remote connection request, 120 receiving host of data reception module returns to the type of the virtual machine of corresponding certificate parameter and connects
Enter preceding state;The state before the access of virtual machine of first state AM access module 130 is to be not keyed up state or booting and IP failures
During state, SPICE access requests are sent to host, and the state before virtual machine is access of third state AM access module 150 is booting
And IP active states, type send SPICE access requests to host, so as to be used by host when being Linux virtual machines
The cloud desktop of SPICE protocol remote access virtual machine;Second state AM access module 140 state before virtual machine is access is booting
And IP active states, type be Windows virtual machines when, by obtain virtual machine IP address and port after send RDP access
Request is to virtual machine, so as to use the cloud desktop of RDP protocol remote access of virtual machines by virtual machine.In this way, with reference to virtual machine
Type and state analyzed, from SPICE protocol access and RDP agreements access two ways in choose be suitable for virtual machine class
The preferably access way of type and state can improve cloud desktop access effect.
In one embodiment, above-mentioned cloud Desktop Remote access system further includes starting module (not shown), for the first shape
State AM access module 130 after sending SPICE access requests to host, is shown when the current state of virtual machine is to be not keyed up state
Show the virtual power on button of virtual machine, virtual machine power-on instruction is obtained according to the virtual power on button of display and be sent to host.
Virtual power-on instruction starts the booting process of virtual machine according to virtual machine power-on instruction for host and enters cloud desktop.
By virtual machine be in be not keyed up state when, virtual power-on instruction is sent to host, so as to which host-controllable system is empty
Plan machine is switched on.
In one embodiment, above-mentioned cloud Desktop Remote access system further includes login module (not shown), for the first shape
State AM access module 130 virtual machine current state for booting and during IP failure states, send SPICE access requests to host it
Afterwards, it when the type of virtual machine is Windows virtual machines, shows the login interface of virtual machine, is obtained according to the login interface of display
It takes virtual machine entry authority and is sent to host.
It is Windows virtual machines in the type of virtual machine, by obtaining virtual machine entry authority and being sent to host, so as to
Log in virtual machine.
With reference to figure 4, in one embodiment, above-mentioned cloud Desktop Remote access system further includes state acquisition module 160, first
170 and second handover module 180 of handover module.
State acquisition module 160 be used for first state AM access module 130 send SPICE access requests to host after,
When the type of virtual machine is Windows virtual machines, the current state of virtual machine is obtained;And in the second state AM access module
After 140 send RDP access requests to virtual machine according to the IP address of virtual machine and port, the current state of virtual machine is obtained.
During first handover module 170 using SPICE protocol by host for remotely accessing cloud desktop, if virtually
The current state of machine is booting and IP active states, then interrupts and remotely access cloud desktop, and lead to using SPICE protocol by host
It crosses virtual machine and cloud desktop is accessed using RDP protocol remotes.In this way, the mode accessed from SPICE protocol switches to the access of RDP agreements
Mode.
Second handover module 180 is used for during accessing cloud desktop using RDP protocol remotes by virtual machine, if virtually
The current state of machine is changed to booting and IP failure states, then interrupts and access cloud desktop using RDP protocol remotes by virtual machine,
And pass through host and cloud desktop is remotely accessed using SPICE protocol.In this way, the mode accessed from RDP agreements switches to SPICE protocol
The mode of access.
By in cloud desktop access procedure, being connect according to the current state of virtual machine in SPICE protocol access and RDP agreements
Enter and automatically switch between two ways, merge two kinds of access ways;Using the side of RDP agreements access under booting and IP active states
Formula will obtain low bandwidth occupancy, figure acceleration capacity, 4K high definitions redirection and terminal hardware acceleration etc. and promote user experience
Characteristic under booting and IP failure states, is accessed using SPICE, will obtain the management such as booting support, blue screen troubleshooting, network troubleshooting
Experience characteristic.The tache imperfection in the virtual machine cycle of operation is accessed using single RDP agreements in this way, overcoming, such as shut down,
Failure, suspension are unavailable etc., in turn avoid the poor efficiency in operation using the access of single SPICE protocol, as occupied bandwidth is high,
The problems such as graphics performance is low, and then there is loopful section and efficient, cloud desktop access effect is excellent.
It is main including host 210, virtual machine 220 and terminal 230 in the cloud computing environment that cloud desktop is provided with reference to figure 5
Machine 210 installs cloud operating system, provides virtual machine 220, and cloud allocating operating system SPICE components support SPICE protocol;Virtually
Machine 220 installs desktop operating system, such as:Windows or Linux, the virtual machine 220 for installing Windows operating system support RDP
Agreement;Terminal 230 installs that apply remotely accessing for above-mentioned cloud Desktop Remote cut-in method or cloud Desktop Remote access system soft
Part.Terminal 230 obtains certificate parameter by remote access software and sends remote connection request to host 210, and host 210 returns
State is to terminal 230 before the type of virtual machine 220 and access.Terminal 230 by remote access software virtual machine 220 access
Preceding state is the state that is not keyed up or is booting and IP failure states or the type of virtual machine 220 when being Linux virtual machines,
SPICE access requests are sent to host 210, host 210 is communicated using SPICE protocol with terminal 230, realizes virtual machine cloud desktop
Remotely access.Terminal 230 by remote access software before the access of virtual machine 220 state for booting and IP active states,
And the type of virtual machine 220 obtains IP address and the port of virtual machine 220, and according to virtual machine when being Windows virtual machines
220 IP address and port send RDP access requests to virtual machine 220, and virtual machine 220 is logical with terminal 230 using RDP agreements
Letter realizes remotely accessing for virtual machine cloud desktop.If virtual machine 220 is Windows virtual machines, during remotely accessing, eventually
The IP states of virtual machine 220 are detected at end 230 by remote access software in real time, if IP comes into force, interrupt and host 210
SPICE protocol sends RDP access requests to virtual machine 220, if IP fails, triggering and the RDP agreements of virtual machine 220 are interrupted,
SPICE access requests are sent to host 210.No matter in the case of which kind of, cloud desktop can keep control and system access, and pass through
Two kinds of access ways are merged, cloud desktop access effect is good.
Each technical characteristic of embodiment described above can be combined arbitrarily, to make description succinct, not to above-mentioned reality
It applies all possible combination of each technical characteristic in example to be all described, as long as however, the combination of these technical characteristics is not deposited
In contradiction, it is all considered to be the range of this specification record.
Embodiment described above only expresses the several embodiments of the present invention, and description is more specific and detailed, but simultaneously
It cannot therefore be construed as limiting the scope of the patent.It should be pointed out that those of ordinary skill in the art are come
It says, without departing from the inventive concept of the premise, various modifications and improvements can be made, these belong to the protection of the present invention
Range.Therefore, the protection domain of patent of the present invention should be determined by the appended claims.
Claims (10)
1. a kind of cloud Desktop Remote cut-in method, which is characterized in that including:
Certificate parameter is obtained, remote connection request is sent to the host for providing virtual machine according to the certificate parameter;
The host is received according to the type for the virtual machine of the correspondence certificate parameter that the remote connection request returns and is connect
Enter preceding state;
When state is is not keyed up state or is booting and IP failure states before the access of the virtual machine, send SPICE and connect
Enter request to the host, the cloud desktop of the virtual machine is remotely accessed for passing through the host using SPICE protocol;
When state is booting and IP active states before the access of the virtual machine, if the type of the virtual machine is Windows
Virtual machine then obtains IP address and the port of the virtual machine, and sends RDP according to the IP address of the virtual machine and port and connect
Enter request to the virtual machine, the cloud desktop of the virtual machine is accessed for passing through the virtual machine using RDP protocol remotes;
When state is booting and IP active states before the access of the virtual machine, if the type of the virtual machine is empty for Linux
Plan machine is then sent the SPICE access requests to the host, is remotely accessed for passing through the host using SPICE protocol
The cloud desktop of the virtual machine.
2. cloud Desktop Remote cut-in method according to claim 1, which is characterized in that in the current state of the virtual machine
During to be not keyed up state, after sending the SPICE access requests to the host, further include:
Show the virtual power on button of the virtual machine, it is concurrent to obtain virtual machine power-on instruction according to the virtual power on button of display
It send to the host, the booting process of the virtual machine is started according to the virtual machine power-on instruction for the host and enters
Cloud desktop.
3. cloud Desktop Remote cut-in method according to claim 1, which is characterized in that in the current state of the virtual machine
During for booting and IP failure states, after sending the SPICE access requests to the host, further include:
If the type of the virtual machine is Windows virtual machines, the login interface of the virtual machine is shown, according to stepping on for display
Record interface obtains virtual machine entry authority and is sent to the host.
4. cloud Desktop Remote cut-in method according to claim 1, which is characterized in that the access in the virtual machine
Preceding state is is not keyed up state or is booting and during IP failure states, after sending SPICE access requests to the host, institute
When the type for stating virtual machine is Windows virtual machines or the state before the access of the virtual machine is booting and IP comes into force
During state, if the type of the virtual machine is Windows virtual machines, IP address and the port of the virtual machine, and root are obtained
After sending RDP access requests to the virtual machine according to the IP address of the virtual machine and port, further include:
Obtain the current state of the virtual machine;
During remotely accessing cloud desktop using SPICE protocol by the host, if the current state of the virtual machine is
Booting and IP active states then interrupt and remotely access cloud desktop using the SPICE protocol by the host, and pass through described
Virtual machine accesses cloud desktop using the RDP protocol remotes;
During accessing cloud desktop using RDP protocol remotes by the virtual machine, if the current state of the virtual machine becomes
More booting and IP failure states then interrupt and access cloud desktop, and pass through using the RDP protocol remotes by the virtual machine
The host remotely accesses cloud desktop using SPICE protocol.
5. cloud Desktop Remote cut-in method according to claim 1, which is characterized in that the certificate parameter includes host ip
Address, host port, host authority and virtual machine ID.
6. a kind of cloud Desktop Remote access system, which is characterized in that including:
Long-range link block for obtaining certificate parameter, is sent remotely according to the certificate parameter to the host for providing virtual machine
Connection request;
Data reception module, for receiving the host according to the correspondence certificate parameter that the remote connection request returns
State before the type of virtual machine and access;
First state AM access module, for before the access of the virtual machine state for be not keyed up state or be booting and IP lose
During effect state, SPICE access requests are sent to the host, the SPICE access requests are used to use by the host
SPICE protocol remotely accesses the cloud desktop of the virtual machine;
Second state AM access module, for state to be for booting and during IP active states before the access of the virtual machine, if described
The type of virtual machine is Windows virtual machines, then obtains IP address and the port of the virtual machine, and according to the virtual machine
IP address and port send RDP access requests to the virtual machine, and the RDP access requests are used to use by the virtual machine
RDP protocol remotes access the cloud desktop of the virtual machine;
Third state AM access module, for state to be for booting and during IP active states before the access of the virtual machine, if described
The type of virtual machine is Linux virtual machines, then sends the SPICE access requests to the host, the SPICE access requests
For the cloud desktop of the virtual machine to be remotely accessed using SPICE protocol by the host.
7. cloud Desktop Remote access system according to claim 6, which is characterized in that starting module is further included, for institute
First state AM access module is stated in the current state of the virtual machine when being not keyed up state, to send the SPICE access requests
After to the host, the virtual power on button of the virtual machine is shown, virtual machine is obtained according to the virtual power on button of display
Power-on instruction is simultaneously sent to the host, and the virtual power-on instruction opens for the host according to the virtual machine power-on instruction
It moves the booting process of the virtual machine and enters cloud desktop.
8. cloud Desktop Remote access system according to claim 6, which is characterized in that login module is further included, for institute
First state AM access module is stated when the current state of the virtual machine is booting and IP failure state, the SPICE is sent and connects
After entering request to the host, when the type of the virtual machine is Windows virtual machines, the login of the virtual machine is shown
Interface obtains virtual machine entry authority according to the login interface of display and is sent to the host.
9. cloud Desktop Remote access system according to claim 6, which is characterized in that further include:
State acquisition module, for the first state AM access module send the SPICE access requests to the host it
Afterwards, when the type of the virtual machine is Windows virtual machines, the current state of the virtual machine is obtained;And for described
Second state AM access module according to the IP address of the virtual machine and port send the RDP access requests to the virtual machine it
Afterwards, the current state of the virtual machine is obtained;
First handover module, for passing through during the host remotely accesses cloud desktop using SPICE protocol, if the void
The current state of plan machine is booting and IP active states, then interrupts and remotely accessed by the host using the SPICE protocol
Cloud desktop, and pass through the virtual machine and cloud desktop is accessed using the RDP protocol remotes;
Second handover module, during passing through the virtual machine using RDP protocol remotes access cloud desktop, if the void
The current state of plan machine is changed to booting and IP failure states, then interrupts using the RDP protocol remotes by the virtual machine
Cloud desktop is accessed, and passes through the host and cloud desktop is remotely accessed using SPICE protocol.
10. cloud Desktop Remote access system according to claim 6, which is characterized in that the certificate parameter includes host
IP address, host port, host authority and virtual machine ID.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611169780.8A CN108206842B (en) | 2016-12-16 | 2016-12-16 | Cloud desktop remote access method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611169780.8A CN108206842B (en) | 2016-12-16 | 2016-12-16 | Cloud desktop remote access method and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108206842A true CN108206842A (en) | 2018-06-26 |
CN108206842B CN108206842B (en) | 2020-09-15 |
Family
ID=62602591
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611169780.8A Active CN108206842B (en) | 2016-12-16 | 2016-12-16 | Cloud desktop remote access method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108206842B (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109800042A (en) * | 2018-12-28 | 2019-05-24 | 广东纬德信息科技有限公司 | The graphic display method and system of cloud desktop |
CN110719309A (en) * | 2018-07-13 | 2020-01-21 | 中兴通讯股份有限公司 | Virtual desktop connection method, proxy device, system, equipment and storage medium |
WO2020083383A1 (en) * | 2018-10-26 | 2020-04-30 | 中兴通讯股份有限公司 | Virtual machine and remote control method thereof, terminal, host server, and storage medium |
CN111884919A (en) * | 2020-07-02 | 2020-11-03 | 苏州浪潮智能科技有限公司 | Method, device, equipment and readable medium for clearing invalid virtual IP |
KR20210094882A (en) * | 2020-01-22 | 2021-07-30 | 네이버클라우드 주식회사 | Method and system for remote terminal access through application of communication module during boot |
CN117149470A (en) * | 2023-10-31 | 2023-12-01 | 西安雷风电子科技有限公司 | Cloud desktop connection method, device, equipment and system |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100325279A1 (en) * | 2009-06-22 | 2010-12-23 | Red Hat Israel, Ltd. | Automatic virtual machine migration in mixed sbc/cbc environment |
US20110153716A1 (en) * | 2009-12-21 | 2011-06-23 | Microsoft Corporation | Enabling virtual desktop connections to remote clients |
CN102413150A (en) * | 2010-09-20 | 2012-04-11 | 联想(北京)有限公司 | Server and virtual desktop control method and virtual desktop control system |
CN103209178A (en) * | 2013-03-15 | 2013-07-17 | 汉柏科技有限公司 | Method for operating simple protocol independent computing environment (SPICE) protocol on Cloud Stack platform in compatible way |
CN103248654A (en) * | 2012-02-10 | 2013-08-14 | 中兴通讯股份有限公司 | Negotiation method, device and system for virtual desktop service parameters |
KR101361838B1 (en) * | 2010-12-09 | 2014-02-11 | 한국전자통신연구원 | Method for accelerating virtual desktop protocol based on server virtualization and virtualization server for performing the same |
CN104702624A (en) * | 2015-03-27 | 2015-06-10 | 深圳市研唐科技有限公司 | Method and system for logging virtual machine based on Cloud Stack platform |
CN104901923A (en) * | 2014-03-04 | 2015-09-09 | 杭州华三通信技术有限公司 | Virtual machine access device and method |
-
2016
- 2016-12-16 CN CN201611169780.8A patent/CN108206842B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100325279A1 (en) * | 2009-06-22 | 2010-12-23 | Red Hat Israel, Ltd. | Automatic virtual machine migration in mixed sbc/cbc environment |
US20110153716A1 (en) * | 2009-12-21 | 2011-06-23 | Microsoft Corporation | Enabling virtual desktop connections to remote clients |
CN102413150A (en) * | 2010-09-20 | 2012-04-11 | 联想(北京)有限公司 | Server and virtual desktop control method and virtual desktop control system |
KR101361838B1 (en) * | 2010-12-09 | 2014-02-11 | 한국전자통신연구원 | Method for accelerating virtual desktop protocol based on server virtualization and virtualization server for performing the same |
CN103248654A (en) * | 2012-02-10 | 2013-08-14 | 中兴通讯股份有限公司 | Negotiation method, device and system for virtual desktop service parameters |
CN103209178A (en) * | 2013-03-15 | 2013-07-17 | 汉柏科技有限公司 | Method for operating simple protocol independent computing environment (SPICE) protocol on Cloud Stack platform in compatible way |
CN104901923A (en) * | 2014-03-04 | 2015-09-09 | 杭州华三通信技术有限公司 | Virtual machine access device and method |
CN104702624A (en) * | 2015-03-27 | 2015-06-10 | 深圳市研唐科技有限公司 | Method and system for logging virtual machine based on Cloud Stack platform |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110719309A (en) * | 2018-07-13 | 2020-01-21 | 中兴通讯股份有限公司 | Virtual desktop connection method, proxy device, system, equipment and storage medium |
WO2020083383A1 (en) * | 2018-10-26 | 2020-04-30 | 中兴通讯股份有限公司 | Virtual machine and remote control method thereof, terminal, host server, and storage medium |
CN111107117A (en) * | 2018-10-26 | 2020-05-05 | 中兴通讯股份有限公司 | Virtual machine and remote control method, terminal, host server and storage medium thereof |
CN109800042A (en) * | 2018-12-28 | 2019-05-24 | 广东纬德信息科技有限公司 | The graphic display method and system of cloud desktop |
KR20210094882A (en) * | 2020-01-22 | 2021-07-30 | 네이버클라우드 주식회사 | Method and system for remote terminal access through application of communication module during boot |
KR20210109510A (en) * | 2020-01-22 | 2021-09-06 | 네이버클라우드 주식회사 | Method and system for remote terminal access through application of communication module during boot |
KR102331899B1 (en) * | 2020-01-22 | 2021-11-26 | 네이버클라우드 주식회사 | Method and system for remote terminal access through application of communication module during boot |
KR102411144B1 (en) * | 2020-01-22 | 2022-06-22 | 네이버클라우드 주식회사 | Method and system for remote terminal access through application of communication module during boot |
CN111884919A (en) * | 2020-07-02 | 2020-11-03 | 苏州浪潮智能科技有限公司 | Method, device, equipment and readable medium for clearing invalid virtual IP |
CN111884919B (en) * | 2020-07-02 | 2022-12-02 | 苏州浪潮智能科技有限公司 | Method, device, equipment and readable medium for clearing invalid virtual IP |
CN117149470A (en) * | 2023-10-31 | 2023-12-01 | 西安雷风电子科技有限公司 | Cloud desktop connection method, device, equipment and system |
Also Published As
Publication number | Publication date |
---|---|
CN108206842B (en) | 2020-09-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108206842A (en) | Cloud Desktop Remote cut-in method and system | |
US8015331B2 (en) | Multi-console workstations concurrently supporting multiple users | |
US10073709B2 (en) | Session monitoring of virtual desktops in a virtual machine farm | |
US10698717B2 (en) | Accelerator virtualization method and apparatus, and centralized resource manager | |
CA2608341C (en) | Remote network node management system and method | |
US8495624B2 (en) | Provisioning a suitable operating system environment | |
US10469592B2 (en) | Virtualizing device management services on a multi-session platform | |
KR102328193B1 (en) | Apparatus and method for virtual desktop service | |
US10146566B2 (en) | Enabling virtual desktop connections to remote clients | |
CN101102288B (en) | A method and system for realizing large-scale instant message | |
US9201675B2 (en) | DAAS manager and DAAS client for DAAS system | |
WO2009005966A2 (en) | Virtual desktop integration with terminal services | |
CN104363117A (en) | IPMI (intelligent platform management interface) based method for serial port redirection | |
EP3332325B1 (en) | Methods, apparatus, and systems for providing access to serial ports of virtual machines in self-deployed virtual applications | |
WO2010087829A1 (en) | Selectively communicating data of a peripheral device to plural sending computers | |
KR20100046171A (en) | Electrical device configuration system and method | |
CN101964821A (en) | Method and system for loading operating environment of remote terminal | |
CN106126283B (en) | A kind of method, apparatus and system of product allocation | |
CN103501295B (en) | A kind of remote access method based on virtual machine (vm) migration and equipment | |
CN103281407B (en) | A kind of IP address long-distance management system based on Godson cloud terminal | |
US20070155422A1 (en) | Method for controlling mobile data connection through USB Ethernet management of mobile station | |
CN113242309A (en) | Cloud computing method, system, device and medium | |
US8250413B2 (en) | Connection broker assignment status reporting | |
CN111858433A (en) | SSH (secure Shell) serial port redirection-based method, system, equipment and medium | |
US20150143012A1 (en) | Method for configuring maximum transmission unit (mtu), terminal and usb data card |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |