CN115878246A - Method, system, device and equipment for connecting remote desktop - Google Patents
Method, system, device and equipment for connecting remote desktop Download PDFInfo
- Publication number
- CN115878246A CN115878246A CN202211591854.2A CN202211591854A CN115878246A CN 115878246 A CN115878246 A CN 115878246A CN 202211591854 A CN202211591854 A CN 202211591854A CN 115878246 A CN115878246 A CN 115878246A
- Authority
- CN
- China
- Prior art keywords
- information
- interface
- client
- remote
- remote client
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 63
- 230000005540 biological transmission Effects 0.000 claims abstract description 33
- 230000003068 static effect Effects 0.000 claims abstract description 30
- 238000006243 chemical reaction Methods 0.000 claims description 8
- 238000004590 computer program Methods 0.000 claims description 7
- 238000010586 diagram Methods 0.000 description 5
- 230000006835 compression Effects 0.000 description 2
- 238000007906 compression Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 206010047571 Visual impairment Diseases 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 230000006837 decompression Effects 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
Images
Landscapes
- User Interface Of Digital Computer (AREA)
Abstract
The method comprises the steps that a remote client acquires program interface information of the remote client, converts static program interface information in the program interface information into interface vector information, then transmits the interface vector information to a local client, and the local client draws a program interface according to the interface vector information, so that connection between the remote client and the local client is completed. The information transmitted in the process is vector information, and compared with a graphical remote desktop connection method, the data transmission amount is reduced, so that the efficiency of the remote control terminal is improved.
Description
Technical Field
The present application relates to the field of data processing technologies, and in particular, to a method, a system, an apparatus, and a device for remote desktop connection.
Background
With the rapid development of network technology, when a user needs to operate a non-local terminal (hereinafter referred to as a remote terminal), such as a computer, the user can remotely control the remote terminal by connecting a local terminal to the remote terminal and then operating the local terminal, i.e., a remote desktop connection between the local terminal and the remote terminal is established. For example, after the two computers establish a remote desktop connection, the desktop of the remote computer is displayed on the desktop of the local computer, and various operations can be performed on the remote computer on the local computer.
At present, the remote desktop connection mainly adopts graphical remote desktop connection based on image compression and transmission, that is, a desktop of a terminal needing to be operated is subjected to screenshot, the screenshot is transmitted to a local terminal, and the local terminal restores the content of the screenshot in a decompression mode and displays the content on the desktop of the local terminal. However, when the technical solution is actually used, a larger network resource is required to be occupied when the picture is transmitted, and the situation of operation jamming or obvious picture distortion is likely to occur, so that the effect of remote desktop connection is affected.
Disclosure of Invention
The application provides a method, a system, a device and equipment for connecting a remote desktop, which convert interface information of a remote client into vector information and then realize desktop display of the remote terminal including the remote client on a desktop of a local terminal by transmitting the vector information, thereby realizing the purpose of improving the efficiency of a remote operation terminal.
In a first aspect, the present application provides a method for remote desktop connection, the method comprising:
the method comprises the steps that a remote client side obtains program interface information of the remote client side, wherein the program interface information comprises static information, and the static information comprises at least one of a window, a key, characters, icons or pictures;
the remote client performs vectorization conversion on the static information to obtain interface vector information;
the remote client transmits interface vector information to the local client;
and the local client draws a program interface of the local client according to the interface vector information, wherein the program interface of the local client is consistent with that of the remote client.
Optionally, the program interface information further includes: and dynamic information, wherein the dynamic information is used for reflecting the program interface change of the remote client.
Optionally, the method further comprises:
the remote client converts the dynamic information into dynamic interface information, wherein the dynamic interface information is self-defined format information for describing the change of a program interface of the remote client;
the remote client transmits the dynamic interface information to the local client;
the local client draws a program interface according to the interface vector information, and comprises the following steps:
and the local client draws a program interface according to the interface vector information and the dynamic interface information.
Optionally, the method further comprises:
the local client responds to the input operation of a user on a program interface of the local client, and the local client acquires the input operation information of the local client;
the local client converts the input operation information into input information, wherein the input information is self-defined format information describing the input operation of the local client;
the local client sends input information to the remote client;
and the remote client updates the program interface of the remote client according to the input information.
Optionally, the obtaining, by the remote client, the program interface information of the remote client includes:
if the fact that the remote client has the program using the vector interface library is determined, the remote client obtains program interface information of the remote client according to the vector interface library, and the local client and the remote client both maintain the vector interface library.
Optionally, the method further comprises:
if the fact that the remote client does not have the program using the vector interface library is determined, the remote client obtains a screenshot of the program interface of the remote client, and the local client and the remote client maintain the vector interface library;
and carrying out screenshot vectorization processing on the screenshot to obtain interface vector information.
In a second aspect, the present application provides a system for remote desktop connection, the system comprising: a remote client and a local client;
the remote client is configured to perform an operation performed by the remote client in the method provided by the first aspect;
the local client is configured to perform the operation performed by the local client in the method provided by the first aspect.
In a third aspect, an embodiment of the present application provides an apparatus for connecting a remote desktop, where the apparatus is applied to a remote client, and the apparatus includes:
the system comprises a first acquisition unit, a second acquisition unit and a third acquisition unit, wherein the first acquisition unit is used for acquiring program interface information of a remote client, the program interface information comprises static information, and the static information comprises at least one of a window, a key, characters, an icon or a picture;
the first processing unit is used for carrying out vectorization conversion on the static information to obtain interface vector information;
and the first transmission unit is used for transmitting the interface vector information to the local client so that the local client can draw a program interface of the local client according to the interface vector information, and the program interface of the local client is consistent with that of the remote client.
Optionally, the program interface information further includes dynamic information, and the apparatus further includes:
the second processing unit is used for converting the dynamic information into dynamic interface information, wherein the dynamic interface information is self-defined format information for describing the change of a program interface of the remote client;
and the second transmission unit is used for transmitting the dynamic interface information to the local client so that the local client can draw the program interface of the local client according to the interface vector information and the dynamic interface information.
Optionally, the apparatus further comprises:
a receiving unit for receiving input information transmitted by a local client;
and the updating unit is used for updating the program interface of the remote client according to the input information.
Optionally, the first obtaining unit is specifically configured to:
and if the program using the vector interface library is determined to exist, acquiring the program interface information of the remote client according to the vector interface library.
Optionally, the apparatus further comprises:
the second acquisition unit is used for acquiring a screenshot of a program interface of the remote client if the fact that the program using the vector interface library does not exist is determined;
and the third processing unit is used for carrying out screenshot vectorization processing on the screenshot to obtain interface vector information.
In a fourth aspect, an embodiment of the present application provides an apparatus for remote desktop connection, which is applied to a local client, and the apparatus includes:
the first receiving unit is used for receiving the interface vector information transmitted by the remote client;
and the first processing unit is used for drawing a program interface of the local client according to the interface vector information, and the program interface of the local client is consistent with the program interface of the remote client.
Optionally, the apparatus further comprises:
the second receiving unit is used for receiving the dynamic interface information transmitted by the remote client;
and the second processing unit is used for drawing a program interface of the local client according to the interface vector information and the dynamic interface information.
Optionally, the apparatus further comprises:
the acquisition unit is used for responding to the input operation of a user on the program interface of the local client and acquiring the input operation information of the local client;
the third processing unit is used for converting input operation information into input information, wherein the input information is custom format information describing input operation of a local client;
and the sending unit is used for sending the input information to the remote client.
In a fifth aspect, the present application provides an electronic device comprising a memory and a processor:
the memory is used for storing a computer program;
the processor is adapted to perform the method provided by the first aspect described above according to a computer program.
In a sixth aspect, the present application also provides a computer-readable storage medium for storing a computer program for executing the method provided in the first aspect.
Therefore, the application has the following beneficial effects:
according to the method, a remote client acquires program interface information of the remote client, converts static program interface information in the program interface information into interface vector information, transmits the interface vector information to a local client, and the local client draws a program interface according to the interface vector information, so that the remote client is connected with the local client. In the process, the transmitted information is vector information, compared with the data transmission quantity of graphical remote desktop connection, the data transmission quantity is reduced by about 1 order of magnitude, the situation of interface distortion is reduced, and therefore the purpose of improving the efficiency of the remote control terminal is achieved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments described in the present application, and other drawings can be obtained by those skilled in the art according to the drawings.
Fig. 1 is a schematic flowchart of a method for connecting a remote desktop according to an embodiment of the present application;
FIG. 2 is a flowchart illustrating an embodiment of a method for remote desktop connection according to an embodiment of the present disclosure;
FIG. 3 is a schematic diagram of a system 300 for remote desktop connection according to an embodiment of the present application;
FIG. 4 is a schematic diagram of an apparatus 400 for remote desktop connection according to an embodiment of the present application;
FIG. 5 is a schematic diagram of an apparatus 500 for remote desktop connection according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of an electronic device 600 in an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In the names of the "first obtaining unit", "first processing unit", and the like, the "first" mentioned in the embodiments of the present application is used only for name identification, and does not represent the first in sequence. The same applies to "second", "third", etc.
At present, the remote desktop connection mainly adopts graphical remote desktop connection based on image compression and transmission, generally, a desktop of a remote client is divided into grids, and after images of each grid are independently compressed and transmitted to a local client, the local client respectively decompresses and restores the images of each grid, and then the images of each grid are spliced into a complete virtual desktop. However, the remote client transmits the picture to the local client, and the picture transmission needs to occupy larger network resources, so that after the remote client and the local client establish connection, the local client is easy to have a situation of operation jamming or obvious distortion of a display picture, thereby affecting the effect of remote desktop connection.
In the embodiment of the application, the program interface information is obtained through the vector interface library in the remote client, the static information in the program interface information is converted into the interface vector information, the interface vector information is transmitted to the local client, and the vector interface library in the local client draws the program interface of the local client according to the interface vector information, so that the program interface of the local client is consistent with the program interface of the remote client. Specifically, the method may include, for example: the method comprises the steps that a vector interface library in a remote client acquires program interface information, static information in the program interface information is converted into interface vector information, dynamic information in the program interface information is converted into dynamic interface information, the interface vector information and the dynamic interface information are transmitted to a local client, and the local client draws a program interface according to the interface vector information and the dynamic interface information. Therefore, in the process of realizing remote desktop connection, the transmitted information is vector information, compared with the method for realizing graphical remote desktop connection, the method reduces the data transmission amount and the distortion of the interface, thereby improving the efficiency of the remote control terminal.
In addition, the embodiment of the application may further include: the local client responds to the input operation of a user on the program interface of the local client, obtains input operation information, converts the input operation information into input information, sends the input information to the remote client, and the remote client updates the program interface of the remote client according to the input information. Therefore, the user can realize the operation of the program desktop of the remote client through the input operation of the local client, and simply and conveniently perform remote control on the remote client.
To facilitate understanding of a specific implementation of a method for connecting a remote desktop provided by an embodiment of the present application, reference will be made to the following description in conjunction with the accompanying drawings.
It should be noted that the main body implementing the method for connecting the remote desktop may be the system for connecting the remote desktop provided in the embodiment of the present application, and may also be a device for connecting the remote desktop, where the device for connecting the remote desktop may be carried in the electronic device or a function module of the electronic device. The electronic device in the embodiment of the present application may be any device capable of implementing the method for remote desktop connection in the embodiment of the present application, and for example, may be an internet of things (IoT) device.
It should be noted that, in the embodiment of the present application, a remote client and a local client are relative concepts, and a certain client may be used as both a remote client in the embodiment of the present application and a local client in the embodiment of the present application at different scenes or times.
Fig. 1 is a flowchart illustrating a method for connecting a remote desktop according to an embodiment of the present application. The method may be applied to a remote desktop connected system, which may be, for example, remote desktop connected system 300 as shown in FIG. 3. The remote desktop connected system may include a remote client and a local client, wherein the remote client may be hosted by a remote desktop connected device, such as remote desktop connected device 400 shown in fig. 4, and the local client may be hosted by a remote desktop connected device, such as remote desktop connected device 500 shown in fig. 5. The means for remote desktop connection may also be integrated into an electronic device, such as the electronic device 600 shown in fig. 6.
As shown in fig. 1, the method comprises the steps of:
s101: the remote client acquires program interface information of the remote client, wherein the program interface information comprises static information, and the static information comprises at least one of a window, a key, characters, icons or pictures.
In order to enable a local client to display and operate a desktop of a remote client, the remote client needs to acquire program interface information of the remote client, the remote client performs vectorization conversion on static information in the program interface information to acquire interface vector information, and transmits the interface vector information to the local client, the local client draws a program interface of the local client according to the interface vector information, and the local program interface is consistent with the program interface of the remote client at the moment, so that the embodiment of the application acquires the program interface information of the remote client through S101, and provides a precondition for acquiring the interface vector information.
As an example, S101 may include: and if the fact that the remote client side has the program using the vector interface library is determined, the remote client side obtains the program interface information of the remote client side according to the vector interface library.
As an example, S101 may include: and if the fact that the remote client does not have the program using the vector interface library is determined, the remote client obtains a screenshot of the program interface of the remote client, and the screenshot is used as the program interface information of the remote client. When the remote client obtains the program interface information of the remote client by using the method for the first time, the vector interface library updates the corresponding program, and when the remote client is used as the remote client to be established with the remote desktop connection again, the remote client is considered to have the program using the vector interface library, so that the program interface information of the remote client can be directly obtained according to the vector interface library in S101.
The program interface information in S101 may further include dynamic information, where the dynamic information is used to reflect a program interface change of the remote client, and the dynamic information may include information such as creation of a program interface form, movement of the program interface form, and a control attribute change in the program interface.
The local client and the remote client both maintain consistent vector interface libraries to ensure that the same desktop can be displayed after the local client and the remote client establish remote desktop connection.
S102: and the remote client performs vectorization conversion on the static information to obtain interface vector information.
As one example, S102 may include: if the fact that the program using the vector interface library exists in the remote client is determined, the remote client conducts vectorization processing on the static information according to the vector interface library to obtain interface vector information.
As another example, S102 may include: and if the remote client takes the screenshot of the program interface of the remote client as the program interface information of the remote client, vectorizing the screenshot to obtain interface vector information.
The interface vector information in S102 is information in extensible markup Language (xml) format.
In addition, for the case that the program interface information includes dynamic information in addition to static information, the method may further include: the remote client converts dynamic information in the program interface information into dynamic interface information, wherein the dynamic interface information is self-defined format information for describing the change of a program interface of the remote client, and the dynamic interface information is non-vector information and can be information in a self-defined JavaScript object notation (JSON) format.
S103: the remote client transmits the interface vector information to the local client.
As an example, for the case that dynamic information is further included in the program interface information, the method may further include: and the remote client transmits dynamic interface information corresponding to the dynamic information to the local client.
It should be noted that, the manner of information interaction between the remote client and the local client and the format of the information interacted are not specifically limited in the embodiment of the present application.
S104: and the local client draws a program interface of the local client according to the interface vector information, wherein the program interface of the local client is consistent with that of the remote client.
If the remote interface information includes only static information, S104 may include: and drawing a program interface of the local client by the local client according to the interface vector information.
If the remote interface information includes static information and dynamic information, S104 may include: and the local client draws a program interface of the local client according to the interface vector information and the dynamic interface information.
As an example, S104 may further include: responding to an input operation of a user on a program interface of the local client by the local client, wherein the input operation is an input operation executed on a program interface of a remote client displayed on a desktop of the local client, and the input reference can be an operation triggered by the user through an input device (such as a mouse, a keyboard and the like) connected with the local client; the method comprises the steps that a local client side obtains input operation information of the local client side, wherein the input operation information is information which describes input operation of the local client side and is obtained by the local client side directly responding to the input operation; the local client converts the input operation information into input information, wherein the input information is user-defined format information for describing the input operation of the local client, and the user-defined format can be a user-defined JSON format for example; the local client sends input information to the remote client; and the remote client updates the program interface of the remote client according to the input information, wherein the updated program interface of the remote client can be the program interface displayed after the local client performs input operation.
Therefore, according to the method provided by the embodiment of the application, the program interface information is vectorized through the remote client to obtain the interface vector information, the interface vector information is transmitted to the local client, and the local client draws the program interface according to the interface vector information, so that the program interface of the local client is consistent with the program interface of the remote client, and the remote desktop connection is realized. The data transmission process is carried out by using vector information, compared with a graphical remote desktop connection mode, the data volume of network transmission is reduced, the condition that an interface is distorted is reduced, and therefore the efficiency of the remote control terminal is improved.
The vector interface library in the embodiment of the application comprises: and the drawing module is used for acquiring the program interface information, converting the program interface information into interface vector information and dynamic interface information, and drawing the program interface according to the interface vector information and the dynamic interface information.
And the interface vectorization module is used for obtaining a screenshot of the non-vectorization program interface, and performing screenshot vectorization processing on the screenshot to obtain interface vector information of the screenshot.
And the interface reconstruction module is used for displaying a non-vectorization program interface according to the interface vector information of the screenshot.
And the input capturing module is used for responding to the input operation of the user, acquiring input operation information and converting the input operation information into input information in a custom format.
And the input replay module is used for updating the program interface according to the input information.
And the transmission module is used for transmitting data such as interface vector information, dynamic interface information, input information and the like between terminals.
In order to make the method provided by the embodiments of the present application clearer and easier to understand, a specific example of the method is described below with reference to fig. 2.
S201: the remote client judges whether a program using the vector interface library exists or not, if the remote client is determined to have the program using the vector interface library, S202 is executed, and if the remote client is determined not to have the program using the vector interface library, S203 is executed.
A part of programs are preset in the vector interface library, the characters of the programs use vector fonts, and the pictures and the icons also use vector diagrams. If the remote client has a program which can use the vector interface library, the vectorization information of the program interface can be directly obtained through the drawing module in the vector interface library, and if the remote client does not have the program which can use the vector interface library, the program interface needs to be directly vectorized to obtain the vectorization information of the program interface.
S202: the method comprises the steps that a drawing module in a remote client acquires program interface information of the remote client, then interface vector information and dynamic interface information are acquired according to the program interface information, and then the acquired interface vector information and dynamic interface information are transmitted to a transmission module in the remote client.
The program interface information obtained by the drawing module comprises static information and dynamic information, the static information comprises at least one of a window, a key, a character, an icon or a picture, and the dynamic information is used for reflecting the program interface change of the remote client.
As an example, the obtaining of the interface vector information and the dynamic interface information according to the program interface information in S202 may include: and a drawing module in the remote client performs vectorization conversion on the static information in the program interface information to obtain interface vector information. And the drawing module in the remote client converts the dynamic information in the program interface information into dynamic interface information.
The interface vector information in S202 may be information in an xml format, and the dynamic interface information in S202 is non-vector information, and may be information in a custom JSON format.
S203: an interface vectorization module in a remote client obtains a screenshot of a program interface of the remote client, obtains interface vector information according to the screenshot, and then transmits the obtained interface vector information to a transmission module in the remote client.
As an example, obtaining the interface vector information according to the screenshot in S203 may include: and vectorizing the screenshot by interface vectorization of the remote client to obtain interface vector information. The vectorization process may include: determining a frame of a program interface in a straight line searching mode; dividing the program interface into different areas according to the frame; judging whether the area belongs to a text type, an icon type or other types; if the area is a text type, performing text recognition on the text; if the area is the icon type, converting the icon into the closest vector icon in the vector interface library; if the region is of another type, the region is converted into a compressed picture.
S204: and the transmission module of the remote client receives the interface vector information and the dynamic interface information transmitted by the drawing module, or receives the interface vector information transmitted by the interface vectorization module to obtain the transmission information.
S205: and the transmission module of the remote client sends the transmission information to the local client.
S206: and drawing the program interface of the local client by the drawing module of the local client or the interface reconstruction module of the local client according to the transmission information.
As one example, S206 may include: and the drawing module of the local client draws the program interface of the local client according to the interface vector information and the dynamic interface information which are transmitted by the remote client and generated by the drawing module of the remote client.
As an example, S206 may include: and the interface reconstruction module of the local client draws a program interface of the local client according to the interface vector information transmitted by the remote client and generated by the interface vectorization module of the remote client.
After the implementation of the step S206, the program interface of the local client is consistent with the program interface of the remote client, so as to implement the connection of the remote desktop.
S207: the input capture module of the local client responds to the input operation of the user, obtains input information, and transmits the input information to the transmission module of the local client.
As an example, S207 may include: the input capture module of the local client responds to the input operation of the user to obtain input operation information, converts the input operation information into input information, and transmits the input information to the transmission module of the local client. The input information is custom format information describing an input operation of the local client, and may be information in a custom JSON format.
S208: and the transmission module of the local client sends the input information to the remote client.
S209: and the input playback module of the remote client updates the program interface of the remote client according to the input information.
And the input playback module of the remote client updates the program interface of the remote client according to the input information and updates only the interface of the input information part.
The application provides a method for connecting a remote desktop, which comprises the steps of judging whether a program in a vector interface library exists in a remote client through the vector interface library in the remote client, if so, obtaining program interface information of the remote client by a drawing module in the vector interface library, converting the program interface information into interface vector information and dynamic interface information, and transmitting the interface vector information and the dynamic interface information to a transmission module of the vector interface library; and if the interface vector information does not exist, the interface vector module of the vector interface library acquires the screenshot of the program interface of the remote client, converts the screenshot into the interface vector information, and transmits the interface vector information to the transmission module in the vector interface library. The transmission module of the remote client sends the obtained transmission information to the local client; and drawing a local client program interface by a drawing module or an interface reconstruction module of the vector interface library in the local client according to the transmission information. The input capture module of the vector interface library in the local client responds to the input operation of a user to obtain input information and transmits the input information to the transmission module of the local client, the transmission module of the local client sends the obtained input information to the remote client, and the input replay module of the vector interface library in the remote client updates the program interface of the remote client according to the input information.
In the process of realizing remote desktop control, for a program using the vector interface library in a remote client, the vector interface library can vectorize the program interface to obtain vector information, and similarly, for a program not using the vector interface library in the remote client, vector information is obtained by vectorizing a program screenshot, so that data transmitted between the remote client and a local client is vector information, and compared with a graphical remote desktop connection mode, the data volume of network transmission is reduced, and the efficiency of a remote control terminal is improved.
Referring to fig. 3, an embodiment of the present application provides a remote desktop connection system 300, which may include: remote client 301 and local client 302;
the remote client 301 is configured to execute operations executed by the remote client in the method provided in fig. 1 or fig. 2;
the local client 302 is configured to perform the operations performed by the local client in the method provided in fig. 1 or fig. 2.
Referring to fig. 4, an embodiment of the present application provides an apparatus 400 for remote desktop connection, which is applied to a remote client, and includes:
a first obtaining unit 401, configured to obtain program interface information of a remote client, where the program interface information includes static information, and the static information includes at least one of a window, a key, a text, an icon, and a picture;
a first processing unit 402, configured to perform vectorization conversion on the static information to obtain interface vector information;
the first transmission unit 403 is configured to transmit the interface vector information to the local client, so that the local client draws a program interface of the local client according to the interface vector information, where the program interface of the local client is consistent with the program interface of the remote client.
Optionally, the program interface information further includes dynamic information, and the apparatus further includes:
the second processing unit is used for converting the dynamic information into dynamic interface information, wherein the dynamic interface information is self-defined format information for describing the change of a program interface of the remote client;
and the second transmission unit is used for transmitting the dynamic interface information to the local client so that the local client can draw a program interface of the local client according to the interface vector information and the dynamic interface information.
Optionally, the apparatus 400 further comprises:
a receiving unit for receiving input information transmitted by a local client;
and the updating unit is used for updating the program interface of the remote client according to the input information.
Optionally, the first obtaining unit 401 is specifically configured to:
and if the program using the vector interface library is determined to exist, acquiring the program interface information of the remote client according to the vector interface library.
Optionally, the apparatus 400 further comprises:
the second acquisition unit is used for acquiring a screenshot of a program interface of the remote client if the fact that the program using the vector interface library does not exist is determined;
and the third processing unit is used for carrying out screenshot vectorization processing on the screenshot to obtain interface vector information.
Referring to fig. 5, an embodiment of the present application provides an apparatus 500 for remote desktop connection, which is applied to a local client, and includes:
a first receiving unit 501, configured to receive interface vector information transmitted by a remote client;
the first processing unit 502 is configured to draw a program interface of the local client according to the interface vector information, where the program interface of the local client is consistent with the program interface of the remote client.
Optionally, the apparatus further comprises:
the second receiving unit is used for receiving the dynamic interface information transmitted by the remote client;
and the second processing unit is used for drawing a program interface of the local client according to the interface vector information and the dynamic interface information.
Optionally, the apparatus 500 further comprises:
the acquisition unit is used for responding to the input operation of a user on a program interface of the local client and acquiring the input operation information of the local client;
the third processing unit is used for converting input operation information into input information, wherein the input information is custom format information describing input operation of a local client;
and the sending unit is used for sending the input information to the remote client.
An embodiment of the present application further provides an electronic device 600, as shown in fig. 6, where the device 600 includes a memory 601 and a processor 602:
the memory 601 is used for storing computer programs;
the processor 602 is configured to execute the method provided in fig. 1 or fig. 2 according to a computer program.
Furthermore, the present application also provides a computer readable storage medium for storing a computer program for executing the method provided in fig. 1 or fig. 2.
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 above embodiment methods can be implemented by software plus a general hardware platform. Based on such understanding, the technical solution of the present application may be embodied in the form of a software product, which may be stored in a storage medium, such as a read-only memory (ROM)/RAM, a magnetic disk, an optical disk, or the like, and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network communication device such as a router) to execute the method according to the embodiments or some parts of the embodiments of the present application.
All the embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, the apparatus embodiments are substantially similar to the method embodiments and therefore are described in a relatively simple manner, and reference may be made to some of the description of the method embodiments for relevant points. The above-described embodiments of the apparatus are merely illustrative, and the modules described as separate parts may or may not be physically separate, and the parts displayed as modules may or may not be physical modules, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules can be selected according to actual needs to achieve the objectives of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
The above description is only an exemplary embodiment of the present application, and is not intended to limit the scope of the present application.
Claims (11)
1. A method of remote desktop connection, the method comprising:
a remote client acquires program interface information of the remote client, wherein the program interface information comprises static information, and the static information comprises at least one of a window, a key, characters, an icon or a picture;
the remote client performs vectorization conversion on the static information to obtain interface vector information;
the remote client transmits the interface vector information to a local client;
and the local client draws a program interface of the local client according to the interface vector information, wherein the program interface of the local client is consistent with that of the remote client.
2. The method of claim 1, wherein the program interface information further comprises: and dynamic information, wherein the dynamic information is used for reflecting the program interface change of the remote client.
3. The method of claim 2, further comprising:
the remote client converts the dynamic information into dynamic interface information, wherein the dynamic interface information is self-defined format information describing the change of a program interface of the remote client;
the remote client transmits the dynamic interface information to the local client;
the local client draws a program interface according to the interface vector information, and the method comprises the following steps:
and the local client draws the program interface according to the interface vector information and the dynamic interface information.
4. The method of claim 1, further comprising:
the local client responds to the input operation of a user on a program interface of the local client, and the local client acquires the input operation information of the local client;
the local client converts the input operation information into input information, wherein the input information is custom format information describing the input operation of the local client;
the local client sends the input information to the remote client;
and the remote client updates the program interface of the remote client according to the input information.
5. The method of claim 1, wherein the obtaining, by the remote client, program interface information of the remote client comprises:
if the fact that the remote client side has the program using the vector interface library is determined, the remote client side obtains program interface information of the remote client side according to the vector interface library, and the local client side and the remote client side maintain the vector interface library.
6. The method of claim 1, further comprising:
if the fact that the remote client does not have a program using a vector interface library is determined, the remote client obtains a screenshot of the program interface of the remote client, and the local client and the remote client maintain the vector interface library;
and carrying out screenshot vectorization processing on the screenshot to obtain the interface vector information.
7. A system for remote desktop connectivity, the system comprising a remote client and a local client:
the remote client is used for executing the operation executed by the remote client in the method of any one of claims 1-6;
the local client is configured to perform the operations of the method of any one of claims 1-6, performed by the local client.
8. An apparatus for remote desktop connection, applied to a remote client, the apparatus comprising:
the first acquisition unit is used for acquiring program interface information of the remote client, wherein the program interface information comprises static information, and the static information comprises at least one of a window, a key, characters, an icon or a picture;
the first processing unit is used for carrying out vectorization conversion on the static information to obtain interface vector information;
and the first transmission unit is used for transmitting the interface vector information to a local client so that the local client can draw a program interface of the local client according to the interface vector information, and the program interface of the local client is consistent with the program interface of the remote client.
9. An apparatus for remote desktop connection, applied to a local client, the apparatus comprising:
the first receiving unit is used for receiving the interface vector information transmitted by the remote client;
and the first processing unit is used for drawing a program interface of the local client according to the interface vector information, and the program interface of the local client is consistent with the program interface of the remote client.
10. An electronic device, characterized in that the device comprises a memory and a processor for executing a program stored in the memory for performing the method according to any of claims 1-6.
11. A computer-readable storage medium, characterized in that the computer-readable storage medium is used to store a computer program for performing the method of any of claims 1-6.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202211591854.2A CN115878246A (en) | 2022-12-12 | 2022-12-12 | Method, system, device and equipment for connecting remote desktop |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202211591854.2A CN115878246A (en) | 2022-12-12 | 2022-12-12 | Method, system, device and equipment for connecting remote desktop |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN115878246A true CN115878246A (en) | 2023-03-31 |
Family
ID=85767111
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202211591854.2A Pending CN115878246A (en) | 2022-12-12 | 2022-12-12 | Method, system, device and equipment for connecting remote desktop |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN115878246A (en) |
-
2022
- 2022-12-12 CN CN202211591854.2A patent/CN115878246A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US11875437B2 (en) | Image drawing method based on target template image, apparatus, readable medium and electronic device | |
| US8549395B2 (en) | Method and system for transforming an integrated webpage | |
| CN107622135B (en) | Method and apparatus for displaying information | |
| CN111580879A (en) | Applet running method and device, electronic equipment and computer storage medium | |
| CN109582317B (en) | Method and apparatus for debugging hosted applications | |
| CN112306793A (en) | Method and apparatus for monitoring web pages | |
| JP7261732B2 (en) | Method and apparatus for determining character color | |
| CN110347319B (en) | Method and device for screenshot in application | |
| EP4258165A1 (en) | Two-dimensional code displaying method and apparatus, device, and medium | |
| EP4198773A1 (en) | Image processing method and apparatus, and computer readable storage medium | |
| US20100274936A1 (en) | Osd image generating method in kvm switches | |
| CN110675465A (en) | Method and apparatus for generating image | |
| CN112486482A (en) | Page display method and device | |
| CN113342450A (en) | Page processing method and device, electronic equipment and computer readable medium | |
| WO2023082654A1 (en) | Method, apparatus and device for generating service interaction diagram, and storage medium | |
| CN112328940A (en) | Method, device, computer equipment and storage medium for embedding transition page in webpage | |
| CN111447219B (en) | Image display method and device, storage medium and computer equipment | |
| CN113268693A (en) | Style configuration method and device, storage medium and electronic equipment | |
| CN113542335A (en) | Information sharing method and device, electronic equipment and storage medium | |
| CN107248947B (en) | Expression processing method and processing device, computer equipment and storage medium | |
| CN115878246A (en) | Method, system, device and equipment for connecting remote desktop | |
| CN110442806B (en) | Method and apparatus for recognizing image | |
| CN109992698B (en) | Data processing method and device, electronic equipment and readable storage medium | |
| CN117056507A (en) | Long text analysis method, long text analysis model training method and related equipment | |
| CN115292629A (en) | Image generation method and device, storage medium and electronic equipment |
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 |