[go: up one dir, main page]

CN103618724B - Communication means and communication system between terminating machine and virtual machine - Google Patents

Communication means and communication system between terminating machine and virtual machine Download PDF

Info

Publication number
CN103618724B
CN103618724B CN201310643349.2A CN201310643349A CN103618724B CN 103618724 B CN103618724 B CN 103618724B CN 201310643349 A CN201310643349 A CN 201310643349A CN 103618724 B CN103618724 B CN 103618724B
Authority
CN
China
Prior art keywords
virtual machine
terminal
operation control
control instruction
virtual
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
CN201310643349.2A
Other languages
Chinese (zh)
Other versions
CN103618724A (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.)
China Standard Software Co Ltd
Original Assignee
China Standard Software Co Ltd
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 China Standard Software Co Ltd filed Critical China Standard Software Co Ltd
Priority to CN201310643349.2A priority Critical patent/CN103618724B/en
Publication of CN103618724A publication Critical patent/CN103618724A/en
Application granted granted Critical
Publication of CN103618724B publication Critical patent/CN103618724B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)
  • Communication Control (AREA)

Abstract

The invention discloses the communication means between a kind of terminating machine and virtual machine and communication system, this method includes:The communication session that terminating machine is established between virtual machine connects;When user is operated in terminal generator terminal, operational control instruction of the user to virtual machine is encrypted encapsulation and obtains packet by terminating machine, and the packet is sent to monitor of virtual machine;Monitor of virtual machine is decrypted and parses received data bag to obtain operational control instruction, and the operational control is instructed and is sent to virtual machine by virtual serial port;Virtual machine passes through virtual serial port read operation control instruction, and corresponding task is performed according to the operational control instruction read, when virtual machine is safely isolated, the operational control read by virtual serial port in monitor of virtual machine instructs, so that terminating machine can still control virtual machine, this more corresponds to actual needs.

Description

