CN103944926A - Remote desktop session switching method, client and gateway - Google Patents
Remote desktop session switching method, client and gateway Download PDFInfo
- Publication number
- CN103944926A CN103944926A CN201310017049.3A CN201310017049A CN103944926A CN 103944926 A CN103944926 A CN 103944926A CN 201310017049 A CN201310017049 A CN 201310017049A CN 103944926 A CN103944926 A CN 103944926A
- Authority
- CN
- China
- Prior art keywords
- client
- remote desktop
- session
- gateway
- switching notice
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 53
- 230000004044 response Effects 0.000 claims description 14
- 230000005540 biological transmission Effects 0.000 claims description 13
- 238000010586 diagram Methods 0.000 description 9
- 238000005516 engineering process Methods 0.000 description 5
- 238000001514 detection method Methods 0.000 description 4
- 230000006870 function Effects 0.000 description 4
- 230000008569 process Effects 0.000 description 3
- 238000004891 communication Methods 0.000 description 2
- 230000009471 action Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 238000004321 preservation Methods 0.000 description 1
Landscapes
- Computer And Data Communications (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention relates to a remote desktop session switching method. The method comprises the steps that through a remote desktop gateway, remote desktop session between a first client and a remote desktop server is built; a first session switching notification is sent to the remote desktop gateway, so as to indicate the remote desktop gateway that a client of the remote desktop session needs to switch from the first client to a second client; a second session switching notification is sent to the second client, and the second session switching notification is used for tell the second client to establish connection with the remote desktop gateway; and the built connection between the first client and the remote desktop gateway is cut off. According to the method provided by the embodiment of the invention, the problems of long waiting time and seamless switching, which are caused by the fact that remote desktop session with a new client is built after the remote desktop session between the first client and the remote desktop server is cut off, are avoided.
Description
Technical field
The present invention relates to IT technical field, be specifically related to a kind of remote desktop conversation switching method, client and gateway.
Background technology
It is a kind of technology realizing based on applying virtual technology that remote application is delivered, and applying virtual is combined application program with operating system, for application program provides a virtual running environment.In this environment, not only comprise the executable file of application program, also comprise the needed running environment of application program.Remote desktop technology, it is exactly the one application of remote application delivery technology, as described in Figure 1, multiple clients (such as computer, panel computer, smart mobile phone, thin-client) etc., all can pass through a remote desktop gateway (gateway, GW) set up session with remote server cluster, carry out remote session with remote desktop server, remote application server etc. in remote server cluster, realize the operations such as telecommuting.
Prior art medium-long range desktop gateway implementation is: after remote desktop client and remote desktop service end connect, if need to switching client, user must first disconnect current session of having set up, then use new client to re-establish remote desktop session, that is to say, can not keep current remote desktop session, user's use is made troubles.
Summary of the invention
The object of this invention is to provide a kind of remote desktop conversation switching method, to realize in the situation that constantly opening remote service, between multiple clients, realize remote desktop session and switch.
First aspect, the embodiment of the present invention provides a kind of remote desktop conversation switching method, and described method comprises:
By remote desktop gateway, set up the remote desktop session between the first client and remote desktop server;
Send the first session switching notice to remote desktop gateway, described the first switching notice is in order to indicate the client of remote desktop session described in described remote desktop gateway to be switched to the second client from described the first client, to make described remote desktop gateway retain the remote desktop session between described the first client and remote desktop server according to described the first session switching notice, and return to the ready response message of switching;
Send the second session switching notice to described the second client, described the second session switching notice is used for informing that described the second client and described remote desktop gateway connect;
Disconnect being connected of having set up between described the first client and described remote desktop gateway.
Based on first aspect, in the possible execution mode of the first of the embodiment of the present invention, described send the first session switching notice to remote desktop gateway before, also comprise:
Described the first client search can be used for the second client that remote desktop switches;
In the time searching the second client that can be used for switching, send session handover request to described the second client, described session handover request is carried out remote desktop session switching for request and described the second client;
Described sends the first session switching notice to remote desktop gateway, is specially:
Receiving after the permission session switching notice of described the second client transmission, send the first session switching notice to remote desktop gateway.
Based on first aspect or in the possible execution mode of the first of the embodiment of the present invention, also provide the second possible execution mode, described the first session switching notice comprises the identification information of described the second client.
Second aspect, the embodiment of the present invention provides a kind of remote desktop conversation switching method, and described method comprises:
Receive the session handover request that the first client sends, described session handover request is carried out remote desktop session switching for request and the second client;
Send and allow session switching notice to described the first client;
Receive the second session switching notice that described the first client sends, described the second session switching notice is used for informing that described the second client and described remote desktop gateway connect;
According to described the second session switching notice, foundation is connected with described remote desktop gateway.
Based on second aspect, in the possible execution mode of the first of the embodiment of the present invention, before the session handover request that described the first client of described reception sends, also comprise:
Receive the connection foundation request that described the first client sends;
Set up request according to described connection, connect with described the first client.
Based on second aspect, in the third possible execution mode of the embodiment of the present invention, described permission session switching notice comprises the identification information of described the second client.
The third aspect, the embodiment of the present invention provides a kind of remote desktop conversation switching method, and described method comprises:
If set up the remote desktop session between the first client and remote desktop server by remote desktop gateway, described remote desktop gateway receives the first session switching notice that described the first client sends, and described the first session switching notice is in order to indicate the client of remote desktop session described in described remote desktop gateway to be switched to the second client from described the first client;
Retain the remote desktop session between described the first client and remote desktop server according to described the first session switching notice, and return and switch ready response message, described switching Notice of Readiness is in order to inform described in described the first client that remote desktop gateway is ready to session and switches;
Set up being connected between described remote desktop gateway and described the second client;
Disconnect being connected between described remote desktop gateway and described the first client.
Based on the third aspect, in the possible execution mode of the first of the embodiment of the present invention, described the first session switching notice comprises the identification marking at one's side of described the second client, the first session switching notice that described reception the first client sends, afterwards, also comprise:
Preserve the described identification mark of described the second client.
In the possible execution mode of the first based on the third aspect, also provide the second possible execution mode, after described and described the second client connects, also comprised:
The identification marking at one's side of described the second client that the described first session switching notice of preserving by described remote desktop gateway comprises, detects the legitimacy of described the second client.
Fourth aspect, the embodiment of the present invention provides a kind of client, and described client comprises:
Session establishment unit, in order to by remote desktop gateway, sets up the remote desktop session between the first client and remote desktop server;
The first transmitting element, in order to send the first session switching notice to remote desktop gateway, described the first switching notice is in order to indicate the client of remote desktop session described in described remote desktop gateway to be switched to the second client from described the first client, to make described remote desktop gateway retain the remote desktop session between described the first client and remote desktop server according to described the first session switching notice, and return to the ready response message of switching;
The second transmitting element, in order to send the second session switching notice to described the second client, described the second session switching notice is used for informing that described the second client and described remote desktop gateway connect;
Control unit, for disconnecting being connected of having set up between described the first client and described remote desktop gateway.
Based on fourth aspect, in the possible execution mode of the first of the embodiment of the present invention, described client, also comprises:
Search unit, can be used for for described the first client search the second client that remote desktop switches;
The 3rd transmitting element, in the time searching the second client that can be used for switching, sends session handover request to described the second client, and described session handover request is carried out remote desktop session switching for request and described the second client;
Described the first transmitting element specifically for:
Receiving after the permission session switching notice of described the second client transmission, send the first session switching notice to remote desktop gateway.
The 5th aspect, the embodiment of the present invention provides a kind of client, and described client comprises:
The first receiving element, the described session handover request sending for receiving the first client, described session handover request is carried out remote desktop session switching for request and described the second client;
Transmitting element, for sending and allow session switching notice to described the first client;
The second receiving element, the second session switching notice sending for receiving described the first client, described the second session switching notice is used for informing that described the second client and described remote desktop gateway connect;
Linkage unit, for according to described the second session switching notice, sets up and being connected of described remote desktop gateway.
The 6th aspect, the embodiment of the present invention provides a kind of remote desktop gateway, and described remote desktop gateway comprises:
Receiving element, if for having set up the remote desktop session between the first client and remote desktop server by remote desktop gateway, described remote desktop gateway receives the first session switching notice that described the first client sends, and described the first session switching notice is in order to indicate the client of remote desktop session described in described remote desktop gateway to be switched to the second client from described the first client;
Processing unit, for retaining the remote desktop session between described the first client and remote desktop server according to described the first session switching notice, and return and switch ready response message, described switching Notice of Readiness is in order to inform described in described the first client that remote desktop gateway is ready to session and switches;
Linkage unit, for setting up being connected between described remote desktop gateway and described the second client;
Control unit, for disconnecting being connected between described remote desktop gateway and described the first client.
The embodiment of the present invention provides a kind of remote desktop conversation switching method, set up the first client of remote desktop session by remote desktop gateway and remote desktop server, after finding switchable the second client, send the first session switching notice to remote desktop gateway, send the second session switching notice to described the second client, inform that the second client and described remote desktop gateway connect, disconnect afterwards the remote desktop session of having set up between described remote desktop gateway, thereby realize and between different clients, carry out remote desktop session seamless switching.Avoid because disconnecting after the remote desktop session between the first client and remote desktop server, then set up with new client length and the seamless switching problem of stand-by period that remote desktop session causes.
Brief description of the drawings
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, to the accompanying drawing of required use in embodiment or description of the Prior Art be briefly described below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, do not paying under the prerequisite of creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is the application scenarios schematic diagram of remote desktop technology;
The flow chart of a kind of embodiment of remote desktop conversation switching method that Fig. 2 provides for the embodiment of the present invention;
Fig. 3 is the flow chart of searching for changeable client in the embodiment of the present invention;
Fig. 4 is the flow chart of the another kind of embodiment of remote desktop conversation switching method provided by the invention;
Fig. 5 is the flow chart of the another kind of embodiment of remote desktop conversation switching method provided by the invention;
Fig. 6 is the interaction mode schematic diagram of the remote desktop conversation switching method that provides of the embodiment of the present invention;
Fig. 7 is the structural representation of a kind of embodiment of client of providing of the embodiment of the present invention;
Fig. 8 is the structural representation of the another kind of embodiment of the client that provides of the embodiment of the present invention;
Fig. 9 is the structural representation of a kind of embodiment of remote desktop gateway of providing of the embodiment of the present invention;
Figure 10 is the structural representation of the another kind of embodiment of the client that provides of the embodiment of the present invention;
Figure 11 is the structural representation of the another kind of embodiment of the client that provides of the embodiment of the present invention;
Figure 12 is the structural representation of the another kind of embodiment of remote desktop gateway provided by the invention.
Embodiment
Below by drawings and Examples, technical scheme of the present invention is described in further detail.
The remote desktop conversation switching method that the embodiment of the present invention provides can be applied under the scenes such as mobile office, set up the first client of remote desktop session by remote desktop gateway and remote desktop server, after finding switchable the second client, send the first session switching notice to remote desktop gateway, receiving after the Notice of Readiness of described remote desktop gateway transmission, send the second session switching notice to described the second client, inform that the second client and described remote desktop gateway connect, disconnect afterwards the remote desktop session of having set up between described remote desktop gateway, thereby realize and between different clients, carry out remote desktop session seamless switching.Wherein, the first client and the second client are including but not limited to smart mobile phone, panel computer, thin-client (Thin Client, TC), personal computer (Personal Computer, PC) etc., remote desktop server comprises but does not limit remote desktop server, Yuncheng application server etc.By the embodiment of the present invention, can avoid because disconnecting after the remote desktop session between the first client and remote desktop server, then set up with new client length and the seamless switching problem of stand-by period that remote desktop session causes.
As shown in Figure 2, the embodiment of the present invention provides a kind of remote desktop conversation switching method, and described method can be applied in various equipment such as thin-client, PC, panel computer, and described method comprises:
201, by remote desktop gateway, set up the remote desktop session between the first client and remote desktop server;
Particularly, before carrying out remote desktop session switching, the first client has been set up remote desktop session by remote desktop gateway and remote desktop server, and guarantee session status, under user controls, remote desktop session need to be switched to other client from the first client, but not interrupt and the direct session status of remote desktop server, therefore the executive agent of the present embodiment is the first client.
202, send the first session switching notice to remote desktop gateway, described the first switching notice is in order to indicate the client of remote desktop session described in described remote desktop gateway to be switched to the second client from described the first client, to make described remote desktop gateway retain the remote desktop session between described the first client and remote desktop server according to described the first session switching notice, and return to the ready response message of switching;
Particularly, described the first client can send the first session switching notice to described remote desktop gateway by network after having selected can be used for the second client of session switching.
In execution mode preferably, as shown in Figure 3, the first client, before sending the first session switching notice to remote desktop gateway, can also be carried out:
301, search can be used for the second client that remote desktop switches;
Concrete, described the first client can be searched in surrounding environment by modes such as bluetooth, infrared ray, WIFI other client, after searching available client, in the first client, corresponding client can be carried out to list demonstration.
302, in the time searching the second client that can be used for switching, send session handover request to described the second client, described session handover request is carried out remote desktop session switching for request and described the second client;
Particularly, in the time that the first client searches multiple client that can be used for switching, select a client, and the client of choosing by wired or wireless mode and the first client connects, the client that session that what now the first client was selected can be used for is switched is the second client.The second client can be the equipment identical with the first client, can be also different equipment.
After connecting with the second client, the first client sends session handover request to the second client, the session between the first client and remote desktop gateway is switched to the second client by request, the second client can be selected to accept the session handover request that the first client sends, and also can select refusal.
If the second client is accepted the session handover request of the first client, the second client can send to the first client by the identity identification information of self, the action of the first client executing step 201, and can in the first session switching notice, carry the identification information at one's side of the second client, if the second client is refused the session handover request of the first client, the first client need to reselect client and send session handover request.
202, send the second session switching notice to described the second client, described the second session switching notice is used for informing that described the second client and described remote desktop gateway connect;
Particularly, after the first session switching notice is sent to remote desktop gateway by the first client, remote desktop gateway is preserved session, for example, the identification information at one's side of second client of carrying in described the first session switching notice is preserved, and prepared to carry out session switching.After ready, to the first client transmitter ready notice, inform that the first client remote desktop gateway has been ready to session and has switched, in this case, remote desktop gateway keeps the session between the first client and remote desktop server.
The first client, after receiving the Notice of Readiness of remote desktop gateway transmission, sends the second session switching notice to the second client, and notice is used for informing that described the second client and described remote desktop gateway connect.
203, disconnect the remote desktop session of having set up between described remote desktop gateway.
Particularly, after described the second client sends the second session switching notice, the second client and remote desktop gateway connect, remote desktop gateway carries out legitimacy detection according to the identification information at one's side of second client of preserving to the second client, after the second client identity identification information of confirming the preservation of the second client and remote desktop gateway is corresponding, disconnect the first remote desktop session having existed between the first client, or, notify the first client initiatively to cut off the remote desktop session of having set up between remote desktop gateway.Remote desktop gateway and the second client are set up the second remote desktop session, between the second client and remote desktop server, set up remote desktop session simultaneously, due in whole process, user needs to disconnect remote desktop session hardly, therefore session handoff procedure respective user is equivalent to seamless switching, and need the very short time, switching efficiency is higher.
After 203, the first client can be selected to disconnect being connected between the second client, also can select to keep connection status.
By the above embodiments, can avoid because disconnecting after the remote desktop session between the first client and remote desktop server, then set up with new client length and the seamless switching problem of stand-by period that remote desktop session causes.
As shown in Figure 4, the embodiment of the present invention provides a kind of remote desktop conversation switching method, the executive agent of this embodiment is the second client, namely initial condition is not and between remote desktop gateway, set up remote desktop session, but the client of the session handover request of reception the first client, described method comprises:
401, receive the described session handover request that the first client sends, described session handover request is carried out remote desktop session switching for request and described the second client;
Particularly, after the first client searches the second client that can be used for switching, receive the connection foundation request that the first client sends, set up request according to described connection, connect with described the first client.
After connecting with the first client, the second client is monitored the first client and whether is sent session handover request with the second client, and described session handover request is carried out remote desktop session switching for request and described the second client.
After the second client receives by bluetooth, the mode such as wireless the described session handover request that the first client sends, self judge whether to accept described session handover request according to the second client, if the second client selects to accept session handover request, perform step 402, if the second client is selected the described session handover request of refusal, finish.
402, send and allow session switching notice to described the first client;
Particularly, described the second client, after accepting the session handover request of described the first client transmission, sends and allows session switching notice to the first client, informs described the first client, and the second client can be carried out session switching.
The second client can be chosen in and allow, in session switching notice, the identification information of the second client to be sent to the first client, so that the first client sends it to remote desktop gateway, carries out legitimacy detection.
403, receive the second session switching notice that described the first client sends, described the second session switching notice is used for informing that described the second client and described remote desktop gateway connect;
Particularly, the first client is after receiving the permission session switching notice of the second client transmission, send the first session switching notice to remote desktop gateway, described in described the first session switching notice remote desktop gateway by with remote desktop server set up remote desktop session in the first client switch to described the second client, receiving after the Notice of Readiness of described remote desktop gateway transmission, send the second session switching notice to described the second client.
404, according to described the second session switching notice, foundation is connected with described remote desktop gateway.
Particularly, after the second session switching notice that the second client sends to the first client, connect with remote desktop gateway, remote desktop gateway carries out legitimacy detection according to the identification information at one's side of second client of preserving to the second client, after confirming that the second client identity identification information that the second client and remote desktop gateway are preserved is corresponding, the first remote desktop session having existed between disconnection and the first client.
Remote desktop gateway and the second client are set up the second remote desktop session, between the second client and remote desktop server, set up remote desktop session simultaneously, due in whole process, user needs to disconnect remote desktop session hardly, therefore session handoff procedure respective user is equivalent to seamless switching, and need the very short time, switching efficiency is higher.
As shown in Figure 5, the embodiment of the present invention also provides a kind of remote desktop conversation switching method, the executive agent of this kind of embodiment is remote desktop gateway, and initial condition remote desktop gateway and the first client have been set up and kept remote desktop session status, and described method comprises:
501, if set up the remote desktop session between the first client and remote desktop server by remote desktop gateway, described remote desktop gateway receives the first session switching notice that described the first client sends, and described the first session switching notice is in order to indicate the client of remote desktop session described in described remote desktop gateway to be switched to the second client from described the first client;
Particularly, described the first client can send the first session switching notice to described remote desktop gateway by network after having selected can be used for the second client of session switching.The client that can be used for session switching of the first client selection is the second client.The second client can be the equipment identical with the first client, can be also different equipment.
The first client is after connecting with the second client, send session handover request to the second client, the session between the first client and remote desktop gateway is switched to the second client by request, after the second client has selected to accept the session handover request of the first client transmission, the identity identification information of self is sent to the first client, and the first client executing step is carried the identification information at one's side of the second client in the first session switching notice.
502, retain the remote desktop session between described the first client and remote desktop server according to described the first session switching notice, and return and switch ready response message, described switching Notice of Readiness is in order to inform described in described the first client that remote desktop gateway is ready to session and switches;
Particularly, after receiving the first session switching notice of the first client transmission, remote desktop gateway is preserved session, for example, the identification information at one's side of second client of carrying in described the first session switching notice is preserved, and prepared to carry out session switching.After ready, to the first client transmitter ready notice, inform that the first client remote desktop gateway has been ready to session and has switched.
503, set up being connected between described remote desktop gateway and described the second client;
Particularly, the first client, after receiving the Notice of Readiness of remote desktop gateway transmission, sends the second session switching notice to the second client, and notice is used for informing that described the second client and described remote desktop gateway connect.After described the second client sends the second session switching notice, remote desktop gateway and the second client connect, remote desktop gateway carries out legitimacy detection according to the identification information at one's side of second client of preserving to the second client, after confirming that the second client identity identification information that the second client and remote desktop gateway are preserved is corresponding, perform step 504.
504, disconnect being connected between described remote desktop gateway and described the first client.
Particularly, remote desktop gateway can select initiatively to disconnect the first remote desktop session having existed between the first client, or notifies the first client initiatively to cut off the remote desktop session of having set up between remote desktop gateway.Perform step afterwards 505.
Particularly, between the second client and remote desktop server, set up remote desktop session simultaneously, due in whole process, user needs to disconnect remote desktop session hardly, therefore session handoff procedure respective user is equivalent to seamless switching, and need the very short time, switching efficiency is higher.
As shown in Figure 6, the mutual reference diagram of state of its remote desktop conversation switching method providing for the embodiment of the present invention, as shown in the figure, the remote desktop conversation switching method that the embodiment of the present invention provides comprises:
601. first clients are searched for the client device of changeable session;
602. search switchable mobile client list, and select target equipment carries out network connection;
603. first customer end A send session handover request to the second customer end B;
604.B responds A and allows to switch, and sends the only identifier of a mark B identity;
605. first customer end A are by the first session switching notice, and remote desktop session is switched to mobile client B by notice remote desktop gateway.
606. remote desktop gateways are preserved the session information of current the first customer end A and server, then return to the first client Notice of Readiness.
607. first customer end A notify the second customer end B to carry out session switching by the second session switching notice.
608. second customer end B connect remote desktop gateway, and remote desktop gateway checks the legitimacy of the second customer end B.
609. remote desktop gateways disconnect and the remote desktop session connection before of the first customer end A.
610. remote desktop gateways and the second customer end B are recovered the session information of the first customer end A before.
611. be successfully recovered after, the second customer end B and the first customer end A disconnect, the second customer end B continues to use the remote desktop session using before the first customer end A.
Detailed step, can, referring to the embodiment shown in Fig. 2-Fig. 5, seldom repeat.
Accordingly, as shown in Figure 7, the embodiment of the present invention provides a kind of client, and described client can be the equipment such as smart mobile phone, panel computer, thin-client, the first client 700 in corresponding previous embodiment, and described the first client comprises:
Session establishment unit 701, in order to by remote desktop gateway, sets up the remote desktop session between the first client and remote desktop server;
The first transmitting element 702, in order to send the first session switching notice to remote desktop gateway, described the first switching notice is in order to indicate the client of remote desktop session described in described remote desktop gateway to be switched to the second client from described the first client, to make described remote desktop gateway retain the remote desktop session between described the first client and remote desktop server according to described the first session switching notice, and return to the ready response message of switching;
The second transmitting element 703, in order to send the second session switching notice to described the second client, described the second session switching notice is used for informing that described the second client and described remote desktop gateway connect;
Control unit 704, for disconnecting being connected of having set up between described the first client and described remote desktop gateway.
In execution mode preferably, the first client 700 can also comprise:
Search unit, can be used for for described the first client search the second client that remote desktop switches;
The 3rd transmitting element, in the time searching the second client that can be used for switching, sends session handover request to described the second client, and described session handover request is carried out remote desktop session switching for request and described the second client;
Described the first transmitting element 701 specifically for:
Receiving after the permission session switching notice of described the second client transmission, send the first session switching notice to remote desktop gateway.
In execution mode preferably, the first client 700 can also comprise receiving element, after sending the first session switching notice at described the first transmitting element to remote desktop gateway:
Receive the Notice of Readiness that described remote desktop gateway sends, described Notice of Readiness is used for informing that described Notice of Readiness is in order to inform described in described the first client that remote desktop gateway is ready to session and switches.
Accordingly, as shown in Figure 8, the embodiment of the present invention provides a kind of client, and described client can be the equipment such as smart mobile phone, panel computer, thin-client, the second client 800 in corresponding previous embodiment, and described the second client comprises:
The first receiving element 801, the described session handover request sending for receiving the first client, described session handover request is carried out remote desktop session switching for request and described the second client;
Transmitting element 802, for sending and allow session switching notice to described the first client;
The second receiving element 803, the second session switching notice sending for receiving described the first client, described the second session switching notice is used for informing that described the second client and described remote desktop gateway connect;
Linkage unit 804, for according to described the second session switching notice, sets up and being connected of described remote desktop gateway.
It should be noted that the embodiment described in Fig. 7 and Fig. 8 is only used to the remote desktop conversation switching method shown in corresponding diagram 2 and Fig. 5, in actual applications, the first client and the second client can be integrated in same equipment completely, seldom repeat.
Accordingly, as shown in Figure 9, the embodiment of the present invention provides a kind of remote desktop gateway, and described remote desktop gateway 900 comprises:
Receiving element 901, if for having set up the remote desktop session between the first client and remote desktop server by remote desktop gateway, described remote desktop gateway receives the first session switching notice that described the first client sends, and described the first session switching notice is in order to indicate the client of remote desktop session described in described remote desktop gateway to be switched to the second client from described the first client;
Processing unit 902, for retaining the remote desktop session between described the first client and remote desktop server according to described the first session switching notice, and return and switch ready response message, described switching Notice of Readiness is in order to inform described in described the first client that remote desktop gateway is ready to session and switches;
Linkage unit 903, for setting up being connected between described remote desktop gateway and described the second client;
Control unit 904, for disconnecting being connected between described remote desktop gateway and described the first client.
Above-described embodiment is that therefore, the modules comprising in described remote desktop gateway is the virtual module of dividing according to function, in actual applications, can combine according to demand, seldom repeats in order to realize the method described in Fig. 5.
In addition, the embodiment of the present invention provides a kind of client, the schematic diagram of the client that Figure 10 provides for the embodiment of the present invention, as shown in the figure, executive agent in the present embodiment corresponding diagram 2, the first client, the present embodiment comprises network interface 11, processor 12 and memory 13.System bus 14 is for interconnection network interface 11, processor 12 and memory 13.
Network interface 11 for remote desktop gateway communication.
Memory 13 can be permanent memory, and for example hard disk drive and flash memory have software module and device driver in memory 13.Software module can be carried out the various functional modules of said method of the present invention; Device driver can be network and interface drive program.
In the time starting, these component softwares are loaded in memory 13, are then accessed and carry out as given an order by processor 12:
By remote desktop gateway, set up the remote desktop session between the first client and remote desktop server;
Send the first session switching notice to remote desktop gateway, described the first switching notice is in order to indicate the client of remote desktop session described in described remote desktop gateway to be switched to the second client from described the first client, to make described remote desktop gateway retain the remote desktop session between described the first client and remote desktop server according to described the first session switching notice, and return to the ready response message of switching;
Send the second session switching notice to described the second client, described the second session switching notice is used for informing that described the second client and described remote desktop gateway connect;
Disconnect being connected of having set up between described the first client and described remote desktop gateway.
In addition, the embodiment of the present invention provides a kind of client, the schematic diagram of the client that Figure 11 provides for the embodiment of the present invention, as shown in the figure, executive agent in the present embodiment corresponding diagram 4, the second client, the present embodiment comprises network interface 111, processor 112 and memory 113.System bus 114 is for interconnection network interface 111, processor 112 and memory 113.
Network interface 111 for internet-of-things terminal, access gateway of internet of things, bearer network, Internet of Things gateway and application server communication.
Memory 113 can be permanent memory, and for example hard disk drive and flash memory have software module and device driver in memory 113.Software module can be carried out the various functional modules of said method of the present invention; Device driver can be network and interface drive program.
In the time starting, these component softwares are loaded in memory 113, are then accessed and carry out as given an order by processor 112:
Receive the session handover request that the first client sends, described session handover request is carried out remote desktop session switching for request and the second client;
Send and allow session switching notice to described the first client;
Receive the second session switching notice that described the first client sends, described the second session switching notice is used for informing that described the second client and described remote desktop gateway connect;
According to described the second session switching notice, foundation is connected with described remote desktop gateway.
Figure 12 is the schematic diagram of embodiment of the present invention remote desktop gateway, and as shown in the figure, the present embodiment comprises network interface 121, processor 122 and memory 123.System bus 124 is for interconnection network interface 121, processor 122 and memory 123.
Network interface 121 is for communicating by letter with remote desktop server and client side.
Memory 123 can be permanent memory, and for example hard disk drive and flash memory have software module and device driver in memory 123.Software module can be carried out the various functional modules of said method of the present invention; Device driver can be network and interface drive program.
In the time starting, these component softwares are loaded in memory 123, are then accessed and carry out as given an order by processor 122:
If set up the remote desktop session between the first client and remote desktop server by remote desktop gateway, described remote desktop gateway receives the first session switching notice that described the first client sends, and described the first session switching notice is in order to indicate the client of remote desktop session described in described remote desktop gateway to be switched to the second client from described the first client;
Retain the remote desktop session between described the first client and remote desktop server according to described the first session switching notice, and return and switch ready response message, described switching Notice of Readiness is in order to inform described in described the first client that remote desktop gateway is ready to session and switches;
Set up being connected between described remote desktop gateway and described the second client;
Disconnect being connected between described remote desktop gateway and described the first client.
Professional should further recognize, unit and the algorithm steps of each example of describing in conjunction with embodiment disclosed herein, can realize with electronic hardware, computer software or the combination of the two, for the interchangeability of hardware and software is clearly described, composition and the step of each example described according to function in the above description in general manner.These functions are carried out with hardware or software mode actually, depend on application-specific and the design constraint of technical scheme.Professional and technical personnel can realize described function with distinct methods to each specifically should being used for, but this realization should not thought and exceeds scope of the present invention.
The software module that the method for describing in conjunction with embodiment disclosed herein or the step of algorithm can use hardware, processor to carry out, or the combination of the two is implemented.Software module can be placed in the storage medium of any other form known in random asccess memory (RAM), internal memory, read-only memory (ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technical field.
Above-described embodiment; object of the present invention, technical scheme and beneficial effect are further described; institute is understood that; the foregoing is only the specific embodiment of the present invention; the protection range being not intended to limit the present invention; within the spirit and principles in the present invention all, any amendment of making, be equal to replacement, improvement etc., within all should being included in protection scope of the present invention.
Claims (13)
1. a remote desktop conversation switching method, is characterized in that, described method comprises:
By remote desktop gateway, set up the remote desktop session between the first client and remote desktop server;
Send the first session switching notice to remote desktop gateway, described the first switching notice is in order to indicate the client of remote desktop session described in described remote desktop gateway to be switched to the second client from described the first client, to make described remote desktop gateway retain the remote desktop session between described the first client and remote desktop server according to described the first session switching notice, and return to the ready response message of switching;
Send the second session switching notice to described the second client, described the second session switching notice is used for informing that described the second client and described remote desktop gateway connect;
Disconnect being connected of having set up between described the first client and described remote desktop gateway.
2. the method for claim 1, is characterized in that, described send the first session switching notice to remote desktop gateway before, also comprise:
Described the first client search can be used for the second client that remote desktop switches;
In the time searching the second client that can be used for switching, send session handover request to described the second client, described session handover request is carried out remote desktop session switching for request and described the second client;
Described sends the first session switching notice to remote desktop gateway, is specially:
Receiving after the permission session switching notice of described the second client transmission, send the first session switching notice to remote desktop gateway.
3. the method for claim 1, is characterized in that, described the first session switching notice comprises the identification information of described the second client.
4. a remote desktop conversation switching method, is characterized in that, described method comprises:
Receive the session handover request that the first client sends, described session handover request is carried out remote desktop session switching for request and the second client;
Send and allow session switching notice to described the first client;
Receive the second session switching notice that described the first client sends, described the second session switching notice is used for informing that described the second client and described remote desktop gateway connect;
According to described the second session switching notice, foundation is connected with described remote desktop gateway.
5. method as claimed in claim 4, is characterized in that, before the session handover request that described the first client of described reception sends, also comprises:
Receive the connection foundation request that described the first client sends;
Set up request according to described connection, connect with described the first client.
6. method as claimed in claim 4, is characterized in that, described permission session switching notice comprises the identification information of described the second client.
7. a remote desktop conversation switching method, is characterized in that, described method comprises:
If set up the remote desktop session between the first client and remote desktop server by remote desktop gateway, described remote desktop gateway receives the first session switching notice that described the first client sends, and described the first session switching notice is in order to indicate the client of remote desktop session described in described remote desktop gateway to be switched to the second client from described the first client;
Retain the remote desktop session between described the first client and remote desktop server according to described the first session switching notice, and return and switch ready response message, described switching Notice of Readiness is in order to inform described in described the first client that remote desktop gateway is ready to session and switches;
Set up being connected between described remote desktop gateway and described the second client;
Disconnect being connected between described remote desktop gateway and described the first client.
8. method as claimed in claim 7, is characterized in that, described the first session switching notice comprises the identification marking at one's side of described the second client, after the first session switching notice that described reception the first client sends, also comprises:
Preserve the described identification mark of described the second client.
9. method as claimed in claim 8, is characterized in that, after described and described the second client connects, also comprises:
The identification marking at one's side of described the second client that the described first session switching notice of preserving by described remote desktop gateway comprises, detects the legitimacy of described the second client.
10. a client, is characterized in that, comprising:
Session establishment unit, in order to by remote desktop gateway, sets up the remote desktop session between the first client and remote desktop server;
The first transmitting element, in order to send the first session switching notice to remote desktop gateway, described the first switching notice is in order to indicate the client of remote desktop session described in described remote desktop gateway to be switched to the second client from described the first client, to make described remote desktop gateway retain the remote desktop session between described the first client and remote desktop server according to described the first session switching notice, and return to the ready response message of switching;
The second transmitting element, in order to send the second session switching notice to described the second client, described the second session switching notice is used for informing that described the second client and described remote desktop gateway connect;
Control unit, for disconnecting being connected of having set up between described the first client and described remote desktop gateway.
11. clients as claimed in claim 10, is characterized in that, also comprise:
Search unit, can be used for for described the first client search the second client that remote desktop switches;
The 3rd transmitting element, in the time searching the second client that can be used for switching, sends session handover request to described the second client, and described session handover request is carried out remote desktop session switching for request and described the second client;
Described the first transmitting element specifically for:
Receiving after the permission session switching notice of described the second client transmission, send the first session switching notice to remote desktop gateway.
12. 1 kinds of clients, is characterized in that, comprising:
The first receiving element, the described session handover request sending for receiving the first client, described session handover request is carried out remote desktop session switching for request and described the second client;
Transmitting element, for sending and allow session switching notice to described the first client;
The second receiving element, the second session switching notice sending for receiving described the first client, described the second session switching notice is used for informing that described the second client and described remote desktop gateway connect;
Linkage unit, for according to described the second session switching notice, sets up and being connected of described remote desktop gateway.
13. 1 kinds of remote desktop gateways, is characterized in that, comprising:
Receiving element, if for having set up the remote desktop session between the first client and remote desktop server by remote desktop gateway, described remote desktop gateway receives the first session switching notice that described the first client sends, and described the first session switching notice is in order to indicate the client of remote desktop session described in described remote desktop gateway to be switched to the second client from described the first client;
Processing unit, for retaining the remote desktop session between described the first client and remote desktop server according to described the first session switching notice, and return and switch ready response message, described switching Notice of Readiness is in order to inform described in described the first client that remote desktop gateway is ready to session and switches;
Linkage unit, for setting up being connected between described remote desktop gateway and described the second client;
Control unit, for disconnecting being connected between described remote desktop gateway and described the first client.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310017049.3A CN103944926B (en) | 2013-01-17 | 2013-01-17 | Remote desktop conversation switching method, client and gateway |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310017049.3A CN103944926B (en) | 2013-01-17 | 2013-01-17 | Remote desktop conversation switching method, client and gateway |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103944926A true CN103944926A (en) | 2014-07-23 |
CN103944926B CN103944926B (en) | 2017-11-17 |
Family
ID=51192410
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310017049.3A Active CN103944926B (en) | 2013-01-17 | 2013-01-17 | Remote desktop conversation switching method, client and gateway |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103944926B (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104270336A (en) * | 2014-07-30 | 2015-01-07 | 深圳市深信服电子科技有限公司 | Migration method, device and system for remote application running terminal |
WO2016058534A1 (en) * | 2014-10-16 | 2016-04-21 | Huawei Technologies Co., Ltd. | Method and system for serving virtual desktop to client |
CN109189542A (en) * | 2018-09-28 | 2019-01-11 | 成都安恒信息技术有限公司 | A kind of remote desktop access method for O&M auditing system |
CN109688366A (en) * | 2018-12-29 | 2019-04-26 | 随锐科技股份有限公司 | A kind of on-line meeting transfer method, device and mobile terminal |
CN112217890A (en) * | 2020-10-12 | 2021-01-12 | 南方电网数字电网研究院有限公司 | Remote assistance method, device, computer equipment and storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060126648A1 (en) * | 2004-12-14 | 2006-06-15 | Hyun-Seo Park | Method for supporting session mobility |
CN101232413A (en) * | 2007-01-25 | 2008-07-30 | 华为技术有限公司 | Server, system and method for transferring conversation control power |
CN101383827A (en) * | 2008-10-13 | 2009-03-11 | 深圳华为通信技术有限公司 | Method, apparatus and system for media transferring |
-
2013
- 2013-01-17 CN CN201310017049.3A patent/CN103944926B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060126648A1 (en) * | 2004-12-14 | 2006-06-15 | Hyun-Seo Park | Method for supporting session mobility |
CN101232413A (en) * | 2007-01-25 | 2008-07-30 | 华为技术有限公司 | Server, system and method for transferring conversation control power |
CN101383827A (en) * | 2008-10-13 | 2009-03-11 | 深圳华为通信技术有限公司 | Method, apparatus and system for media transferring |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104270336A (en) * | 2014-07-30 | 2015-01-07 | 深圳市深信服电子科技有限公司 | Migration method, device and system for remote application running terminal |
CN104270336B (en) * | 2014-07-30 | 2018-10-30 | 深信服科技股份有限公司 | The migration method, apparatus and system of remote applications running terminal |
WO2016058534A1 (en) * | 2014-10-16 | 2016-04-21 | Huawei Technologies Co., Ltd. | Method and system for serving virtual desktop to client |
CN109189542A (en) * | 2018-09-28 | 2019-01-11 | 成都安恒信息技术有限公司 | A kind of remote desktop access method for O&M auditing system |
CN109189542B (en) * | 2018-09-28 | 2021-10-15 | 成都安恒信息技术有限公司 | Remote desktop access method for operation and maintenance auditing system |
CN109688366A (en) * | 2018-12-29 | 2019-04-26 | 随锐科技股份有限公司 | A kind of on-line meeting transfer method, device and mobile terminal |
CN109688366B (en) * | 2018-12-29 | 2020-12-25 | 随锐科技集团股份有限公司 | Online conference transfer method and device and mobile terminal |
CN112217890A (en) * | 2020-10-12 | 2021-01-12 | 南方电网数字电网研究院有限公司 | Remote assistance method, device, computer equipment and storage medium |
CN112217890B (en) * | 2020-10-12 | 2023-09-15 | 南方电网数字电网研究院有限公司 | Remote assistance method, device, computer equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN103944926B (en) | 2017-11-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108738086B (en) | User plane reselection method and device | |
EP3668133B1 (en) | Method, apparatus, and system for supporting multiple imsis | |
EP3592033A1 (en) | Communication method and device | |
CN110995554A (en) | Method and device for configuring and accessing intelligent household electrical appliance network and storage medium | |
CN103716911A (en) | Method, device and system for configuring wireless terminal | |
CN105282211A (en) | Long-Lived MPTCP Sessions | |
CN107950041A (en) | A kind of method and terminal of Profile switchings | |
TW201611645A (en) | Supporting SIM toolkit applications in embedded UICCs | |
CN103944926A (en) | Remote desktop session switching method, client and gateway | |
CN108282521B (en) | BIP protocol data transmission method and device, computer equipment and storage medium | |
EP3244667B1 (en) | Call supplementary service configuration synchronization method, apparatus and system | |
CN105025589A (en) | Terminal equipment data transmission management method, apparatus, system and associated equipment | |
WO2014044073A1 (en) | Instant messaging method, terminal, server, and system | |
CN103747459A (en) | Configuration method of web camera and web camera | |
CN107995247A (en) | A kind of document transmission method, server and system | |
CN112187495A (en) | Communication method and communication system of terminal and server | |
CN104967732A (en) | Information processing method and electronic device | |
CN116250222A (en) | Method and device for notifying business continuity event | |
EP2515533A1 (en) | Wireless conference television system and multi-conference handover method thereof | |
CN110166406A (en) | Manage method, system and the relevant device of media transmission access | |
CN105100150A (en) | Cloud desktop migration method and apparatus, and distributed cloud desktop system | |
US20130188559A1 (en) | Method for Establishing a Communication Connection over the Internet Between Mobile Terminals, Computer Program, and Storage Medium | |
EP2009948A2 (en) | Client resource reservation in access networks for roaming | |
CN108632355B (en) | Routing method for household appliance network, control terminal, readable storage medium and equipment | |
CN108540519B (en) | Balanced download control method and device |
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: 20220224 Address after: 550025 Huawei cloud data center, jiaoxinggong Road, Qianzhong Avenue, Gui'an New District, Guiyang City, Guizhou Province Patentee after: Huawei Cloud Computing Technologies 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 |