[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN102984226A - Terminal devices and application program switching method between terminal devices - Google Patents

Terminal devices and application program switching method between terminal devices Download PDF

Info

Publication number
CN102984226A
CN102984226A CN2012104605220A CN201210460522A CN102984226A CN 102984226 A CN102984226 A CN 102984226A CN 2012104605220 A CN2012104605220 A CN 2012104605220A CN 201210460522 A CN201210460522 A CN 201210460522A CN 102984226 A CN102984226 A CN 102984226A
Authority
CN
China
Prior art keywords
application program
user
server
terminal equipment
state
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN2012104605220A
Other languages
Chinese (zh)
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.)
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing 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 Beijing Qihoo Technology Co Ltd, Qizhi Software Beijing Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN2012104605220A priority Critical patent/CN102984226A/en
Publication of CN102984226A publication Critical patent/CN102984226A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses terminal devices and an application program switching method between the terminal devices. The method includes that when a user of an application program running in a first terminal device quits the application program, the first terminal device uploads the current running state of the application program to a server; when a user of an application program of a second terminal device registers on the application program, the second terminal device downloads the state when the user quits last time from the server, the application program runs with the state used as a starting point; if a file is operated when the application program runs, the first terminal device uploads the file to the server; when the account number of the user registers on the application program in the second terminal device, the second terminal device downloads the file from the server. According to the terminal devices and the application program switching method between the terminal devices, the fact that after the user quits the running application program in one terminal device, the state during quitting is continued in the other terminal device for continuous running is achieved.

Description

