CN103312814B - The method for building up of VNC concealed channel between cloud management platform and virtual machine terminal user - Google Patents

The method for building up of VNC concealed channel between cloud management platform and virtual machine terminal user Download PDF

Info

Publication number
CN103312814B
CN103312814B CN201310268539.0A CN201310268539A CN103312814B CN 103312814 B CN103312814 B CN 103312814B CN 201310268539 A CN201310268539 A CN 201310268539A CN 103312814 B CN103312814 B CN 103312814B
Authority
CN
China
Prior art keywords
message
vnc
module
window
virtual machine
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201310268539.0A
Other languages
Chinese (zh)
Other versions
CN103312814A (en
Inventor
郭迟
崔竞松
李秋晨
贺汇林
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhongshan Cybertech Technology Co., Ltd.
Original Assignee
Wuhan University WHU
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Wuhan University WHU filed Critical Wuhan University WHU
Priority to CN201310268539.0A priority Critical patent/CN103312814B/en
Publication of CN103312814A publication Critical patent/CN103312814A/en
Application granted granted Critical
Publication of CN103312814B publication Critical patent/CN103312814B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The present invention relates to computer virtualized technical field, propose the method for building up of VNC concealed channel between a kind of cloud management platform and virtual machine terminal user.The program receives three modules compositions primarily of message conversion, message transmission, message feedback.Message conversion module calls the interface of passage, responsible pixel data message content being converted to message sending end and can identify; Message transmission module is responsible for being added to by message image pixel data in VNC service end and client original communication frame, and amended communication frame is sent to VNC client together; Message feedback receiver module is then responsible for capturing user during passage display and is responded the operation of message window, and it is mail to message conversion module.Therefore, tool of the present invention has the following advantages: only need to revise in KVM virtualization cloud platform part VNC service end function source code just attainable transparent to virtual machine its own system, can to carry out real time bidirectional between cloud management platform and virtual machine terminal user mutual.

Description

The method for building up of VNC concealed channel between cloud management platform and virtual machine terminal user
Technical field
The present invention relates to computer virtualized technical field, especially relate to the method for building up of VNC concealed channel between a kind of cloud management platform and virtual machine terminal user.
Background technology
There is various different cloud management platform in current industry, constantly perfect along with these cloud platform features, in the normal course of operation of platform, many times can produce the terminal use that a large amount of administrative messags needs immediately to inform virtual machine in cloud platform, such as notify its real-time consumption information of virtual machine tenant;
On the other hand, currently there is a series of secure virtual machine monitoring external member being deployed in VMM layer, in the monitor procedure of these security bundles, when they find that dummy machine system inside exists potential safety hazard, its virtual machine terminal user of real-time informing may be needed, wait for that the interactive selection of user just can carry out next step operation.
At present between cloud management platform and virtual machine remote terminal use, carry out real time communication and mainly contain three kinds of modes: one is install bitcom service end and client respectively at cloud management end and dummy machine system inside, namely traditional service end/client communication mode is applied between physical machine in cloud management platform and virtual machine; This mode needs to install bitcom plug-in unit or client in dummy machine system inside, but because terminal use is to the owned complete control of dummy machine system, if user selects refitting system or clean out this plug-in unit just probably to make bitcom client functionality lose efficacy, also namely anti-user's interference of this mode is lower;
The second way directly on cloud platform management terminal device and virtual machine terminal user place machine, installs bitcom service end and client respectively, between physical machine, namely adopt traditional service end/user client communication mode; This mode has concrete requirement to client platform, it is limited to the system at user place, client needs to develop various Windows, Mac, the system of Linux/Unix series etc. different editions, the mobile terminal at place also needs to develop corresponding client-side program even at present, and lose the convenience in the use procedure of cloud platform remote control function and ease for use to a great extent, anti-user's interference is not high yet simultaneously;
The third method is the mode that the present invention proposes and takes: the software service end that this mode is controlled by the virtual machine remote desktop adopted in amendment cloud platform, be dissolved in virtual machine desktop image by integrated for message to be sent, then send to the long-distance tabletop control software client that terminal use uses together; This mode does not need to install any plug-in unit or telecommunication customer end in dummy machine system inside, and namely this message channel is transparent to dummy machine system self; Simultaneously this mode does not need to install any plug-in unit or telecommunication customer end on end user machine also or make other any changes yet, and also namely the scope of application of which to former virtual machine remote desktop control software design is harmless.
Summary of the invention
The scheme designed in the present invention is based on the virtual machine remote desktop control software design VNC to increase income, in conjunction with developing KVM virtualization platform rapidly at present, by revising the service end code of wherein remote control software, finally set up one to virtual machine its own system transparent can between cloud platform and terminal use the message channel of two-way interactive.
The present invention is mainly solved by following technical proposals:
A method for building up for VNC concealed channel between cloud management platform and virtual machine terminal user, this VNC concealed channel comprises following three modules:
Message conversion module: message conversion module is positioned on the physical host at the actual place of virtual machine, independent of the QEMU module in KVM framework, the cloud platform invoke VNC interface of concealed channel is provided, cloud platform management person is generated the path message window dialog frame of keeper's setting for the origination message sending to terminal use, capture this video in window Pixel Information, convert the pixel format and coded system that can identify in general VNC communication process to; Simultaneously also after receiving terminal use's feedback that message feedback receiver module sends over, the operation of user to message channel is passed to cloud platform management person;
Message transmission module: message transmission module is arranged in the QEMU block code of the KVM framework on the physical host of virtual machine actual place, by part VNC service end function source code inside the QEMU module in KVM framework in amendment KVM virtualization solution, add message transmission module source code, in amendment code, keeper is converted to the form used in time VNC connects for the message pixel data mailing to terminal use, then seamless interpolation enters in original VNC service end and client communication frame message;
Message feedback receiver module: message feedback receiver module is arranged in the QEMU block code of the KVM framework on the physical host of virtual machine actual place, by VNC service end function source code inside the QEMU module in KVM framework in amendment KVM virtualization solution, add message feedback receiver module, in code, capture the mouse action of message terminal use during end-user desktop display, the mouse action information being positioned at path message window viewing area terminal use sent mails to message conversion module by the mode of named pipes.
The invention achieve following functions:
The first, service end message push.On cloud management platform Controlling vertex, can be sent the message of its wish display to remote virtual machine terminal use by this passage, the display of this message is real-time, and after namely service end sends, client can be seen immediately;
The second, to client user's feedback identifying.In service end by after message channel PUSH message to client, terminal use makes different reactions according to himself needing the message window to pushing, this time, service end should be able to identify the concrete feedback operation for this path message window of user, and user feedback is transmitted toward cloud management platform control end, the Action Events different according to it by cloud management platform processes accordingly again.
3rd, PUSH message layout customizes.At the transmitting terminal of message, cloud management platform should according to its different situation needing content and the layout going customization path message window to show in terminal use VNC client.
Wherein, above-mentioned message conversion module main frame specifically can be subdivided into following components again:
Platform interacting message interface: this interface is responsible for directly and origination message transmitting terminal (cloud management platform main controlled node or cloud administrative staff etc.) to carry out direct information mutual, it outwards presents a kind of interface, interface parameters comprise virtual machine access end slogan, use masterplate type and comprise message content blocks number, message content, user interactive kind, the isoparametric configuration file of user operation content (generally with port name), content of parameter connotation is as shown in Figure 1;
Image pixel data file: this file is used for depositing the image pixel data of message window finally for showing in terminal use VNC client.Comprise wide, high, the pixel format of message window and concrete pixel data content.
Window configuration information completion unit: the message window configuration information that this part is responsible for cloud platform sends over carries out completion, the window configuration parameter specifically do not customized for cloud platform management person adopts default setting.
Message window layout stencil unit: Main Function is used to tell what kind of message window is message conversion part should generate, and namely message window comprises the content of which assembly and assembly.
Message conversion unit: this is the Core Feature part of this module, is responsible for message format conversion to be sent and user feedback operation Coordinate Conversion.When after the message that platform message conversion interface sends over to cloud management platform or administrative staff, the parameter sent according to it is forwarded to window configuration information completion part by message conversion part, after the undefined window parameter of completion cloud platform, the final message image window for display is generated according to the window layout corresponding to these parameters, finally by image pixel data corresponding for this window stored in specific file so that message transmission module read;
Message conversion part another one function is after receiving end users operation coordinate that user feedback interface passes over, the actual operation carried out in its corresponding tuple is found by according to this coordinate present position, as this coordinate is in first operating assembly position, what then represent user's selection is the first operation, by that analogy ... finally the content of operation of correspondence is sent to platform interacting message interface.When the feedback operation x that user sends over being detected, y coordinate be arranged in message window operational controls region and this is fed back to mouse-click event time, then this corresponding control content (namely virtual machine terminal user is to the selection of message window) is sent to origination message transmitting terminal, meanwhile, delete message image pixel data file, to terminate when the display of subchannel message.
Receive user feedback unit: this part is mainly used to receive the coordinate of the user operation that user message feedback receive module sends in VNC service end, sends it to message conversion part, as its input.This part realizes the input of mainly always monitoring the named pipes of respective virtual machine during message display, namely message feedback receiver module end is to named pipes write user feedback message, ducted message is read at this sending module, adopt the mode of pipeline obstruction herein, namely do not receive pipeline write message, then monitor always.
Described message conversion module is positioned at cloud service to be provided on node, and described cloud service provides the physical host at node and the actual place of virtual machine; This message conversion module is independent of the QEMU modular program in KVM framework, and be the calling interface that VNC concealed channel outwards provides, its realization flow comprises the following steps:
Step 1: the parameter first calling the platform interacting message interface setting of VNC concealed channel according to keeper reads the message content and message channel imposition layout information that keeper sends over;
Step 2: after message conversion unit receives these configuration informations of step 1 reading, call window configuration information completion unit module, according to the masterplate model query messages window layout stencil unit of keeper's setting in window configuration information completion module, the parameter information do not configured when completion keeper calls VNC concealed channel;
Step 3: generate an interim message window according to the message window configuration information after step 2 completion, described interim message window appearance sees that path message window is identical with final remote terminal user in himself VNC client;
Step 4: the image information of the message window of then crawl step 3 generation, generates corresponding message window bmp sectional drawing picture;
Step 5: the bmp image information that read step 4 generates, the image pixel data file that the use RAW this image information being converted to 32 true color encodes, so that message transmission module afterwards reads;
Step 6: meanwhile receive terminal use that the transmission of user feedback unit monitoring information feedback receive module the returns selection result for this path message, this message conversion module to dissection process after the particular content of terminal use's selection result is transmitted toward the original transmitting terminal of cloud management platform message.
In the present invention, above-mentioned message transmission module is mainly divided into again message image reading unit, message image image conversion unit, message image image adding device three parts:
Message image pixel reading unit: message conversion module generating messages video in window pixel data and by it stored in specific file after, in message transmission module, first image pixel reading section captures the port numbers when time VNC connects, then go to read the path message pixel data under corresponding particular path according to this port numbers, comprise wide, high, pixel format, the pixel data content of message window.
Message image pixel conversion unit: first this part obtains the pixel format when terminal use in time VNC communication session selects, then the pixel format that and above image pixel reading section obtains contrasts, if different, the form then selected according to user is changed the image pixel data read above, as user's selection is 8, and message image pixel is 32, then according to image transfer principle, 32 pixel datas are converted to 8 bit data.
Message image data adding device: view data is being converted to after time VNC connects same format, just start, before VNC original desktop picture frame Catch updated information frame (FramebufferUpdate) sends, in conjunction with this frame buffer update information frame data structure, message image pixel data to be added to after information frame.
Described message transmission module is realized by the frame buffer update information frame in amendment communication process, and its realization flow comprises the following steps:
Step 1: the code finding service end Raw Data Generation in VNC service end and client communication process, in QEMU module in KVM framework, this part is arranged in vnc_worker_thread_loop function under qemu-kvm/ui/vnc-jobs.c, adds code and perform following steps in this function;
Step 2: message image pixel reading unit reads the message image pixel data that message conversion module produces;
Step 3: obtain the pixel format when using in time VNC connection procedure and coded system;
Step 4: then message image converting unit starts the message image pixel data read in step 1 to be further converted to the pixel format and coded system that use in this VNC connection procedure;
Step 5: in conjunction with the data structure of desktop picture lastest imformation frame, in message image rectangular area after step 4 transforms by message image pixel data adding device, pixel data adds to after normal image update information frame, after such VNC client receives this information frame, when himself terminal display is drawn, the message window transmitted in message channel can be drawn out simultaneously.
The core operation of the message feedback receiver module described in the present invention is that during identification message passage shows, user selects for the operation of message window and carries out respective handling to it.In the VNC communication information frame that client sends over, first character joint represents information frame type, if value is 05 expression mouse event.The user operation feedback intending capturing in this programme mainly refers to the mouse action that terminal use sends.The x of key name (as left click, right click, slip intermediate roller etc.) the three to six the byte representation mouse action of second byte representation mouse-click wherein in mouse message frame, y coordinate.Analyze the x in this information frame, y coordinate, judge whether it is in message channel window area, in this way, then think this operation of user to as if message window, now by this coordinate of transmissions to message conversion module, a generation message region more new events simultaneously.This area update event implementation procedure mainly upgrades frame buffer update solicited message frame, to make rectangular area, VNC service end updating message bands window place by the full dose simulating the appointment rectangular area that generation client sends over.
Realization flow comprises the following steps:
Step 1: find service end in VNC service end and client communication process to receive the code of client terminal user feedback data, in QEMU module in KVM framework, this part is arranged in the vnc_client_read function under qemu-kvm/ui/vnc.c, adds code and perform following steps in this function;
Step 2: during judging whether to be in the display of concealed channel message, then intercept the interactive information frame when time session connection sends over from client in this way, otherwise be indicated as VNC service end and client original communication, now message feedback module does not do operation bidirectional;
Step 3: according to the position of mouse action coordinate in the interactive information frame intercepted and captured judge this time operation user for object, described object comprises path message or access system, if mouse action in the rectangular area at message window place, then show user's mouse action to as if message channel window;
Step 4: after receiving the interactive information frame for path message, sends to cloud service and provides the program of the message conversion module on node, by message conversion module, final content is mail to the original transmitting terminal of path message by the particular content of operation;
Step 5: this interactive information frame is changed to the image update information frame upgrading rectangular area, current message window place, also namely produce message region more new events, updating message window place screen area, completes once mutual.
Therefore, tool of the present invention has the following advantages: 1. stability is high, transparent to virtual machine its own system.The software service end that the present invention is controlled by the virtual machine remote desktop adopted in amendment cloud platform, be dissolved in virtual machine desktop image by integrated for message to be sent, then the long-distance tabletop control software client that terminal use uses is sent to together, it does not need to install any plug-in unit or telecommunication customer end in dummy machine system inside, even if user selects refitting system or other operations, this concealed channel function still can play a role, also namely this message channel is 2. transparent convenient non-destructives to dummy machine system self, the scope of application.The present invention does not need to install any plug-in unit or telecommunication customer end on end user machine also or make other any changes, virtual machine terminal user just can experience this function by browser or vnc client on windows, linux, mac even any system environments such as intelligent mobile terminal, and also namely the scope of application of which to former virtual machine remote desktop control software design is harmless.
Accompanying drawing explanation
Fig. 1 VNC passage of the present invention master-plan Organization Chart.
Fig. 2 path message modular converter of the present invention Organization Chart.
Fig. 3 path message sending module of the present invention Organization Chart.
The data structure diagram of the desktop picture lastest imformation frame used in Fig. 4 message transmission module of the present invention.
Fig. 5 path message feedback receive module of the present invention flow chart.
The data structure diagram of the interactive information frame used in Fig. 6 message feedback receiver module of the present invention.
Specific embodiments
Below by embodiment, and by reference to the accompanying drawings, technical scheme of the present invention is described in further detail.
Embodiment:
See Fig. 1, in the cloud platform using KVM virtualization technology, realize that interaction message channel function between cloud management platform and virtual machine remote terminal use mainly comprises message conversion, message sends, message feedback receives three modules.
Message conversion module: message conversion module is positioned on the physical host at the actual place of virtual machine, it is independent of qemu-kvm, and primary responsibility receives cloud management platform main controlled node administrative messag and to the message conversion received, message transmission module identified.An interface can be provided to send over message for finally mailing to virtual machine terminal user to receive cloud management platform or cloud keeper to cloud management platform in this module, due to the form that the message received is text-string or picture and character string organic assembling, and communication is transmitted by image between VNC service end and client, so need text-string message conversion to become image in message conversion module, afterwards picture material is read in specific file, as the informed source of message transmission module in the mode of bitmap pixels data format; Simultaneously after the coordinate receiving the expression end users operation that the transmission of message feedback receiver module is returned, convert thereof into corresponding concrete operations according to coordinate, the loopback of terminal use's feedback result is toward cloud management platform or cloud keeper the most at last.
Message transmission module: message transmission module is arranged in the qemu-kvm code on the physical host of virtual machine actual place, is realized by part VNC service end function source code (being arranged in qemu-kvm/ui/vnc-jobs.c) in qemu-kvm in amendment KVM virtualization solution.In message transmission module, first the message image pixel data that message conversion module produces is read, then the pixel format finding its VNC to connect according to the object virtual machine of message to be sent and coded system attribute, origination message image pixel data is changed, data structure feature again in conjunction with VNC frame buffer update information frame adds the message image pixel data after conversion the end of VNC original communication information frame to, wait for the arrival of news end mark afterwards, finally recovers original VNC session communication.
Message feedback receiver module: message feedback receiver module is arranged in the qemu-kvm code on the physical host of virtual machine actual place, is realized by VNC service end function source code (being arranged in qemu-kvm/ui/vnc.c) in qemu-kvm in amendment KVM virtualization solution.Primary responsibility receives user sends message in the past interactive operation information to message transmission module.This module will intercept all operations information frame of terminal use during path message display, the user's response being directed to message channel window is found out according to event interactive information frame structure, then adopt the mode of named pipes that the coordinate of user operation is sent to message conversion module, simultaneously to message transmission module send a message region more new events to terminate the display of this message in passage.
Above-mentioned message conversion module framework realization flow is as shown in Figure 2:
Step 1: the parameter first calling VNC concealed channel interface setting according to keeper reads the message content and message channel imposition layout information that keeper sends over;
Step 2: enter window configuration information completion module according to these configuration informations that step 1 reads, according to the masterplate model query messages window layout masterplate of keeper's setting in window configuration information completion module, the parameter information do not configured when completion keeper calls VNC concealed channel;
Step 3: generate an interim message window (this message window outward appearance sees that path message window is the same with final remote terminal user in himself VNC client) according to the message window configuration information after step 2 completion;
Step 4: the image information of the message window of then crawl step 3 generation, generates corresponding message window bmp sectional drawing picture;
Step 5: the bmp image information that read step 4 generates, the image pixel data file that the use RAW this image information being converted to 32 true color encodes, so that message transmission module afterwards reads;
Step 6: the terminal use that returns of meanwhile monitoring information feedback receive module transmission for the selection result of this path message, this message conversion module to dissection process after the particular content of terminal use's selection result is transmitted toward the original transmitting terminal of cloud management platform message.
Above-mentioned message transmission module framework realization flow is as shown in Figure 3:
Step 1: the code finding service end Raw Data Generation in VNC service end and client communication process, in qemu-kvm, this part is arranged in the vnc_worker_thread_loop function under qemu-kvm/ui/vnc-jobs.c, adds code and perform following steps in this function;
Step 2: read the message image pixel data that message conversion module produces;
Step 3: obtain the pixel format when using in time VNC connection procedure and coded system;
Step 4: the message image pixel data read in step 1 is further converted to the pixel format and coded system that use in this VNC connection procedure;
Step 5: in conjunction with the data structure (as Fig. 4) of desktop picture lastest imformation frame, in message image rectangular area after step 4 being transformed, pixel data adds to after normal image update information frame, after such VNC client receives this information frame, when himself terminal display is drawn, the message window transmitted in message channel can be drawn out simultaneously.
Above-mentioned message feedback receiver module workflow is as shown in Figure 5:
Step 1: find service end in VNC service end and client communication process to receive the code of client terminal user feedback data, in qemu-kvm, this part is arranged in the vnc_client_read function under qemu-kvm/ui/vnc.c, adds code and perform following steps in this function;
Step 2: during judging whether to be in the display of concealed channel message, then intercept the interactive information frame when time session connection sends over from client in this way, otherwise be indicated as VNC service end and client original communication, now message feedback module does not do operation bidirectional;
Step 3: see Fig. 6, according to the position of mouse action coordinate in the interactive information frame intercepted and captured judge this time operation user for object (path message or access system), if mouse action in the rectangular area at message window place, then show user's mouse action to as if message channel window;
Step 4: after receiving the interactive information frame for path message, the particular content of operation is sent to cloud service and the program of the message conversion module on node is provided, by message conversion module, final content is mail to the original transmitting terminal (generally referring to cloud management platform Controlling vertex) of path message.
Step 5: this interactive information frame is changed to the image update information frame upgrading rectangular area, current message window place, also namely produce message region more new events, updating message window place screen area, completes once mutual;
Specific embodiment described herein is only to the explanation for example of the present invention's spirit.Those skilled in the art can make various amendment or supplement or adopt similar mode to substitute to described specific embodiment, but can't depart from spirit of the present invention or surmount the scope that appended claims defines.

Claims (4)

1. the method for building up of VNC concealed channel between cloud management platform and virtual machine terminal user, this Virtual network computer (VNC) concealed channel comprises following three modules:
Message conversion module: message conversion module is positioned on the physical host at the actual place of virtual machine, independent of in keyboard, video and mouse (KVM) framework with the simulation process of GPL license distribution source code (QEMU) module, the cloud platform invoke VNC interface of concealed channel is provided, cloud platform management person is generated the path message window dialog frame of keeper's setting for the origination message sending to terminal use, capture this video in window Pixel Information, convert the pixel format and coded system that can identify in general VNC communication process to; Simultaneously also after receiving terminal use's feedback that message feedback receiver module sends over, the operation of user to message channel is passed to cloud platform management person;
Message transmission module: message transmission module is arranged in the QEMU block code of the KVM framework on the physical host of virtual machine actual place, by part VNC service end function source code inside the QEMU module in KVM framework in amendment KVM virtualization solution, add message transmission module source code, in amendment code, keeper is converted to the form used in time VNC connects for the message pixel data mailing to terminal use, then seamless interpolation enters in original VNC service end and client communication frame message;
Message feedback receiver module: message feedback receiver module is arranged in the QEMU block code of the KVM framework on the physical host of virtual machine actual place, by VNC service end function source code inside the QEMU module in KVM framework in amendment KVM virtualization solution, add message feedback receiver module, in code, capture the mouse action of message terminal use during end-user desktop display, the mouse action information being positioned at path message window viewing area terminal use sent mails to message conversion module by the mode of named pipes.
2. according to the method for building up of VNC concealed channel between the cloud management platform described in claim 1 and virtual machine terminal user, it is characterized in that, described message conversion module is positioned at cloud service to be provided on node, and described cloud service provides the physical host at node and the actual place of virtual machine; This message conversion module is independent of the QEMU modular program in KVM framework, and be the calling interface that VNC concealed channel outwards provides, its realization flow comprises the following steps:
Step 1: the parameter first calling the platform interacting message interface setting of VNC concealed channel according to keeper reads the message content and message channel imposition layout information that keeper sends over;
Step 2: message conversion unit receive step 1 read message content and message channel imposition layout information after, call window configuration information completion unit module, according to the masterplate model query messages window layout stencil unit of keeper's setting in window configuration information completion module, the parameter information do not configured when completion keeper calls VNC concealed channel;
Step 3: generate an interim message window according to the message window configuration information after step 2 completion, described interim message window appearance sees that path message window is identical with final remote terminal user in himself VNC client;
Step 4: the image information of the message window of then crawl step 3 generation, generates corresponding message window bmp sectional drawing picture;
Step 5: the bmp image information that read step 4 generates, the image pixel data file that the use RAW this image information being converted to 32 true color encodes, so that message transmission module afterwards reads;
Step 6: meanwhile receive terminal use that the transmission of user feedback unit monitoring information feedback receive module the returns selection result for this path message, this message conversion module to dissection process after the particular content of terminal use's selection result is transmitted toward the original transmitting terminal of cloud management platform message.
3. according to the method for building up of VNC concealed channel between the cloud management platform described in claim 1 and virtual machine terminal user, it is characterized in that, described message transmission module is realized by the frame buffer update information frame in amendment communication process, and its realization flow comprises the following steps:
Step 1: the code finding service end Raw Data Generation in VNC service end and client communication process, in QEMU module in KVM framework, this part is arranged in vnc_worker_thread_loop function under qemu-kvm/ui/vnc-jobs.c, adds code and perform following steps in this function;
Step 2: message image pixel reading unit reads the message image pixel data that message conversion module produces;
Step 3: obtain the pixel format when using in time VNC connection procedure and coded system;
Step 4: then message image converting unit starts the message image pixel data read in step 1 to be further converted to the pixel format and coded system that use in this VNC connection procedure;
Step 5: in conjunction with the data structure of desktop picture lastest imformation frame, in message image rectangular area after step 4 transforms by message image pixel data adding device, pixel data adds to after normal image update information frame, after such VNC client receives this information frame, when himself terminal display is drawn, the message window transmitted in message channel can be drawn out simultaneously.
4. according to the method for building up of VNC concealed channel between the cloud management platform described in claim 1 and virtual machine terminal user, it is characterized in that, described message feedback receiver module realization flow comprises the following steps:
Step 1: find service end in VNC service end and client communication process to receive the code of client terminal user feedback data, in QEMU module in KVM framework, this part is arranged in the vnc_client_read function under qemu-kvm/ui/vnc.c, adds code and perform following steps in this function;
Step 2: during judging whether to be in the display of concealed channel message, then intercept the interactive information frame when time session connection sends over from client in this way, otherwise be indicated as VNC service end and client original communication, now message feedback module does not do operation bidirectional;
Step 3: according to the position of mouse action coordinate in the interactive information frame intercepted and captured judge this time operation user for object, described object comprises path message or access system, if mouse action in the rectangular area at message window place, then show user's mouse action to as if message channel window;
Step 4: after receiving the interactive information frame for path message, sends to cloud service and provides the program of the message conversion module on node, by message conversion module, final content is mail to the original transmitting terminal of path message by the particular content of operation;
Step 5: this interactive information frame is changed to the image update information frame upgrading rectangular area, current message window place, also namely produce message region more new events, updating message window place screen area, completes once mutual.
CN201310268539.0A 2013-06-28 2013-06-28 The method for building up of VNC concealed channel between cloud management platform and virtual machine terminal user Active CN103312814B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310268539.0A CN103312814B (en) 2013-06-28 2013-06-28 The method for building up of VNC concealed channel between cloud management platform and virtual machine terminal user

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310268539.0A CN103312814B (en) 2013-06-28 2013-06-28 The method for building up of VNC concealed channel between cloud management platform and virtual machine terminal user

Publications (2)

Publication Number Publication Date
CN103312814A CN103312814A (en) 2013-09-18
CN103312814B true CN103312814B (en) 2016-03-30

Family

ID=49137592

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310268539.0A Active CN103312814B (en) 2013-06-28 2013-06-28 The method for building up of VNC concealed channel between cloud management platform and virtual machine terminal user

Country Status (1)

Country Link
CN (1) CN103312814B (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105005716B (en) * 2015-06-16 2018-01-09 中国科学院计算技术研究所 A kind of application program remote delivery system and long-range delivery method
CN107283423A (en) * 2016-04-11 2017-10-24 凌华科技股份有限公司 Intelligent tester device people's system
CN108628716B (en) * 2017-03-21 2020-12-25 腾讯科技(深圳)有限公司 Information receiving and managing system, method and device
CN107291409B (en) * 2017-05-10 2020-06-19 北京西会科技有限公司 Online desktop sharing method and system
CN107589979B (en) * 2017-09-26 2020-12-04 新华三云计算技术有限公司 Terminal screenshot method and device based on virtual desktop
CN109660581B (en) * 2017-10-11 2021-11-16 阿里巴巴集团控股有限公司 Physical machine management method, device and system
CN107888430B (en) * 2017-12-15 2020-01-14 新华三云计算技术有限公司 Virtual machine management operation synchronization method and device
CN110780880A (en) * 2019-10-30 2020-02-11 上海信耀电子有限公司 Method for implementing embedded remote client
CN113438257B (en) * 2021-08-26 2021-11-12 网御安全技术(深圳)有限公司 Time-based hidden channel feature acquisition method, system, equipment and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102035849A (en) * 2010-12-23 2011-04-27 华为技术有限公司 Method, equipment and system for realizing resource management in cloud computing
CN102937911A (en) * 2011-08-16 2013-02-20 中兴通讯股份有限公司 Management method and system for virtual machine sources

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013020425A (en) * 2011-07-11 2013-01-31 Hitachi Solutions Ltd Hardware and software cooperative verification method using open source software

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102035849A (en) * 2010-12-23 2011-04-27 华为技术有限公司 Method, equipment and system for realizing resource management in cloud computing
CN102937911A (en) * 2011-08-16 2013-02-20 中兴通讯股份有限公司 Management method and system for virtual machine sources

Also Published As

Publication number Publication date
CN103312814A (en) 2013-09-18

Similar Documents

Publication Publication Date Title
CN103312814B (en) The method for building up of VNC concealed channel between cloud management platform and virtual machine terminal user
CN102421028B (en) Control method for intelligent television (TV), intelligent TV, remote control device and intelligent TV control system
CN110704136A (en) Rendering method of small program assembly, client, electronic device and storage medium
CN107992301A (en) User interface implementation method, client and storage medium
CN102193793B (en) A kind of method and apparatus realizing software repeated usage
CN102637127B (en) Method for controlling mouse modules and electronic device
DE102006012976A1 (en) Data e.g. folder, transferring method for use over e.g. local area network, involves receiving user input over input device that indicates selected data is stored in part of window, where data is transferred from viewer to host computers
CN108089857A (en) A kind of industry web monitors the generation method of the page in real time
TW201027416A (en) Systems and methods for iconic graphical user interface and embedded device manager
CN107071551A (en) Applied to the multi-screen interactive screen response method in intelligent television system
CN101702126A (en) Graphical interface editing method and device thereof
CN102664924A (en) Method and apparatus for information processing during remote assistance process
CN105117555A (en) On-line browsing system of nuclear power three-dimensional design model
CN104796390A (en) Electronic whiteboard whole-network synchronous undoing and recovering system and method thereof
CN109117127A (en) Program code generation method, device and computer readable storage medium
CN107643930A (en) Using operation method and Cloud Server
CN101163297A (en) Embedded type interface design device and method
CN106302524B (en) A method of manipulation distal end application software
CN105262880A (en) Mobile phone control demonstration system applied to WiFi network
CN104506718A (en) System and method for remote assistance between smart phones
CN101907992B (en) Equipment and method for providing three-dimensional user interface under Windows environment
KR100989122B1 (en) Service method for online virtual cooperative work using remote control
CN103036980A (en) Data transmission equipment and method used for remote service
CN114417213A (en) Browser same-screen method, browser and browser plug-in
KR20020083121A (en) Link display program

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
TR01 Transfer of patent right

Effective date of registration: 20200108

Address after: 528437 Zhongshan, Guangdong Torch Development Zone, 6 Xiang Hao Road, South Korea, 11 tower, 1119 cards.

Patentee after: Zhongshan Cybertech Technology Co., Ltd.

Address before: 430072 Hubei Province, Wuhan city Wuchang District of Wuhan University Luojiashan

Patentee before: WuHan University

TR01 Transfer of patent right