CN112783597A - Remote desktop implementation method and related equipment - Google Patents

Remote desktop implementation method and related equipment Download PDF

Info

Publication number
CN112783597A
CN112783597A CN202110150098.9A CN202110150098A CN112783597A CN 112783597 A CN112783597 A CN 112783597A CN 202110150098 A CN202110150098 A CN 202110150098A CN 112783597 A CN112783597 A CN 112783597A
Authority
CN
China
Prior art keywords
remote desktop
terminal
protocol
cross
data transmission
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
CN202110150098.9A
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.)
Kingdee Deeking Cloud Computing Co ltd
Original Assignee
Kingdee Deeking Cloud Computing 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 Kingdee Deeking Cloud Computing Co ltd filed Critical Kingdee Deeking Cloud Computing Co ltd
Priority to CN202110150098.9A priority Critical patent/CN112783597A/en
Publication of CN112783597A publication Critical patent/CN112783597A/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

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The embodiment of the application discloses a remote desktop implementation method, which is applied to a controller in the remote desktop control process and comprises the following steps: establishing a remote desktop data transmission connection with a second terminal based on an improved remote desktop protocol, wherein the improved remote desktop protocol is a remote desktop protocol processed based on a cross-platform compiling tool; receiving data to be displayed, which is sent by the second terminal based on the remote desktop data transmission connection; and displaying the data to be displayed based on a cross-platform display tool. The remote desktop connection mode described in the mode can be executed under any operating system, so that the remote desktop connection software developed based on the mode can be suitable for different operating systems, the development efficiency of remote desktop application programs is improved, and the feasibility of remote desktop connection is improved.

Description

