CN108132812A - A kind of method of data synchronization, mobile terminal and server - Google Patents
A kind of method of data synchronization, mobile terminal and server Download PDFInfo
- Publication number
- CN108132812A CN108132812A CN201711391655.6A CN201711391655A CN108132812A CN 108132812 A CN108132812 A CN 108132812A CN 201711391655 A CN201711391655 A CN 201711391655A CN 108132812 A CN108132812 A CN 108132812A
- Authority
- CN
- China
- Prior art keywords
- terminal
- account
- server
- intended application
- information
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
- G06F9/44521—Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/48—Program initiating; Program switching, e.g. by interrupt
- G06F9/4806—Task transfer initiation or dispatching
- G06F9/4843—Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
- G06F9/485—Task life-cycle, e.g. stopping, restarting, resuming execution
- G06F9/4856—Task life-cycle, e.g. stopping, restarting, resuming execution resumption being on a different machine, e.g. task migration, virtual machine migration
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1095—Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (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)
Abstract
本发明提供了一种数据同步方法、移动终端及服务器,涉及电子技术领域,解决无法快速切换手机继续之前的游戏的问题。该方法包括:接收将目标应用由第一终端切换到第二终端操作使用的切换请求;切换请求是第一终端或服务器确定第二终端属于目标应用在第一终端当前登录的账号对应的可信赖设备时发送的;第一终端和第二终端使用同一账号登录了目标应用;根据切换请求,从服务器下载目标应用的进度数据;在第二终端上加载目标应用的进度数据对应的界面。本发明的方案方便用户在多个设备之间快速切换目标应用的操作使用,提升了用户体验,保证了安全性。
The invention provides a data synchronization method, a mobile terminal and a server, relates to the field of electronic technology, and solves the problem that the mobile phone cannot be quickly switched to continue the previous game. The method includes: receiving a switching request for switching the target application from the first terminal to the second terminal for operation and use; The first terminal and the second terminal log in the target application with the same account; download the progress data of the target application from the server according to the switching request; and load the interface corresponding to the progress data of the target application on the second terminal. The solution of the present invention is convenient for the user to quickly switch the operation and use of the target application among multiple devices, improves user experience, and ensures safety.
Description
技术领域technical field
本发明涉及电子技术领域,尤其涉及一种数据同步方法、移动终端及服务器。The invention relates to the field of electronic technology, in particular to a data synchronization method, a mobile terminal and a server.
背景技术Background technique
随着电子技术的不断发展,手机已经成了人们生活中必不可少的通信、娱乐工具。越来越多的人在空闲时间使用手机玩游戏。虽然使用手机玩游戏很方便,但由于手机电池电量有限,且玩游戏耗电量很大,经常出现游戏还没结束,手机忽然没电了的情况。虽然这种时候可以使用同一个账号登录另一台手机,但需要先退出当前手机的登录,再在另一台手机登录,往往浪费时间较长,无法快速切换手机继续之前的游戏,很多情况下切换手机登录后游戏已经结束,严重降低了用户使用体验。With the continuous development of electronic technology, mobile phones have become an indispensable communication and entertainment tool in people's lives. More and more people use mobile phones to play games in their free time. Although it is very convenient to use mobile phones to play games, due to the limited battery power of mobile phones and the high power consumption of playing games, it often happens that the mobile phone suddenly runs out of power before the game is over. Although you can use the same account to log in to another mobile phone at this time, you need to log out of the current mobile phone and then log in to another mobile phone, which often wastes a long time and cannot quickly switch mobile phones to continue the previous game. In many cases After switching the mobile phone to log in, the game is over, which seriously reduces the user experience.
发明内容Contents of the invention
本发明实施例提供一种数据同步方法、移动终端及服务器,以解决现有技术中无法快速切换手机继续之前的游戏的问题。The embodiment of the present invention provides a data synchronization method, a mobile terminal and a server to solve the problem in the prior art that the mobile phone cannot be quickly switched to continue the previous game.
为了解决上述技术问题,本发明是这样实现的:一种数据同步方法,包括:In order to solve the above-mentioned technical problems, the present invention is achieved in this way: a data synchronization method, comprising:
接收将目标应用由第一终端切换到第二终端操作使用的切换请求;其中所述切换请求是所述第一终端或服务器确定所述第二终端属于目标应用在第一终端当前登录的账号对应的可信赖设备时发送的;所述第一终端和所述第二终端使用同一账号登录了所述目标应用;Receiving a switching request for switching the target application from the first terminal to the second terminal; wherein the switching request corresponds to the account that the first terminal or the server determines that the second terminal belongs to the target application and is currently logged in on the first terminal sent by a trusted device; the first terminal and the second terminal log in to the target application using the same account;
根据所述切换请求,从服务器下载所述目标应用的进度数据;downloading progress data of the target application from a server according to the switching request;
根据所述目标应用的进度数据,在所述第二终端上加载所述目标应用的进度数据对应的界面。According to the progress data of the target application, an interface corresponding to the progress data of the target application is loaded on the second terminal.
本发明的实施例还提供了一种移动终端,包括:Embodiments of the present invention also provide a mobile terminal, including:
第一接收模块,用于接收将目标应用由第一终端切换到第二终端操作使用的切换请求;其中所述切换请求是所述第一终端或服务器确定所述第二终端属于目标应用在第一终端当前登录的账号对应的可信赖设备时发送的;所述第一终端和所述第二终端使用同一账号登录了所述目标应用;The first receiving module is configured to receive a switch request for switching the target application from the first terminal to the second terminal for operation; wherein the switch request is determined by the first terminal or the server that the second terminal belongs to the target application at the second terminal When a terminal is currently logged in to a trusted device corresponding to an account; the first terminal and the second terminal log in to the target application using the same account;
下载模块,用于根据所述切换请求,从服务器下载所述目标应用的进度数据;A download module, configured to download progress data of the target application from a server according to the switching request;
加载模块,用于根据所述目标应用的进度数据,在所述第二终端上加载所述目标应用的进度数据对应的界面。A loading module, configured to load an interface corresponding to the progress data of the target application on the second terminal according to the progress data of the target application.
本发明的实施例还提供了一种移动终端,包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现如上任一项所述的数据同步方法的步骤。An embodiment of the present invention also provides a mobile terminal, including a processor, a memory, and a computer program stored on the memory and operable on the processor, and the computer program is implemented when executed by the processor. The steps of the data synchronization method described in any one of the above.
本发明的实施例还提供了一种计算机可读存储介质,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现如上任一项所述的数据同步方法的步骤。An embodiment of the present invention also provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the data synchronization method described in any one of the preceding items is implemented. step.
本发明的实施例还提供了一种数据同步方法,包括:Embodiments of the present invention also provide a data synchronization method, including:
当确定第二终端属于目标应用在第一终端当前登录的账号对应的可信赖设备时,向所述第二终端发送将所述目标应用由第一终端切换到第二终端操作使用的切换请求,使得所述第二终端根据所述切换请求,从服务器下载所述目标应用的进度数据,并根据所述目标应用的进度数据,在所述第二终端上加载所述目标应用的进度数据对应的界面;其中所述第一终端和所述第二终端使用同一账号登录了所述目标应用。When it is determined that the second terminal belongs to the trusted device corresponding to the account currently logged in by the target application on the first terminal, sending to the second terminal a switching request for switching the target application from the first terminal to the second terminal for operation and use, making the second terminal download the progress data of the target application from the server according to the switching request, and load the progress data corresponding to the progress data of the target application on the second terminal according to the progress data of the target application. An interface; wherein the first terminal and the second terminal use the same account to log in to the target application.
本发明的实施例还提供了一种移动终端,包括:Embodiments of the present invention also provide a mobile terminal, including:
第三发送模块,用于当确定第二终端属于目标应用在第一终端当前登录的账号对应的可信赖设备时,向所述第二终端发送将所述目标应用由第一终端切换到第二终端操作使用的切换请求,使得所述第二终端根据所述切换请求,从服务器下载所述目标应用的进度数据,并根据所述目标应用的进度数据,在所述第二终端上加载所述目标应用的进度数据对应的界面;其中所述第一终端和所述第二终端使用同一账号登录了所述目标应用。The third sending module is configured to, when it is determined that the second terminal belongs to the trusted device corresponding to the account currently logged in by the target application on the first terminal, send a message to the second terminal to switch the target application from the first terminal to the second terminal. The switching request used by the terminal operation, so that the second terminal downloads the progress data of the target application from the server according to the switching request, and loads the target application on the second terminal according to the progress data of the target application. An interface corresponding to the progress data of the target application; wherein the first terminal and the second terminal use the same account to log in to the target application.
本发明的实施例还提供了一种移动终端,包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现如上任一项所述的数据同步方法的步骤。An embodiment of the present invention also provides a mobile terminal, including a processor, a memory, and a computer program stored on the memory and operable on the processor, and the computer program is implemented when executed by the processor. The steps of the data synchronization method described in any one of the above.
本发明的实施例还提供了一种计算机可读存储介质,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现如上任一项所述的数据同步方法的步骤。An embodiment of the present invention also provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the data synchronization method described in any one of the preceding items is implemented. step.
本发明的实施例还提供了一种数据同步方法,包括:Embodiments of the present invention also provide a data synchronization method, including:
接收第二终端发送的下载目标应用的进度数据的下载请求;其中所述下载请求是所述第二终端接收到将目标应用由第一终端切换到第二终端操作使用的切换请求时,根据所述切换请求发送的,所述切换请求是所述第一终端或服务器确定所述第二终端属于目标应用在第一终端当前登录的账号对应的可信赖设备时发送的;所述第一终端和所述第二终端使用同一账号登录了所述目标应用;receiving a download request for downloading progress data of the target application sent by the second terminal; wherein the download request is when the second terminal receives a switch request for switching the target application from the first terminal to the second terminal for operation and use, according to the The switching request is sent when the first terminal or the server determines that the second terminal belongs to a trusted device corresponding to the account currently logged in by the target application on the first terminal; the first terminal and the The second terminal logs in the target application using the same account;
将所述目标应用的进度数据发送给所述第二终端,使得所述第二终端根据所述目标应用的进度数据,在所述第二终端上加载所述目标应用的进度数据对应的界面。sending the progress data of the target application to the second terminal, so that the second terminal loads an interface corresponding to the progress data of the target application on the second terminal according to the progress data of the target application.
本发明的实施例还提供了一种服务器,包括:Embodiments of the present invention also provide a server, including:
第三接收模块,用于接收第二终端发送的下载目标应用的进度数据的下载请求;其中所述下载请求是所述第二终端接收到将目标应用由第一终端切换到第二终端操作使用的切换请求时,根据所述切换请求发送的,所述切换请求是所述第一终端或服务器确定所述第二终端属于目标应用在第一终端当前登录的账号对应的可信赖设备时发送的;所述第一终端和所述第二终端使用同一账号登录了所述目标应用;The third receiving module is configured to receive a download request for downloading the progress data of the target application sent by the second terminal; wherein the download request is received by the second terminal to switch the target application from the first terminal to the second terminal for operation and use When the switching request is sent according to the switching request, the switching request is sent when the first terminal or the server determines that the second terminal belongs to a trusted device corresponding to the account currently logged in by the target application on the first terminal ; The first terminal and the second terminal use the same account to log in the target application;
第四发送模块,用于将所述目标应用的进度数据发送给所述第二终端,使得所述第二终端根据所述目标应用的进度数据,在所述第二终端上加载所述目标应用的进度数据对应的界面。A fourth sending module, configured to send the progress data of the target application to the second terminal, so that the second terminal loads the target application on the second terminal according to the progress data of the target application The interface corresponding to the progress data.
本发明的实施例还提供了一种服务器,包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现如上任一项所述的数据同步方法的步骤。An embodiment of the present invention also provides a server, including a processor, a memory, and a computer program stored on the memory and operable on the processor. When the computer program is executed by the processor, the following The steps of the data synchronization method described in any one of the above.
本发明的实施例还提供了一种计算机可读存储介质,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现如上任一项所述的数据同步方法的步骤。An embodiment of the present invention also provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the data synchronization method described in any one of the preceding items is implemented. step.
在本发明实施例中,第一终端或服务器确定第二终端属于目标应用在第一终端当前登录的账号对应的可信赖设备时,向第二终端发送将目标应用由第一终端切换到第二终端操作使用的切换请求;其中目标应用可以在多个终端上使用同一账号登录,但只能在一个终端上操作使用,第一终端和第二终端使用同一账号登录了目标应用;第二终端接收到切换请求后,根据切换请求可快速从服务器下载目标应用的进度数据,然后根据目标应用的进度数据,在第二终端上加载目标应用的进度数据对应的界面。由于第二终端与第一终端使用同一账号登录了目标应用,因此省去了切换时从第一终端退出后再从第二终端登录的繁琐步骤,第二终端接收到第一终端或服务器发送的切换请求后,可快速从服务器下载进度数据并加载对应的界面,方便了用户在多个设备之间快速切换目标应用(如游戏软件)的操作使用,从而使用户可快速切换设备继续之前的游戏,提升了用户体验。In the embodiment of the present invention, when the first terminal or the server determines that the second terminal belongs to the trusted device corresponding to the account currently logged in by the target application on the first terminal, it sends a message to the second terminal to switch the target application from the first terminal to the second terminal. A switch request for terminal operation; the target application can log in with the same account on multiple terminals, but can only be operated and used on one terminal, and the first terminal and the second terminal use the same account to log in to the target application; the second terminal receives After receiving the switching request, the progress data of the target application can be quickly downloaded from the server according to the switching request, and then an interface corresponding to the progress data of the target application is loaded on the second terminal according to the progress data of the target application. Since the second terminal and the first terminal use the same account to log in to the target application, it saves the troublesome steps of logging out from the first terminal and then logging in from the second terminal when switching, and the second terminal receives the information sent by the first terminal or the server After the switching request, the progress data can be quickly downloaded from the server and the corresponding interface can be loaded, which facilitates the user to quickly switch the operation and use of the target application (such as game software) between multiple devices, so that the user can quickly switch devices and continue the previous game , which improves the user experience.
附图说明Description of drawings
图1为本发明实施例提供的数据同步方法应用于第二终端的流程图;FIG. 1 is a flow chart of applying a data synchronization method provided by an embodiment of the present invention to a second terminal;
图2为本发明实施例提供的数据同步方法应用于第二终端的另一流程图;FIG. 2 is another flow chart of the data synchronization method provided by the embodiment of the present invention applied to the second terminal;
图3为本发明实施例提供的移动终端的结构示意图;FIG. 3 is a schematic structural diagram of a mobile terminal provided by an embodiment of the present invention;
图4为本发明实施例提供的移动终端的另一结构示意图;FIG. 4 is another schematic structural diagram of a mobile terminal provided by an embodiment of the present invention;
图5为本发明实施例提供的数据同步方法应用于第一终端的流程图;FIG. 5 is a flow chart of applying the data synchronization method provided by the embodiment of the present invention to the first terminal;
图6为本发明实施例提供的移动终端的结构示意图;FIG. 6 is a schematic structural diagram of a mobile terminal provided by an embodiment of the present invention;
图7为本发明实施例提供的移动终端的另一结构示意图;FIG. 7 is another schematic structural diagram of a mobile terminal provided by an embodiment of the present invention;
图8为本发明实施例提供的数据同步方法应用于服务器的流程图;FIG. 8 is a flowchart of a data synchronization method provided by an embodiment of the present invention applied to a server;
图9为本发明实施例提供的服务器的结构示意图。FIG. 9 is a schematic structural diagram of a server provided by an embodiment of the present invention.
具体实施方式Detailed ways
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are some of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.
在本发明的一些实施例中,提供了一种数据同步方法,参照图1所示,包括:In some embodiments of the present invention, a data synchronization method is provided, as shown in FIG. 1 , including:
步骤101,接收将目标应用由第一终端切换到第二终端操作使用的切换请求;其中所述切换请求是所述第一终端或服务器确定所述第二终端属于目标应用在第一终端当前登录的账号对应的可信赖设备时发送的;所述第一终端和所述第二终端使用同一账号登录了所述目标应用。Step 101, receiving a switching request for switching the target application from the first terminal to the second terminal for operation; wherein the switching request is that the first terminal or the server determines that the second terminal belongs to the target application and is currently logged in at the first terminal is sent by the trusted device corresponding to the account; the first terminal and the second terminal have logged in the target application using the same account.
这里,目标应用可在多个终端上使用同一账号登录,但只能在一个终端上操作使用。第一终端和第二终端使用同一账号登录了目标应用,这样省去了切换时从第一终端退出后再从第二终端登录的繁琐步骤。第二终端接收到第一终端或服务器发送的切换请求后,可快速加载目标应用当前进度对应的界面。且第一终端或服务器验证第二终端属于可信赖设备后才向第二终端发送切换请求,保证了安全性。Here, the target application can log in with the same account on multiple terminals, but can only be operated and used on one terminal. The first terminal and the second terminal use the same account to log in the target application, which saves the troublesome steps of logging out from the first terminal and then logging in from the second terminal when switching. After receiving the switching request sent by the first terminal or the server, the second terminal can quickly load the interface corresponding to the current progress of the target application. In addition, the first terminal or the server sends the switching request to the second terminal after verifying that the second terminal is a trusted device, thereby ensuring security.
其中,当第一终端向第二终端发送切换请求时,第一终端可通过蓝牙或无线等方式向第二终端发送切换请求。当服务器向第二终端发送切换请求时,服务器可通过网络向第二终端发送切换请求。Wherein, when the first terminal sends the switching request to the second terminal, the first terminal may send the switching request to the second terminal through bluetooth or wireless. When the server sends the switching request to the second terminal, the server may send the switching request to the second terminal through the network.
步骤102,根据所述切换请求,从服务器下载所述目标应用的进度数据。Step 102, download progress data of the target application from a server according to the switching request.
这里,第二终端接收到切换请求后,根据切换请求,可快速从服务器下载目标应用的进行数据,以便于加载对应的界面。Here, after receiving the switch request, the second terminal can quickly download the progress data of the target application from the server according to the switch request, so as to load the corresponding interface.
需要说明的是,在目标应用操作使用的过程中,其进度数据实时同步到服务器中。It should be noted that, during the operation and use of the target application, its progress data is synchronized to the server in real time.
步骤103,根据所述目标应用的进度数据,在所述第二终端上加载所述目标应用的进度数据对应的界面。Step 103, according to the progress data of the target application, load an interface corresponding to the progress data of the target application on the second terminal.
这里,第二终端根据目标应用的进度数据,在第二终端上加载目标应用的进度数据对应的界面,使用户能够在第二终端上接着之前的进度继续操作使用目标应用,从而实现了将目标应用由第一终端快速切换到第二终端上操作使用的目的,方便了用户的使用,提升了用户体验。Here, the second terminal loads the interface corresponding to the progress data of the target application on the second terminal according to the progress data of the target application, so that the user can continue to operate and use the target application on the second terminal following the previous progress, thereby achieving the target application. The purpose of quickly switching the application from the first terminal to the second terminal for operation and use facilitates the use of the user and improves the user experience.
例如,第一终端和第二终端使用同一账号登录了某游戏软件A,用户在第一终端上操作使用A玩游戏时,出现了第一终端电量不足的情况,此时可触发第一终端或服务器向第二终端发送将A切换到第二终端操作使用的切换请求,第二终端收到切换请求后,可根据切换请求从服务器快速下载A的进度数据,并根据进度数据在第二终端上加载对应的界面,使用户可继续在第二终端上继续刚才的游戏,方便了用户的使用,提升了用户体验。For example, the first terminal and the second terminal use the same account to log in to a certain game software A. When the user uses A to play the game on the first terminal, the power of the first terminal is insufficient. At this time, the first terminal or the The server sends a switching request to the second terminal to switch A to the second terminal for operation. After the second terminal receives the switching request, it can quickly download the progress data of A from the server according to the switching request, and use it on the second terminal according to the progress data. The corresponding interface is loaded, so that the user can continue the game just now on the second terminal, which facilitates the use of the user and improves the user experience.
本发明实施例的数据同步方法,由于第二终端与第一终端使用同一账号登录了目标应用,因此省去了切换时从第一终端退出后再从第二终端登录的繁琐步骤,第二终端接收到第一终端或服务器发送的切换请求后,可快速从服务器下载进度数据并加载对应的界面,方便用户在多个设备之间快速切换目标应用(如游戏软件)的操作使用,从而使用户可快速切换设备继续之前的游戏,提升了用户体验,且第一终端或服务器验证第二终端属于可信赖设备后才向第二终端发送切换请求,保证了安全性。In the data synchronization method of the embodiment of the present invention, since the second terminal and the first terminal use the same account to log in the target application, it saves the troublesome steps of logging out from the first terminal and then logging in from the second terminal when switching, and the second terminal After receiving the switching request sent by the first terminal or the server, the progress data can be quickly downloaded from the server and the corresponding interface can be loaded, which is convenient for the user to quickly switch the operation and use of the target application (such as game software) between multiple devices, so that the user The device can be quickly switched to continue the previous game, which improves the user experience, and the first terminal or the server verifies that the second terminal is a trusted device before sending a switching request to the second terminal, ensuring security.
可选的,上述步骤102包括:Optionally, the above step 102 includes:
步骤1021,检测到所述第一终端属于所述账号对应的可信赖设备时,从服务器下载所述目标应用的进度数据。Step 1021, when it is detected that the first terminal belongs to the trusted device corresponding to the account, download the progress data of the target application from the server.
此时,第二终端收到切换请求后,对第一终端进行验证,检测到第一终端属于可信赖设备时,才从服务器下载目标应用的进度数据,进一步保证了安全性。At this time, after receiving the switching request, the second terminal verifies the first terminal, and only downloads the progress data of the target application from the server when it detects that the first terminal is a trusted device, which further ensures security.
具体的,上述步骤1021包括:Specifically, the above step 1021 includes:
步骤10211,从服务器获取所述账号对应的可信赖设备列表,并获取所述第一终端的标识信息。Step 10211, obtain the list of trusted devices corresponding to the account from the server, and obtain the identification information of the first terminal.
这里,预先建立了账号对应的可信赖设备列表,基于该可信赖设备列表可快速确定某终端是否属于账号对应的可信赖设备。Here, a list of trusted devices corresponding to the account is established in advance, and based on the list of trusted devices, it can be quickly determined whether a certain terminal belongs to the trusted device corresponding to the account.
本步骤中,通过从服务器获取账号对应的可信赖设备列表,并获取第一终端的标识信息,为确定第一终端是否属于账号对应的可信赖设备提供了支持。In this step, by obtaining the list of trusted devices corresponding to the account from the server and obtaining the identification information of the first terminal, support is provided for determining whether the first terminal belongs to the trusted device corresponding to the account.
步骤10212,检测所述可信赖设备列表中是否存储有所述第一终端的标识信息。其中所述可信赖设备列表存储有一个或多个终端的标识信息。Step 10212, detecting whether the identification information of the first terminal is stored in the trusted device list. The trusted device list stores identification information of one or more terminals.
这里,可信赖设备列表存储有属于可信赖设备的一个或多个终端的标识信息,通过检测可信赖设备列表中是否存储有第一终端的标识信息,能够准确确定第一终端是否属于账号对应的可信赖设备。Here, the trusted device list stores the identification information of one or more terminals belonging to the trusted device, and by detecting whether the first terminal's identification information is stored in the trusted device list, it can be accurately determined whether the first terminal belongs to the corresponding account. Trusted equipment.
其中,终端的标识信息如可为IMEI(International Mobile EquipmentIdentity,国际移动设备身份码),但不限于此。Wherein, the identification information of the terminal may be, for example, IMEI (International Mobile Equipment Identity, International Mobile Equipment Identity), but is not limited thereto.
步骤10213,若所述可信赖设备列表中存储有所述第一终端的标识信息,则确定所述第一终端属于所述账号对应的可信赖设备,从服务器下载所述目标应用的进度数据。Step 10213: If the identification information of the first terminal is stored in the trusted device list, determine that the first terminal belongs to the trusted device corresponding to the account, and download the progress data of the target application from the server.
这里,若可信赖设备列表中存储有第一终端的标识信息,可确定第一终端属于账号对应的可信赖设备,则从服务器下载目标应用的进度数据,从而实现了对第一终端的验证,保证了安全性。Here, if the identification information of the first terminal is stored in the trusted device list, it can be determined that the first terminal belongs to the trusted device corresponding to the account, then the progress data of the target application is downloaded from the server, thereby realizing the verification of the first terminal, Security is guaranteed.
其中,第一终端或服务器检测第二终端是否属于账号对应的可信赖设备时可采用类似方式。以第一终端为例,第一终端从服务器获取账号对应的可信赖设备列表,并获取第二终端的标识信息;然后检测可信赖设备列表中是否存储有第二终端的标识信息,若可信赖设备列表中存储有第二终端的标识信息,则可确定第二终端属于账号对应的可信赖设备。Wherein, the first terminal or the server may adopt a similar method when detecting whether the second terminal belongs to the trusted device corresponding to the account. Taking the first terminal as an example, the first terminal obtains the list of trusted devices corresponding to the account from the server, and obtains the identification information of the second terminal; then detects whether the identification information of the second terminal is stored in the list of trusted devices, and if If the identification information of the second terminal is stored in the device list, it can be determined that the second terminal belongs to a trusted device corresponding to the account.
进一步的,上述步骤1021还可以包括:检测到所述第一终端属于所述账号对应的可信赖设备时,提示用户输入是否接受所述切换请求的确认信息;当确认信息指示用户确定接受所述切换请求时,再从服务器下载所述目标应用的进度数据。从而避免了误触发,提升了用户体验。Further, the above step 1021 may also include: when it is detected that the first terminal belongs to the trusted device corresponding to the account, prompting the user to input confirmation information whether to accept the switching request; When switching the request, the progress data of the target application is downloaded from the server. In this way, false triggering is avoided, and user experience is improved.
可选的,上述步骤101之前,还包括:Optionally, before the above step 101, further include:
步骤104,检测到在所述第二终端上登录所述目标应用的指令时,获取用户输入的账号的信息,并采集用户的脸部信息。Step 104, when an instruction to log in the target application on the second terminal is detected, information of an account input by the user is obtained, and facial information of the user is collected.
这里,在第二终端上登录目标应用时,可采用人脸识别的方式登录,以实现快速登录,节省认证时间。Here, when logging in to the target application on the second terminal, face recognition can be used to log in, so as to realize fast login and save authentication time.
本步骤中,检测到登录目标应用的指令时,获取用户输入的账号的信息,并采集用户的脸部信息,以便于进行人脸识别。In this step, when an instruction to log in to the target application is detected, the account information input by the user is obtained, and the user's face information is collected for face recognition.
其中,账号的信息如可包括用户名。Wherein, the account information may include, for example, a user name.
步骤105,将采集到的脸部信息与预先存储的所述账号对应的脸部信息进行比对。Step 105, comparing the collected facial information with the pre-stored facial information corresponding to the account.
这里,通过将采集到的脸部信息与预先存储的账号对应的脸部信息进行比对,以对用户的脸部信息进行认证,实现人脸识别。Here, by comparing the collected face information with the face information corresponding to the pre-stored account, the user's face information is authenticated and face recognition is realized.
步骤106,若采集到的脸部信息与预先存储的所述账号对应的脸部信息相匹配,则在所述第二终端上登录所述目标应用。Step 106, if the collected face information matches the pre-stored face information corresponding to the account, log in the target application on the second terminal.
这里,若采集到的脸部信息与预先存储的账号对应的脸部信息相匹配,则人脸识别成功,在第二终端上登录目标应用。Here, if the collected face information matches the face information corresponding to the pre-stored account, the face recognition is successful, and the target application is logged on the second terminal.
此时,通过采集用户的脸部信息进行人脸识别,提高了认证速度,节省了认证时间,从而提高了登录速度,实现了快速登录。At this time, by collecting the user's face information for face recognition, the authentication speed is improved and the authentication time is saved, thereby increasing the login speed and realizing fast login.
其中,进行人脸识别的前提是预先存储了账号对应的脸部信息。但当用户第一次在第二终端上登录目标应用时,由于没有存储账号对应的脸部信息,将无法实现脸部识别。这种情况下,可选的,上述步骤105包括:Among them, the premise of performing face recognition is that the face information corresponding to the account is stored in advance. But when the user logs in the target application on the second terminal for the first time, since the face information corresponding to the account is not stored, face recognition cannot be realized. In this case, optionally, the above step 105 includes:
步骤1051,若未存储有所述账号对应的脸部信息,则将用户输入的账号的信息以及所述第二终端的标识信息发送给服务器,使得所述服务器根据所述第二终端的标识信息确定所述第二终端是否属于所述账号对应的可信赖设备。Step 1051, if the face information corresponding to the account is not stored, send the account information input by the user and the identification information of the second terminal to the server, so that the server can Determine whether the second terminal belongs to a trusted device corresponding to the account.
这里,若未存储有账号对应的脸部信息,需要从服务器获取账号对应的脸部信息,则将用户输入的账号的信息以及第二终端的标识信息发送给服务器,使服务器接收到账号的信息以及第二终端的标识信息后,根据第二终端的标识信息确定第二终端是否属于账号对应的可信赖设备,即对第二终端进行验证,以保证安全性。Here, if the facial information corresponding to the account is not stored, and the facial information corresponding to the account needs to be obtained from the server, then the account information input by the user and the identification information of the second terminal are sent to the server, so that the server receives the account information and the identification information of the second terminal, determine whether the second terminal belongs to a trusted device corresponding to the account according to the identification information of the second terminal, that is, verify the second terminal to ensure security.
其中,账号的信息如可包括用户名和密码。Wherein, the account information may include, for example, a user name and a password.
其中,服务器存储有账号对应的脸部信息。若服务器未存储有账号对应的脸部信息,可在用户已经登录目标应用的终端上,提示用户录入脸部信息,将脸部信息保存在本地数据库并上传到服务器。Wherein, the server stores facial information corresponding to the account. If the server does not store the facial information corresponding to the account, the user can be prompted to enter the facial information on the terminal where the user has logged into the target application, and the facial information is saved in the local database and uploaded to the server.
步骤1052,接收所述服务器发送的所述账号对应的脸部信息,其中所述账号对应的脸部信息是所述服务器根据所述第二终端的标识信息确定所述第二终端属于所述账号对应的可信赖设备时发送的。Step 1052, receiving the facial information corresponding to the account sent by the server, wherein the facial information corresponding to the account is determined by the server according to the identification information of the second terminal that the second terminal belongs to the account Sent by the corresponding trusted device.
这里,服务器确定第二终端属于账号对应的可信赖设备时,才向第二终端发送账号对应的脸部信息,保证了安全性,第二终端接收服务器发送的账号对应的脸部信息,以便于后续进行人脸识别。Here, the server only sends the facial information corresponding to the account to the second terminal when it determines that the second terminal belongs to the trusted device corresponding to the account, which ensures security. The second terminal receives the facial information corresponding to the account sent by the server, so that Follow up with face recognition.
步骤1053,将所述账号对应的脸部信息进行存储,并将采集到的脸部信息与存储的所述账号对应的脸部信息进行比对。Step 1053, storing the facial information corresponding to the account, and comparing the collected facial information with the stored facial information corresponding to the account.
这里,第二终端将账号对应的脸部信息进行存储,以便于后续的随时调用。第二终端存储账号对应的脸部信息后,将采集到的脸部信息与所存储的脸部信息进行比对,以对用户的脸部信息进行认证,实现人脸识别。Here, the second terminal stores the face information corresponding to the account, so as to be called at any time later. After storing the face information corresponding to the account, the second terminal compares the collected face information with the stored face information to authenticate the user's face information and realize face recognition.
其中,用户在第二终端上第一次登录目标应用时,可通过输入用户名和密码的方式登录,第二终端从服务器获取账号对应的脸部信息进行存储后,用户再次在第二终端上登录目标应用时,可通过人脸识别的方式进行登录。Wherein, when the user logs in the target application for the first time on the second terminal, he can log in by entering the user name and password, and after the second terminal obtains and stores the face information corresponding to the account from the server, the user logs in again on the second terminal When using the target application, you can log in through face recognition.
可选的,上述步骤1051之后,还包括:Optionally, after the above step 1051, it also includes:
步骤1054,接收所述服务器发送的验证请求信息,其中所述验证请求信息是所述服务器根据所述第二终端的标识信息确定所述第二终端不属于所述账号对应的可信赖设备时发送的。Step 1054, receiving the verification request information sent by the server, wherein the verification request information is sent when the server determines that the second terminal does not belong to the trusted device corresponding to the account according to the identification information of the second terminal of.
这里,服务器确定第二终端不属于账号对应的可信赖设备时,向服务器发送验证请求信息,以对第二终端进行验证。Here, when the server determines that the second terminal does not belong to the trusted device corresponding to the account, it sends verification request information to the server to verify the second terminal.
其中,验证请求信息如可为短信验证码,但不限于此。Wherein, the verification request information may be, for example, a text message verification code, but is not limited thereto.
步骤1055,根据所述验证请求信息,获取用户输入的验证信息。Step 1055, according to the verification request information, obtain the verification information input by the user.
这里,第二终端根据服务器发送的验证请求信息,获取用户输入的验证信息,如验证码,以实现对第二终端的验证。Here, the second terminal obtains the verification information input by the user, such as a verification code, according to the verification request information sent by the server, so as to realize the verification of the second terminal.
步骤1056,将所述验证信息发送给所述服务器,使得所述服务器根据所述验证信息确定所述第二终端合法时,将所述第二终端添加为所述账号对应的可信赖设备。Step 1056: Send the verification information to the server, so that when the server determines that the second terminal is legitimate according to the verification information, add the second terminal as a trusted device corresponding to the account.
这里,第二终端将用户输入的验证信息发送给服务器,服务器根据验证信息确定第二终端合法时,才将第二终端添加为账号对应的可信赖设备,保证了安全性。Here, the second terminal sends the verification information input by the user to the server, and the server only adds the second terminal as a trusted device corresponding to the account when it determines that the second terminal is legal according to the verification information, thereby ensuring security.
此时,当第二终端不属于账号对应的可信赖设备时,可通过上述方式将第二终端添加为账号对应的可信赖设备。即在第二终端上登录目标应用时,第二终端将用户输入的账号的信息以及第二终端的标识信息发送给服务器,服务器根据第二终端的标识信息确定第二终端属于账号对应的可信赖设备时,将账号对应的脸部信息发送给第二终端,服务器确定第二终端不属于账号对应的可信赖设备时,向第二终端发送验证请求信息,服务器确定第二终端合法后,将第二终端添加为账号对应的可信赖设备。At this time, when the second terminal does not belong to the trusted device corresponding to the account, the second terminal may be added as a trusted device corresponding to the account in the above manner. That is, when the target application is logged in on the second terminal, the second terminal sends the account information input by the user and the identification information of the second terminal to the server, and the server determines that the second terminal belongs to the trusted account corresponding to the account according to the identification information of the second terminal. device, send the face information corresponding to the account to the second terminal, and when the server determines that the second terminal does not belong to the trusted device corresponding to the account, it sends a verification request message to the second terminal. After the server determines that the second terminal is legal, it sends the second terminal The second terminal is added as a trusted device corresponding to the account.
其中,第二终端指任意一个终端,即任意一个终端均可采用上述方式添加为账号对应的可信赖设备。Wherein, the second terminal refers to any terminal, that is, any terminal can be added as a trusted device corresponding to the account in the above manner.
特别的,对于用户首次登录目标应用时所使用的终端,可在用户成功登录目标应用后,将该终端自动添加为账号对应的可信赖设备,当用户在其他终端上登录目标应用时,采用上述方式将终端添加为账号对应的可信赖设备。In particular, for the terminal used by the user to log in to the target application for the first time, the terminal can be automatically added as a trusted device corresponding to the account after the user successfully logs in to the target application. When the user logs in to the target application on other terminals, the above-mentioned Add the terminal as a trusted device corresponding to the account.
可选的,为了便于管理,方法还包括:Optionally, for the convenience of management, the method also includes:
步骤107,按照预设时间间隔向所述服务器发送所述第二终端上的目标应用的使用状态信息;所述使用状态信息包括在线状态或下线状态。Step 107, sending the use state information of the target application on the second terminal to the server at a preset time interval; the use state information includes an online state or an offline state.
此时,第二终端定时向服务器报告目标应用的使用状态信息,便于服务器根据终端的使用状态信息合理切换终端,便于管理。At this time, the second terminal regularly reports the use state information of the target application to the server, so that the server can reasonably switch terminals according to the use state information of the terminal and facilitate management.
其中,当第二终端上的目标应用为在线状态时,说明第二终端上的目标应用为可用状态,当第二终端上的目标应用为下线状态时,说明第二终端上的目标应用为不可用状态。Wherein, when the target application on the second terminal is in the online state, it means that the target application on the second terminal is available; when the target application on the second terminal is in the offline state, it means that the target application on the second terminal is unavailable state.
进一步的,上述步骤101之前,第一终端还可以从服务器获取当前登录的账号对应的可信赖设备列表并显示,检测到对该可信赖设备列表中目标应用处于在线状态的第二终端的选择指令时,向第二终端发送将目标应用由第一终端切换到第二终端操作使用的切换请求。其中,可在可信赖设备列表中存储一个或多个终端的标识信息以及每个终端的目标应用的使用状态信息,以便于合理切换终端。Further, before the above step 101, the first terminal may also obtain from the server the list of trusted devices corresponding to the currently logged-in account and display it, and detect the selection instruction of the second terminal whose target application in the list of trusted devices is online , a switching request for switching the target application from the first terminal to the second terminal for operation and use is sent to the second terminal. Wherein, the identification information of one or more terminals and the use state information of the target application of each terminal may be stored in the trusted device list, so as to switch terminals reasonably.
此时,用户可在可信赖设备列表中选择任意一个处于在线状态的第二终端,以将目标应用快速切换到第二终端上使用。At this point, the user can select any second terminal that is online in the list of trusted devices, so as to quickly switch the target application to the second terminal for use.
具体的,第一终端检测到对该可信赖设备列表中目标应用处于在线状态的第二终端的选择指令时,还可以提示用户输入是否将目标应用切换到第二终端操作使用的确认信息,当确认信息指示用户确定将目标应用切换到第二终端操作使用时,再向第二终端发送将目标应用由第一终端切换到第二终端操作使用的切换请求。从而避免了误触发,提升了用户体验。Specifically, when the first terminal detects a selection instruction from the second terminal whose target application is online in the trusted device list, it may also prompt the user to input confirmation information whether to switch the target application to the second terminal for operation and use. When the confirmation information indicates that the user determines to switch the target application to the second terminal for operation and use, a switching request for switching the target application from the first terminal to the second terminal for operation and use is sent to the second terminal. In this way, false triggering is avoided, and user experience is improved.
下面对本发明实施例的数据同步方法的一具体应用流程举例说明如下。A specific application flow of the data synchronization method according to the embodiment of the present invention is described below with an example.
假设用户在终端B1上使用用户名为张三的账号登录了某一款游戏软件A,且正在B1上进行该游戏的操作,终端B2为用户的另一个终端。如图2所示,本发明实施例的数据同步方法,包括:Assume that the user has logged in a certain game software A on terminal B1 using an account named Zhang San, and is operating the game on B1, and terminal B2 is another terminal of the user. As shown in Figure 2, the data synchronization method of the embodiment of the present invention includes:
步骤201,终端B1提示用户录入脸部信息。In step 201, the terminal B1 prompts the user to input facial information.
步骤202,终端B1将用户录入的脸部信息保存在本地并上传到服务器。In step 202, the terminal B1 saves the face information entered by the user locally and uploads it to the server.
其中,终端B1和服务器将账号与脸部信息对应存储。Wherein, the terminal B1 and the server store the account number and face information correspondingly.
步骤203,终端B2检测到登录游戏软件A的指令时,获取用户输入的账号的信息,并采集用户的脸部信息。Step 203, when the terminal B2 detects an instruction to log in to the game software A, it acquires the account information entered by the user and collects the user's facial information.
步骤204,终端B2将采集到的脸部信息与预先存储的账号对应的脸部信息进行比对。In step 204, the terminal B2 compares the collected face information with the face information corresponding to the pre-stored account.
这里,第一次在终端B2上登录游戏软件A时,由于本地未存储有账号对应的脸部信息,可使用用户名和密码登录,并从服务器获取账号对应的脸部信息。具体的,终端B2将用户输入的账号的信息以及终端B2的标识信息发送给服务器,使得服务器根据终端B2的标识信息确定终端B2是否属于账号对应的可信赖设备。服务器确定终端B2属于账号对应的可信赖设备时,向终端B2发送账号对应的脸部信息。服务器确定终端B2不属于账号对应的可信赖设备时,向终端B2发送短信验证码,当终端B2返回正确的验证码后,将终端B2添加为账号对应的可信赖设备。Here, when logging into the game software A on the terminal B2 for the first time, since the face information corresponding to the account is not stored locally, the user name and password can be used to log in, and the face information corresponding to the account can be obtained from the server. Specifically, the terminal B2 sends the account information input by the user and the identification information of the terminal B2 to the server, so that the server determines whether the terminal B2 belongs to a trusted device corresponding to the account according to the identification information of the terminal B2. When the server determines that the terminal B2 is a trusted device corresponding to the account, it sends the facial information corresponding to the account to the terminal B2. When the server determines that the terminal B2 is not a trusted device corresponding to the account, it sends a verification code to the terminal B2 via SMS, and when the terminal B2 returns the correct verification code, the terminal B2 is added as a trusted device corresponding to the account.
步骤205,若采集到的脸部信息与预先存储的账号对应的脸部信息相匹配,终端B2登录目标应用。Step 205, if the collected face information matches the face information corresponding to the pre-stored account, the terminal B2 logs in the target application.
这里,终端B2登录目标应用后,终端B2上游戏软件A为在线状态。Here, after the terminal B2 logs into the target application, the game software A on the terminal B2 is in an online state.
步骤206,终端B1从服务器获取账号对应的可信赖设备列表并显示。In step 206, the terminal B1 acquires a list of trusted devices corresponding to the account from the server and displays it.
步骤207,终端B1检测到对可信赖设备列表中目标应用处于在线状态的终端B2的选择指令时,向终端B2发送将游戏A切换到终端B2操作使用的切换请求。Step 207, when terminal B1 detects a selection instruction for terminal B2 whose target application is online in the trusted device list, it sends to terminal B2 a switching request for switching game A to terminal B2 for operation and use.
步骤208,终端B2从服务器获取账号对应的可信赖设备列表以及终端B1的标识信息。In step 208, the terminal B2 acquires the list of trusted devices corresponding to the account and the identification information of the terminal B1 from the server.
步骤209,终端B2检测到可信赖设备列表中存储有终端B1的标识信息时,确定终端B1属于账号对应的可信赖设备,从服务器下载游戏A的进度数据。Step 209, when the terminal B2 detects that the identification information of the terminal B1 is stored in the trusted device list, it determines that the terminal B1 belongs to the trusted device corresponding to the account, and downloads the progress data of the game A from the server.
步骤210,终端B2根据游戏A的进度数据,在终端B2上加载目标应用的进度数据对应的界面。Step 210, terminal B2 loads an interface corresponding to the progress data of the target application on terminal B2 according to the progress data of game A.
本发明实施例的数据同步方法,由于第二终端与第一终端使用同一账号登录了目标应用,因此省去了切换时从第一终端退出后再从第二终端登录的繁琐步骤,第二终端接收到第一终端或服务器发送的切换请求后,可快速从服务器下载进度数据并加载对应的界面,方便用户在多个设备之间快速切换目标应用(如游戏软件)的操作使用,从而使用户可快速切换设备继续之前的游戏,提升了用户体验,且第一终端或服务器验证第二终端属于可信赖设备后才向第二终端发送切换请求,保证了安全性。In the data synchronization method of the embodiment of the present invention, since the second terminal and the first terminal use the same account to log in the target application, it saves the troublesome steps of logging out from the first terminal and then logging in from the second terminal when switching, and the second terminal After receiving the switching request sent by the first terminal or the server, the progress data can be quickly downloaded from the server and the corresponding interface can be loaded, which is convenient for the user to quickly switch the operation and use of the target application (such as game software) between multiple devices, so that the user The device can be quickly switched to continue the previous game, which improves the user experience, and the first terminal or the server verifies that the second terminal is a trusted device before sending a switching request to the second terminal, ensuring security.
在本发明的一些实施例中,参照图3所示,还提供了一种移动终端300。移动终端300包括:In some embodiments of the present invention, as shown in FIG. 3 , a mobile terminal 300 is also provided. The mobile terminal 300 includes:
第一接收模块301,用于接收将目标应用由第一终端切换到第二终端操作使用的切换请求;其中所述切换请求是所述第一终端或服务器确定所述第二终端属于目标应用在第一终端当前登录的账号对应的可信赖设备时发送的;所述第一终端和所述第二终端使用同一账号登录了所述目标应用;The first receiving module 301 is configured to receive a switching request for switching the target application from the first terminal to the second terminal; wherein the switching request is determined by the first terminal or the server that the second terminal belongs to the target application The first terminal is sent by a trusted device corresponding to the account currently logged in; the first terminal and the second terminal use the same account to log in to the target application;
下载模块302,用于根据所述切换请求,从服务器下载所述目标应用的进度数据;A download module 302, configured to download progress data of the target application from a server according to the switching request;
加载模块303,用于根据所述目标应用的进度数据,在所述第二终端上加载所述目标应用的进度数据对应的界面。The loading module 303 is configured to load an interface corresponding to the progress data of the target application on the second terminal according to the progress data of the target application.
本发明实施例的移动终端300(第二终端),由于第二终端与第一终端使用同一账号登录了目标应用,因此省去了切换时从第一终端退出后再从第二终端登录的繁琐步骤,第二终端接收到第一终端或服务器发送的切换请求后,可快速从服务器下载进度数据并加载对应的界面,方便用户在多个设备之间快速切换目标应用(如游戏软件)的操作使用,从而使用户可快速切换设备继续之前的游戏,提升了用户体验,且第一终端或服务器验证第二终端属于可信赖设备后才向第二终端发送切换请求,保证了安全性。In the mobile terminal 300 (second terminal) of the embodiment of the present invention, since the second terminal and the first terminal use the same account to log in the target application, it saves the trouble of logging out from the first terminal and then logging in from the second terminal when switching. Step, after the second terminal receives the switching request sent by the first terminal or the server, it can quickly download the progress data from the server and load the corresponding interface, which is convenient for the user to quickly switch the operation of the target application (such as game software) between multiple devices In this way, the user can quickly switch devices to continue the previous game, which improves the user experience, and the first terminal or the server sends a switch request to the second terminal after verifying that the second terminal is a trusted device, ensuring security.
可选的,所述下载模块302包括:Optionally, the download module 302 includes:
下载子模块3021,用于检测到所述第一终端属于所述账号对应的可信赖设备时,从服务器下载所述目标应用的进度数据。The download submodule 3021 is configured to download the progress data of the target application from the server when it is detected that the first terminal belongs to the trusted device corresponding to the account.
可选的,所述下载子模块3021包括:Optionally, the download submodule 3021 includes:
获取单元30211,用于从服务器获取所述账号对应的可信赖设备列表,并获取所述第一终端的标识信息;An obtaining unit 30211, configured to obtain a list of trusted devices corresponding to the account from a server, and obtain identification information of the first terminal;
检测单元30212,用于检测所述可信赖设备列表中是否存储有所述第一终端的标识信息;其中所述可信赖设备列表存储有一个或多个终端的标识信息;A detecting unit 30212, configured to detect whether identification information of the first terminal is stored in the trusted device list; wherein the trusted device list stores identification information of one or more terminals;
下载单元30213,用于若所述可信赖设备列表中存储有所述第一终端的标识信息,则确定所述第一终端属于所述账号对应的可信赖设备,从服务器下载所述目标应用的进度数据。The downloading unit 30213 is configured to determine that the first terminal belongs to the trusted device corresponding to the account if the identification information of the first terminal is stored in the trusted device list, and download the target application from the server. progress data.
可选的,移动终端300还包括:Optionally, the mobile terminal 300 also includes:
第一检测模块304,用于检测到在所述第二终端上登录所述目标应用的指令时,获取用户输入的账号的信息,并采集用户的脸部信息;The first detection module 304 is configured to obtain the information of the account input by the user and collect the user's facial information when an instruction to log in the target application on the second terminal is detected;
比对模块305,用于将采集到的脸部信息与预先存储的所述账号对应的脸部信息进行比对;A comparison module 305, configured to compare the collected face information with the pre-stored face information corresponding to the account;
登录模块306,用于若采集到的脸部信息与预先存储的所述账号对应的脸部信息相匹配,则在所述第二终端上登录所述目标应用。The login module 306 is configured to log in the target application on the second terminal if the collected facial information matches the pre-stored facial information corresponding to the account.
可选的,所述比对模块305包括:Optionally, the comparison module 305 includes:
第一发送子模块3051,用于若未存储有所述账号对应的脸部信息,则将用户输入的账号的信息以及所述第二终端的标识信息发送给服务器,使得所述服务器根据所述第二终端的标识信息确定所述第二终端是否属于所述账号对应的可信赖设备;The first sending submodule 3051 is configured to send the information of the account input by the user and the identification information of the second terminal to the server if the face information corresponding to the account is not stored, so that the server can send the information of the account according to the The identification information of the second terminal determines whether the second terminal belongs to a trusted device corresponding to the account;
接收子模块3052,用于接收所述服务器发送的所述账号对应的脸部信息,其中所述账号对应的脸部信息是所述服务器根据所述第二终端的标识信息确定所述第二终端属于所述账号对应的可信赖设备时发送的;The receiving submodule 3052 is configured to receive the facial information corresponding to the account sent by the server, wherein the facial information corresponding to the account is determined by the server according to the identification information of the second terminal It is sent when it belongs to the trusted device corresponding to the account;
比对子模块3053,用于将所述账号对应的脸部信息进行存储,并将采集到的脸部信息与存储的所述账号对应的脸部信息进行比对。The comparison sub-module 3053 is used to store the facial information corresponding to the account, and compare the collected facial information with the stored facial information corresponding to the account.
可选的,移动终端300还包括:Optionally, the mobile terminal 300 also includes:
第二接收模块307,用于接收所述服务器发送的验证请求信息,其中所述验证请求信息是所述服务器根据所述第二终端的标识信息确定所述第二终端不属于所述账号对应的可信赖设备时发送的;The second receiving module 307 is configured to receive the verification request information sent by the server, where the verification request information is that the server determines that the second terminal does not belong to the account according to the identification information of the second terminal Sent when the device is trusted;
获取模块308,用于根据所述验证请求信息,获取用户输入的验证信息;An acquisition module 308, configured to acquire the verification information input by the user according to the verification request information;
第一发送模块309,用于将所述验证信息发送给所述服务器,使得所述服务器根据所述验证信息确定所述第二终端合法时,将所述第二终端添加为所述账号对应的可信赖设备。The first sending module 309 is configured to send the verification information to the server, so that when the server determines that the second terminal is legal according to the verification information, add the second terminal as the account corresponding to the account. Trusted equipment.
可选的,移动终端300还包括:Optionally, the mobile terminal 300 also includes:
第二发送模块310,用于按照预设时间间隔向所述服务器发送所述第二终端上的目标应用的使用状态信息;所述使用状态信息包括在线状态或下线状态。The second sending module 310 is configured to send the usage status information of the target application on the second terminal to the server according to a preset time interval; the usage status information includes an online status or an offline status.
本发明实施例提供的移动终端能实现图1至图2的方法实施例中移动终端实现的各个过程,为避免重复,在此不再赘述。本发明实施例的移动终端300(第二终端),由于第二终端与第一终端使用同一账号登录了目标应用,因此省去了切换时从第一终端退出后再从第二终端登录的繁琐步骤,第二终端接收到第一终端或服务器发送的切换请求后,可快速从服务器下载进度数据并加载对应的界面,方便用户在多个设备之间快速切换目标应用(如游戏软件)的操作使用,从而使用户可快速切换设备继续之前的游戏,提升了用户体验,且第一终端或服务器验证第二终端属于可信赖设备后才向第二终端发送切换请求,保证了安全性。The mobile terminal provided by the embodiment of the present invention can implement various processes implemented by the mobile terminal in the method embodiments shown in FIG. 1 to FIG. 2 , and details are not repeated here to avoid repetition. In the mobile terminal 300 (second terminal) of the embodiment of the present invention, since the second terminal and the first terminal use the same account to log in the target application, it saves the trouble of logging out from the first terminal and then logging in from the second terminal when switching. Step, after the second terminal receives the switching request sent by the first terminal or the server, it can quickly download the progress data from the server and load the corresponding interface, which is convenient for the user to quickly switch the operation of the target application (such as game software) between multiple devices In this way, the user can quickly switch devices to continue the previous game, which improves the user experience, and the first terminal or the server sends a switch request to the second terminal after verifying that the second terminal is a trusted device, ensuring security.
图4为实现本发明各个实施例的一种移动终端的硬件结构示意图。该移动终端400包括但不限于:射频单元401、网络模块402、音频输出单元403、输入单元404、传感器405、显示单元406、用户输入单元407、接口单元408、存储器409、处理器410、以及电源411等部件。本领域技术人员可以理解,图4中示出的移动终端结构并不构成对移动终端的限定,移动终端可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。在本发明实施例中,移动终端包括但不限于手机、平板电脑、笔记本电脑、掌上电脑、车载终端、可穿戴设备、以及计步器等。Fig. 4 is a schematic diagram of a hardware structure of a mobile terminal implementing various embodiments of the present invention. The mobile terminal 400 includes, but is not limited to: a radio frequency unit 401, a network module 402, an audio output unit 403, an input unit 404, a sensor 405, a display unit 406, a user input unit 407, an interface unit 408, a memory 409, a processor 410, and Power supply 411 and other components. Those skilled in the art can understand that the structure of the mobile terminal shown in Figure 4 does not constitute a limitation on the mobile terminal, and the mobile terminal may include more or less components than shown in the figure, or combine some components, or different components layout. In the embodiment of the present invention, the mobile terminal includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palmtop computer, a vehicle-mounted terminal, a wearable device, and a pedometer.
其中,射频单元401,用于接收将目标应用由第一终端切换到第二终端操作使用的切换请求;其中所述切换请求是所述第一终端或服务器确定所述第二终端属于目标应用在第一终端当前登录的账号对应的可信赖设备时发送的;所述第一终端和所述第二终端使用同一账号登录了所述目标应用。Wherein, the radio frequency unit 401 is configured to receive a switching request for switching the target application from the first terminal to the second terminal; wherein the switching request is determined by the first terminal or the server that the second terminal belongs to the target application. The first terminal is sent by a trusted device corresponding to the account currently logged in; the first terminal and the second terminal have logged in the target application using the same account.
处理器410,用于根据所述切换请求,从服务器下载所述目标应用的进度数据;根据所述目标应用的进度数据,在所述第二终端的显示单元406上加载所述目标应用的进度数据对应的界面。A processor 410, configured to download progress data of the target application from a server according to the switching request; load the progress of the target application on the display unit 406 of the second terminal according to the progress data of the target application The interface corresponding to the data.
该移动终端400(第二终端),由于第二终端与第一终端使用同一账号登录了目标应用,因此省去了切换时从第一终端退出后再从第二终端登录的繁琐步骤,第二终端接收到第一终端或服务器发送的切换请求后,可快速从服务器下载进度数据并加载对应的界面,方便用户在多个设备之间快速切换目标应用(如游戏软件)的操作使用,从而使用户可快速切换设备继续之前的游戏,提升了用户体验,且第一终端或服务器验证第二终端属于可信赖设备后才向第二终端发送切换请求,保证了安全性。For the mobile terminal 400 (second terminal), because the second terminal and the first terminal use the same account to log in the target application, it saves the troublesome steps of logging out from the first terminal and then logging in from the second terminal when switching. After the terminal receives the switching request sent by the first terminal or the server, it can quickly download the progress data from the server and load the corresponding interface, which is convenient for the user to quickly switch the operation and use of the target application (such as game software) among multiple devices, so that The user can quickly switch devices to continue the previous game, which improves the user experience, and the first terminal or the server sends a switching request to the second terminal after verifying that the second terminal is a trusted device, ensuring security.
可选的,处理器410还用于:检测到所述第一终端属于所述账号对应的可信赖设备时,从服务器下载所述目标应用的进度数据。Optionally, the processor 410 is further configured to: download progress data of the target application from a server when detecting that the first terminal belongs to a trusted device corresponding to the account.
可选的,处理器410还用于:从服务器获取所述账号对应的可信赖设备列表,并获取所述第一终端的标识信息;检测所述可信赖设备列表中是否存储有所述第一终端的标识信息;其中所述可信赖设备列表存储有一个或多个终端的标识信息;若所述可信赖设备列表中存储有所述第一终端的标识信息,则确定所述第一终端属于所述账号对应的可信赖设备,从服务器下载所述目标应用的进度数据。Optionally, the processor 410 is further configured to: obtain a list of trusted devices corresponding to the account from the server, and obtain identification information of the first terminal; detect whether the first terminal is stored in the list of trusted devices. Identification information of the terminal; wherein the trusted device list stores identification information of one or more terminals; if the trusted device list stores the identification information of the first terminal, it is determined that the first terminal belongs to The trusted device corresponding to the account downloads the progress data of the target application from the server.
可选的,处理器410还用于:所述接收将目标应用由第一终端切换到第二终端操作使用的切换请求之前,检测到在所述第二终端上登录所述目标应用的指令时,获取用户输入的账号的信息,并采集用户的脸部信息;将采集到的脸部信息与预先存储的所述账号对应的脸部信息进行比对;若采集到的脸部信息与预先存储的所述账号对应的脸部信息相匹配,则在所述第二终端上登录所述目标应用。Optionally, the processor 410 is further configured to: before receiving the switching request for switching the target application from the first terminal to the second terminal for operation and use, when detecting an instruction to log in the target application on the second terminal , obtain the information of the account input by the user, and collect the user's facial information; compare the collected facial information with the pre-stored facial information corresponding to the account; if the collected facial information is consistent with the pre-stored If the facial information corresponding to the account number matches, the target application is logged in on the second terminal.
可选的,射频单元401还用于:若未存储有所述账号对应的脸部信息,则将用户输入的账号的信息以及所述第二终端的标识信息发送给服务器,使得所述服务器根据所述第二终端的标识信息确定所述第二终端是否属于所述账号对应的可信赖设备;接收所述服务器发送的所述账号对应的脸部信息,其中所述账号对应的脸部信息是所述服务器根据所述第二终端的标识信息确定所述第二终端属于所述账号对应的可信赖设备时发送的;处理器410用于将所述账号对应的脸部信息进行存储,并将采集到的脸部信息与存储的所述账号对应的脸部信息进行比对。Optionally, the radio frequency unit 401 is further configured to: if the face information corresponding to the account is not stored, send the information of the account input by the user and the identification information of the second terminal to the server, so that the server according to The identification information of the second terminal determines whether the second terminal belongs to the trusted device corresponding to the account; receiving the facial information corresponding to the account sent by the server, wherein the facial information corresponding to the account is It is sent when the server determines that the second terminal belongs to the trusted device corresponding to the account according to the identification information of the second terminal; the processor 410 is configured to store the face information corresponding to the account, and The collected facial information is compared with the stored facial information corresponding to the account.
可选的,射频单元401还用于:所述将用户输入的账号的信息以及所述第二终端的标识信息发送给服务器之后,接收所述服务器发送的验证请求信息,其中所述验证请求信息是所述服务器根据所述第二终端的标识信息确定所述第二终端不属于所述账号对应的可信赖设备时发送的;根据所述验证请求信息,获取用户输入的验证信息;将所述验证信息发送给所述服务器,使得所述服务器根据所述验证信息确定所述第二终端合法时,将所述第二终端添加为所述账号对应的可信赖设备。Optionally, the radio frequency unit 401 is further configured to: after sending the account information input by the user and the identification information of the second terminal to the server, receive verification request information sent by the server, wherein the verification request information is sent when the server determines that the second terminal does not belong to the trusted device corresponding to the account according to the identification information of the second terminal; obtains the verification information input by the user according to the verification request information; The verification information is sent to the server, so that when the server determines that the second terminal is legitimate according to the verification information, it adds the second terminal as a trusted device corresponding to the account.
可选的,射频单元401还用于:按照预设时间间隔向所述服务器发送所述第二终端上的目标应用的使用状态信息;所述使用状态信息包括在线状态或下线状态。Optionally, the radio frequency unit 401 is further configured to: send usage status information of the target application on the second terminal to the server at a preset time interval; the usage status information includes an online status or an offline status.
应理解的是,本发明实施例中,射频单元401可用于收发信息或通话过程中,信号的接收和发送,具体的,将来自基站的下行数据接收后,给处理器410处理;另外,将上行的数据发送给基站。通常,射频单元401包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等。此外,射频单元401还可以通过无线通信系统与网络和其他设备通信。It should be understood that, in the embodiment of the present invention, the radio frequency unit 401 can be used for receiving and sending signals during sending and receiving information or during a call. Specifically, the downlink data from the base station is received and processed by the processor 410; Uplink data is sent to the base station. Generally, the radio frequency unit 401 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 401 can also communicate with the network and other devices through a wireless communication system.
移动终端通过网络模块402为用户提供了无线的宽带互联网访问,如帮助用户收发电子邮件、浏览网页和访问流式媒体等。The mobile terminal provides users with wireless broadband Internet access through the network module 402, such as helping users send and receive emails, browse web pages, and access streaming media.
音频输出单元403可以将射频单元401或网络模块402接收的或者在存储器409中存储的音频数据转换成音频信号并且输出为声音。而且,音频输出单元403还可以提供与移动终端400执行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等等)。音频输出单元403包括扬声器、蜂鸣器以及受话器等。The audio output unit 403 may convert audio data received by the radio frequency unit 401 or the network module 402 or stored in the memory 409 into an audio signal and output as sound. Also, the audio output unit 403 can also provide audio output related to a specific function performed by the mobile terminal 400 (eg, call signal reception sound, message reception sound, etc.). The audio output unit 403 includes a speaker, a buzzer, a receiver, and the like.
输入单元404用于接收音频或视频信号。输入单元404可以包括图形处理器(Graphics Processing Unit,GPU)4041和麦克风4042,图形处理器4041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。处理后的图像帧可以显示在显示单元406上。经图形处理器4041处理后的图像帧可以存储在存储器409(或其它存储介质)中或者经由射频单元401或网络模块402进行发送。麦克风4042可以接收声音,并且能够将这样的声音处理为音频数据。处理后的音频数据可以在电话通话模式的情况下转换为可经由射频单元401发送到移动通信基站的格式输出。The input unit 404 is used for receiving audio or video signals. The input unit 404 can include a graphics processing unit (Graphics Processing Unit, GPU) 4041 and a microphone 4042, and the graphics processing unit 4041 is used for still pictures or video images obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. The data is processed. The processed image frames may be displayed on the display unit 406 . The image frames processed by the graphics processor 4041 may be stored in the memory 409 (or other storage media) or sent via the radio frequency unit 401 or the network module 402 . The microphone 4042 can receive sound, and can process such sound into audio data. The processed audio data can be converted into a format that can be sent to a mobile communication base station via the radio frequency unit 401 for output in the case of a phone call mode.
移动终端400还包括至少一种传感器405,比如光传感器、运动传感器以及其他传感器。具体地,光传感器包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板4061的亮度,接近传感器可在移动终端400移动到耳边时,关闭显示面板4061和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别移动终端姿态(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;传感器405还可以包括指纹传感器、压力传感器、虹膜传感器、分子传感器、陀螺仪、气压计、湿度计、温度计、红外线传感器等,在此不再赘述。The mobile terminal 400 also includes at least one sensor 405, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor, wherein the ambient light sensor can adjust the brightness of the display panel 4061 according to the brightness of the ambient light, and the proximity sensor can turn off the display panel 4061 and the display panel 4061 when the mobile terminal 400 moves to the ear / or backlighting. As a kind of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in various directions (generally three axes), and can detect the magnitude and direction of gravity when it is still, and can be used to identify the posture of mobile terminals (such as horizontal and vertical screen switching, related games, etc.) , magnetometer posture calibration), vibration recognition-related functions (such as pedometer, knocking), etc.; the sensor 405 can also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, Infrared sensors, etc., will not be repeated here.
显示单元406用于显示由用户输入的信息或提供给用户的信息。显示单元406可包括显示面板4061,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板4061。The display unit 406 is used to display information input by the user or information provided to the user. The display unit 406 may include a display panel 4061, and the display panel 4061 may be configured in the form of a liquid crystal display (Liquid Crystal Display, LCD), an organic light-emitting diode (Organic Light-Emitting Diode, OLED), or the like.
用户输入单元407可用于接收输入的数字或字符信息,以及产生与移动终端的用户设置以及功能控制有关的键信号输入。具体地,用户输入单元407包括触控面板4071以及其他输入设备4072。触控面板4071,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板4071上或在触控面板4071附近的操作)。触控面板4071可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器410,接收处理器410发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板4071。除了触控面板4071,用户输入单元407还可以包括其他输入设备4072。具体地,其他输入设备4072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。The user input unit 407 can be used to receive input numbers or character information, and generate key signal input related to user settings and function control of the mobile terminal. Specifically, the user input unit 407 includes a touch panel 4071 and other input devices 4072 . The touch panel 4071, also referred to as a touch screen, can collect touch operations of the user on or near it (for example, the user uses any suitable object or accessory such as a finger or a stylus on the touch panel 4071 or near the touch panel 4071). operate). The touch panel 4071 may include two parts, a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, and detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and sends it to the For the processor 410, receive the command sent by the processor 410 and execute it. In addition, the touch panel 4071 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel 4071 , the user input unit 407 may also include other input devices 4072 . Specifically, other input devices 4072 may include, but are not limited to, physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which will not be repeated here.
进一步的,触控面板4071可覆盖在显示面板4061上,当触控面板4071检测到在其上或附近的触摸操作后,传送给处理器410以确定触摸事件的类型,随后处理器410根据触摸事件的类型在显示面板4061上提供相应的视觉输出。虽然在图4中,触控面板4071与显示面板4061是作为两个独立的部件来实现移动终端的输入和输出功能,但是在某些实施例中,可以将触控面板4071与显示面板4061集成而实现移动终端的输入和输出功能,具体此处不做限定。Furthermore, the touch panel 4071 can be covered on the display panel 4061, and when the touch panel 4071 detects a touch operation on or near it, it will be sent to the processor 410 to determine the type of the touch event, and then the processor 410 will The type of event provides a corresponding visual output on the display panel 4061 . Although in FIG. 4, the touch panel 4071 and the display panel 4061 are used as two independent components to realize the input and output functions of the mobile terminal, in some embodiments, the touch panel 4071 and the display panel 4061 can be integrated. The implementation of the input and output functions of the mobile terminal is not specifically limited here.
接口单元408为外部装置与移动终端400连接的接口。例如,外部装置可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线数据端口、存储卡端口、用于连接具有识别模块的装置的端口、音频输入/输出(I/O)端口、视频I/O端口、耳机端口等等。接口单元408可以用于接收来自外部装置的输入(例如,数据信息、电力等等)并且将接收到的输入传输到移动终端400内的一个或多个元件或者可以用于在移动终端400和外部装置之间传输数据。The interface unit 408 is an interface for connecting an external device to the mobile terminal 400 . For example, an external device may include a wired or wireless headset port, an external power (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, audio input/output (I/O) ports, video I/O ports, headphone ports, and more. The interface unit 408 can be used to receive input from an external device (for example, data information, power, etc.) transfer data between devices.
存储器409可用于存储软件程序以及各种数据。存储器409可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器409可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory 409 can be used to store software programs as well as various data. The memory 409 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, at least one application program required by a function (such as a sound playback function, an image playback function, etc.); Data created by the use of mobile phones (such as audio data, phonebook, etc.), etc. In addition, the memory 409 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage devices.
处理器410是移动终端的控制中心,利用各种接口和线路连接整个移动终端的各个部分,通过运行或执行存储在存储器409内的软件程序和/或模块,以及调用存储在存储器409内的数据,执行移动终端的各种功能和处理数据,从而对移动终端进行整体监控。处理器410可包括一个或多个处理单元;优选的,处理器410可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器410中。The processor 410 is the control center of the mobile terminal, which uses various interfaces and lines to connect various parts of the entire mobile terminal, by running or executing software programs and/or modules stored in the memory 409, and calling data stored in the memory 409 , execute various functions of the mobile terminal and process data, so as to monitor the mobile terminal as a whole. The processor 410 may include one or more processing units; preferably, the processor 410 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface and application programs, etc., and the modem The processor mainly handles wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 410 .
移动终端400还可以包括给各个部件供电的电源411(比如电池),优选的,电源411可以通过电源管理系统与处理器410逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。The mobile terminal 400 can also include a power supply 411 (such as a battery) for supplying power to various components. Preferably, the power supply 411 can be logically connected to the processor 410 through a power management system, so as to manage charging, discharging, and power consumption through the power management system. and other functions.
另外,移动终端400包括一些未示出的功能模块,在此不再赘述。In addition, the mobile terminal 400 includes some functional modules not shown, which will not be repeated here.
优选的,本发明实施例还提供一种移动终端,包括处理器410,存储器409,存储在存储器409上并可在所述处理器410上运行的计算机程序,该计算机程序被处理器410执行时实现上述数据同步方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Preferably, the embodiment of the present invention also provides a mobile terminal, including a processor 410, a memory 409, a computer program stored in the memory 409 and operable on the processor 410, when the computer program is executed by the processor 410 The various processes of the above embodiments of the data synchronization method can be realized and the same technical effect can be achieved. To avoid repetition, details are not repeated here.
本发明实施例还提供一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现上述数据同步方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。其中,所述的计算机可读存储介质,如只读存储器(Read-Only Memory,简称ROM)、随机存取存储器(Random Access Memory,简称RAM)、磁碟或者光盘等。The embodiment of the present invention also provides a computer-readable storage medium. A computer program is stored on the computer-readable storage medium. When the computer program is executed by a processor, each process of the above-mentioned data synchronization method embodiment is realized, and the same technology can be achieved. Effect, in order to avoid repetition, will not repeat them here. Wherein, the computer-readable storage medium is, for example, a read-only memory (Read-Only Memory, ROM for short), a random access memory (Random Access Memory, RAM for short), a magnetic disk or an optical disk, and the like.
在本发明的一些实施例中,还提供了一种数据同步方法,参照图5所示,包括:In some embodiments of the present invention, a data synchronization method is also provided, as shown in FIG. 5 , including:
步骤501,当确定第二终端属于目标应用在第一终端当前登录的账号对应的可信赖设备时,向所述第二终端发送将所述目标应用由第一终端切换到第二终端操作使用的切换请求,使得所述第二终端根据所述切换请求,从服务器下载所述目标应用的进度数据,并根据所述目标应用的进度数据,在所述第二终端上加载所述目标应用的进度数据对应的界面;其中所述第一终端和所述第二终端使用同一账号登录了所述目标应用。Step 501, when it is determined that the second terminal belongs to the trusted device corresponding to the account currently logged in by the target application on the first terminal, send to the second terminal an instruction to switch the target application from the first terminal to the second terminal for operation. switching the request, so that the second terminal downloads the progress data of the target application from the server according to the switching request, and loads the progress of the target application on the second terminal according to the progress data of the target application An interface corresponding to the data; wherein the first terminal and the second terminal use the same account to log in to the target application.
本发明实施例的数据同步方法,由于第二终端与第一终端使用同一账号登录了目标应用,因此省去了切换时从第一终端退出后再从第二终端登录的繁琐步骤,第一终端验证第二终端属于可信赖设备后向第二终端发送切换请求,使得第二终端接收到切换请求后,可快速从服务器下载进度数据并加载对应的界面,方便用户在多个设备之间快速切换目标应用(如游戏软件)的操作使用,从而使用户可快速切换设备继续之前的游戏,提升了用户体验,且第一终端验证第二终端属于可信赖设备后才向第二终端发送切换请求,保证了安全性。In the data synchronization method of the embodiment of the present invention, since the second terminal and the first terminal use the same account to log in the target application, it saves the troublesome steps of logging out from the first terminal and then logging in from the second terminal when switching, and the first terminal After verifying that the second terminal is a trusted device, send a switching request to the second terminal, so that after receiving the switching request, the second terminal can quickly download the progress data from the server and load the corresponding interface, which is convenient for users to quickly switch between multiple devices The operation and use of the target application (such as game software), so that the user can quickly switch the device to continue the previous game, which improves the user experience, and the first terminal sends a switching request to the second terminal after verifying that the second terminal is a trusted device. Security is guaranteed.
可选的,上述步骤501包括:Optionally, the above step 501 includes:
步骤5011,从服务器获取所述账号对应的可信赖设备列表并显示;Step 5011, obtaining and displaying the list of trusted devices corresponding to the account from the server;
步骤5012,检测到对所述可信赖设备列表中目标应用处于在线状态的第二终端的选择指令时,向所述第二终端发送将所述目标应用由第一终端切换到第二终端操作使用的切换请求;Step 5012: When detecting a selection instruction for a second terminal whose target application is online in the trusted device list, send an operation to switch the target application from the first terminal to the second terminal to the second terminal. switching request;
其中,所述可信赖设备列表存储有一个或多个终端的标识信息以及每个终端的目标应用的使用状态信息,所述使用状态信息包括在线状态或下线状态。Wherein, the trusted device list stores identification information of one or more terminals and usage status information of a target application of each terminal, and the usage status information includes an online status or an offline status.
本发明实施例的数据同步方法,由于第二终端与第一终端使用同一账号登录了目标应用,因此省去了切换时从第一终端退出后再从第二终端登录的繁琐步骤,第一终端验证第二终端属于可信赖设备后向第二终端发送切换请求,使得第二终端接收到切换请求后,可快速从服务器下载进度数据并加载对应的界面,方便用户在多个设备之间快速切换目标应用(如游戏软件)的操作使用,从而使用户可快速切换设备继续之前的游戏,提升了用户体验,且第一终端验证第二终端属于可信赖设备后才向第二终端发送切换请求,保证了安全性。In the data synchronization method of the embodiment of the present invention, since the second terminal and the first terminal use the same account to log in the target application, it saves the troublesome steps of logging out from the first terminal and then logging in from the second terminal when switching, and the first terminal After verifying that the second terminal is a trusted device, send a switching request to the second terminal, so that after receiving the switching request, the second terminal can quickly download the progress data from the server and load the corresponding interface, which is convenient for users to quickly switch between multiple devices The operation and use of the target application (such as game software), so that the user can quickly switch the device to continue the previous game, which improves the user experience, and the first terminal sends a switching request to the second terminal after verifying that the second terminal is a trusted device. Security is guaranteed.
在本发明的一些实施例中,参照图6所示,还提供了一种移动终端600。移动终端600包括:In some embodiments of the present invention, as shown in FIG. 6 , a mobile terminal 600 is also provided. The mobile terminal 600 includes:
第三发送模块601,用于当确定第二终端属于目标应用在第一终端当前登录的账号对应的可信赖设备时,向所述第二终端发送将所述目标应用由第一终端切换到第二终端操作使用的切换请求,使得所述第二终端根据所述切换请求,从服务器下载所述目标应用的进度数据,并根据所述目标应用的进度数据,在所述第二终端上加载所述目标应用的进度数据对应的界面;其中所述第一终端和所述第二终端使用同一账号登录了所述目标应用。The third sending module 601 is configured to, when it is determined that the second terminal belongs to the trusted device corresponding to the account currently logged in by the target application on the first terminal, send the switching of the target application from the first terminal to the second terminal to the second terminal. The switching request used by the two terminal operations, so that the second terminal downloads the progress data of the target application from the server according to the switching request, and loads the progress data of the target application on the second terminal according to the progress data of the target application. The interface corresponding to the progress data of the target application; wherein the first terminal and the second terminal log in the target application using the same account.
本发明实施例的移动终端600(第一终端),由于第二终端与第一终端使用同一账号登录了目标应用,因此省去了切换时从第一终端退出后再从第二终端登录的繁琐步骤,第一终端验证第二终端属于可信赖设备后向第二终端发送切换请求,使得第二终端接收到切换请求后,可快速从服务器下载进度数据并加载对应的界面,方便用户在多个设备之间快速切换目标应用(如游戏软件)的操作使用,从而使用户可快速切换设备继续之前的游戏,提升了用户体验,且第一终端验证第二终端属于可信赖设备后才向第二终端发送切换请求,保证了安全性。In the mobile terminal 600 (first terminal) of the embodiment of the present invention, since the second terminal and the first terminal use the same account to log in the target application, it saves the trouble of logging out from the first terminal and then logging in from the second terminal when switching. step, the first terminal verifies that the second terminal is a trusted device, and then sends a switching request to the second terminal, so that after receiving the switching request, the second terminal can quickly download progress data from the server and load the corresponding interface, which is convenient for users to switch between multiple Quickly switch the operation and use of the target application (such as game software) between the devices, so that the user can quickly switch the device to continue the previous game, which improves the user experience, and the first terminal verifies that the second terminal is a trusted device before transferring to the second terminal. The terminal sends a handover request, which ensures safety.
可选的,所述第三发送模块601包括:Optionally, the third sending module 601 includes:
获取子模块,用于从服务器获取所述账号对应的可信赖设备列表并显示;The obtaining submodule is used to obtain and display the list of trusted devices corresponding to the account from the server;
检测子模块,用于检测到对所述可信赖设备列表中目标应用处于在线状态的第二终端的选择指令时,向所述第二终端发送将所述目标应用由第一终端切换到第二终端操作使用的切换请求;The detection submodule is configured to, when detecting a selection instruction for a second terminal whose target application is online in the list of trusted devices, send to the second terminal an instruction to switch the target application from the first terminal to the second terminal. Handover requests used by terminal operations;
其中,所述可信赖设备列表存储有一个或多个终端的标识信息以及每个终端的目标应用的使用状态信息,所述使用状态信息包括在线状态或下线状态。Wherein, the trusted device list stores identification information of one or more terminals and usage status information of a target application of each terminal, and the usage status information includes an online status or an offline status.
本发明实施例提供的移动终端能实现图5的方法实施例中移动终端实现的各个过程,为避免重复,在此不再赘述。本发明实施例的移动终端600(第一终端),由于第二终端与第一终端使用同一账号登录了目标应用,因此省去了切换时从第一终端退出后再从第二终端登录的繁琐步骤,第一终端验证第二终端属于可信赖设备后向第二终端发送切换请求,使得第二终端接收到切换请求后,可快速从服务器下载进度数据并加载对应的界面,方便用户在多个设备之间快速切换目标应用(如游戏软件)的操作使用,从而使用户可快速切换设备继续之前的游戏,提升了用户体验,且第一终端验证第二终端属于可信赖设备后才向第二终端发送切换请求,保证了安全性。The mobile terminal provided by the embodiment of the present invention can implement various processes implemented by the mobile terminal in the method embodiment in FIG. 5 , and details are not repeated here to avoid repetition. In the mobile terminal 600 (first terminal) of the embodiment of the present invention, since the second terminal and the first terminal use the same account to log in the target application, it saves the trouble of logging out from the first terminal and then logging in from the second terminal when switching. step, the first terminal verifies that the second terminal is a trusted device, and then sends a switching request to the second terminal, so that after receiving the switching request, the second terminal can quickly download progress data from the server and load the corresponding interface, which is convenient for users to switch between multiple Quickly switch the operation and use of the target application (such as game software) between the devices, so that the user can quickly switch the device to continue the previous game, which improves the user experience, and the first terminal verifies that the second terminal is a trusted device before transferring to the second terminal. The terminal sends a handover request, which ensures safety.
图7为实现本发明各个实施例的一种移动终端的硬件结构示意图。该移动终端700包括但不限于:射频单元701、网络模块702、音频输出单元703、输入单元704、传感器705、显示单元706、用户输入单元707、接口单元708、存储器709、处理器710、以及电源711等部件。本领域技术人员可以理解,图7中示出的移动终端结构并不构成对移动终端的限定,移动终端可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。在本发明实施例中,移动终端包括但不限于手机、平板电脑、笔记本电脑、掌上电脑、车载终端、可穿戴设备、以及计步器等。Fig. 7 is a schematic diagram of a hardware structure of a mobile terminal implementing various embodiments of the present invention. The mobile terminal 700 includes but not limited to: a radio frequency unit 701, a network module 702, an audio output unit 703, an input unit 704, a sensor 705, a display unit 706, a user input unit 707, an interface unit 708, a memory 709, a processor 710, and Power supply 711 and other components. Those skilled in the art can understand that the structure of the mobile terminal shown in FIG. 7 does not constitute a limitation on the mobile terminal, and the mobile terminal may include more or less components than shown in the figure, or combine some components, or different components layout. In the embodiment of the present invention, the mobile terminal includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palmtop computer, a vehicle-mounted terminal, a wearable device, and a pedometer.
其中,射频单元701,用于当确定第二终端属于目标应用在第一终端当前登录的账号对应的可信赖设备时,向所述第二终端发送将所述目标应用由第一终端切换到第二终端操作使用的切换请求,使得所述第二终端根据所述切换请求,从服务器下载所述目标应用的进度数据,并根据所述目标应用的进度数据,在所述第二终端上加载所述目标应用的进度数据对应的界面;其中所述第一终端和所述第二终端使用同一账号登录了所述目标应用。Wherein, the radio frequency unit 701 is configured to, when it is determined that the second terminal belongs to the trusted device corresponding to the account currently logged in by the target application on the first terminal, send a request to the second terminal to switch the target application from the first terminal to the second terminal. The switching request used by the two terminal operations, so that the second terminal downloads the progress data of the target application from the server according to the switching request, and loads the progress data of the target application on the second terminal according to the progress data of the target application. The interface corresponding to the progress data of the target application; wherein the first terminal and the second terminal log in the target application using the same account.
该移动终端700(第一终端),由于第二终端与第一终端使用同一账号登录了目标应用,因此省去了切换时从第一终端退出后再从第二终端登录的繁琐步骤,第一终端验证第二终端属于可信赖设备后向第二终端发送切换请求,使得第二终端接收到切换请求后,可快速从服务器下载进度数据并加载对应的界面,方便用户在多个设备之间快速切换目标应用(如游戏软件)的操作使用,从而使用户可快速切换设备继续之前的游戏,提升了用户体验,且第一终端验证第二终端属于可信赖设备后才向第二终端发送切换请求,保证了安全性。For the mobile terminal 700 (the first terminal), because the second terminal and the first terminal use the same account to log in the target application, it saves the troublesome steps of logging out from the first terminal and then logging in from the second terminal when switching. After verifying that the second terminal is a trusted device, the terminal sends a switching request to the second terminal, so that after receiving the switching request, the second terminal can quickly download the progress data from the server and load the corresponding interface, which is convenient for users to quickly switch between multiple devices. Switch the operation and use of the target application (such as game software), so that the user can quickly switch the device to continue the previous game, which improves the user experience, and the first terminal sends a switching request to the second terminal after verifying that the second terminal is a trusted device , ensuring safety.
可选的,处理器710还用于:从服务器获取所述账号对应的可信赖设备列表并在显示单元706显示;检测到对所述可信赖设备列表中目标应用处于在线状态的第二终端的选择指令时,向所述第二终端发送将所述目标应用由第一终端切换到第二终端操作使用的切换请求;其中,所述可信赖设备列表存储有一个或多个终端的标识信息以及每个终端的目标应用的使用状态信息,所述使用状态信息包括在线状态或下线状态。Optionally, the processor 710 is further configured to: acquire a list of trusted devices corresponding to the account from the server and display it on the display unit 706; When an instruction is selected, a switching request for switching the target application from the first terminal to the second terminal is sent to the second terminal; wherein, the trusted device list stores identification information of one or more terminals and The use state information of the target application of each terminal, where the use state information includes an online state or an offline state.
应理解的是,本发明实施例中,射频单元701可用于收发信息或通话过程中,信号的接收和发送,具体的,将来自基站的下行数据接收后,给处理器710处理;另外,将上行的数据发送给基站。通常,射频单元701包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等。此外,射频单元701还可以通过无线通信系统与网络和其他设备通信。It should be understood that, in the embodiment of the present invention, the radio frequency unit 701 can be used to receive and send signals during sending and receiving information or during a call. Specifically, the downlink data from the base station is received and processed by the processor 710; in addition, the Uplink data is sent to the base station. Generally, the radio frequency unit 701 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 701 can also communicate with the network and other devices through a wireless communication system.
移动终端通过网络模块702为用户提供了无线的宽带互联网访问,如帮助用户收发电子邮件、浏览网页和访问流式媒体等。The mobile terminal provides users with wireless broadband Internet access through the network module 702, such as helping users send and receive emails, browse web pages, and access streaming media.
音频输出单元703可以将射频单元701或网络模块702接收的或者在存储器709中存储的音频数据转换成音频信号并且输出为声音。而且,音频输出单元703还可以提供与移动终端700执行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等等)。音频输出单元703包括扬声器、蜂鸣器以及受话器等。The audio output unit 703 may convert audio data received by the radio frequency unit 701 or the network module 702 or stored in the memory 709 into an audio signal and output as sound. Also, the audio output unit 703 can also provide audio output related to a specific function performed by the mobile terminal 700 (for example, call signal reception sound, message reception sound, etc.). The audio output unit 703 includes a speaker, a buzzer, a receiver, and the like.
输入单元704用于接收音频或视频信号。输入单元704可以包括图形处理器(Graphics Processing Unit,GPU)7041和麦克风7042,图形处理器7041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。处理后的图像帧可以显示在显示单元706上。经图形处理器7041处理后的图像帧可以存储在存储器709(或其它存储介质)中或者经由射频单元701或网络模块702进行发送。麦克风7042可以接收声音,并且能够将这样的声音处理为音频数据。处理后的音频数据可以在电话通话模式的情况下转换为可经由射频单元701发送到移动通信基站的格式输出。The input unit 704 is used to receive audio or video signals. The input unit 704 may include a graphics processing unit (Graphics Processing Unit, GPU) 7041 and a microphone 7042, and the graphics processor 7041 is used for still pictures or video images obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. The data is processed. The processed image frames may be displayed on the display unit 706 . The image frames processed by the graphics processor 7041 may be stored in the memory 709 (or other storage media) or sent via the radio frequency unit 701 or the network module 702 . The microphone 7042 can receive sound, and can process such sound into audio data. The processed audio data can be converted into a format that can be sent to a mobile communication base station via the radio frequency unit 701 for output in the case of a phone call mode.
移动终端700还包括至少一种传感器705,比如光传感器、运动传感器以及其他传感器。具体地,光传感器包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板7061的亮度,接近传感器可在移动终端700移动到耳边时,关闭显示面板7061和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别移动终端姿态(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;传感器705还可以包括指纹传感器、压力传感器、虹膜传感器、分子传感器、陀螺仪、气压计、湿度计、温度计、红外线传感器等,在此不再赘述。The mobile terminal 700 also includes at least one sensor 705, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor, wherein the ambient light sensor can adjust the brightness of the display panel 7061 according to the brightness of the ambient light, and the proximity sensor can turn off the display panel 7061 and the / or backlighting. As a kind of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in various directions (generally three axes), and can detect the magnitude and direction of gravity when it is still, and can be used to identify the posture of mobile terminals (such as horizontal and vertical screen switching, related games, etc.) , magnetometer posture calibration), vibration recognition-related functions (such as pedometer, knocking), etc.; the sensor 705 can also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, Infrared sensors, etc., will not be repeated here.
显示单元706用于显示由用户输入的信息或提供给用户的信息。显示单元706可包括显示面板7061,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板7061。The display unit 706 is used to display information input by the user or information provided to the user. The display unit 706 may include a display panel 7061, and the display panel 7061 may be configured in the form of a liquid crystal display (Liquid Crystal Display, LCD), an organic light-emitting diode (Organic Light-Emitting Diode, OLED), or the like.
用户输入单元707可用于接收输入的数字或字符信息,以及产生与移动终端的用户设置以及功能控制有关的键信号输入。具体地,用户输入单元707包括触控面板7071以及其他输入设备7072。触控面板7071,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板7071上或在触控面板7071附近的操作)。触控面板7071可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器710,接收处理器710发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板7071。除了触控面板7071,用户输入单元707还可以包括其他输入设备7072。具体地,其他输入设备7072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。The user input unit 707 can be used to receive input numbers or character information, and generate key signal input related to user settings and function control of the mobile terminal. Specifically, the user input unit 707 includes a touch panel 7071 and other input devices 7072 . The touch panel 7071, also referred to as a touch screen, can collect touch operations of the user on or near it (for example, the user uses any suitable object or accessory such as a finger or a stylus on the touch panel 7071 or near the touch panel 7071). operate). The touch panel 7071 may include two parts, a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, and detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and sends it to the For the processor 710, receive the command sent by the processor 710 and execute it. In addition, the touch panel 7071 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel 7071 , the user input unit 707 may also include other input devices 7072 . Specifically, other input devices 7072 may include, but are not limited to, physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which will not be repeated here.
进一步的,触控面板7071可覆盖在显示面板7061上,当触控面板7071检测到在其上或附近的触摸操作后,传送给处理器710以确定触摸事件的类型,随后处理器710根据触摸事件的类型在显示面板7061上提供相应的视觉输出。虽然在图7中,触控面板7071与显示面板7061是作为两个独立的部件来实现移动终端的输入和输出功能,但是在某些实施例中,可以将触控面板7071与显示面板7061集成而实现移动终端的输入和输出功能,具体此处不做限定。Furthermore, the touch panel 7071 can be covered on the display panel 7061. When the touch panel 7071 detects a touch operation on or near it, it will be sent to the processor 710 to determine the type of the touch event. The type of event provides a corresponding visual output on the display panel 7061. Although in FIG. 7, the touch panel 7071 and the display panel 7061 are used as two independent components to realize the input and output functions of the mobile terminal, in some embodiments, the touch panel 7071 and the display panel 7061 can be integrated. The implementation of the input and output functions of the mobile terminal is not specifically limited here.
接口单元708为外部装置与移动终端700连接的接口。例如,外部装置可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线数据端口、存储卡端口、用于连接具有识别模块的装置的端口、音频输入/输出(I/O)端口、视频I/O端口、耳机端口等等。接口单元708可以用于接收来自外部装置的输入(例如,数据信息、电力等等)并且将接收到的输入传输到移动终端700内的一个或多个元件或者可以用于在移动终端700和外部装置之间传输数据。The interface unit 708 is an interface for connecting an external device to the mobile terminal 700 . For example, an external device may include a wired or wireless headset port, an external power (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, audio input/output (I/O) ports, video I/O ports, headphone ports, and more. The interface unit 708 can be used to receive input from an external device (for example, data information, power, etc.) transfer data between devices.
存储器709可用于存储软件程序以及各种数据。存储器709可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器709可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory 709 can be used to store software programs as well as various data. The memory 709 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, at least one application program required by a function (such as a sound playback function, an image playback function, etc.); Data created by the use of mobile phones (such as audio data, phonebook, etc.), etc. In addition, the memory 709 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage devices.
处理器710是移动终端的控制中心,利用各种接口和线路连接整个移动终端的各个部分,通过运行或执行存储在存储器709内的软件程序和/或模块,以及调用存储在存储器709内的数据,执行移动终端的各种功能和处理数据,从而对移动终端进行整体监控。处理器710可包括一个或多个处理单元;优选的,处理器710可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器710中。The processor 710 is the control center of the mobile terminal, which uses various interfaces and lines to connect various parts of the entire mobile terminal, by running or executing software programs and/or modules stored in the memory 709, and calling data stored in the memory 709 , execute various functions of the mobile terminal and process data, so as to monitor the mobile terminal as a whole. The processor 710 may include one or more processing units; preferably, the processor 710 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface and application programs, etc., and the modem The processor mainly handles wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 710 .
移动终端700还可以包括给各个部件供电的电源711(比如电池),优选的,电源711可以通过电源管理系统与处理器710逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。The mobile terminal 700 can also include a power supply 711 (such as a battery) for supplying power to various components. Preferably, the power supply 711 can be logically connected to the processor 710 through a power management system, so as to manage charging, discharging, and power consumption through the power management system. and other functions.
另外,移动终端700包括一些未示出的功能模块,在此不再赘述。In addition, the mobile terminal 700 includes some functional modules not shown, which will not be repeated here.
优选的,本发明实施例还提供一种移动终端,包括处理器710,存储器709,存储在存储器709上并可在所述处理器710上运行的计算机程序,该计算机程序被处理器710执行时实现上述数据同步方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Preferably, the embodiment of the present invention also provides a mobile terminal, including a processor 710, a memory 709, a computer program stored in the memory 709 and operable on the processor 710, when the computer program is executed by the processor 710 The various processes of the above embodiments of the data synchronization method can be realized and the same technical effect can be achieved. To avoid repetition, details are not repeated here.
本发明实施例还提供一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现上述数据同步方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。其中,所述的计算机可读存储介质,如只读存储器(Read-Only Memory,简称ROM)、随机存取存储器(Random Access Memory,简称RAM)、磁碟或者光盘等。The embodiment of the present invention also provides a computer-readable storage medium. A computer program is stored on the computer-readable storage medium. When the computer program is executed by a processor, each process of the above-mentioned data synchronization method embodiment is realized, and the same technology can be achieved. Effect, in order to avoid repetition, will not repeat them here. Wherein, the computer-readable storage medium is, for example, a read-only memory (Read-Only Memory, ROM for short), a random access memory (Random Access Memory, RAM for short), a magnetic disk or an optical disk, and the like.
在本发明的一些实施例中,还提供了一种数据同步方法,参照图8所示,包括:In some embodiments of the present invention, a data synchronization method is also provided, as shown in FIG. 8 , including:
步骤801,接收第二终端发送的下载目标应用的进度数据的下载请求;其中所述下载请求是所述第二终端接收到将目标应用由第一终端切换到第二终端操作使用的切换请求时,根据所述切换请求发送的,所述切换请求是所述第一终端或服务器确定所述第二终端属于目标应用在第一终端当前登录的账号对应的可信赖设备时发送的;所述第一终端和所述第二终端使用同一账号登录了所述目标应用;Step 801, receiving a download request for downloading progress data of the target application sent by the second terminal; wherein the download request is when the second terminal receives a switch request for switching the target application from the first terminal to the second terminal for operation and use , sent according to the switching request, the switching request is sent when the first terminal or the server determines that the second terminal belongs to a trusted device corresponding to the account currently logged in by the target application on the first terminal; the second A terminal and the second terminal use the same account to log in the target application;
步骤802,将所述目标应用的进度数据发送给所述第二终端,使得所述第二终端根据所述目标应用的进度数据,在所述第二终端上加载所述目标应用的进度数据对应的界面。Step 802: Send the progress data of the target application to the second terminal, so that the second terminal loads the progress data corresponding to the target application on the second terminal according to the progress data of the target application. interface.
本发明实施例的数据同步方法,由于第二终端与第一终端使用同一账号登录了目标应用,因此省去了切换时从第一终端退出后再从第二终端登录的繁琐步骤,第一终端验证第二终端属于可信赖设备后向第二终端发送切换请求,服务器接收第二终端根据切换请求发送的下载目标应用的进度数据的下载请求,并将目标应用的进度数据发送给第二终端,从而第二终端可快速从服务器下载进度数据并加载对应的界面,方便用户在多个设备之间快速切换目标应用(如游戏软件)的操作使用,使用户可快速切换设备继续之前的游戏,提升了用户体验,且第一终端验证第二终端属于可信赖设备后才向第二终端发送切换请求,保证了安全性。In the data synchronization method of the embodiment of the present invention, since the second terminal and the first terminal use the same account to log in the target application, it saves the troublesome steps of logging out from the first terminal and then logging in from the second terminal when switching, and the first terminal After verifying that the second terminal is a trusted device, sending a switching request to the second terminal, the server receives the download request for downloading progress data of the target application sent by the second terminal according to the switching request, and sends the progress data of the target application to the second terminal, Therefore, the second terminal can quickly download the progress data from the server and load the corresponding interface, which is convenient for the user to quickly switch the operation and use of the target application (such as game software) between multiple devices, so that the user can quickly switch devices and continue the previous game, improving The user experience is improved, and the first terminal sends a switching request to the second terminal only after verifying that the second terminal is a trusted device, thereby ensuring security.
可选的,上述步骤801之前,还包括:Optionally, before the above step 801, further include:
步骤803,接收第二终端发送的所述目标应用的账号的信息以及所述第二终端的标识信息;Step 803, receiving the account information of the target application and the identification information of the second terminal sent by the second terminal;
步骤804,根据所述第二终端的标识信息确定所述第二终端是否属于所述账号对应的可信赖设备;Step 804: Determine whether the second terminal belongs to a trusted device corresponding to the account according to the identification information of the second terminal;
步骤805,若确定所述第二终端属于所述账号对应的可信赖设备,则将所述账号对应的脸部信息发送给所述第二终端;Step 805, if it is determined that the second terminal belongs to the trusted device corresponding to the account, then send the face information corresponding to the account to the second terminal;
步骤806,若确定所述第二终端不属于所述账号对应的可信赖设备,则向所述第二终端发送验证请求信息,并接收所述第二终端返回的验证信息,当根据所述验证信息确定所述第二终端合法时,将所述第二终端添加为所述账号对应的可信赖设备。Step 806: If it is determined that the second terminal does not belong to the trusted device corresponding to the account, then send verification request information to the second terminal, and receive verification information returned by the second terminal, and when according to the verification When the information determines that the second terminal is legitimate, add the second terminal as a trusted device corresponding to the account.
本发明实施例的数据同步方法,由于第二终端与第一终端使用同一账号登录了目标应用,因此省去了切换时从第一终端退出后再从第二终端登录的繁琐步骤,第一终端验证第二终端属于可信赖设备后向第二终端发送切换请求,服务器接收第二终端根据切换请求发送的下载目标应用的进度数据的下载请求,并将目标应用的进度数据发送给第二终端,从而第二终端可快速从服务器下载进度数据并加载对应的界面,方便用户在多个设备之间快速切换目标应用(如游戏软件)的操作使用,使用户可快速切换设备继续之前的游戏,提升了用户体验,且第一终端验证第二终端属于可信赖设备后才向第二终端发送切换请求,保证了安全性。In the data synchronization method of the embodiment of the present invention, since the second terminal and the first terminal use the same account to log in the target application, it saves the troublesome steps of logging out from the first terminal and then logging in from the second terminal when switching, and the first terminal After verifying that the second terminal is a trusted device, sending a switching request to the second terminal, the server receives the download request for downloading progress data of the target application sent by the second terminal according to the switching request, and sends the progress data of the target application to the second terminal, Therefore, the second terminal can quickly download the progress data from the server and load the corresponding interface, which is convenient for the user to quickly switch the operation and use of the target application (such as game software) between multiple devices, so that the user can quickly switch devices and continue the previous game, improving The user experience is improved, and the first terminal sends a switching request to the second terminal only after verifying that the second terminal is a trusted device, thereby ensuring security.
在本发明的一些实施例中,参照图9所示,还提供了一种服务器900。服务器900包括:In some embodiments of the present invention, as shown in FIG. 9 , a server 900 is also provided. Server 900 includes:
第三接收模块901,用于接收第二终端发送的下载目标应用的进度数据的下载请求;其中所述下载请求是所述第二终端接收到将目标应用由第一终端切换到第二终端操作使用的切换请求时,根据所述切换请求发送的,所述切换请求是所述第一终端或服务器确定所述第二终端属于目标应用在第一终端当前登录的账号对应的可信赖设备时发送的;所述第一终端和所述第二终端使用同一账号登录了所述目标应用;The third receiving module 901 is configured to receive a download request for downloading the progress data of the target application sent by the second terminal; wherein the download request is that the second terminal receives the operation of switching the target application from the first terminal to the second terminal When using a switching request, it is sent according to the switching request, and the switching request is sent when the first terminal or the server determines that the second terminal belongs to a trusted device corresponding to the account currently logged in by the target application on the first terminal the first terminal and the second terminal log in the target application using the same account;
第四发送模块902,用于将所述目标应用的进度数据发送给所述第二终端,使得所述第二终端根据所述目标应用的进度数据,在所述第二终端上加载所述目标应用的进度数据对应的界面。The fourth sending module 902 is configured to send the progress data of the target application to the second terminal, so that the second terminal loads the target on the second terminal according to the progress data of the target application The interface corresponding to the progress data of the application.
本发明实施例的服务器900,由于第二终端与第一终端使用同一账号登录了目标应用,因此省去了切换时从第一终端退出后再从第二终端登录的繁琐步骤,第一终端验证第二终端属于可信赖设备后向第二终端发送切换请求,服务器接收第二终端根据切换请求发送的下载目标应用的进度数据的下载请求,并将目标应用的进度数据发送给第二终端,从而第二终端可快速从服务器下载进度数据并加载对应的界面,方便用户在多个设备之间快速切换目标应用(如游戏软件)的操作使用,使用户可快速切换设备继续之前的游戏,提升了用户体验,且第一终端验证第二终端属于可信赖设备后才向第二终端发送切换请求,保证了安全性。In the server 900 of the embodiment of the present invention, since the second terminal and the first terminal use the same account to log in to the target application, it saves the troublesome steps of logging out from the first terminal and then logging in from the second terminal when switching, and the first terminal verifies After the second terminal belongs to a trusted device, it sends a switching request to the second terminal, and the server receives the download request for downloading progress data of the target application sent by the second terminal according to the switching request, and sends the progress data of the target application to the second terminal, thereby The second terminal can quickly download the progress data from the server and load the corresponding interface, which is convenient for the user to quickly switch the operation and use of the target application (such as game software) between multiple devices, so that the user can quickly switch devices and continue the previous game, which improves the user experience. The user experience is improved, and the first terminal sends a switching request to the second terminal after verifying that the second terminal is a trusted device, which ensures security.
可选的,所述服务器900还包括:Optionally, the server 900 also includes:
第四接收模块,用于接收第二终端发送的所述目标应用的账号的信息以及所述第二终端的标识信息;A fourth receiving module, configured to receive the account information of the target application and the identification information of the second terminal sent by the second terminal;
确定模块,用于根据所述第二终端的标识信息确定所述第二终端是否属于所述账号对应的可信赖设备;A determining module, configured to determine whether the second terminal belongs to a trusted device corresponding to the account according to the identification information of the second terminal;
第五发送模块,用于若确定所述第二终端属于所述账号对应的可信赖设备,则将所述账号对应的脸部信息发送给所述第二终端;A fifth sending module, configured to send the face information corresponding to the account to the second terminal if it is determined that the second terminal belongs to a trusted device corresponding to the account;
第六发送模块,用于若确定所述第二终端不属于所述账号对应的可信赖设备,则向所述第二终端发送验证请求信息,并接收所述第二终端返回的验证信息,当根据所述验证信息确定所述第二终端合法时,将所述第二终端添加为所述账号对应的可信赖设备。The sixth sending module is configured to send verification request information to the second terminal if it is determined that the second terminal does not belong to the trusted device corresponding to the account, and receive verification information returned by the second terminal. When it is determined according to the verification information that the second terminal is legal, the second terminal is added as a trusted device corresponding to the account.
本发明实施例提供的服务器能实现图8的方法实施例中服务器实现的各个过程,为避免重复,在此不再赘述。本发明实施例的服务器900,由于第二终端与第一终端使用同一账号登录了目标应用,因此省去了切换时从第一终端退出后再从第二终端登录的繁琐步骤,第一终端验证第二终端属于可信赖设备后向第二终端发送切换请求,服务器接收第二终端根据切换请求发送的下载目标应用的进度数据的下载请求,并将目标应用的进度数据发送给第二终端,从而第二终端可快速从服务器下载进度数据并加载对应的界面,方便用户在多个设备之间快速切换目标应用(如游戏软件)的操作使用,使用户可快速切换设备继续之前的游戏,提升了用户体验,且第一终端验证第二终端属于可信赖设备后才向第二终端发送切换请求,保证了安全性。The server provided in the embodiment of the present invention can implement each process implemented by the server in the method embodiment in FIG. 8 , and details are not repeated here to avoid repetition. In the server 900 of the embodiment of the present invention, since the second terminal and the first terminal use the same account to log in to the target application, it saves the troublesome steps of logging out from the first terminal and then logging in from the second terminal when switching, and the first terminal verifies After the second terminal belongs to a trusted device, it sends a switching request to the second terminal, and the server receives the download request for downloading progress data of the target application sent by the second terminal according to the switching request, and sends the progress data of the target application to the second terminal, thereby The second terminal can quickly download the progress data from the server and load the corresponding interface, which is convenient for the user to quickly switch the operation and use of the target application (such as game software) between multiple devices, so that the user can quickly switch devices and continue the previous game, which improves the user experience. The user experience is improved, and the first terminal sends a switching request to the second terminal after verifying that the second terminal is a trusted device, which ensures security.
优选的,本发明实施例还提供一种服务器,包括处理器,存储器,存储在存储器上并可在所述处理器上运行的计算机程序,该计算机程序被处理器执行时实现上述数据同步方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Preferably, an embodiment of the present invention also provides a server, including a processor, a memory, and a computer program stored on the memory and operable on the processor, and the computer program is executed by the processor to implement the above-mentioned data synchronization method. Each process of the example, and can achieve the same technical effect, in order to avoid repetition, will not repeat them here.
本发明实施例还提供一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现上述数据同步方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。其中,所述的计算机可读存储介质,如只读存储器(Read-Only Memory,简称ROM)、随机存取存储器(Random Access Memory,简称RAM)、磁碟或者光盘等。The embodiment of the present invention also provides a computer-readable storage medium. A computer program is stored on the computer-readable storage medium. When the computer program is executed by a processor, each process of the above-mentioned data synchronization method embodiment is realized, and the same technology can be achieved. Effect, in order to avoid repetition, will not repeat them here. Wherein, the computer-readable storage medium is, for example, a read-only memory (Read-Only Memory, ROM for short), a random access memory (Random Access Memory, RAM for short), a magnetic disk or an optical disk, and the like.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It should be noted that, in this document, the term "comprising", "comprising" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article or apparatus comprising a set of elements includes not only those elements, It also includes other elements not expressly listed, or elements inherent in the process, method, article, or device. Without further limitations, an element defined by the phrase "comprising a ..." does not preclude the presence of additional identical elements in the process, method, article, or apparatus comprising that element.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本发明各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus a necessary general-purpose hardware platform, and of course also by hardware, but in many cases the former is better implementation. Based on such an understanding, the essence of the technical solution of the present invention or the part that contributes to the prior art can be embodied in the form of software products, and the computer software products are stored in a storage medium (such as ROM/RAM, disk, CD) contains several instructions to make a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods described in various embodiments of the present invention.
上面结合附图对本发明的实施例进行了描述,但是本发明并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本发明的启示下,在不脱离本发明宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本发明的保护之内。Embodiments of the present invention have been described above in conjunction with the accompanying drawings, but the present invention is not limited to the above-mentioned specific implementations, and the above-mentioned specific implementations are only illustrative, rather than restrictive, and those of ordinary skill in the art will Under the enlightenment of the present invention, without departing from the gist of the present invention and the protection scope of the claims, many forms can also be made, all of which belong to the protection of the present invention.
Claims (20)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201711391655.6A CN108132812A (en) | 2017-12-21 | 2017-12-21 | A kind of method of data synchronization, mobile terminal and server |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201711391655.6A CN108132812A (en) | 2017-12-21 | 2017-12-21 | A kind of method of data synchronization, mobile terminal and server |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN108132812A true CN108132812A (en) | 2018-06-08 |
Family
ID=62392003
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201711391655.6A Pending CN108132812A (en) | 2017-12-21 | 2017-12-21 | A kind of method of data synchronization, mobile terminal and server |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN108132812A (en) |
Cited By (17)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN108920917A (en) * | 2018-06-27 | 2018-11-30 | 努比亚技术有限公司 | Log in end switching method, mobile terminal and computer readable storage medium |
| CN108933838A (en) * | 2018-08-08 | 2018-12-04 | 网易(杭州)网络有限公司 | Application data processing method and device |
| CN109344087A (en) * | 2018-12-03 | 2019-02-15 | 珠海格力电器股份有限公司 | Multi-terminal synchronous debugging method and system of equipment, storage medium and processor |
| CN109815837A (en) * | 2018-12-29 | 2019-05-28 | 维沃移动通信有限公司 | Face information input control method and mobile terminal |
| CN111741466A (en) * | 2020-06-15 | 2020-10-02 | 北京智明星通科技股份有限公司 | Method, device and equipment for retrieving password by linking equipment based on game account |
| CN111885167A (en) * | 2020-07-24 | 2020-11-03 | 北京达佳互联信息技术有限公司 | Data synchronization method and device, electronic equipment and storage medium |
| CN112637195A (en) * | 2020-12-21 | 2021-04-09 | 维沃移动通信(杭州)有限公司 | Method and device for controlling electronic equipment and electronic equipment |
| CN112751928A (en) * | 2020-12-28 | 2021-05-04 | 北京爱笔科技有限公司 | Cross-terminal information interconnection method and device, computer equipment and storage medium |
| CN113067867A (en) * | 2021-03-18 | 2021-07-02 | 中国联合网络通信集团有限公司 | Method for synchronizing applications, synchronization server, computer device and storage medium |
| CN113722036A (en) * | 2021-08-31 | 2021-11-30 | 维沃移动通信有限公司 | Application relay method and device |
| CN114053694A (en) * | 2020-08-07 | 2022-02-18 | 南京翊宁智能科技有限公司 | Application server, application service method thereof and computer readable storage medium |
| CN114172957A (en) * | 2021-12-02 | 2022-03-11 | Oppo广东移动通信有限公司 | Subscription system, subscription method, electronic device, server, storage medium, and product |
| CN114567631A (en) * | 2022-02-10 | 2022-05-31 | 北京乐驾科技有限公司 | Distributed application method and system |
| CN114765548A (en) * | 2020-12-30 | 2022-07-19 | 成都鼎桥通信技术有限公司 | Target service processing method and device |
| CN115037456A (en) * | 2021-11-19 | 2022-09-09 | 荣耀终端有限公司 | Data protection method and system and electronic equipment |
| CN115706814A (en) * | 2021-08-05 | 2023-02-17 | 聚好看科技股份有限公司 | Content service relay returning method and terminal equipment |
| CN116347162A (en) * | 2018-11-02 | 2023-06-27 | 谷歌有限责任公司 | Systems and methods for providing multi-part persistent content |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104065817A (en) * | 2014-06-16 | 2014-09-24 | 惠州Tcl移动通信有限公司 | Mobile terminal identity authentication processing method and system based on iris identification |
| CN105354002A (en) * | 2015-10-29 | 2016-02-24 | 南京秦杜明视信息技术有限公司 | System and method for implementing video seamless switching among multiple screens |
| CN106606865A (en) * | 2015-10-27 | 2017-05-03 | 网易(杭州)网络有限公司 | Game data intercommunicating method, game data intercommunicating system, terminals and servers |
| CN106656978A (en) * | 2016-10-19 | 2017-05-10 | 广东欧珀移动通信有限公司 | Account login method and server |
| CN107205166A (en) * | 2017-05-05 | 2017-09-26 | 中广热点云科技有限公司 | A kind of terminal device exchange method and system based on Cloud Server |
-
2017
- 2017-12-21 CN CN201711391655.6A patent/CN108132812A/en active Pending
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104065817A (en) * | 2014-06-16 | 2014-09-24 | 惠州Tcl移动通信有限公司 | Mobile terminal identity authentication processing method and system based on iris identification |
| CN106606865A (en) * | 2015-10-27 | 2017-05-03 | 网易(杭州)网络有限公司 | Game data intercommunicating method, game data intercommunicating system, terminals and servers |
| CN105354002A (en) * | 2015-10-29 | 2016-02-24 | 南京秦杜明视信息技术有限公司 | System and method for implementing video seamless switching among multiple screens |
| CN106656978A (en) * | 2016-10-19 | 2017-05-10 | 广东欧珀移动通信有限公司 | Account login method and server |
| CN107205166A (en) * | 2017-05-05 | 2017-09-26 | 中广热点云科技有限公司 | A kind of terminal device exchange method and system based on Cloud Server |
Cited By (24)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN108920917A (en) * | 2018-06-27 | 2018-11-30 | 努比亚技术有限公司 | Log in end switching method, mobile terminal and computer readable storage medium |
| CN108933838A (en) * | 2018-08-08 | 2018-12-04 | 网易(杭州)网络有限公司 | Application data processing method and device |
| CN116347162A (en) * | 2018-11-02 | 2023-06-27 | 谷歌有限责任公司 | Systems and methods for providing multi-part persistent content |
| CN116347162B (en) * | 2018-11-02 | 2025-12-16 | 谷歌有限责任公司 | System and method for providing multi-part persistent content |
| CN109344087A (en) * | 2018-12-03 | 2019-02-15 | 珠海格力电器股份有限公司 | Multi-terminal synchronous debugging method and system of equipment, storage medium and processor |
| CN109815837A (en) * | 2018-12-29 | 2019-05-28 | 维沃移动通信有限公司 | Face information input control method and mobile terminal |
| CN109815837B (en) * | 2018-12-29 | 2020-10-09 | 维沃移动通信有限公司 | Face information input control method and mobile terminal |
| CN111741466A (en) * | 2020-06-15 | 2020-10-02 | 北京智明星通科技股份有限公司 | Method, device and equipment for retrieving password by linking equipment based on game account |
| CN111885167A (en) * | 2020-07-24 | 2020-11-03 | 北京达佳互联信息技术有限公司 | Data synchronization method and device, electronic equipment and storage medium |
| CN111885167B (en) * | 2020-07-24 | 2023-10-13 | 北京达佳互联信息技术有限公司 | Data synchronization method, device, electronic equipment and storage medium |
| CN114053694A (en) * | 2020-08-07 | 2022-02-18 | 南京翊宁智能科技有限公司 | Application server, application service method thereof and computer readable storage medium |
| CN112637195A (en) * | 2020-12-21 | 2021-04-09 | 维沃移动通信(杭州)有限公司 | Method and device for controlling electronic equipment and electronic equipment |
| CN112751928B (en) * | 2020-12-28 | 2023-08-01 | 北京爱笔科技有限公司 | Cross-terminal information interconnection method, device, computer equipment and storage medium |
| CN112751928A (en) * | 2020-12-28 | 2021-05-04 | 北京爱笔科技有限公司 | Cross-terminal information interconnection method and device, computer equipment and storage medium |
| CN114765548A (en) * | 2020-12-30 | 2022-07-19 | 成都鼎桥通信技术有限公司 | Target service processing method and device |
| CN114765548B (en) * | 2020-12-30 | 2023-09-05 | 成都鼎桥通信技术有限公司 | Target service processing method and device |
| CN113067867A (en) * | 2021-03-18 | 2021-07-02 | 中国联合网络通信集团有限公司 | Method for synchronizing applications, synchronization server, computer device and storage medium |
| CN115706814A (en) * | 2021-08-05 | 2023-02-17 | 聚好看科技股份有限公司 | Content service relay returning method and terminal equipment |
| CN113722036A (en) * | 2021-08-31 | 2021-11-30 | 维沃移动通信有限公司 | Application relay method and device |
| CN115037456A (en) * | 2021-11-19 | 2022-09-09 | 荣耀终端有限公司 | Data protection method and system and electronic equipment |
| CN115037456B (en) * | 2021-11-19 | 2023-05-09 | 荣耀终端有限公司 | Data protection method, system and electronic device |
| CN114172957B (en) * | 2021-12-02 | 2024-05-14 | Oppo广东移动通信有限公司 | Subscription system, method, electronic device, server, storage medium and product |
| CN114172957A (en) * | 2021-12-02 | 2022-03-11 | Oppo广东移动通信有限公司 | Subscription system, subscription method, electronic device, server, storage medium, and product |
| CN114567631A (en) * | 2022-02-10 | 2022-05-31 | 北京乐驾科技有限公司 | Distributed application method and system |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN108132812A (en) | A kind of method of data synchronization, mobile terminal and server | |
| CN107679514A (en) | A kind of face identification method and electronic equipment | |
| CN107704086A (en) | A kind of mobile terminal operating method and mobile terminal | |
| CN107682359B (en) | Application registration method and mobile terminal | |
| CN111756696A (en) | Application login method, first electronic device and second electronic device | |
| CN110719319A (en) | A resource sharing method, device, terminal device and storage medium | |
| CN107734170A (en) | A kind of notification message processing method, mobile terminal and wearable device | |
| CN107786569A (en) | A kind of identifying code sending method, method of reseptance and relevant device | |
| CN107832601A (en) | A kind of application control method and mobile terminal | |
| CN108156537B (en) | A kind of remote operation method of mobile terminal and mobile terminal | |
| CN107678676A (en) | Screen unlocking method and device | |
| CN110308834A (en) | The setting method and terminal of application icon display mode | |
| CN109981891A (en) | A kind of terminal control method, device and terminal device | |
| CN108984231A (en) | A kind of login method and mobile terminal of application program account | |
| CN107835495A (en) | A kind of message prompt method, device and mobile terminal | |
| CN108011887A (en) | A kind of account management method and equipment | |
| CN107707554A (en) | A kind of login method and mobile terminal of application program account | |
| CN111597540A (en) | Application login method, electronic device and readable storage medium | |
| CN108594952B (en) | Method and terminal device for anti-charging interference | |
| CN106874045A (en) | A kind of startup method of application program, device and mobile terminal | |
| CN109451143B (en) | A calling method and mobile terminal | |
| CN109788144B (en) | A shooting method and terminal device | |
| CN108459796B (en) | A function key response method and mobile terminal | |
| CN108494754B (en) | Account information processing method and mobile terminal | |
| CN111310165A (en) | Account switching or registration method and electronic device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180608 |
|
| RJ01 | Rejection of invention patent application after publication |