CN104065679B - The method and client of a kind of remote desktop operation - Google Patents

The method and client of a kind of remote desktop operation Download PDF

Info

Publication number
CN104065679B
CN104065679B CN201310091463.9A CN201310091463A CN104065679B CN 104065679 B CN104065679 B CN 104065679B CN 201310091463 A CN201310091463 A CN 201310091463A CN 104065679 B CN104065679 B CN 104065679B
Authority
CN
China
Prior art keywords
client
rdp
operational orders
html5
operation requests
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.)
Active
Application number
CN201310091463.9A
Other languages
Chinese (zh)
Other versions
CN104065679A (en
Inventor
李嘉
吴奇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Cloud Computing Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201310091463.9A priority Critical patent/CN104065679B/en
Publication of CN104065679A publication Critical patent/CN104065679A/en
Application granted granted Critical
Publication of CN104065679B publication Critical patent/CN104065679B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Transfer Between Computers (AREA)
  • Computer And Data Communications (AREA)

Abstract

An embodiment of the present invention provides the method and client of a kind of remote desktop operation so that the remote desktop based on browser can be supported to operate the growth data outside basic input and output.This method includes:Receive the Remote Desktop Protocol RDP operational orders that server is sent;Determine whether the RDP operational orders need to be called the local interface of client;If the RDP operational orders need to be called the local interface of client, the application programming interfaces API of corresponding client is called according to the RDP operational orders, so that the operation that RDP operational orders described in the client executing are asked.Applicable network technical field of the embodiment of the present invention.

Description

The method and client of a kind of remote desktop operation
Technical field
The present invention relates to network technique field, more particularly to a kind of method and client for realizing remote desktop.
Background technology
Remote desktop is mainly the graphical interfaces for having provided a user an other machine, allows user can be in local in addition One machine is controlled.Usual remote desktop is divided into two parts:Server and client side.Server and client side by based on Remote Desktop Protocol (Remote Desktop Protocol, abbreviation RDP) communicates.
The 5th version of hypertext markup language (Hypertext Markup Language.5, abbreviation HTML5) is hypertext Next main revision version of markup language (Hypertext Markup Language, abbreviation HTML), wherein HTML5 Propose the network technology that full duplex communication is carried out between a kind of browser and server.
And in the prior art, the remote desktop of the browser based on HTML5, between the server and client side usually Gateway, transfer of the gateway as RDP agreements and HTML5 agreements are provided with, the specific gateway is used for the server end After Remote Desktop Protocol view data is parsed, then packing is encapsulated as the data sending of HTML5 to the clear of the client Look at device;Correspondingly, be additionally operable to when browser captures user and inputs operational order in the human-computer interaction interface of the client, Such as the operational order that mouse-keyboard inputs, which is sent to gateway, after gateway parses the operational order, packing envelope Fill is RDP data sendings to the remote desktop RDP server end.
But since the browser based on HTML5 only supports the basic inputoutput data of computer, such as view data With mouse-keyboard data, therefore current remote desktop system does not support the relevant operation of some growth datas, for example, not supporting The steering of file system so that client can not use local file system;The steering of back printer, client can not Use local printer;The input and output of client audio, video data are not supported, the application program on server can not use The input equipment of the audio and video of client.
The content of the invention
The embodiment of the present invention provides a kind of method and client of remote desktop operation so that based on the long-range of browser Desktop can be supported to operate the growth data outside basic input and output.
To reach above-mentioned purpose, the embodiment of the present invention adopts the following technical scheme that:
In a first aspect, an embodiment of the present invention provides a kind of method of remote desktop operation, the method is based on hypertext The 5th version HTML5 browsers of markup language carry out remote desktop operation, and this method includes:
Receive the Remote Desktop Protocol RDP operational orders that server is sent;
Determine whether the RDP operational orders need to be called the local interface of client;
If the RDP operational orders need to be called the local interface of client, according to the RDP operational orders tune With the application programming interfaces API of corresponding client, so that the behaviour that RDP operational orders described in the client executing are asked Make.
In the first possible implementation, according in a first aspect, described determine whether the RDP operational orders ask pair The local interface of client be called including:
Determine whether the RDP operational orders need the HTML5 browsers to handle graphical interfaces data, if It is no, determine that the RDP operational orders need to be called the local interface of client.
In second of possible implementation, according to the first possible implementation, further include:
If the RDP operational orders need the HTML5 browsers to handle graphical interfaces data, described in calling HTML5 browsers, so that the HTML5 browsers carry out the RDP operational orders parsing generation image information.
It is described to call the HTML5 to browse according to second of possible implementation in the third possible implementation Before device, further include:The RDP operational orders are converted into the form of HTML5 agreements support.
In 4th kind of possible implementation, with reference to first aspect or according to the first to three kind of possible implementation, connect The second operation requests that the HTML5 browsers are sent according to user's operation are received, second operation requests are needed to client Current graphical interfaces is operated;
According to second operation requests, the local interface of the client is carried out, so that the client executing The operation of the second operational order request.
In 5th kind of possible implementation, according to the 4th kind of possible implementation, second operation requests are to put Operation requests that are big or reducing the graphical interfaces.
Second aspect, an embodiment of the present invention provides a kind of client of remote desktop operation, which includes: HTML5 browser modules, communication module, local application interface API module and calling module;
The HTML5 browser modules, it is long-range for being carried out based on the 5th version HTML5 browsers of hypertext markup language Desktop operates;
The communication module, the Remote Desktop Protocol RDP operational orders sent for receiving the server;
The calling module, for determining whether the RDP operational orders need to adjust the local interface of client With, if desired, the local API module of corresponding client is called according to the RDP operational orders, if need not, described in calling HTML5 browser modules;
The local API module, for when receiving the call instruction of the calling module, performing the RDP operations The operation of command request.
In the first possible implementation, with reference to second aspect, if the Remote Desktop Protocol RDP operations that server is sent Order needs to handle graphical interfaces data, and the HTML5 browser modules are additionally operable to carry out the RDP operational orders Parsing generation image information.
It is described with reference to second aspect or according to the first possible implementation in second of possible implementation HTML5 browser modules include:WebSocket servers submodule and HTML5 Canvas submodules;
The calling module, is additionally operable to the RDP operational orders being converted into the form of HTML5 agreements support;
The WebSocket servers submodule, for the operational order of transformed support HTML5 agreements to be sent to The HTML5 Canvas submodules;
The HTML5 Canvas submodules, for the transformed operational order to be carried out parsing generation image letter Breath.
In the third possible implementation, according to second of possible implementation, the client further includes input Interface, human-computer interaction interface;
The HTML5 Canvas submodules, it is defeated by input interface and/or human-computer interaction interface to be additionally operable to seizure user The operation requests are sent to the WebSocket servers by the operation requests entered;
The WebSocket servers submodule, is additionally operable to the operation requests being transmitted to the calling module;
The calling module, is additionally operable to determine whether the operation requests need the graphical interfaces current to client to carry out Operation;If it is determined that the operation requests need not the graphical interfaces current to client operate, then by the operation requests It is converted into the form of RDP agreements support.
In 4th kind of possible implementation, according to the third possible implementation, WebSocket servers Module, needs the graphical interfaces current to client to operate, the operation requests is sent out if being additionally operable to the operation requests The calling module is given, so that the calling module calls corresponding local API module.
In 5th kind of possible implementation, according to the 4th kind of possible implementation, it is described need it is current to client The operation requests that are operated of graphical interfaces include:Zoom in or out the operation requests of graphical interfaces.
In 6th kind of possible implementation, with reference to second aspect or the first to the 5th kind of possible implementation, institute It is gateway plug-in unit to state calling module.
An embodiment of the present invention provides the method and client of a kind of remote desktop operation, this method includes:Receive service The Remote Desktop Protocol RDP operational orders that device is sent;Determine whether the RDP operational orders need the local interface to client It is called;If the RDP operational orders need to be called the local interface of client, according to the RDP operational orders The application programming interfaces API of corresponding client is called, so that the behaviour that RDP operational orders described in the client executing are asked Make.So since this method is for using the client of HTML5 browsers to remain able to adjust when far-end server is accessed With the API of local client, when so carrying out remote desktop operation based on browser, i.e., adopted in the operation carried out to view data While realization with HTML, the extended channel of RDP agreements can also be supported, the operation carried out to growth data can be weighed Local client is directed to, calls corresponding local API to perform.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing There is attached drawing needed in technology description to be briefly described, it should be apparent that, drawings in the following description are only this Some embodiments of invention, for those of ordinary skill in the art, without creative efforts, can be with Other attached drawings are obtained according to these attached drawings.
Fig. 1 is an embodiment of the present invention provides a kind of method flow schematic diagram of remote desktop operation;
Fig. 2 is the method flow schematic diagram an embodiment of the present invention provides another remote desktop operation;
Fig. 3 is remote desktop system exemplary plot provided in an embodiment of the present invention;
Fig. 4 system interaction schematic diagrames provided in an embodiment of the present invention for redirecting recording operation;
Fig. 5 is an embodiment of the present invention provides a kind of structure diagram of the client of remote desktop operation;
Fig. 6 is the structure diagram of the client an embodiment of the present invention provides another remote desktop operation;
Fig. 7 is the structure diagram of the client an embodiment of the present invention provides another remote desktop operation.
Embodiment
Below in conjunction with the attached drawing in the embodiment of the present invention, the technical solution in the embodiment of the present invention is carried out clear, complete Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, those of ordinary skill in the art are obtained every other without making creative work Embodiment, belongs to the scope of protection of the invention.
It should be noted that " local interface " that occurs in the embodiment of the present invention, " local api interface " and " local API Interface module " can be used interchangeably.Another the terms "and/or", is only a kind of incidence relation for describing affiliated partner, table Show there may be three kinds of relations, for example, A and/or B, can represent:Individualism A, while there are A and B, individualism B this three Kind situation.In addition, character "/" herein, it is a kind of relation of "or" to typically represent forward-backward correlation object.
Embodiment one,
In order to solve the problems, such as that current remote desktop system does not support the relevant operation of some growth datas, the present invention is real Apply example to be extended the function of client, in the calling module of client increase local application interface, this is locally applied The calling module of routine interface receives calling to local application interface of the server according to transmitted by the instruction of user After order, corresponding local application interface is called, for completing the corresponding operation to growth data.
An embodiment of the present invention provides a kind of method of remote desktop operation, wherein, the method is carried out based on browser Remote desktop operation, this method are applied to the application scenarios of client remote access far-end server, and the client uses HTML5 browsers, as shown in Figure 1, this method includes:
101st, the Remote Desktop Protocol RDP operational orders that server is sent are received.
Wherein, the RDP operational orders that the server is sent can be the order operated to view data, can also It is the operation to growth data.
Wherein, it can be completed by the HTML5 of the client view data to be operated, and to growth data Operation need to call the local application interface API of corresponding client to complete.
102nd, determine whether the RDP operational orders need to be called the local interface of client.
Client needs to judge to be the local needed to client in the RDP operational orders for receiving the server transmission Interface is called or view data is operated, and determines HTML5 for client to perform the request, or call this Ground API performs the request.
If the 103rd, the operational order is to need to be called the local interface of the client, according to RDP operational orders call the application programming interfaces API of corresponding client, so that RDP described in the client executing is operated The operation of command request.
Optionally, since the client of the remote desktop operation can call the API of client local, this method can be with Including:Receive the second operation requests that the HTML5 browsers are sent according to user's operation, the second operation requests needs pair The current graphical interfaces of client is operated;
According to second operation requests, the local interface of the client is carried out, so that the client executing The operation of the second operational order request.
An embodiment of the present invention provides a kind of method of remote desktop operation, since this method using HTML5 for being browsed The client of device when far-end server is accessed, remain able to call local client API, so be based on browser into During row remote desktop operation, i.e., while the operation carried out to view data is realized using HTML, it can also support RDP agreements Extended channel, the operation carried out to growth data can be redirected to local client, call corresponding API to perform.
Embodiment two,
An embodiment of the present invention provides a kind of method of remote desktop operation, wherein, the method is based on hypertext markup Language HTML carries out remote desktop operation, as shown in Fig. 2, this method includes:
201st, client access far-end server.
202nd, the first operation requests that the client is sent according to the operation of user to the server.
Wherein, first operation requests are used to operate the corresponding application of the client, such as graphical interfaces is shown The application shown.
The corresponding application of the client is installation or stores and performs on the far-end server.
For example, what the first operation requests can be that user opens that the Client GUI shows a certain applies journey Sequence, either plays the text that audio-video document that the Client GUI is shown etc. or the printing graphical interfaces are shown Part etc..
Wherein, first operation requests are the operational order inputted by the input interface of the client;And/or The operational order inputted by human-computer interaction interface.
Specifically, input interface can be with least one of lower interface:Audio input interface, video input interface, Universal Serial Bus Interface (Universal Serial BUS, abbreviation USB).The input interface of meaning of the embodiment of the present invention is unlimited It is not exhaustive one by one herein in this.
For example, the operation requests that user can be by mouse to a certain application, user can also pass through audio input The operation requests of voice.
203rd, the server sends RDP operational orders according to first operation requests to the client.
Wherein, it is locally applied can to carry the client called required for the RDP operational orders for the RDP operational orders The instruction of routine interface or the data of graphical interfaces.
Due to following RDP agreements between the remote-operated client and the server, so first operation Order is encapsulated as RDP forms.
The application installation or store and perform in server that the Client GUI is shown, are grasped in the remote desktop The client of work is received after the first operation requests, it is necessary to first operation requests are sent to the server, so that The server performs first operation requests.
It should be noted that if the server needs directly to perform first operation requests, then described the is being performed After one operation requests, the server is performed the data sending of the graphical interfaces after first operation requests to the visitor Family end, i.e., redirect view data to client, so that client is described and shown.
And if the server determines that first operation requests can be by calling the local application of client to connect Mouthful, do not perform first operation requests directly, the first operation requests are (with RDP operational orders described in the server redirection Form), which carries the client local application interface that is called required for the RDP operational orders Instruction, RDP operational orders are sent to the client so that the Terminal Server Client performs the operational order, calls local Application programming interfaces.
204th, the client receives the RDP operational orders that the server is sent.
205th, the client determines whether the RDP operational orders need the HTML5 browsers to graphical interfaces number According to being handled.
Wherein, file system interface, the local printer of client of the local API of the client including client connect Interface of audio and video input-output equipment of mouth, the communication port of client or client etc..
If the 206, the RDP operational orders need the HTML5 browsers to handle graphical interfaces data, call The HTML5 browsers, so that the HTML5 browsers carry out the RDP operational orders parsing generation image information.
Specifically, picture number that can be using the painting canvas instrument Canvas in HTML5 to being included in the RDP operational orders Image information is generated according to parsing is carried out.
Before the view data included in the RDP operational orders carries out parsing generation image information, client is also The RDP operational orders can be further converted into the WebSocket forms of HTML5 agreements support.
After the view data included in the RDP operational orders carries out parsing generation image information, by the figure of generation As information is shown in the client.
If the 207th, the RDP operational orders are not required the HTML5 browsers to handle graphical interfaces data, root According to the local application interface API of the operation calls relative client of RDP operational orders request, the RDP behaviour is determined Making order needs to be called the local interface of client, so that RDP operational orders described in the client executing are asked Operation.
Illustrated in detail below exemplified by redirecting sound-recording function, wherein, as shown in figure 3, the system of the remote desktop Exemplary plot, client are made of four parts, include respectively:Gateway plug-in unit, WebSocket servers, HTML5 Canvas and sheet Ground API.
Wherein, WebSocket servers are used for the view data for coming from server to HTML5 Canvas push;At the same time It is additionally operable to the operation requests of the HTML5 Canvas mouses captured and input through keyboard being sent to server by gateway plug-in unit. HTML5 Canvas are used for the operation requests for catching mouse and input through keyboard, and the operation requests are uploaded to WebSocke services Device.Gateway plug-in unit is used for the data based on WebSocket agreements to coming from HTML5 browsers and comes from server The data of RDP agreements carry out protocol conversion, are additionally operable to receiving the RDP operational orders of server transmission, if the operational order It is that request is called the local interface of client, calls corresponding local API.
It should be noted that the composition schematic diagram simply schematical description of the client in Fig. 3, is not limited to the client The structure at end.Certain client can also only include WebSocket servers, HTML5 Canvas, local API and local The call unit of API, as coming from the data based on WebSocket agreements of HTML5 browsers and coming from server RDP agreements data carry out the gateway plug-in unit of protocol conversion can also be as independent device, or the module as server. Specifically, the embodiment of the present invention is not especially limited this.
Below by taking the system of the remote desktop shown in Fig. 4 as an example, illustrating this method includes:
301st, user clicks on the record button of a certain application in HTML5 Canvas program interfaces, and HTML5 Canvas are caught Asked to the recording.
302nd, HTML5 Canvas upload recording request to Websocket servers.
303rd, recording request is sent to gateway plug-in unit by Websocket servers.
304th, recording request packing is encapsulated as the order of RDP forms by gateway plug-in unit.
305th, the order of the RDP forms is sent to the server by gateway plug-in unit.
306th, the monitoring event of the record button on server triggers local program, calls local sound interface program.
307th, server captures the monitoring event, and the audio format of server support is sent to gateway plug-in unit.
308th, gateway plug-in unit calls local API, i.e., the audio format supported to local API inquiring client terminals.
309th, local API returns to the audio format of client support to gateway plug-in unit.
310th, the audio format packing that client is supported is encapsulated as RDP forms and is sent to server by gateway plug-in unit.
311st, server sends RDP operational orders to gateway plug-in unit, which opens sound and set It is standby.
312nd, after gateway plug-in unit receives the RDP operational orders, local sound device is called to record.
313rd, local API returns to recorded message to gateway plug-in unit.
314th, recorded message packing is encapsulated as RDP forms and returns to server by gateway plug-in unit.
An embodiment of the present invention provides a kind of method of remote desktop operation, for the client using HTML5 browsers When far-end server is accessed, remain able to call the API of local client, remote desktop is so carried out based on browser During operation, i.e., while the operation carried out to view data is realized using HTML, the extension of RDP agreements can also be supported to lead to Road, local client can be redirected to by the operation carried out to growth data, call corresponding API to perform.
Embodiment three,
An embodiment of the present invention provides a kind of client of remote desktop operation, the client is based on hypertext markup language Say that the 5th version HTML5 browsers carry out remote desktop operation.Specifically, as shown in figure 5, the client includes:HTML5 is browsed Device module 51, calling module 52, local application interface API module 53 and communication module 54.
The HTML5 browser modules 51, it is remote for being carried out based on the 5th version HTML5 browsers of hypertext markup language Journey desktop operates;
The communication module 54, the Remote Desktop Protocol RDP operational orders sent for receiving the server;
The calling module 52, for determining whether the RDP operational orders need the local interface progress to client Call, if desired, the local API module of corresponding client is called according to the RDP operational orders, if need not, call institute State HTML5 browser modules 51;
The local API module 53, for when receiving the call instruction of the calling module 52, performing the RDP The operation of operational order request.
Wherein, the RDP operational orders that the server is sent can be the order operated to view data, can also It is the operation to growth data.
Wherein, it can carry out parsing generation figure by the HTML5 browser modules 51 that operation is carried out to view data As information, and the local API module 53 that the operation to growth data needs calling module 52 to call corresponding client is completed.
Further, if the Remote Desktop Protocol RDP operational orders that server is sent need to carry out graphical interfaces data Processing, the HTML5 browser modules 51 are additionally operable to carry out the RDP operational orders parsing generation image information.
Further, as shown in fig. 6, the HTML5 browser modules 51 include:WebSocket servers submodule 511 With HTML5 Canvas submodules 512;
The calling module 52, is additionally operable to the RDP operational orders being converted into the form of HTML5 agreements support;
The WebSocket servers submodule 511, for the operational order of transformed support HTML5 agreements to be sent out Give the HTML5 Canvas submodules 512;
The HTML5 Canvas submodules 512, for the transformed operational order to be carried out parsing generation image Information.
Further, as shown in fig. 7, the client further includes input interface 55, human-computer interaction interface 56;
Wherein, the operation of user can be the operation inputted by input interface 55 and/or human-computer interaction interface 56.
The operation requests of the user are used to operate the corresponding application of the client, such as graphical interfaces is shown Using.
The corresponding application of the client is installation or stores and performs on the far-end server.
For example, the operation requests of user can be that user opens a certain application that the Client GUI is shown Program, either plays audio-video document that the Client GUI is shown etc. or prints what the graphical interfaces was shown File etc..
Specifically, input interface 55 can be with least one of lower interface:Audio input interface, video input connect Mouth, Universal Serial Bus Interface (Universal Serial BUS, abbreviation USB).The input interface of meaning of the embodiment of the present invention Not limited to this, it is not exhaustive one by one herein.
For example, the operation requests that user can be by mouse to a certain application, user can also pass through audio input The operation requests of voice.
The HTML5 Canvas submodules 512, are additionally operable to seizure user and are connect by input interface 55 and/or human-computer interaction The operation requests are sent to the WebSocket servers 511 by the operation requests of the input of mouth 56;
The WebSocket servers submodule 511, is additionally operable to the operation requests being transmitted to the calling module 52;
Whether the calling module 52, also need the graphical interfaces current to client to carry out with the definite operation requests Operation;If it is determined that the operation requests need not the graphical interfaces current to client operate, then by the operation requests It is converted into the form of RDP agreements support.
Then, which is sent to the server by the communication module 53.
Further, the WebSocket servers submodule 511, if it is definite described to be additionally operable to the calling module 52 Operation requests need the graphical interfaces current to client to operate, and the operation requests are sent to the calling module 52, so that the calling module 52 calls corresponding local API module 53.
Wherein, the operation requests for needing the graphical interfaces current to client to be operated include:Zoom in or out The operation requests of graphical interfaces.
Optionally, the calling module 52 specially gateway plug-in unit, the exemplary client that may be referred to shown in Fig. 3.
It should be noted that affiliated those skilled in the art can be understood that, for convenience and simplicity of description, The specific work process of the client of the remote desktop operation of foregoing description and description, it is real to may be referred to embodiment one, two methods The corresponding process in example is applied, details are not described herein.
An embodiment of the present invention provides a kind of client of remote desktop operation, since the client is in access remote service When device, remain able to call the API of local client, when so carrying out remote desktop operation based on browser, i.e., right While the operation that view data carries out is realized using HTML, the extended channel of RDP agreements can also be supported, by described pair of extension The operation that data carry out can be redirected to local client, call corresponding local API to perform.
Through the above description of the embodiments, it is apparent to those skilled in the art that, for description It is convenienct and succinct, can as needed will be upper only with the division progress of above-mentioned each function module for example, in practical application State function distribution to be completed by different function modules, i.e., the internal structure of device is divided into different function modules, to complete All or part of function described above.The specific work process of the system, apparatus, and unit of foregoing description, before may be referred to The corresponding process in embodiment of the method is stated, details are not described herein.
In several embodiments provided herein, it should be understood that disclosed system, apparatus and method can be with Realize by another way.For example, device embodiment described above is only schematical, for example, the module or The division of unit, is only a kind of division of logic function, can there is other dividing mode, such as multiple units when actually realizing Or component can combine or be desirably integrated into another system, or some features can be ignored, or not perform.It is another, institute Display or the mutual coupling, direct-coupling or communication connection discussed can be by some interfaces, device or unit INDIRECT COUPLING or communication connection, can be electrical, machinery or other forms.
The unit illustrated as separating component may or may not be physically separate, be shown as unit The component shown may or may not be physical location, you can with positioned at a place, or can also be distributed to multiple In network unit.Some or all of unit therein can be selected to realize the mesh of this embodiment scheme according to the actual needs 's.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, can also That unit is individually physically present, can also two or more units integrate in a unit.Above-mentioned integrated list Member can both be realized in the form of hardware, can also be realized in the form of SFU software functional unit.
If the integrated unit is realized in the form of SFU software functional unit and is used as independent production marketing or use When, it can be stored in a computer read/write memory medium.Based on such understanding, technical scheme is substantially The part to contribute in other words to the prior art or all or part of the technical solution can be in the form of software products Embody, which is stored in a storage medium, including some instructions are used so that a computer It is each that equipment (can be personal computer, server, or network equipment etc.) or processor (processor) perform the present invention The all or part of step of embodiment the method.And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD Etc. it is various can be with the medium of store program codes.
The above description is merely a specific embodiment, but protection scope of the present invention is not limited thereto, any Those familiar with the art the invention discloses technical scope in, change or replacement can be readily occurred in, should all be contained Cover within protection scope of the present invention.Therefore, protection scope of the present invention should be based on the protection scope of the described claims.

Claims (13)

1. a kind of method of remote desktop operation, the method be based on the 5th version HTML5 browsers of hypertext markup language into Row remote desktop operation, it is characterised in that this method includes:
Receive the Remote Desktop Protocol RDP operational orders that server is sent;
Determine whether the RDP operational orders need to be called the local interface of client;
If the RDP operational orders need to be called the local interface of client, according to RDP operational orders calling pair The application programming interfaces API for the client answered, so that the operation that RDP operational orders described in the client executing are asked.
2. according to the method described in claim 1, it is characterized in that, described determine whether the RDP operational orders are asked to visitor The local interface at family end be called including:
Determine whether the RDP operational orders need the HTML5 browsers to handle graphical interfaces data, if not, Determine that the RDP operational orders need to be called the local interface of client.
3. according to the method described in claim 2, it is characterized in that, further include:
If the RDP operational orders need the HTML5 browsers to handle graphical interfaces data, described in calling HTML5 browsers, so that the HTML5 browsers carry out the RDP operational orders parsing generation image information.
4. according to the method described in claim 3, it is characterized in that, before the calling HTML5 browsers, further include: The RDP operational orders are converted into the form of HTML5 agreements support.
5. according to claim 1-4 any one of them methods, it is characterised in that this method further includes:
Receive the second operation requests that the HTML5 browsers are sent according to user's operation, the second operation requests needs pair The current graphical interfaces of client is operated;
According to second operation requests, the local interface of the client is called, so that the client executing The operation of the second operational order request.
6. according to the method described in claim 5, it is characterized in that, second operation requests are to zoom in or out the figure The operation requests at interface.
7. a kind of client of remote desktop operation, it is characterised in that the client includes:HTML5 browser modules, communication mould Block, local application interface API module and calling module;
The HTML5 browser modules, for carrying out remote desktop based on the 5th version HTML5 browsers of hypertext markup language Operation;
The communication module, for receiving the Remote Desktop Protocol RDP operational orders of server transmission;
The calling module, for determining whether the RDP operational orders need to be called the local interface of client, if Need, the local API module of corresponding client is called according to the RDP operational orders, if need not, call the HTML5 Browser module;
The local API module, for when receiving the call instruction of the calling module, performing the RDP operational orders The operation of request.
8. client according to claim 7, it is characterised in that if the Remote Desktop Protocol RDP operations that server is sent Order needs to handle graphical interfaces data, and the HTML5 browser modules are additionally operable to carry out the RDP operational orders Parsing generation image information.
9. client according to claim 8, it is characterised in that the HTML5 browser modules include:WebSocket Server submodule and HTML5Canvas submodules;
The calling module, is additionally operable to the RDP operational orders being converted into the form of HTML5 agreements support;
The WebSocket servers submodule, it is described for the operational order of transformed support HTML5 agreements to be sent to HTML5Canvas submodules;
The HTML5Canvas submodules, for the transformed operational order to be carried out parsing generation image information.
10. client according to claim 9, it is characterised in that the client further includes input interface, human-computer interaction Interface;
The HTML5Canvas submodules, are additionally operable to catch the behaviour that user is inputted by input interface and/or human-computer interaction interface Ask, the operation requests are sent to the WebSocket servers submodule;
The WebSocket servers submodule, is additionally operable to the operation requests being transmitted to the calling module;
The calling module, is additionally operable to determine whether the operation requests need the graphical interfaces current to client to grasp Make;If it is determined that the operation requests need not the graphical interfaces current to client operate, then by the operation requests turn Change the form of RDP agreements support into.
11. client according to claim 10, it is characterised in that the WebSocket servers submodule, is additionally operable to If the operation requests need the graphical interfaces current to client to operate, the operation requests are sent to the calling Module, so that the calling module calls corresponding local API module.
12. client according to claim 11, it is characterised in that it is described need the graphical interfaces current to client into The operation requests of row operation include:Zoom in or out the operation requests of graphical interfaces.
13. according to claim 7-11 any one of them clients, it is characterised in that the calling module is gateway plug-in unit.
CN201310091463.9A 2013-03-21 2013-03-21 The method and client of a kind of remote desktop operation Active CN104065679B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310091463.9A CN104065679B (en) 2013-03-21 2013-03-21 The method and client of a kind of remote desktop operation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310091463.9A CN104065679B (en) 2013-03-21 2013-03-21 The method and client of a kind of remote desktop operation

Publications (2)

Publication Number Publication Date
CN104065679A CN104065679A (en) 2014-09-24
CN104065679B true CN104065679B (en) 2018-04-20

Family

ID=51553210

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310091463.9A Active CN104065679B (en) 2013-03-21 2013-03-21 The method and client of a kind of remote desktop operation

Country Status (1)

Country Link
CN (1) CN104065679B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104618435B (en) * 2014-12-29 2016-11-09 北京奇虎科技有限公司 Realize method and the long-distance desktop management system of remote desktop
CN104917774A (en) * 2015-06-16 2015-09-16 顾健 Application secure virtual releasing technical equipment based on intelligent terminal and operation method
CN106341453A (en) * 2016-08-23 2017-01-18 北京永信至诚科技股份有限公司 High-speed virtual desktop agent building method and high-speed virtual desktop agent building system based on HTML5
EP3693850A4 (en) 2017-10-23 2020-10-21 Huawei Technologies Co., Ltd. Graphics processing method, and related apparatus and device
CN109857507B (en) * 2019-02-21 2022-03-08 成都安恒信息技术有限公司 Method for automatically and remotely executing Windows program
CN112584221A (en) * 2020-11-06 2021-03-30 西安万像电子科技有限公司 Image acquisition method and system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102148842A (en) * 2010-02-08 2011-08-10 联想(北京)有限公司 Audio processing method and equipment for remote desktop protocol
CN102833338A (en) * 2012-08-31 2012-12-19 福建升腾资讯有限公司 Remote desktop display method based on Web
CN102959597A (en) * 2010-05-28 2013-03-06 罗伯特·博世有限公司 Remote control of a telephone

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8589800B2 (en) * 2010-12-10 2013-11-19 Wyse Technology Inc. Methods and systems for accessing and controlling a remote desktop of a remote machine in real time by a web browser at a client device via HTTP API utilizing a transcoding server
US20120246554A1 (en) * 2011-03-23 2012-09-27 Ericom Software Ltd. Performing binary composition of images onto an html canvas element
US20120331032A1 (en) * 2011-06-22 2012-12-27 Microsoft Corporation Remote Presentation Session Connectionless Oriented Channel Broker

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102148842A (en) * 2010-02-08 2011-08-10 联想(北京)有限公司 Audio processing method and equipment for remote desktop protocol
CN102959597A (en) * 2010-05-28 2013-03-06 罗伯特·博世有限公司 Remote control of a telephone
CN102833338A (en) * 2012-08-31 2012-12-19 福建升腾资讯有限公司 Remote desktop display method based on Web

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
《基于Web浏览器的桌面虚拟化***》;梁小锋;《中国优秀硕士学位论文全文数据库(电子期刊)信息科技辑》;20120731(第7期);第17-35页 *

Also Published As

Publication number Publication date
CN104065679A (en) 2014-09-24

Similar Documents

Publication Publication Date Title
CN104065679B (en) The method and client of a kind of remote desktop operation
DE60319962T2 (en) MULTI MODE SYNCHRONIZATION
CN110806934A (en) RPA technology-based intelligent all-in-one machine development and multi-service rapid processing method
CN103916412B (en) A kind of method and system of information technoloy equipment novel maintenance
CN108322530A (en) Transmission method, device, gateway and the storage medium of context information
CN102272747A (en) Method and apparatus for managing state information of remote user interface
CN105205072B (en) The methods of exhibiting and system of webpage information
KR20010111380A (en) An internet service apparatus and service method
CN107831974A (en) information sharing method, device and storage medium
CN101459564A (en) Information processing device and home network system
CN102752388A (en) Browser-based interactive system, browser-based interactive method, browser and cloud server
CN102904959A (en) Network accelerating method and gateway
CN104079597A (en) Transfer method of media stream and user equipment
CN1327327A (en) Data distribution device and method
CN103607654A (en) A mobile terminal auxiliary input apparatus based on a multi-screen cooperation system and a method
CN103457981B (en) Call center's Operator Position System, implementation method and terminal
CN103155530B (en) Merge including network-telecommunications that script command is downloaded to user terminal
CN109740096A (en) A kind of implementation method of live preview, device, system and storage medium
CN101771928A (en) Method and system and proxy server for Webpage transmitting
CN102959546A (en) Method and apparatus for converting content
CN103036903A (en) Data processing method and web service assembly
CN104506414B (en) A kind of system and method that roundupization application is realized based on instant message pattern
CN101834894A (en) Method, device and system for remote processing
CN103181140A (en) Method, media server and terminal device for identifying service request type
CN103365859A (en) Method for processing network mouse clicking events

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20220211

Address after: 550025 Huawei cloud data center, jiaoxinggong Road, Qianzhong Avenue, Gui'an New District, Guiyang City, Guizhou Province

Patentee after: Huawei Cloud Computing Technology Co.,Ltd.

Address before: 518129 Bantian HUAWEI headquarters office building, Longgang District, Guangdong, Shenzhen

Patentee before: HUAWEI TECHNOLOGIES Co.,Ltd.

TR01 Transfer of patent right