Communication method and communication system between terminal and virtual machine
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a communication method and a communication system between a terminal and a virtual machine.
Background
The cloud computing mode changes the mode that people use computing resources, computing and storage resources required by computing are concentrated in a cloud end, and a terminal is only responsible for sending operation control instructions to a virtual machine and displaying the instruction execution results. In this way, the local computer needs little to do, and all processing is done at the cluster of computers provided by the cloud computing provider. The ultimate goal of cloud computing is to provide computing, services, and applications to the public as a public facility, enabling people to use computer resources like water, electricity, gas, and telephony.
This also raises security issues for us when connecting "cloud" with "terminal". Under certain conditions with extremely high requirements on network security, for example, when the 'cloud' virtual machine needs to be safely isolated, the network connectivity between the virtual machine and the terminal cannot be guaranteed, at the moment, the network is not allowed to exist in the virtual machine, and the terminal cannot send an operation control instruction to the 'isolated' virtual machine.
Therefore, under the condition that the "cloud" virtual machine needs to be safely isolated, the terminal cannot directly communicate with the virtual machine through the network, which seriously affects the interactive experience effect between the terminal user and the virtual machine.
Disclosure of Invention
One of the technical problems to be solved by the present invention is to provide a method for communication between a terminal and a virtual machine, which ensures that the terminal can still control the virtual machine when there is no network communication between the terminal and the virtual machine. In addition, a communication system is also provided.
In order to solve the above technical problem, the present invention provides a communication method between a terminal and a virtual machine, including: the terminal establishes communication session connection with the virtual machine; when a user operates at a terminal end, the terminal encrypts and encapsulates an operation control instruction of the virtual machine by the user to obtain a data packet, and sends the data packet to a virtual machine monitor; the virtual machine monitor decrypts and analyzes the received data packet to obtain an operation control instruction, and sends the operation control instruction to the virtual machine through a virtual serial port; and the virtual machine reads the operation control instruction through the virtual serial port and executes a corresponding task according to the read operation control instruction.
In one embodiment, further comprising: when a user operates at a virtual machine end, the virtual machine sends an operation control instruction of the user to the terminal to the virtual machine monitor through the virtual serial port; the virtual machine monitor encrypts and encapsulates the operation control instruction to obtain a data packet, and sends the data packet to the terminal; and the terminal decrypts and analyzes the received data packet to obtain an operation control instruction, and executes a corresponding task according to the operation control instruction.
In one embodiment, the method further comprises the following steps: and the virtual machine feeds back an execution result corresponding to the operation control instruction sent by the terminal machine and received by the virtual machine to the terminal machine.
In one embodiment, in the step of establishing a communication session connection with a virtual machine, the terminal sends a query request to the virtual machine monitor, the query request being used to determine the type of communication module that has been loaded by the virtual machine; and the terminal machine configures the corresponding communication module type according to the loaded communication module type of the virtual machine so as to realize communication conversion between the terminal machine and the virtual machine.
In one embodiment, when the virtual machine reads a plurality of operation control instructions from the cache area of the virtual machine monitor through the virtual serial port, each operation control instruction is sequentially executed according to the priority of each operation control instruction.
In one embodiment, the operation control instructions are encrypted at the terminal or the virtual machine monitor using a transport layer security protocol.
In one embodiment, the operation control instruction includes a keyboard operation instruction, a mouse operation instruction, a resolution adjustment operation instruction, a copy clipboard operation instruction, and a file transfer operation instruction.
According to another aspect of the present invention, there is also provided a communication system including: the terminal comprises a terminal, a virtual machine, a virtual serial port and a virtual machine monitor, wherein the terminal is used for establishing communication session connection with the virtual machine, and when a user operates at a terminal end, the terminal is used for encrypting and packaging an operation control instruction of the virtual machine by the user to obtain a data packet and sending the data packet out; the virtual machine monitor is used for receiving the data packet sent by the terminal, decrypting and analyzing the data packet to obtain an operation control instruction, and sending the operation control instruction out through a virtual serial port; and the virtual machine is used for reading the operation control instruction through the virtual serial port and executing a corresponding task according to the read operation control instruction.
In one embodiment, when a user operates at a virtual machine end, the virtual machine is used for sending an operation control instruction of the user to the terminal to the virtual machine monitor through the virtual serial port; the virtual machine monitor is used for encrypting and packaging the operation control instruction to obtain a data packet and sending the data packet to the terminal; and the terminal is used for decrypting and analyzing the received data packet to obtain an operation control instruction, and executing a corresponding task according to the operation control instruction.
In one embodiment, the virtual machine is further configured to feed back, to the terminal, an execution result corresponding to the operation control instruction sent by the terminal and received by the virtual machine.
One or more embodiments of the present invention may have the following advantages over the prior art:
in the invention, the virtual machine reads the operation control instruction indicated by the terminal user from the virtual machine monitor through the virtual serial port, so that when the virtual machine is safely isolated, the operation control instruction in the virtual machine monitor is read through the virtual serial port, so that the terminal can still control the virtual machine, thereby ensuring the communication safety of the system and simultaneously meeting the actual requirement.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the principles of the invention and not to limit the invention. In the drawings:
fig. 1 is a schematic diagram of the physical architecture of a communication system according to an example of the invention;
fig. 2 is a flowchart of a communication method between a terminal and a virtual machine according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is further described in detail below with reference to the accompanying drawings.
It should be noted that, in the embodiment of the present invention, the terminal mainly includes a processor unit and a storage unit, and is further connected with peripheral devices such as a keyboard, a mouse, a display, and an ethernet module. It is understood that the terminal may be a thin terminal computer, a notebook computer or a desktop computer, but the terminal of the present invention is not limited to the above devices.
In addition, the terminal may run one of the operating systems of Windows XP, Windows7 and various Linux distribution versions, which is not limited in the present invention. In a network environment, a terminal needs to connect to one or more virtual machines through a client program. The virtual machine may run an operating system of Windows XP, Windows7 and various Linux distribution versions, which is not limited in the present invention. The virtual machines may be run in a virtual machine monitor, such as KVM or Xen, which runs on the server hardware.
First embodiment
Fig. 1 is a schematic diagram of the physical architecture of a communication system according to an example of the invention. The communication system of the present invention will be described in detail with reference to fig. 1.
As shown in fig. 1, the communication system of the present embodiment includes a terminal 1, a virtual machine 2 running on a server 4, and a virtual machine monitor 3. The terminal 1 communicates with the virtual machine monitor 3 through ethernet, and the virtual machine monitor 3 communicates with the virtual machine 2 through the virtual serial port 21.
In the communication system, the terminal 1 is used for establishing a communication session connection between the terminal 1 and the virtual machine 2, and when a user operates at the terminal, the terminal 1 encrypts and encapsulates an operation control instruction of the virtual machine 2 by the user to obtain a data packet, and sends the data packet. Preferably, the terminal 1 encrypts the operation control command using a transport layer security protocol to ensure communication security.
The virtual machine monitor 2 receives the data packet sent by the terminal 1, decrypts and analyzes the data packet to obtain an operation control instruction indicated by the user, and sends the operation control instruction out through the virtual serial port 21.
The virtual machine 2 reads the operation control instruction through the virtual serial port 21, and executes a corresponding task according to the read operation control instruction. In addition, the virtual machine 2 also feeds back, to the terminal 1, an execution result corresponding to the operation control instruction sent by the terminal 1 and received by the virtual machine 2.
The operation control instruction comprises a keyboard operation instruction, a mouse operation instruction, a resolution adjustment operation instruction, a copy clipboard operation instruction, a file transmission operation instruction and the like, wherein the copy clipboard operation instruction comprises a copy instruction, a cut instruction and a paste instruction.
When the virtual machine 2 obtains a plurality of operation control instructions, it executes each operation control instruction in turn according to the priority of the operation control instruction, so that the communication between the terminal 1 and the virtual machine 2 is more timely and efficient.
When a user operates at the virtual machine 2, the virtual machine 2 sends an operation control instruction of the user to the terminal 1 to the virtual machine monitor 3 through the virtual serial port 21, and then the virtual machine monitor 3 encrypts and encapsulates the operation control instruction to obtain a data packet and sends the data packet to the terminal 1. Similarly, the virtual machine monitor 3 encrypts the operation control command by using a transport layer security protocol to ensure communication security. The terminal 1 decrypts and parses the received data packet to obtain an operation control instruction, and executes a corresponding task according to the operation control instruction.
For example, after the user performs a copy or cut operation in the virtual machine 2, the virtual machine 2 sends a copy notification instruction to the terminal 1 through the virtual serial port 21, and activates the paste function in the terminal 1. It is easy to understand that when a paste operation is performed in the virtual machine 2, the virtual machine 2 sends a data acquisition request to the terminal 1, the terminal 1 encrypts and transmits data of a copy buffer of the terminal operating system 10 to the virtual machine 2 through a transport layer security protocol, the virtual machine 2 decrypts and copies the data to the copy buffer of the virtual machine operating system 20, and the operating system 20 in the virtual machine 2 obtains the data from the copy buffer and pastes the data to a specified location. For another example, for a file transmission operation instruction, a file to be transmitted to the terminal 1 is selected in the virtual machine 2, the virtual machine monitor 3 reads the file from the virtual serial port 21, the file is encrypted and transmitted to the terminal 1 through a transport layer security protocol, and the terminal 1 decrypts and stores the received file.
In addition, because the virtual serial port 21 has a drive-free function, it is not necessary to install a drive for the virtual machine operating system 20 when the operating system is installed in the virtual machine 2, thereby realizing more reasonable configuration of system resources.
In the prior art, a terminal and a virtual machine directly communicate through a network, when the virtual machine is securely isolated, the terminal and the virtual machine cannot communicate, and a virtual machine monitor generally monitors only an operating state of the virtual machine (for example, a data packet generated in the virtual machine and a memory usage amount). In this embodiment, the virtual machine monitor may not only monitor the state of the virtual machine, but also transmit a control command from the terminal or the virtual machine, and when the virtual machine is isolated, the virtual machine monitor may also communicate with the virtual machine by using a transmission medium formed by the virtual machine monitor and the virtual serial port. Therefore, under the security isolation state, the communication system better meets the actual needs, and can obtain good interactive experience effect between the terminal user and the virtual machine while ensuring the security of the system.
In summary, in the communication system between the terminal and the virtual machine of the present invention, the virtual machine reads the operation control instruction indicated by the terminal user from the virtual machine monitor through the virtual serial port, and when the virtual machine is safely isolated, the operation control instruction in the virtual machine monitor is read through the virtual serial port, so that the terminal can still control the virtual machine, which more meets the actual requirement.
Second embodiment
Fig. 2 is a flowchart of a communication method between a terminal and a virtual machine according to an embodiment of the present invention. The method is described in detail below with reference to fig. 1 and 2.
Step S210, the terminal 1 establishes a communication session connection with the virtual machine 2.
Specifically, in the communication session connection establishment process, the terminal 1 sends an inquiry request for determining the type of communication module that the virtual machine 2 has loaded to the virtual machine monitor 3 through the ethernet. Then, the virtual machine monitor 3 sends the inquiry request to the virtual machine 2 through the virtual serial port 21, and after receiving the inquiry request, the virtual machine 2 checks the communication modules supported by the virtual machine 2 and feeds back the communication modules loaded by the virtual machine monitor to the terminal 1.
Because the virtual serial port 21 has a drive-free function, a drive does not need to be installed for the virtual machine operating system 20 when the operating system is installed in the virtual machine 2, and thus more reasonable configuration of system resources is realized.
When a communication session connection is established, the terminal 1 acquires and configures the communication module types that the virtual machine 2 can support. The communication modules supported by the virtual machine 2 include, but are not limited to, a keyboard key operation module, a mouse operation module, a resolution adjustment operation module, a copy clipboard operation module, a file transfer operation module, and the like.
According to the loaded communication module type of the virtual machine 2, the terminal 1 configures the corresponding communication module type to realize the communication conversion between the terminal 1 and the virtual machine 2. For example, for keyboard key operation, configuring a keyboard layout conversion function between the terminal 1 and the virtual machine 2; for the mouse operation, the conversion functions of the mouse of the terminal 1 and the simulated mouse device in the virtual machine 2 are configured, for example, the mapping relation of the left-hand mouse button and the right-hand mouse button, the mapping relation of the scroll wheel, and the like.
Step S220, when the user operates at the terminal 1, the terminal encrypts and encapsulates the operation control command of the virtual machine 2 from the user to obtain a data packet, and sends the data packet to the virtual machine monitor 3.
Specifically, the terminal 1 encrypts and encapsulates an operation control instruction of the virtual machine 2 by the user into a protocol packet, and sends the protocol packet to the virtual machine monitor 3 that manages the virtual machine 2. It should be noted that the present embodiment does not limit the format of the encapsulated protocol data, as long as the terminal and the virtual machine can parse the protocol data.
Preferably, in this embodiment, the operation control command of the virtual machine 2 from the user is encrypted by the transport layer security protocol and then transmitted to the virtual machine monitor 3, so as to ensure the security of the user information. The operation control instruction comprises a keyboard operation instruction, a mouse operation instruction, a resolution adjustment operation instruction, a copy clipboard operation instruction, a file transmission operation instruction and the like, wherein the copy clipboard operation instruction comprises a copy instruction, a cut instruction and a paste instruction.
Specifically, the keyboard operation protocol packet needs to encapsulate the key value of the key, the pressing or releasing action and other codes. The mouse operation protocol data packet needs to encapsulate mouse button actions, key values of the buttons, movement actions, mouse movement positions and other codes. Resolution adjustment operation protocol packets require encapsulation of the adjusted width and height. The copy clipboard operation protocol packet needs to encapsulate the copy notification request, copy clipboard data content, etc. The file transfer operation protocol data packet needs to encapsulate file metadata, content data and the like.
In step S230, the virtual machine monitor 3 decrypts and parses the received data packet to obtain an operation control instruction, and sends the operation control instruction to the virtual machine 2 through the virtual serial port 21.
Preferably, the virtual machine monitor 3 sends the decrypted and parsed operation control instruction to the virtual machine 2 through the virtual serial port 21. When the virtual machine 2 reads a plurality of operation control instructions from the cache area of the virtual machine monitor 3 through the virtual serial port 21, the virtual machine 2 sequentially executes each operation control instruction according to the priority of the operation control instruction, so that the communication between the terminal 1 and the virtual machine 2 can be more timely.
Specifically, the virtual machine 2 processes the acquired operation control instruction using the highest priority algorithm. In order to ensure real-time response of the virtual machine 2, control instructions related to the keyboard and the mouse have higher processing priority.
In step S240, the virtual machine 2 reads the operation control instruction through the virtual serial port 21, executes a corresponding task according to the read operation control instruction, and feeds back an execution result corresponding to the operation control instruction sent by the terminal 1 and received by the virtual machine 2 to the terminal 1.
In the prior art, a terminal and a virtual machine directly communicate through a network, when the virtual machine is securely isolated, the terminal and the virtual machine cannot communicate, and a virtual machine monitor generally monitors only an operating state of the virtual machine (for example, a data packet generated in the virtual machine and a memory usage amount). In this embodiment, the virtual machine monitor may not only monitor the state of the virtual machine, but also transmit a control command from the terminal or the virtual machine, and when the virtual machine is isolated, the virtual machine monitor may also communicate with the virtual machine by using a transmission medium formed by the virtual machine monitor and the virtual serial port. Therefore, under the security isolation state, the communication method better meets the actual needs, and can obtain good interactive experience effect between the terminal user and the virtual machine while ensuring the system security.
The following describes the overall operation flow of the resolution adjustment operation command, the copy clipboard operation command, and the file transfer operation command in detail.
For the resolution adjustment operation instruction: the terminal 1 calculates the display resolution according to the size of the window displayed by the virtual machine 2, then the terminal 1 sends the resolution adjustment operation instruction to the virtual machine, and the virtual machine executes the display card resolution adjustment instruction to set the display resolution.
For the copy clipboard operation instruction: when the user executes the copy or cut operation in the terminal 1, a copy notification instruction is sent to the virtual machine 2, and the paste function in the virtual machine 2 is activated.
Specifically, if the terminal 1 executes the copy or cut operation, the terminal 1 sends a copy notification request command to the virtual machine 2, calls a corresponding command of the operating system 20 running in the virtual machine 2, activates the operating system 20 to copy the buffer, and notifies the operating system 20 that the buffer has data. When the virtual machine 2 executes paste operation, the virtual machine 2 sends a data acquisition request to the terminal 1, the terminal 1 encrypts and transmits data of a terminal operating system 10 copy buffer area to the virtual machine 2 through a transport layer security protocol, the virtual machine 2 decrypts and copies the data to the copy buffer area of a virtual machine operating system 20, and the operating system 20 in the virtual machine 2 obtains the data from the copy buffer area and pastes the data to a specified position.
For the file transfer operation instruction, it is an operation for mutual transfer of files in the terminal 1 and the virtual machine 2. Specifically, a file to be transmitted to the virtual machine 2 is selected in the terminal 1, the file is encrypted and transmitted to the virtual machine monitor 3 through a transport layer security protocol, and the virtual machine 2 reads and stores the file decrypted and analyzed by the virtual machine monitor 3 from the virtual serial port 21.
When a user operates at the virtual machine 2, the virtual machine 2 sends an operation control instruction of the user to the terminal 1 to the virtual machine monitor 3 through the virtual serial port 21; the virtual machine monitor 3 encrypts and encapsulates the operation control instruction by using a transport layer security protocol to obtain a data packet, and sends the data packet to the terminal 1; the terminal 1 decrypts and parses the received data packet to obtain an operation control instruction, and executes a corresponding task according to the operation control instruction.
For example, after the user performs a copy or cut operation in the virtual machine 2, the virtual machine 2 sends a copy notification instruction to the terminal 1 through the virtual serial port 21, and activates the paste function in the terminal 1. For another example, for a file transmission operation instruction, a file to be transmitted to the terminal 1 is selected in the virtual machine 2, the virtual machine monitor 3 reads the file from the virtual serial port 21, the file is encrypted and transmitted to the terminal 1 through a transport layer security protocol, and the terminal 1 decrypts and stores the received file.
It is noted that the secure transmission of information between the terminal 1 and the virtual machine 2 enables the sharing of data between the terminal operating system 10 and the virtual machine operating system 20.
Finally, after the virtual machine 2 has finished executing the corresponding task, the execution result corresponding to the received operation control instruction transmitted by the virtual machine monitor 3 is fed back to the terminal 1. For example, for the copy clipboard operation and the file transfer operation, it is necessary to return whether the transfer is successful and the number of bytes that have been transferred, but for the mouse and keyboard operation, the virtual machine 2 does not need to send the instruction execution result to the terminal 1.
In summary, in the communication method between the terminal and the virtual machine of the present invention, the virtual machine reads the operation control instruction indicated by the terminal user from the virtual machine monitor through the virtual serial port, and when the virtual machine is safely isolated, the operation control instruction in the virtual machine monitor is read through the virtual serial port, so that the terminal can still control the virtual machine, and the actual needs are met while the system communication safety is ensured.
The above description is only an embodiment of the present invention, and the protection scope of the present invention is not limited thereto, and any person skilled in the art should modify or replace the present invention within the technical specification of the present invention.