Remote desktop implementation method and related equipment
Technical Field
The embodiment of the application relates to the field of communication, in particular to a remote desktop implementation method and related equipment.
Background
The remote desktop function is a function which is convenient for a user to call another terminal based on a certain terminal, after a certain terminal starts a remote desktop connection function, the user can control the computer at the other terminal through a network, and the user can carry out real-time operation on the terminal through the remote desktop function to call a file or a program of the terminal so as to meet the requirement that the user can use the terminal equipment which is not at hand at any time and any place, and improve the flexibility of the terminal use mode.
An existing remote desktop connection protocol is applicable to a scenario in which a remote desktop connection is established between a terminal installed with a windows operating system and another terminal installed with the windows operating system, and generally, a terminal installed with the windows operating system is generally a computer device.
However, with the progress of the society, a user wants to have a stronger and stronger demand for controlling a computer device through a mobile device in a remote desktop manner, and a remote desktop application applied to an Android operating system and a remote desktop application applied to an iOS operating system are developed, however, the remote desktop applications under different operating systems need to be developed differently according to differences of the operating systems, which causes certain inconvenience.
Disclosure of Invention
The embodiment of the application provides a remote desktop implementation method, which is used in an application program development process for implementing a remote desktop function, so that devices using different operating systems can implement the remote desktop function based on the method, the applicability of the remote desktop function is improved, and the development difficulty of remote desktop application programs for different operating systems is reduced.
A first aspect of an embodiment of the present application provides a method for implementing a remote desktop, which is applied to a first terminal, and includes:
establishing a remote desktop data transmission connection with a second terminal based on an improved remote desktop protocol, wherein the improved remote desktop protocol is a remote desktop protocol processed based on a cross-platform compiling tool;
receiving data to be displayed, which is sent by the second terminal based on the remote desktop data transmission connection;
and displaying the data to be displayed based on a cross-platform display tool.
Based on the method for implementing a remote desktop provided in the first aspect of the embodiment of the present application, optionally, before establishing a remote desktop data transmission connection with the second terminal based on the improved remote desktop protocol, the method further includes:
and sending a remote desktop connection establishment request to the second terminal, or receiving a remote desktop connection establishment request initiated by the second terminal.
Based on the method for implementing a remote desktop provided in the first aspect of the embodiment of the present application, optionally, the improved remote desktop protocol is obtained based on the following processes:
judging whether each service in the original remote desktop protocol depends on the windows system environment or not;
if the service depends on the windows system environment, replacing the service by a third-party component capable of realizing the function of the service to obtain a primarily processed remote desktop protocol;
and processing the primarily processed remote desktop protocol by using a cross-platform compiling tool to obtain an improved remote desktop protocol.
Based on the remote desktop implementation method provided in the first aspect of the embodiment of the present application, optionally, the cross-platform compiling tool is a Cmake tool, and the cross-platform display tool is a Flutter cross-platform display tool.
Based on the method for implementing the remote desktop provided in the first aspect of the embodiment of the present application, optionally, the operating system of the first and second terminals is a windows system, and the operating system of the first terminal is any one of Mac, windows, Android, and iOS.
A second aspect of the embodiments of the present application provides a method for implementing a remote desktop, which is applied to a second terminal, and includes:
establishing a remote desktop data transmission connection with a first terminal based on an improved remote desktop protocol, wherein the improved remote desktop protocol is a remote desktop protocol processed based on a cross-platform compiling tool;
and transmitting the data to be displayed to the first terminal based on a remote desktop data transmission connection, so that the data to be displayed is displayed by the first terminal based on a cross-platform display tool.
A third aspect of the embodiments of the present application provides a remote desktop implementation device, including:
the data transmission connection establishing unit is used for establishing remote desktop data transmission connection with the second terminal based on an improved remote desktop protocol, and the improved remote desktop protocol is a remote desktop protocol processed based on a cross-platform compiling tool;
the receiving unit is used for receiving the data to be displayed, which is sent by the second terminal based on the remote desktop data transmission connection;
and the display unit is used for displaying the data to be displayed based on the cross-platform display tool.
A fourth aspect of the embodiments of the present application provides a remote desktop implementation device, including:
the data transmission connection establishing unit is used for establishing remote desktop data transmission connection with the first terminal based on an improved remote desktop protocol, and the improved remote desktop protocol is a remote desktop protocol processed based on a cross-platform compiling tool;
the transmission unit is used for transmitting the data to be displayed to the first terminal based on a remote desktop data transmission connection, so that the first terminal displays the data to be displayed based on a cross-platform display tool.
A fifth aspect of embodiments of the present application provides a computer device, including:
a central processing unit, a memory;
the memory is a transient memory or a persistent memory;
the central processing unit is configured to communicate with the memory, and the instructions in the memory are executed on the central processing unit to perform the method according to any one of the first aspect or the second aspect of the embodiments of the present application.
A sixth aspect of embodiments of the present application provides a computer-readable storage medium, comprising instructions, which, when executed on a computer, cause the computer to perform the method according to any one of the first or second aspects of embodiments of the present application.
According to the technical scheme, the embodiment of the application has the following advantages: according to the scheme, an improved remote desktop connection protocol is used when the remote desktop connection is established, the improved remote desktop connection protocol is a remote desktop protocol processed by a cross-platform compiling tool, so that the improved remote desktop connection is suitable for any type of operating system, and the first terminal receives to-be-displayed data sent by the second terminal based on the remote desktop data transmission connection and then displays the to-be-displayed data by using the cross-platform displaying tool. And then, the remote desktop connection between the first terminal and the second terminal is realized, and the remote desktop connection mode described in the above mode can be executed under any operating system, so that the remote desktop connection software developed based on the above mode can be suitable for different operating systems, the development efficiency of the remote desktop application program is improved, and the feasibility of the remote desktop connection is improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, it is obvious that the drawings in the following description are only embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
FIG. 1 is a schematic flow chart diagram illustrating an embodiment of a remote desktop implementation method according to the present application;
FIG. 2 is another schematic flow chart diagram illustrating an embodiment of a remote desktop implementation method of the present application;
FIG. 3 is a flow diagram illustrating an embodiment of an improved remote desktop protocol acquisition process according to the present application;
FIG. 4 is a flowchart illustrating an embodiment of a remote desktop implementation method according to the present application;
FIG. 5 is a schematic structural diagram of an embodiment of a remote desktop implementation apparatus of the present application;
FIG. 6 is a schematic structural diagram of an embodiment of a remote desktop implementation apparatus of the present application;
fig. 7 is another schematic structural diagram of an embodiment of a remote desktop implementation device according to the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms "first," "second," "third," "fourth," and the like in the description and in the claims of the present application and in the drawings described above, if any, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that the embodiments described herein may be practiced otherwise than as specifically illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
It should be noted that the descriptions in this application referring to "first", "second", etc. are for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In addition, technical solutions between various embodiments may be combined with each other, but must be realized by a person skilled in the art, and when the technical solutions are contradictory or cannot be realized, such a combination should not be considered to exist, and is not within the protection scope of the present application.
The remote desktop function is a function which is provided by a windows-based operating system and is convenient for a user to carry out remote operation, when a computer starts a remote desktop connection function, the user can control the computer at the other end of a network, the computer can be operated in real time through the remote desktop function, software is installed on the computer, a program is operated, and all the operations are as if the operations are directly carried out on the computer. The function is the maximum function of the remote desktop, and through the function, a user can safely control computers in homes at different places.
However, with the development of society, people gradually do not meet the requirement of using one computer to control another computer, so that Remote Desktop applications used on mobile devices have appeared, and all the Remote Desktop applications used on mobile devices are modified to different degrees based on RDP (Remote Desktop Protocol), so that the Remote Desktop applications are suitable for different operating systems, for example, for an Android operating system, java language is required to be used for development of the applications, rendering and display of data are performed through JNI interface based on C language RDP codes modified according to the Android device, and finally, data display under the Android operating system and control of the Remote device through behaviors such as touch clicking can be achieved. Similarly, for the mobile device of the iOS operating system, although the data display can be completed without using an interface, the remote desktop application program suitable for the iOS operating system still needs to be developed by using the swift language, the development speed of the remote desktop application program is greatly reduced by using different languages for different operating systems, and meanwhile, when there is a demand change, different developers are required to respectively maintain clients under different application programs, so that the development cost, the labor cost and the maintenance cost are increased, and certain inconvenience is caused.
In order to solve the foregoing problems, an embodiment of the present application provides a remote desktop implementation method, which is used in an application program development process for implementing a remote desktop function, so that devices using different operating systems can implement the remote desktop function based on the method, thereby improving applicability of the remote desktop function, and reducing development difficulty of remote desktop applications for different operating systems, and referring to fig. 1 specifically, an embodiment of the remote desktop implementation method includes: step 101-step 103.
101. And establishing a remote desktop data transmission connection with the second terminal based on the improved remote desktop protocol.
The first terminal establishes remote desktop data transmission connection with the second terminal based on an improved remote desktop protocol, wherein the improved remote desktop protocol is a remote desktop protocol processed based on a cross-platform compiling tool. In this embodiment, a first terminal side is used for explanation, the first terminal is a control party in a remote desktop function, the second terminal is a controlled party in the remote desktop function, and a user can control the second terminal through the remote desktop function at the first terminal, where an operating system of the first terminal may be an operating system such as Android, iOS, Mac, or windows, and an operating system of the second terminal is limited to a windows operating system.
A Remote Desktop Protocol (RDP) Protocol is a data transmission Protocol that needs to be followed when a Remote Desktop connection is established between a windows operating system and the windows operating system, however, an original RDP Protocol is only applicable to the windows system and is not applicable to Android, iOS, and Mac operating systems, and therefore, the Remote Desktop Protocol needs to be improved, and a specific improvement mode is that a cross-platform compiling tool is used to process the Remote Desktop Protocol, so that the Remote Desktop Protocol can be applied to different operating system environments, the used cross-platform compiling tool can be a CMake tool, and the specific method is not limited herein according to actual situations.
It is to be understood that, in the process of improving the remote desktop protocol, some services that depend on the windows operating system environment may also be deleted or replaced with third-party components that do not depend on the windows operating system, which may be specific to the actual situation and is not limited herein.
The remote desktop data transmission connection is a data transmission channel established based on a remote desktop server, and after the remote desktop data transmission connection is established between the first terminal and the second terminal based on an improved RDP protocol, the first terminal can send an instruction and convert the instruction into an operation instruction for the computer equipment based on a corresponding conversion rule so as to complete an operation process for the second terminal. Specifically, the conversion rule may be preset in the client for implementing remote desktop control, and may be specific according to an actual situation, which is not limited herein.
102. And receiving to-be-displayed data sent by the second terminal based on the remote desktop data transmission connection.
And receiving to-be-displayed data sent by the second terminal based on the remote desktop data transmission connection. After a remote desktop data transmission connection is established between the first terminal and the second terminal, the second terminal can display data through a transmission band through the remote desktop data transmission connection, the data to be displayed is data currently displayed on a desktop of the second terminal, the data to be displayed obtained through transmission based on an original RDP protocol can be directly displayed in a windows operating system environment, the data to be displayed can not be directly displayed in an operating system environment used by the mobile terminal, therefore, the data to be displayed needs to be further processed, namely, the step 103 of displaying the data to be displayed by using a cross-platform displaying tool is executed.
103. And displaying the data to be displayed based on the cross-platform display tool.
The data to be displayed are displayed by using a cross-platform display tool, the specific cross-platform display tool can be a flutter, the flutter is a cross-platform frame for displaying graphics, and a set of graphic data can be rendered and displayed under a mobile device environment (an Android operating system or an iOS operating system) and a PC device environment (a windows operating system, a linux operating system or a Mac operating system) based on the flutter, so that the data transmitted by the remote desktop service can be smoothly displayed and acquired by a user under different operating systems, and the remote desktop service can be smoothly performed under different operating systems.
According to the technical scheme, the embodiment of the application has the following advantages: according to the scheme, an improved remote desktop connection protocol is used when the remote desktop connection is established, the improved remote desktop connection protocol is a remote desktop protocol processed by a cross-platform compiling tool, so that the improved remote desktop connection is suitable for any type of operating system, and the first terminal receives to-be-displayed data sent by the second terminal based on the remote desktop data transmission connection and then displays the to-be-displayed data by using the cross-platform displaying tool. And then, the remote desktop connection between the first terminal and the second terminal is realized, and the remote desktop connection mode described in the above mode can be executed under any operating system, so that the remote desktop connection software developed based on the above mode can be suitable for different operating systems, the development efficiency of the remote desktop application program is improved, and the feasibility of the remote desktop connection is improved.
Based on the embodiment described in fig. 1, a detailed embodiment of the present invention that can be selectively executed in the implementation process is provided below, and referring to fig. 2, an embodiment of the present application includes: step 201-step 204.
201. And sending a remote desktop connection establishment request to the second terminal.
The method comprises the steps that a first terminal sends a remote desktop connection establishment request to a second terminal, so that the second terminal establishes remote desktop connection with the first terminal based on the acquired connection establishment request, specifically, the first terminal can initiate the remote desktop connection request to send to the second terminal, the second terminal responds to the request and carries out subsequent steps, and it can be understood that the second terminal can also authenticate the first terminal before data transmission connection is established between the second terminal and the first terminal, whether the identity of the first terminal is safe or not is judged, if the authentication is passed, the subsequent steps are executed, and if the authentication is not passed, the remote desktop connection request with the first terminal is rejected. It should be noted that the remote desktop connection request may also be initiated by the second terminal and sent to the first terminal, which is not limited herein specifically according to the actual situation.
202. And establishing a remote desktop data transmission connection with the second terminal based on the improved remote desktop protocol.
And the first terminal establishes a remote desktop data transmission connection with the second terminal based on the improved remote desktop protocol. The modified remote desktop protocol may be obtained based on the following process, specifically referring to fig. 3, where the modified remote desktop protocol obtaining process includes: step 301 to step 303.
301. And judging whether each service in the original remote desktop protocol depends on the windows system environment.
And judging whether each service in the original remote desktop protocol depends on the windows system environment. The method comprises the steps that an original remote desktop protocol is the original remote desktop protocol used when the remote desktop connection is established between a computer and the computer, whether each service in the original remote desktop protocol depends on a windows system environment or not needs to be judged in the improvement process of the remote desktop protocol, if the service depends on the windows system environment, the service cannot be suitable for a mobile device environment, the service needs to be adjusted, the specific judgment process can be based on whether each service can be smoothly implemented in other operating system environments or not, if yes, the service does not depend on the windows system environment, and if not, the service depends on the windows system environment and needs to be further processed.
302. And replacing the service by using a third-party component capable of realizing the function of the service to obtain the primarily processed remote desktop protocol.
For a service depending on the windows operating system, a third party component capable of implementing the function of the service is used to replace the service, such as a network request function, and the specific third party component used may refer to the prior art, which is not described herein in detail. And respectively judging and replacing each service in the remote desktop protocol so as to obtain the primarily processed remote desktop protocol. It can be understood that, there may be a function without a corresponding third-party component in the preliminary processing of the remote desktop protocol, and at this time, the corresponding component may be autonomously developed or abandoned according to the importance degree of the function, such as various security functions and system services under the windows system, which may be specific and may not be limited herein.
303. And processing the primarily processed remote desktop protocol by using a cross-platform compiling tool to obtain an improved remote desktop protocol.
And processing the primarily processed remote desktop protocol by using a cross-platform compiling tool, thereby obtaining an improved remote desktop protocol applicable to different platforms. A specific cross-platform compilation tool used may be a CMake (cross platform make, describing the installation compilation process for all platforms) tool. CMake is a cross-platform installation (compilation) tool that can describe the installation (compilation process) of all platforms in simple statements. The remote desktop protocol processed by the CMake tool can be compiled in different operating environments and can complete a data transmission function, and therefore the use requirements of users are met. It is understood that, the cross-platform compiling tool used in the actual implementation process of the present invention may also be other tools different from CMake, which may be specific according to the actual situation, and is not limited herein.
It will be appreciated that the modified remote desktop protocol may be included in a client for implementing remote desktop functionality, the client not only can comprise a remote desktop protocol for representing data transmission rules, but also can comprise other functions of registering, logging in and authenticating a user, and carrying out screenshot and zooming on a displayed picture after a remote desktop connection is established, the client can be developed and obtained based on C language or C + + language, when the improved remote desktop protocol is processed by using a cross-platform compiling tool, the whole client can be processed, the original client project file is compiled in a cross way, and then respectively obtaining clients suitable for the Android environment and the iOS environment, and correspondingly adjusting the clients based on the CPU version (such as armv7, arm64, arm64-v8a or armeabi-v7a) of the first terminal equipment so as to ensure the realization of the remote desktop function.
After the remote desktop data transmission is established based on the improved remote desktop protocol, the first terminal can transmit an instruction through the remote desktop data transmission connection so as to complete the control of the second terminal, specifically, the first terminal can send the instruction and convert the instruction into an operation instruction for the computer equipment based on a conversion rule built in the client, so as to complete the operation process of the second terminal, and specifically, the operation process can be determined according to actual conditions, and is not limited here.
203. And receiving to-be-displayed data sent by the second terminal based on the remote desktop data transmission connection.
Receiving data to be displayed sent by the second terminal based on the remote desktop data transmission connection, where this step is similar to the implementation of step 102 in the embodiment corresponding to fig. 1, and details are not described here.
204. And displaying the data to be displayed based on the cross-platform display tool.
And displaying the data to be displayed based on the cross-platform display tool. The cross-platform display tool used in the method can be a flute cross-platform display tool so as to complete the display process of the remote desktop under different platforms. It is understood that the cross-platform presentation tool may also be other tools different from Flutter, and is not limited herein.
According to the technical scheme, the embodiment of the application has the following advantages: according to the scheme, an improved remote desktop connection protocol is used when the remote desktop connection is established, the improved remote desktop connection protocol is a remote desktop protocol processed by a cross-platform compiling tool, so that the improved remote desktop connection is suitable for any type of operating system, and the first terminal receives to-be-displayed data sent by the second terminal based on the remote desktop data transmission connection and then displays the to-be-displayed data by using the cross-platform displaying tool. And then, the remote desktop connection between the first terminal and the second terminal is realized, and the remote desktop connection mode described in the above mode can be executed under any operating system, so that the remote desktop connection software developed based on the above mode can be suitable for different operating systems, the development efficiency of the remote desktop application program is improved, and the feasibility of the remote desktop connection is improved.
With reference to fig. 4, an embodiment of a remote desktop implementation method according to the present application includes: step 401 to step 402.
401. And establishing a remote desktop data transmission connection with the first terminal based on the improved remote desktop protocol.
And establishing a remote desktop data transmission connection with the first terminal based on the improved remote desktop protocol. The process of establishing the remote desktop data transmission connection may refer to step 101 in the embodiment corresponding to fig. 1, and is not described here in detail.
402. And transmitting the data to be displayed to the first terminal based on the remote desktop data transmission connection.
And the second terminal transmits the data to be displayed to the first terminal based on the remote desktop data transmission connection, so that the first terminal displays the data to be displayed based on a cross-platform display tool. And then, the remote desktop function is realized, the second terminal can perform corresponding operation based on the operation instruction transmitted by the first terminal and transmit the interface currently displayed by the second terminal to the first terminal as the data to be displayed, so that a user operating the first terminal can obtain the currently displayed interface of the second terminal.
According to the technical scheme, the embodiment of the application has the following advantages: according to the scheme, an improved remote desktop connection protocol is used when the remote desktop connection is established, the improved remote desktop connection protocol is a remote desktop protocol processed by a cross-platform compiling tool, so that the improved remote desktop connection is suitable for any type of operating system, and the first terminal receives to-be-displayed data sent by the second terminal based on the remote desktop data transmission connection and then displays the to-be-displayed data by using the cross-platform displaying tool. And then, the remote desktop connection between the first terminal and the second terminal is realized, and the remote desktop connection mode described in the above mode can be executed under any operating system, so that the remote desktop connection software developed based on the above mode can be suitable for different operating systems, the development efficiency of the remote desktop application program is improved, and the feasibility of the remote desktop connection is improved.
The above describes the remote desktop implementation method in the application embodiment, and the following describes the remote desktop implementation device in the embodiment of the present invention. Referring to fig. 5, an embodiment of a remote desktop implementation apparatus according to the present application includes:
a data transmission connection establishing unit 501, configured to establish a remote desktop data transmission connection with a second terminal based on an improved remote desktop protocol, where the improved remote desktop protocol is a remote desktop protocol processed based on a cross-platform compiling tool;
a receiving unit 502, configured to receive data to be displayed, which is sent by the second terminal based on a remote desktop data transmission connection;
the display unit 503 is configured to display the data to be displayed based on a cross-platform display tool.
In this embodiment, the process executed by each unit in the remote desktop implementation device is similar to the method process described in the embodiment corresponding to fig. 1, and is not described herein again.
Referring to fig. 6, another embodiment of a remote desktop implementation apparatus according to the present application includes:
a remote desktop data transmission connection establishing unit 601, which establishes a remote desktop data transmission connection with the first terminal based on an improved remote desktop protocol, where the improved remote desktop protocol is a remote desktop protocol processed based on a cross-platform compiling tool;
the transmission unit 602 is configured to transmit, to the first terminal, data to be displayed, which is transmitted to the first terminal based on a remote desktop data transmission connection, so that the first terminal displays the data to be displayed based on a cross-platform display tool.
In this embodiment, the process executed by each unit in the remote desktop implementation device is similar to the method process described in the embodiment corresponding to fig. 4, and is not described herein again.
Fig. 7 is a schematic structural diagram of a remote desktop implementation device according to an embodiment of the present disclosure, where the server 700 may include one or more Central Processing Units (CPUs) 701 and a memory 705, where the memory 705 stores one or more application programs or data.
In this embodiment, the specific functional module division in the central processing unit 701 may be similar to the functional module division manner of each unit described in the foregoing fig. 5, and details are not repeated here.
The memory 705 may be volatile storage or persistent storage, among others. The program stored in the memory 705 may include one or more modules, each of which may include a sequence of instructions operating on a server. Still further, central processor 701 may be configured to communicate with memory 705 and to perform a series of instruction operations in memory 705 on server 700.
The server 700 may also include one or more power supplies 702, one or more wired or wireless network interfaces 703, one or more input-output interfaces 704, and/or one or more operating systems.
The central processing unit 701 may perform the operations performed by the remote desktop in the embodiment shown in fig. 1, which are not described herein again.
The present invention also provides a computer readable storage medium for implementing a remote desktop function, on which a computer program is stored, which, when being executed by a processor, the processor may be adapted to perform a remote desktop implementation method as described in fig. 1.
It will be appreciated that the integrated units, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a corresponding one of the computer readable storage media or integrated as a computer program product for performing the above-described method. Based on such understanding, all or part of the flow of the method according to the above embodiments may be implemented by a computer program, which may be stored in a computer-readable storage medium and used by a processor to implement the steps of the above embodiments of the method. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like. It should be noted that the computer readable medium may contain content that is subject to appropriate increase or decrease as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media does not include electrical carrier signals and telecommunications signals as is required by legislation and patent practice.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (10)