Application programe switch-over method between terminal equipment and terminal equipment
Technical field
The present invention relates to the communications field, be specifically related to application programe switch-over method between a kind of terminal equipment and terminal equipment.
Background technology
When the user runs application in a terminal equipment, can occur owing to application program operation is withdrawed from accident, and after forward the situation that another terminal equipment moves this application program to.The operation of described application program is that application program is switched from the process that a terminal equipment forwards another terminal equipment to.In the prior art, switching for application program, only is the file with the application program operation, carries out synchronously such as looking audio file, text etc., uploading onto the server.When the user moves this application program in another terminal equipment, download this synchronous file, and rerun.For example, when the user withdrawed from the application program of reading article, this article was uploaded to server, has preserved the modification of user for article in the article of newly uploading.When the user read this article in another terminal equipment, therefore the article that download user is uploaded from server had realized the synchronous of article, so that the user also can obtain amended article in another terminal equipment.
But, adopt technical scheme of the prior art, can't realize when the user in a terminal equipment after the application program out of service, in another terminal equipment, continue when withdrawing from state and continue operation.For example, when the user read this article in another terminal equipment, although can obtain amended article, this article can not jump to the page that read when the user withdrawed from last time automatically when opening, do not realize thus the complete switching of application program.
Summary of the invention
In view of the above problems, the present invention has been proposed in order to a kind of application programe switch-over method between the problems referred to above or a kind of terminal equipment that addresses the above problem at least in part and terminal equipment that overcomes is provided.
According to one aspect of the present invention, a kind of terminal equipment is provided, this terminal equipment comprises:
Transmission module on the state is suitable for when the user of the application program of moving in the terminal equipment withdraws from described application program, and the state of the current operation of described application program is uploaded onto the server; And/or
The state download module is suitable for when the user of application program in the terminal equipment logins described application program, downloads the state of described application program when described user withdrawed from last time from described server, moves described application program take described state as starting point;
The File Upload module if when being suitable for described application program operation file is operated, then arrives described server with described File Upload; And/or
The file download module if when being suitable for described application program operation file is operated, then when described user logins described application program, is downloaded described file from described server.
Alternatively, described File Upload module is further adapted for by the expandable mark language XML agreement described File Upload is arrived described server.
Alternatively, transmission module on the described state is further adapted for the sync cap corresponding according to described application program, and the state of the current operation of described application program is uploaded onto the server; Dispose the parameter for the state of describing the application program operation in the described sync cap;
Described state download module is further adapted for according to sync cap corresponding to described application program and resolves the state of downloading, and moves described application program according to the parameter that parses.
Alternatively, when described application program was the text reading application program, described sync cap comprised one of following parameters at least: the number of pages of reading and the line number of reading; And/or
When described application program was the instant messaging application program, described sync cap comprised one of following parameters at least: the object of current communication, log and user account information; And/or
When described application program when looking the audio frequency play-back application, described sync cap comprises parameter at least: the progress of current broadcast.
Alternatively, described terminal equipment also comprises:
User registration module, be suitable for when the user logins described application program, described user is verified, checking is used for the User Token of identifying user by rear generation, and to described server transmission registration request, comprise the global unique identification symbol GUID of described User Token and described application program in the described registration request; And receive described server according to the session token that sign is used the described user of described application program that is used for of described User Token and described GUID generation;
Transmission module on the described state is further adapted for the status data that will carry session token and is uploaded to server, in server take described session token as index stores described status data;
Described state download module is further adapted for to described server and sends the state download request that comprises session token, searches status data according to described session token in described server and downloads.
According to a further aspect in the invention, also provide application programe switch-over method between a kind of terminal equipment, the method comprises:
When the user of the application program of moving in the first terminal equipment withdrawed from described application program, first terminal equipment was uploaded onto the server the state of the current operation of described application program;
When the user of application program in the second terminal equipment logined described application program, the second terminal equipment was downloaded the state of described application program when described user withdrawed from last time from described server, moved described application program take described state as starting point;
If during described application program operation file is operated, then first terminal equipment arrives described server with described File Upload; When described user account was logined described application program in the second terminal equipment, the second terminal equipment was downloaded described file from described server.
Alternatively, described described File Upload is further comprised to described server:
By the expandable mark language XML agreement described File Upload is arrived described server.
Alternatively, described state with the current operation of described application program is uploaded onto the server and is further comprised:
The sync cap corresponding according to described application program uploaded onto the server the state of the current operation of described application program; Dispose the parameter for the state of describing the application program operation in the described sync cap;
Describedly move described application program take described state as starting point and further comprise:
Resolve the state of downloading according to the sync cap that described application program is corresponding, move described application program according to the parameter that parses.
Alternatively, when described application program was the text reading application program, described sync cap comprised one of following parameters at least: the number of pages of reading and the line number of reading; And/or
When described application program was the instant messaging application program, described sync cap comprised one of following parameters at least: the object of current communication, log and user account information; And/or
When described application program when looking the audio frequency play-back application, described sync cap comprises parameter at least: the progress of current broadcast.
Alternatively, when the user of described application program when moving in the first terminal equipment withdrawed from described application program, first terminal equipment also comprised before the state of the current operation of described application program is uploaded onto the server:
As user during in the described application program of first terminal device logs, first terminal equipment is verified described user, checking is used for the User Token of identifying user by rear generation, and to described server transmission registration request, comprise the global unique identification symbol GUID of described User Token and described application program in the described registration request;
First terminal equipment receives described server according to the session token that sign is used the described user of described application program that is used for of described User Token and described GUID generation;
Described first terminal equipment is uploaded onto the server the state of the current operation of described application program and is further comprised:
The status data that first terminal equipment will carry session token is uploaded to server, in server take described session token as index stores described status data;
The user of application program logins described application program and specifically comprises in described the second terminal equipment:
The second terminal equipment is verified described user, checking is used for the User Token of identifying user by rear generation, and to described server transmission registration request, comprise the global unique identification symbol GUID of described User Token and described application program in the described registration request;
The second terminal equipment receives described server according to the session token that sign is used the described user of described application program that is used for of described User Token and described GUID generation;
Described the second terminal equipment is downloaded the state of described application program when described user account withdrawed from last time from described server and is further comprised:
The second terminal equipment sends the state download request that comprises session token to described server, searches status data according to described session token in described server and downloads.
According to technical scheme of the present invention, wherein, when the user of the application program of moving in the first terminal equipment withdrawed from described application program, first terminal equipment was uploaded onto the server the state of the current operation of this application program; When the user of application program in the second terminal equipment logined this application program, the second terminal equipment was downloaded the state of this application program when the user withdrawed from last time from server, moved this application program take this state as starting point.The state of application program is uploaded when the user is withdrawed from application program, and when login application program, download state when withdrawing from last time, can in the terminal equipment that switches to, continue when withdrawing from last time state and continue to run application, solved thus can't realize when the user in a terminal equipment after the application program out of service, in another terminal equipment, continue when withdrawing from state and the problem that continues to move has obtained the beneficial effect of realizing application program complete switching between terminal equipment.
Above-mentioned explanation only is the general introduction of technical solution of the present invention, for can clearer understanding technological means of the present invention, and can be implemented according to the content of specification, and for above and other objects of the present invention, feature and advantage can be become apparent, below especially exemplified by the specific embodiment of the present invention.
Description of drawings
By reading hereinafter detailed description of the preferred embodiment, various other advantage and benefits will become cheer and bright for those of ordinary skills.Accompanying drawing only is used for the purpose of preferred implementation is shown, and does not think limitation of the present invention.And in whole accompanying drawing, represent identical parts with identical reference symbol.In the accompanying drawings:
Fig. 1 shows the according to an embodiment of the invention structure chart of terminal equipment;
Fig. 2 shows the structure chart of the system that realizes that according to an embodiment of the invention application program is switched;
Fig. 3 shows the structure chart of the system that realizes that according to an embodiment of the invention application program is switched;
Fig. 4 shows the according to an embodiment of the invention flow chart of application programe switch-over method between terminal equipment;
Fig. 5 shows the according to an embodiment of the invention flow chart of application programe switch-over method between terminal equipment; And
Fig. 6 shows the according to an embodiment of the invention flow chart of the example of application programe switch-over method between terminal equipment.
Embodiment
Exemplary embodiment of the present disclosure is described below with reference to accompanying drawings in more detail.Although shown exemplary embodiment of the present disclosure in the accompanying drawing, yet should be appreciated that and to realize the disclosure and the embodiment that should do not set forth limits here with various forms.On the contrary, it is in order to understand the disclosure more thoroughly that these embodiment are provided, and can with the scope of the present disclosure complete convey to those skilled in the art.
Referring to Fig. 1, show the according to an embodiment of the invention structure chart of terminal equipment.This terminal equipment 100 comprises: transmission module 110 and state download module 120 on the state.
Transmission module 110 is suitable for when the user of the application program of operation in the terminal equipment 100 withdraws from this application program the state of the current operation of this application program being uploaded onto the server 200 on the state.
State download module 120 is suitable for when user's login application program of application program in the terminal equipment 100, downloads the state of this application program when the user withdrawed from last time from server 200, moves this application program take this state as starting point.
Further, carry out the upload and download of the state of application program in the present embodiment by unified sync cap, dispose the parameter for the state of describing the application program operation in the sync cap.
Transmission module 110 sync cap corresponding according to application program uploads onto the server 200 with the state of the current operation of application program on the state.State download module 120 is resolved the state of downloading according to sync cap corresponding to application program, moves this application program according to the parameter that parses.
Sync cap is corresponding with application program, and for example, when application program was the text reading application program, sync cap comprised one of following parameters at least: the number of pages of reading and the line number of reading; When described application program was the instant messaging application program, described sync cap comprised one of following parameters at least: the object of current communication, log and user account information; When described application program when looking the audio frequency play-back application, described sync cap comprises parameter at least: the progress of current broadcast.
, adopt sync cap completion status data upload and download herein, so that the status data uniform format of the application program that terminal equipment is uploaded is convenient to server and is stored, make things convenient for simultaneously terminal equipment to resolve the status data of downloading.
Further, carry out the upload and download of state in the present embodiment with certain user's of certain application program session token by being used for sign.
Terminal equipment 100 also comprises user registration module.User registration module verifies to the user that when user's login application program checking is used for the User Token of identifying user by rear generation.This User Token is this user of unique identification in terminal equipment 100.User registration module also sends registration request to server 200 after checking is passed through, comprise the global unique identification symbol GUID of this user's User Token and application program in the registration request.Server 200 generates session token according to the GUID of User Token and application program.This session token sign is used the described user of described application program.
When in the terminal equipment 100 of user before switching during login application program, register at server 200 by user registration module, obtain session token.Transmission module 110 is uploaded to server 200 with the status data that carries session token on the state when uploading status data, the status data that runs application as the index stores user take this session token in server 200.
When in the terminal equipment 100 of user after switching during login application program, register at server 200 by user registration module, obtain session token.State download module 120 sends the state download request that comprises session token to server 200 when the download state data, search status data according to session token in server 200 and download.
By as seen above-mentioned, take session token as the index stores status data, and when searching status data, finish according to this session token and to search in the present embodiment.Session token can unique identification in server uses the user of application program, utilizes session token to store and search, the speed that can accelerate to search.
Below take the instant messaging application program as example, technical scheme in the present embodiment is described.
User registration module represents certain user in certain program of use in session of server 200 registrations, and distinct program is distinguished with different GUID, and different user is distinguished with different User Token.Each user's User Token is unique in the terminal equipment 100, and User Token is generated behind authentication of users by user registration module.After registration was finished, server 200 generated session token, and session token represents that a certain user is using a certain program.For example, user registration module is by finishing the registration at server 200 such as lower interface.Wherein the parameter of input is GUID and the User Token of application program; Return value is session token.
TOKEN?Register(GUID?appGuid,TOKEN?Usertoken)
Transmission module 110 sync cap corresponding according to application program on the state uses session token that the state of the current operation of application program is uploaded onto the server 200.
For example, transmission module 110 arranges sync cap by following mode on the state.Wherein, be provided with the information ClientState that returns the current good friend who is chatting among the chat progress class ChatProgress, and all good friends' information ClientState.Be provided with good friend's chat history, presence and personal information among the information ClientState.Wherein the good friend is the communication object of instant messaging.
Figure BDA00002411807100081
Each terminal equipment 100 before switching, for example PC during upper chat, is about to withdraw from application program the user, for example leaves or when closing application program, by such as lower interface state being uploaded onto the server 200.Wherein, the parameter of input is object and the session token of chat progress class ChatProgress, and whether successful return value upload Boolean for sign.
Bool?UpdateProgress(TOKEN?sessionToken,Object?progress)
When the user at another terminal equipment 100, for example during the mobile phone login application program, user registration module obtains session token by registering such as lower interface.Registration process as previously mentioned.
TOKEN?Register(GUID?appGuid,TOKEN?Usertoken)
State download module 120 uses session token to download the state of this application program when the user withdrawed from last time from server 200, resolves the state of downloading according to the sync cap that application program is corresponding, moves this application program according to the parameter that parses.For example, state download module 120 passes through such as lower interface download state data.Wherein, input parameter is session token, and return value is the object of chat progress class ChatProgress.
Object?RetrieveProgress(TOKEN?sessionToken);
Thus, the user is on the terminal equipment after the switching, and the state when withdrawing from last time that can continue is proceeded chat.
In above-mentioned giving an example, instant tool applications does not have the file as operand.For some application programs, as look audio frequency play-back application and text reading application program, those application programs operate file, therefore need to upload those files.
This terminal equipment 100 also comprises: the File Upload module, if when being suitable for described application program operation file is operated, then arrive described server 200 with described File Upload.The file download module if when being suitable for described application program operation file is operated, then when described user logins described application program, is downloaded described file from described server 200.
Further, the File Upload module arrives described server 200 by the expandable mark language XML agreement with described File Upload.Xml is a kind of agreement of maturation, and its data of description object is convenient, and can be by the SOAP(Simple Object Access Protocol) agreement transmits.
From the above, technical scheme state of application program when the user is withdrawed from application program is uploaded in the embodiment of the invention, and when login application program, download state when withdrawing from last time, can in the terminal equipment that switches to, continue when withdrawing from last time state and continue to run application, solved thus can't realize when the user in a terminal equipment after the application program out of service, in another terminal equipment, continue when withdrawing from state and the problem that continues to move has obtained the beneficial effect of realizing application program complete switching between terminal equipment.
Referring to Fig. 2, show the structure chart of the system that realizes that according to an embodiment of the invention application program is switched.This system comprises: for the first terminal equipment 300 that runs application before switching, for the second terminal equipment 400 and server 200 in follow-up this application program of reforwarding row of switching.
First terminal equipment 300 comprises:
Transmission module 310 on the state, are suitable for when the user of the application program of operation in the first terminal equipment 300 withdraws from application program the state of the current operation of this application program being uploaded onto the server 200.
The second terminal equipment 400 comprises:
State download module 410 when being suitable for the user's login application program when application program in the second terminal equipment 400, from the state of server 200 down load application programs when this user withdrawed from last time, runs application take this state as starting point.
Server 200 comprises:
Memory module 220 is suitable for receiving the data that first terminal equipment 300 uploads and stores, and when the second terminal equipment 400 downloading data, issues data to the second terminal equipment 400.
Further, carry out the upload and download of the state of application program in the present embodiment by unified sync cap, dispose the parameter for the state of describing the application program operation in the sync cap.
Transmission module 310 sync cap corresponding according to application program uploads onto the server 200 with the state of the current operation of application program on the state.State download module 410 is resolved the state of downloading according to sync cap corresponding to application program, moves this application program according to the parameter that parses.
Sync cap is corresponding with application program, and for example, when application program was the text reading application program, sync cap comprised one of following parameters at least: the number of pages of reading and the line number of reading; When described application program was the instant messaging application program, described sync cap comprised one of following parameters at least: the object of current communication, log and user account information; When described application program when looking the audio frequency play-back application, described sync cap comprises parameter at least: the progress of current broadcast.
, adopt sync cap completion status data upload and download herein, so that the status data uniform format of the application program that first terminal equipment is uploaded is convenient to server and is stored, convenient the second terminal equipment is resolved the status data of downloading simultaneously.
Further, carry out the upload and download of state in the present embodiment with certain user's of certain application program session token by being used for sign.Referring to Fig. 3, show the structure chart of the system that realizes that according to an embodiment of the invention application program is switched.
First terminal equipment 300 and the second terminal equipment 400 all also comprise user registration module 510.Described server 200 also comprises Registering modules 210.That is: first terminal equipment 300 comprises transmission module 310 and user registration module 510 on the state; The second terminal equipment 400 comprises state download module 410 and user registration module 510; Server 200 comprises memory module 220 and Registering modules 210.
User registration module 510 is suitable for when the user logins described application program, described user is verified, checking is used for the User Token of identifying user by rear generation, and to server 200 transmission registration requests, comprise the global unique identification symbol GUID of described User Token and described application program in the described registration request; And the session token that returns of reception server 200.
Registering modules 210 is suitable for after receiving registration request, generates the user's who is used for sign use application program session token according to User Token and GUID, and returns the session token of generation.
When the user during login application program, registers at server 200 by user registration module 510, obtain session token in first terminal equipment 300.Transmission module 310 is uploaded to server 200 with the status data that carries session token on the state when uploading status data, the status data that runs application as the index stores user take this session token in the memory module 220 of server 200.
When the user during login application program, registers at server 200 by user registration module 510, obtain session token in the second terminal equipment 400.State download module 410 sends the state download request that comprises session token to server 200 when the download state data, search status data according to session token in the memory module 220 of server 200 and download.
By as seen above-mentioned, take session token as the index stores status data, and when searching status data, finish according to this session token and to search in the present embodiment.Session token can unique identification in server uses the user of application program, utilizes session token to store and search, the speed that can accelerate to search.
In addition, for some application programs, as look audio frequency play-back application and text reading application program, those application programs operate file, therefore need to upload those files.
First terminal equipment 300 also comprises: the File Upload module, if when being suitable for the application program operation file is operated, then this document is uploaded onto the server 200;
Described the second terminal equipment 400 also comprises: the file download module, if when being suitable for the application program operation file is operated, then when user's login application program, from server 200 download files.
Further, the File Upload module arrives server 200 by the expandable mark language XML agreement with File Upload.Xml is a kind of agreement of maturation, and its data of description object is convenient, and can be by the SOAP(Simple Object Access Protocol) agreement transmits.
From the above, technical scheme state of application program when the user is withdrawed from application program is uploaded in the embodiment of the invention, and when login application program, download state when withdrawing from last time, can in the second terminal equipment, continue when withdrawing from last time state and continue to run application, solved thus can't realize when the user in first terminal equipment after the application program out of service, in the second terminal equipment, continue when withdrawing from state and the problem that continues to move has obtained the beneficial effect of realizing application program complete switching between terminal equipment.
Referring to Fig. 4, show the according to an embodiment of the invention flow chart of application programe switch-over method between terminal equipment.
Step S410, when the user of the application program of moving in the first terminal equipment withdrawed from application program, first terminal equipment was uploaded onto the server the state of the current operation of application program.
Step S420, when the user of application program in the second terminal equipment logined this application program, the second terminal equipment ran application take this state as starting point from the state of server down load application program when the user withdrawed from last time.
Further, carry out the upload and download of the state of application program in the present embodiment by unified sync cap, dispose the parameter for the state of describing the application program operation in the sync cap.
Described step S410 further comprises: the sync cap corresponding according to application program, the state of the current operation of application program is uploaded onto the server.
Described step S420 further comprises: resolve the state of downloading according to the sync cap that application program is corresponding, run application according to the parameter that parses.
Sync cap is corresponding with application program, and for example, when application program was the text reading application program, sync cap comprised one of following parameters at least: the number of pages of reading and the line number of reading; When application program was the instant messaging application program, sync cap comprised one of following parameters at least: the object of current communication, log and user account information; When application program when looking the audio frequency play-back application, sync cap comprises parameter at least: the progress of current broadcast.
, adopt sync cap completion status data upload and download herein, so that the status data uniform format of the application program that first terminal equipment is uploaded is convenient to server and is stored, convenient the second terminal equipment is resolved the status data of downloading simultaneously.
Further, carry out the upload and download of state in the present embodiment with certain user's of certain application program session token by being used for sign.Fig. 5 shows the according to an embodiment of the invention flow chart of application programe switch-over method between terminal equipment.
Step S510, as user during in first terminal device logs application program, first terminal equipment verifies the user, checking is used for the User Token of identifying user by rear generation, to server transmission registration request.The global unique identification symbol GUID that comprises User Token and application program in the registration request.
Step S520, first terminal equipment reception server is according to the session token that sign is used the user of application program that is used for of User Token and GUID generation.
Step S530, when the user of the application program of moving in the first terminal equipment withdrawed from application program, the status data that first terminal equipment will carry session token was uploaded to server, in server take session token as the index stores status data.
Step S540, when the user of application program in the second terminal equipment logined this application program, the second terminal equipment was verified the user, verifies the User Token that is used for identifying user by rear generation, and sends registration request to server.The GUID that comprises described User Token and described application program in the described registration request.
Step S550, the second terminal equipment reception server is according to the session token that sign is used the user of application program that is used for of User Token and GUID generation.
Step S560, the second terminal equipment sends the state download request comprise session token to server, searches status data according to session token in server and downloads, and state runs application as starting point in the status data.
Below take the instant messaging application program as example, method in the present embodiment is specifically described.Referring to Fig. 6, show the according to an embodiment of the invention flow chart of the example of application programe switch-over method between terminal equipment.Wherein, the first terminal equipment that runs application before the switching is mobile phone, and the second terminal equipment that runs application after the switching is PC PC.
Wherein, only for giving an example, the technical scheme of present embodiment does not limit yet and must carry out between mobile phone and PC, can carry out between any two terminal equipments yet, is not particularly limited at this for mobile phone and PC.
Step S6010, when the user on mobile phone during login application program, mobile phone verifies the user, checking is used for the User Token of identifying user by rear generation, to server transmission registration request.The GUID that comprises User Token and application program in the registration request.
Step S6020, server will send to mobile phone to session token according to the session token that User Token and GUID generate the user who is used for sign use application program.
Step S6030, the session token that the mobile phone reception server sends.
Step S6040, the status data that mobile phone will carry the current state of session token sends to server.Status data comprises: the good friend's of current chat state and chat record.
Step S6050, server is this status data take session token as index stores, and replys acknowledge message to mobile phone.
Step S6060, when the user of the application program of moving in the mobile phone withdrawed from application program, the status data that mobile phone will carry session token was uploaded to server.
Step S6070, server is this status data take session token as index stores, and replys acknowledge message to mobile phone.
Step S6080, when the user of application program among the PC logined this application program, PC verified the user, verifies the User Token that is used for identifying user by rear generation, and sends registration request to server.The GUID that comprises described User Token and described application program in the described registration request.
Step S6090, server will send to PC to session token according to the session token that User Token and GUID generate the user who is used for sign use application program.
Step S6100, the session token that the PC reception server sends.
Step S6110, PC send the state download request that comprises session token to server.
Step S6120, server will send to PC according to the status data that session token finds in server.
Step S6130, PC runs application take this state as starting point.
Thus, the user is on the PC after the switching, and the state when withdrawing from last time that can continue is proceeded chat.
In above-mentioned giving an example, instant tool applications does not have the file as operand.For some application programs, as look audio frequency play-back application and text reading application program, those application programs operate file, therefore need to upload those files.
Method also comprises in the present embodiment: if when described application program is moved file is operated, then first terminal equipment arrives described server with described File Upload.If during the application program operation file is operated, then when user's login application program, the second terminal equipment is from described server download file.
Further, the File Upload module arrives described server by the expandable mark language XML agreement with described File Upload.Xml is a kind of agreement of maturation, and its data of description object is convenient, and can be by the SOAP(Simple Object Access Protocol) agreement transmits.
In addition, first terminal equipment be connected terminal equipment and can also directly connect, and by server the running status of application program is not carried out synchronously, be updated to last state.Namely when the user of the application program of moving in the first terminal equipment withdraws from application program, first terminal equipment sends the state of application program to second terminal equipment, the second terminal equipment directly obtains state, and when this user logins this application program, run application take this state as starting point.
From the above, technical scheme state of application program when the user is withdrawed from application program is uploaded in the embodiment of the invention, and when login application program, download state when withdrawing from last time, can in the second terminal equipment that switches to, continue when withdrawing from last time state and continue to run application, solved thus can't realize when the user in first terminal equipment after the application program out of service, in the second terminal equipment, continue when withdrawing from state and the problem that continues to move has obtained the beneficial effect of realizing application program complete switching between terminal equipment.
Intrinsic not relevant with any certain computer, virtual system or miscellaneous equipment with demonstration at this algorithm that provides.Various general-purpose systems also can be with using based on the teaching at this.According to top description, it is apparent constructing the desired structure of this type systematic.In addition, the present invention is not also for any certain programmed language.Should be understood that and to utilize various programming languages to realize content of the present invention described here, and the top description that language-specific is done is in order to disclose preferred forms of the present invention.
In the specification that provides herein, a large amount of details have been described.Yet, can understand, embodiments of the invention can be put into practice in the situation of these details not having.In some instances, be not shown specifically known method, structure and technology, so that not fuzzy understanding of this description.
Similarly, be to be understood that, in order to simplify the disclosure and to help to understand one or more in each inventive aspect, in the description to exemplary embodiment of the present invention, each feature of the present invention is grouped together in single embodiment, figure or the description to it sometimes in the above.Yet the method for the disclosure should be construed to the following intention of reflection: namely the present invention for required protection requires the more feature of feature clearly put down in writing than institute in each claim.Or rather, as following claims reflected, inventive aspect was to be less than all features of the disclosed single embodiment in front.Therefore, follow claims of embodiment and incorporate clearly thus this embodiment into, wherein each claim itself is as independent embodiment of the present invention.
Those skilled in the art are appreciated that and can adaptively change and they are arranged in one or more equipment different from this embodiment the module in the equipment among the embodiment.Can be combined into a module or unit or assembly to the module among the embodiment or unit or assembly, and can be divided into a plurality of submodules or subelement or sub-component to them in addition.In such feature and/or process or unit at least some are mutually repelling, and can adopt any combination to disclosed all features in this specification (comprising claim, summary and the accompanying drawing followed) and so all processes or the unit of disclosed any method or equipment make up.Unless in addition clearly statement, disclosed each feature can be by providing identical, being equal to or the alternative features of similar purpose replaces in this specification (comprising claim, summary and the accompanying drawing followed).
In addition, those skilled in the art can understand, although embodiment more described herein comprise some feature rather than further feature included among other embodiment, the combination of the feature of different embodiment means and is within the scope of the present invention and forms different embodiment.For example, in the following claims, the one of any of embodiment required for protection can be used with compound mode arbitrarily.
All parts embodiment of the present invention can realize with hardware, perhaps realizes with the software module of moving at one or more processor, and perhaps the combination with them realizes.It will be understood by those of skill in the art that and to use in practice microprocessor or digital signal processor (DSP) to realize according to some or all some or repertoire of parts in the mobile device of the embodiment of the invention.The present invention can also be embodied as be used to part or all equipment or the device program (for example, computer program and computer program) of carrying out method as described herein.Such realization program of the present invention can be stored on the computer-readable medium, perhaps can have the form of one or more signal.Such signal can be downloaded from internet website and obtain, and perhaps provides at carrier signal, perhaps provides with any other form.
It should be noted above-described embodiment the present invention will be described rather than limit the invention, and those skilled in the art can design alternative embodiment in the situation of the scope that does not break away from claims.In the claims, any reference symbol between bracket should be configured to limitations on claims.Word " comprises " not to be got rid of existence and is not listed in element or step in the claim.Being positioned at word " " before the element or " one " does not get rid of and has a plurality of such elements.The present invention can realize by means of the hardware that includes some different elements and by means of the computer of suitably programming.In having enumerated the unit claim of some devices, several in these devices can be to come imbody by same hardware branch.The use of word first, second and C grade does not represent any order.Can be title with these word explanations.

