[go: up one dir, main page]

CN106656985A - Backup account login method, device and system - Google Patents

Backup account login method, device and system Download PDF

Info

Publication number
CN106656985A
CN106656985A CN201610939656.9A CN201610939656A CN106656985A CN 106656985 A CN106656985 A CN 106656985A CN 201610939656 A CN201610939656 A CN 201610939656A CN 106656985 A CN106656985 A CN 106656985A
Authority
CN
China
Prior art keywords
terminal
target
account
authentication information
backup
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201610939656.9A
Other languages
Chinese (zh)
Other versions
CN106656985B (en
Inventor
周璇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201610939656.9A priority Critical patent/CN106656985B/en
Publication of CN106656985A publication Critical patent/CN106656985A/en
Application granted granted Critical
Publication of CN106656985B publication Critical patent/CN106656985B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0876Network architectures or network communication protocols for network security for authentication of entities based on the identity of the terminal or configuration, e.g. MAC address, hardware or software configuration or device fingerprint
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0815Network architectures or network communication protocols for network security for authentication of entities providing single-sign-on or federations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/20Network architectures or network communication protocols for network security for managing network security; network security policies in general

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Power Engineering (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiments of the invention disclose a backup account login method, device and system. The method comprises the steps of receiving a login request sent by a terminal, wherein the login request carries a target terminal identifier of the terminal, a target backup account to be logged and target authentication information; then acquiring preset authentication information corresponding to the target terminal identifier under the target backup account according to the login request, matching the preset authentication information with the target authentication information, and if the matching succeeds, returning corresponding response information to the terminal, so that the terminal logs in the target backup account according to the response information. The method, the device and the system can improve the security of backup data.

Description

一种备份账号登录方法、装置及系统A backup account login method, device and system

技术领域technical field

本发明涉及云备份技术领域,具体涉及一种备份账号登录方法、装置及系统。The present invention relates to the technical field of cloud backup, in particular to a backup account login method, device and system.

背景技术Background technique

云备份是一种新兴的云计算业务,云备份服务提供商通过虚拟化、分布式处理和宽带网络等技术,将网络中海量、异构的存储设备集合起来协同工作,共同对外提供数据存储备份服务。用户可以通过移动互联网和宽带互联网接入,实现对终端上大量和分散的文件或文件夹的集中存储、安全保管。Cloud backup is an emerging cloud computing business. Cloud backup service providers use technologies such as virtualization, distributed processing, and broadband networks to gather massive and heterogeneous storage devices in the network to work together and provide data storage backup to the outside world. Serve. Users can access through mobile Internet and broadband Internet to realize centralized storage and safe keeping of a large number of scattered files or folders on the terminal.

其中,云备份是将某个终端中的数据备份至云端服务器。现有云备份方案中,多个终端(如同一个用户的多个终端)可以采用同一个云备份账号和密码与云端服务器进行数据备份,即一个备份账号对应多个终端。具体地,多个终端采用同一个云备份账号和密码分别登录云端服务器,并与云端服务器进行数据备份。Among them, the cloud backup is to back up the data in a certain terminal to a cloud server. In the existing cloud backup solution, multiple terminals (such as multiple terminals of a user) can use the same cloud backup account and password to perform data backup with the cloud server, that is, one backup account corresponds to multiple terminals. Specifically, multiple terminals use the same cloud backup account and password to log in to the cloud server respectively, and perform data backup with the cloud server.

然而,由于现有云备份方案中多个终端采用相同的备份账号和密码、与云端服务器进行数据备份,一旦账号和密码发生泄露,那么其他用户即可以通过其终端登录该账号获取该账号下的所有备份数据,因此,备份数据的安全性比较低。However, since multiple terminals in the existing cloud backup solution use the same backup account and password to back up data with the cloud server, once the account and password are leaked, other users can log in to the account through their terminal to obtain the data under the account. All backup data, therefore, the security of backup data is relatively low.

发明内容Contents of the invention

本发明实施例提供一种备份账号登录方法、装置及系统,可以提高备份数据的安全性。Embodiments of the present invention provide a backup account login method, device and system, which can improve the security of backup data.

本发明实施例提供一种备份账号登录方法,包括:An embodiment of the present invention provides a backup account login method, including:

接收终端发送的登录请求,所述登录请求携带所述终端的目标终端标识、需要登录的目标备份账号以及目标鉴权信息;Receiving a login request sent by a terminal, where the login request carries a target terminal identifier of the terminal, a target backup account to be logged in, and target authentication information;

根据所述登录请求获取所述目标备份账号下所述目标终端标识对应的预设鉴权信息;Obtain preset authentication information corresponding to the target terminal identifier under the target backup account according to the login request;

将所述预设鉴权信息与所述目标鉴权信息进行匹配;matching the preset authentication information with the target authentication information;

若匹配成功,则向所述终端返回相应的响应信息,以使得所述终端根据响应信息登录所述目标备份账号。If the matching is successful, corresponding response information is returned to the terminal, so that the terminal logs in the target backup account according to the response information.

相应地,本发明实施例还提供了一种备份账号登录装置,包括:Correspondingly, the embodiment of the present invention also provides a backup account login device, including:

接收单元,用于接收终端发送的登录请求,所述登录请求携带所述终端的目标终端标识、需要登录的目标备份账号以及目标鉴权信息;The receiving unit is configured to receive a login request sent by a terminal, where the login request carries a target terminal identifier of the terminal, a target backup account to be logged in, and target authentication information;

获取单元,用于根据所述登录请求获取所述目标备份账号下所述目标终端标识对应的预设鉴权信息;An obtaining unit, configured to obtain preset authentication information corresponding to the target terminal ID under the target backup account according to the login request;

匹配单元,用于将所述预设鉴权信息与所述目标鉴权信息进行匹配;a matching unit, configured to match the preset authentication information with the target authentication information;

响应信息发送单元,用于在所述匹配单元匹配成功时,向所述终端返回相应的响应信息,以使得所述终端根据响应信息登录所述目标备份账号。A response information sending unit, configured to return corresponding response information to the terminal when the matching unit succeeds in matching, so that the terminal logs in the target backup account according to the response information.

相应地,本发明实施例还提供了一种备份账号登录系统,包括:服务器和终端,所述服务器包括如上所述的备份账号登录装置。Correspondingly, an embodiment of the present invention also provides a backup account login system, including: a server and a terminal, and the server includes the backup account login device as described above.

本发明实施例采用接收终端发送的登录请求,该登录请求携带该终端的目标终端标识、需要登录的目标备份账号以及目标鉴权信息,然后,根据该登录请求获取该目标备份账号下该目标终端标识对应的预设鉴权信息,将该预设鉴权信息与该目标鉴权信息进行匹配,若匹配成功,则向该终端返回相应的响应信息,以使得该终端根据响应信息登录该目标备份账号。该方案可以在终端登录备份账号采用该终端对应的鉴权信息进行身份验证,进而可以实现在不同终端登录相同备份账号时采用不同的鉴权信息进行身份验证;从终端的角度来说,不同终端在登录同一备份账号时需要采用不同的鉴权信息;因此,即使某个备份账号和鉴权信息被泄露出去,那么其他用户也无法采用其他终端登录该备份账号,相对于现有技术而言,可以提高备份数据的安全性。The embodiment of the present invention adopts receiving a login request sent by a terminal, the login request carries the target terminal identifier of the terminal, the target backup account to be logged in, and target authentication information, and then obtains the target terminal under the target backup account according to the login request Identify the corresponding preset authentication information, match the preset authentication information with the target authentication information, and if the match is successful, return the corresponding response information to the terminal, so that the terminal can log in to the target backup according to the response information account. This scheme can use the authentication information corresponding to the terminal for identity verification when the terminal logs in to the backup account, and then can use different authentication information for identity verification when different terminals log in to the same backup account; from the perspective of the terminal, different terminals Different authentication information needs to be used when logging into the same backup account; therefore, even if a certain backup account and authentication information are leaked out, other users cannot use other terminals to log in to the backup account. Compared with the prior art, The security of backup data can be improved.

附图说明Description of drawings

为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings that need to be used in the description of the embodiments will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present invention. For those skilled in the art, other drawings can also be obtained based on these drawings without any creative effort.

图1是本发明实施例提供的备份账号登录系统的场景示意图。FIG. 1 is a schematic diagram of a scenario of a backup account login system provided by an embodiment of the present invention.

图2是本发明实施例提供的备份账号登录方法的流程示意图。Fig. 2 is a schematic flowchart of a backup account login method provided by an embodiment of the present invention.

图3是本发明实施例提供的备份账号登录方法的另一种流程示意图。Fig. 3 is another schematic flow chart of the backup account login method provided by the embodiment of the present invention.

图4是本发明实施例提供的一种登录界面的示意图。Fig. 4 is a schematic diagram of a login interface provided by an embodiment of the present invention.

图5是本发明实施例提供的一种备份界面的示意图。Fig. 5 is a schematic diagram of a backup interface provided by an embodiment of the present invention.

图6是本发明实施例提供的备份账号登录装置的第一种结构示意图。FIG. 6 is a schematic diagram of a first structure of a backup account login device provided by an embodiment of the present invention.

图7是本发明实施例提供的备份账号登录装置的第二种结构示意图。FIG. 7 is a schematic diagram of a second structure of a backup account login device provided by an embodiment of the present invention.

图8是本发明实施例提供的备份账号登录装置的第三种结构示意图。Fig. 8 is a schematic diagram of a third structure of a backup account login device provided by an embodiment of the present invention.

图9是本发明实施例提供的备份账号登录装置的第四种结构示意图。FIG. 9 is a schematic diagram of a fourth structure of a backup account login device provided by an embodiment of the present invention.

图10是本发明实施例提供的服务器的结构示意图。FIG. 10 is a schematic structural diagram of a server provided by an embodiment of the present invention.

具体实施方式detailed description

下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。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 only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative efforts fall within the protection scope of the present invention.

本发明实施例提供一种备份账号登录方法、装置及系统。Embodiments of the present invention provide a backup account login method, device and system.

其中,该备份账号登录系统可以包括:本发明实施例所提供的备份账号登录装置,该备份账号登录装置可以集成在服务器中,如用于备份的云端服务器中,此外,该备份账号登录系统还可以包括:其他设备,如终端,该终端可以手机、平板电脑等;该服务器与终端之间有线或无线网络进行连接。Wherein, the backup account login system may include: the backup account login device provided by the embodiment of the present invention, the backup account login device may be integrated in a server, such as a cloud server for backup, in addition, the backup account login system also It may include: other devices, such as a terminal, the terminal may be a mobile phone, a tablet computer, etc.; the server and the terminal are connected through a wired or wireless network.

例如,以该备份账号装置具体集成在服务器中为例,参见图1,该服务器可以用于接收终端发送的登录请求,该登录请求携带该终端的目标终端标识、需要登录的目标备份账号以及目标鉴权信息,然后,根据该登录请求获取该目标备份账号下该目标终端标识对应的预设鉴权信息,将该预设鉴权信息与该目标鉴权信息进行匹配,若匹配成功,则向该终端返回相应的响应信息,以使得该终端根据响应信息登录该目标备份账号,等等。此外,在鉴权信息匹配失败时,服务器还用于向已登录所述目标备份账号的登录终端发送登录授权请求,接收所述登录终端根据所述登录授权请求返回的授权登录信息,根据所述授权登录信息向所述终端发送相应的响应信息,以使得所述终端根据响应信息登录所述目标备份账号。For example, taking the backup account device integrated in a server as an example, referring to Figure 1, the server can be used to receive a login request sent by a terminal, and the login request carries the target terminal identifier of the terminal, the target backup account to be logged in, and the target Then, obtain the preset authentication information corresponding to the target terminal ID under the target backup account according to the login request, match the preset authentication information with the target authentication information, and if the matching is successful, send the The terminal returns corresponding response information, so that the terminal logs in the target backup account according to the response information, and so on. In addition, when the authentication information fails to match, the server is further configured to send a login authorization request to the login terminal that has logged in the target backup account, receive the authorized login information returned by the login terminal according to the login authorization request, and according to the The authorization login information sends corresponding response information to the terminal, so that the terminal logs in the target backup account according to the response information.

另外,如图1所示,该备份账号系统还包括终端,如终端可以手机、平板电脑等;该终端用于向服务器发送登录请求,该登录请求携带所述终端的目标终端标识、需要登录的目标备份账号以及目标鉴权信息。该终端登录目标备份账号之后还可以向服务器发送数据备份请求或者数据同步请求,以进行数据备份或数据同步。并且,在在鉴权信息匹配失败时,还接收服务器返回的登录授权请求,然后,根据该登录授权请求向服务器发送授权登录信息,等等。In addition, as shown in Figure 1, the backup account system also includes a terminal, such as a mobile phone or a tablet computer; Target backup account and target authentication information. After logging into the target backup account, the terminal may also send a data backup request or a data synchronization request to the server for data backup or data synchronization. Moreover, when the authentication information fails to match, it also receives a login authorization request returned by the server, and then sends authorized login information to the server according to the login authorization request, and so on.

以下将分别进行详细说明。The details will be described respectively below.

实施例一、Embodiment one,

本实施例将从一种备份账号登录装置的角度进行描述,该备份账号登录装置具体可以集成服务器中。This embodiment will be described from the perspective of a device for registering a backup account, and the device for registering a backup account may specifically be integrated into a server.

一种备份账号登录方法,包括:接收终端发送的登录请求,该登录请求携带该终端的目标终端标识、需要登录的目标备份账号以及目标鉴权信息,然后,根据该登录请求获取该目标备份账号下该目标终端标识对应的预设鉴权信息,将该预设鉴权信息与该目标鉴权信息进行匹配,若匹配成功,则向该终端返回相应的响应信息,以使得该终端根据响应信息登录该目标备份账号。A backup account login method, comprising: receiving a login request sent by a terminal, the login request carrying a target terminal identifier of the terminal, a target backup account to be logged in, and target authentication information, and then obtaining the target backup account according to the login request Download the preset authentication information corresponding to the target terminal identifier, match the preset authentication information with the target authentication information, and if the match is successful, return the corresponding response information to the terminal, so that the terminal according to the response information Log in to the target backup account.

如图2所示,一种备份账号登录方法,具体流程如下:As shown in Figure 2, a backup account login method, the specific process is as follows:

101、接收终端发送的登录请求,该登录请求携带该终端的目标终端标识、需要登录的目标备份账号以及目标鉴权信息。101. Receive a login request sent by a terminal, where the login request carries a target terminal identifier of the terminal, a target backup account to be logged in, and target authentication information.

其中,终端标识(ID)可以为终端的唯一标识,具体地,可以为终端在通讯网络终端的标识。终端标识的可以有多种,比如,该终端标识可以为IMEI(国际移动设备标识)、MAC地址(物理地址)、或者终端使用的号码(如手机号码)等等。其中,终端标识可以根据实际场景或者需求选定。Wherein, the terminal identifier (ID) may be a unique identifier of the terminal, specifically, may be an identifier of the terminal on a communication network terminal. There may be many kinds of terminal identifiers. For example, the terminal identifier may be IMEI (International Mobile Equipment Identity), MAC address (physical address), or a number used by the terminal (such as a mobile phone number) and the like. Wherein, the terminal identifier may be selected according to actual scenarios or requirements.

该鉴权信息可以有多种,比如,字符密码、指纹、虹膜等等,具体地,鉴权信息可以根据实际场景或者需求选定。The authentication information can be of various types, such as character passwords, fingerprints, irises, etc. Specifically, the authentication information can be selected according to actual scenarios or requirements.

该目标备份账号和鉴权信息可以由用户在登录时输入,也可以由终端从其他设备或者本地存储中获取。The target backup account and authentication information may be input by the user when logging in, or may be obtained by the terminal from other devices or local storage.

102、根据该登录请求获取该目标备份账号下该目标终端标识对应的预设鉴权信息。102. Obtain preset authentication information corresponding to the target terminal identifier under the target backup account according to the login request.

本实施例中,同一备份账号下不同终端可以对应不同的预设鉴权信息,因此,在接收到登录请求之后需要获取该目标账号下当前终端对应的预设鉴权信息。当然,在其他实施方式中,同一备份账号下多个终端中某几个终端对应的预设鉴权信息可以相同。In this embodiment, different terminals under the same backup account may correspond to different preset authentication information. Therefore, after receiving the login request, it is necessary to obtain the preset authentication information corresponding to the current terminal under the target account. Of course, in other implementation manners, the preset authentication information corresponding to certain terminals among multiple terminals under the same backup account may be the same.

具体地,步骤“根据该登录请求获取该目标备份账号下该目标终端标识对应的预设鉴权信息”可以包括:Specifically, the step of "obtaining the preset authentication information corresponding to the target terminal ID under the target backup account according to the login request" may include:

根据该登录请求获取该目标备份账号对应的预设终端标识,得到标识集合;Acquiring a preset terminal identifier corresponding to the target backup account according to the login request to obtain an identifier set;

确定该标识集合中是否存在与该预设终端标识匹配的预设终端标识;Determine whether there is a preset terminal identifier matching the preset terminal identifier in the identifier set;

若存在,则获取匹配预设终端标识对应的预设鉴权信息,得到目标备份账号下该目标终端标识对应的预设鉴权信息。If it exists, the preset authentication information corresponding to the matching preset terminal identifier is obtained, and the preset authentication information corresponding to the target terminal identifier under the target backup account is obtained.

本实施例中,步骤“根据该登录请求获取该目标备份账号对应的预设终端标识”可以包括:根据该目标备份账号和该账号标识映射关系集合,获取目标备份账号对应的预设终端标识。其中,该账号标识映射关系集合包括:备份账号与预设终端标识之间的映射关系(或者对应关系)。由于某个备份账号可以对应多个终端标识,因此,本实施例可以获取多个与目标备份账号对应的预设终端标识,从而得到标识集合。In this embodiment, the step of "obtaining the preset terminal identifier corresponding to the target backup account according to the login request" may include: obtaining the preset terminal identifier corresponding to the target backup account according to the set of mapping relationships between the target backup account and the account identifier. Wherein, the account identifier mapping relationship set includes: a mapping relationship (or corresponding relationship) between a backup account and a preset terminal identifier. Since a certain backup account may correspond to multiple terminal identities, this embodiment can acquire multiple preset terminal identities corresponding to the target backup account, so as to obtain a set of identities.

本实施例中,可以步骤“获取匹配预设终端标识对应的预设鉴权信息”可以包括:根据匹配预设终端标识和标识鉴权映射关系集合获取匹配预设终端标识对应的预设鉴权信息,其中,该标识鉴权映射关系集合包括预设终端标识与预设鉴权信息之间的映射关系(或者对应关系)。In this embodiment, the step of "obtaining the preset authentication information corresponding to the matching preset terminal ID" may include: obtaining the preset authentication corresponding to the matching preset terminal ID according to the matching preset terminal ID and ID authentication mapping relationship set information, wherein the identity authentication mapping relationship set includes a mapping relationship (or corresponding relationship) between preset terminal identifiers and preset authentication information.

本实施例中,账号标识映射关系集合和标识鉴权映射关系集合可以由用户在服务器上设置,如在服务器中输入账号标识映射关系集合和标识鉴权映射关系集合,也可以由系统如服务器系统自动设置;也即在步骤101之前,本实施例方法还可包括:In this embodiment, the account ID mapping relationship set and the ID authentication mapping relationship set can be set by the user on the server, such as inputting the account ID mapping relationship set and the ID authentication mapping relationship set in the server, or by a system such as a server system Automatic setting; That is, before step 101, the method of this embodiment may also include:

接收鉴权设置请求,该鉴权设置请求携带鉴权信息、需要设置鉴权的终端标识和备份账号;Receiving an authentication setting request, the authentication setting request carrying authentication information, terminal identifiers that need to be set up for authentication, and a backup account;

根据该鉴权设置请求设置备份账号与终端标识之间的映射关系、以及设置终端标识与鉴权信息之间的映射关系,得到账号标识映射关系集合和标识鉴权映射关系集合。According to the authentication setting request, the mapping relationship between the backup account and the terminal ID, and the mapping relationship between the terminal ID and the authentication information are set, and an account ID mapping relationship set and an ID authentication mapping relationship set are obtained.

该鉴权设置请求可以由需要设置鉴权的终端发送。The authentication setting request may be sent by a terminal that needs to set authentication.

本实施例中该标识鉴权映射关系集合和账号标识映射关系集合的表现形式可以为表格形式,称为映射关系表;另外,为了节省资源,该标识鉴权映射关系集合和账号标识映射关系集合可以集成在一个关系集合内,如建立一张总关系表,包括标识与鉴权信息之间的映射关系、标识与账号之间的映射关系。In this embodiment, the expression form of the identification and authentication mapping relationship set and the account identification mapping relationship set can be in the form of a table, which is called a mapping relationship table; in addition, in order to save resources, the identification and authentication mapping relationship set and the account identification mapping relationship set It can be integrated in a relationship set, such as establishing a general relationship table, including the mapping relationship between identification and authentication information, and the mapping relationship between identification and account number.

103、将该预设鉴权信息与该目标鉴权信息进行匹配。103. Match the preset authentication information with the target authentication information.

比如,可以将预设鉴权信息与目标鉴权信息进行对比等,具体匹配方式可以根据实际需求设定,如当鉴权信息为指纹信息,可以进行指纹信息之间的特征对比。For example, the preset authentication information can be compared with the target authentication information, and the specific matching method can be set according to actual needs. For example, when the authentication information is fingerprint information, feature comparison between fingerprint information can be performed.

104、当匹配成功时向该终端返回相应的响应信息,以使得该终端根据响应信息登录该目标备份账号。104. Return corresponding response information to the terminal when the matching is successful, so that the terminal logs in the target backup account according to the response information.

其中,响应信息可以为指示允许登录的指示信息,其可以在不同通讯协议中的表现形式不相同。Wherein, the response information may be indication information indicating that the login is permitted, and its expression forms may be different in different communication protocols.

本实施例中在匹配失败时可以向终端返回鉴权信息匹配失败的信息,以便用户修改登录信息。In this embodiment, when the matching fails, the authentication information matching failure information may be returned to the terminal, so that the user can modify the login information.

可选地,考虑到在同一个用户的多个终端在登录备份账号时,可能会忘记账号的鉴权信息或者记错鉴权信息,导致终端无法登录备份账号,进而导致不及时进行备份数据;因此,为了提高数据备份的及时性以及登录方式的灵活性,本实施例方法在鉴权信息匹配失败时可以通过已登录终端的授权来使当前终端可以登录备份账号。即本实施例方法还包括:Optionally, it is considered that when multiple terminals of the same user log in to the backup account, they may forget the authentication information of the account or misremember the authentication information, resulting in the terminal being unable to log in to the backup account, which in turn leads to not performing backup data in time; Therefore, in order to improve the timeliness of data backup and the flexibility of the login method, the method of this embodiment can enable the current terminal to log in the backup account through the authorization of the logged-in terminal when the authentication information fails to match. That is, the present embodiment method also includes:

在预设鉴权信息与该目标鉴权信息匹配失败时,向已登录该目标备份账号的登录终端发送登录授权请求;When the preset authentication information fails to match the target authentication information, send a login authorization request to the login terminal that has logged into the target backup account;

接收该登录终端根据该登录授权请求返回的授权登录信息;receiving the authorized login information returned by the login terminal according to the login authorization request;

根据该授权登录信息向该终端发送相应的响应信息,以使得该终端根据响应信息登录该目标备份账号。Send corresponding response information to the terminal according to the authorized login information, so that the terminal logs in the target backup account according to the response information.

比如,在鉴权信息匹配失败时,可以检测当前是否存在已登录该目标备份账号的登录终端,若是,则向该登录终端发送登录授权请求。比如,可以查看目标备份账号的登录记录可以检测是否存在已登录该目标备份账号的登录终端。For example, when the authentication information fails to match, it may be detected whether there is currently a login terminal that has logged into the target backup account, and if so, a login authorization request is sent to the login terminal. For example, the login record of the target backup account can be checked to detect whether there is a login terminal that has logged into the target backup account.

可选地,为保障授权登录的安全性,本实施例可以限制授权登录的时间,具体地,,在接收到该授权登录信息之后,根据授权登录信息发送响应信息之前,本实施例备份账号登录方法还可以包括:Optionally, in order to ensure the security of authorized login, this embodiment can limit the authorized login time. Specifically, after receiving the authorized login information and before sending the response information according to the authorized login information, this embodiment backup account login Methods can also include:

获取授权登录信息的接收时间;Obtain the time of receipt of the authorized login information;

判断该接收时间是否满足预设时间条件;Judging whether the receiving time satisfies a preset time condition;

若是,则执行根据该授权登录信息向该终端发送相应的响应信息的步骤。If yes, execute the step of sending corresponding response information to the terminal according to the authorized login information.

其中,预设时间条件有多种,可以根据实际需求设定,比如,预设时间条件可以包括:接收时间与登录授权请求的发送时间之间的时间差小于预设阈值;比如,发送登录授权请求的时间为9:01,如果在9:02接收到授权登录信息,此时二者之间的时间差为1分钟,如预设阈值为2分钟,此时,可以判定满足预设时间条件。若在9:04接收到授权登录信息,则判定不满足预设时间条件。Among them, there are many preset time conditions, which can be set according to actual needs. For example, the preset time conditions can include: the time difference between the receiving time and the sending time of the login authorization request is less than a preset threshold; for example, sending the login authorization request The time is 9:01. If the authorized login information is received at 9:02, the time difference between the two is 1 minute. If the preset threshold is 2 minutes, it can be determined that the preset time condition is met. If the authorized login information is received at 9:04, it is determined that the preset time condition is not met.

本实施例中,在判断接收时间不满预设时间条件时,则发送拒绝登录的指示信息给终端。In this embodiment, when it is judged that the receiving time is less than the preset time condition, the indication information of refusal to log in is sent to the terminal.

由上可知,本发明实施例采用接收终端发送的登录请求,该登录请求携带该终端的目标终端标识、需要登录的目标备份账号以及目标鉴权信息,然后,根据该登录请求获取该目标备份账号下该目标终端标识对应的预设鉴权信息,将该预设鉴权信息与该目标鉴权信息进行匹配,若匹配成功,则向该终端返回相应的响应信息,以使得该终端根据响应信息登录该目标备份账号。该方案可以在终端登录备份账号采用该终端对应的鉴权信息进行身份验证,进而可以实现在不同终端登录相同备份账号时采用不同的鉴权信息进行身份验证;从终端的角度来说,不同终端在登录同一备份账号时需要采用不同的鉴权信息;因此,即使某个备份账号和鉴权信息被泄露出去,那么其他用户也无法采用其他终端登录该备份账号,相对于现有技术而言,可以提高备份数据的安全性。As can be seen from the above, the embodiment of the present invention adopts the login request sent by the receiving terminal, the login request carries the target terminal identifier of the terminal, the target backup account to be logged in, and the target authentication information, and then obtains the target backup account according to the login request Download the preset authentication information corresponding to the target terminal identifier, match the preset authentication information with the target authentication information, and if the match is successful, return the corresponding response information to the terminal, so that the terminal according to the response information Log in to the target backup account. This scheme can use the authentication information corresponding to the terminal for identity verification when the terminal logs in to the backup account, and then can use different authentication information for identity verification when different terminals log in to the same backup account; from the perspective of the terminal, different terminals Different authentication information needs to be used when logging into the same backup account; therefore, even if a certain backup account and authentication information are leaked out, other users cannot use other terminals to log in to the backup account. Compared with the prior art, The security of backup data can be improved.

此外,本发明实施例还可以在鉴权信息匹配失败时可以通过已登录终端实现账号登录,可以提高数据备份的及时性以及账号登录的灵活性。In addition, the embodiment of the present invention can also implement account login through the logged-in terminal when the authentication information fails to match, which can improve the timeliness of data backup and the flexibility of account login.

实施例二、Embodiment two,

本实施例将在实施例一提供的方法的基础上作进一步描述。This embodiment will be further described on the basis of the method provided in Embodiment 1.

本实施例以实施例一的备份账号登录装置集成在服务器中、且鉴权信息为指纹信息为例来作详细说明。该服务器可以为用于备份的云端服务器。This embodiment is described in detail by taking the backup account login device of the first embodiment integrated in the server and the authentication information as fingerprint information as an example. The server can be a cloud server for backup.

参考图3,一种备份账号登录方法,具体流程如下:Referring to Figure 3, a backup account login method, the specific process is as follows:

201、终端向服务器发送登录请求,登录请求携带该终端的目标终端标识、需要登录的目标备份账号以及目标指纹信息201. The terminal sends a login request to the server, and the login request carries the target terminal identifier of the terminal, the target backup account to be logged in, and target fingerprint information

其中,终端标识(ID)可以为终端的唯一标识,比如可以为IMEI(国际移动设备标识)、MAC地址(物理地址)、或者终端使用的号码(如手机号码)等等。Wherein, the terminal identifier (ID) may be a unique identifier of the terminal, such as IMEI (International Mobile Equipment Identity), MAC address (physical address), or a number used by the terminal (such as a mobile phone number) and the like.

其中,目标备份账号和目标指纹信息可以由用户在登录时输入,可以由终端从其他设备或者本地存储中获取。比如,参考图4,在该账号登录界面中用户输入在账号输入框中输入需要登录的目标备份账号,在指纹输入控件中输入指纹信息,在输入完成之后,可以点击登录按钮即可向服务器发送登录请求。Wherein, the target backup account and target fingerprint information may be input by the user when logging in, and may be acquired by the terminal from other devices or local storage. For example, refer to Figure 4. In the account login interface, the user enters the target backup account to be logged in in the account input box, and enters the fingerprint information in the fingerprint input control. After the input is completed, the user can click the login button to send to the server. Login request.

202、服务器根据登录请求获取目标备份账号对应的预设终端标识,得到标识集合。202. The server acquires a preset terminal identifier corresponding to the target backup account according to the login request, and obtains an identifier set.

比如,服务器可以根据该目标备份账号和该账号标识映射关系集合,获取目标备份账号对应的预设终端标识,其中,该账号标识映射关系集合包括:备份账号与预设终端标识之间的映射关系(或者对应关系)。For example, the server may obtain the preset terminal identifier corresponding to the target backup account according to the target backup account and the account identifier mapping relationship set, wherein the account identifier mapping relationship set includes: the mapping relationship between the backup account and the preset terminal identifier (or corresponding relationship).

203、服务器确定该标识集合中是否存在与该预设终端标识匹配的预设终端标识,若存在,执行步骤204,若不存在,执行步骤208。203. The server determines whether there is a preset terminal identifier matching the preset terminal identifier in the identifier set, and if it exists, execute step 204, and if not, execute step 208.

204、服务器获取匹配预设终端标识对应的预设指纹信息。204. The server acquires preset fingerprint information corresponding to a matching preset terminal identifier.

比如,服务器可以根据匹配预设终端标识和标识指纹映射关系集合获取匹配预设终端标识对应的预设指纹信息。For example, the server may acquire the preset fingerprint information corresponding to the matching preset terminal identifier according to the set of mapping relationship between the matching preset terminal identifier and the identifier fingerprint.

本实施例中,账号标识映射关系集合和标识指纹映射关系集合可以由用户在服务器上设置,也可以由系统如服务器系统自动设置;即在步骤201之前,服务器还可以接收指纹设置请求,该指纹设置请求携带指纹信息、需要设置指纹的终端标识和备份账号;根据该指纹设置请求设置备份账号与终端标识之间的映射关系、以及设置终端标识与指纹信息之间的映射关系,得到账号标识映射关系集合和标识指纹映射关系集合。In this embodiment, the account ID mapping relationship set and the identification fingerprint mapping relationship set can be set by the user on the server, or can be automatically set by a system such as a server system; that is, before step 201, the server can also receive a fingerprint setting request, the fingerprint The setting request carries fingerprint information, and the terminal ID and backup account of the fingerprint need to be set; according to the fingerprint setting request, set the mapping relationship between the backup account and the terminal ID, and set the mapping relationship between the terminal ID and the fingerprint information, and obtain the account ID mapping Relationship collections and identity fingerprints map relationship collections.

205、服务器将目标指纹信息与该预设指纹信息进行匹配,若匹配成功,则执行步骤206。205. The server matches the target fingerprint information with the preset fingerprint information, and if the matching is successful, execute step 206.

206、服务器向终端返回用于指示允许登录的第一指示信息。206. The server returns to the terminal first indication information for indicating that login is allowed.

207、终端根据该第一指示信息登录该目标备份账号。207. The terminal logs in the target backup account according to the first indication information.

终端登录该目标备份账号后进入备份界面,然后,进行相应的数据备份。参考图5,终端登录该目标备份账号后进入备份主界面,然后,通过点击各备份图标进行相应数据备份,如进行短信数据备份等。After logging into the target backup account, the terminal enters the backup interface, and then performs corresponding data backup. Referring to FIG. 5 , the terminal enters the backup main interface after logging in the target backup account, and then performs corresponding data backup by clicking each backup icon, such as SMS data backup.

208、服务器向终端返回登录失败的提示信息。208. The server returns a prompt message of login failure to the terminal.

可选地,在指纹信息匹配失败时,服务器还可以确定是否存在已登录目标备份账号的登录终端,若存在,则向该登录终端发送登录授权请求,接收该登录终端根据该登录授权请求返回的授权登录信息,并获取授权登录信息的接收时间;判断该接收时间与登录授权请求之间的时间差是否小于预设阈值,若是,根据该授权登录信息向该终端发送指示允许登录的第一指示信息,以使得该终端根据第一指示信息登录该目标备份账号;若否,则服务器向终端返回登录失败的提示信息。Optionally, when the fingerprint information fails to match, the server may also determine whether there is a login terminal that has logged in to the target backup account, and if so, send a login authorization request to the login terminal, and receive the login terminal's response to the login authorization request. Authorize the login information, and obtain the receiving time of the authorized login information; judge whether the time difference between the receiving time and the login authorization request is less than the preset threshold, if so, send the terminal according to the authorized login information to indicate that the terminal is allowed to log in. First indication information , so that the terminal logs in the target backup account according to the first indication information; if not, the server returns a prompt message of login failure to the terminal.

由上可知,本发明实施例终端向服务器发送登录请求,该登录请求携带该终端的目标终端标识、需要登录的目标备份账号以及目标指纹信息,然后,由服务器根据该登录请求获取该目标备份账号下该目标终端标识对应的预设指纹信息,将该预设指纹信息与该目标指纹信息进行匹配,若匹配成功,则向该终端返回相应的响应信息,以使得该终端根据响应信息登录该目标备份账号。该方案可以在终端登录备份账号采用该终端对应的指纹信息进行身份验证,进而可以实现在不同终端登录相同备份账号时采用不同的指纹信息进行身份验证;从终端的角度来说,不同终端在登录同一备份账号时需要采用不同的指纹信息;因此,即使某个备份账号和指纹信息被泄露出去,那么其他用户也无法采用其他终端登录该备份账号,相对于现有技术而言,可以提高备份数据的安全性。It can be seen from the above that the terminal in the embodiment of the present invention sends a login request to the server, and the login request carries the target terminal ID of the terminal, the target backup account to be logged in, and the target fingerprint information, and then the server obtains the target backup account according to the login request Download the preset fingerprint information corresponding to the target terminal identification, match the preset fingerprint information with the target fingerprint information, and if the match is successful, return the corresponding response information to the terminal, so that the terminal can log in to the target according to the response information Backup account. This solution can use the fingerprint information corresponding to the terminal for authentication when the terminal logs in to the backup account, and then can use different fingerprint information for authentication when different terminals log in to the same backup account; from the perspective of the terminal, different terminals are logged in Different fingerprint information needs to be used for the same backup account; therefore, even if a backup account and fingerprint information are leaked out, other users cannot use other terminals to log in to the backup account. Compared with the existing technology, the backup data can be improved. security.

此外,本发明实施例还可以在指纹信息匹配失败时可以通过已登录终端实现账号登录,可以提高数据备份的及时性以及账号登录的灵活性。In addition, the embodiment of the present invention can also realize account login through the logged-in terminal when the fingerprint information matching fails, which can improve the timeliness of data backup and the flexibility of account login.

实施例三、Embodiment three,

为了更好地实施以上方法,本发明实施例还提供一种备份账号登录装置30,如图6所示,该备份账号登录装置30包括接收单元301、获取单元302、匹配单元303和响应信息发送单元304,如下:In order to better implement the above method, the embodiment of the present invention also provides a backup account login device 30. As shown in FIG. Unit 304, as follows:

接收单元301,用于接收终端发送的登录请求,该登录请求携带该终端的目标终端标识、需要登录的目标备份账号以及目标鉴权信息;The receiving unit 301 is configured to receive a login request sent by a terminal, the login request carrying a target terminal identifier of the terminal, a target backup account to be logged in, and target authentication information;

获取单元302,用于根据该登录请求获取该目标备份账号下该目标终端标识对应的预设鉴权信息;An obtaining unit 302, configured to obtain preset authentication information corresponding to the target terminal ID under the target backup account according to the login request;

匹配单元303,用于将该预设鉴权信息与该目标鉴权信息进行匹配;A matching unit 303, configured to match the preset authentication information with the target authentication information;

响应信息发送单元304,用于在该匹配单元303匹配成功时,向该终端返回相应的响应信息,以使得该终端根据响应信息登录该目标备份账号。The response information sending unit 304 is configured to return corresponding response information to the terminal when the matching by the matching unit 303 is successful, so that the terminal logs in the target backup account according to the response information.

具体地,参考图7,该获取单元302可以包括:Specifically, referring to FIG. 7, the acquiring unit 302 may include:

标识获取子单元3021,用于根据该登录请求获取该目标备份账号对应的预设终端标识,得到标识集合;The identifier acquisition subunit 3021 is configured to acquire a preset terminal identifier corresponding to the target backup account according to the login request, and obtain an identifier set;

确定子单元3022,用于确定该标识集合中是否存在与该预设终端标识匹配的预设终端标识;A determining subunit 3022, configured to determine whether there is a preset terminal identifier matching the preset terminal identifier in the identifier set;

信息获取子单元3023,用于在确定子单元确定存在与该预设终端标识匹配的预设终端标识时,获取匹配预设终端标识对应的预设鉴权信息,得到目标备份账号下该目标终端标识对应的预设鉴权信息。The information acquisition subunit 3023 is configured to obtain the preset authentication information corresponding to the matching preset terminal identifier when the determining subunit determines that there is a preset terminal identifier matching the preset terminal identifier, and obtain the target terminal under the target backup account Identifies the corresponding preset authentication information.

比如,在该备份账号登录装置还包括:设置请求接收单元和关系设置单元;For example, the backup account login device also includes: a setting request receiving unit and a relationship setting unit;

设置请求接收单元,用于接收鉴权设置请求,该鉴权设置请求携带鉴权信息、需要设置鉴权的终端标识和备份账号;A setting request receiving unit, configured to receive an authentication setting request, the authentication setting request carrying authentication information, a terminal identifier and a backup account number for which authentication needs to be set;

关系设置单元,用于根据该鉴权设置请求设置备份账号与终端标识之间的映射关系、以及设置终端标识与鉴权信息之间的映射关系,得到账号标识映射关系集合和标识鉴权映射关系集合。The relationship setting unit is used to set the mapping relationship between the backup account and the terminal identification according to the authentication setting request, and set the mapping relationship between the terminal identification and the authentication information, and obtain the account identification mapping relationship set and the identification authentication mapping relationship gather.

此时,该标识获取子单元3021,具体用于根据该目标备份账号和该账号标识映射关系集合,获取目标备份账号对应的预设终端标识;At this time, the identifier acquiring subunit 3021 is specifically configured to acquire a preset terminal identifier corresponding to the target backup account according to the set of mapping relationships between the target backup account and the account identifier;

该信息获取子单元3023,具体用于根据该匹配预设终端标识和该标识鉴权映射关系集合,获取匹配预设终端标识对应的预设鉴权信息。The information acquiring subunit 3023 is specifically configured to acquire preset authentication information corresponding to the matching preset terminal ID according to the matching preset terminal ID and the ID authentication mapping relationship set.

可选地,参考图8,本实施例备份账号登录装置还可以包括:Optionally, referring to FIG. 8, the backup account login device in this embodiment may further include:

请求发送单元305,用于在预设鉴权信息与该目标鉴权信息匹配失败时,向已登录该目标备份账号的登录终端发送登录授权请求;A request sending unit 305, configured to send a login authorization request to a login terminal that has logged into the target backup account when the preset authentication information fails to match the target authentication information;

授权信息接收单元306,用于接收该登录终端根据该登录授权请求返回的授权登录信息;An authorization information receiving unit 306, configured to receive the authorized login information returned by the login terminal according to the login authorization request;

该响应信息发送单元304,还用于根据该授权登录信息向该终端发送相应的响应信息,以使得该终端根据响应信息登录该目标备份账号。The response information sending unit 304 is further configured to send corresponding response information to the terminal according to the authorized login information, so that the terminal logs in the target backup account according to the response information.

可选地,参考图9,本实施例备份账号登录装置还可以包括:判断单元307;Optionally, referring to FIG. 9 , the backup account login device in this embodiment may further include: a judging unit 307;

该判断单元307,用于在授权信息接收单元306接收到授权登录信息之后,响应信息发送单元发送响应信息之前,获取授权登录信息的接收时间,判断该接收时间是否满足预设时间条件;The judging unit 307 is used to obtain the receiving time of the authorized login information after the authorized information receiving unit 306 receives the authorized login information and before the response information sending unit sends the response information, and judge whether the receiving time satisfies the preset time condition;

该响应信息发送单元304,具体用于在判断单元判断接收时间满足预设时间条件时,根据该授权登录信息向该终端发送相应的响应信息。The response information sending unit 304 is specifically configured to send corresponding response information to the terminal according to the authorized login information when the judging unit judges that the receiving time meets the preset time condition.

具体实施时,以上各个单元可以作为独立的实体来实现,也可以进行任意组合,作为同一或若干个实体来实现,以上各个单元的具体实施可参见前面的方法实施例,在此不再赘述。During specific implementation, each of the above units may be implemented as an independent entity, or may be combined arbitrarily as the same or several entities. For the specific implementation of each of the above units, please refer to the previous method embodiments, which will not be repeated here.

该备份账号登录装置具体可以集成服务器中,比如云端服务器等设备中。Specifically, the backup account login device can be integrated into a server, such as a cloud server and other devices.

另外,本发明实施例还提供了一种备份账号登录系统,可参考图1所示的备份账号登录系统,包括终端和服务器;该服务器包括如上实施例提供的任一备份账号登录装置,该终端可以为手机、平板电脑等。In addition, the embodiment of the present invention also provides a backup account login system, which can refer to the backup account login system shown in Figure 1, including a terminal and a server; the server includes any backup account login device provided in the above embodiment, and the terminal Can be mobile phones, tablets, etc.

由上可知,本发明实施例采用接收单元301接收终端发送的登录请求,该登录请求携带该终端的目标终端标识、需要登录的目标备份账号以及目标鉴权信息,然后,由获取单元302根据该登录请求获取该目标备份账号下该目标终端标识对应的预设鉴权信息,由匹配单元303将该预设鉴权信息与该目标鉴权信息进行匹配,若匹配成功,则由响应信息发送单元304向该终端返回相应的响应信息,以使得该终端根据响应信息登录该目标备份账号。该方案可以在终端登录备份账号采用该终端对应的鉴权信息进行身份验证,进而可以实现在不同终端登录相同备份账号时采用不同的鉴权信息进行身份验证;从终端的角度来说,不同终端在登录同一备份账号时需要采用不同的鉴权信息;因此,即使某个备份账号和鉴权信息被泄露出去,那么其他用户也无法采用其他终端登录该备份账号,相对于现有技术而言,可以提高备份数据的安全性。As can be seen from the above, the embodiment of the present invention adopts the receiving unit 301 to receive the login request sent by the terminal, the login request carries the target terminal ID of the terminal, the target backup account to be logged in, and target authentication information, and then the obtaining unit 302 according to the The login request obtains the preset authentication information corresponding to the target terminal ID under the target backup account, and the matching unit 303 matches the preset authentication information with the target authentication information. If the matching is successful, the response information sending unit 304 Return corresponding response information to the terminal, so that the terminal logs in the target backup account according to the response information. This scheme can use the authentication information corresponding to the terminal for identity verification when the terminal logs in to the backup account, and then can use different authentication information for identity verification when different terminals log in to the same backup account; from the perspective of the terminal, different terminals Different authentication information needs to be used when logging into the same backup account; therefore, even if a backup account and authentication information are leaked out, other users cannot use other terminals to log in to the backup account. Compared with the prior art, The security of backup data can be improved.

此外,本发明实施例还可以在鉴权信息匹配失败时可以通过已登录终端实现账号登录,可以提高数据备份的及时性以及账号登录的灵活性。In addition, the embodiment of the present invention can also implement account login through the logged-in terminal when the authentication information fails to match, which can improve the timeliness of data backup and the flexibility of account login.

实施例四、Embodiment four,

本实施例提供了一种服务器,其中可以集成实施例三所述的备份账号登录装置,参考图10,其示出了本发明实施例所涉及的服务器的结构示意图,具体来讲:This embodiment provides a server, in which the backup account login device described in Embodiment 3 can be integrated. Referring to FIG. 10 , it shows a schematic structural diagram of the server involved in the embodiment of the present invention. Specifically:

该服务器400可以包括一个或者一个以上处理核心的处理器401、一个或一个以上计算机可读存储介质的存储器402、射频(Radio Frequency,RF)电路403、电源404、输入单元405、以及显示单元406等部件。本领域技术人员可以理解,图10中示出的服务器结构并不构成对服务器的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。其中:The server 400 may include a processor 401 of one or more processing cores, a memory 402 of one or more computer-readable storage media, a radio frequency (Radio Frequency, RF) circuit 403, a power supply 404, an input unit 405, and a display unit 406 and other components. Those skilled in the art can understand that the server structure shown in FIG. 10 is not limited to the server, and may include more or less components than shown in the figure, or combine some components, or arrange different components. in:

处理器401是该服务器的控制中心,利用各种接口和线路连接整个服务器的各个部分,通过运行或执行存储在存储器402内的软件程序和/或模块,以及调用存储在存储器402内的数据,执行服务器的各种功能和处理数据,从而对服务器进行整体监控。可选的,处理器401可包括一个或多个处理核心;优选的,处理器401可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器401中。The processor 401 is the control center of the server, and uses various interfaces and lines to connect various parts of the entire server, by running or executing software programs and/or modules stored in the memory 402, and calling data stored in the memory 402, Execute various functions of the server and process data to monitor the server as a whole. Optionally, the processor 401 may include one or more processing cores; preferably, the processor 401 may integrate an application processor and a modem processor, wherein the application processor mainly processes operating systems, user interfaces, and application programs, etc. , the modem processor mainly handles wireless communications. It can be understood that the foregoing modem processor may not be integrated into the processor 401 .

存储器402可用于存储软件程序以及模块,处理器401通过运行存储在存储器402的软件程序以及模块,从而执行各种功能应用以及数据处理。The memory 402 can be used to store software programs and modules, and the processor 401 executes various functional applications and data processing by running the software programs and modules stored in the memory 402 .

RF电路403可用于收发信息过程中,信号的接收和发送,特别地,将基站的下行信息接收后,交由一个或者一个以上处理器401处理;另外,将涉及上行的数据发送给基站。The RF circuit 403 can be used for receiving and sending signals in the process of sending and receiving information. In particular, after receiving the downlink information from the base station, it is processed by one or more processors 401; in addition, the uplink data is sent to the base station.

服务器还包括给各个部件供电的电源404(比如电池),优选的,电源可以通过电源管理系统与处理器401逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。电源404还可以包括一个或一个以上的直流或交流电源、再充电系统、电源故障检测电路、电源转换器或者逆变器、电源状态指示器等任意组件。The server also includes a power supply 404 (such as a battery) for supplying power to each component. Preferably, the power supply can be logically connected to the processor 401 through the power management system, so that functions such as charging, discharging, and power consumption management can be realized through the power management system. The power supply 404 may also include one or more DC or AC power supplies, recharging systems, power failure detection circuits, power converters or inverters, power status indicators, and other arbitrary components.

该服务器还可包括输入单元405,该输入单元405可用于接收输入的数字或字符信息,以及产生与用户设置以及功能控制有关的键盘、鼠标、操作杆、光学或者轨迹球信号输入。The server can also include an input unit 405, which can be used to receive input numbers or character information, and generate keyboard, mouse, joystick, optical or trackball signal input related to user settings and function control.

该服务器还可包括显示单元406,该显示单元406可用于显示由用户输入的信息或提供给用户的信息以及服务器的各种图形用户接口,这些图形用户接口可以由图形、文本、图标、视频和其任意组合来构成。显示单元408可包括显示面板,可选的,可以采用液晶显示器(LCD,Liquid Crystal Display)、有机发光二极管(OLED,Organic Light-EmittingDiode)等形式来配置显示面板。The server can also include a display unit 406, which can be used to display information input by the user or information provided to the user and various graphical user interfaces of the server. These graphical user interfaces can be composed of graphics, text, icons, video and any combination of them. The display unit 408 may include a display panel. Optionally, the display panel may be configured in the form of a liquid crystal display (LCD, Liquid Crystal Display), an organic light-emitting diode (OLED, Organic Light-Emitting Diode), or the like.

具体在本实施例中,服务器中的处理器401会按照如下的指令,将一个或一个以上的应用程序的进程对应的可执行文件加载到存储器402中,并由处理器401来运行存储在存储器402中的应用程序,从而实现各种功能,如下:Specifically, in this embodiment, the processor 401 in the server will load the executable file corresponding to the process of one or more application programs into the memory 402 according to the following instructions, and the processor 401 will run the executable file stored in the memory. 402 in the application, so as to achieve various functions, as follows:

接收终端发送的登录请求,该登录请求携带该终端的目标终端标识、需要登录的目标备份账号以及目标鉴权信息,然后,根据该登录请求获取该目标备份账号下该目标终端标识对应的预设鉴权信息,将该预设鉴权信息与该目标鉴权信息进行匹配,若匹配成功,则向该终端返回相应的响应信息,以使得该终端根据响应信息登录该目标备份账号。receiving the login request sent by the terminal, the login request carrying the target terminal ID of the terminal, the target backup account to be logged in and the target authentication information, and then obtaining the preset ID corresponding to the target terminal ID under the target backup account according to the login request. Authentication information, matching the preset authentication information with the target authentication information, and if the matching is successful, returning corresponding response information to the terminal, so that the terminal logs in the target backup account according to the response information.

该处理器401具体用于实现以下功能:根据所述登录请求获取所述目标备份账号对应的预设终端标识,得到标识集合;确定所述标识集合中是否存在与所述预设终端标识匹配的预设终端标识;若存在,则获取匹配预设终端标识对应的预设鉴权信息,得到目标备份账号下所述目标终端标识对应的预设鉴权信息。The processor 401 is specifically configured to implement the following functions: obtain the preset terminal identifier corresponding to the target backup account according to the login request, and obtain an identifier set; determine whether there is an identifier matching the preset terminal identifier in the identifier set A preset terminal identifier; if it exists, obtain preset authentication information corresponding to the preset terminal identifier, and obtain preset authentication information corresponding to the target terminal identifier under the target backup account.

该处理器401还用于实现以下功能:在接收终端发送的登录请求之前接收鉴权设置请求,所述鉴权设置请求携带鉴权信息、需要设置鉴权的终端标识和备份账号;根据所述鉴权设置请求设置备份账号与终端标识之间的映射关系、以及设置终端标识与鉴权信息之间的映射关系,得到账号标识映射关系集合和标识鉴权映射关系集合;此时,根据所述登录请求获取所述目标备份账号对应的预设终端标识,包括:根据所述目标备份账号和所述账号标识映射关系集合,获取目标备份账号对应的预设终端标识;获取匹配预设终端标识对应的预设鉴权信息,包括:根据所述匹配预设终端标识和所述标识鉴权映射关系集合,获取匹配预设终端标识对应的预设鉴权信息。The processor 401 is also used to implement the following functions: receiving an authentication setting request before receiving a login request sent by a terminal, where the authentication setting request carries authentication information, a terminal identity and a backup account for which authentication needs to be set; according to the The authentication setting request sets the mapping relationship between the backup account and the terminal identifier, and sets the mapping relationship between the terminal identifier and the authentication information, and obtains the account identifier mapping relationship set and the identity authentication mapping relationship set; at this time, according to the The login request to obtain the preset terminal identifier corresponding to the target backup account includes: obtaining the preset terminal identifier corresponding to the target backup account according to the set of mapping relationships between the target backup account and the account identifier; The preset authentication information includes: acquiring preset authentication information corresponding to the matching preset terminal identifier according to the matching preset terminal identifier and the identifier authentication mapping relationship set.

具体的操作,可以参考前面备份账号登录方法实施例的详细描述。For specific operations, reference may be made to the detailed description of the foregoing embodiment of the backup account login method.

本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一计算机可读存储介质中,存储介质可以包括:只读存储器(ROM,Read Only Memory)、随机存取记忆体(RAM,RandomAccess Memory)、磁盘或光盘等。Those of ordinary skill in the art can understand that all or part of the steps in the various methods of the above-mentioned embodiments can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable storage medium, and the storage medium can include: Read Only Memory (ROM, Read Only Memory), Random Access Memory (RAM, Random Access Memory), disk or CD, etc.

以上对本发明实施例所提供的一种备份账号登录方法、装置及系统进行了详细介绍,本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想;同时,对于本领域的技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本发明的限制。The above is a detailed introduction to a backup account login method, device and system provided by the embodiment of the present invention. In this paper, specific examples are used to illustrate the principle and implementation of the present invention. The description of the above embodiment is only for helping Understand the method of the present invention and its core idea; at the same time, for those skilled in the art, according to the idea of the present invention, there will be changes in the specific implementation and scope of application. In summary, the content of this specification should not be construed as a limitation of the invention.

Claims (10)

1. it is a kind of to back up account login method, it is characterised in that to include:
The logging request that receiving terminal sends, the logging request carries the target terminal mark of the terminal, needs what is logged in Target backs up account and target authentication information;
The target terminal under the target backup account is obtained according to the logging request and identifies corresponding default authentication information;
The default authentication information is matched with the target authentication information;
If the match is successful, corresponding response message is returned to the terminal, so that the terminal is logged according to response message The target backs up account.
2. it is as claimed in claim 1 to back up account login method, it is characterised in that described that institute is obtained according to the logging request State the target terminal under target backup account and identify corresponding default authentication information, including:
The corresponding default terminal iidentification of the target backup account is obtained according to the logging request, logo collection is obtained;
Determine in the logo collection with the presence or absence of the default terminal iidentification matched with the default terminal iidentification;
If existing, the matching corresponding default authentication information of default terminal iidentification is obtained, obtain the mesh under target backup account The corresponding default authentication information of mark terminal iidentification.
3. backup account login method as claimed in claim 2, it is characterised in that the logging request sent in receiving terminal it Before, the backup account login method also includes:
Receive authentication and request is set, the authentication arranges request and carries authentication information, needs to arrange the terminal iidentification and standby of authentication Part account;
Mapping relations between request setting backup account and terminal iidentification are arranged according to the authentication and terminal iidentification is set Mapping relations between authentication information, obtain the set of account number mapping relations and mark authentication mapping relations set;
The corresponding default terminal iidentification of the target backup account is obtained according to the logging request, including:According to the target Backup account and the account number mapping relations set, obtain the corresponding default terminal iidentification of target backup account;
The matching corresponding default authentication information of default terminal iidentification is obtained, including:According to the default terminal iidentification of the matching and institute Mark authentication mapping relations set is stated, the matching corresponding default authentication information of default terminal iidentification is obtained.
4. it is as claimed in claim 1 to back up account login method, it is characterised in that the backup account login method is also wrapped Include:
When it fails to match for default authentication information and the target authentication information, to the login for logging in the target and backing up account Terminal sends and logs in authorization requests;
Receive the mandate log-on message that the registration terminal is returned according to the login authorization requests;
Corresponding response message is sent to the terminal according to the mandate log-on message, so that the terminal is according to response letter Breath logs in the target and backs up account.
5. backup account login method as claimed in claim 4, it is characterised in that receive the mandate log-on message it Afterwards, according to authorizing log-on message to send before response message, the backup account login method also includes:
Obtain the reception time for authorizing log-on message;
Judge whether the reception time meets Preset Time condition;
If so, then perform according to it is described mandate log-on message to the terminal send corresponding response message the step of.
6. it is a kind of to back up account entering device, it is characterised in that to include:
Receiving unit, for the logging request that receiving terminal sends, the logging request carries the target terminal mark of the terminal Know, need the target for logging in back up account and target authentication information;
Acquiring unit, it is corresponding for obtaining the target terminal mark under the target backup account according to the logging request Default authentication information;
Matching unit, for the default authentication information to be matched with the target authentication information;
Response message transmitting element, for when the match is successful for the matching unit, to the terminal corresponding response letter being returned Breath, so that the terminal logs in the target according to response message backs up account.
7. it is as claimed in claim 6 to back up account entering device, it is characterised in that the acquiring unit includes:
Mark obtains subelement, for obtaining the corresponding default terminal mark of the target backup account according to the logging request Know, obtain logo collection;
Determination subelement, for determining the logo collection in the presence or absence of the default terminal that matches with the default terminal iidentification Mark;
Acquisition of information subelement, for determining there is the default terminal mark matched with the default terminal iidentification in determination subelement During knowledge, the matching corresponding default authentication information of default terminal iidentification is obtained, obtain the target terminal mark under target backup account Know corresponding default authentication information.
8. it is as claimed in claim 6 to back up account entering device, it is characterised in that the backup account entering device is also wrapped Include:
Request transmitting unit, it is described to logging in for when it fails to match for default authentication information and the target authentication information The registration terminal of target backup account sends and logs in authorization requests;
Authorization message receiving unit, letter is logged in for receiving the registration terminal according to the mandate that the login authorization requests are returned Breath;
The response message transmitting element, is additionally operable to send corresponding response letter to the terminal according to the mandate log-on message Breath, so that the terminal logs in the target according to response message backs up account.
9. it is as claimed in claim 8 to back up account entering device, it is characterised in that also to include:Judging unit;
The judging unit, after receiving mandate log-on message in authorization message receiving unit, response message sends single Unit is sent before response message, the reception time for authorizing log-on message is obtained, when judging whether the reception time meets default Between condition;
The response message transmitting element, specifically for when judging unit judges that the reception time meets Preset Time condition, root Corresponding response message is sent according to the mandate log-on message to the terminal.
10. it is a kind of to back up account login system, it is characterised in that including terminal and server;The server is included such as right Require the backup account entering device described in any one of 6-9.
CN201610939656.9A 2016-10-25 2016-10-25 Backup account login method, device and system Expired - Fee Related CN106656985B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610939656.9A CN106656985B (en) 2016-10-25 2016-10-25 Backup account login method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610939656.9A CN106656985B (en) 2016-10-25 2016-10-25 Backup account login method, device and system

Publications (2)

Publication Number Publication Date
CN106656985A true CN106656985A (en) 2017-05-10
CN106656985B CN106656985B (en) 2020-03-10

Family

ID=58821232

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610939656.9A Expired - Fee Related CN106656985B (en) 2016-10-25 2016-10-25 Backup account login method, device and system

Country Status (1)

Country Link
CN (1) CN106656985B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107172057A (en) * 2017-06-01 2017-09-15 浙江数链科技有限公司 Authentication implementing method and device
CN110474863A (en) * 2018-05-10 2019-11-19 中国移动通信集团浙江有限公司 Micro services safety certifying method and device
CN111600901A (en) * 2020-05-26 2020-08-28 牛津(海南)区块链研究院有限公司 Application authentication method, device, equipment and computer readable storage medium
WO2020228013A1 (en) * 2019-05-16 2020-11-19 深圳市欢太科技有限公司 Account association method, device, system, server, and storage medium
CN113836082A (en) * 2020-06-23 2021-12-24 南京酷派软件技术有限公司 Data migration method and device, storage medium and server

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4858945B2 (en) * 2005-12-28 2012-01-18 株式会社日立メディコ System access method and network system
CN104901796A (en) * 2015-06-02 2015-09-09 杭州华三通信技术有限公司 Authentication method and equipment
CN105530224A (en) * 2014-09-30 2016-04-27 中国电信股份有限公司 Method and device for terminal authentication
CN105656948A (en) * 2016-03-30 2016-06-08 北京小米移动软件有限公司 Account login method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4858945B2 (en) * 2005-12-28 2012-01-18 株式会社日立メディコ System access method and network system
CN105530224A (en) * 2014-09-30 2016-04-27 中国电信股份有限公司 Method and device for terminal authentication
CN104901796A (en) * 2015-06-02 2015-09-09 杭州华三通信技术有限公司 Authentication method and equipment
CN105656948A (en) * 2016-03-30 2016-06-08 北京小米移动软件有限公司 Account login method and device

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107172057A (en) * 2017-06-01 2017-09-15 浙江数链科技有限公司 Authentication implementing method and device
CN110474863A (en) * 2018-05-10 2019-11-19 中国移动通信集团浙江有限公司 Micro services safety certifying method and device
CN110474863B (en) * 2018-05-10 2021-11-09 中国移动通信集团浙江有限公司 Micro-service security authentication method and device
WO2020228013A1 (en) * 2019-05-16 2020-11-19 深圳市欢太科技有限公司 Account association method, device, system, server, and storage medium
CN111600901A (en) * 2020-05-26 2020-08-28 牛津(海南)区块链研究院有限公司 Application authentication method, device, equipment and computer readable storage medium
CN113836082A (en) * 2020-06-23 2021-12-24 南京酷派软件技术有限公司 Data migration method and device, storage medium and server

Also Published As

Publication number Publication date
CN106656985B (en) 2020-03-10

Similar Documents

Publication Publication Date Title
US10021098B2 (en) Account login method, device, and system
JP6386069B2 (en) Connection management method, apparatus, electronic equipment, program, and recording medium
CN106656985B (en) Backup account login method, device and system
CN104767713B (en) Account binding method, server and system
WO2019237542A1 (en) Application login method and apparatus for electronic device, and electronic device and medium
US20190199795A1 (en) Method and device for synchronizing backup data, storage medium, electronic device, and server
US10216915B2 (en) Authentication method and apparatus thereof
CN106412909A (en) Device connection method and device
US10993090B2 (en) Network access method, apparatus, and system
CN105468952A (en) Authentication method and apparatus
CN108234124B (en) Identity verification method, device and system
CN111478849B (en) Service access method, device and storage medium
CN106550030B (en) Data sharing method, device and system
CN106487798B (en) Data synchronization method and device
CN106506484B (en) Data backup method, device and system
CN106357807B (en) A kind of data processing method, device and system
CN106294027A (en) A data backup method, device, operator server and mobile terminal
CN107493378A (en) Application program login method and device, computer equipment and readable storage medium
CN112380552A (en) Data processing method and device, storage medium and computer equipment
CN106488394A (en) Method and device for device connection
US11921829B2 (en) Communication apparatus, control method therefor, and storage medium
CN107404740A (en) Safe network switching method, device and terminal equipment
CN106650490A (en) Cloud account number login method and device
CN108494749B (en) Method, device and equipment for disabling IP address and computer readable storage medium
CN107357562B (en) Information filling method, device and client

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
CB02 Change of applicant information

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20200310

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