CN112416505A - Remote control system, method and computing equipment - Google Patents

Remote control system, method and computing equipment Download PDF

Info

Publication number
CN112416505A
CN112416505A CN202110085040.0A CN202110085040A CN112416505A CN 112416505 A CN112416505 A CN 112416505A CN 202110085040 A CN202110085040 A CN 202110085040A CN 112416505 A CN112416505 A CN 112416505A
Authority
CN
China
Prior art keywords
sub
control
terminal
desktop
desktop window
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
Application number
CN202110085040.0A
Other languages
Chinese (zh)
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.)
Uniontech Software Technology Co Ltd
Original Assignee
Uniontech Software Technology 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 Uniontech Software Technology Co Ltd filed Critical Uniontech Software Technology Co Ltd
Priority to CN202110085040.0A priority Critical patent/CN112416505A/en
Publication of CN112416505A publication Critical patent/CN112416505A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • G06F9/452Remote windowing, e.g. X-Window System, desktop virtualisation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/547Remote procedure calls [RPC]; Web services

Abstract

The invention discloses a remote control system, a method and a computing device, wherein the system comprises: a master control terminal; and the controlled terminal comprises a control desktop on an operating system, is suitable for establishing communication connection with the main control terminal, creates a sub desktop window on the control desktop, is suitable for receiving control information sent by the main control terminal, and sends the control information to the sub desktop window so as to execute a control command on the sub desktop window based on the control information. The remote control system can realize the mutual isolation of the control operation of the main control terminal and the controlled terminal.

Description