1. A remote desktop implementation method is applied to a first terminal and comprises the following steps:
establishing a remote desktop data transmission connection with a second terminal based on an improved remote desktop protocol, wherein the improved remote desktop protocol is a remote desktop protocol processed based on a cross-platform compiling tool;
receiving data to be displayed, which is sent by the second terminal based on the remote desktop data transmission connection;
and displaying the data to be displayed based on a cross-platform display tool.
2. The remote desktop implementation method of claim 1, wherein before establishing the remote desktop data transmission connection with the second terminal based on the modified remote desktop protocol, the method further comprises:
and sending a remote desktop connection establishment request to the second terminal, or receiving a remote desktop connection establishment request initiated by the second terminal.
3. The remote desktop implementation method of claim 1, wherein the modified remote desktop protocol is obtained based on the following process:
judging whether each service in the original remote desktop protocol depends on a windows operating system or not;
if the service depends on a windows operating system, replacing the service by a third-party component capable of realizing the function of the service to obtain a primarily processed remote desktop protocol;
and processing the primarily processed remote desktop protocol by using a cross-platform compiling tool to obtain an improved remote desktop protocol.
4. The remote desktop implementation method of claim 1, wherein the cross-platform compilation tool is a Cmake tool, and the cross-platform presentation tool is a Flutter cross-platform presentation tool.
5. The remote desktop implementation method of claim 1, wherein the operating system of the first and second terminals is a windows operating system, and the operating system of the first terminal is any one of a Mac operating system, a windows operating system, an Android operating system, or an iOS operating system.
6. A remote desktop implementation method is applied to a second terminal and comprises the following steps:
establishing a remote desktop data transmission connection with a first terminal based on an improved remote desktop protocol, wherein the improved remote desktop protocol is a remote desktop protocol processed based on a cross-platform compiling tool;
and transmitting the data to be displayed to the first terminal based on a remote desktop data transmission connection, so that the data to be displayed is displayed by the first terminal based on a cross-platform display tool.
7. A remote desktop implementation device, comprising:
the data transmission connection establishing unit is used for establishing remote desktop data transmission connection with the second terminal based on an improved remote desktop protocol, and the improved remote desktop protocol is a remote desktop protocol processed based on a cross-platform compiling tool;
the receiving unit is used for receiving the data to be displayed, which is sent by the second terminal based on the remote desktop data transmission connection;
and the display unit is used for displaying the data to be displayed based on the cross-platform display tool.
8. A remote desktop implementation device, comprising:
the data transmission connection establishing unit is used for establishing remote desktop data transmission connection with the first terminal based on an improved remote desktop protocol, and the improved remote desktop protocol is a remote desktop protocol processed based on a cross-platform compiling tool;
the transmission unit is used for transmitting the data to be displayed to the first terminal based on a remote desktop data transmission connection, so that the first terminal displays the data to be displayed based on a cross-platform display tool.
9. A computer device, comprising:
a central processing unit, a memory;
the memory is a transient memory or a persistent memory;
the central processor is configured to communicate with the memory, the instructions in the memory being executable on the central processor to perform the method of any of claims 1-6.
10. A computer-readable storage medium comprising instructions that, when executed on a computer, cause the computer to perform the method of any of claims 1-6.
CN202110150098.9A 2021-02-03 2021-02-03 Remote desktop implementation method and related equipment Pending CN112783597A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110150098.9A CN112783597A (en) 2021-02-03 2021-02-03 Remote desktop implementation method and related equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110150098.9A CN112783597A (en) 2021-02-03 2021-02-03 Remote desktop implementation method and related equipment