Claims (5)

1. A method of communication between a terminal and a virtual machine, comprising:
the terminal machine establishes communication session connection with the virtual machine monitor;
when a user operates at a terminal end, the terminal encrypts and encapsulates an operation control instruction of the virtual machine by the user to obtain a data packet, and sends the data packet to a virtual machine monitor;
the virtual machine monitor decrypts and analyzes the received data packet to obtain an operation control instruction, and sends the operation control instruction to the virtual machine through a virtual serial port;
the virtual machine reads the operation control instruction through the virtual serial port and executes a corresponding task according to the read operation control instruction;
when a user operates at a virtual machine end, the virtual machine sends an operation control instruction of the user to the terminal to the virtual machine monitor through the virtual serial port;
the virtual machine monitor encrypts and encapsulates the operation control instruction to obtain a data packet, and sends the data packet to the terminal;
the terminal machine decrypts and analyzes the received data packet to obtain an operation control instruction, and executes a corresponding task according to the operation control instruction;
the virtual machine feeds back an execution result corresponding to an operation control instruction sent by the terminal machine and received by the virtual machine to the terminal machine; wherein,
the operation control instruction comprises a keyboard operation instruction, a mouse operation instruction, a resolution adjustment operation instruction, a clipboard copying operation instruction and a file transmission operation instruction.
2. The communication method according to claim 1, wherein, in the step of establishing the communication session connection between the terminal and the virtual machine,
the terminal sends a query request to the virtual machine monitor, wherein the query request is used for determining the type of the communication module loaded by the virtual machine;
and the terminal machine configures the corresponding communication module type according to the loaded communication module type of the virtual machine so as to realize communication conversion between the terminal machine and the virtual machine.
3. The communication method according to claim 2,
and when the virtual machine reads a plurality of operation control instructions from the cache region of the virtual machine monitor through the virtual serial port, sequentially executing each operation control instruction according to the priority of each operation control instruction.
4. A method of communication according to any of claims 1 to 3, wherein the operation control instructions are encrypted at the terminal or the virtual machine monitor using a transport layer security protocol.
5. A communication system, comprising: a terminal machine, a virtual serial port and a virtual machine monitor, wherein,
the terminal machine is used for establishing communication session connection with the virtual machine, and when a user operates at a terminal machine end, the terminal machine is used for encrypting and packaging an operation control instruction of the virtual machine by the user to obtain a data packet and sending the data packet out;
the virtual machine monitor is used for receiving the data packet sent by the terminal, decrypting and analyzing the data packet to obtain an operation control instruction, and sending the operation control instruction out through a virtual serial port;
the virtual machine is used for reading the operation control instruction through the virtual serial port and executing a corresponding task according to the read operation control instruction;
when a user is operating on the side of the virtual machine,
the virtual machine is used for sending an operation control instruction of a user to the terminal to the virtual machine monitor through the virtual serial port;
the virtual machine monitor is used for encrypting and packaging the operation control instruction to obtain a data packet and sending the data packet to the terminal;
the terminal is used for decrypting and analyzing the received data packet to obtain an operation control instruction, and executing a corresponding task according to the operation control instruction;
the virtual machine is further configured to feed back, to the terminal, an execution result corresponding to the operation control instruction sent by the terminal and received by the virtual machine; wherein,
the operation control instruction comprises a keyboard operation instruction, a mouse operation instruction, a resolution adjustment operation instruction, a clipboard copying operation instruction and a file transmission operation instruction.
CN201310643349.2A 2013-12-03 2013-12-03 Communication means and communication system between terminating machine and virtual machine Active CN103618724B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310643349.2A CN103618724B (en) 2013-12-03 2013-12-03 Communication means and communication system between terminating machine and virtual machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310643349.2A CN103618724B (en) 2013-12-03 2013-12-03 Communication means and communication system between terminating machine and virtual machine