Claims (10)

1. terminal equipment comprises:
Transmission module on the state is suitable for when the user of the application program of moving in the terminal equipment withdraws from described application program, and the state of the current operation of described application program is uploaded onto the server; And/or
The state download module is suitable for when the user of application program in the terminal equipment logins described application program, downloads the state of described application program when described user withdrawed from last time from described server, moves described application program take described state as starting point;
The File Upload module if when being suitable for described application program operation file is operated, then arrives described server with described File Upload; And/or
The file download module if when being suitable for described application program operation file is operated, then when described user logins described application program, is downloaded described file from described server.
2. terminal equipment according to claim 1, wherein,
Described File Upload module is further adapted for by the expandable mark language XML agreement described File Upload is arrived described server.
3. terminal equipment according to claim 1 and 2, wherein,
Transmission module on the described state is further adapted for the sync cap corresponding according to described application program, and the state of the current operation of described application program is uploaded onto the server; Dispose the parameter for the state of describing the application program operation in the described sync cap;
Described state download module is further adapted for according to sync cap corresponding to described application program and resolves the state of downloading, and moves described application program according to the parameter that parses.
4. according to claim 1 to 3 arbitrary described terminal equipments, wherein,
When described application program was the text reading application program, described sync cap comprised one of following parameters at least: the number of pages of reading and the line number of reading; And/or
When described application program was the instant messaging application program, described sync cap comprised one of following parameters at least: the object of current communication, log and user account information; And/or
When described application program when looking the audio frequency play-back application, described sync cap comprises parameter at least: the progress of current broadcast.
5. according to claim 1 to 4 arbitrary described terminal equipments, wherein,
Described terminal equipment also comprises:
User registration module, be suitable for when the user logins described application program, described user is verified, checking is used for the User Token of identifying user by rear generation, and to described server transmission registration request, comprise the global unique identification symbol GUID of described User Token and described application program in the described registration request; And receive described server according to the session token that sign is used the described user of described application program that is used for of described User Token and described GUID generation;
Transmission module on the described state is further adapted for the status data that will carry session token and is uploaded to server, in server take described session token as index stores described status data;
Described state download module is further adapted for to described server and sends the state download request that comprises session token, searches status data according to described session token in described server and downloads.
6. application programe switch-over method between a terminal equipment comprises:
When the user of the application program of moving in the first terminal equipment withdrawed from described application program, first terminal equipment was uploaded onto the server the state of the current operation of described application program;
When the user of application program in the second terminal equipment logined described application program, the second terminal equipment was downloaded the state of described application program when described user withdrawed from last time from described server, moved described application program take described state as starting point;
If during described application program operation file is operated, then first terminal equipment arrives described server with described File Upload; When described user account was logined described application program in the second terminal equipment, the second terminal equipment was downloaded described file from described server.
7. method according to claim 6, wherein,
Described described File Upload is further comprised to described server:
By the expandable mark language XML agreement described File Upload is arrived described server.
8. according to claim 6 or 7 described methods, wherein,
Described state with the current operation of described application program is uploaded onto the server and is further comprised:
The sync cap corresponding according to described application program uploaded onto the server the state of the current operation of described application program; Dispose the parameter for the state of describing the application program operation in the described sync cap;
Describedly move described application program take described state as starting point and further comprise:
Resolve the state of downloading according to the sync cap that described application program is corresponding, move described application program according to the parameter that parses.
9. according to claim 6 to 8 arbitrary described methods, wherein,
When described application program was the text reading application program, described sync cap comprised one of following parameters at least: the number of pages of reading and the line number of reading; And/or
When described application program was the instant messaging application program, described sync cap comprised one of following parameters at least: the object of current communication, log and user account information; And/or
When described application program when looking the audio frequency play-back application, described sync cap comprises parameter at least: the progress of current broadcast.
10. according to claim 6 to 9 arbitrary described methods, wherein,
When the user of described application program when moving in the first terminal equipment withdrawed from described application program, first terminal equipment also comprised before the state of the current operation of described application program is uploaded onto the server:
As user during in the described application program of first terminal device logs, first terminal equipment is verified described user, checking is used for the User Token of identifying user by rear generation, and to described server transmission registration request, comprise the global unique identification symbol GUID of described User Token and described application program in the described registration request;
First terminal equipment receives described server according to the session token that sign is used the described user of described application program that is used for of described User Token and described GUID generation;
Described first terminal equipment is uploaded onto the server the state of the current operation of described application program and is further comprised:
The status data that first terminal equipment will carry session token is uploaded to server, in server take described session token as index stores described status data;
The user of application program logins described application program and specifically comprises in described the second terminal equipment:
The second terminal equipment is verified described user, checking is used for the User Token of identifying user by rear generation, and to described server transmission registration request, comprise the global unique identification symbol GUID of described User Token and described application program in the described registration request;
The second terminal equipment receives described server according to the session token that sign is used the described user of described application program that is used for of described User Token and described GUID generation;
Described the second terminal equipment is downloaded the state of described application program when described user account withdrawed from last time from described server and is further comprised:
The second terminal equipment sends the state download request that comprises session token to described server, searches status data according to described session token in described server and downloads.
CN2012104605220A 2012-11-15 2012-11-15 Terminal devices and application program switching method between terminal devices Pending CN102984226A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2012104605220A CN102984226A (en) 2012-11-15 2012-11-15 Terminal devices and application program switching method between terminal devices

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2012104605220A CN102984226A (en) 2012-11-15 2012-11-15 Terminal devices and application program switching method between terminal devices

