CN103209178B - The method of compatible SPICE protocol on CloudStack platform - Google Patents
The method of compatible SPICE protocol on CloudStack platform Download PDFInfo
- Publication number
- CN103209178B CN103209178B CN201310082833.2A CN201310082833A CN103209178B CN 103209178 B CN103209178 B CN 103209178B CN 201310082833 A CN201310082833 A CN 201310082833A CN 103209178 B CN103209178 B CN 103209178B
- Authority
- CN
- China
- Prior art keywords
- virtual machine
- spice
- rdp
- cloudstack
- host
- 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.)
- Expired - Fee Related
Links
Landscapes
- Computer And Data Communications (AREA)
- Stored Programmes (AREA)
Abstract
The invention discloses the method for compatible SPICE protocol on CloudStack platform, by revising the deploying virtual machine interface of CloudStack, increase RDP parameter, the value of RDP parameter is respectively RDP and SPICE;When being SPICE when selecting RDP parameter, obtain the port numbers that the SPICE protocol of virtual machine uses;Obtaining host ip, client, according to port numbers and host ip, realizes client by SPICE protocol and is connected to virtual machine desktop.The present invention is by amendment CloudStack, main frame is disposed a new procedures and obtains information, thus realize compatible SPICE protocol on CloudStack platform, more fully utilize the adaptive ability of SPICE protocol remote visiting system agreement, alleviate server load.
Description
Technical field
The present invention relates to technical field of network security, particularly relate to hold concurrently on CloudStack platform
The method holding SPICE protocol.
Background technology
CloudStack is a cloud computing platform with high availability and autgmentability increased income,
The solution of cloud computing of increasing income can be provided, the public cloud of high scalability and privately owned can be accelerated
The deployment of cloud, manage, configure.Based on using CloudStack, data center operator
Cloud service can be created quickly and easily by existing infrastructure.CloudStack user is permissible
Make full use of cloud computing provide higher efficiency, unlimited scale and quickly deployment of new services with
The end user of system.CloudStack can be provided by the virtualization of tissue and coordinates user
Source, builds a harmonious environment, it is also possible to allow user rapidly and easily at existing framework
On set up oneself cloud service.CloudStack can help user's preferably coordination service device,
Storage, Internet resources, thus build an IaaS(Infrastructure as a Service, i.e.
Infrastructure i.e. services) platform.Owing to CloudStack is sent out by apache2.0 permission agreement
Cloth, thus the most friendly to business application, it is also possible to needs when, revise code meet need
Want and issue as commercial product/sell.
SPICE(Simple Protocol for Independent Computing Environment,
Independent computation environment simple protocol) it is one under the linux virtual long desktop transmission increased income
Agreement, SPICE protocol can be used on server and remote computer disposing virtual desktop, tool
Have the remote visiting system agreement of adaptive ability, using the teaching of the invention it is possible to provide identical with physical desktop finally
Consumer's Experience.It is similar to other and renders agreement, such as Microsoft for what remote desktop managed
The Independent Computing of Remote Desktop Protocol or Citrix
Architecture.It supports Windows XP, Windows7 and Red Hat Enterprise
The virtual machine instance such as Linux.SPICE protocol comprises three below assembly:
SPICE Driver:SPICE driver, is present in the assembly in each virtual desktop;
SPICE Device:SPICE equipment, KVM(KVM, it is simply that Keyboard, Video
Monitor, Mouse write a Chinese character in simplified form, and Chinese is used to be referred to as: multi-computer switch) in assembly;
SPICE Client:SPICE client, the assembly being present on terminal unit, permissible
It is that thin client (i.e. uses specialty flush bonding processor, small-sized local flash memory, scaled-down version operation
The special commercial PC of the small-sized industry of the Based PC industry standard design of system) or special PC,
For accessing each virtual desktop.
These three assembly cooperating operation, determines that the most significant bit processing figure is put, with can be maximum
Degree is improved Consumer's Experience and reduces system loading.If client computer is the most powerful, SPICE to
Client computer sends graph command, and processes figure in a client, significantly alleviates service
The load of device.On the other hand, if client computer is the most powerful, SPICE is at host process figure.
CloudStack, as virtual management platform, the most only supports RDP(Remote
Desktop Protocol, RDP), it is impossible to compatible SPICE protocol carries out long-range table
Face connects.
Summary of the invention
(1) to solve the technical problem that
For drawbacks described above, the technical problem to be solved in the present invention is to solve CloudStack not hold concurrently
The problem holding SPICE protocol, uses SPICE protocol to enter with convenient in CloudStack
Row Remote desk process.
(2) technical scheme
For solving the problems referred to above, the invention provides compatible SPICE on CloudStack platform
The method of agreement, described method specifically includes following steps:
S1: the deploying virtual machine interface of amendment CloudStack, increases RDP ginseng
Number, the value of described RDP parameter is respectively RDP and SPICE;
S2: when being SPICE when selecting described RDP parameter, obtain virtual machine
The port numbers that SPICE protocol uses;
S3: obtaining host ip, client, according to described port numbers and described host ip, is passed through
Described SPICE protocol realizes described client and is connected to virtual machine desktop.
Further, described step S1 also includes: the KVM revising described CloudStack calls
Part, determines to call RDP agreement or SPICE protocol according to described RDP parameter,
And in described virtual machine host, dispose virtual machine.
Further, described step S2 obtain virtual machine SPICE protocol use port numbers it
Before also include: in virtual machine host, run online application service, and call described application on site
Service.
Further, described step S2 obtains the port numbers tool that the SPICE protocol of virtual machine uses
Body includes: the deployment obtaining described virtual machine by calling the process viewing command under LIUNX is believed
Breath, resolves described deployment information and obtains the port numbers that the SPICE protocol of virtual machine uses, wherein
Described deployment information includes the title of virtual machine.
Further, described step S3 obtains host ip to specifically include: described by calling
The virtual machine of CloudStack extracts information, obtains the virtual machine host at described virtual machine place
Host ip.
(3) beneficial effect
The invention provides the method for compatible SPICE protocol on CloudStack platform, by repairing
Change CloudStack, main frame is disposed a new procedures and obtains information, thus realize
On CloudStack platform, compatible SPICE protocol, more fully utilizes SPICE protocol remotely to carry
Hand over the adaptive ability of agreement, alleviate server load.
Accompanying drawing explanation
Fig. 1 is the side of compatible SPICE protocol on the CloudStack platform in the embodiment of the present invention
The flow chart of steps of method.
Detailed description of the invention
Below in conjunction with the accompanying drawings and embodiment, the detailed description of the invention of the present invention is made the most in detail
Describe.Following example are used for illustrating the present invention, but are not limited to the scope of the present invention.
The embodiment of the present invention provides the side of compatible SPICE protocol on CloudStack platform
Method, steps flow chart is as it is shown in figure 1, specifically include following steps:
Step S1: deploying virtual machine (DeployVM) interface of amendment CloudStack, increases
Add RDP parameter, wherein the value of RDP parameter be respectively RDP and
SPICE。
Concrete, virtual machine host (KVM) calling section of amendment CloudStack, root
Determine to call RDP agreement or SPICE protocol according to RDP parameter, and virtual
Virtual machine is disposed on machine host (KVM).In this way, can be at CloudStack
Selection and call RDP agreement or SPICE protocol on platform, can make full use of SPICE association
The advantage of view, i.e. compatible SPICE protocol on CloudStack platform.
Step S2: when being SPICE when selecting RDP parameter, obtain virtual machine
The port numbers that SPICE protocol uses.
Also include before the port numbers of the SPICE protocol use obtaining virtual machine: virtual owner
Run online application service (webservice) on machine, and call online application service
(webservice).
The port numbers of the SPICE protocol use obtaining virtual machine specifically includes: by calling
PS order (the process viewing command under LIUNX environment) under LIUNX obtains virtual machine
Deployment information, resolve dispose acquisition of information virtual machine SPICE protocol use port numbers
port1.Wherein PS order may determine that state which process is currently running and runs, enters
Whether journey terminates, process occupies too much resource either with or without ossified, which process.Dispose letter
Breath includes the title of virtual machine, according to the name acquiring virtual machine of the virtual machine parsed
The port numbers that SPICE protocol uses.
Step S3: obtaining host ip, client, according to port numbers and host ip, passes through SPICE
Protocol realization client is connected to virtual machine desktop.
Acquisition host ip specifically includes: extract by calling the virtual machine of CloudStack
(GetVM) information, the host ip of the virtual machine host (KVM) obtaining virtual machine place is
ip1.Connect ip1:port1 finally by SPICE client just to be connected by SPICE protocol
This virtual machine desktop.
By said method, by amendment CloudStack, main frame is disposed a new procedures
Obtain information, thus realize compatible SPICE protocol on CloudStack platform, more
Utilize the adaptive ability of SPICE protocol remote visiting system agreement fully, alleviate server and bear
Lotus.
Embodiment of above is merely to illustrate the present invention, and not limitation of the present invention, relevant
The those of ordinary skill of technical field, without departing from the spirit and scope of the present invention,
Can also make a variety of changes and modification, the technical scheme of the most all equivalents falls within the present invention
Category, the scope of patent protection of the present invention should be defined by the claims.
Claims (4)
- The method of compatible SPICE protocol on 1.CloudStack platform, it is characterised in that institute The method of stating specifically includes:S1: the deploying virtual machine interface of amendment CloudStack, increases RDP ginseng Number, the value of described RDP parameter is respectively RDP and SPICE;S2: when being SPICE when selecting described RDP parameter, obtain virtual machine The port numbers that SPICE protocol uses;S3: obtaining host ip, client, according to described port numbers and described host ip, is passed through Described SPICE protocol realizes described client and is connected to virtual machine desktop;Described step S1 also includes: the virtual machine host revising described CloudStack calls portion Point, determine to call RDP agreement or SPICE protocol according to described RDP parameter, And in described virtual machine host, dispose virtual machine.
- 2. the method for claim 1, it is characterised in that described step S2 obtains virtual Also include before the port numbers that the SPICE protocol of machine uses: run online in virtual machine host Application service, and call described application on site service.
- 3. the method for claim 1, it is characterised in that described step S2 obtains virtual The port numbers that the SPICE protocol of machine uses specifically includes: look into by calling the process under LIUNX See that order obtains the deployment information of described virtual machine, resolve described deployment information and obtain virtual machine The port numbers that SPICE protocol uses, wherein said deployment information includes the title of virtual machine.
- 4. the method for claim 1, it is characterised in that obtain main in described step S3 Machine IP specifically includes: extracts information by calling the virtual machine of described CloudStack, obtains institute State the host ip of the virtual machine host at virtual machine place.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310082833.2A CN103209178B (en) | 2013-03-15 | 2013-03-15 | The method of compatible SPICE protocol on CloudStack platform |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310082833.2A CN103209178B (en) | 2013-03-15 | 2013-03-15 | The method of compatible SPICE protocol on CloudStack platform |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103209178A CN103209178A (en) | 2013-07-17 |
CN103209178B true CN103209178B (en) | 2016-09-14 |
Family
ID=48756262
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310082833.2A Expired - Fee Related CN103209178B (en) | 2013-03-15 | 2013-03-15 | The method of compatible SPICE protocol on CloudStack platform |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103209178B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104702624A (en) * | 2015-03-27 | 2015-06-10 | 深圳市研唐科技有限公司 | Method and system for logging virtual machine based on Cloud Stack platform |
CN108206842B (en) * | 2016-12-16 | 2020-09-15 | 广州杰赛科技股份有限公司 | Cloud desktop remote access method and system |
CN107249032A (en) * | 2017-06-15 | 2017-10-13 | 华中师范大学 | A kind of synchronous browsing apparatus of Courseware Resource transmitted based on remote desktop and its method of work |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101378400A (en) * | 2007-08-30 | 2009-03-04 | 国际商业机器公司 | Method, server and system for polymerizing desktop application and Web application |
CN102968331A (en) * | 2012-11-27 | 2013-03-13 | 中标软件有限公司 | Virtual machine management system and file access method |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP5805867B2 (en) * | 2011-06-30 | 2015-11-10 | アマゾン・テクノロジーズ、インコーポレイテッド | Remote browsing session management |
-
2013
- 2013-03-15 CN CN201310082833.2A patent/CN103209178B/en not_active Expired - Fee Related
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101378400A (en) * | 2007-08-30 | 2009-03-04 | 国际商业机器公司 | Method, server and system for polymerizing desktop application and Web application |
CN102968331A (en) * | 2012-11-27 | 2013-03-13 | 中标软件有限公司 | Virtual machine management system and file access method |
Non-Patent Citations (1)
Title |
---|
基于KVM和QEMU的虚拟桌面系统的实现与应用;熬青云等;《计算机应用与软件》;20121115;正文第1页第1行至第3页最后一行 * |
Also Published As
Publication number | Publication date |
---|---|
CN103209178A (en) | 2013-07-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111831450B (en) | Method, device, electronic equipment and storage medium for distributing server resources | |
US8650273B2 (en) | Virtual serial concentrator for virtual machine out-of-band management | |
US9197697B2 (en) | Cloud computing system and method | |
USRE46386E1 (en) | Updating a user session in a mach-derived computer system environment | |
US9124551B2 (en) | Multi-touch multi-user interactive control system using mobile devices | |
US20210073054A1 (en) | Flexible event ingestion framework in an event processing system | |
US9838460B2 (en) | Tool for sharing applications across client devices | |
US20160080451A1 (en) | Real-time dynamic hyperlinking system and method | |
CN111602118B (en) | Audio, video and control system for realizing virtual machine | |
US20160364261A1 (en) | Apparatus and method for providing adaptive virtual desktop operating system service | |
CN112221127B (en) | Multi-point control method and device for cloud game | |
CN103209178B (en) | The method of compatible SPICE protocol on CloudStack platform | |
EP2577612A1 (en) | Layer composition, rendering, and animation using multiple execution threads | |
CN110545324B (en) | Data processing method, device, system, network equipment and storage medium | |
CN102932791A (en) | Method for collaboratively processing information through WIFI wireless network between smart phone and computer | |
US20160162170A1 (en) | Methods and Apparatus for User-Customizable Application Software | |
KR101559541B1 (en) | Multi-pc system based on virtual desktop technology | |
JP5606476B2 (en) | Client management system, client management method and program | |
US11271882B2 (en) | Message normalization engine for multi-cloud messaging systems | |
TWI592874B (en) | Network server system | |
KR101316677B1 (en) | Application service system based on user interface virtualization and method thereof | |
CN204334634U (en) | A kind of middleware platform based on cloud computing | |
CN102387118B (en) | A kind of data output method and device | |
CN104346218A (en) | Multi-mouse operation method and system based on virtualization technique | |
Kang et al. | Android-based SoD client for remote presentation |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
PP01 | Preservation of patent right | ||
PP01 | Preservation of patent right |
Effective date of registration: 20180823 Granted publication date: 20160914 |
|
PD01 | Discharge of preservation of patent | ||
PD01 | Discharge of preservation of patent |
Date of cancellation: 20210823 Granted publication date: 20160914 |
|
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20160914 Termination date: 20190315 |