CN104270336A - Migration method, device and system for remote application running terminal - Google Patents

Migration method, device and system for remote application running terminal Download PDF

Info

Publication number
CN104270336A
CN104270336A CN201410371356.6A CN201410371356A CN104270336A CN 104270336 A CN104270336 A CN 104270336A CN 201410371356 A CN201410371356 A CN 201410371356A CN 104270336 A CN104270336 A CN 104270336A
Authority
CN
China
Prior art keywords
terminal
remote application
feature code
server
running
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
Application number
CN201410371356.6A
Other languages
Chinese (zh)
Other versions
CN104270336B (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.)
Shenzhen Shenxinfu Electronic Technology Co Ltd
Original Assignee
Shenzhen Shenxinfu Electronic Technology 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 Shenzhen Shenxinfu Electronic Technology Co Ltd filed Critical Shenzhen Shenxinfu Electronic Technology Co Ltd
Priority to CN201410371356.6A priority Critical patent/CN104270336B/en
Publication of CN104270336A publication Critical patent/CN104270336A/en
Application granted granted Critical
Publication of CN104270336B publication Critical patent/CN104270336B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/148Migration or transfer of sessions
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • G06F21/41User authentication where a single sign-on provides access to a plurality of computers

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephonic Communication Services (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a migration method, device and system for a remote application running terminal. According to the embodiment of the invention, the method comprises the following steps that a first terminal receives a migration trigger command of a remote application, generates a characteristic code corresponding to the remote application according to a working state during running of the remote application, and transmits the characteristic code to a server; a second terminal receives a migration trigger command of the remote application, acquires the characteristic code generated by the first terminal, and transmits the acquired characteristic code to the server when the characteristic code is verified to be a valid characteristic code; the server verifies whether the characteristic code transmitted by the second terminal is matched with the characteristic code transmitted by the first terminal or not; and when the characteristic code transmitted by the second terminal is verified to be matched with the characteristic code transmitted by the first terminal, the server permits the remote application running on the first terminal to migrate onto the second terminal. Through application of the migration method, device and system, the migration convenience of the remote application running terminal is enhanced, the migration time is saved, and meanwhile the man-machine interactivity is enhanced.

Description

Migration method, device and system of remote application operation terminal
Technical Field
The present invention relates to the field of communications, and in particular, to a method, an apparatus, and a system for migrating a remote application running terminal.
Background
At present, when a remote application is used, if the remote application running on a certain terminal needs to be migrated to another terminal, a login process based on a remote application client must be executed again on a new terminal. For example, after a user logs in a remote desktop (or virtual desktop) on a PC (Personal Computer) through a remote access client and establishes a session, if the remote desktop needs to be moved to another terminal for some reason, such as a sudden meeting or going out, the login process must be performed again on a new terminal using the client, and if key authentication is required, key authentication must be performed again; if the short message verification code is needed, the short message verification code needs to be obtained again and filled in; if the client opens a plurality of remote desktops, a series of tedious operations such as restarting each opened remote desktop one by one are needed. When the operation terminal of the remote application is migrated, the migration process is complicated, time and labor are wasted, and the human-computer interaction is not facilitated.
Disclosure of Invention
In view of the foregoing, there is a need to provide a migration method, device and system for a remote application execution terminal, aiming to conveniently migrate an execution terminal of a remote application.
The embodiment of the invention provides a migration method of a remote application operation terminal, which comprises the following steps:
the method comprises the steps that a first terminal receives a triggering instruction of remote application migration, generates a feature code corresponding to a remote application according to the working state of the remote application during operation, and sends the feature code to a server;
the second terminal receives a triggering instruction of remote application migration, acquires the feature code generated by the first terminal, and sends the acquired feature code to the server when verifying that the feature code is a valid feature code;
the server verifies whether the feature code sent by the second terminal is matched with the feature code sent by the first terminal; and when the feature code sent by the second terminal is matched with the feature code sent by the first terminal, the server allows the remote application running on the first terminal to be migrated to the second terminal.
Preferably, the step of allowing the remote application running on the first terminal to migrate to the second terminal by the server comprises:
the server sends a control instruction allowing the remote application to migrate to the second terminal;
and the second terminal receives the control instruction and runs the remote application mapped by the running information according to the running information which is carried by the control instruction and contains the running state of the remote application.
Preferably, the step of allowing the remote application running on the first terminal to migrate to the second terminal by the server comprises:
the server sends a control instruction allowing remote application migration to the first terminal and the second terminal;
when the first terminal receives the control instruction, the running remote application is cancelled;
and when the second terminal receives the control instruction, the remote application mapped by the characteristic information is operated according to the characteristic information which is carried by the characteristic code and contains the operating state of the remote application and is acquired by the second terminal.
Preferably, the feature code comprises a session credential and a random number corresponding to the remote application;
the server verifying whether the feature code sent by the second terminal is matched with the feature code sent by the first terminal comprises the following steps:
the server verifies whether a second random number corresponding to the feature code sent by the second terminal is completely consistent with a first random number corresponding to the feature code sent by the first terminal;
when the second random number is completely consistent with the first random number, verifying whether a second session certificate corresponding to the feature code sent by the second terminal is the same as a first session certificate corresponding to the feature code sent by the first terminal;
and when the second session certificate is the same as the first session certificate, judging that the feature code sent by the second terminal is matched with the feature code sent by the first terminal.
The embodiment of the invention also discloses a migration method of the remote application operation terminal, which comprises the following steps:
receiving a triggering instruction of remote application migration, and acquiring a feature code of running information corresponding to a running working state of the remote application on other terminals;
sending the feature code to a server for the server to verify the feature code;
and receiving a control instruction which is sent by the server after the feature code verification is passed and allows the remote application to be migrated, and operating the remote application according to the operating state of the remote application on other terminals.
Preferably, the running the remote application comprises:
according to the characteristic information which is carried by the characteristic code and contains the running state of the remote application, the remote application mapped by the characteristic information is run; or,
and running the remote application mapped by the running information according to the running information which is carried by the control instruction and contains the running state of the remote application and sent by the server.
The embodiment of the invention also provides a migration system of the remote application running terminal, which comprises a first terminal, a second terminal and a server; the first terminal and the second terminal are in communication connection with the server respectively;
the first terminal is configured to: receiving a triggering instruction of remote application migration, generating a feature code corresponding to the remote application according to the working state of the remote application during running, and sending the feature code to a server;
the second terminal is configured to: receiving a triggering instruction of remote application migration, acquiring the feature code generated by the first terminal, and sending the acquired feature code to a server when the feature code is verified to be a valid feature code;
the server is configured to: verifying whether the feature code sent by the second terminal is matched with the feature code sent by the first terminal; and when the feature code sent by the second terminal is verified to be matched with the feature code sent by the first terminal, allowing the remote application running on the first terminal to be migrated to the second terminal.
Preferably, the server is further configured to:
sending a control instruction allowing the remote application to migrate to the second terminal;
the second terminal is further configured to:
and receiving the control instruction sent by the server, and operating the remote application mapped by the operation information according to the operation information which is carried by the control instruction and contains the operation state of the remote application.
Preferably, the server is further configured to:
sending a control instruction allowing remote application migration to the first terminal and the second terminal;
the first terminal is further configured to: when the control instruction sent by the server is received, logging off the running remote application;
the second terminal is further configured to: and when the control instruction sent by the server is received, the remote application mapped by the characteristic information is operated according to the characteristic information which is carried by the characteristic code and contains the operating state of the remote application and is acquired by the second terminal.
The embodiment of the invention also discloses a migration device of the remote application operation terminal, which comprises the following steps:
the information acquisition module is used for receiving a triggering instruction of remote application migration and acquiring a feature code of the running information corresponding to the running working state of the remote application on other terminals;
the information sending module is used for sending the feature code to a server for the server to verify the feature code;
and the remote application running module is used for receiving a control instruction which is sent by the server after the feature code verification is passed and allows the remote application to be migrated, and running the remote application according to the working state of the remote application running on other terminals.
In the embodiment of the invention, a first terminal receives a triggering instruction of remote application migration, generates a feature code corresponding to a remote application according to the working state of the remote application during operation, and sends the feature code to a server; the second terminal receives a triggering instruction of remote application migration, acquires the feature code generated by the first terminal, and sends the acquired feature code to the server when verifying that the feature code is a valid feature code; the server verifies whether the feature code sent by the second terminal is matched with the feature code sent by the first terminal; when the feature code sent by the second terminal is verified to be matched with the feature code sent by the first terminal, the server allows the remote application running on the first terminal to be migrated to the second terminal; the method and the device improve the convenience of the migration of the remote application operation terminal, save the migration time and simultaneously improve the man-machine interaction.
Drawings
Fig. 1 is a schematic diagram of a hardware architecture of an embodiment of a migration method, device and system operating environment of a remote application operating terminal according to the present invention;
fig. 2 is a flowchart illustrating a first embodiment of a migration method of a remote application execution terminal according to the present invention;
fig. 3 is a flowchart illustrating a second embodiment of a migration method of a remote application execution terminal according to the present invention;
FIG. 4 is a functional block diagram of an embodiment of a migration system of a remote application execution terminal according to the present invention;
fig. 5 is a functional module diagram of a migration apparatus of a remote application execution terminal according to an embodiment of the present invention.
The implementation, functional features and advantages of the objects of the embodiments of the present invention will be further described with reference to the accompanying drawings.
Detailed Description
The technical scheme of the invention is further explained by combining the drawings and the specific embodiments in the specification. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Referring to fig. 1, fig. 1 is a schematic diagram of a hardware architecture of an embodiment of a migration method, an apparatus and a system operating environment of a remote application operating terminal according to the present invention; the embodiment of fig. 1 is described by taking the example of migrating a remote application running on the terminal 100 to the terminal 200. As shown in fig. 1, each of the terminals 100 and 200 is connected to the server 300 via the internet.
The terminal 100 logs in a remote desktop or a virtual desktop and establishes a session in response to an operation instruction triggered by a user. During the period that the remote application runs in the terminal 100, if the remote application running in the terminal 100 needs to be migrated to the terminal 200 for some reason, the terminal 100 responds to the remote application migration instruction to generate a feature code corresponding to the running state of the remote application; the terminal 200 can migrate the remote application or the remote session running on the terminal 100 to the terminal 200 by acquiring the feature code generated by the terminal 100; for example, after the remote application is migrated to the terminal 200, the remote application also opens three interfaces on the terminal 200, and the three interfaces are completely the same as the three interfaces opened on the terminal 100, and after the migration, the current display interface on the terminal 200 is also the remote desktop main interface corresponding to the remote application. That is, the remote application running on the terminal 100 is completely migrated to the terminal 200 by the server 300, so that convenience of migrating the remote application running terminal is improved.
For example, in a specific application scenario, after a user logs in a remote desktop on a PC through a remote access client and establishes a session, if the user is in a hurry to go out and must continue to work currently, the remote application running terminal migration method of the embodiment of the present invention can be used to directly migrate the remote application currently running on the PC to a mobile terminal, such as a smart phone or a tablet computer of the user, so as to facilitate the user to use when going out; the migration convenience of the remote application operation terminal is improved, the migration time is saved, and the man-machine interaction is improved.
Referring to fig. 2 based on the description of the operating environment illustrated in fig. 1, fig. 2 is a schematic flow chart illustrating a migration method of a remote application operating terminal according to a first embodiment of the present invention; the embodiment of the present invention is described by taking the operation environment described in fig. 1 as an example; those skilled in the art will understand that the embodiment shown in fig. 1 is only one specific application environment of the migration method, apparatus and system operation environment of the remote application operation terminal of the present invention, but fig. 1 is not a limitation condition for limiting the operation environment of the embodiment shown in fig. 2.
As shown in fig. 2, the migration method of the remote application operation terminal of the present invention includes the following steps:
step S01, the first terminal receives a triggering instruction of remote application migration, generates a feature code corresponding to the remote application according to the working state of the remote application during running, and sends the feature code to the server;
in the embodiment of the present invention, a first terminal is the terminal 100 shown in fig. 1, a second terminal is the terminal 200 shown in fig. 1, and a server is the server 300 shown in fig. 1 are taken as examples for description.
When receiving the triggering instruction of the remote application migration, the terminal 100 responds to the triggering instruction of the remote application migration, and according to the working state of the remote application running on the terminal 100, the terminal 100 generates a feature code corresponding to the remote application, and sends the feature code generated by the terminal 100 to the server 300. The feature codes generated by the terminal 100 include, but are not limited to: graphic codes such as bar codes, two-dimensional codes, etc. and data information.
In a preferred embodiment of the present invention, the feature code generated by the terminal 100 includes a session credential and a random number corresponding to the remote application. When the server 300 receives the feature code transmitted from the terminal 100, the feature code transmitted from the terminal 100 is stored.
The triggering instruction of the remote application migration may be triggered by a user, or may be triggered by the terminal itself running the remote application. For example, when a user needs to conveniently migrate a remote application running on the terminal 100 to the terminal 200, the user triggers a remote application migration instruction by using a corresponding function control provided by the terminal 100. Alternatively, the terminal 100 itself triggers the application migration instruction.
Step S02, the second terminal receives a triggering instruction of remote application migration, acquires the feature code generated by the first terminal, and sends the acquired feature code to a server when verifying that the feature code is a valid feature code;
after the terminal 100 generates the feature code corresponding to the remote application based on the triggering instruction for remote application migration, the terminal 200 obtains the feature code generated by the terminal 100 when receiving the triggering instruction for remote application migration. For example, when the feature code generated by the terminal 100 is a graphic code, the terminal 200 responds to a trigger instruction of remote application migration, and scans the feature code generated by the terminal 100 and displayed on the terminal 100 by using a scanning function on the terminal 200, so as to obtain the feature code displayed on the terminal 100; after the feature code displayed on the terminal 100 is acquired by the terminal 200, the acquired feature code is sent to the server 300.
Further, in the embodiment of the present invention, after the terminal 200 acquires the feature code generated by the terminal 100, the terminal 200 first verifies whether the acquired feature code is valid; for example, the terminal 200 verifies whether the obtained feature code conforms to the characteristics corresponding to the feature code itself, for example, if the feature code is a two-dimensional code, the terminal 200 verifies whether the feature code conforms to the characteristics of the two-dimensional code itself. After verifying that the obtained feature code is valid, the terminal 200 sends the obtained feature code to the server 300.
Step S03, the server verifies whether the feature code sent by the second terminal is matched with the feature code sent by the first terminal;
and step S04, when the feature code sent by the second terminal is verified to be matched with the feature code sent by the first terminal, the server allows the remote application running on the first terminal to be migrated to the second terminal.
After receiving the feature code transmitted by the terminal 200, the server 300 verifies whether the feature code transmitted by the terminal 200 matches the feature code transmitted by the terminal 100. Further, in this embodiment of the present invention, when the server 300 receives the feature code sent by the terminal 200, it first identifies whether the feature code sent by the terminal 200 is valid. Upon recognizing that the feature code transmitted by the terminal 200 is a valid feature code, the server 300 verifies whether or not the feature code transmitted by the terminal 200 and the feature code transmitted by the terminal 100 match. If the server 300 verifies that the feature code sent by the terminal 200 does not match the feature code sent by the terminal 100, the server 300 refuses to migrate the remote application to the terminal 200.
When the server 300 verifies that the signature transmitted by the terminal 200 matches the signature transmitted by the terminal 100, the server allows the remote application running on the terminal 100 to migrate to the terminal 200. For example, the server 300 transmits a control instruction allowing the remote application migration to the terminal 200; and the terminal 200 receives the control instruction, and runs the remote application mapped by the running information according to the running information which is carried by the control instruction and contains the running state of the remote application. Alternatively, the server 300 transmits a control instruction allowing the remote application migration to the terminal 100 and the terminal 200; and when receiving the control instruction, the terminal 100 logs off the running remote application. And when the terminal 200 receives the control instruction, the remote application mapped by the characteristic information is operated according to the characteristic information which is carried by the characteristic code and contains the operation state of the remote application and is acquired by the terminal 200. After the server migrates the remote application to the terminal 200, the server logs off the operation of the remote application on the terminal 100, so that the security of the remote application is improved.
In a preferred embodiment of the present invention, the server 300 verifying whether the feature code transmitted by the terminal 200 matches the feature code transmitted by the terminal 100 includes:
the server 300 verifies whether the second random number corresponding to the feature code sent by the terminal 200 is completely consistent with the first random number corresponding to the feature code sent by the terminal 100; when the second random number and the first random number are completely consistent, verifying whether a second session certificate corresponding to the feature code sent by the terminal 200 is the same as a first session certificate corresponding to the feature code sent by the terminal 100; and when the second session certificate is the same as the first session certificate, judging that the feature code sent by the terminal 200 is matched with the feature code sent by the terminal 100.
In a preferred embodiment of the present invention, the terminal 200 may further adopt the following manner to acquire the feature code generated by the terminal 100:
in a specific application scenario, if the feature code generated by the terminal 100 is a one-dimensional code, a two-dimensional code, or another graphic code, the terminal 100 displays the graphic code corresponding to the generated feature code on its own display interface, and when the terminal 200 receives an operation instruction triggered by a user, the terminal 200 invokes a scanning function, such as turning on a camera, to scan the graphic code displayed on the terminal 100, thereby obtaining the graphic code displayed on the terminal 100. In this embodiment, the operation instruction triggered by the user includes the following modes: in the screen locking interface of the terminal 200, a user directly switches the interface of the terminal 200 from the screen locking interface to a photographing interface in a preset sliding mode, so that the terminal 200 scans the graphic code displayed on the terminal 100 by using a photographing function; in this way, when the terminal 200 responds to an operation instruction triggered by the user and verifies that the sliding track of the user is consistent with the preset track, the terminal 200 starts the photographing function and calls the photographing interface corresponding to the photographing function, so that the screen locking interface is directly switched to the photographing interface for the user to use. Or, the user unlocks the terminal 200 according to a common operation mode, and then calls the photographing function of the terminal 200; or, if the terminal 200 is in the operation interface behind the unlocking screen, the user directly calls the photographing function of the terminal 200; in this manner, the terminal 200 executes the corresponding operation event based on the operation instruction triggered by the user, thereby invoking the photographing function of the terminal 200.
In the embodiment of the invention, a first terminal receives a triggering instruction of remote application migration, generates a feature code corresponding to a remote application according to the working state of the remote application during operation, and sends the feature code to a server; the second terminal receives a triggering instruction of remote application migration, acquires the feature code generated by the first terminal, and sends the acquired feature code to the server when verifying that the feature code is a valid feature code; the server verifies whether the feature code sent by the second terminal is matched with the feature code sent by the first terminal; when the feature code sent by the second terminal is verified to be matched with the feature code sent by the first terminal, the server allows the remote application running on the first terminal to be migrated to the second terminal; the method and the device improve the convenience of the migration of the remote application operation terminal, save the migration time and simultaneously improve the man-machine interaction.
Referring to fig. 3, based on the description of the embodiments in fig. 1 and fig. 2, fig. 3 is a schematic flowchart illustrating a migration method of a remote application operating terminal according to a second embodiment of the present invention; the difference between the embodiment of the present invention and the embodiment described in fig. 2 is that, in the embodiment of the present invention, from the perspective of the terminal 200 in fig. 1, a single-ended manner is adopted to describe an implementation process of the migration method of the remote application operation terminal in the embodiment of the present invention.
As shown in fig. 3, the migration method of the remote application operation terminal of the present invention includes the following steps:
step S11, receiving a triggering instruction of remote application migration, and acquiring a feature code of running information corresponding to the running working state of the remote application on other terminals;
in the embodiment of the present invention, when receiving a triggering instruction of remote application migration, the terminal 200 obtains a feature code of operation information corresponding to an operation state of the remote application on another terminal, for example, the terminal 100; for example, the terminal 200 acquires a feature code generated by the terminal 100. In a specific application scenario, when the feature code generated by the terminal 100 is a graphic code, the terminal 200 responds to a trigger instruction of remote application migration, and scans the feature code generated by the terminal 100 and displayed on the terminal 100 by using a scanning function on the terminal 200, so as to obtain the feature code displayed on the terminal 100; after the feature code displayed on the terminal 100 is acquired by the terminal 200, the acquired feature code is sent to the server 300.
Further, in the embodiment of the present invention, after the terminal 200 acquires the feature code generated by the terminal 100, the terminal 200 first verifies whether the acquired feature code is valid; for example, the terminal 200 verifies whether the obtained feature code conforms to the characteristics corresponding to the feature code itself, for example, if the feature code is a two-dimensional code, the terminal 200 verifies whether the feature code conforms to the characteristics of the two-dimensional code itself. After verifying that the obtained feature code is valid, the terminal 200 sends the obtained feature code to the server 300.
Step S12, the feature code is sent to a server for the server to verify;
after the terminal 200 acquires the feature code representing the running state of the remote application generated by the terminal 100, the acquired feature code is sent to the server, so that the server can verify the feature code sent by the terminal 200.
In the embodiment of the present invention, when the server 300 receives the feature code sent by the terminal 200, it first identifies whether the feature code sent by the terminal 200 is valid. When recognizing that the feature code sent by the terminal 200 is a valid feature code, the server 300 verifies whether the feature code sent by the terminal 200 matches the feature code sent by the terminal 100; in the embodiment of the present invention, the feature code transmitted by the terminal 100 is stored in the server 300 in advance. If the server 300 verifies that the feature code sent by the terminal 200 does not match the feature code sent by the terminal 100, the server 300 refuses to migrate the remote application to the terminal 200. When the server 300 verifies that the signature transmitted by the terminal 200 matches the signature transmitted by the terminal 100, the server 300 transmits a control instruction to allow the remote application migration to the terminal 200.
And step S13, receiving a control instruction which is sent by the server after the feature code verification is passed and allows the remote application to be migrated, and running the remote application according to the working state of the remote application running on other terminals.
The terminal 200 receives a control instruction for running remote application migration sent by the server 300 after the feature code verification is passed, and runs the remote application mapped by the running information. For example, the terminal 200 runs the remote application mapped by the feature information according to the feature information carried by the feature code and containing the running state of the remote application. Or, the terminal 200 runs the remote application mapped by the running information according to the running information which is carried by the control instruction sent by the server 300 and contains the running state of the remote application; thereby enabling successful migration of the remote application.
The method comprises the steps that a terminal receives a triggering instruction of remote application migration, and obtains a feature code of running information corresponding to a running working state of the remote application on other terminals; sending the feature code to a server for the server to verify the feature code; receiving a control instruction which is sent by the server after the feature code verification is passed and allows the remote application to be migrated, and operating the remote application according to the operating state of the remote application on other terminals; the method and the device improve the convenience of the migration of the remote application operation terminal, save the migration time and simultaneously improve the man-machine interaction.
The embodiment of the invention also discloses a functional module schematic diagram of the embodiment of the migration system of the remote application operation terminal shown in FIG. 4; based on the description of the embodiment of fig. 1, as shown in fig. 4, in the embodiment of the present invention, the migration system of the remote application running terminal includes a first terminal 110, a second terminal 120, and a server 130; the first terminal 110 and the second terminal 120 are respectively connected to the server 130 in a communication manner.
The first terminal 110 is configured to: receiving a triggering instruction of remote application migration, generating a feature code corresponding to the remote application according to the working state of the remote application during running, and sending the feature code to the server 130;
when receiving the triggering instruction of the remote application migration, the first terminal 110 responds to the triggering instruction of the remote application migration, and according to the working state of the remote application running on the first terminal 110, the first terminal 110 generates a feature code corresponding to the remote application, and sends the feature code generated by the first terminal 110 to the server 130. The feature codes generated by the first terminal 110 include, but are not limited to: graphic codes such as bar codes, two-dimensional codes, etc. and data information.
In a preferred embodiment of the present invention, the feature code generated by the first terminal 110 includes a session credential and a random number corresponding to the remote application. When receiving the feature code transmitted by the first terminal 110, the server 130 stores the feature code transmitted by the first terminal 110.
The triggering instruction of the remote application migration may be triggered by a user, or may be triggered by the terminal itself running the remote application. For example, when a user needs to conveniently migrate a remote application running on the first terminal 110 to the second terminal 120, the user triggers a remote application migration instruction by using a corresponding function control provided by the first terminal 110. Alternatively, the first terminal 110 itself triggers the application migration instruction.
The second terminal 120 is configured to: receiving a triggering instruction of remote application migration, acquiring the feature code generated by the first terminal 110, and sending the acquired feature code to the server 130 when verifying that the feature code is a valid feature code;
after the first terminal 110 generates the feature code corresponding to the remote application based on the triggering instruction for remote application migration, the second terminal 120 obtains the feature code generated by the first terminal 110 when receiving the triggering instruction for remote application migration. For example, when the feature code generated by the first terminal 110 is a graphic code, the second terminal 120 responds to the triggering instruction of remote application migration, and scans the feature code generated by the first terminal 110 and displayed on the first terminal 110 by using the scanning function of the second terminal 120, so as to obtain the feature code displayed on the first terminal 110; after the feature code displayed on the first terminal 110 is acquired by the second terminal 120, the acquired feature code is sent to the server 130.
Further, in the embodiment of the present invention, after the second terminal 120 acquires the feature code generated by the first terminal 110, the second terminal 120 first verifies whether the acquired feature code is valid; for example, the second terminal 120 verifies whether the obtained feature code conforms to the characteristics corresponding to the feature code itself, for example, if the feature code is a two-dimensional code, the second terminal 120 verifies whether the feature code conforms to the characteristics corresponding to the two-dimensional code itself. After verifying that the obtained feature code is valid, the second terminal 120 sends the obtained feature code to the server 130.
The server 130 is configured to: verifying whether the feature code transmitted by the second terminal 120 matches the feature code transmitted by the first terminal 110; upon verifying that the signature transmitted by the second terminal 120 matches the signature transmitted by the first terminal 110, the remote application running on the first terminal 110 is allowed to migrate to the second terminal 120.
After receiving the feature code sent by the second terminal 120, the server 130 verifies whether the feature code sent by the second terminal 120 matches the feature code sent by the first terminal 110. Further, in this embodiment of the present invention, when the server 130 receives the feature code sent by the second terminal 120, it first identifies whether the feature code sent by the second terminal 120 is valid. Upon recognizing that the signature transmitted by the second terminal 120 is a valid signature, the server 130 verifies whether the signature transmitted by the second terminal 120 matches the signature transmitted by the first terminal 110. If the server 130 verifies that the feature code sent by the second terminal 120 does not match the feature code sent by the first terminal 110, the server 130 refuses to migrate the remote application to the second terminal 120.
When the server 130 verifies that the signature sent by the second terminal 120 matches the signature sent by the first terminal 110, the server allows the remote application running on the first terminal 110 to migrate to the second terminal 120. For example, the server 130 sends a control instruction allowing the remote application migration to the second terminal 120; the second terminal 120 receives the control instruction, and runs the remote application mapped by the running information according to the running information which is carried by the control instruction and contains the running state of the remote application. Alternatively, the server 130 sends a control instruction allowing the remote application migration to the first terminal 110 and the second terminal 120; and when the first terminal 110 receives the control instruction, logging off the running remote application. And when the second terminal 120 receives the control instruction, the remote application mapped by the feature information is operated according to the feature information which is carried by the feature code and contains the remote application operation state and is acquired by the second terminal 120. After the server migrates the remote application to the second terminal 120, the server logs off the operation of the remote application on the first terminal 110, so that the security of the remote application is improved.
In a preferred embodiment of the present invention, the server 130 verifying whether the signature transmitted by the second terminal 120 matches the signature transmitted by the first terminal 110 comprises:
the server 130 verifies whether the second random number corresponding to the feature code sent by the second terminal 120 is completely consistent with the first random number corresponding to the feature code sent by the first terminal 110; when the second random number and the first random number are completely consistent, verifying whether a second session certificate corresponding to the feature code sent by the second terminal 120 is the same as a first session certificate corresponding to the feature code sent by the first terminal 110; when the second session credential is the same as the first session credential, it is determined that the feature code sent by the second terminal 120 matches the feature code sent by the first terminal 110.
In a preferred embodiment of the present invention, the second terminal 120 may further obtain the feature code generated by the first terminal 110 by the following steps:
in a specific application scenario, if the feature code generated by the first terminal 110 is a one-dimensional code, a two-dimensional code, or another graphic code, the first terminal 110 displays the graphic code corresponding to the generated feature code on its own display interface, and when the second terminal 120 receives an operation instruction triggered by a user, the second terminal invokes a scanning function, such as turning on a camera, to scan the graphic code displayed on the first terminal 110, thereby obtaining the graphic code displayed on the first terminal 110. In this embodiment, the operation instruction triggered by the user includes the following modes: in the screen locking interface of the second terminal 120, the user directly switches the interface of the second terminal 120 from the screen locking interface to the photographing interface in a preset sliding manner, so that the second terminal 120 scans the graphic code displayed on the first terminal 110 by using the photographing function; in this way, the second terminal 120 responds to an operation instruction triggered by the user, and when the sliding track of the user is verified to be consistent with the preset track, the second terminal 120 starts the photographing function and calls the photographing interface corresponding to the photographing function, so that the screen locking interface is directly switched to the photographing interface for the user to use. Or, the user unlocks the second terminal 120 according to a common operation mode, and then calls the photographing function of the second terminal 120; or, if the second terminal 120 is located in the operation interface behind the unlocked screen, the user directly calls the photographing function of the second terminal 120; in this way, the second terminal 120 executes the corresponding operation event based on the operation instruction triggered by the user, so as to invoke the photographing function of the second terminal 120.
In the embodiment of the invention, a first terminal receives a triggering instruction of remote application migration, generates a feature code corresponding to a remote application according to the working state of the remote application during operation, and sends the feature code to a server; the second terminal receives a triggering instruction of remote application migration, acquires the feature code generated by the first terminal, and sends the acquired feature code to the server when verifying that the feature code is a valid feature code; the server verifies whether the feature code sent by the second terminal is matched with the feature code sent by the first terminal; when the feature code sent by the second terminal is verified to be matched with the feature code sent by the first terminal, the server allows the remote application running on the first terminal to be migrated to the second terminal; the method and the device improve the convenience of the migration of the remote application operation terminal, save the migration time and simultaneously improve the man-machine interaction.
Referring to fig. 5, please refer to fig. 5 based on the description of the embodiments in fig. 1 and fig. 4, where fig. 5 is a schematic diagram of functional modules of an embodiment of a migration apparatus of a remote application running terminal according to the present invention. In the embodiment of the present invention, the described migration apparatus of the remote application running terminal has corresponding functions of the terminal 200 in the embodiment described in fig. 1 and the terminal 120 in the embodiment described in fig. 4.
As shown in fig. 5, in the embodiment of the present invention, the migration apparatus of the remote application execution terminal includes: the system comprises an information acquisition module 01, an information sending module 02 and a remote application running module 03.
The information acquisition module 01 is used for receiving a triggering instruction of remote application migration and acquiring a feature code of the running information corresponding to the running working state of the remote application on other terminals;
in this embodiment of the present invention, when receiving a triggering instruction of remote application migration, the information obtaining module 01 obtains a feature code of operation information corresponding to an operation working state of a remote application on another terminal, for example, the terminal 100 shown in fig. 1 and 4; for example, the information obtaining module 01 obtains the feature code generated by the terminal 100 shown in fig. 1 and 4. In a specific application scenario, when the feature code generated by the terminal 100 is a graphic code, the information obtaining module 01 responds to a triggering instruction of remote application migration, and scans the feature code generated by the terminal 100 and displayed on the terminal 100 by using a scanning function on a migration device of the remote application operating terminal, so as to obtain the feature code displayed on the terminal 100; after the feature code displayed on the terminal 100 is acquired by the information acquisition module 01, the acquired feature code is sent to the server 300.
Further, in the embodiment of the present invention, after the information obtaining module 01 obtains the feature code generated by the terminal 100, the information obtaining module 01 firstly verifies whether the obtained feature code is valid; for example, the information obtaining module 01 verifies whether the obtained feature code conforms to the characteristics corresponding to the feature code itself, for example, if the feature code is a two-dimensional code, the information obtaining module 01 verifies whether the feature code conforms to the characteristics corresponding to the two-dimensional code itself. After verifying that the obtained feature code is valid, the information obtaining module 01 sends the obtained feature code to the server 300.
The information sending module 02 is configured to send the feature code to a server, so that the server can verify the feature code;
after the information acquisition module 01 acquires the feature code which is generated by the terminal 100 and represents the running state of the remote application, the information sending module 02 sends the feature code acquired by the information acquisition module 01 to the server, so that the server can verify the feature code sent by the information sending module 02.
In the embodiment of the present invention, when the server 300 receives the feature code sent by the information sending module 02, it first identifies whether the feature code sent by the information sending module 02 is valid. When recognizing that the feature code sent by the information sending module 02 is a valid feature code, the server 300 verifies whether the feature code sent by the information sending module 02 matches the feature code sent by the terminal 100; in the embodiment of the present invention, the feature code transmitted by the terminal 100 is stored in the server 300 in advance. If the server 300 verifies that the feature code sent by the information sending module 02 does not match the feature code sent by the terminal 100, the server 300 refuses to migrate the remote application to the migration apparatus of the remote application running terminal. When the server 300 verifies that the feature code transmitted by the information transmission module 02 matches the feature code transmitted by the terminal 100, the server 300 transmits a control instruction for allowing the remote application to migrate to the migration apparatus of the remote application execution terminal.
The remote application running module 03 is configured to receive a control instruction which is sent by the server after the feature code verification is passed and allows the remote application to migrate, and run the remote application according to a working state of the remote application running on another terminal.
The remote application running module 03 receives a control instruction for running remote application migration, which is sent by the server 300 after the feature code verification is passed, and runs the remote application mapped by the running information. For example, the remote application running module 03 runs the remote application mapped by the feature information according to the feature information carried by the feature code and containing the running state of the remote application. Or, the remote application running module 03 runs the remote application mapped by the running information according to the running information which is carried by the control instruction sent by the server 300 and contains the running state of the remote application; thereby enabling successful migration of the remote application.
The method comprises the steps that a terminal receives a triggering instruction of remote application migration, and obtains a feature code of running information corresponding to a running working state of the remote application on other terminals; sending the feature code to a server for the server to verify the feature code; receiving a control instruction which is sent by the server after the feature code verification is passed and allows the remote application to be migrated, and operating the remote application according to the operating state of the remote application on other terminals; the method and the device improve the convenience of the migration of the remote application operation terminal, save the migration time and simultaneously improve the man-machine interaction.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only for the preferred embodiment of the present invention and is not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes that can be directly or indirectly applied to other related technical fields using the contents of the present specification and the accompanying drawings are included in the scope of the present invention.

Claims (10)

1. A migration method of a remote application operation terminal is characterized by comprising the following steps:
the method comprises the steps that a first terminal receives a triggering instruction of remote application migration, generates a feature code corresponding to a remote application according to the working state of the remote application during operation, and sends the feature code to a server;
the second terminal receives a triggering instruction of remote application migration, acquires the feature code generated by the first terminal, and sends the acquired feature code to the server when verifying that the feature code is a valid feature code;
the server verifies whether the feature code sent by the second terminal is matched with the feature code sent by the first terminal; and when the feature code sent by the second terminal is matched with the feature code sent by the first terminal, the server allows the remote application running on the first terminal to be migrated to the second terminal.
2. The method of claim 1, wherein the step of the server allowing the remote application running on the first terminal to migrate to the second terminal comprises:
the server sends a control instruction allowing the remote application to migrate to the second terminal;
and the second terminal receives the control instruction and runs the remote application mapped by the running information according to the running information which is carried by the control instruction and contains the running state of the remote application.
3. The method of claim 1, wherein the step of the server allowing the remote application running on the first terminal to migrate to the second terminal comprises:
the server sends a control instruction allowing remote application migration to the first terminal and the second terminal;
when the first terminal receives the control instruction, the running remote application is cancelled;
and when the second terminal receives the control instruction, the remote application mapped by the characteristic information is operated according to the characteristic information which is carried by the characteristic code and contains the operating state of the remote application and is acquired by the second terminal.
4. A method according to any one of claims 1 to 3, wherein the feature code comprises a session credential and a nonce for the remote application;
the server verifying whether the feature code sent by the second terminal is matched with the feature code sent by the first terminal comprises the following steps:
the server verifies whether a second random number corresponding to the feature code sent by the second terminal is completely consistent with a first random number corresponding to the feature code sent by the first terminal;
when the second random number is completely consistent with the first random number, verifying whether a second session certificate corresponding to the feature code sent by the second terminal is the same as a first session certificate corresponding to the feature code sent by the first terminal;
and when the second session certificate is the same as the first session certificate, judging that the feature code sent by the second terminal is matched with the feature code sent by the first terminal.
5. A migration method of a remote application operation terminal is characterized by comprising the following steps:
receiving a triggering instruction of remote application migration, and acquiring a feature code of running information corresponding to a running working state of the remote application on other terminals;
sending the feature code to a server for the server to verify the feature code;
and receiving a control instruction which is sent by the server after the feature code verification is passed and allows the remote application to be migrated, and operating the remote application according to the operating state of the remote application on other terminals.
6. The method of claim 5, wherein said running the remote application comprises:
according to the characteristic information which is carried by the characteristic code and contains the running state of the remote application, the remote application mapped by the characteristic information is run; or,
and running the remote application mapped by the running information according to the running information which is carried by the control instruction and contains the running state of the remote application and sent by the server.
7. A migration system of a remote application operation terminal comprises a first terminal, a second terminal and a server; the first terminal and the second terminal are in communication connection with the server respectively; it is characterized in that the preparation method is characterized in that,
the first terminal is configured to: receiving a triggering instruction of remote application migration, generating a feature code corresponding to the remote application according to the working state of the remote application during running, and sending the feature code to a server;
the second terminal is configured to: receiving a triggering instruction of remote application migration, acquiring the feature code generated by the first terminal, and sending the acquired feature code to a server when the feature code is verified to be a valid feature code;
the server is configured to: verifying whether the feature code sent by the second terminal is matched with the feature code sent by the first terminal; and when the feature code sent by the second terminal is verified to be matched with the feature code sent by the first terminal, allowing the remote application running on the first terminal to be migrated to the second terminal.
8. The system of claim 7, wherein the server is further configured to:
sending a control instruction allowing the remote application to migrate to the second terminal;
the second terminal is further configured to:
and receiving the control instruction sent by the server, and operating the remote application mapped by the operation information according to the operation information which is carried by the control instruction and contains the operation state of the remote application.
9. The system of claim 7 or 8, wherein the server is further configured to:
sending a control instruction allowing remote application migration to the first terminal and the second terminal;
the first terminal is further configured to: when the control instruction sent by the server is received, logging off the running remote application;
the second terminal is further configured to: and when the control instruction sent by the server is received, the remote application mapped by the characteristic information is operated according to the characteristic information which is carried by the characteristic code and contains the operating state of the remote application and is acquired by the second terminal.
10. A migration apparatus for a remote application execution terminal, comprising:
the information acquisition module is used for receiving a triggering instruction of remote application migration and acquiring a feature code of the running information corresponding to the running working state of the remote application on other terminals;
the information sending module is used for sending the feature code to a server for the server to verify the feature code;
and the remote application running module is used for receiving a control instruction which is sent by the server after the feature code verification is passed and allows the remote application to be migrated, and running the remote application according to the working state of the remote application running on other terminals.
CN201410371356.6A 2014-07-30 2014-07-30 The migration method, apparatus and system of remote applications running terminal Expired - Fee Related CN104270336B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410371356.6A CN104270336B (en) 2014-07-30 2014-07-30 The migration method, apparatus and system of remote applications running terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410371356.6A CN104270336B (en) 2014-07-30 2014-07-30 The migration method, apparatus and system of remote applications running terminal

Publications (2)

Publication Number Publication Date
CN104270336A true CN104270336A (en) 2015-01-07
CN104270336B CN104270336B (en) 2018-10-30

Family

ID=52161826

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410371356.6A Expired - Fee Related CN104270336B (en) 2014-07-30 2014-07-30 The migration method, apparatus and system of remote applications running terminal

Country Status (1)

Country Link
CN (1) CN104270336B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108139933A (en) * 2015-10-20 2018-06-08 微软技术许可有限责任公司 Physics and virtual telephony mobility
US11032371B2 (en) 2019-05-29 2021-06-08 Red Hat, Inc. Data migration using read function triggers
WO2022100359A1 (en) * 2020-11-13 2022-05-19 腾讯科技(深圳)有限公司 Method and apparatus for group user migration, and device and storage medium
CN116080293A (en) * 2022-12-29 2023-05-09 上海魅奈儿科技有限公司 Self-help nail beautifying method and nail beautifying machine

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080209048A1 (en) * 2007-02-28 2008-08-28 Microsoft Corporation Loading A Mirror Driver In Remote Terminal Server Session
CN101425021A (en) * 2007-10-31 2009-05-06 卢玉英 Mobile application mode of personal computer based on virtual machine technique
CN102033781A (en) * 2011-01-27 2011-04-27 中标软件有限公司 Desktop system switching method for virtual machine
CN102546649A (en) * 2012-01-19 2012-07-04 华为技术有限公司 Application transfer method, device and system
CN103761320A (en) * 2011-12-06 2014-04-30 谷歌公司 Browsing context continuation across multiple devices
CN103944926A (en) * 2013-01-17 2014-07-23 华为技术有限公司 Remote desktop session switching method, client and gateway

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080209048A1 (en) * 2007-02-28 2008-08-28 Microsoft Corporation Loading A Mirror Driver In Remote Terminal Server Session
CN101425021A (en) * 2007-10-31 2009-05-06 卢玉英 Mobile application mode of personal computer based on virtual machine technique
CN102033781A (en) * 2011-01-27 2011-04-27 中标软件有限公司 Desktop system switching method for virtual machine
CN103761320A (en) * 2011-12-06 2014-04-30 谷歌公司 Browsing context continuation across multiple devices
CN102546649A (en) * 2012-01-19 2012-07-04 华为技术有限公司 Application transfer method, device and system
CN103944926A (en) * 2013-01-17 2014-07-23 华为技术有限公司 Remote desktop session switching method, client and gateway

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108139933A (en) * 2015-10-20 2018-06-08 微软技术许可有限责任公司 Physics and virtual telephony mobility
CN108139933B (en) * 2015-10-20 2021-12-07 微软技术许可有限责任公司 Method, apparatus, system, and medium for optimizing physical and virtual phone mobility
US11032371B2 (en) 2019-05-29 2021-06-08 Red Hat, Inc. Data migration using read function triggers
WO2022100359A1 (en) * 2020-11-13 2022-05-19 腾讯科技(深圳)有限公司 Method and apparatus for group user migration, and device and storage medium
US12041137B2 (en) 2020-11-13 2024-07-16 Tencent Technology (Shenzhen) Company Limited Group user migration method, apparatus and device, and storage medium
CN116080293A (en) * 2022-12-29 2023-05-09 上海魅奈儿科技有限公司 Self-help nail beautifying method and nail beautifying machine

Also Published As

Publication number Publication date
CN104270336B (en) 2018-10-30

Similar Documents

Publication Publication Date Title
US20190173745A1 (en) Proximity and Context Aware Mobile Workspaces in Enterprise Systems
US10013548B2 (en) System and method for integrating two-factor authentication in a device
CN107070945B (en) Identity login method and equipment
CN103973787B (en) The method and system of mobile intelligent terminal remote control display terminal
US9930705B2 (en) Mobile terminal control method, apparatus and system
CN103237034A (en) Login method and device
US10831816B2 (en) Method for controlling electronic picture frame, electronic picture frame, electronic picture frame cloud platform and mobile terminal
CN104270336B (en) The migration method, apparatus and system of remote applications running terminal
CN105392136A (en) Method and device for access to router based on two-dimensional code
CN111783055A (en) Account information management method and device and electronic equipment
CN105282088A (en) Method and system for controlling verification server and method and system for controlling verification
CN110363026A (en) File operation method, device, equipment, system and computer readable storage medium
CN104363226A (en) Method, device and system for logging in operating system
CN111130765A (en) Two-dimensional code sharing method and device for intelligent device and storage medium
CN106506443B (en) A kind of information inspection method and device
CN105827725A (en) Application operating and controlling method and apparatus, and application remote operating and controlling method and apparatus
CN103036852A (en) Method and device for achieving network login
CN113778590B (en) Remote assistance method, device, electronic equipment and medium
CN105184140A (en) Password input method and device as well as mobile terminal
CN109861954B (en) Authentication method, mobile terminal, PC (personal computer) terminal and auxiliary authentication server
CN114245062A (en) Video conference control method, system, device and storage medium
CN110781481A (en) Single sign-on method, client, server, and storage medium
CN112966242A (en) User name and password authentication method, device and equipment and readable storage medium
CN102137045A (en) Method and system for implementing group information interaction on community platform
CN110673970B (en) Cross-process calling system and method based on web application

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 518000 the first floor of A1 building, Nanshan Zhiyuan 1001, Nanshan District Xue Yuan Avenue, Shenzhen, Guangdong.

Applicant after: SANGFOR TECHNOLOGIES Inc.

Address before: 518052 room 410-413, science and technology innovation service center, 1 Kirin Road, Nanshan District, Shenzhen, Guangdong

Applicant before: Sangfor Technologies Co.,Ltd.

GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20181030