CN103944926B - Remote desktop conversation switching method, client and gateway - Google Patents

Remote desktop conversation switching method, client and gateway Download PDF

Info

Publication number
CN103944926B
CN103944926B CN201310017049.3A CN201310017049A CN103944926B CN 103944926 B CN103944926 B CN 103944926B CN 201310017049 A CN201310017049 A CN 201310017049A CN 103944926 B CN103944926 B CN 103944926B
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.)
Active
Application number
CN201310017049.3A
Other languages
Chinese (zh)
Other versions
CN103944926A (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 CN201310017049.3A priority Critical patent/CN103944926B/en
Publication of CN103944926A publication Critical patent/CN103944926A/en
Application granted granted Critical
Publication of CN103944926B publication Critical patent/CN103944926B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The present invention relates to a kind of remote desktop conversation switching method, methods described includes:By remote desktop gateway, the remote desktop session established between the first client and remote desktop server;The first session switching notice is sent to remote desktop gateway, indicates that the client of remote desktop session described in the remote desktop gateway needs to be switched to the second client from first client;The second session switching notice is sent to second client, the second session switching notice is used to inform that second client establishes connection with the remote desktop gateway;Disconnect established connection between first client and the remote desktop gateway.Method provided in an embodiment of the present invention can be avoided because needing after disconnecting the remote desktop session between the first client and remote desktop server, then the stand-by period caused by establishing remote desktop session with new client is longer and seamless switching problem.

Description

Remote desktop conversation switching method, client and gateway
Technical field
The present invention relates to IT technical fields, and in particular to a kind of remote desktop conversation switching method, client and net Close.
Background technology
Remote application deliver be it is a kind of based on application virtualization technology realize technology, application virtualization by application program with Operating system is combined, and a virtual running environment is provided for application program.In this environment, not only including application program Executable file, in addition to the running environment required for application program.Remote desktop technology, it is exactly remote application delivery technology A kind of application, as described in Figure 1, multiple client(Such as computer, tablet personal computer, smart mobile phone, thin-client)Deng, Session is established by a remote desktop gateway (gateway, GW) and remote server cluster, and in remote server cluster Remote desktop server, remote application server etc. carry out remote session, realize that telecommuting etc. operates.
Remote desktop gateway implementation is in the prior art:When remote desktop client and remote desktop service end are established After connection, if user needs switching, client must first disconnect currently-established session, then using new client again Establish remote desktop session, that is to say, that, it is impossible to current remote desktop session is kept, the use to user is made troubles.
The content of the invention
It is an object of the invention to provide a kind of remote desktop conversation switching method, and the feelings of remote service are not being turned off to realize Under condition, realize that remote desktop session switches between multiple client.
In a first aspect, the embodiments of the invention provide a kind of remote desktop conversation switching method, methods described includes:
By remote desktop gateway, the remote desktop session established between the first client and remote desktop server;
The first session switching notice is sent to remote desktop gateway, first switching notice is indicating the long-range table The client that veil closes the remote desktop session needs to be switched to the second client from first client, described to cause Remote desktop gateway retains between first client and remote desktop server according to the first session switching notice Remote desktop session, and return to the ready response message of switching;
The second session switching notice is sent to second client, the second session switching notice is described for informing Second client is established with the remote desktop gateway and connected;
Disconnect established connection between first client and the remote desktop gateway.
It is described to remote desktop net based in a first aspect, in the first possible embodiment of the embodiment of the present invention Close before sending the first session switching notice, in addition to:
First client-side search can be used for the second client of remote desktop switching;
When searching the second client available for switching, session handover request, institute are sent to second client State session handover request be used for ask with second client progress remote desktop session switching;
Described sends the first session switching notice to remote desktop gateway, is specially:
After the permission session switching notice that second client is sent is received, first is sent to remote desktop gateway Session switching notice.
Based on first aspect or in the first possible embodiment of the embodiment of the present invention, additionally providing second can The embodiment of energy, the first session switching notice include the identification information of second client.
Second aspect, the embodiments of the invention provide a kind of remote desktop conversation switching method, methods described includes:
The session handover request of the first client transmission is received, the session handover request is used to ask and the second client Carry out remote desktop session switching;
Being sent to first client allows session switching notice;
The second session switching notice that first client is sent is received, the second session switching notice is used to inform Second client is established with the remote desktop gateway and connected;
According to the second session switching notice, the connection with the remote desktop gateway is established.
It is described to receive described first in the first possible embodiment of the embodiment of the present invention based on second aspect Before the session handover request that client is sent, in addition to:
Receive the connection that first client is sent and establish request;
Request is established according to the connection, establishes and connects with first client.
Based on second aspect, in the third possible embodiment of the embodiment of the present invention, the permission session switches Notice includes the identification information of second client.
The third aspect, the embodiments of the invention provide a kind of remote desktop conversation switching method, methods described includes:
If the remote desktop between the first client and remote desktop server is established by remote desktop gateway Session, the remote desktop gateway receive the first session switching notice that first client is sent, and first session is cut Notice is changed to indicate that the client of remote desktop session described in the remote desktop gateway needs to cut from first client Change to the second client;
Retained according to the first session switching notice long-range between first client and remote desktop server Desktop session, and the ready response message of switching is returned, it is described to switch Notice of Readiness to inform first client The remote desktop gateway is held to get out session switching;
The connection established between the remote desktop gateway and second client;
Disconnect the connection between the remote desktop gateway and first client.
Based on the third aspect, in the first possible embodiment of the embodiment of the present invention, the first session switching Notice includes the identification marking at one's side of second client, and the first session switching for receiving the transmission of the first client is led to Know, afterwards, in addition to:
Preserve the identification mark of second client.
In the first possible embodiment based on the third aspect, second of possible embodiment, institute are additionally provided State after establishing connection with second client, in addition to:
Second client that the first session switching notice preserved by the remote desktop gateway includes Identification marking at one's side, detect the legitimacy of second client.
Fourth aspect, the embodiments of the invention provide a kind of client, the client includes:
Session establishment unit, by remote desktop gateway, to establish between the first client and remote desktop server Remote desktop session;
First transmitting element, to send the first session switching notice, first switching notice to remote desktop gateway To indicate that the client of remote desktop session described in the remote desktop gateway needs to be switched to the from first client Two clients, with cause the remote desktop gateway according to the first session switching notice retain first client with it is remote Remote desktop session between journey desktop server, and return to the ready response message of switching;
Second transmitting element, to send the second session switching notice to second client, second session is cut Notice is changed to be used to inform that second client establishes connection with the remote desktop gateway;
Control unit, for disconnecting established connection between first client and the remote desktop gateway.
Based on fourth aspect, in the first possible embodiment of the embodiment of the present invention, the client, also wrap Include:
Search unit, the second client of remote desktop switching is can be used for for first client-side search;
3rd transmitting element, for when searching the second client available for switching, being sent out to second client Session handover request is sent, the session handover request is used to ask to carry out remote desktop session switching with second client;
First transmitting element is specifically used for:
After the permission session switching notice that second client is sent is received, first is sent to remote desktop gateway Session switching notice.
5th aspect, the embodiments of the invention provide a kind of client, the client includes:
First receiving unit, the session handover request sent for receiving the first client, the session switching please Ask for asking to carry out remote desktop session switching with second client;
Transmitting element, allow session switching notice for being sent to first client;
Second receiving unit, the second session switching notice sent for receiving first client, second meeting Words switching notice is used to inform that second client establishes connection with the remote desktop gateway;
Connection unit, for according to the second session switching notice, establishing the connection with the remote desktop gateway.
6th aspect, the embodiments of the invention provide a kind of remote desktop gateway, the remote desktop gateway includes:
Receiving unit, if for by remote desktop gateway establish the first client and remote desktop server it Between remote desktop session, the remote desktop gateway receives the first session switching notice that first client is sent, institute The first session switching notice is stated to indicate that the client of remote desktop session described in the remote desktop gateway is needed from described First client is switched to the second client;
Processing unit, for retaining first client and remote desktop service according to the first session switching notice Remote desktop session between device, and the ready response message of switching is returned, it is described to switch Notice of Readiness to inform Remote desktop gateway described in first client gets out session switching;
Connection unit, for establishing the connection between the remote desktop gateway and second client;
Control unit, for disconnecting the connection between the remote desktop gateway and first client.
The embodiments of the invention provide a kind of remote desktop conversation switching method, by remote desktop gateway and remotely Desktop server establishes the first client of remote desktop session, after changeable the second client is found, to long-range Desktop gateway sends the first session switching notice, and the second session switching notice is sent to second client, informs the second visitor Family end is established with the remote desktop gateway and connected, and disconnects the long-range table being had built up between the remote desktop gateway afterwards Face session, so as to realize execution remote desktop session seamless switching between different clients.Avoid because needing to disconnect the first visitor After remote desktop session between family end and remote desktop server, then caused by establishing remote desktop session with new client Stand-by period is longer and seamless switching problem.
Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, below will be to embodiment or description of the prior art In the required accompanying drawing used be briefly described, it should be apparent that, drawings in the following description be only the present invention some Embodiment, for those of ordinary skill in the art, without having to pay creative labor, can also be according to these Accompanying drawing obtains other accompanying drawings.
Fig. 1 is the application scenarios schematic diagram of remote desktop technology;
Fig. 2 is a kind of flow chart of embodiment of remote desktop conversation switching method provided in an embodiment of the present invention;
Fig. 3 is the flow chart that changeable client is searched in the embodiment of the present invention;
Fig. 4 is the flow chart of remote desktop conversation switching method another kind embodiment provided by the invention;
Fig. 5 is the flow chart of remote desktop conversation switching method another kind embodiment provided by the invention;
Fig. 6 is the interaction mode schematic diagram of remote desktop conversation switching method provided in an embodiment of the present invention;
Fig. 7 is a kind of structural representation of embodiment of client provided in an embodiment of the present invention;
Fig. 8 is the structural representation of client another kind embodiment provided in an embodiment of the present invention;
Fig. 9 is a kind of structural representation of embodiment of remote desktop gateway provided in an embodiment of the present invention;
Figure 10 is the structural representation of client another kind embodiment provided in an embodiment of the present invention;
Figure 11 is the structural representation of client another kind embodiment provided in an embodiment of the present invention;
Figure 12 is the structural representation of another embodiment of remote desktop gateway provided by the invention.
Embodiment
Below by drawings and examples, technical scheme is described in further detail.
Remote desktop conversation switching method provided in an embodiment of the present invention can apply under the scenes such as mobile office, The first client of remote desktop session is established by remote desktop gateway and remote desktop server, it is changeable in discovery After second client, the first session switching notice is sent to remote desktop gateway, is receiving the remote desktop gateway hair After the Notice of Readiness sent, to second client send the second session switching notice, inform the second client with it is described Remote desktop gateway establishes connection, disconnects the remote desktop session being had built up between the remote desktop gateway afterwards, from And realize execution remote desktop session seamless switching between different clients.Wherein, the first client and the second client bag Include but be not limited to smart mobile phone, tablet personal computer, thin-client(Thin Client, TC), personal computer(Personal Computer, PC)Deng remote desktop server includes but unlimited Dingyuan journey desktop server, Yuncheng application server etc..Pass through The embodiment of the present invention, it can avoid because needing to disconnect the remote desktop session between the first client and remote desktop server Afterwards, the stand-by period caused by then establishing remote desktop session with new client is longer and seamless switching problem.
As shown in Fig. 2 the embodiment of the present invention provides a kind of remote desktop conversation switching method, methods described can be applied The equipment such as various thin-clients, PC, tablet personal computer, methods described include:
201, by remote desktop gateway, the remote desktop meeting established between the first client and remote desktop server Words;
Specifically, perform remote desktop session switching before, the first client by remote desktop gateway with Remote desktop server establishes remote desktop session, and ensures session status, under user control, it is necessary to by remote desktop meeting Words are switched in other clients from the first client, but are not interrupted and the direct session shape of remote desktop server State, therefore the executive agent of the present embodiment is the first client.
202, the first session switching notice is sent to remote desktop gateway, first switching notice is described remote to indicate The client of remote desktop session described in journey desktop gateway needs to be switched to the second client from first client, to cause The remote desktop gateway according to the first session switching notice retain first client and remote desktop server it Between remote desktop session, and return to the ready response message of switching;
Specifically, first client have selected available for session switching the second client after, you can pass through Network sends the first session switching notice to the remote desktop gateway.
In preferable embodiment, as shown in figure 3, the first client is cut to the first session of transmission of remote desktop gateway Change before notice, can also carry out:
301, search can be used for the second client of remote desktop switching;
Specifically, first client can search for other in surrounding environment by modes such as bluetooth, infrared ray, WIFI Client, after available client is searched, in the first client can by corresponding client carry out list display.
302, when searching the second client available for switching, sending session switching to second client please Ask, the session handover request is used to ask to carry out remote desktop session switching with second client;
Specifically, the first client-side search to it is multiple can be used for switching client when, select a client, and The client chosen by wired or wireless way and the first client, which is established, to be connected, and now the first client selection can be used for The client of session switching is the second client.Second client can be with the first client identical equipment, can also It is different equipment.
After connection is established with the second client, the first client sends session handover request, request to the second client Session between first client and remote desktop gateway is switched to the second client, the second client can select receiving The session handover request that one client is sent, can also select to refuse.
If the second client receives the session handover request of the first client, the second client can be by the body of itself Part identification information is sent to the first client, the action of the first client executing step 201, and can switch in the first session The identification information at one's side of the second client is carried in notice, if the session switching that the second client refuses the first client please Ask, then the first client needs to reselect client transmission session handover request.
202, the second session switching notice is sent to second client, the second session switching notice is used to inform Second client is established with the remote desktop gateway and connected;
Specifically, after the first session switching notice is sent to remote desktop gateway by the first client, remote desktop Gateway preserves session, such as the identification information at one's side of the second client carried in the first session switching notice is protected Deposit, and be ready for session switching.After ready, notified to the first client transmitter ready, inform the first visitor Family end remote desktop gateway be already prepared to session switching, in this case, remote desktop gateway keep the first client with Session between remote desktop server.
First client is sent after the Notice of Readiness of remote desktop gateway transmission is received to the second client Second session switching notice, notify to be used to inform that second client establishes connection with the remote desktop gateway.
203, disconnect the remote desktop session being had built up between the remote desktop gateway.
Specifically, after the second session switching notice is sent to second client, the second client with it is long-range Desktop gateway establishes connection, and remote desktop gateway enters according to the client of identification information pair at one's side second of the second client of preservation Row legitimacy detect, confirm the second client it is corresponding with the second client identity identification information that remote desktop gateway preserves it Afterwards, the existing first remote desktop session between the first client is disconnected, or, notify the first client actively to cut off The remote desktop session being had built up between remote desktop gateway.It is long-range that remote desktop gateway with the second client establishes second Desktop session, remote desktop session is established simultaneously between the second client and remote desktop server, due in whole process In, user is with little need for disconnection remote desktop session, therefore session handoff procedure corresponds to user equivalent to seamless switching, and The very short time is needed, switching efficiency is higher.
After 203, the first client can select to disconnect the connection between the second client, can also select to keep Connection status.
By the above embodiments, can avoid remote between the first client of disconnection and remote desktop server because needing After journey desktop session, then the stand-by period caused by establishing remote desktop session with new client is longer and seamless switching problem.
As shown in figure 4, the embodiment of the present invention provides a kind of remote desktop conversation switching method, the executive agent of the embodiment For the second client, that is, original state does not establish remote desktop session between remote desktop gateway, but receives the The client of the session handover request of one client, methods described include:
401, the session handover request that the first client is sent is received, the session handover request is used to ask and institute State the second client and carry out remote desktop session switching;
Specifically, the first client-side search receives the first client hair to after available for the second client switched Request is established in the connection sent, and is established request according to the connection, is established and connect with first client.
With the second client after connection is established with the first client, the second client monitors whether the first client is sent out Session handover request is sent, the session handover request is used to ask to carry out remote desktop session switching with second client.
Second client by the mode such as bluetooth, wireless receive the session handover request that the first client sends it Afterwards, itself judged whether to receive the session handover request according to the second client, if the selection of the second client receives session Handover request, then step 402 is performed, if the session handover request is refused in the selection of the second client, terminated.
402, being sent to first client allows session switching notice;
Specifically, second client is after the session handover request that first client is sent is received, to First client, which is sent, allows session switching notice, informs first client, and the second client can conversate switching.
Second client can be selected in session switching notice is allowed, and the identification information of the second client is sent To the first client, in order to which the first client sends it to remote desktop gateway, legitimacy detection is carried out.
403, the second session switching notice that first client is sent is received, the second session switching notice is used for Inform that second client is established with the remote desktop gateway to connect;
Specifically, the first client is after the permission session switching notice of the second client transmission is received, Xiang Yuan Journey desktop gateway sends the first session switching notice, and remote desktop gateway described in the first session switching notice will be with long-range table The first client in the remote desktop session that face server is established switches to second client, described long-range receiving After the Notice of Readiness that desktop gateway is sent, the second session switching notice is sent to second client.
404, according to the second session switching notice, establish the connection with the remote desktop gateway.
Specifically, the second client receive the first client transmission the second session switching notice after, i.e., with far Journey desktop gateway establishes connection, and remote desktop gateway is according to the client of identification information pair at one's side second of the second client of preservation Legitimacy detection is carried out, is confirming that the second client is corresponding with the second client identity identification information that remote desktop gateway preserves Afterwards, the existing first remote desktop session between the first client is disconnected.
Remote desktop gateway and the second client establish the second remote desktop session, the second client and remote desktop service Establish remote desktop session simultaneously between device, due in whole process, user with little need for disconnecting remote desktop session, Therefore session handoff procedure corresponds to user equivalent to seamless switching, and needs the very short time, and 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 execution of this kind of embodiment Main body is remote desktop gateway, and original state remote desktop gateway and the first client have built up and keep remote desktop session State, methods described include:
501, if having been established by remote desktop gateway long-range between the first client and remote desktop server Desktop session, the remote desktop gateway receive the first session switching notice that first client is sent, first meeting Switching notice is talked about to indicate that the client of remote desktop session described in the remote desktop gateway is needed from first client End is switched to the second client;
Specifically, first client have selected available for session switching the second client after, you can pass through Network sends the first session switching notice to the remote desktop gateway.The visitor that can be used for session switching of first client selection Family end is the second client.Second client can be and the first client identical equipment or different equipment.
First client sends session handover request, request after connection is established with the second client, to the second client Session between first client and remote desktop gateway is switched to the second client, the selection of the second client receives first After the session handover request that client is sent, the identity identification information of itself is sent to the first client, the first client Perform the identification information at one's side that step carries the second client in the first session switching notice.
502, retained according to the first session switching notice between first client and remote desktop server Remote desktop session, and the ready response message of switching is returned, it is described to switch Notice of Readiness to inform described first Remote desktop gateway described in client gets out session switching;
Specifically, after the first session switching notice for receiving the transmission of the first client, remote desktop gateway will Words are preserved, such as the identification information at one's side of the second client carried in the first session switching notice is preserved, and are prepared Conversate switching.After ready, notified to the first client transmitter ready, inform the first client remote table Veil, which closes, is already prepared to session switching.
503, the connection established between the remote desktop gateway and second client;
Specifically, the first client is after the Notice of Readiness of remote desktop gateway transmission is received, to second Client sends the second session switching notice, notifies to be used to inform that second client establishes company with the remote desktop gateway Connect.After the second session switching notice is sent to second client, remote desktop gateway and the second client are established and connected Connecing, remote desktop gateway carries out legitimacy detection according to the client of identification information pair at one's side second of the second client of preservation, After confirming that the second client is corresponding with the second client identity identification information that remote desktop gateway preserves, step is performed 504。
504, disconnect the connection between the remote desktop gateway and first client.
Specifically, remote desktop gateway can select actively to disconnect existing first remote between the first client Journey desktop session, or the remote desktop meeting for notifying the first client actively to be had built up between cut-out and remote desktop gateway Words.Step 505 is performed afterwards.
Specifically, between the second client and remote desktop server simultaneously establish remote desktop session, due to In whole process, user is with little need for disconnection remote desktop session, therefore session handoff procedure corresponds to user equivalent to seamless Switching, and the very short time is needed, switching efficiency is higher.
As shown in fig. 6, it is the state RELATED APPLICATION figure of remote desktop conversation switching method provided in an embodiment of the present invention, As illustrated, remote desktop conversation switching method provided in an embodiment of the present invention includes:
The client device of the 601. first changeable sessions of client-side search;
602. search changeable mobile client list, and selection target equipment carries out network connection;
603. first customer end As send session handover request to the second customer end B;
604.B, which responds A, to be allowed to switch, and sends the unique identifiers of a mark B identity;
605. first customer end As are cut remote desktop session by the first session switching notice, notice remote desktop gateway Change to mobile client B.
606. remote desktop gateways preserve the session information of current first customer end A and server, are then returned to first Client Notice of Readiness.
607. first customer end As notify the second customer end B to conversate switching by the second session switching notice.
608. second customer end Bs 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 the first customer end A.
The session information of first customer end A before 610. remote desktop gateways and the second customer end B are recovered.
After 611. are successfully recovered, the second customer end B disconnects with the first customer end A, and the second customer end B is continuing with Remote desktop session used in before one customer end A.
Detailed step, reference can be made to the embodiment shown in Fig. 2-Fig. 5, is seldom repeated.
Accordingly, as shown in fig. 7, the embodiment of the present invention provides a kind of client, the client can be smart mobile phone, The equipment such as tablet personal computer, thin-client, correspond to the first client 700 in previous embodiment, and first client includes:
Session establishment unit 701, to by remote desktop gateway, establish the first client and remote desktop server it Between remote desktop session;
First transmitting element 702, to send the first session switching notice to remote desktop gateway, first switching is logical Know to indicate that the client of remote desktop session described in the remote desktop gateway needs to be switched to from first client Second client, with cause the remote desktop gateway according to the first session switching notice retain first client with Remote desktop session between remote desktop server, and return to the ready response message of switching;
Second transmitting element 703, to send the second session switching notice, second session to second client Switching notice is used to inform that second client establishes connection with the remote desktop gateway;
Control unit 704, for disconnecting the company being had built up between first client and the remote desktop gateway Connect.
In preferable embodiment, the first client 700 can also include:
Search unit, the second client of remote desktop switching is can be used for for first client-side search;
3rd transmitting element, for when searching the second client available for switching, being sent out to second client Session handover request is sent, the session handover request is used to ask to carry out remote desktop session switching with second client;
First transmitting element 701 is specifically used for:
After the permission session switching notice that second client is sent is received, first is sent to remote desktop gateway Session switching notice.
In preferable embodiment, the first client 700 can also include receiving unit, for being sent described first Unit is sent to remote desktop gateway after the first session switching notice:
The Notice of Readiness that the remote desktop gateway is sent is received, the Notice of Readiness is used to inform the standard Standby ready notice switches to inform that remote desktop gateway described in first client gets out session.
Accordingly, as shown in figure 8, the embodiment of the present invention provides a kind of client, the client can be smart mobile phone, The equipment such as tablet personal computer, thin-client, correspond to the second client 800 in previous embodiment, and second client includes:
First receiving unit 801, the session handover request sent for receiving the first client, the session switching Ask to be used to ask to carry out remote desktop session switching with second client;
Transmitting element 802, allow session switching notice for being sent to first client;
Second receiving unit 803, the second session switching notice sent for receiving first client, described second Session switching notice is used to inform that second client establishes connection with the remote desktop gateway;
Connection unit 804, for according to the second session switching notice, establishing the company with the remote desktop gateway Connect.
It should be noted that remote desktop of the embodiment shown in just for the sake of corresponding diagram 2 and Fig. 5 described in Fig. 7 and Fig. 8 Conversation switching method, in actual applications, the first client and the second client can be integrated in completely in same equipment, no Repeat more.
Accordingly, as shown in figure 9, the embodiment of the present invention provides a kind of remote desktop gateway, the remote desktop gateway 900 Including:
Receiving unit 901, if for establishing the first client and remote desktop service by remote desktop gateway Remote desktop session between device, it is logical that the remote desktop gateway receives the first session switching that first client is sent Know, the first session switching notice to indicate the client of remote desktop session described in the remote desktop gateway need from First client is switched to the second client;
Processing unit 902, for retaining first client and remote desktop according to the first session switching notice Remote desktop session between server, and return to the ready response message of switching, the switching Notice of Readiness to Inform that remote desktop gateway described in first client gets out session switching;
Connection unit 903, for establishing the connection between the remote desktop gateway and second client;
Control unit 904, for disconnecting the connection between the remote desktop gateway and first client.
Above-described embodiment be in order to realize the method described in Fig. 5, therefore, each mould included in the remote desktop gateway Block is the virtual module divided according to function, in actual applications, can according to demand be combined, seldom repeat.
In addition, the embodiments of the invention provide a kind of client, Figure 10 is showing for client provided in an embodiment of the present invention Be intended to, as illustrated, the executive agent in the present embodiment corresponding diagram 2, the first client, the present embodiment include network interface 11, Processor 12 and memory 13.System bus 14 is used to connect network interface 11, processor 12 and memory 13.
Network interface 11 is used for and remote desktop gateway communication.
Memory 13 can be permanent memory, such as hard disk drive and flash memory, have software module in memory 13 And device driver.Software module is able to carry out the various functions module of the above method of the present invention;Device driver can be with It is network and interface drive program.
On startup, these component softwares are loaded into memory 13, are then accessed and are performed as follows by processor 12 Instruction:
By remote desktop gateway, the remote desktop session established between the first client and remote desktop server;
The first session switching notice is sent to remote desktop gateway, first switching notice is indicating the long-range table The client that veil closes the remote desktop session needs to be switched to the second client from first client, described to cause Remote desktop gateway retains between first client and remote desktop server according to the first session switching notice Remote desktop session, and return to the ready response message of switching;
The second session switching notice is sent to second client, the second session switching notice is described for informing Second client is established with the remote desktop gateway and connected;
Disconnect established connection between first client and the remote desktop gateway.
In addition, the embodiments of the invention provide a kind of client, Figure 11 is showing for client provided in an embodiment of the present invention Be intended to, as illustrated, the executive agent in the present embodiment corresponding diagram 4, the second client, the present embodiment include network interface 111, Processor 112 and memory 113.System bus 114 is used to connect network interface 111, processor 112 and memory 113.
Network interface 111 be used for internet-of-things terminal, access gateway of internet of things, bearer network, Internet of Things gateway and should Use server communication.
Memory 113 can be permanent memory, such as hard disk drive and flash memory, have software mould in memory 113 Block and device driver.Software module is able to carry out the various functions module of the above method of the present invention;Device driver can To be network and interface drive program.
On startup, these component softwares are loaded into memory 113, are then accessed and are performed such as by processor 112 Give an order:
The session handover request of the first client transmission is received, the session handover request is used to ask and the second client Carry out remote desktop session switching;
Being sent to first client allows session switching notice;
The second session switching notice that first client is sent is received, the second session switching notice is used to inform Second client is established with the remote desktop gateway and connected;
According to the second session switching notice, the connection with the remote desktop gateway is established.
Figure 12 is the schematic diagram of remote desktop gateway of the embodiment of the present invention, as illustrated, the present embodiment includes network interface 121st, processor 122 and memory 123.System bus 124 is used to connect network interface 121, processor 122 and memory 123.
Network interface 121 is used to communicate with remote desktop server and client side.
Memory 123 can be permanent memory, such as hard disk drive and flash memory, have software mould in memory 123 Block and device driver.Software module is able to carry out the various functions module of the above method of the present invention;Device driver can To be network and interface drive program.
On startup, these component softwares are loaded into memory 123, are then accessed and are performed such as by processor 122 Give an order:
If the remote desktop between the first client and remote desktop server is established by remote desktop gateway Session, the remote desktop gateway receive the first session switching notice that first client is sent, and first session is cut Notice is changed to indicate that the client of remote desktop session described in the remote desktop gateway needs to cut from first client Change to the second client;
Retained according to the first session switching notice long-range between first client and remote desktop server Desktop session, and the ready response message of switching is returned, it is described to switch Notice of Readiness to inform first client The remote desktop gateway is held to get out session switching;
The connection established between the remote desktop gateway and second client;
Disconnect the connection between the remote desktop gateway and first client.
Professional should further appreciate that, each example described with reference to the embodiments described herein Unit and algorithm steps, it can be realized with electronic hardware, computer software or the combination of the two, it is hard in order to clearly demonstrate The interchangeability of part and software, the composition and step of each example are generally described according to function in the above description. These functions are performed with hardware or software mode actually, application-specific and design constraint depending on technical scheme. Professional and technical personnel can realize described function using distinct methods to each specific application, but this realization It is it is not considered that beyond the scope of this invention.
The method that is described with reference to the embodiments described herein can use hardware, computing device the step of algorithm Software module, or the two combination are implemented.Software module can be placed in random access memory(RAM), internal memory, read-only storage (ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technical field In any other form of storage medium well known to interior.
Above-described embodiment, the purpose of the present invention, technical scheme and beneficial effect are carried out further Describe in detail, should be understood that the embodiment that the foregoing is only the present invention, be not intended to limit the present invention Protection domain, within the spirit and principles of the invention, any modification, equivalent substitution and improvements done etc., all should include Within protection scope of the present invention.

Claims (13)

1. a kind of remote desktop conversation switching method, it is characterised in that methods described includes:
By remote desktop gateway, the remote desktop session established between the first client and remote desktop server;
The first session switching notice is sent to remote desktop gateway, the first session switching notice is indicating the long-range table The client that veil closes the remote desktop session needs to be switched to the second client from first client, described to cause Remote desktop gateway retains between first client and remote desktop server according to the first session switching notice Remote desktop session, and return to switching Notice of Readiness;
The second session switching notice is sent to second client, the second session switching notice is used to inform described second Client is established with the remote desktop gateway and connected;
Disconnect established connection between first client and the remote desktop gateway.
2. the method as described in claim 1, it is characterised in that described to send the first session switching notice to remote desktop gateway Before, in addition to:
First client-side search can be used for the second client of remote desktop switching;
When searching the second client available for switching, session handover request, the meeting are sent to second client Handover request is talked about to be used to ask to carry out remote desktop session switching with second client;
Described sends the first session switching notice to remote desktop gateway, is specially:
After the permission session switching notice that second client is sent is received, the first session is sent to remote desktop gateway Switching notice.
3. the method as described in claim 1, it is characterised in that the first session switching notice includes second client The identification information at end.
4. a kind of remote desktop conversation switching method, it is characterised in that methods described includes:
The session handover request of the first client transmission is received, the session handover request is used to ask to carry out with the second client Remote desktop session switches;
Being sent to first client allows session switching notice;
The second session switching notice that first client is sent is received, the second session switching notice is described for informing Second client is established with the remote desktop gateway and connected;
According to the second session switching notice, the connection with the remote desktop gateway is established.
5. method as claimed in claim 4, it is characterised in that the session switching for receiving the first client transmission please Before asking, in addition to:
Receive the connection that first client is sent and establish request;
Request is established according to the connection, establishes and connects with first client.
6. method as claimed in claim 4, it is characterised in that the permission session switching notice includes second client The identification information at end.
7. a kind of remote desktop conversation switching method, it is characterised in that methods described includes:
If establishing the remote desktop session between the first client and remote desktop server by remote desktop gateway, The remote desktop gateway receives the first session switching notice that first client is sent, the first session switching notice To indicate that the client of remote desktop session described in the remote desktop gateway needs to be switched to the from first client Two clients;
Remote desktop between first client and remote desktop server is retained according to the first session switching notice Session, and switching Notice of Readiness is returned, the switching Notice of Readiness is remote described in first client to inform Journey desktop gateway gets out session switching;
The connection established between the remote desktop gateway and second client;Wherein, passed through by first client Second session switching notice notifies second client to conversate switching, and second client receives described second After session switching notice, the remote desktop gateway is connected;
Disconnect the connection between the remote desktop gateway and first client.
8. method as claimed in claim 7, it is characterised in that the first session switching notice includes second client The identification at end identifies, after the first session switching notice for receiving the first client and sending, in addition to:
Preserve the identification mark of second client.
9. method as claimed in claim 8, it is characterised in that after the foundation connection with second client, also wrap Include:
The body for second client that the first session switching notice preserved by the remote desktop gateway includes Side identification marking, detect the legitimacy of second client.
A kind of 10. first client, it is characterised in that including:
Session establishment unit, by remote desktop gateway, to establish remote between the first client and remote desktop server Journey desktop session;
First transmitting element, to send the first session switching notice, the first session switching notice to remote desktop gateway To indicate that the client of remote desktop session described in the remote desktop gateway needs to be switched to the from first client Two clients, with cause the remote desktop gateway according to the first session switching notice retain first client with it is remote Remote desktop session between journey desktop server, and return to switching Notice of Readiness;
Second transmitting element, to send the second session switching notice to second client, the second session switching is logical Know and connected for informing that second client is established with the remote desktop gateway;
Control unit, for disconnecting established connection between first client and the remote desktop gateway.
11. the first client as claimed in claim 10, it is characterised in that also include:
Search unit, the second client of remote desktop switching is can be used for for first client-side search;
3rd transmitting element, for when searching the second client available for switching, meeting to be sent to second client Handover request is talked about, the session handover request is used to ask to carry out remote desktop session switching with second client;
First transmitting element is specifically used for:
After the permission session switching notice that second client is sent is received, the first session is sent to remote desktop gateway Switching notice.
A kind of 12. second client, it is characterised in that including:
First receiving unit, the session handover request sent for receiving the first client, the session handover request is used for please Ask and carry out remote desktop session switching with second client;
Transmitting element, allow session switching notice for being sent to first client;
Second receiving unit, the second session switching notice sent for receiving first client, second session are cut Notice is changed to be used to inform that second client establishes connection with the remote desktop gateway;
Connection unit, for according to the second session switching notice, establishing the connection with the remote desktop gateway.
A kind of 13. remote desktop gateway, it is characterised in that including:
Receiving unit, if for being established by remote desktop gateway between the first client and remote desktop server Remote desktop session, the remote desktop gateway receive the first session switching notice that first client is sent, and described the One session switching notice is indicating that the client of remote desktop session described in the remote desktop gateway is needed from described first Client is switched to the second client;
Processing unit, for according to the first session switching notice retain first client and remote desktop server it Between remote desktop session, and return to switching Notice of Readiness, the switching Notice of Readiness is informing described first Remote desktop gateway described in client gets out session switching;
Connection unit, for establishing the connection between the remote desktop gateway and second client;Wherein, by described One client notifies that second client conversates switching by the second session switching notice, the second client termination After receiving the second session switching notice, the remote desktop gateway is connected;
Control unit, for disconnecting the connection between the remote desktop gateway and first client.
CN201310017049.3A 2013-01-17 2013-01-17 Remote desktop conversation switching method, client and gateway Active CN103944926B (en)

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 CN103944926A (en) 2014-07-23
CN103944926B true 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)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104270336B (en) * 2014-07-30 2018-10-30 深信服科技股份有限公司 The migration method, apparatus and system of remote applications running terminal
US20160112528A1 (en) * 2014-10-16 2016-04-21 Futurewei Technologies, Inc. Method and System for Serving a Virtual Desktop to a Client
CN109189542B (en) * 2018-09-28 2021-10-15 成都安恒信息技术有限公司 Remote desktop access method for operation and maintenance auditing system
CN109688366B (en) * 2018-12-29 2020-12-25 随锐科技集团股份有限公司 Online conference transfer method and device and mobile terminal
CN112217890B (en) * 2020-10-12 2023-09-15 南方电网数字电网研究院有限公司 Remote assistance method, device, computer equipment and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100623482B1 (en) * 2004-12-14 2006-09-14 한국전자통신연구원 Method for Supporting Session Mobility

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Also Published As

Publication number Publication date
CN103944926A (en) 2014-07-23

Similar Documents

Publication Publication Date Title
EP3537786B1 (en) User terminal location area update method, access network entity, user terminal, and core network entity
EP2538746B1 (en) Method, device and system for supporting multiple international mobile subscriber identities (imsis)
CN103944926B (en) Remote desktop conversation switching method, client and gateway
EP2078360B1 (en) Session transfer method and method for supporting session continuity
US9065788B2 (en) Method, device and system for voice communication
CN102821150B (en) Based on application management method and the Cloud Server of cloud service
CN102754387B (en) The system and method for multimedia conferencing is carried out between the telephone plant allowing UPnP and WAN equipment
CN104106303A (en) Methods and apparatus for establishing tunneled direct link setup (TDLS) session between devices in wireless network
CN107995247B (en) File transmission method, server and system
JP2015534677A (en) Instant messaging method, terminal, server and system
CN104584490A (en) Data transmitting method and device
CN102752327A (en) Method, system and device for performing interaction between terminals and cloud server
CN103763754A (en) Method, device and system for processing data
CN113365234B (en) Calling method and device and electronic equipment
CN112187495A (en) Communication method and communication system of terminal and server
CN110582998A (en) Group communication method and device, computer storage medium and computer equipment
EP2974159B1 (en) Method, device and system for voice communication
CN108476212A (en) Dynamic wlan connections
WO2017167027A1 (en) Network access method, and associated equipment and system
US10044777B2 (en) Method and device for communicating between at least a first terminal and a second terminal
WO2022016558A1 (en) Service continuity event notification method and apparatus
EP2770757A1 (en) Method and terminal for information processing based on rcs-e system
CN111490931B (en) Session management method, device, session management equipment and storage medium
CN103781138B (en) Method, apparatus and system for connecting WiMo sending terminal to WLAN
CN108632355B (en) Routing method for household appliance network, control terminal, readable storage medium and equipment

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
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 Technology Co.,Ltd.

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

Patentee before: HUAWEI TECHNOLOGIES Co.,Ltd.