Publications (1)

Publication Number Publication Date
CN102984226A true CN102984226A (en) 2013-03-20

Family

ID=47857960

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2012104605220A Pending CN102984226A (en) 2012-11-15 2012-11-15 Terminal devices and application program switching method between terminal devices

Country Status (1)

Country Link
CN (1) CN102984226A (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102932367A (en) * 2012-11-15 2013-02-13 北京奇虎科技有限公司 Terminal equipment, system and method for implementing switching of application program
CN103984579A (en) * 2014-05-30 2014-08-13 满金标 Method for multiple equipment rooms to share current application program real-time running state
CN104144175A (en) * 2013-05-06 2014-11-12 腾讯科技(深圳)有限公司 Method, device and system for data migration
CN104144189A (en) * 2013-05-10 2014-11-12 罗森洲 Active program continuing method
CN106161403A (en) * 2015-04-23 2016-11-23 中国电信股份有限公司 Application program restored method, device and system
CN106201193A (en) * 2016-06-30 2016-12-07 青岛海信移动通信技术股份有限公司 A kind of method and apparatus showing application message in the terminal
CN106325837A (en) * 2015-06-23 2017-01-11 联想(北京)有限公司 Control method and electronic device
CN106445600A (en) * 2016-09-29 2017-02-22 三星电子(中国)研发中心 Method and device for recovering application program of media equipment
CN106663032A (en) * 2014-08-29 2017-05-10 微软技术许可有限责任公司 Cross device task continuity
US10205800B2 (en) 2013-08-14 2019-02-12 Huawei Technologies Co., Ltd. Application takeover method and system, mobile terminal, and server
CN111611573A (en) * 2020-05-20 2020-09-01 深圳市镜玩科技有限公司 Data processing method for realizing terminal equipment switching, related equipment and medium
WO2022170891A1 (en) * 2021-02-10 2022-08-18 华为技术有限公司 File continuation method and apparatus, and terminal device and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102025736A (en) * 2010-12-08 2011-04-20 四川长虹电器股份有限公司 Continuous playing method for cross-platform program and system
CN102546649A (en) * 2012-01-19 2012-07-04 华为技术有限公司 Application transfer method, device and system
CN102932367A (en) * 2012-11-15 2013-02-13 北京奇虎科技有限公司 Terminal equipment, system and method for implementing switching of application program

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102025736A (en) * 2010-12-08 2011-04-20 四川长虹电器股份有限公司 Continuous playing method for cross-platform program and system
CN102546649A (en) * 2012-01-19 2012-07-04 华为技术有限公司 Application transfer method, device and system
CN102932367A (en) * 2012-11-15 2013-02-13 北京奇虎科技有限公司 Terminal equipment, system and method for implementing switching of application program

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
飘零雪: "漫步"云端"我是同步控", 《网友世界》 *

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102932367A (en) * 2012-11-15 2013-02-13 北京奇虎科技有限公司 Terminal equipment, system and method for implementing switching of application program
CN104144175A (en) * 2013-05-06 2014-11-12 腾讯科技(深圳)有限公司 Method, device and system for data migration
CN104144175B (en) * 2013-05-06 2019-09-13 腾讯科技(深圳)有限公司 The method, apparatus and system of Data Migration
CN104144189A (en) * 2013-05-10 2014-11-12 罗森洲 Active program continuing method
US10205800B2 (en) 2013-08-14 2019-02-12 Huawei Technologies Co., Ltd. Application takeover method and system, mobile terminal, and server
CN103984579A (en) * 2014-05-30 2014-08-13 满金标 Method for multiple equipment rooms to share current application program real-time running state
CN103984579B (en) * 2014-05-30 2018-04-13 满金标 More equipment rooms share the method for current application program real-time running state
CN106663032A (en) * 2014-08-29 2017-05-10 微软技术许可有限责任公司 Cross device task continuity
CN106161403A (en) * 2015-04-23 2016-11-23 中国电信股份有限公司 Application program restored method, device and system
CN106325837A (en) * 2015-06-23 2017-01-11 联想(北京)有限公司 Control method and electronic device
CN106201193A (en) * 2016-06-30 2016-12-07 青岛海信移动通信技术股份有限公司 A kind of method and apparatus showing application message in the terminal
CN106445600A (en) * 2016-09-29 2017-02-22 三星电子(中国)研发中心 Method and device for recovering application program of media equipment
CN106445600B (en) * 2016-09-29 2022-02-25 三星电子(中国)研发中心 Method and device for recovering application program of media device
CN111611573A (en) * 2020-05-20 2020-09-01 深圳市镜玩科技有限公司 Data processing method for realizing terminal equipment switching, related equipment and medium
CN111611573B (en) * 2020-05-20 2023-10-03 深圳市镜玩科技有限公司 Data processing method, related equipment and medium for realizing terminal equipment switching
WO2022170891A1 (en) * 2021-02-10 2022-08-18 华为技术有限公司 File continuation method and apparatus, and terminal device and storage medium

Similar Documents

Publication Publication Date Title
CN102984226A (en) Terminal devices and application program switching method between terminal devices
CN102932367A (en) Terminal equipment, system and method for implementing switching of application program
JP7035224B2 (en) How to start a group chat based on shared documents, devices and devices for that, and storage media
US10547571B2 (en) Message service providing method for message service linked to search service and message server and user terminal to perform the method
CN102819461B (en) Desktop synchronous method, device, equipment and system
CN104077162B (en) Renewal, dissemination method and the device of mobile terminal application template
CN103139173B (en) Terminal unit, exchange network system, media business method for down loading and system
US11310066B2 (en) Method and apparatus for pushing information
CN103647803A (en) A method for a mobile terminal to subscribe content and an apparatus
US20150143215A1 (en) Method and system for accessing audio/video community virtual rooms
CN105027121A (en) Indexing application pages of native applications
CN104079696A (en) Contact name card generation method and device
CN103634389A (en) File transfer method, device and system between calculation device and mobile device
CN110069738B (en) Information processing method and device, terminal equipment and server
CN103944994A (en) Distributed resource obtaining method and device
CN104144198A (en) Multimedia information sharing method, system and device
CN103279485A (en) Method and device for resource sharing
CN104601205A (en) Content sharing method and device
CN103268310A (en) Self-medium message editing method and device on basis of recommendation
CN103902616A (en) Method, device and system for pushing webpage application messages
CN103906012A (en) Information sending method and device
US9876776B2 (en) Methods for generating and publishing a web site based on selected items and devices thereof
CN103617218A (en) Light application creating method and clients
CN109410083A (en) Information sharing method and device and storage medium
CN108197210B (en) User interactive reading method based on friend relationship and computing 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
RJ01 Rejection of invention patent application after publication

Application publication date: 20130320

RJ01 Rejection of invention patent application after publication