A method, system, apparatus and device for remote desktop connection
By converting the interface information of the remote client into vector information and drawing the corresponding interface on the local client, the problems of high network resource consumption and image distortion in remote desktop connections are solved, and more efficient remote operation is achieved.
Patent Information
- Application Number
- CN202211591854.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-12
- Publication Date
- 2026-11-24
- Estimated Expiration
- 2042-12-12
AI Technical Summary
Existing remote desktop connection technologies consume a lot of network resources due to image compression and transmission, which can easily lead to operation lag and image distortion, affecting the connection effect.
By converting the interface information of the remote client into vector information and drawing the corresponding interface on the local client, the amount of data transmission is reduced, and vectorization technology is used for remote desktop connection.
It reduces data transmission volume, lowers interface distortion, and improves the efficiency and smoothness of remote operation.
Smart Images

Figure CN115878246B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of data processing technology, and in particular to a method, system, apparatus and device for remote desktop connection. Background Technology
[0002] With the rapid development of network technology, when users need to operate a non-local terminal (hereinafter referred to as a remote terminal), such as a computer, they can connect their local terminal to the remote terminal. The user can then remotely control the remote terminal by operating their local terminal, thus establishing a remote desktop connection between the local and remote terminals. For example, after establishing a remote desktop connection between two computers, the desktop of the remote computer will be displayed on the local computer's desktop, and the user can perform various operations on the remote computer from their local computer.
[0003] Currently, remote desktop connections primarily employ graphical remote desktop connections based on image compression and transmission. This involves taking a screenshot of the desktop of the terminal to be operated, transmitting the screenshot to the local terminal, and then decompressing the image to display the content on the local terminal's desktop. However, in practice, this approach suffers from drawbacks due to the significant network resource consumption required for image transmission, which can lead to lag or noticeable image distortion, thus affecting the effectiveness of the remote desktop connection. Summary of the Invention
[0004] This application provides a method, system, apparatus, and device for remote desktop connection. By converting the interface information of the remote client into vector information and then transmitting the vector information, the desktop of the remote terminal, including the remote client, is displayed on the local terminal's desktop, thereby improving the efficiency of remote operation of the terminal.
[0005] In a first aspect, this application provides a method for remote desktop connection, the method comprising:
[0006] The remote client obtains the program interface information of the remote client, the program interface information including static information, the static information including at least one of windows, buttons, text, icons or pictures;
[0007] The remote client performs vectorization on the static information to obtain the interface vector information;
[0008] The remote client transmits interface vector information to the local client;
[0009] The local client draws its program interface based on the interface vector information, and the local client's program interface is consistent with the remote client's program interface.
[0010] Optionally, the program interface information may also include dynamic information, which is used to reflect changes in the program interface of the remote client.
[0011] Optionally, the method further includes:
[0012] The remote client converts dynamic information into dynamic interface information, which is a custom format information describing changes in the program interface of the remote client.
[0013] The remote client transmits dynamic interface information to the local client;
[0014] The local client draws the program interface based on the interface vector information, including:
[0015] The local client draws the program interface based on the interface vector information and dynamic interface information.
[0016] Optionally, the method further includes:
[0017] The local client responds to user input on the local client's program interface and obtains input information from the local client.
[0018] The local client converts input operation information into input information, which is a custom format information describing the input operation of the local client;
[0019] The local client sends input information to the remote client;
[0020] The remote client updates its program interface based on the input information.
[0021] Optionally, the remote client obtains the program interface information of the remote client, including:
[0022] If it is determined that a program using a vector interface library exists on the remote client, then the remote client obtains the program interface information of the remote client based on the vector interface library. Both the local client and the remote client maintain the vector interface library.
[0023] Optionally, the method further includes:
[0024] If it is determined that no program using the vector interface library exists on the remote client, then the remote client obtains a screenshot of the program interface of the remote client. Both the local client and the remote client maintain the vector interface library.
[0025] The screenshot is vectorized to obtain the interface vector information.
[0026] Secondly, this application provides a remote desktop connection system, which includes: a remote client and a local client;
[0027] The remote client is used to perform the operations executed by the remote client in the method provided in the first aspect above.
[0028] The local client is used to perform the operations executed by the local client in the method provided in the first aspect above.
[0029] Thirdly, embodiments of this application provide a remote desktop connection apparatus for use on a remote client, the apparatus comprising:
[0030] The first acquisition unit is used to acquire program interface information of the remote client. The program interface information includes static information, which includes at least one of windows, buttons, text, icons, or pictures.
[0031] The first processing unit is used to convert static information into vector information to obtain interface vector information;
[0032] The first transmission unit is used to transmit interface vector information to the local client so that the local client can draw its program interface based on the interface vector information. The program interface of the local client is consistent with the program interface of the remote client.
[0033] Optionally, the program interface information also includes dynamic information, and the device further includes:
[0034] The second processing unit is used to convert dynamic information into dynamic interface information, wherein the dynamic interface information is a custom format information describing changes in the program interface of the remote client.
[0035] The second transmission unit is used to transmit dynamic interface information to the local client, so that the local client can draw the program interface of the local client based on the interface vector information and the dynamic interface information.
[0036] Optionally, the device further includes:
[0037] The receiving unit is used to receive input information sent by the local client;
[0038] The update unit is used to update the program interface of the remote client based on the input information.
[0039] Optionally, the first acquisition unit is specifically used for:
[0040] If it is determined that a program uses a vector interface library, then the program interface information of the remote client is obtained based on the vector interface library.
[0041] Optionally, the device further includes:
[0042] The second acquisition unit is used to acquire a screenshot of the program interface of the remote client if it is determined that no program using the vector interface library exists.
[0043] The third processing unit is used to perform screenshot vectorization processing to obtain interface vector information.
[0044] Fourthly, embodiments of this application provide a remote desktop connection device applied to a local client, the device comprising:
[0045] The first receiving unit is used to receive interface vector information transmitted by the remote client;
[0046] The first processing unit is used to draw the program interface of the local client based on the interface vector information. The program interface of the local client is consistent with the program interface of the remote client.
[0047] Optionally, the device further includes:
[0048] The second receiving unit is used to receive dynamic interface information transmitted by the remote client;
[0049] The second processing unit is used to draw the program interface of the local client based on the interface vector information and dynamic interface information.
[0050] Optionally, the device further includes:
[0051] The acquisition unit is used to acquire input operation information of the local client in response to the user's input operation on the program interface of the local client;
[0052] The third processing unit is used to convert input operation information into input information, wherein the input information is custom format information describing the input operation of the local client;
[0053] The sending unit is used to send input information to a remote client.
[0054] Fifthly, this application provides an electronic device, the device including a memory and a processor:
[0055] Memory is used to store computer programs;
[0056] The processor is used to execute the method provided in the first aspect above according to the computer program.
[0057] Sixthly, this application also provides a computer-readable storage medium for storing a computer program for performing the method provided in the first aspect above.
[0058] Therefore, this application has the following beneficial effects:
[0059] This application provides a method, system, apparatus, and device for remote desktop connection. In this method, the remote client obtains the program interface information of the remote client, converts the static program interface information into interface vector information, and then transmits the interface vector information to the local client. The local client then draws the program interface based on the interface vector information, thereby completing the connection between the remote client and the local client. In this process, the transmitted information is vector information, which reduces the data transmission volume by about one order of magnitude compared to graphical remote desktop connection, and also reduces the possibility of interface distortion, thereby improving the efficiency of the remote control terminal. Attached Figure Description
[0060] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments recorded in this application. For those skilled in the art, other drawings can be obtained based on these drawings.
[0061] Figure 1 This is a flowchart illustrating a method for remote desktop connection according to an embodiment of this application;
[0062] Figure 2 This is a flowchart illustrating one embodiment of a remote desktop connection method according to this application.
[0063] Figure 3 This is a schematic diagram of the structure of a remote desktop connection system 300 according to an embodiment of this application;
[0064] Figure 4 This is a schematic diagram of the structure of a remote desktop connection device 400 according to an embodiment of this application;
[0065] Figure 5 This is a schematic diagram of the structure of another remote desktop connection device 500 in the embodiments of this application;
[0066] Figure 6 This is a schematic diagram of the structure of an electronic device 600 in an embodiment of this application. Detailed Implementation
[0067] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0068] In the embodiments of this application, the "first" in names such as "first acquisition unit" and "first processing unit" is only used for name identification and does not represent the first in order. This rule also applies to "second," "third," etc.
[0069] Currently, remote desktop connections primarily employ graphical remote desktop connections based on image compression and transmission. Typically, the remote client's desktop is divided into a grid, and the image of each grid cell is compressed and transmitted separately to the local client. The local client then decompresses and restores the image of each cell, and finally stitches the images of all the cells together to form a complete virtual desktop. However, the remote client transmits images to the local client, which consumes significant network resources. Therefore, after the connection is established between the remote and local clients, the local client is prone to experiencing operational lag or noticeable display distortion, thus affecting the effectiveness of the remote desktop connection.
[0070] In this embodiment, program interface information is obtained through a vector interface library in the remote client. Static information in the program interface information is converted into interface vector information, which is then transmitted to the local client. The vector interface library in the local client draws the program interface of the local client based on the interface vector information, ensuring that the program interface of the local client is consistent with that of the remote client. Specifically, this method may include: obtaining program interface information from the vector interface library in the remote client, converting static information in the program interface information into interface vector information, converting dynamic information in the program interface information into dynamic interface information, transmitting the interface vector information and dynamic interface information to the local client, and having the local client draw the program interface based on the interface vector information and dynamic interface information. Therefore, the method provided in this application transmits vector information during remote desktop connection, reducing data transmission volume and interface distortion compared to graphical remote desktop connection methods, thereby improving the efficiency of the remote control terminal.
[0071] Furthermore, embodiments of this application may also include: a local client responding to a user's input operation on its program interface, acquiring input operation information, converting the input operation information into input information, sending the input information to a remote client, and the remote client updating its program interface based on the input information. In this way, the user can operate the remote client's program desktop through input operations on the local client, achieving simple and convenient remote control of the remote client.
[0072] To facilitate understanding of the specific implementation of the remote desktop connection method provided in this application embodiment, the following description will be provided in conjunction with the accompanying drawings.
[0073] It should be noted that the subject implementing this remote desktop connection method can be the remote desktop connection system provided in the embodiments of this application, or it can be a remote desktop connection device. The remote desktop connection device can be carried in an electronic device or a functional module of an electronic device. The electronic device in the embodiments of this application can be any device capable of implementing the remote desktop connection method in the embodiments of this application, such as an Internet of Things (IoT) device.
[0074] It should be noted that in the embodiments of this application, remote client and local client are relative concepts. A certain client can be either a remote client or a local client in different scenarios or at different times. The remote and local in remote client and local client in the embodiments of this application are determined according to the user's dimension. For example, the client on the terminal device actually operated by the user is recorded as the local client, and the client on the remote terminal device that the user wants to connect to through the local client is recorded as the remote client.
[0075] Figure 1 This is a flowchart illustrating a method for remote desktop connection provided in an embodiment of this application. This method can be applied to a system for remote desktop connection, such as... Figure 3 The system 300 shown illustrates remote desktop connectivity. The system may include a remote client and a local client, wherein the remote client may be hosted on a remote desktop connectivity device, such as... Figure 4 The remote desktop connection device 400 shown can host a local client on the remote desktop connection device, such as... Figure 5 The remote desktop connection device 500 shown is also described. The remote desktop connection device can also be integrated into an electronic device, for example, it can be integrated into... Figure 6 In the electronic device 600 shown.
[0076] like Figure 1 As shown, the method includes the following steps:
[0077] S101: The remote client obtains the program interface information of the remote client. The program interface information includes static information, which includes at least one of windows, buttons, text, icons, or pictures.
[0078] In order for the local client to display and operate the desktop of the remote client, the remote client first needs to obtain the program interface information of the remote client. The remote client then performs vectorization conversion on the static information in the program interface information to obtain interface vector information, and then transmits the interface vector information to the local client. The local client draws the program interface of the local client according to the interface vector information. At this time, the local program interface is consistent with the program interface of the remote client. Therefore, in this embodiment of the application, obtaining the program interface information of the remote client through S101 provides a prerequisite for obtaining interface vector information.
[0079] As an example, S101 may include: if it is determined that the remote client has a program that uses a vector interface library, then the remote client obtains the program interface information of the remote client according to the vector interface library.
[0080] As an example, S101 may include: if it is determined that the remote client does not have a program using the vector interface library, then the remote client obtains a screenshot of the remote client's program interface, and the screenshot serves as the remote client's program interface information. When the remote client first obtains the remote client's program interface information in this way, the vector interface library will update the corresponding program. When the remote client is used as a remote client to establish a remote desktop connection again, it is assumed that the remote client has a program using the vector interface library. Therefore, in S101, the remote client's program interface information can be directly obtained from the vector interface library.
[0081] The program interface information in S101 may also include dynamic information, which is used to reflect changes in the program interface of the remote client. The dynamic information may include information such as the creation of the program interface window, the movement of the program interface window, and changes in the properties of controls in the program interface.
[0082] Both the local and remote clients maintain a consistent vector interface library to ensure that the same desktop is displayed after a remote desktop connection is established between the local and remote clients.
[0083] S102: The remote client performs vectorization conversion on the static information to obtain interface vector information.
[0084] As an example, S102 may include: if it is determined that a program using a vector interface library exists on the remote client, then the remote client vectorizes the static information according to the vector interface library to obtain interface vector information.
[0085] As another example, S102 may include: if the remote client uses a screenshot of the remote client's program interface as the remote client's program interface information, then the screenshot is vectorized to obtain interface vector information.
[0086] Among them, the interface vector information in S102 is information in Extensible Markup Language (xml) format.
[0087] In addition, for cases where the program interface information includes dynamic information in addition to static information, the method may further include: the remote client converting the dynamic information in the program interface information into dynamic interface information, wherein the dynamic interface information is a custom format information describing the changes in the program interface of the remote client, and the dynamic interface information is non-vector information, which may be information in a custom JavaScript Object Notation (JSON) format.
[0088] S103: The remote client transmits interface vector information to the local client.
[0089] As an example, if the program interface information also includes dynamic information, the method may also include: the remote client transmitting the dynamic interface information corresponding to the dynamic information to the local client.
[0090] It should be noted that the method of information exchange between the remote client and the local client, as well as the format of the information exchanged, are not specifically limited in the embodiments of this application.
[0091] S104: The local client draws its program interface based on the interface vector information, and the program interface of the local client is consistent with the program interface of the remote client.
[0092] If the remote interface information only includes static information, then S104 may include: the local client drawing the local client's program interface based on the interface vector information.
[0093] If the remote interface information includes both static and dynamic information, then S104 may include: the local client drawing the local client's program interface based on the interface vector information and the dynamic interface information.
[0094] As an example, S104 may further include: the local client responding to a user's input operation on its program interface, wherein the input operation is performed on the local client's desktop displaying the remote client's program interface, and the input reference may be an operation triggered by the user through an input device (such as a mouse, keyboard, etc.) connected to the local client; the local client obtaining input operation information, wherein the input operation information is information describing the local client's input operation and obtained by the local client directly in response to the input operation; the local client converting the input operation information into input information, wherein the input information is custom-formatted information describing the local client's input operation, and the custom format may be a custom JSON format; the local client sending the input information to the remote client; and the remote client updating its program interface based on the input information, wherein the updated remote client's program interface may be the program interface displayed after the local client performs the input operation.
[0095] As can be seen, the method in this embodiment of the application vectorizes the program interface information through a remote client to obtain interface vector information, and then transmits the interface vector information to a local client. The local client draws the program interface based on the interface vector information, making the program interface of the local client consistent with the program interface of the remote client, thereby realizing remote desktop connection. The data transmission process uses vector information for transmission, which reduces the amount of data transmitted over the network compared to the graphical remote desktop connection method, and reduces the possibility of interface distortion, thereby improving the efficiency of the remote control terminal.
[0096] The vector interface library in this embodiment includes: a drawing module, used to acquire program interface information, to convert program interface information into interface vector information and dynamic interface information, and to draw the program interface based on the interface vector information and dynamic interface information.
[0097] The interface vectorization module is used to obtain screenshots of non-vectorized program interfaces and to perform screenshot vectorization processing to obtain the interface vector information of the screenshot.
[0098] The interface reconstruction module is used to display the non-vectorized program interface based on the interface vector information in the screenshot.
[0099] The input capture module is used to respond to user input operations, acquire input operation information, and convert the input operation information into input information in a custom format.
[0100] The input replay module is used to update the program interface based on the input information.
[0101] The transmission module is used to transmit data such as interface vector information, dynamic interface information, and input information between terminals.
[0102] To make the methods provided in the embodiments of this application clearer and easier to understand, the following is combined with... Figure 2 A specific example of this method will be used to illustrate the concept.
[0103] S201: The remote client determines whether there is a program that uses the vector interface library. If it is determined that the remote client has a program that uses the vector interface library, then S202 is executed. If it is determined that the remote client does not have a program that uses the vector interface library, then S203 is executed.
[0104] The vector interface library includes some pre-defined programs whose text uses vector fonts, and whose images and icons also use vector graphics. If a program on the remote client can use the vector interface library, the vectorized information of the program interface can be obtained directly through the drawing module in the library. If no program on the remote client can use the vector interface library, the program interface needs to be vectorized directly to obtain its vectorized information.
[0105] S202: The drawing module in the remote client obtains the program interface information of the remote client, then obtains interface vector information and dynamic interface information based on the program interface information, and then transmits the obtained interface vector information and dynamic interface information to the transmission module in the remote client.
[0106] The program interface information obtained by the drawing module includes static information and dynamic information. The static information includes at least one of windows, buttons, text, icons, or pictures, and the dynamic information is used to reflect the changes in the program interface of the remote client.
[0107] As an example, obtaining interface vector information and dynamic interface information based on the program interface information in S202 may include: the drawing module in the remote client performing vectorization conversion on the static information in the program interface information to obtain interface vector information; and the drawing module in the remote client converting the dynamic information in the program interface information into dynamic interface information.
[0108] In S202, the interface vector information can be in XML format, while the dynamic interface information in S202 is non-vector information and can be in a custom JSON format.
[0109] S203: The interface vectorization module in the remote client obtains a screenshot of the program interface of the remote client, then obtains interface vector information based on the screenshot, and then transmits the obtained interface vector information to the transmission module in the remote client.
[0110] As an example, obtaining interface vector information from a screenshot in S203 may include: vectorizing the screenshot using the remote client's interface vectorization to obtain interface vector information. The vectorization process may include: determining the program interface's borders by finding straight lines; dividing the program interface into different regions based on the borders; determining whether a region is text, icon, or another type; if a region is text, performing text recognition; if a region is an icon, converting the icon to the closest vector icon in the vector interface library; and if a region is another type, converting the region into a compressed image.
[0111] S204: The remote client's transmission module receives interface vector information and dynamic interface information transmitted by the drawing module, or receives interface vector information transmitted by the interface vectorization module, and obtains the transmission information.
[0112] S205: The remote client's transmission module sends the transmission information to the local client.
[0113] S206: The drawing module or interface reconstruction module of the local client draws the program interface of the local client according to the transmitted information.
[0114] As an example, S206 may include: the drawing module of the local client drawing the program interface of the local client based on the interface vector information and dynamic interface information generated by the drawing module of the remote client and transmitted by the remote client.
[0115] As an example, S206 may include: the local client's interface reconstruction module draws the local client's program interface based on the interface vector information generated by the remote client's interface vectorization module transmitted from the remote client.
[0116] After implementing S206, the program interface of the local client is consistent with that of the remote client, thus enabling remote desktop connection.
[0117] S207: The input capture module of the local client responds to the user's input operation, obtains the input information, and transmits the input information to the transmission module of the local client.
[0118] As an example, S207 may include: the local client's input capture module responding to the user's input operation, acquiring input operation information, converting the input operation information into input information, and transmitting the input information to the local client's transmission module. The input information is custom-formatted information describing the local client's input operation, and may be custom JSON-formatted information.
[0119] S208: The local client's transmission module sends the input information to the remote client.
[0120] S209: The input replay module of the remote client updates the program interface of the remote client based on the input information.
[0121] The input replay module of the remote client updates the program interface of the remote client based on the input information, and only updates the interface of the input information part.
[0122] This application provides a method for remote desktop connection. The method determines whether a program from the vector interface library exists on the remote client. If it exists, the drawing module in the vector interface library acquires the program interface information of the remote client, converts it into interface vector information and dynamic interface information, and transmits these to the transmission module of the vector interface library. If the program does not exist, the interface vectorization module of the vector interface library acquires a screenshot of the remote client's program interface, converts the screenshot into interface vector information, and transmits this information to the transmission module. The transmission module of the remote client sends the acquired transmission information to the local client. The drawing module or interface reconstruction module of the vector interface library in the local client draws the local client's program interface based on the transmission information. The input capture module of the vector interface library in the local client responds to user input, acquires input information, and transmits it to the local client's transmission module. The local client's transmission module then sends the acquired input information to the remote client. The input replay module of the vector interface library in the remote client updates the remote client's program interface based on the input information.
[0123] In the process of implementing remote desktop control, this application embodiment allows for the vectorization of program interfaces by using a vector interface library in the remote client, thus obtaining vector information. Similarly, for programs that do not use a vector interface library in the remote client, vector information is obtained by vectorizing program screenshots. This ensures that the data transmitted between the remote client and the local client is vector information, which reduces the amount of data transmitted over the network compared to graphical remote desktop connections, thereby improving the efficiency of the remote control terminal.
[0124] See Figure 3 This application provides a remote desktop connection system 300, which may include a remote client 301 and a local client 302.
[0125] Among them, remote client 301 is used to execute the above. Figure 1 or Figure 2 The provided methods include operations performed by the remote client.
[0126] Local client 302, used to execute the above Figure 1 or Figure 2 The operations performed by the local client in the provided methods.
[0127] See Figure 4 This application provides a remote desktop connection device 400, applied to a remote client, the device comprising:
[0128] The first acquisition unit 401 is used to acquire program interface information of the remote client. The program interface information includes static information, which includes at least one of windows, buttons, text, icons, or pictures.
[0129] The first processing unit 402 is used to convert static information into vector information to obtain interface vector information.
[0130] The first transmission unit 403 is used to transmit interface vector information to the local client so that the local client can draw its program interface based on the interface vector information, and the program interface of the local client is consistent with the program interface of the remote client.
[0131] Optionally, the program interface information also includes dynamic information, and the device further includes:
[0132] The second processing unit is used to convert dynamic information into dynamic interface information, wherein the dynamic interface information is a custom format information describing changes in the program interface of the remote client.
[0133] The second transmission unit is used to transmit dynamic interface information to the local client, so that the local client can draw the program interface of the local client based on the interface vector information and the dynamic interface information.
[0134] Optionally, the device 400 further includes:
[0135] The receiving unit is used to receive input information sent by the local client;
[0136] The update unit is used to update the program interface of the remote client based on the input information.
[0137] Optionally, the first acquisition unit 401 is specifically used for:
[0138] If it is determined that a program uses a vector interface library, then the program interface information of the remote client is obtained based on the vector interface library.
[0139] Optionally, the device 400 further includes:
[0140] The second acquisition unit is used to acquire a screenshot of the program interface of the remote client if it is determined that no program using the vector interface library exists.
[0141] The third processing unit is used to perform screenshot vectorization processing to obtain interface vector information.
[0142] See Figure 5 This application provides a remote desktop connection device 500, applied to a local client, the device comprising:
[0143] The first receiving unit 501 is used to receive interface vector information transmitted by the remote client;
[0144] The first processing unit 502 is used to draw the program interface of the local client based on the interface vector information, and the program interface of the local client is consistent with the program interface of the remote client.
[0145] Optionally, the device further includes:
[0146] The second receiving unit is used to receive dynamic interface information transmitted by the remote client;
[0147] The second processing unit is used to draw the program interface of the local client based on the interface vector information and dynamic interface information.
[0148] Optionally, the device 500 further includes:
[0149] The acquisition unit is used to acquire input operation information of the local client in response to the user's input operation on the program interface of the local client;
[0150] The third processing unit is used to convert input operation information into input information, wherein the input information is custom format information describing the input operation of the local client;
[0151] The sending unit is used to send input information to a remote client.
[0152] This application also provides an electronic device 600, such as... Figure 6 As shown, the device 600 includes a memory 601 and a processor 602:
[0153] Memory 601 is used to store computer programs;
[0154] Processor 602 is used to execute the above according to the computer program. Figure 1 or Figure 2 The methods provided.
[0155] In addition, this application also provides a computer-readable storage medium for storing a computer program, the computer program being executed. Figure 1 or Figure 2 The methods provided.
[0156] As can be seen from the above description of the embodiments, those skilled in the art can clearly understand that all or part of the steps in the methods of the above embodiments can be implemented by means of software plus a general-purpose hardware platform. Based on this understanding, the technical solution of this application can be embodied in the form of a software product. This computer software product can be stored in a storage medium, such as a read-only memory (ROM) / RAM, magnetic disk, optical disk, etc., including several instructions to cause a computer device (which may be a personal computer, a server, or a network communication device such as a router) to execute the methods described in various embodiments or some parts of the embodiments of this application.
[0157] The various embodiments in this specification are described in a progressive manner. Similar or identical parts between embodiments can be referred to mutually. Each embodiment focuses on its differences from other embodiments. In particular, the device embodiments are basically similar to the method embodiments, so the description is relatively simple; relevant parts can be referred to the descriptions in the method embodiments. The device embodiments described above are merely illustrative. Modules described as separate components may or may not be physically separate. Components shown as modules may or may not be physical modules; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the objectives of this embodiment according to actual needs. Those skilled in the art can understand and implement this without creative effort.
[0158] The above description is merely an exemplary implementation of this application and is not intended to limit the scope of protection of this application.
Claims
1. A method of remote desktop connection, characterized by, The method includes: The remote client obtains the program interface information of the remote client. The program interface information includes static information and dynamic information. The static information includes at least one of windows, buttons, text, icons, or images. The dynamic information is used to reflect the changes in the program interface of the remote client. The process of the remote client obtaining the program interface information includes: if it is determined that the remote client has a program that uses a vector interface library, then the remote client obtains the program interface information of the remote client according to the vector interface library. Both the local client and the remote client maintain the vector interface library. The remote client performs vectorization on the static information to obtain interface vector information; The remote client converts the dynamic information into dynamic interface information, which is a custom format information describing the changes in the program interface of the remote client. The remote client transmits the interface vector information and the dynamic interface information to the local client; The local client draws its program interface based on the interface vector information and the dynamic interface information, and the program interface of the local client is consistent with the program interface of the remote client. The method further includes: the local client responding to a user's input operation on the local client's program interface; the local client acquiring the input operation information of the local client; the local client converting the input operation information into input information, the input information being custom format information describing the input operation of the local client; the local client sending the input information to the remote client; and the remote client updating the program interface of the remote client based on the input information.
2. The method of claim 1, wherein, The method further includes: If it is determined that the remote client does not have a program that uses the vector interface library, then the remote client obtains a screenshot of the program interface of the remote client, and both the local client and the remote client maintain the vector interface library; The screenshot is vectorized to obtain the interface vector information.
3. A system for remote desktop connection, characterized by The system includes remote clients and local clients: The remote client is used to perform the operations performed by the remote client in the method according to any one of claims 1-2; The local client is used to perform the operations performed by the local client in the method described in any one of claims 1-2.
4. An apparatus for remote desktop connection, characterized by Applied to a remote client, the remote client being used to perform the operations performed by the remote client in the method of any one of claims 1-2, the apparatus comprising: The first acquisition unit is used to acquire the program interface information of the remote client. The program interface information includes static information and dynamic information. The static information includes at least one of windows, buttons, text, icons, or pictures. The dynamic information is used to reflect changes in the program interface of the remote client. Specifically, if it is determined that the remote client has a program that uses a vector interface library, then, the first acquisition unit is used to acquire the program interface information of the remote client according to the vector interface library. Both the local client and the remote client maintain the vector interface library. The first processing unit is used to perform vectorization conversion on the static information to obtain interface vector information; The second processing unit is used to convert the dynamic information into dynamic interface information, wherein the dynamic interface information is a custom format information describing the changes in the program interface of the remote client. The first transmission unit is used to transmit the interface vector information to the local client so that the local client can draw its program interface based on the interface vector information, and the program interface of the local client is consistent with the program interface of the remote client. The second transmission unit is used to transmit the dynamic interface information to the local client so that the local client can draw the program interface of the local client based on the interface vector information and the dynamic interface information. A receiving unit is configured to receive input information sent by the local client, wherein the input information is custom format information describing the input operation of the local client; An update unit is used to update the program interface of the remote client based on the input information; The local client is used to perform the operations performed by the local client in the method described in any one of claims 1-2.
5. An apparatus for remote desktop connection, the apparatus comprising: Applied to a local client, the local client being used to perform the operations performed by the local client in the method of any one of claims 1-2, the apparatus comprising: The first receiving unit is used to receive interface vector information transmitted by the remote client; The first processing unit is used to draw the program interface of the local client based on the interface vector information, wherein the program interface of the local client is consistent with the program interface of the remote client. The second receiving unit is used to receive dynamic interface information transmitted by the remote client, wherein the dynamic interface information is custom format information describing changes in the program interface of the remote client. The second processing unit is used to draw the program interface of the local client based on the interface vector information and the dynamic interface information. The acquisition unit is used to acquire the input operation information of the local client in response to the user's input operation on the program interface of the local client; The third processing unit is used to convert the input operation information into input information, wherein the input information is custom format information describing the input operation of the local client; The sending unit is used to send the input information to the remote client; The remote client is used to perform the operations performed by the remote client in the method described in any one of claims 1-2.
6. An electronic device, comprising: The device includes a memory and a processor, the processor being configured to execute a program stored in the memory, performing the method as described in any one of claims 1-2.
7. A computer-readable storage medium, characterized in that, The computer-readable storage medium is used to store a computer program for performing the method according to any one of claims 1-2.
Citation Information
Patent Citations
Method and apparatus for providing remote user interface service
CN102396180A
Quick interface interaction method and device for remote operation
CN108304239A