Publications (1)

Publication Number Publication Date
CN112783597A true CN112783597A (en) 2021-05-11

Family

ID=75760724

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110150098.9A Pending CN112783597A (en) 2021-02-03 2021-02-03 Remote desktop implementation method and related equipment

Country Status (1)

Country Link
CN (1) CN112783597A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114124433A (en) * 2021-09-26 2022-03-01 多益网络有限公司 Control method, device, equipment and storage medium based on remote desktop gateway
CN117251129A (en) * 2023-11-17 2023-12-19 德卡云创科技(西安)有限公司 Cross-platform same-screen method based on transfer compiling

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103677824A (en) * 2013-12-06 2014-03-26 无锡易视腾科技有限公司 OTT terminal solution based on customized browser
CN107124450A (en) * 2017-04-18 2017-09-01 恒泰艾普(北京)云技术有限公司 A kind of remote desktop based on HTML5 accesses system and remote desktop access method
CN108011951A (en) * 2017-11-30 2018-05-08 北京奇艺世纪科技有限公司 Remote assistance method, device, system and electronic equipment
CN110601969A (en) * 2019-09-18 2019-12-20 神州云端(深圳)科技有限公司 Universal remote desktop gateway implementation
US20200371822A1 (en) * 2017-11-24 2020-11-26 Wallix Method and device for displaying, on a local terminal, an application executed on a remote server by means of a remote office protocol
CN112306718A (en) * 2020-11-18 2021-02-02 山东云海国创云计算装备产业创新中心有限公司 Communication method, system and related device between local equipment and heterogeneous equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103677824A (en) * 2013-12-06 2014-03-26 无锡易视腾科技有限公司 OTT terminal solution based on customized browser
CN107124450A (en) * 2017-04-18 2017-09-01 恒泰艾普(北京)云技术有限公司 A kind of remote desktop based on HTML5 accesses system and remote desktop access method
US20200371822A1 (en) * 2017-11-24 2020-11-26 Wallix Method and device for displaying, on a local terminal, an application executed on a remote server by means of a remote office protocol
CN108011951A (en) * 2017-11-30 2018-05-08 北京奇艺世纪科技有限公司 Remote assistance method, device, system and electronic equipment
CN110601969A (en) * 2019-09-18 2019-12-20 神州云端(深圳)科技有限公司 Universal remote desktop gateway implementation
CN112306718A (en) * 2020-11-18 2021-02-02 山东云海国创云计算装备产业创新中心有限公司 Communication method, system and related device between local equipment and heterogeneous equipment

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114124433A (en) * 2021-09-26 2022-03-01 多益网络有限公司 Control method, device, equipment and storage medium based on remote desktop gateway
CN114124433B (en) * 2021-09-26 2023-09-26 多益网络有限公司 Remote desktop gateway-based control method, device, equipment and storage medium
CN117251129A (en) * 2023-11-17 2023-12-19 德卡云创科技(西安)有限公司 Cross-platform same-screen method based on transfer compiling
CN117251129B (en) * 2023-11-17 2024-03-01 德卡云创科技(西安)有限公司 Cross-platform same-screen method based on transfer compiling