Publications (2)

Publication Number Publication Date
CN103618724A CN103618724A (en) 2014-03-05
CN103618724B true CN103618724B (en) 2018-03-02

Family

ID=50169428

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310643349.2A Active CN103618724B (en) 2013-12-03 2013-12-03 Communication means and communication system between terminating machine and virtual machine

Country Status (1)

Country Link
CN (1) CN103618724B (en)

Families Citing this family (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103974111B (en) * 2014-05-22 2017-12-29 华为技术有限公司 By the method, apparatus of the data transfer on intelligent terminal to television terminal
CN105323272A (en) * 2014-06-25 2016-02-10 中兴通讯股份有限公司 Method, terminal and system for managing clipboard
CN104199721A (en) * 2014-08-25 2014-12-10 北京云巢动脉科技有限公司 Non-network-based user message informing method and system
CN104320431A (en) * 2014-09-24 2015-01-28 北京云巢动脉科技有限公司 Method for sharing data of mobile terminal and virtual machine
CN105389513B (en) * 2015-11-26 2018-10-12 华为技术有限公司 A kind of credible execution method and apparatus of virtual credible platform module vTPM
CN105550567A (en) * 2015-12-09 2016-05-04 国云科技股份有限公司 A method for controlling the read and write permissions of a Windows virtual machine USB device
CN106452951B (en) * 2016-09-28 2019-08-06 北京网御星云信息技术有限公司 A kind of information processing method, apparatus and system
CN108255542B (en) * 2018-01-05 2021-08-10 北京北信源信息安全技术有限公司 Serial port and parallel port control method and device of virtual machine
CN108595248A (en) * 2018-04-24 2018-09-28 深信服科技股份有限公司 A kind of virtualization system communication means, device, equipment and virtualization system
CN111666110B (en) * 2019-03-08 2022-11-18 厦门网宿有限公司 Method and device for batch processing of network isolation space based on user mode protocol stack
CN110008092B (en) * 2019-04-15 2020-03-06 苏州浪潮智能科技有限公司 Virtual machine safety monitoring method, device, equipment and readable storage medium
CN110928707A (en) * 2019-10-31 2020-03-27 北京浪潮数据技术有限公司 Data exchange method and related device for host machine and virtual machine
CN113127026A (en) * 2019-12-31 2021-07-16 中兴通讯股份有限公司 Virtual machine component processing method and device
CN112306611B (en) * 2020-11-03 2024-06-21 西安万像电子科技有限公司 File copying method, device, storage medium and processor
CN114691279A (en) * 2020-12-25 2022-07-01 深信服科技股份有限公司 Resource scheduling method, device and storage medium
CN113886017A (en) * 2021-10-09 2022-01-04 山东可信云信息技术研究院 A virtualization method of industrialized interface, virtual machine communication method and system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101488098A (en) * 2009-02-13 2009-07-22 华中科技大学 Multi-core computing resource management system based on virtual computing technology
CN101557420A (en) * 2009-03-31 2009-10-14 北京航空航天大学 Realization method of high-efficiency network communication of a virtual machine monitor
CN102446119A (en) * 2010-10-13 2012-05-09 中标软件有限公司 Virtual machine dynamical migration method based on Passthrough I/O device
CN102457512A (en) * 2010-11-08 2012-05-16 中标软件有限公司 Thin client server virtualization method and virtual thin client server
CN103167006A (en) * 2011-12-19 2013-06-19 中国电信股份有限公司 Method of providing web service of virtual machines and virtual machine monitor and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101488098A (en) * 2009-02-13 2009-07-22 华中科技大学 Multi-core computing resource management system based on virtual computing technology
CN101557420A (en) * 2009-03-31 2009-10-14 北京航空航天大学 Realization method of high-efficiency network communication of a virtual machine monitor
CN102446119A (en) * 2010-10-13 2012-05-09 中标软件有限公司 Virtual machine dynamical migration method based on Passthrough I/O device
CN102457512A (en) * 2010-11-08 2012-05-16 中标软件有限公司 Thin client server virtualization method and virtual thin client server
CN103167006A (en) * 2011-12-19 2013-06-19 中国电信股份有限公司 Method of providing web service of virtual machines and virtual machine monitor and system

Also Published As

Publication number Publication date
CN103618724A (en) 2014-03-05

Similar Documents

Publication Publication Date Title
CN103618724B (en) Communication means and communication system between terminating machine and virtual machine
US8850610B2 (en) Mobile device peripherals management system and multi-data stream technology (MdS)
US8738815B2 (en) System and method for virtualizing the peripherals in a terminal device to enable remote management via removable portable media with processing capability
WO2017020722A1 (en) Virtual machine based data transmission method, device and system
US8560734B2 (en) Secure communication port redirector
US8769127B2 (en) Cross-domain solution (CDS) collaborate-access-browse (CAB) and assured file transfer (AFT)
US9910817B2 (en) Apparatus, system, and method for allowing USB devices to communicate over a network
US8798541B1 (en) System and method for socket backed host controller interface emulation for virtual bluetooth adapter
US20110283002A1 (en) Selectively Communicating Data Of A Peripheral Device To Plural Sending Computers
US9122847B2 (en) Mobile device peripherals management system and multi-data stream technology (MdS)
CN102713848A (en) Methods for interfacing with a virtualized computing service over a network using a lightweight client
CN102938718A (en) Home gateway and intelligent terminal integrated system and communication method thereof
CN101188624A (en) Grid Middleware System Based on Virtual Machine
CN108076457A (en) A kind of safety-type power grid private radio communication module of wisdom based on linux system
WO2016202102A1 (en) Message transmission method and device
CN112231004A (en) Cloud desktop terminal USB redirection system
US9760315B2 (en) Dynamic device allocation apparatus, dynamic device allocation system, dynamic device allocation method and storage medium storing dynamic device allocation program
WO2025016039A1 (en) Data transmission method and apparatus, and related device
CN102523307B (en) B/S-based data transmission system
CN118900265A (en) A remote desktop implementation method and server
CN116232803A (en) Edge computing gateway platform architecture and interaction method thereof
KR20130044278A (en) Virtual device cloud network system and method for providing applications on heterogeneous device platform
CN100493018C (en) A method and system for communicating via a bus interface in a network
CN109873769A (en) A kind of intelligent router based on 5G communication
CN108429770A (en) A kind of server and client data shielding system and data transmission method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant