CN111913781A - System and method for operating virtual equipment in cloud environment by using terminal equipment - Google Patents
System and method for operating virtual equipment in cloud environment by using terminal equipment Download PDFInfo
- Publication number
- CN111913781A CN111913781A CN202010736530.8A CN202010736530A CN111913781A CN 111913781 A CN111913781 A CN 111913781A CN 202010736530 A CN202010736530 A CN 202010736530A CN 111913781 A CN111913781 A CN 111913781A
- Authority
- CN
- China
- Prior art keywords
- input signal
- module
- equipment
- terminal
- 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.)
- Pending
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/455—Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
- G06F9/45533—Hypervisors; Virtual machine monitors
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L2212/00—Encapsulation of packets
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention relates to a system and a method for operating virtual equipment in a cloud environment by using terminal equipment. The method comprises the following steps: acquiring an input signal sent by a terminal equipment module to a terminal computer module; analyzing and packaging the input signal to obtain an analyzed and packaged input signal; sending the analyzed and packaged input signal to a virtual equipment module in an ICA channel communication mode; carrying out deblocking operation on the input signal sent to the virtual equipment module to obtain a deblocking signal; and driving the cloud simulation environment module to display an action picture according to the unsealing signal. The invention can enable the system in the cloud simulation environment to support more terminal devices and expand the interaction mode of the external device of the terminal computer and the virtual system in the cloud simulation environment.
Description
Technical Field
The invention relates to the field of cloud computing, in particular to a system and a method for operating virtual equipment in a cloud environment by using terminal equipment.
Background
With the development of cloud computing, the system is deployed on a server, so that the system is greatly convenient for users to use, the interaction between the system and a terminal computer in the current cloud simulation environment only supports general equipment such as a mouse and a keyboard, and the current environment cannot be automatically identified and supported by special hardware input equipment.
Disclosure of Invention
The invention aims to provide a system and a method for operating virtual equipment in a cloud environment by using terminal equipment, which can enable the system in the cloud simulation environment to support more terminal equipment and expand the interaction mode of external equipment of a terminal computer and the virtual system in the cloud simulation environment.
In order to achieve the purpose, the invention provides the following scheme:
a system for operating a virtual appliance in a cloud environment using a terminal device, comprising: terminal equipment module, terminal computer module and cloud simulation environment that connect gradually, the cloud simulation environment includes virtual equipment module, terminal computer module includes first equipment data processing unit and first ICA communication unit, virtual equipment module includes second equipment data processing unit, second ICA communication unit and interface display unit, terminal equipment module with first equipment data processing unit is connected, first equipment data processing unit is used for gathering terminal equipment module's input signal to gathering analyzes and encapsulates, first equipment data processing unit connect with first ICA communication unit is connected, first ICA communication unit with second ICA communication unit is connected, second ICA communication unit with second equipment data processing unit is connected, second equipment data processing unit is used for carrying out the deblocking to the input signal after analyzing and encapsulating, the second equipment data processing unit is connected with the interface display unit, and the interface display unit is used for displaying the related action picture according to the unsealed signal.
Optionally, the terminal device module is connected to the first device data processing unit through a USB or serial interface.
Optionally, the terminal device module adopts a handwheel or a button or a rocker.
A method for operating a virtual appliance in a cloud environment using a terminal device, comprising:
acquiring an input signal sent by a terminal equipment module to a terminal computer module;
analyzing and packaging the input signal to obtain an analyzed and packaged input signal;
sending the analyzed and packaged input signal to a virtual equipment module in an ICA channel communication mode;
carrying out deblocking operation on the input signal sent to the virtual equipment module to obtain a deblocking signal;
and driving the cloud simulation environment module to display an action picture according to the unsealing signal.
Optionally, the obtaining of the input signal sent by the terminal device module to the terminal computer module specifically includes:
establishing a terminal equipment input signal interception thread through a first data processing unit;
and intercepting and collecting an input signal sent to a terminal computer module by the terminal equipment according to the interception thread.
Optionally, the analyzing and encapsulating the input signal to obtain an analyzed and encapsulated input signal specifically includes:
analyzing the input signal to obtain an analyzed signal;
and packaging the analyzed signal into a MessageInfo structure body to obtain a MessageInfo data packet, wherein the MessageInfo data packet is the input signal after the analysis and packaging.
Optionally, the sending the analyzed and encapsulated input signal to the virtual device module in an ICA channel communication manner specifically includes:
initializing a communication environment;
starting communication programs in a terminal computer module and a virtual equipment module, and establishing connection between a first ICA communication unit and a second ICA communication unit;
and sending the analyzed and packaged input signal to the second ICA communication unit of the virtual equipment module through the first ICA communication unit.
Optionally, the decapsulating operation is performed on the input signal sent to the virtual device module to obtain an decapsulated signal, which specifically includes:
the second ICA communication unit receives the MessageInfo data packet and sends the MessageInfo data packet to the second equipment data processing unit;
and the second equipment data processing unit decapsulates the MessageInfo data packet to obtain an decapsulation signal.
According to the specific embodiment provided by the invention, the invention discloses the following technical effects:
the invention provides a system and a method for operating virtual equipment in a cloud environment by using terminal equipment, wherein input signals sent to a terminal computer module by a terminal equipment module are obtained; analyzing and packaging the input signal to obtain an analyzed and packaged input signal; sending the analyzed and packaged input signal to a virtual equipment module in an ICA channel communication mode; carrying out deblocking operation on the input signal sent to the virtual equipment module to obtain a deblocking signal; the cloud simulation environment module is driven to display action pictures according to the unsealing signal, the interaction mode of the external equipment of the terminal computer and the virtual system in the cloud simulation environment is expanded, and the external equipment of the terminal computer is used for synchronously operating the virtual equipment in the cloud simulation environment, so that the effect is more visual.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings without inventive exercise.
FIG. 1 is a system diagram of the present invention for operating a virtual device in a cloud environment using a terminal device;
FIG. 2 is a detailed diagram of a system for operating a virtual device in a cloud environment using a terminal device according to the present invention;
fig. 3 is a flowchart of a method for operating a virtual device in a cloud environment by using a terminal device according to the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The invention aims to provide a system and a method for operating virtual equipment in a cloud environment by using terminal equipment, which can enable the system in the cloud simulation environment to support more terminal equipment and expand the interaction mode of external equipment of a terminal computer and the virtual system in the cloud simulation environment.
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in further detail below.
The following are explanations of several terms that are related to the present invention:
cloud computing: cloud computing is an internet-based model of computing services that enables on-demand access to configurable shared resources (web server storage applications and services, etc.). Through virtualization of hardware resources and comprehensive sharing of virtualized resources, the characteristics of diversity, dynamics and the like of the resources are combined, massive data are processed, and various requirements of a user including calculation, storage, graphic processing and the like are met.
Cloud simulation environment: a cloud computing based simulation environment.
ICA channel communication: all known as Independent computing architecture, is an efficient data exchange protocol. The method is used for data exchange between the terminal computer and the virtual training system in the cloud mode.
Fig. 1 is a system configuration diagram of operating a virtual device in a cloud environment using a terminal device according to the present invention. Fig. 2 is a specific structure diagram of a system for operating a virtual device in a cloud environment by using a terminal device according to the present invention. As shown in fig. 1 and 2, a system for operating a virtual device in a cloud environment using a terminal device includes: terminal device module 1, terminal computer module 2 and the cloud simulation environment that connect gradually, the cloud simulation environment includes virtual device module 3, terminal computer module 2 includes first equipment data processing unit 21 and first ICA communication unit 22, virtual device module 3 includes second equipment data processing unit 32, second ICA communication unit 31 and interface display unit 33, terminal device module 1 with first equipment data processing unit 21 is connected, first equipment data processing unit 21 is used for gathering terminal device module 1's input signal to gathering analyzes and encapsulates, first equipment data processing unit 21 connect with first ICA communication unit 22 is connected, first ICA communication unit 22 with second ICA communication unit 31 is connected, second ICA communication unit 31 with second equipment data processing unit 32 is connected, the second device data processing unit 32 is configured to decapsulate the analyzed and encapsulated input signal, the second device data processing unit 32 is connected to the interface display unit 33, and the interface display unit 33 is configured to display a relevant action picture according to the decapsulated signal. The terminal device module 1 is connected to the first device data processing unit 21 through a USB or serial port interface. The terminal equipment module 1 adopts a hand wheel or a button or a rocker. In the system, the MessageInfo structure is used for storing and transmitting the device data, and the structure is shown as follows, wherein datatype represents the type of the terminal device, and data stores the input data of the device.
typedefstruct
{
DataType datatype;
BYTE data[512];
}MessageInfo;
In the system, a first device data processing unit 21 completes the functions of acquiring, analyzing and packaging input data of the terminal device. The implementation steps are as follows:
step 11: the first device data processing unit 21 creates a terminal device input signal listening thread, which listens and acquires a terminal device input signal.
Step 12: the first device data processing unit 21 analyzes and encapsulates the acquired input signal into a MessageInfo structure.
Step 13: the first ICA communication unit 22 transmits the MessageInfo structure to the virtual device module 3 in the cloud simulation environment.
The second device data processing unit 32 in the system completes the decapsulation of the received MessageInfo data structure, processes it and drives the interface presentation unit 33. The implementation steps are as follows:
step 21: the second ICA communication unit 31 receives the MessageInfo packet and transmits the data to the second device data processing unit 32.
Step 22: the second device data processing unit 32 decapsulates the MessageInfo data and restores the decapsulated MessageInfo data to the terminal device data structure driving interface display unit 33.
Step 23: the interface display unit 33 displays the motion picture based on the drive data.
The system completes data information interaction between the terminal computer and the cloud simulation environment in an ICA communication mode. The working process is as follows:
step 31: the terminal computer module 2 starts the cloud simulation environment, calls the initialization function of the first ICA communication unit 22, and initializes the communication environment.
Step 32: the cloud simulation environment starts the relevant program in the virtual device module 3, and the second ICA communication unit 31 in the virtual device module 3 establishes connection with the first ICA communication unit 22 in the terminal computer module 2.
Step 33: after the connection is successfully established, the terminal control program in the terminal computer module 2 and the virtual equipment program in the virtual equipment module 3 in the cloud simulation environment can perform data interaction through the ICA communication units of the two parties.
The cloud simulation system is expanded on the basis of general equipment, so that the system in the cloud simulation environment supports more terminal equipment, such as hardware equipment such as hand wheels, rockers and buttons, and the effect of synchronously operating virtual equipment in the cloud simulation environment by using real equipment at the terminal is realized. The hardware equipment is connected to the terminal computer through a USB or other forms, the terminal computer is connected with the remote server to run a cloud simulation environment, the hardware equipment of the terminal computer is connected through user operation, and the virtual equipment in the cloud simulation environment is operated synchronously.
Fig. 3 is a flowchart of a method for operating a virtual device in a cloud environment by using a terminal device according to the present invention. As shown in fig. 3, a method for operating a virtual device in a cloud environment using a terminal device includes:
step 101: the method for acquiring the input signal sent by the terminal equipment module to the terminal computer module specifically comprises the following steps:
and creating a terminal equipment input signal listening thread through the first data processing unit.
And intercepting and collecting an input signal sent to a terminal computer module by the terminal equipment according to the interception thread.
Step 102: analyzing and packaging the input signal to obtain an analyzed and packaged input signal, and specifically comprising:
and analyzing the input signal to obtain an analyzed signal.
And packaging the analyzed signal into a MessageInfo structure body to obtain a MessageInfo data packet, wherein the MessageInfo data packet is the input signal after the analysis and packaging.
Step 103: sending the analyzed and encapsulated input signal to a virtual equipment module in an ICA channel communication mode, specifically comprising:
a communication environment is initialized.
And starting communication programs in the terminal computer module and the virtual equipment module, and establishing connection between the first ICA communication unit and the second ICA communication unit.
And sending the analyzed and packaged input signal to the second ICA communication unit of the virtual equipment module through the first ICA communication unit.
Step 104: the input signal sent to the virtual device module is subjected to deblocking operation to obtain a deblocking signal, and the method specifically includes:
the second ICA communication unit receives the MessageInfo data packet and sends the MessageInfo data packet to the second equipment data processing unit;
and the second equipment data processing unit decapsulates the MessageInfo data packet to obtain an decapsulation signal.
Step 105: and driving the cloud simulation environment module to display an action picture according to the unsealing signal.
The embodiments in the present description are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
The principles and embodiments of the present invention have been described herein using specific examples, which are provided only to help understand the method and the core concept of the present invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, the specific embodiments and the application range may be changed. In view of the above, the present disclosure should not be construed as limiting the invention.
Claims (8)
1. A system for operating a virtual device in a cloud environment using a terminal device, comprising: terminal equipment module, terminal computer module and cloud simulation environment that connect gradually, the cloud simulation environment includes virtual equipment module, terminal computer module includes first equipment data processing unit and first ICA communication unit, virtual equipment module includes second equipment data processing unit, second ICA communication unit and interface display unit, terminal equipment module with first equipment data processing unit is connected, first equipment data processing unit is used for gathering terminal equipment module's input signal to gathering analyzes and encapsulates, first equipment data processing unit connect with first ICA communication unit is connected, first ICA communication unit with second ICA communication unit is connected, second ICA communication unit with second equipment data processing unit is connected, second equipment data processing unit is used for carrying out the deblocking to the input signal after analyzing and encapsulating, the second equipment data processing unit is connected with the interface display unit, and the interface display unit is used for displaying the related action picture according to the unsealed signal.
2. The system for operating the virtual device in the cloud environment by using the terminal device according to claim 1, wherein the terminal device module is connected to the first device data processing unit through a USB or serial interface.
3. The system for operating the virtual device in the cloud environment by using the terminal device according to claim 1, wherein the terminal device module adopts a handwheel or a button or a rocker.
4. A method for operating a virtual device in a cloud environment by using a terminal device, the method being applied to the system for operating a virtual device in a cloud environment by using a terminal device according to any one of claims 1 to 3, the method comprising:
acquiring an input signal sent by a terminal equipment module to a terminal computer module;
analyzing and packaging the input signal to obtain an analyzed and packaged input signal;
sending the analyzed and packaged input signal to a virtual equipment module in an ICA channel communication mode;
carrying out deblocking operation on the input signal sent to the virtual equipment module to obtain a deblocking signal;
and driving the cloud simulation environment module to display an action picture according to the unsealing signal.
5. The method for operating the virtual device in the cloud environment by using the terminal device according to claim 4, wherein the obtaining of the input signal sent by the terminal device module to the terminal computer module specifically includes:
establishing a terminal equipment input signal interception thread through a first data processing unit;
and intercepting and collecting an input signal sent to a terminal computer module by the terminal equipment according to the interception thread.
6. The method according to claim 4, wherein the analyzing and encapsulating the input signal to obtain an analyzed and encapsulated input signal specifically includes:
analyzing the input signal to obtain an analyzed signal;
and packaging the analyzed signal into a MessageInfo structure body to obtain a MessageInfo data packet, wherein the MessageInfo data packet is the input signal after the analysis and packaging.
7. The method according to claim 4, wherein the sending the analyzed and encapsulated input signal to the virtual device module in an ICA channel communication manner specifically includes:
initializing a communication environment;
starting communication programs in a terminal computer module and a virtual equipment module, and establishing connection between a first ICA communication unit and a second ICA communication unit;
and sending the analyzed and packaged input signal to the second ICA communication unit of the virtual equipment module through the first ICA communication unit.
8. The method according to claim 6, wherein the decapsulating operation is performed on the input signal sent to the virtual device module to obtain an decapsulated signal, and specifically includes:
the second ICA communication unit receives the MessageInfo data packet and sends the MessageInfo data packet to the second equipment data processing unit;
and the second equipment data processing unit decapsulates the MessageInfo data packet to obtain an decapsulation signal.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010736530.8A CN111913781A (en) | 2020-07-28 | 2020-07-28 | System and method for operating virtual equipment in cloud environment by using terminal equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010736530.8A CN111913781A (en) | 2020-07-28 | 2020-07-28 | System and method for operating virtual equipment in cloud environment by using terminal equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111913781A true CN111913781A (en) | 2020-11-10 |
Family
ID=73280188
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010736530.8A Pending CN111913781A (en) | 2020-07-28 | 2020-07-28 | System and method for operating virtual equipment in cloud environment by using terminal equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111913781A (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102932327A (en) * | 2012-07-17 | 2013-02-13 | 上海金图信息科技有限公司 | Method and system for communicating zero-terminal equipment and desktop virtual machine |
CN103324278A (en) * | 2012-10-30 | 2013-09-25 | 中兴通讯股份有限公司 | Terminal device, system and method for accessing virtual desktops |
CN103714020A (en) * | 2013-12-27 | 2014-04-09 | 普华基础软件股份有限公司 | USB device redirecting system based on network |
CN106407151A (en) * | 2016-09-05 | 2017-02-15 | 华为技术有限公司 | Information processing method and device |
CN108153579A (en) * | 2017-12-29 | 2018-06-12 | 佛山市幻云科技有限公司 | Desktop cloud peripheral hardware access system |
US10154023B1 (en) * | 2014-12-18 | 2018-12-11 | EMC IP Holding Company LLC | Method and system for secure instantiation of an operation system within the cloud |
-
2020
- 2020-07-28 CN CN202010736530.8A patent/CN111913781A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102932327A (en) * | 2012-07-17 | 2013-02-13 | 上海金图信息科技有限公司 | Method and system for communicating zero-terminal equipment and desktop virtual machine |
CN103324278A (en) * | 2012-10-30 | 2013-09-25 | 中兴通讯股份有限公司 | Terminal device, system and method for accessing virtual desktops |
CN103714020A (en) * | 2013-12-27 | 2014-04-09 | 普华基础软件股份有限公司 | USB device redirecting system based on network |
US10154023B1 (en) * | 2014-12-18 | 2018-12-11 | EMC IP Holding Company LLC | Method and system for secure instantiation of an operation system within the cloud |
CN106407151A (en) * | 2016-09-05 | 2017-02-15 | 华为技术有限公司 | Information processing method and device |
CN108153579A (en) * | 2017-12-29 | 2018-06-12 | 佛山市幻云科技有限公司 | Desktop cloud peripheral hardware access system |
Non-Patent Citations (2)
Title |
---|
孙玉伟等: "云桌面中USB设备重定向技术研究", 《信息网络安全》 * |
陈志佳等: "一种IaaS模式"云训练"系统设计", 《系统仿真学报》 * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2019114185A1 (en) | App remote control method and related devices | |
US10397627B2 (en) | Desktop-cloud-based media control method and device | |
EP2911342B1 (en) | Home gateway and intelligent terminal integrated system and communication method therefor | |
JP6368033B2 (en) | Terminal, server, and terminal control method | |
CN113079216B (en) | Cloud application implementation method and device, electronic equipment and readable storage medium | |
CN106020929A (en) | System and method for supporting 3D application in virtual environment | |
CN205068298U (en) | Interaction system is wandered to three -dimensional scene | |
CN110519247B (en) | One-to-many virtual reality display method and device | |
CN111984114A (en) | Multi-person interaction system based on virtual space and multi-person interaction method thereof | |
CN113893524B (en) | Cloud application processing system, method, device and equipment | |
CN102033726A (en) | Display method and server | |
US11061540B2 (en) | Remote support service with smart whiteboard | |
WO2014121477A1 (en) | Video redirection method, device and system, and computer readable medium | |
CN109587118B (en) | Distributed multi-terminal and multi-network supporting system for Android online game | |
WO2024061308A1 (en) | Notification processing method, and terminal device, server side and computer storage medium | |
CN111701232B (en) | Game picture processing method and device and electronic device | |
CN103209209B (en) | Based on applying virtual implementation method and the system of the transmission of Windows System and Network | |
CN111913781A (en) | System and method for operating virtual equipment in cloud environment by using terminal equipment | |
CN112565883A (en) | Video rendering processing system and computer equipment for virtual reality scene | |
CN112612735B (en) | Unity-based multi-platform polymorphic VR hardware interface management method and system | |
KR20170105317A (en) | Method for transmitting screen of virtual machine using graphic procedding unit based on hardware and apparatus using the same | |
CN114675914B (en) | Image transmission method and device of virtual desktop, electronic equipment and storage medium | |
CN107870752B (en) | Terminal window wall-mounting method, terminal, television wall and system | |
CN105611394B (en) | Video reorientation method under VDI environment and system | |
CN113835816A (en) | Virtual machine desktop display method, device, equipment and readable storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |