作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程

• 体系结构与软件技术 • 上一篇    下一篇

基于KVM 虚拟桌面的透明消息通道设计

崔竞松1a,1b ,何 松1a,郭 迟2,贺汇林1a   

  1. (1. 武汉大学a. 计算机学院;b. 空天信息安全与可信计算教育部重点实验室,武汉430072;2. 武汉大学卫星定位导航技术研究中心,武汉430079)
  • 收稿日期:2014-02-12 出版日期:2014-09-15 发布日期:2014-09-12
  • 作者简介:崔竞松(1975 - ),男,副教授、博士,主研方向:信息安全,云安全;何 松,硕士研究生;郭 迟(通讯作者),讲师、博士; 贺汇林,硕士研究生
  • 基金资助:
    国家“863”计划基金资助项目(2013AA12A206);国家自然科学基金资助项目(41104010,91120002,61170026)。

Design of Transparent Message Channel Based on KVM Virtual Desktop

CUI Jing-song 1a,1b ,HE Song 1a ,GUO Chi 2,HE Hui-lin 1a   

  1. (1a. Computer School;1b. Key Laboratory of Aerospace Information and Trusted Computing,Ministry of Education, Wuhan University,Wuhan 430072,China;2. Global Navigation Satellite System Research Center, Wuhan University,Wuhan 430079,China)
  • Received:2014-02-12 Online:2014-09-15 Published:2014-09-12

摘要: 云管理平台和虚拟机终端用户间的通信一般采用代理软件或插件,便捷性和抗干扰能力较低。针对该问 题,利用基于内核的虚拟机(KVM)虚拟桌面,提出一种云服务提供节点(虚拟机所在物理主机)和虚拟机终端用户 之间双向交互的透明消息通道设计方案。在云管理平台中建立消息控制端,用于接收和处理服务节点发往虚拟机 终端用户的消息,并将消息转换为图像,使图像内容以位图像素数据格式的方式读出到特定文件中,作为消息发送 模块的消息来源。通过修改KVM 虚拟化平台中Qemu-KVM 集成的VNC Server 端源码,在源码中添加消息发送 模块和反馈接收模块,将消息集成融入到虚拟机桌面图像中,并对VNC Client 远程终端反馈的消息进行处理,从而 得到一条对虚拟机自身系统透明的,可在云平台和终端用户间双向交互的消息通道。实验结果验证了该设计方案 的可行性。

关键词: 消息转换, 消息传输, 透明通道, 虚拟网络计算协议, 虚拟桌面, 基于内核的虚拟机

Abstract: Cloud management platform and end-users of virtual machine generally use proxy software or plug-ins to communicate with each other,but the convenience and anti-jamming capabilities of this method is poor. Aiming at this problem,this paper proposes a design scheme for transparent message channel between the node provided by cloud service (the physical host that virtual machine lies in) and the end-user of virtual machine based on virtual desktop on Kernelbased Virtual Machine(KVM). It builds message control terminal in cloud management platform to receive and process messages that service node sends to end-users of virtual machine,and transforms the messages into images,reads the content of images into specified file in the form of bitmap pixel data as the source of message sending module. It adds message sending module and feedback receiving module into source codes by modifying the source code of Virtual Network Computing ( VNC ) server-side integrated by Qemu-KVM of KVM virtualization platform, integrates the messages into desktop image of the virtual machine,and processes the feedback from the remote terminal of VCN client. Then it builds a two-way interactive message channel between the cloud platform and the end-users which is transparent for virtual machine itself. Experimental result verifies that this scheme is feasible.

Key words: message transformation, message transmission, transparent channel, Virtual Network Computing (VNC) protocol, virtual desktop, Kernel-based Virtual Machine(KVM)

中图分类号: