Remote control method, device, system, computing device and storage medium
By running a virtual terminal in the controlled computing device and establishing a communication connection, the problem of inoperability and information leakage by users of the controlled device in remote assistance is solved, the interface isolation and operation monitoring of the main control and the controlled device are realized, and the efficiency is improved Remote assistance security and experience.
Patent Information
- Application Number
- CN202111547591.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-16
- Publication Date
- 2024-09-10
- Estimated Expiration
- 2041-12-16
AI Technical Summary
In the existing remote assistance solution, when the remote user operates the local computer, the user on the controlled computing device cannot perform the operation, and waiting for a long time will affect the user experience, and there is a security issue of information leakage.
By running the first virtual terminal and the second virtual terminal in the controlled computing device, running the server application and the client application respectively, and using a specific protocol to establish a communication connection, the isolation of the display interface is achieved, ensuring that the main control computing device and the controlled The computing device displays are isolated from each other while allowing the controlled device to monitor the operations of the master terminal.
The control operations of the master computing device and the controlled computing device are isolated from each other, protecting user privacy, allowing users of the controlled device to operate and use the computing device at the same time, and improving the security and usage experience of remote assistance.
Smart Images

Figure CN114217900B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computer technology, and in particular to a remote control method, device, system, computing equipment and storage medium. Background Art
[0002] When a user's computer has a problem, users who are not familiar with computer technology often need help from others to operate and repair their computers. At this time, remote assistance is particularly critical.
[0003] In the existing remote assistance solutions, when the remote user operates the local computer, the user of the controlled computing device cannot operate, otherwise it will affect the remote user. In addition, if the remote assistance lasts for a long time, the user of the controlled computing device will be in a waiting state. This seriously affects the user experience of the user of the controlled computing device. In addition, the existing remote assistance solutions are prone to security factors such as information leakage. Summary of the invention
[0004] In view of the above problems, the present invention is proposed to provide a remote control method, apparatus, system, computing device and storage medium that overcome the above problems or at least partially solve the above problems.
[0005] According to one aspect of the present invention, there is provided a remote control method, which is executed in a controlled computing device, in which at least one virtual terminal resides, and the method comprises: running a server application in a first virtual terminal, the first virtual terminal being associated with a first window system presenting a current display interface; running a second window system in a second virtual terminal, and running a client application corresponding to the server application; establishing a communication connection between the client application and the server application using a first protocol, so as to present the display interface presented in the first window system in the client application; and establishing a communication connection with a master computing device using a second protocol, so as to present an interface corresponding to the display interface of the client application in the master computing device.
[0006] Optionally, in the remote control method according to the present invention, it also includes the step of: when the second virtual terminal monitors the first control instruction, forwarding the first control instruction to the first virtual terminal so that the first virtual terminal responds to the first control instruction, wherein the first control instruction comes from the main control computing device.
[0007] Optionally, in the remote control method according to the present invention, it further includes the step of: when the second virtual terminal monitors the second control instruction, responding to the second control instruction at the second virtual terminal, wherein the second control instruction comes from an input device connected to the controlled computing device.
[0008] Optionally, in the remote control method according to the present invention, the step of establishing a communication connection between the client application and the server application using the first protocol includes: obtaining the listening port parameters corresponding to the server application and the IP address of the controlled computing device; based on the IP address and port parameters, establishing a communication connection between the client application and the server application.
[0009] Optionally, in the remote control method according to the present invention, the second protocol is a webRTC protocol.
[0010] Optionally, in the remote control method according to the present invention, the server application and / or the client application is a remote control application.
[0011] According to another aspect of the present invention, there is provided a remote control apparatus, which resides in a controlled computing device and includes: a first running module, which is suitable for running a server application in a first virtual terminal, the first virtual terminal being associated with a first window system presenting a current display interface; a second running module, which is suitable for running a second window system in a second virtual terminal and running a client application corresponding to the server application; a first connection module, which is suitable for establishing a communication connection between the client application and the server application using a first protocol, so as to present the display interface presented in the first window system in the client application; and a second connection module, which is suitable for establishing a communication connection with a main control computing device using a second protocol, so as to present an interface corresponding to the display interface of the client application in the main control computing device.
[0012] According to another aspect of the present invention, a remote control system is provided, comprising: a master control computing device; and a controlled computing device, comprising the above-mentioned remote control apparatus; wherein the master control computing device is communicatively connected with the controlled computing device.
[0013] According to another aspect of the present invention, there is provided a computing device, comprising: at least one processor; and a memory storing program instructions, wherein the program instructions are configured to be suitable for being executed by the at least one processor, and the program instructions include instructions for executing the above method.
[0014] According to another aspect of the present invention, a readable storage medium storing program instructions is provided. When the program instructions are read and executed by a computing device, the computing device executes the above method.
[0015] According to the solution of the present invention, by running the server application in the first virtual terminal in the controlled computing device, running the client application in the second virtual terminal, and establishing a communication connection between the client application and the server application, the interface of the window system associated with the virtual terminal can be presented in the client application, and when the connection is established with the main control computing device, the interface displayed in the client application is presented to the main control computing device, so that the interface presented by the main control computing device is limited to the interface presented by the client, that is, the interface of the first window system associated with the first virtual terminal is presented in the main control computing device, and the interface in the second window system associated with the second virtual terminal will not be presented to the operator, thereby achieving the effect of isolating the display of the main control computing device and the controlled computing device. In addition, the controlled device can monitor the operation of the main control terminal in the client application window of the second window system to avoid the problem of user privacy leakage.
[0016] According to the solution of the present invention, the first window system and the second window system are arranged on different virtual terminals, so that the first window system and the second window system are isolated from each other. In this way, the control instruction sent by the master computing device to the controlled computing device can be sent to the first virtual terminal via the second virtual terminal of the controlled computing device, and the control instruction is responded to in the first virtual terminal, so that the user of the controlled computing device can perform control operations in the second virtual terminal in parallel without being disturbed by the control operation of the master computing device, thereby achieving the effect of isolating the control operations of the master computing device and the controlled computing device from each other.
[0017] The above description is only an overview of the technical solution of the present invention. In order to more clearly understand the technical means of the present invention, it can be implemented according to the contents of the specification. In order to make the above and other purposes, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are listed below. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] Various other advantages and benefits will become apparent to those of ordinary skill in the art by reading the detailed description of the preferred embodiments below. The accompanying drawings are only for the purpose of illustrating the preferred embodiments and are not to be considered as limiting the present invention. Moreover, the same reference symbols are used throughout the accompanying drawings to represent the same components. In the accompanying drawings:
[0019] Figure 1 A schematic diagram of a computing device 100 according to one embodiment of the present invention is shown;
[0020] Figure 2 A flowchart of a remote control method 200 according to an embodiment of the present invention is shown;
[0021] Figure 3 A schematic diagram of the structure of a remote control system 300 according to an embodiment of the present invention is shown;
[0022] Figure 4 A schematic diagram of the structure of a remote control device 400 according to an embodiment of the present invention is shown;
[0023] Figure 5 A schematic diagram of an application scenario 500 according to an embodiment of the present invention is shown. DETAILED DESCRIPTION
[0024] The exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although the exemplary embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided to enable a more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.
[0025] In the existing remote assistance implementation, after the remote assistance connection between the master computing device and the controlled computing device is established, all display contents of the controlled computing device will be presented to the master computing device as a screen; and after the remote connection between the two is established, any operation performed by the controlled computing device, the resulting windows and screens will be presented to the user of the master computing device, and the operation of the mouse, keyboard and other input devices by the user of the controlled computing device will also affect the operation of the user of the master computing device. As a result, after the remote assistance is established, the privacy of the user of the controlled computing device cannot be well protected, and the user of the controlled computing device cannot use the controlled computing device for a long time.
[0026] In order to solve the above problems in the prior art, the solution of the present invention is proposed. An embodiment of the present invention provides a remote control method, which can be executed in a controlled computing device. Figure 1 FIG. 1 shows a block diagram of a computing device 100 according to an embodiment of the present invention. Figure 1 As shown, in a basic configuration 102, computing device 100 typically includes system memory 106 and one or more processors 104. A memory bus 108 may be used for communication between processor 104 and system memory 106.
[0027] Depending on the desired configuration, the processor 104 can be any type of processor, including but not limited to: a microprocessor (μP), a microcontroller (μC), a digital information processor (DSP), or any combination thereof. The processor 104 can include one or more levels of cache such as a first-level cache 110 and a second-level cache 112, a processor core 114, and registers 116. An example processor core 114 can include an arithmetic logic unit (ALU), a floating point unit (FPU), a digital signal processing core (DSP core), or any combination thereof. An example memory controller 118 can be used with the processor 104, or in some implementations, the memory controller 118 can be an internal part of the processor 104.
[0028] Depending on the desired configuration, the system memory 106 can be any type of memory, including but not limited to: volatile memory (such as RAM), non-volatile memory (such as ROM, flash memory, etc.) or any combination thereof. The physical memory in the computing device usually refers to the volatile memory RAM, and the data in the disk needs to be loaded into the physical memory before it can be read by the processor 104. The system memory 106 may include an operating system 120, one or more applications 122, and program data 124. The application 122 is actually a plurality of program instructions, which are used to instruct the processor 104 to perform corresponding operations. In some embodiments, in some embodiments, the application 122 can be arranged to execute instructions on the operating system by one or more processors 104 using the program data 124. The operating system 120 can be, for example, Linux, Windows, etc., which includes program instructions for processing basic system services and performing tasks that depend on hardware. The application 122 includes program instructions for implementing various user-desired functions. The application 122 can be, for example, a browser, instant messaging software, a software development tool (such as an integrated development environment IDE, a compiler, etc.), etc., but is not limited thereto. When the application 122 is installed into the computing device 100 , a driver module may be added to the operating system 120 .
[0029] When the computing device 100 starts running, the processor 104 reads and executes the program instructions of the operating system 120 from the memory 106. The application 122 runs on the operating system 120 and uses the interfaces provided by the operating system 120 and the underlying hardware to implement various functions desired by the user. When the user starts the application 122, the application 122 is loaded into the memory 106, and the processor 104 reads and executes the program instructions of the application 122 from the memory 106.
[0030] Computing device 100 also includes a storage device 132 including a removable storage 136 and a non-removable storage 138 , both of which are connected to storage interface bus 134 .
[0031] The computing device 100 may also include an interface bus 140 that facilitates communication from various interface devices (e.g., output devices 142, peripheral interfaces 144, and communication devices 146) to the basic configuration 102 via the bus / interface controller 130. Example output devices 142 include a graphics processing unit 148 and an audio processing unit 150. They can be configured to facilitate communication with various external devices such as a display or speakers via one or more A / V ports 152. Example peripheral interfaces 144 may include a serial interface controller 154 and a parallel interface controller 156, which may be configured to facilitate communication with external devices such as input devices (e.g., keyboards, mice, pens, voice input devices, touch input devices) or other peripherals (e.g., printers, scanners, etc.) via one or more I / O ports 158. Example communication devices 146 may include a network controller 160, which may be arranged to facilitate communication with one or more other computing devices 162 via a network communication link via one or more communication ports 164.
[0032] A network communication link can be an example of a communication medium. Communication media can generally be embodied as computer-readable instructions, data structures, program modules in a modulated data signal such as a carrier wave or other transmission mechanism, and can include any information delivery medium. A "modulated data signal" can be a signal in which one or more of its data sets or its changes can be carried out in a manner that encodes information in the signal. As non-limiting examples, communication media can include wired media such as a wired network or a dedicated line network, and various wireless media such as sound, radio frequency (RF), microwave, infrared (IR) or other wireless media. The term computer-readable medium used herein can include both storage media and communication media.
[0033] The computing device 100 also includes a storage interface bus 134 connected to the bus / interface controller 130. The storage interface bus 134 is connected to a storage device 132, which is suitable for data storage. Example storage devices 132 may include removable storage 136 (such as CD, DVD, USB flash drive, removable hard disk, etc.) and non-removable storage 138 (such as hard disk drive HDD, etc.).
[0034] In the computing device 100 according to the present invention, the application 122 includes a plurality of program instructions for executing the method 200 .
[0035] Figure 2 The flowchart of the remote control method 200 according to one embodiment of the present invention is shown. The method 200 is suitable for being executed in a controlled computing device (the controlled computing device can be implemented as the aforementioned computing device 100), and at least one virtual terminal resides in the controlled computing device.
[0036] like Figure 2 As shown, the purpose of the remote control method 200 is to implement a better remote control method, starting from step S202. In step S202, a server application is run on a first virtual terminal, and the first virtual terminal is associated with a first window system that presents the current display interface. It should be noted that the virtual terminal refers to a control program in an operating system, which is generally composed of a virtual console, a serial port, and a pseudo terminal device. The window system in a computing device can be controlled through a virtual terminal. The window system is a software system that can manage conversations between users and applications with a graphical interface. The window system can manage hardware devices such as a display, keyboard, and mouse. The content in the window system is displayed in the form of images, graphics, or text, and the user inputs the required content or options to these applications through a mouse or keyboard. It can be understood that the window system is a component of a graphical user interface that uses windows as one of its main features. More specifically, it is a component of a desktop environment.
[0037] In a specific example, take the Linux system as an example. In the Linux system, the computer display is usually called the console terminal (Console). It emulates a terminal of type Linux (TERM = Linux), and there are some device special files associated with it: tty0, tty1, tty2, etc. When you log in on the console, you use tty1. When you use the Alt+[F1-F6] key combination, you can switch to tty2, tty3, etc. (You can also use the Linux command chvt to switch ttys). tty1-tty6, etc. are called virtual terminals, and tty0 is an alias for the currently used virtual terminal. The information generated by the system will be sent to this terminal (also called the console terminal at this time). Therefore, no matter which virtual terminal is currently in use, the system information will be sent to the console terminal. It can be understood that when we switch from one virtual terminal to another in the Linux system, it is equivalent to reopening a new computing device. In other words, each virtual terminal can be associated with a window system. In Linux systems, the window system used is generally the X window system. The X window system is divided into hardware-level components and application-level components, respectively called X server and X client. The components communicate using the X protocol. The X server runs on the user's local machine and communicates directly with the graphics card. The X server monitors user input through the mouse and keyboard, and transmits keyboard keys and mouse clicks to the X client application. The X client waits for user events transmitted by the X server, and then responds by sending a redraw message to the X server.
[0038] In step S204, the second window system is run on the second virtual terminal, and the client application corresponding to the server application is run. Specifically, the server application and the client application are remote control applications.
[0039] In a possible implementation, the server application can be a VNC server application, and the corresponding client application is a VNC client application. VNC (Virtual Network Console) is a remote control tool software, which is basically composed of two parts: one part is the client application (vncviewer); the other part is the server application (vncserver). The server application and the client application communicate through the RFB (Remote Frame Buffer) protocol, which is a super thin client system based on a platform-independent simple display protocol. Among them, when implementing remote control, the server application is generally arranged on the computing device that needs to be controlled, and the client application is arranged on the computing device that implements the control. In this embodiment, the VNC server application is arranged on the first virtual terminal, and the VNC client application is arranged on the second virtual terminal. As mentioned above, when the virtual terminal is switched, it is equivalent to restarting a computing device. Based on this, it can be understood that the first virtual terminal is the computing device that needs to be controlled, and the second virtual terminal is the computing device that implements the control, and the control between different virtual terminals is implemented on the same computing device. In other words, the second virtual terminal can control the first virtual terminal.
[0040] In step S206, a communication connection is established between the client application and the server application using the first protocol, so that the display interface presented in the first window system is presented in the client application. The first protocol can be set accordingly according to the selection of the server application and the client application. For example, when the server application and the client application are VNC applications, the first protocol can be an RFB (Remote Frame Buffer) protocol. Specifically, first, the listening port parameters corresponding to the server application and the IP address of the controlled computing device are obtained. Then, based on the IP address and the port parameters, a communication connection is established between the client application and the server application. For a remote control application, when the server application is usually started, the listening port after the server application is started can be specified. When the server application is started, the client application can be connected through the IP address of the computing device where the server application is located and the port number listened by the server application. For example, for x11VNC (a model of VNC remote control application), the server port number can be obtained by the following instruction: x11vnc-rfbport=XXXX, where XXXX is a port number in digital format. When the client application obtains the listening port parameters of the server application and the IP address of the computing device where the server application is located, it will generate a connection instruction and send it to the server application. The server application determines whether the client application can connect remotely based on the connection instruction. Specifically, the client application can be required to log in with a password. This application does not limit this.
[0041] In a specific example, still taking the Linux system as an example, there are many implementations of vncviewer on Linux, and the following command can be used to connect / usr / bin / vncviewer IP: XXXX. It should be noted that the above command is only an illustrative example. There are many implementations of vncviewer on Linux, and different implementations may have slightly different specific instruction formats. The IP in the above command is the IP address of the vnc server application mentioned earlier. In this embodiment, since the vnc server application runs in the controlled computing device, 127.0.0.1 can be used to connect to the local machine, and XXXX is the listening port parameter specified when the vnc server application is started.
[0042] After the client application is connected to the server application, the interface of the window system where the server application is located can be displayed in the window where the client application is located, that is, the display interface program of the first window system is placed in the window of the client application.
[0043] In step S208, a communication connection is established with the master computing device using the second protocol so that an interface corresponding to the display interface of the client application is presented in the master computing device. Specifically, the second protocol can use the webRTC protocol to present an interface corresponding to the display interface of the client application in the master computing device. When connecting using webRTC, the user of the controlled computing device can choose to share only a certain window with the user of the master computing device, thereby better protecting the privacy of the user of the controlled computing device. In this implementation, the window of the client application is selected as the window shared with the master computing device.
[0044] When the first virtual terminal that the user is using has a problem or needs to be presented to a remote computing device for control, the user can run the VNC server application in the current first virtual terminal, and then switch the first virtual terminal to the second virtual terminal through the Ctrl+Alt+Fn shortcut key or the chvt command, and run the VNC client application in the second virtual terminal, and then connect the VNC server to the VNC client application through the RFB protocol. At this time, the VNC client application presents the display interface of the first window system where the VNC server application is located. After that, a remote communication connection is established with the main control computing device through the second virtual terminal, and the window where the webRTC technology client application is located is shared with the main control computing device through the webRTC technology.
[0045] It should be noted that, in the specific embodiment, the present invention only takes the Linux operating system as an example to specifically illustrate the remote control method 200. However, it should be understood that the remote control method 200 of the present invention is not limited to the specific type of operating system that executes the method, and those skilled in the art can understand that the method can also be implemented on other types of operating systems, such as the Windows operating system, without the need for creative work. Any type of operating system that can implement the remote control method 200 through the method of the present invention is within the protection scope of the present invention.
[0046] The remote control method 200 provided in this embodiment has the following advantages:
[0047] 1. During remote assistance, the user of the controlled computing device can operate and use the computer at the same time; and the graphic images operated by the user of the controlled computing device will not be presented to the remote assistant, thereby better protecting the privacy of the user of the controlled computing device.
[0048] 2. When performing remote assistance, the windows and screens generated by the operations of the user on the master computing device side are presented to the user on the controlled computing device side, but this will not affect the operating interface of the user on the controlled computing device side. In this way, the user on the controlled computing device side and the user on the master computing device side can operate at the same time, and the operations performed by the remote user can be presented to the user on the controlled computing device side, so that the user on the controlled computing device side can monitor and observe the remote operations while performing the operations, thereby improving the security of remote assistance.
[0049] 3. When performing remote assistance, the operations of the mouse and keyboard input devices by the user of the main computing device and the operations of the mouse and keyboard input devices by the user of the controlled computing device are isolated; they do not affect each other, so that the user of the controlled computing device and the user of the main computing device can operate the input devices at the same time, improving the user experience of the user of the controlled computing device.
[0050] 4. While solving the above technical problems, the “first scene” of the problem occurring to the user of the controlled computing device can be provided to the remote assistant, which can
[0051] (1) Enable remote assistants to more accurately judge problems and increase the possibility of solving them
[0052] (2) It prevents the user of the controlled computing device from spending time on reproducing or describing the problem, thus shortening the time to solve the problem; it greatly improves the user experience of the remote assistant and the user of the controlled computing device.
[0053] In addition, when the second virtual terminal monitors the input of a control instruction, it is necessary to determine whether the control instruction comes from the main control computing device or the input device connected to the controlled computing device. Based on this, in some embodiments, when the second virtual terminal monitors the first control instruction, the first control instruction is forwarded to the first virtual terminal so that the first virtual terminal responds to the first control instruction, wherein the first control instruction comes from the main control computing device. In another embodiment, when the second virtual terminal monitors the second control instruction, the second virtual terminal responds to the second control instruction, wherein the second control instruction comes from the input device connected to the controlled computing device. In other words, when the control instruction comes from the main control computing device, it is necessary to forward the control instruction to the first virtual terminal, and the first virtual terminal responds to the control instruction. When the control instruction comes from the input device (for example, a mouse and keyboard, etc.) connected to the controlled computing device, the control instruction is directly responded to in the second virtual terminal. In this way, the control operation of the main control computing device and the controlled computing device is isolated from each other. Based on this, in some embodiments, for example, the judgment can be made by monitoring the connection interface between the controlled computing device and the input device. This application is not limited to this.
[0054] Figure 3 FIG. 3 is a schematic diagram of a remote control system 300 according to an embodiment of the present invention. The system 300 includes a main control computing device 310 and a controlled computing device 320. The main control computing device 310 can remotely connect with the controlled computing device 320 to access the controlled computing device 320. The controlled computing device 320 includes: Figure 4 A remote control device 400 is shown. Figure 4 A schematic diagram of the structure of a remote control device 400 according to an embodiment of the present invention is shown. The remote control device 400 includes a first operating module 410, a second operating module 420, a first connection module 430 and a second connection module 440, which are mutually coupled. Among them, the first operating module 410 is suitable for running a second window system in a second virtual terminal, and running a client application corresponding to a server application. The second operating module 420 is suitable for running a second window system in a second virtual terminal, and running a client application corresponding to a server application. The first connection module 430 is suitable for establishing a communication connection between a client application and a server application using a first protocol, so as to present a display interface presented in the first window system in the client application. The second connection module 440 is suitable for establishing a communication connection with a main control computing device using a second protocol, so as to present an interface corresponding to the display interface of the client application in the main control computing device.
[0055] In a specific example, if Figure 5 As shown, Figure 5Schematic diagram of an application scenario 500 according to an embodiment of the present invention is shown. When the master computing device 310 establishes a communication connection with the controlled computing device 320, the interface presented in the master computing device is the interface presented by the client application in the controlled computing device 320 ( Figure 5 In the example, the same background color represents that the content displayed on the display interface is the same), and the interface presented in the client application is the interface presented by the first window system associated with the first virtual terminal where the server application is located.
[0056] It should be noted that the working principle of the remote control device 400 provided in this embodiment is similar to that of the aforementioned remote control method 200. For relevant matters, please refer to the description of the aforementioned remote control method 200, which will not be repeated here.
[0057] The various techniques described herein may be implemented in combination with hardware or software, or a combination thereof. Thus, the method and apparatus of the present invention, or some aspects or parts of the method and apparatus of the present invention may be in the form of program codes (i.e., instructions) embedded in a tangible medium, such as a removable hard disk, a USB flash drive, a floppy disk, a CD-ROM, or any other machine-readable storage medium, wherein when the program is loaded into a machine such as a computer and executed by the machine, the machine becomes a device for practicing the present invention.
[0058] In the case where the program code is executed on a programmable computer, the computing device generally includes a processor, a storage medium readable by the processor (including volatile and non-volatile memory and / or storage elements), at least one input device, and at least one output device. The memory is configured to store the program code; the processor is configured to execute the method of the present invention according to the instructions in the program code stored in the memory.
[0059] By way of example and not limitation, readable media include readable storage media and communication media. Readable storage media stores information such as computer readable instructions, data structures, program modules or other data. Communication media generally embody computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transmission mechanism, and include any information transfer medium. Any combination of the above is also included within the scope of readable media.
[0060] In the description provided herein, algorithms and displays are not inherently related to any particular computer, virtual system or other device. Various general purpose systems can also be used together with the examples of the present invention. According to the above description, it is obvious that the structure required for constructing such systems. In addition, the present invention is not directed to any specific programming language either. It should be understood that various programming languages can be utilized to implement the content of the present invention described herein, and the above description of specific languages is for the purpose of disclosing the preferred embodiment of the present invention.
[0061] In the description provided herein, a large number of specific details are described. However, it is understood that embodiments of the present invention can be practiced without these specific details. In some instances, well-known methods, structures and techniques are not shown in detail so as not to obscure the understanding of this description.
[0062] Similarly, it should be understood that in order to streamline the present disclosure and aid in understanding one or more of the various inventive aspects, in the above description of exemplary embodiments of the present invention, the various features of the present invention are sometimes grouped together into a single embodiment, figure, or description thereof. However, this disclosed method should not be interpreted as reflecting the following intention: that the claimed invention requires more features than the features explicitly recited in each claim. More specifically, as reflected in the claims below, inventive aspects lie in less than all the features of the individual embodiments disclosed above. Therefore, the claims that follow the specific embodiment are hereby expressly incorporated into the specific embodiment, with each claim itself serving as a separate embodiment of the present invention.
[0063] Those skilled in the art will appreciate that the modules or units or components of the devices in the examples disclosed herein may be arranged in the devices described in the embodiment, or alternatively may be located in one or more devices different from the devices in the examples. The modules in the foregoing examples may be combined into one module or may be divided into multiple submodules.
[0064] Those skilled in the art will appreciate that the modules in the devices in the embodiments may be adaptively changed and arranged in one or more devices different from the embodiments. The modules or units or components in the embodiments may be combined into one module or unit or component, and in addition they may be divided into a plurality of submodules or subunits or subcomponents. Except that at least some of such features and / or processes or units are mutually exclusive, all features disclosed in this specification (including the accompanying claims, abstracts and drawings) and all processes or units of any method or device disclosed in this manner may be combined in any combination. Unless otherwise expressly stated, each feature disclosed in this specification (including the accompanying claims, abstracts and drawings) may be replaced by an alternative feature providing the same, equivalent or similar purpose.
[0065] In addition, those skilled in the art will appreciate that, although some embodiments described herein include certain features included in other embodiments but not other features, the combination of features of different embodiments is meant to be within the scope of the present invention and form different embodiments. For example, in the claims below, any one of the claimed embodiments may be used in any combination.
[0066] In addition, some of the embodiments are described herein as methods or combinations of method elements that can be implemented by a processor of a computer system or by other devices that perform the functions. Therefore, a processor with necessary instructions for implementing the method or method elements forms a device for implementing the method or method elements. In addition, the elements described herein of the device embodiments are examples of devices for implementing the functions performed by the elements for the purpose of implementing the invention.
[0067] As used herein, unless otherwise specified, the use of ordinal numbers "first," "second," "third," etc. to describe common objects merely indicates that different instances of similar objects are involved, and is not intended to imply that the objects so described must have a given order in time, space, order, or in any other manner.
[0068] Although the present invention has been described according to a limited number of embodiments, it will be apparent to those skilled in the art, with the benefit of the above description, that other embodiments may be envisioned within the scope of the invention thus described. In addition, it should be noted that the language used in this specification is selected primarily for readability and teaching purposes, rather than for explaining or defining the subject matter of the present invention. Therefore, many modifications and variations will be apparent to those skilled in the art without departing from the scope and spirit of the appended claims. The disclosure of the present invention is illustrative and not restrictive with respect to the scope of the present invention, and the scope of the present invention is defined by the appended claims.
Claims
1. A remote control method, executed in a controlled computing device, wherein: At least one virtual terminal resides in the controlled computing device, and the method comprises: Running a server application in a first virtual terminal, wherein the first virtual terminal is associated with a first window system presenting a current display interface; Running a second window system on a second virtual terminal, and running a client application corresponding to the server application; Establishing a communication connection between the client application and the server application using a first protocol so as to present a display interface presented in the first window system in the client application; Establishing a communication connection with a master computing device using a second protocol so as to present an interface corresponding to a display interface of the client application in the master computing device; The method further comprises the steps of: When the second virtual terminal monitors a first control instruction, forwarding the first control instruction to the first virtual terminal so that the first virtual terminal responds to the first control instruction, wherein the first control instruction comes from the main control computing device; When the second virtual terminal monitors the second control instruction, the second virtual terminal responds to the second control instruction, wherein the second control instruction comes from an input device connected to the controlled computing device.
2. The method of claim 1, wherein: The step of establishing a communication connection between the client application and the server application by using the first protocol comprises: Obtaining the listening port parameters corresponding to the server application and the IP address of the controlled computing device; Based on the IP address and port parameters, a communication connection is established between the client application and the server application.
3. The method of claim 1, wherein: The second protocol is the webRTC protocol.
4. The method of claim 1, wherein: The server application and / or the client application is a remote control application.
5. A remote control device, resident in a controlled computing device, comprising: A first running module, adapted to run a server application in a first virtual terminal, wherein the first virtual terminal is associated with a first window system presenting a current display interface; The second running module is adapted to run a second window system in a second virtual terminal and to run a client application corresponding to the server application. A first connection module, adapted to establish a communication connection between the client application and the server application using a first protocol, so as to present a display interface presented in the first window system in the client application; a second connection module, adapted to establish a communication connection with a master control computing device using a second protocol, so as to present an interface corresponding to a display interface of the client application in the master control computing device; The remote control device is further adapted to forward the first control instruction to the first virtual terminal when the second virtual terminal monitors the first control instruction, so that the first virtual terminal responds to the first control instruction, and to respond to the second control instruction at the second virtual terminal when the second virtual terminal monitors the second control instruction, wherein the first control instruction comes from the master computing device, and the second control instruction comes from an input device connected to the controlled computing device.
6. A remote control system, comprising: Main control computing device; and A controlled computing device, comprising the remote control device as claimed in claim 5; Wherein, the master computing device is communicatively connected with the controlled computing device.
7. A computing device comprising: at least one processor; and A memory storing program instructions, wherein the program instructions are configured to be executed by the at least one processor, and the program instructions include instructions for executing the method according to any one of claims 1 to 4.
8. A readable storage medium storing program instructions, when the program instructions are read and executed by a computing device, the computing device executes the method according to any one of claims 1 to 4.
Citation Information
Patent Citations
Remote control system and method and computing device
CN112416505A
Computer equipment, virtualization acceleration equipment, remote control method and storage medium
CN112764872A
Virtualization system with a remote proxy
US20100162235A1