Remote control system, method and computing equipment
Technical Field
The invention relates to the technical field of computers and networks, in particular to a remote control system, a remote control method and computing equipment.
Background
Currently, the Linux operating system is widely applied to various devices and products, such as servers, PCs, dedicated devices, and the like. For users using the Linux operating system, the demand scenarios of remote desktop office, remote desktop assistance, and remote operation and maintenance are common.
Common remote assistance technologies in the prior art include SSH, VNC, RDP, WebRTC, and the like. Products developed based on these technologies include TeamViewer, VNC, XRDP, sunflower, QQ remote assistance, Chrome/Firefox browser, etc. Although the remote desktop control function can be realized by using the product, the keyboard and mouse operations of the two terminals are all executed in the same desktop environment of the controlled terminal, so that the main control terminal and the controlled terminal can interfere with each other when operating simultaneously.
For this reason, a remote control system and a remote control method are required to solve the problems in the prior art.
Disclosure of Invention
To this end, the present invention provides a remote control system, a remote control method and a computing device to solve or at least alleviate the above existing problems.
According to an aspect of the present invention, there is provided a remote control system including: a master control terminal; and the controlled terminal comprises a control desktop on an operating system, is suitable for establishing communication connection with the main control terminal, creates a sub desktop window on the control desktop, is suitable for receiving control information sent by the main control terminal, and sends the control information to the sub desktop window so as to execute a control command on the sub desktop window based on the control information.
Optionally, in the remote control system according to the present invention, the controlled terminal is adapted to respond to a request of the main control terminal after creating the sub desktop window, and send information of the sub desktop window to the main control terminal; the main control terminal is suitable for generating and displaying a corresponding first sub desktop window based on the information drawing of the sub desktop window, and is suitable for sending control information in the first sub desktop window.
Optionally, in the remote control system according to the present invention, an operating system of the controlled terminal includes a service program; the master control terminal comprises an application program corresponding to the service program, and the application program is suitable for establishing remote connection with the service program so as to send control information to the controlled terminal.
Optionally, in the remote control system according to the present invention, the application is adapted to establish a remote connection with the service program based on an SSH protocol.
Optionally, in the remote control system according to the present invention, the controlled terminal is adapted to create a sub desktop window on the control desktop through Xephyr.
Optionally, in the remote control system according to the present invention, the operating system of the master control end and the controlled end is a Linux operating system.
According to an aspect of the present invention, there is provided a remote control method including a control desktop on an operating system of a computing device, the method including the steps of: responding to a request for establishing communication connection sent by a main control terminal, and establishing communication connection with the main control terminal; creating a child desktop window on the control desktop; and receiving control information sent by the main control terminal, and sending the control information to the sub desktop window so as to execute a corresponding control command on the sub desktop window based on the control information.
Optionally, in the remote control method according to the present invention, after the sub desktop window is established, the method further includes the steps of: and responding to a request for acquiring the information of the sub-desktop window by the main control terminal, sending the information of the sub-desktop window to the main control terminal so that the main control terminal can generate and display a corresponding first sub-desktop window based on the information drawing of the sub-desktop window, and sending control information in the first sub-desktop window.
According to an aspect of the invention, there is provided a computing device comprising: at least one processor; a memory storing program instructions configured to be executed by the at least one processor, the program instructions comprising instructions for performing the remote control method as described above.
According to an aspect of the present invention, there is provided a readable storage medium storing program instructions that, when read and executed by a computing device, cause the computing device to perform a remote control method as described above.
According to the technical scheme of the invention, after the remote communication connection is established between the main control end and the controlled end, the nested sub-desktop window is established on the original control desktop of the controlled terminal, so that the control information sent to the controlled terminal by a user at the main control terminal can be sent to the sub-desktop window through the original control desktop of the controlled terminal, and the control command of the main control terminal is executed at the sub-desktop window. Based on that the controlled terminal executes the control command of the main control terminal in the sub-desktop window, the user of the controlled terminal can perform control operation on the original control desktop in parallel without being interfered by the control operation of the main control terminal, thereby achieving the effect of isolating the control operation of the main control terminal and the controlled terminal from each other. And the controlled terminal can monitor the operation of the main control terminal in the sub desktop window.
The foregoing description is only an overview of the technical solutions of the present invention, and the embodiments of the present invention are described below in order to make the technical means of the present invention more clearly understood and to make the above and other objects, features, and advantages of the present invention more clearly understandable.
Drawings
To the accomplishment of the foregoing and related ends, certain illustrative aspects are described herein in connection with the following description and the annexed drawings, which are indicative of various ways in which the principles disclosed herein may be practiced, and all aspects and equivalents thereof are intended to be within the scope of the claimed subject matter. The above and other objects, features and advantages of the present disclosure will become more apparent from the following detailed description read in conjunction with the accompanying drawings. Throughout this disclosure, like reference numerals generally refer to like parts or elements.
FIG. 1 shows a schematic diagram of a remote control system 100 according to one embodiment of the invention;
FIG. 2 shows a schematic diagram of a computing device 200, according to one embodiment of the invention; and
FIG. 3 shows a flow diagram of a remote control method 300 according to one embodiment of the invention.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
Fig. 1 shows a schematic diagram of a remote control system 100 according to an embodiment of the invention.
As shown in fig. 1, the remote control system 100 includes a master terminal 110 and a controlled terminal 120, where the master terminal 110 and the controlled terminal 120 are arranged at different geographical locations, in other words, the controlled terminal 120 is a remote device having a certain distance with respect to the master terminal 110. The master terminal 110 may request to establish a remote communication connection with the controlled terminal 120, and after establishing the remote communication connection with the controlled terminal 120, the user of the master terminal 110 may remotely control the operating system of the controlled terminal 120 based on the control desktop.
Specifically, the master control terminal 110 and the controlled terminal 120 respectively include an operating system, and the operating system includes a corresponding control desktop. Here, the kinds of operating systems of the master terminal 110 and the controlled terminal 120 are the same. It should be understood that a control desktop is an interface provided by an operating system for an end user to interact with the operating system, and the control desktop can receive control information input by the user to communicate with the operating system. In order to distinguish the master terminal 110 from the controlled terminal 120, the control desktop of the master terminal 110 is named as a first control desktop 115, and the control desktop of the controlled terminal 120 is named as a second control desktop 125.
In an embodiment of the present invention, the operating systems of the master terminal 110 and the controlled terminal 120 may be implemented as Linux operating systems, but the present invention is not limited thereto.
According to an embodiment of the present invention, after the remote communication connection is established between the master terminal 110 and the controlled terminal 120, the controlled terminal 120 may create a sub-desktop window (hereinafter referred to as a second sub-desktop window 126) on a control desktop (a second control desktop 125) of the controlled terminal, and the second sub-desktop window 126 is nested in the control desktop 125 and may communicate with the control desktop. By creating the second child desktop window 126, the remote control command is executed at the second child desktop window 126.
In one embodiment, after the controlled terminal 120 creates the second sub-desktop window 126 on the second control desktop 125, the original control desktop 125 can jump from the original control desktop 125 to the newly created second sub-desktop window 126 as a "springboard machine" by starting the system desktop service on the sub-desktop window 126, so as to associate the second sub-desktop window 126 with the remote operation of the controlling terminal 110, and execute the remote control command on the second sub-desktop window 126.
According to an embodiment of the present invention, the master control terminal 110 may request the controlled terminal 120 to obtain information of the second sub desktop window 126 of the controlled terminal. The controlled terminal 120 sends the information of the second sub desktop window 126 to the master terminal 110 in response to the request of the master terminal 110. In this way, the master terminal 110 may generate a corresponding first sub desktop window 116 based on the information drawing of the second sub desktop window 126, and display the first sub desktop window 116 on the first control desktop 115 of the master terminal 110. Here, the first sub desktop window 116 is drawn by simulating the second sub desktop window 126 of the controlled terminal 120, and has the same content as the second sub desktop window 126 of the controlled terminal 120, so as to synchronously display the sub desktop window environment of the controlled terminal 120 on the first control desktop 115 of the master terminal 110.
It should be noted that the first sub desktop window 116 generated by the master terminal 110 is associated with the second sub desktop window 126 of the controlled terminal 120. Specifically, the user may perform a control operation and send control information, for example, perform a keyboard or mouse operation, in the first sub-desktop window 116 of the master terminal 110, and send the corresponding control information to the second sub-desktop window 126 of the controlled terminal 120 for execution, so as to control the operating system of the controlled terminal 120. That is, the master terminal 110 may control the operating system of the controlled terminal 120 based on the first sub desktop window 116. And, the main control terminal 110 may synchronously simulate and execute corresponding keyboard or mouse operations in the first sub-desktop window 116.
Further, the master terminal 110 may send control information to the controlled terminal 120 through the first sub-desktop window 116, so as to send the control information to the control desktop 125 of the controlled terminal 120, and send the control information to the second sub-desktop window 126 of the controlled terminal 120 via the control desktop 125, so as to execute a corresponding control command on the second sub-desktop window 126 of the controlled terminal 120. Thus, after the control information is sent by the main control terminal 110, the user executes the corresponding control command in the sub desktop window of the controlled terminal 120, and does not execute the control command in the original control desktop 125 of the controlled terminal 120. The user of the controlled terminal 120 can perform control operation on the original control desktop in parallel without being interfered by the main control terminal, so that the control operations of the user of the main control terminal and the controlled terminal are isolated from each other, and the control operation of the controlled terminal is not interfered by the main control terminal. Also, the controlled terminal 120 may monitor the operation of the master terminal based on the second sub desktop window 126.
The control information is, for example, control information input by a user through a keyboard or a mouse at the main control terminal 110, but is not limited thereto.
In one embodiment, the service 130 is included on the operating system of the controlled terminal 120. The operating system of the main control terminal 110 includes an application 113 corresponding to the service program 130. The application 113 of the master terminal 110 may establish a remote communication connection with the service 130 of the controlled terminal 120 in order to transmit control information to the controlled terminal 120.
In one embodiment, the application 113 of the controlling terminal 110 may establish a remote communication connection with the service 130 of the controlled terminal 120 based on the SSH protocol. In other words, the application 113 of the master terminal 110 may be implemented as an SSH application, and the service program 130 of the controlled terminal 120 may be implemented as an SSH service program 130, so that the master terminal 110 may remotely communicate with the controlled terminal 120 based on an SSH protocol. In this way, in response to a keyboard and mouse operation of the user in the first sub-desktop window 116 of the main control terminal 110, the main control terminal 110 sends corresponding control information to the service program 130 of the controlled terminal 120 through the application program 113, and then the service program 130 transmits the control information to the control desktop of the controlled terminal 120, and then the control desktop transmits the control information to the sub-desktop window, so as to implement execution of a control command corresponding to the control information in the second sub-desktop window 126 of the controlled terminal 120.
It should also be noted that the second control desktop 125 of the controlled terminal 120 is connected to the second sub-desktop window 126 based on SSH, so that the second control desktop 125 can forward the control information to the second sub-desktop window 126 after receiving the control information of the master terminal 110.
In an embodiment, the service program 130 of the controlled terminal 120 may be specifically implemented as an X Server, and the application program 113 of the master terminal 110 may be specifically implemented as an X Client. Accordingly, the application program X Client of the master terminal 110 may establish a remote communication connection with the servlet X Server of the controlled terminal 120 based on SSH-X. It should be understood that the controlled terminal 120 may perform the graphic DISPLAY based on the X Server, and the master control terminal 110 may remotely connect to the controlled terminal 120 based on the SSH-X by configuring a corresponding DISPLAY variable in the X Client to point to the X Server of the controlled terminal 120, and further may send the graphic DISPLAY request to the X Server of the controlled terminal 120, that is, the request sent by the master control terminal 110 to the controlled terminal 120 to obtain the information of the second sub-desktop window 126. In this way, the main control terminal 110 may obtain the graphic information of the second sub desktop window 126, so as to simulate and display the same graphic interface (i.e. the first sub desktop window 116 drawn by the main control terminal) as the second sub desktop window 126 on the main control terminal 110.
In one embodiment, the controlled terminal 120 creates a second sub-desktop window 126 on the control desktop 125 through Xephyr.
In an embodiment of the present invention, the operating system of the controlled terminal 120 is adapted to perform the remote control method. The remote control method 300 of the present invention will be described in detail below.
According to the remote control system 100 of the present invention, after the remote communication connection between the main control terminal and the controlled terminal is established, the nested sub-desktop window is established on the original control desktop of the controlled terminal, so that the control information sent from the main control terminal to the controlled terminal by the user can be sent to the sub-desktop window through the original control desktop of the controlled terminal, and the control command of the main control terminal is executed in the sub-desktop window. Based on that the controlled terminal executes the control command of the main control terminal in the sub-desktop window, the user of the controlled terminal can perform control operation on the original control desktop in parallel without being interfered by the control operation of the main control terminal, thereby achieving the effect of isolating the control operation of the main control terminal and the controlled terminal from each other. And the controlled terminal can monitor the operation of the main control terminal in the sub desktop window.
In one embodiment, the master terminal 110 and the controlled terminal 120 in the remote control system 100 of the present invention may be respectively implemented as a computing device 200. When the controlled terminal 120 is implemented as the computing device 200, the remote control method of the present invention is made executable in the computing device 200.
FIG. 2 shows a schematic diagram of a computing device 200, according to one embodiment of the invention.
As shown in FIG. 2, in a basic configuration 202, a computing device 200 typically includes a system memory 206 and one or more processors 204. A memory bus 208 may be used for communication between the processor 204 and the system memory 206.
Depending on the desired configuration, the processor 204 may be any type of processing, including but not limited to: a microprocessor (UP), a microcontroller (UC), a digital information processor (DSP), or any combination thereof. The processor 204 may include one or more levels of cache, such as a level one cache 210 and a level two cache 212, a processor core 214, and registers 216. Example processor cores 214 may include Arithmetic Logic Units (ALUs), Floating Point Units (FPUs), digital signal processing cores (DSP cores), or any combination thereof. The example memory controller 218 may be used with the processor 204, or in some implementations the memory controller 218 may be an internal part of the processor 204.
Depending on the desired configuration, system memory 206 may 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. System memory 206 may include an operating system 220, one or more applications 222, and program data 224. The application 222 is actually a plurality of program instructions that direct the processor 204 to perform corresponding operations. In some embodiments, application 222 may be arranged to cause processor 204 to operate with program data 224 on an operating system.
Computing device 200 also includes storage device 232, storage device 232 including removable storage 236 and non-removable storage 238.
Computing device 200 may also include a storage interface bus 234. The storage interface bus 234 enables communication from the storage devices 232 (e.g., removable storage 236 and non-removable storage 238) to the basic configuration 202 via the bus/interface controller 230. At least a portion of the operating system 220, applications 222, and data 224 may be stored on removable storage 236 and/or non-removable storage 238, and loaded into system memory 206 via storage interface bus 234 and executed by the one or more processors 204 when the computing device 200 is powered on or the applications 222 are to be executed.
Computing device 200 may also include an interface bus 240 that facilitates communication from various interface devices (e.g., output devices 242, peripheral interfaces 244, and communication devices 246) to the basic configuration 202 via the bus/interface controller 230. The example output device 242 includes a graphics processing unit 248 and an audio processing unit 250. They may be configured to facilitate communication with various external devices, such as a display or speakers, via one or more a/V ports 252. Example peripheral interfaces 244 may include a serial interface controller 254 and a parallel interface controller 256, which may be configured to facilitate communication with external devices such as input devices (e.g., keyboard, mouse, pen, voice input device, touch input device) or other peripherals (e.g., remote control machines, scanners, etc.) via one or more I/O ports 258. An example communication device 246 may include a network controller 260, which may be arranged to facilitate communications with one or more other computing devices 262 over a network communication link via one or more communication ports 264.
A network communication link may be one example of a communication medium. Communication media may typically be embodied by computer readable instructions, data structures, program modules, and may include any information delivery media, such as carrier waves or other transport mechanisms, in a modulated data signal. A "modulated data signal" may be a signal that has one or more of its data set or its changes made in a manner that encodes information in the signal. By way of non-limiting example, communication media may include wired media such as a wired network or private-wired network, and various wireless media such as acoustic, Radio Frequency (RF), microwave, Infrared (IR), or other wireless media. The term computer readable media as used herein may include both storage media and communication media.
In a computing device 200 according to the present invention, the operating system 220 includes thereon a plurality of program instructions for performing the remote control method 300, which may instruct the processor 204 to perform the remote control method 300 of the present invention such that the operating system of the computing device 200 performs the remote control method 300 of the present invention.
FIG. 3 shows a flow diagram of a remote control method 300 according to one embodiment of the invention. The method 300 is suitable for execution in an operating system of a controlled terminal 120, such as the aforementioned computing device 200. The operating system of the controlled terminal 120 includes a control desktop 125, and the control desktop can receive control information input by a user and communicate with the operating system.
In an embodiment of the present invention, the operating system of the controlled terminal 120 is, for example, a Linux operating system, that is, the Linux operating system is included in the controlled terminal 120. However, the present invention is not limited thereto.
As shown in fig. 3, the method begins at step S310.
In step S310, the controlled terminal 120 establishes a remote communication connection with the master terminal 110 in response to the request for establishing a remote communication connection transmitted by the master terminal 110.
Subsequently, in step S320, the controlled terminal 120 establishes the child desktop window 126 on the control desktop 125. Here, the child desktop window 126 is nested within the control desktop 125 and can communicate with the control desktop 125.
In one embodiment, after the controlled terminal 120 creates the sub desktop window 126 on the control desktop 125, the original control desktop 125 can be used as a "springboard machine" to jump from the original control desktop 125 to the newly created sub desktop window 126 by starting the system desktop service on the sub desktop window 126, so as to associate the sub desktop window 126 with the remote operation of the controlling terminal 110, and execute the remote control command on the sub desktop window 126.
Subsequently, the master control terminal 110 may request the controlled terminal 120 to acquire information of the child desktop window 126 of the controlled terminal 120. The controlled terminal 120 responds to the request of the main control terminal for acquiring the information of the sub desktop window, and sends the information of the sub desktop window 126 to the main control terminal 110, so that the main control terminal 110 generates a corresponding first sub desktop window 116 based on the information drawing of the sub desktop window 126, and displays the first sub desktop window 116 on the control desktop (the first control desktop 115) of the main control terminal 110. Here, the first sub desktop window 116 is drawn by simulating the sub desktop window 126 of the controlled terminal 120, and realizes a synchronous display of the sub desktop window environment of the controlled terminal 120 on the screen of the master terminal 110, in the same manner as the contents of the sub desktop window of the controlled terminal 120.
It should be noted that the first sub desktop window 116 generated by the master terminal 110 is associated with the sub desktop window (the second sub desktop window 126) of the controlled terminal 120. Specifically, the user may perform a control operation and send control information, for example, perform a keyboard or mouse operation, in the first sub-desktop window 116 of the master terminal 110, and send the corresponding control information to the second sub-desktop window 126 of the controlled terminal 120 for execution, so as to control the operating system of the controlled terminal 120. That is, the master terminal 110 may control the operating system of the controlled terminal 120 based on the first sub desktop window 116. And, the main control terminal 110 may synchronously simulate and execute corresponding keyboard or mouse operations in the first sub-desktop window.
In step S330, the control desktop of the controlled terminal 120 may receive the control information sent by the master terminal 110 in the first sub-desktop window 116 thereof, and send the control information to the sub-desktop window (the second sub-desktop window 126) of the controlled terminal 120, so that the sub-desktop window of the controlled terminal 120 executes a corresponding control command based on the control information.
Thus, after the control information is sent by the main control terminal 110, the user executes the corresponding control command in the sub desktop window of the controlled terminal 120, and does not execute the control command in the original control desktop of the controlled terminal 120. The user of the controlled terminal 120 can perform control operation on the original control desktop in parallel without being interfered by the main control terminal, so that the control operations of the user of the main control terminal and the controlled terminal are isolated from each other, and the control operation of the controlled terminal is not interfered by the main control terminal. And, the controlled terminal 120 may monitor the operation of the master terminal at the created sub desktop window.
The control information is, for example, control information input by a user through a keyboard or a mouse at the main control terminal 110, but is not limited thereto.
According to one embodiment, the service program 130 is included on the operating system of the controlled terminal 120. The application 113 corresponding to the service program 130 is included in the main control terminal 110. The application 113 of the master terminal 110 may establish a remote communication connection with the service 130 of the controlled terminal 120 in order to transmit control information to the controlled terminal 120.
In one embodiment, the application 113 of the controlling terminal 110 may establish a remote communication connection with the service 130 of the controlled terminal 120 based on the SSH protocol. In other words, the application 113 of the master terminal 110 may be implemented as an SSH application, and the service program 130 of the controlled terminal 120 may be implemented as an SSH service program 130, so that the master terminal 110 may remotely communicate with the controlled terminal 120 based on an SSH protocol. In this way, in response to a keyboard and mouse operation of the user at the first sub-desktop window 116 of the main control terminal 110, the main control terminal 110 sends corresponding control information to the service program 130 of the controlled terminal 120 through the application program 113, and then the service program 130 transmits the control information to the control desktop of the controlled terminal 120, and then the control desktop transmits the control information to the sub-desktop window, so as to implement execution of a control command corresponding to the control information at the sub-desktop window of the controlled terminal 120.
It should be further noted that the second control desktop 125 of the controlled terminal 120 is also connected to the second sub-desktop window 126 based on SSH, so that the second control desktop 125 can forward the control information to the second sub-desktop window 126 after receiving the control information of the master terminal 110.
In an embodiment, the service program 130 of the controlled terminal 120 may be specifically implemented as an X Server, and the application program 113 of the master terminal 110 may be specifically implemented as an X Client.
Accordingly, the application program X Client of the master terminal 110 may establish a remote communication connection with the servlet X Server of the controlled terminal 120 based on SSH-X. It should be understood that the controlled terminal 120 may perform a graphic DISPLAY based on the X Server, and the master terminal 110 may send a graphic DISPLAY request to the X Server of the controlled terminal 120, that is, a request sent by the master terminal 110 to the controlled terminal 120 to obtain information of the second sub-desktop window 126, after the remote connection to the controlled terminal 120 based on SSH-X is performed by setting a corresponding DISPLAY variable in the X Client. In this way, the main control terminal 110 may obtain the graphic information of the second sub desktop window 126, so as to simulate and display the same graphic interface (i.e. the first sub desktop window 116 drawn by the main control terminal) as the second sub desktop window 126 on the main control terminal 110.
In one embodiment, the controlled terminal 120 creates a second sub-desktop window 126 on the control desktop 125 through Xephyr.
According to the remote control method 300 of the present invention, after the remote communication connection between the main control terminal and the controlled terminal is established, the nested sub-desktop window is established on the original control desktop of the controlled terminal, so that the control information sent from the main control terminal to the controlled terminal by the user can be sent to the sub-desktop window through the original control desktop of the controlled terminal, and the control command of the main control terminal is executed in the sub-desktop window. Based on that the controlled terminal executes the control command of the main control terminal in the sub-desktop window, the user of the controlled terminal can perform control operation on the original control desktop in parallel without being interfered by the control operation of the main control terminal, thereby achieving the effect of isolating the control operation of the main control terminal and the controlled terminal from each other. And the controlled terminal can monitor the operation of the main control terminal in the sub desktop window.
The various techniques described herein may be implemented in connection with hardware or software or, alternatively, with a combination of both. Thus, the methods and apparatus of the present invention, or certain aspects or portions thereof, may take the form of program code (i.e., instructions) embodied in tangible media, such as removable hard drives, U.S. disks, floppy disks, CD-ROMs, or any other machine-readable storage medium, wherein, when the program is loaded into and executed by a machine, such as a computer, the machine becomes an apparatus for practicing the invention.
In the case of program code execution on programmable computers, the mobile terminal 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. Wherein the memory is configured to store program code; the processor is configured to execute the remote control method of the present invention according to instructions in the program code stored in the memory.
By way of example, and not limitation, readable media may comprise readable storage media and communication media. Readable storage media store information such as computer readable instructions, data structures, program modules or other data. Communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media. Combinations of any of the above are also included within the scope of readable media.
In the description provided herein, algorithms and displays are not inherently related to any particular computer, virtual system, or other apparatus. Various general purpose systems may also be used with examples of this invention. The required structure for constructing such a system will be apparent from the description above. Moreover, the present invention is not directed to any particular programming language. It is appreciated that a variety of programming languages may be used to implement the teachings of the present invention as described herein, and any descriptions of specific languages are provided above to disclose the best mode of the invention.
In the description provided herein, numerous specific details are set forth. It is understood, however, that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the invention, various features of the invention are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the disclosure and aiding in the understanding of one or more of the various inventive aspects. However, the disclosed method should not be interpreted as reflecting an intention that: that the invention as claimed requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the detailed description are hereby expressly incorporated into this detailed description, with each claim standing on its own as a separate embodiment of this invention.
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 a device as described in this embodiment or alternatively may be located in one or more devices different from the devices in this example. The modules in the foregoing examples may be combined into one module or may be further divided into multiple sub-modules.
Those skilled in the art will appreciate that the modules in the device in an embodiment may be adaptively changed and disposed in one or more devices different from the embodiment. The modules or units or components of the embodiments may be combined into one module or unit or component, and furthermore they may be divided into a plurality of sub-modules or sub-units or sub-components. All of the features disclosed in this specification (including any accompanying claims, abstract and drawings), and all of the processes or elements of any method or apparatus so disclosed, may be combined in any combination, except combinations where at least some of such features and/or processes or elements are mutually exclusive. Each feature disclosed in this specification (including any accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
Furthermore, those skilled in the art will appreciate that while some embodiments described herein include some features included in other embodiments, rather than other features, combinations of features of different embodiments are meant to be within the scope of the invention and form different embodiments. For example, in the following claims, any of the claimed embodiments may be used in any combination.
Furthermore, some of the described embodiments are described herein as a method or combination of method elements that can be performed by a processor of a computer system or by other means of performing the described functions. A processor having the necessary instructions for carrying out the method or method elements thus forms a means for carrying out the method or method elements. Further, the elements of the apparatus embodiments described herein are examples of the following apparatus: the apparatus is used to implement the functions performed by the elements for the purpose of carrying out the invention.
As used herein, unless otherwise specified the use of the ordinal adjectives "first", "second", "third", etc., to describe a common object, merely indicate that different instances of like objects are being referred to, and are not intended to imply that the objects so described must be in a given sequence, either temporally, spatially, in ranking, or in any other manner.
While the invention has been described with respect to a limited number of embodiments, those skilled in the art, having benefit of this description, will appreciate that other embodiments can be devised which do not depart from the scope of the invention as described herein. Furthermore, it should be noted that the language used in the specification has been principally selected for readability and instructional purposes, and may not have been selected to delineate or circumscribe the inventive subject matter. Accordingly, many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the appended claims. The present invention has been disclosed in an illustrative rather than a restrictive sense with respect to the scope of the invention, as defined in the appended claims.

Claims (10)

1. A remote control system, comprising:
a master control terminal; and
the controlled terminal comprises a control desktop on an operating system, is suitable for establishing communication connection with the main control terminal, creates a sub desktop window on the control desktop, is suitable for receiving control information sent by the main control terminal, and sends the control information to the sub desktop window so as to execute a control command on the sub desktop window based on the control information.
2. The system of claim 1, wherein,
the controlled terminal is suitable for responding to the request of the main control terminal after the sub desktop window is created, and sending the information of the sub desktop window to the main control terminal;
the main control terminal is suitable for generating and displaying a corresponding first sub desktop window based on the information drawing of the sub desktop window, and is suitable for sending control information in the first sub desktop window.
3. The system of claim 1, wherein,
the operating system of the controlled terminal comprises a service program;
the master control terminal comprises an application program corresponding to the service program, and the application program is suitable for establishing remote connection with the service program so as to send control information to the controlled terminal.
4. The system of claim 3, wherein,
the application is adapted to establish a remote connection with the service based on the SSH protocol.
5. The system of any one of claims 1-4, wherein the controlled terminal is adapted to create a child desktop window at the control desktop via Xephyr.
6. The system according to any one of claims 1-4, wherein the operating system of the master control end and the controlled end is a Linux operating system.
7. A remote control method executed in a computing device comprising a control desktop on an operating system of the computing device, wherein the method comprises the steps of:
responding to a request for establishing communication connection sent by a main control terminal, and establishing communication connection with the main control terminal;
creating a child desktop window on the control desktop; and
and receiving control information sent by the main control terminal, and sending the control information to a sub desktop window so as to execute a corresponding control command on the sub desktop window based on the control information.
8. The method of claim 7, wherein after establishing the child desktop window, further comprising the steps of:
and responding to a request for acquiring the information of the sub-desktop window by the main control terminal, sending the information of the sub-desktop window to the main control terminal so that the main control terminal can generate and display a corresponding first sub-desktop window based on the information drawing of the sub-desktop window, and sending control information in the first sub-desktop window.
9. A computing device, comprising:
at least one processor; and
a memory storing program instructions, wherein the program instructions are configured to be adapted to be executed by the at least one processor, the program instructions comprising instructions for performing the method of any of claims 7-8.
10. A readable storage medium storing program instructions that, when read and executed by a computing device, cause the computing device to perform the method of any of claims 7-8.
CN202110085040.0A 2021-01-22 2021-01-22 Remote control system, method and computing equipment Pending CN112416505A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110085040.0A CN112416505A (en) 2021-01-22 2021-01-22 Remote control system, method and computing equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110085040.0A CN112416505A (en) 2021-01-22 2021-01-22 Remote control system, method and computing equipment

Publications (1)

Publication Number Publication Date
CN112416505A true CN112416505A (en) 2021-02-26

Family

ID=74783194

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110085040.0A Pending CN112416505A (en) 2021-01-22 2021-01-22 Remote control system, method and computing equipment

Country Status (1)

Country Link
CN (1) CN112416505A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113076170A (en) * 2021-06-03 2021-07-06 统信软件技术有限公司 Remote assistance method, system, device, computing equipment and storage medium
CN113778593A (en) * 2021-08-24 2021-12-10 北京百度网讯科技有限公司 Cloud desktop control method and device, electronic equipment, storage medium and program product

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070076230A1 (en) * 2005-09-09 2007-04-05 Hon Hai Precision Industry Co., Ltd. Dual-desktop remote control system and method
CN101582020A (en) * 2008-05-14 2009-11-18 北京帮助在线信息技术有限公司 Equipment and method with duplex coordination and simplex coordination for on-line help
CN101582021A (en) * 2008-05-14 2009-11-18 北京帮助在线信息技术有限公司 Equipment and method with duplex operation for on-line help
US20140009386A1 (en) * 2012-07-03 2014-01-09 Sony Corporation Remote control method, remote control apparatus, and display apparatus
CN103685389A (en) * 2012-09-13 2014-03-26 卓望数码技术(深圳)有限公司 System and method for realizing user interface interaction through remotely controlling data terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070076230A1 (en) * 2005-09-09 2007-04-05 Hon Hai Precision Industry Co., Ltd. Dual-desktop remote control system and method
CN101582020A (en) * 2008-05-14 2009-11-18 北京帮助在线信息技术有限公司 Equipment and method with duplex coordination and simplex coordination for on-line help
CN101582021A (en) * 2008-05-14 2009-11-18 北京帮助在线信息技术有限公司 Equipment and method with duplex operation for on-line help
US20140009386A1 (en) * 2012-07-03 2014-01-09 Sony Corporation Remote control method, remote control apparatus, and display apparatus
CN103685389A (en) * 2012-09-13 2014-03-26 卓望数码技术(深圳)有限公司 System and method for realizing user interface interaction through remotely controlling data terminal

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113076170A (en) * 2021-06-03 2021-07-06 统信软件技术有限公司 Remote assistance method, system, device, computing equipment and storage medium
CN113076170B (en) * 2021-06-03 2021-09-17 统信软件技术有限公司 Remote assistance method, system, device, computing equipment and storage medium
CN113778593A (en) * 2021-08-24 2021-12-10 北京百度网讯科技有限公司 Cloud desktop control method and device, electronic equipment, storage medium and program product
CN113778593B (en) * 2021-08-24 2023-11-10 北京百度网讯科技有限公司 Cloud desktop control method and device, electronic equipment, storage medium and program product

Similar Documents

Publication Publication Date Title
US10732968B2 (en) Method, apparatus and system for generating augmented reality module and storage medium
CN103430123A (en) Methods and systems for conducting a remote desktop session via HTML that supports a 2D canvas and dynamic drawing
EP2649532B1 (en) Methods and systems for remote desktop session redrawing via http headers
CN103460670A (en) Methods and systems for a remote desktop session utilizing a http handler and a remote desktop client common interface
CN103582510A (en) Methods and systems for accessing and controlling a remote desktop of a remote machine in real time by a web browser at a client device via HTTP API utilizing a transcoding server
CN112416505A (en) Remote control system, method and computing equipment
US20140108940A1 (en) Method and system of remote communication over a network
CN111026439B (en) Application program compatibility method, device, equipment and computer storage medium
JP2018529166A (en) Screen control method, apparatus and storage medium between terminals
CN112764694A (en) Printing system, printing method and computing device
CN109829546B (en) Platform as-a-service cloud server and machine learning data processing method thereof
CN103092676A (en) Analog input output method, device and system of virtual machine cluster
CN114217900A (en) Remote control method, device and system, computing equipment and storage medium
CN111143017B (en) Cloud operation system interaction processing method, client and cloud operation system
CN114489552B (en) Remote display control system, remote control interface display method and computing equipment
EP2620876A1 (en) Method and apparatus for data processing, pci-e bus system and server
CN103746843A (en) Method and equipment for processing RPC (Remote Procedure Call Protocol) command
CN111629020A (en) Remote input method, device, PC (personal computer) terminal, android device and system
CN113885758B (en) Virtual screen generation method, computing device and storage medium
CN114491956A (en) Simulation model design system, method, electronic device, and storage medium
CN106954201B (en) Remote user support tool
CN109861930A (en) Connection method, device and the host of virtual switch and virtual machine
CN114095303B (en) Communication device, data transmission method and electronic device
WO2017096919A1 (en) Data return method, receiving method, return apparatus, and reception apparatus
CN117573109A (en) Application state management method, computing device and 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