Similar Documents

Publication Publication Date Title
CN112783597A (en) Remote desktop implementation method and related equipment
CN113329373A (en) Vehicle machine interconnection method and device
CN111625371A (en) Text transmission method, device, PC (personal computer) terminal, mobile terminal and system
CN113316124A (en) Vehicle machine interconnection method and device
CN113360116A (en) Method, device and equipment for controlling terminal and storage medium
CN113489805A (en) Docking method, device, equipment and storage medium of cloud desktop system
CN110275787B (en) Online platform data transmission method, device, medium and electronic equipment
CN111786939A (en) Method, device and system for testing management platform of Internet of things
CN112131162A (en) Data transmission method, system, device and medium based on USB equipment
CN106570045B (en) Data operation control method and system and user terminal
CN111629020A (en) Remote input method, device, PC (personal computer) terminal, android device and system
CN108737337B (en) Equipment processing method, device, server and system
CN115731319A (en) Graph drawing method, device, equipment and storage medium
CN113407234B (en) Cross-platform and cross-browser operation and maintenance access method, system and storage medium
CN110795111B (en) Remote automatic upgrading method for communication equipment and management terminal
CN109450887B (en) Data transmission method, device and system
CN109656535B (en) Voice skill off-line development method based on browser
CN111193717A (en) FTP black and white list control method and device and electronic equipment
CN111031145A (en) Remote assistance method and system based on intelligent terminal
CN112699326A (en) Webpage rendering control method and device
LU100541B1 (en) An intelligent mobile phone open cross-platform system based on the cloud computing
CN111953793B (en) Application distribution method, device, terminal and storage medium
CN116232739A (en) Data multi-terminal sharing method, device, equipment and medium
CN117591406A (en) Application program testing method and system
CN116028114A (en) Software operation method, system, equipment and computer readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination