CN107508835B - Account verification method, device and computer-readable storage medium - Google Patents
Account verification method, device and computer-readable storage medium Download PDFInfo
- Publication number
- CN107508835B CN107508835B CN201710877286.5A CN201710877286A CN107508835B CN 107508835 B CN107508835 B CN 107508835B CN 201710877286 A CN201710877286 A CN 201710877286A CN 107508835 B CN107508835 B CN 107508835B
- Authority
- CN
- China
- Prior art keywords
- account
- verified
- verification
- identification information
- account system
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000012795 verification Methods 0.000 title claims abstract description 237
- 238000000034 method Methods 0.000 title claims abstract description 63
- 238000004590 computer program Methods 0.000 claims description 10
- 239000008833 migu Substances 0.000 description 12
- 230000001360 synchronised effect Effects 0.000 description 7
- 230000005291 magnetic effect Effects 0.000 description 5
- 238000010586 diagram Methods 0.000 description 2
- 230000003068 static effect Effects 0.000 description 2
- 230000005294 ferromagnetic effect Effects 0.000 description 1
- 230000010354 integration Effects 0.000 description 1
- 239000000203 mixture Substances 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/08—Network architectures or network communication protocols for network security for authentication of entities
- H04L63/0815—Network architectures or network communication protocols for network security for authentication of entities providing single-sign-on or federations
Landscapes
- Engineering & Computer Science (AREA)
- Computer Hardware Design (AREA)
- Computer Security & Cryptography (AREA)
- Computing Systems (AREA)
- General Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
Abstract
本发明公开了一种账户的验证方法,包括:接收账户登录请求,所述账户登录请求中包含账户体系识别信息;所述账户体系识别信息包括:用于表征所述账户登录请求对应的待验证账户所属账户体系的信息;从所述账户登录请求中获取所述账户体系识别信息;根据所述账户体系识别信息,确定所述待验证账户最有可能所属的账户体系;通过确定出的账户体系所对应的账户验证系统,对所述待验证账户进行验证。本发明还公开了一种账户的验证装置以及计算机可读存储介质。
The invention discloses an account verification method, comprising: receiving an account login request, wherein the account login request includes account system identification information; the account system identification information includes: a to-be-verified corresponding to the account login request is represented. information about the account system to which the account belongs; obtain the account system identification information from the account login request; determine the account system to which the account to be verified most likely belongs according to the account system identification information; through the determined account system The corresponding account verification system verifies the account to be verified. The invention also discloses an account verification device and a computer-readable storage medium.
Description
技术领域technical field
本发明涉及计算机技术,尤其涉及一种账户的验证方法、装置以及计算机可读存储介质。The present invention relates to computer technology, and in particular, to an account verification method, device and computer-readable storage medium.
背景技术Background technique
随着移动互联网的快速发展,账号(用户名)和密码的方式依然是一项基本和主流的验证方式,而随着互联网公司和业务的融合,一款APP往往会包含有多个账号验证体系,即一款APP的用户可以通过多种渠道来注册该APP,比如:可以直接通过该APP注册账号和密码(即显式账号),可以通过与该APP有合作关系的其他APP注册账号和密码(即通行证账号),还可以通过短信验证码的方式注册账号和密码(即隐式账号),而通过这些不同方式注册的账号和密码信息则会保存在对应的账号体系中,而用户在登录该APP时则需要从不同的账号验证体系中进入对其账号和密码进行验证登录。目前针对此情况多采用如下两种方式:With the rapid development of the mobile Internet, the method of account (username) and password is still a basic and mainstream verification method, and with the integration of Internet companies and businesses, an APP often contains multiple account verification systems , that is, users of an APP can register the APP through various channels, such as: they can directly register the account and password (ie explicit account) through the APP, and they can register the account and password through other APPs that have a cooperative relationship with the APP. (i.e. pass account), you can also register account and password (i.e. implicit account) through SMS verification code, and the account and password information registered through these different methods will be saved in the corresponding account system, and the user is logging in The APP needs to enter from different account verification systems to verify and log in to its account and password. Currently, there are two ways to deal with this situation:
方式1:在前端登录页面,用户手动选择与注册来源对应的账号体系进行登录,也就是手动选择需要验证的账号体系或后台;Method 1: On the front-end login page, the user manually selects the account system corresponding to the registration source to log in, that is, manually selects the account system or background that needs to be verified;
方式2:提供一种统一的登录界面,在用户登录后,后台采用顺序轮询的方式将用户的账号和密码依次与各账号体系进行匹配验证。Method 2: Provide a unified login interface. After the user logs in, the background uses a sequential polling method to match and verify the user's account and password with each account system in turn.
在上述方式1的场景中,在用户登录APP时则需要选择与该用户注册来源对应的账号体系对该用户的账号和密码进行验证,这样会额外增加用户操作,给用户造成选择上的困惑,且可能造成选择上的失误;此外,这种场景还会增加账号登录界面的复杂性。In the scenario of the above method 1, when the user logs in to the APP, he needs to select the account system corresponding to the user's registration source to verify the user's account and password, which will increase user operations and cause confusion to the user in selection. And it may cause mistakes in selection; in addition, this scenario will also increase the complexity of the account login interface.
而在上述方式2的场景中,采用顺序轮询的方式依次让用户的账号和密码与各账号体系进行匹配验证则会增加验证时间,影响用户体验。In the scenario of the above-mentioned method 2, using the sequential polling method to match the user's account and password with each account system in turn will increase the verification time and affect the user experience.
发明内容SUMMARY OF THE INVENTION
有鉴于此,本发明实施例期望提供一种账户的验证方法、装置以及计算机可读存储介质,能够根据账户的识别信息确定账户所属的体系,根据账户所述体系的验证方法对账户进行相应的验证,减少了用户与验证体系的匹配验证次数,提高验证效率。In view of this, the embodiments of the present invention are expected to provide an account verification method, device, and computer-readable storage medium, which can determine the system to which the account belongs according to the identification information of the account, and perform corresponding verification on the account according to the verification method of the system described in the account. Verification reduces the number of matching verifications between users and verification systems, and improves verification efficiency.
为达到上述目的,本发明实施例提供了一种账户的验证方法,包括:To achieve the above purpose, an embodiment of the present invention provides an account verification method, including:
接收账户登录请求,所述账户登录请求中包含账户体系识别信息;所述账户体系识别信息包括:用于表征所述账户登录请求对应的待验证账户所属账户体系的信息;receiving an account login request, where the account login request includes account system identification information; the account system identification information includes: information used to represent the account system to which the account to be verified corresponding to the account login request belongs;
从所述账户登录请求中获取所述账户体系识别信息;Obtain the account system identification information from the account login request;
根据所述账户体系识别信息,确定所述待验证账户最有可能所属的账户体系;According to the account system identification information, determine the account system to which the account to be verified most likely belongs;
通过确定出的账户体系所对应的账户验证系统,对所述待验证账户进行验证。The account to be verified is verified through the account verification system corresponding to the determined account system.
其中,上述根据所述账户体系识别信息,确定所述待验证账户最有可能所属的账户体系,包括:Wherein, determining the account system to which the account to be verified most likely belongs is determined according to the account system identification information, including:
判断所述账户体系识别信息是否与第一账户体系的账户特征信息匹配,所述第一账户体系的账户特征信息为应用ID信息;Determine whether the account system identification information matches the account feature information of the first account system, and the account feature information of the first account system is application ID information;
当所述账户体系识别信息与所述第一账户体系的账户特征匹配时,确定所述第一账户体系为所述待验证账户最有可能所属的账户体系。When the account system identification information matches the account characteristics of the first account system, it is determined that the first account system is the account system to which the account to be verified most likely belongs.
其中,上述通过确定出的账户体系所对应的账户验证系统,对所述待验证账户进行验证,包括:Wherein, the above-mentioned verification of the account to be verified by the account verification system corresponding to the determined account system includes:
通过所述第一账户体系的账户验证系统对所述待验证账户进行验证;Verifying the account to be verified by the account verification system of the first account system;
若通过所述第一账户体系的账户验证系统对所述待验证账户进行验证失败,则通过第二账户体系所对应的账户验证系统对所述待验证账户进行验证。If verification of the account to be verified by the account verification system of the first account system fails, the account to be verified is verified by the account verification system corresponding to the second account system.
其中,上述根据所述账户体系识别信息,确定所述待验证账户最有可能所属的账户体系,还包括:Wherein, determining the account system to which the account to be verified is most likely to belong according to the account system identification information, further includes:
当所述账户体系识别信息与所述第一账户体系的账户特征不匹配时,判断所述账户体系识别信息是否与第二账户体系的账户特征信息匹配,所述第二账户体系的账户特征信息为第三方账户隐式登录信息;When the account system identification information does not match the account features of the first account system, determine whether the account system identification information matches the account feature information of the second account system, and the account feature information of the second account system Implicit login information for third-party accounts;
当所述账户体系识别信息与所述第二账户体系的账户特征匹配时,确定所述第二账户体系为所述待验证账户最有可能所属的账户体系。When the account system identification information matches the account characteristics of the second account system, it is determined that the second account system is the account system to which the account to be verified most likely belongs.
其中,上述通过确定出的账户体系所对应的账户验证系统,对所述待验证账户进行验证,包括:Wherein, the above-mentioned verification of the account to be verified by the account verification system corresponding to the determined account system includes:
通过所述第二账户体系的账户验证系统对所述待验证账户进行验证;Verifying the account to be verified through the account verification system of the second account system;
当通过所述第二账户体系的账户验证系统对所述待验证账户进行验证失败,则通过第三账户体系所对应的账户验证系统对所述待验证账户进行验证。When verification of the account to be verified by the account verification system of the second account system fails, the account to be verified is verified by the account verification system corresponding to the third account system.
其中,上述根据所述账户体系识别信息,确定所述待验证账户最有可能所属的账户体系,还包括:Wherein, determining the account system to which the account to be verified is most likely to belong according to the account system identification information, further includes:
当所述账户体系识别信息与所述第二账户体系的账户特征不匹配时,按照下述方式计算所述待验证账户对应的账户体系判定值D:When the account system identification information does not match the account characteristics of the second account system, the account system judgment value D corresponding to the account to be verified is calculated as follows:
D=x×z+(1-x)×y;D=x×z+(1-x)×y;
当所述D≤0.5时,所述账户体系识别信息符合第三账户体系的显式账户登录信息的特征,确定所述待验证账户最有可能属于第三账户体系;When the D≤0.5, the account system identification information conforms to the characteristics of the explicit account login information of the third account system, and it is determined that the account to be verified most likely belongs to the third account system;
当所述D>0.5时,所述账户体系识别信息符合所述第二账户体系的短信验证码隐式登录信息的特征,确定所述待验证账户最有可能属于第二账户体系;When the D>0.5, the account system identification information conforms to the feature of the SMS verification code implicit login information of the second account system, and it is determined that the account to be verified most likely belongs to the second account system;
其中,x为权重系数,0≤x≤1;y的值根据所述待验证账户上一次通过验证的账户体系确定;z的值通过所述待验证账户的注册方式确定。Wherein, x is a weight coefficient, 0≤x≤1; the value of y is determined according to the account system of the account to be verified that passed the verification last time; the value of z is determined by the registration method of the account to be verified.
其中,上述通过确定出的账户体系所对应的账户验证系统,对所述待验证账户进行验证,包括:Wherein, the above-mentioned verification of the account to be verified by the account verification system corresponding to the determined account system includes:
在确定出所述待验证账户最有可能属于第三账户体系后,通过所述第三账户体系的账户验证系统对所述待验证账户进行验证;After determining that the account to be verified most likely belongs to the third account system, verify the account to be verified through the account verification system of the third account system;
当通过所述第三账户体系的账户验证系统对所述待验证账户进行验证失败后,通过所述第二账户体系所对应的账户验证系统对所述待验证账户进行验证。When the account verification system of the third account system fails to verify the account to be verified, the account to be verified is verified by the account verification system corresponding to the second account system.
其中,上述通过确定出的账户体系所对应的账户验证系统,对所述待验证账户进行验证,包括:Wherein, the above-mentioned verification of the account to be verified by the account verification system corresponding to the determined account system includes:
在确定出所述待验证账户最有可能属于第二账户体系后,通过所述第二账户体系的账户验证系统对所述待验证账户进行验证。After it is determined that the account to be verified most likely belongs to the second account system, the account to be verified is verified by the account verification system of the second account system.
本发明实施例提供了一种账户的验证装置,包括:An embodiment of the present invention provides an account verification device, including:
接收模块,用于接收账户登录请求,所述账户登录请求中包含账户体系识别信息;a receiving module, configured to receive an account login request, where the account login request includes account system identification information;
获取模块,用于从所述账户登录请求中获取所述账户体系识别信息;an acquisition module, configured to acquire the account system identification information from the account login request;
确定模块,用于根据所述账户体系识别信息,确定所述待验证账户最有可能所属的账户体系;A determination module, configured to determine the account system to which the account to be verified most likely belongs according to the account system identification information;
验证模块,用于通过确定出的账户体系所对应的账户验证系统,对所述待验证账户进行验证;a verification module, configured to verify the account to be verified through the account verification system corresponding to the determined account system;
其中,上述确定模块具体用于:Among them, the above determination module is specifically used for:
判断所述账户体系识别信息是否与第一账户体系的账户特征信息匹配,所述第一账户体系的账户特征信息为应用ID信息;Determine whether the account system identification information matches the account feature information of the first account system, and the account feature information of the first account system is application ID information;
当所述账户体系识别信息与所述第一账户体系的账户特征匹配时,确定所述第一账户体系为所述待验证账户最有可能所属的账户体系。When the account system identification information matches the account characteristics of the first account system, it is determined that the first account system is the account system to which the account to be verified most likely belongs.
其中,上述验证模块用于:Among them, the above verification module is used for:
通过所述第一账户体系的账户验证系统对所述待验证账户进行验证;Verifying the account to be verified by the account verification system of the first account system;
若通过所述第一账户体系的账户验证系统对所述待验证账户进行验证失败,则通过第二账户体系所对应的账户验证系统对所述待验证账户进行验证。If verification of the account to be verified by the account verification system of the first account system fails, the account to be verified is verified by the account verification system corresponding to the second account system.
其中,上述确定模块具体用于:Among them, the above determination module is specifically used for:
当所述账户体系识别信息与所述第一账户体系的账户特征不匹配时,判断所述账户体系识别信息是否与第二账户体系的账户特征信息匹配,所述第二账户体系的账户特征信息为第三方账户隐式登录信息;When the account system identification information does not match the account features of the first account system, determine whether the account system identification information matches the account feature information of the second account system, and the account feature information of the second account system Implicit login information for third-party accounts;
当所述账户体系识别信息与所述第二账户体系的账户特征匹配时,确定所述第二账户体系为所述待验证账户最有可能所属的账户体系。When the account system identification information matches the account characteristics of the second account system, it is determined that the second account system is the account system to which the account to be verified most likely belongs.
其中,上述验证模块具体用于:Among them, the above verification module is specifically used for:
通过所述第二账户体系的账户验证系统对所述待验证账户进行验证;Verifying the account to be verified through the account verification system of the second account system;
当通过所述第二账户体系的账户验证系统对所述待验证账户进行验证失败,则通过第三账户体系所对应的账户验证系统对所述待验证账户进行验证。When verification of the account to be verified by the account verification system of the second account system fails, the account to be verified is verified by the account verification system corresponding to the third account system.
其中,上述确定模块用于:Among them, the above determination module is used for:
当所述账户体系识别信息与所述第二账户体系的账户特征不匹配时,按照下述方式计算所述待验证账户对应的账户体系判定值D:When the account system identification information does not match the account characteristics of the second account system, the account system judgment value D corresponding to the account to be verified is calculated as follows:
D=x×z+(1-x)×y;D=x×z+(1-x)×y;
当所述D≤0.5时,所述账户体系识别信息符合第三账户体系的显式账户登录信息的特征,确定所述待验证账户最有可能属于第三账户体系;When the D≤0.5, the account system identification information conforms to the characteristics of the explicit account login information of the third account system, and it is determined that the account to be verified most likely belongs to the third account system;
当所述D>0.5时,所述账户体系识别信息符合所述第二账户体系的短信验证码隐式登录信息的特征,确定所述待验证账户最有可能属于第二账户体系;When the D>0.5, the account system identification information conforms to the feature of the SMS verification code implicit login information of the second account system, and it is determined that the account to be verified most likely belongs to the second account system;
其中,x为权重系数,0≤x≤1;y的值根据所述待验证账户上一次通过验证的账户体系确定;z的值通过所述待验证账户的注册方式确定。Wherein, x is a weight coefficient, 0≤x≤1; the value of y is determined according to the account system of the account to be verified that passed the verification last time; the value of z is determined by the registration method of the account to be verified.
其中,上述验证模块还用于:Among them, the above verification module is also used for:
在确定出所述待验证账户最有可能属于第三账户体系后,通过所述第三账户体系的账户验证系统对所述待验证账户进行验证;After determining that the account to be verified most likely belongs to the third account system, verify the account to be verified through the account verification system of the third account system;
当通过所述第三账户体系的账户验证系统对所述待验证账户进行验证失败后,通过所述第二账户体系所对应的账户验证系统对所述待验证账户进行验证。When the account verification system of the third account system fails to verify the account to be verified, the account to be verified is verified by the account verification system corresponding to the second account system.
其中,上述验证模块还用于:Among them, the above verification module is also used for:
在确定出所述待验证账户最有可能属于第二账户体系后,通过所述第二账户体系的账户验证系统对所述待验证账户进行验证。After it is determined that the account to be verified most likely belongs to the second account system, the account to be verified is verified by the account verification system of the second account system.
本发明实施例提供了一种账户的验证装置,包括:处理器和用于存储能够在处理器上运行的计算机程序的存储器,An embodiment of the present invention provides an account verification device, comprising: a processor and a memory for storing a computer program that can run on the processor,
其中,所述处理器用于运行所述计算机程序时,执行:Wherein, when the processor is configured to run the computer program, execute:
接收账户登录请求,所述账户登录请求中包含账户体系识别信息;所述账户体系识别信息包括:用于表征所述账户登录请求对应的待验证账户所属账户体系的信息;从所述账户登录请求中获取所述账户体系识别信息;根据所述账户体系识别信息,确定所述待验证账户最有可能所属的账户体系;通过确定出的账户体系所对应的账户验证系统,对所述待验证账户进行验证。Receive an account login request, where the account login request includes account system identification information; the account system identification information includes: information used to represent the account system to which the account to be verified corresponding to the account login request belongs; log in from the account request Obtain the identification information of the account system; determine the account system to which the account to be verified most likely belongs according to the identification information of the account system; authenticating.
本发明实施例提供了一种计算机可读存储介质,其上存储有计算机程序,该计算机程序被处理器执行:An embodiment of the present invention provides a computer-readable storage medium on which a computer program is stored, and the computer program is executed by a processor:
接收账户登录请求,所述账户登录请求中包含账户体系识别信息;所述账户体系识别信息包括:用于表征所述账户登录请求对应的待验证账户所属账户体系的信息;从所述账户登录请求中获取所述账户体系识别信息;根据所述账户体系识别信息,确定所述待验证账户最有可能所属的账户体系;通过确定出的账户体系所对应的账户验证系统,对所述待验证账户进行验证。Receive an account login request, where the account login request includes account system identification information; the account system identification information includes: information used to represent the account system to which the account to be verified corresponding to the account login request belongs; log in from the account request Obtain the identification information of the account system; determine the account system to which the account to be verified most likely belongs according to the identification information of the account system; authenticating.
本发明实施例提供的一种账户的验证方法、装置以及计算机存储介质,通过接收账户登录请求,所述账户登录请求中包含账户体系识别信息;所述账户体系识别信息包括:用于表征所述账户登录请求对应的待验证账户所属账户体系的信息;从所述账户登录请求中获取所述账户体系识别信息;根据所述账户体系识别信息,确定所述待验证账户最有可能所属的账户体系;通过确定出的账户体系所对应的账户验证系统,对所述待验证账户进行验证。如此,能够根据账户的识别信息确定账户所属的体系,根据账户所述体系的验证方法对账户进行相应的验证,避免了现有技术中在用户在请求登录账户后,对用户账户的验证信息进行顺序轮询验证,减少了用户与验证体系的匹配验证次数,提高了验证效率。An account verification method, device, and computer storage medium provided by embodiments of the present invention receive an account login request, wherein the account login request includes account system identification information; the account system identification information includes: The information of the account system to which the account to be verified corresponding to the account login request belongs; the identification information of the account system is obtained from the account login request; the account system to which the account to be verified most likely belongs is determined according to the identification information of the account system ; Verify the account to be verified through the account verification system corresponding to the determined account system. In this way, the system to which the account belongs can be determined according to the identification information of the account, and the account is correspondingly verified according to the verification method of the system described in the account, so as to avoid the verification information of the user account in the prior art after the user requests to log in to the account. Sequential polling verification reduces the number of matching verifications between users and the verification system, and improves verification efficiency.
附图说明Description of drawings
图1为本发明实施例账户的验证方法的流程示意图;1 is a schematic flowchart of an account verification method according to an embodiment of the present invention;
图2为本发明实施例账户的验证装置的结构示意图;2 is a schematic structural diagram of an account verification device according to an embodiment of the present invention;
图3为本发明第一实施例流程示意图;3 is a schematic flowchart of the first embodiment of the present invention;
图4为本发明第二实施例流程示意图。FIG. 4 is a schematic flowchart of a second embodiment of the present invention.
具体实施方式Detailed ways
为了能够更加详细的了解本发明实施例的特点与技术内容,下面对本发明实施例的实现进行详细阐述。In order to understand the features and technical contents of the embodiments of the present invention in more detail, the implementation of the embodiments of the present invention will be described in detail below.
图1为本发明实施例账户的验证方法的流程示意图,如图1所示,本发明实施例提供的账户的验证方法包括以下步骤:FIG. 1 is a schematic flowchart of a method for verifying an account according to an embodiment of the present invention. As shown in FIG. 1 , the method for verifying an account provided by an embodiment of the present invention includes the following steps:
步骤101:接收账户登录请求,所述账户登录请求中包含账户体系识别信息;Step 101: Receive an account login request, where the account login request includes account system identification information;
在实际应用中,服务器接收账户登录请求可以是服务器向用户提供的登录界面,用户可以通过所述统一登录界面输入账号和密码、或以其他方式进行登录(例如:通过第三方APP登录等方式),向服务器发送账户登录请求信息;In practical applications, the account login request received by the server may be a login interface provided by the server to the user, and the user can input an account number and password through the unified login interface, or log in in other ways (for example, through a third-party APP login, etc.) , send the account login request information to the server;
其中,所述登录界面可以是包含有多个账号体系的应用登录界面,该界面可以无需确认用户注册账户时的注册来源,直接输入账号和密码进行登录;所述账户验证信息可以是用户输入的账号/用户名和密码;所述账户识别信息可以是用户登录时携带的应用的识别信息,通过所述应用的识别信息可以确定通过对应的账号体系验证对用户的验证信息进行验证。Wherein, the login interface may be an application login interface including multiple account systems, and the interface may directly enter the account number and password to log in without confirming the registration source of the user when registering the account; the account verification information may be input by the user Account/username and password; the account identification information can be the identification information of the application carried by the user when logging in, and the identification information of the application can determine that the verification information of the user is verified through the corresponding account system verification.
步骤102:从所述账户登录请求中获取所述账户体系识别信息;Step 102: Obtain the account system identification information from the account login request;
其中,所述账户体系识别信息包括:用于表征所述账户登录请求对应的待验证账户所属账户体系的信息;Wherein, the account system identification information includes: information used to represent the account system to which the account to be verified corresponding to the account login request belongs;
步骤103:根据所述账户体系识别信息,确定所述待验证账户最有可能所属的账户体系;Step 103: According to the account system identification information, determine the account system to which the account to be verified most likely belongs;
其中,所述根据所述账户体系识别信息,确定所述待验证账户最有可能所属的账户体系,包括:Wherein, determining the account system to which the account to be verified most likely belongs according to the account system identification information includes:
判断所述账户体系识别信息是否与第一账户体系的账户特征信息匹配,所述第一账户体系的账户特征信息为应用ID信息;Determine whether the account system identification information matches the account feature information of the first account system, and the account feature information of the first account system is application ID information;
当所述账户体系识别信息与所述第一账户体系的账户特征匹配时,确定所述第一账户体系为所述待验证账户最有可能所属的账户体系。When the account system identification information matches the account characteristics of the first account system, it is determined that the first account system is the account system to which the account to be verified most likely belongs.
根据所述账户体系识别信息,确定所述待验证账户最有可能所属的账户体系,还包括:According to the account system identification information, determining the account system to which the account to be verified most likely belongs, further comprising:
当所述账户体系识别信息与所述第一账户体系的账户特征不匹配时,判断所述账户体系识别信息是否与第二账户体系的账户特征信息匹配,所述第二账户体系的账户特征信息为第三方账户隐式登录信息;When the account system identification information does not match the account features of the first account system, determine whether the account system identification information matches the account feature information of the second account system, and the account feature information of the second account system Implicit login information for third-party accounts;
当所述账户体系识别信息与所述第二账户体系的账户特征匹配时,确定所述第二账户体系为所述待验证账户最有可能所属的账户体系。When the account system identification information matches the account characteristics of the second account system, it is determined that the second account system is the account system to which the account to be verified most likely belongs.
根据所述账户体系识别信息,确定所述待验证账户最有可能所属的账户体系,还包括:According to the account system identification information, determining the account system to which the account to be verified most likely belongs, further comprising:
当所述账户体系识别信息与所述第二账户体系的账户特征不匹配时,按照下述方式计算所述待验证账户对应的账户体系判定值D:When the account system identification information does not match the account characteristics of the second account system, the account system judgment value D corresponding to the account to be verified is calculated as follows:
D=x×z+(1-x)×y;D=x×z+(1-x)×y;
当所述D≤0.5时,所述账户体系识别信息符合第三账户体系的显式账户登录信息的特征,确定所述待验证账户最有可能属于第三账户体系;When the D≤0.5, the account system identification information conforms to the characteristics of the explicit account login information of the third account system, and it is determined that the account to be verified most likely belongs to the third account system;
当所述D>0.5时,所述账户体系识别信息符合所述第二账户体系的短信验证码隐式登录信息的特征,确定所述待验证账户最有可能属于第二账户体系;When the D>0.5, the account system identification information conforms to the feature of the SMS verification code implicit login information of the second account system, and it is determined that the account to be verified most likely belongs to the second account system;
其中,x为权重系数,0≤x≤1;y的值根据所述待验证账户上一次通过验证的账户体系确定;z的值通过所述待验证账户的注册方式确定。Wherein, x is a weight coefficient, 0≤x≤1; the value of y is determined according to the account system of the account to be verified that passed the verification last time; the value of z is determined by the registration method of the account to be verified.
在实际应用中,所述的账户体系以及所述账户体系所对应的账户验证系统中保存有用户在注册账号时输入的账号和密码,例如:当用户通过第一识别信息所对应的应用注册账号和密码时,所述注册的账号和密码即存储在第一账户体系内,以此类推,通过第二识别信息所对应的应用注册账号和密码存储在第二账户体系内,通过第三识别信息所对应的应用注册账号和密码存储在第三账户体系内等。In practical applications, the account system and the account verification system corresponding to the account system store the account number and password entered by the user when registering the account, for example: when the user registers the account through the application corresponding to the first identification information and password, the registered account number and password are stored in the first account system, and so on, the application registered account number and password corresponding to the second identification information are stored in the second account system, and the third identification information is stored in the second account system. The corresponding application registration account number and password are stored in the third account system and so on.
其中,步骤103中根据用户登录过程中携带的APP的ID、账号和密码等信息进入用户中心后台的类型判别算法中进行判断的流程为:首先确定是否为第一APP的账号,若是,则确定是否为第一APP的隐式账号(通过第三方APP登录),否则,则确定为非第一APP的账号;若确定是非第一APP的隐式账号则通过判断子算法来进一步确定其账号类型。其中,判断子算法的公式为D=x*z+(1-x)*y,0≤x≤1,具体可根据实际情况动态调整;y根据用户上一次通过认证的账号体系确定,若为通行证账号体系,则y=1,否则y=0;z则是通过注册渠道确定,若通过通行证渠道引流注册,则z=1,否则z=0;若确定D>0.5,则确定该用户的账号认证流程为“通行证账号认证流程”,否则,则确定该用户的账号认证流程为“第一APP的显式账号认证流程”。Wherein, in
步骤104:通过确定出的账户体系所对应的账户验证系统,对所述待验证账户进行验证。Step 104: Verify the account to be verified through the account verification system corresponding to the determined account system.
其中,通过确定出的账户体系所对应的账户验证系统,对所述待验证账户进行验证,包括:Wherein, the account to be verified is verified through the account verification system corresponding to the determined account system, including:
通过所述第一账户体系的账户验证系统对所述待验证账户进行验证;Verifying the account to be verified by the account verification system of the first account system;
若通过所述第一账户体系的账户验证系统对所述待验证账户进行验证失败,则通过第二账户体系所对应的账户验证系统对所述待验证账户进行验证。If verification of the account to be verified by the account verification system of the first account system fails, the account to be verified is verified by the account verification system corresponding to the second account system.
通过确定出的账户体系所对应的账户验证系统,对所述待验证账户进行验证,包括:The account to be verified is verified through the account verification system corresponding to the determined account system, including:
通过所述第二账户体系的账户验证系统对所述待验证账户进行验证;Verifying the account to be verified through the account verification system of the second account system;
当通过所述第二账户体系的账户验证系统对所述待验证账户进行验证失败,则通过第三账户体系所对应的账户验证系统对所述待验证账户进行验证。When verification of the account to be verified by the account verification system of the second account system fails, the account to be verified is verified by the account verification system corresponding to the third account system.
通过确定出的账户体系所对应的账户验证系统,对所述待验证账户进行验证,包括:The account to be verified is verified through the account verification system corresponding to the determined account system, including:
在确定出所述待验证账户最有可能属于第三账户体系后,通过所述第三账户体系的账户验证系统对所述待验证账户进行验证;After determining that the account to be verified most likely belongs to the third account system, verify the account to be verified through the account verification system of the third account system;
当通过所述第三账户体系的账户验证系统对所述待验证账户进行验证失败后,通过所述第二账户体系所对应的账户验证系统对所述待验证账户进行验证。When the account verification system of the third account system fails to verify the account to be verified, the account to be verified is verified by the account verification system corresponding to the second account system.
其中,上述通过确定出的账户体系所对应的账户验证系统,对所述待验证账户进行验证,包括:Wherein, the above-mentioned verification of the account to be verified by the account verification system corresponding to the determined account system includes:
在确定出所述待验证账户最有可能属于第二账户体系后,通过所述第二账户体系的账户验证系统对所述待验证账户进行验证。After it is determined that the account to be verified most likely belongs to the second account system, the account to be verified is verified through the account verification system of the second account system.
在实际应用中,当确定用户登录账户的识别信息为第一识别信息,或符合第一账户体系注册的命名规则时,则确定所述用户所输入的账户验证信息(可以是账户和密码)有较大概率是在所述第一账户体系内完成的注册时输入的账户验证信息(可以是账户和密码),因此,可以首先根据预设的第一账户体系所对应的账户验证系统对所述账户验证信息进行验证,当验证失败后,再根据预设的第二账户体系所对应的账户验证系统对所述账户验证信息进行验证,所述第二账户体系相比于其他账户体系有较大概率是用户注册账户时对应的账户体系,依此类推,确定出用户账户的识别信息即可以确定出有较大概率的用户注册时所对应的账户体系,避免了现有技术中对用户登录账户时对账户体系的顺序轮询验证。In practical applications, when it is determined that the identification information of the user's login account is the first identification information, or conforms to the naming rules registered in the first account system, it is determined that the account verification information (which may be an account and a password) input by the user has The greater probability is the account verification information (which can be an account and a password) entered during the registration completed in the first account system, therefore, the first account verification system corresponding to the preset first account system The account verification information is verified, and when the verification fails, the account verification information is verified according to the account verification system corresponding to the preset second account system, and the second account system is larger than other account systems. The probability is the account system corresponding to the user's account registration, and so on, by determining the identification information of the user account, the account system corresponding to the user's registration with a high probability can be determined, which avoids the need for the user to log in to the account in the prior art. The sequential polling verification of the account system.
在通常的情况下,用户通过第一账户体系(一级用户中心账户体系:保存有核心业务的用户注册信息等)和第三账户体系(次级用户中心账户体系:保存有与核心业务相关联的其他业务的用户注册信息等)进行注册获得的账号和密码,所述用户的账号和密码信息则优先保存在第二账户体系(通用型用户账户体系:保存有核心业务的用户注册信息、与核心业务相关联的其他业务的用户注册信息以及合作性质的相关业务的用户注册信息等)中,因此,首先通过第二账户体系验证,则通过验证的可能性最大,而这种情况用户的账号和密码信息也有可能是保存在第一账户体系或第三账户体系中,因此在第二账户体系不通过的情况下,再通过第一账户体系或第三账户体系进行验证。Under normal circumstances, users pass through the first account system (first-level user center account system: user registration information that stores core business, etc.) and the third account system (secondary user center account system: stores related to core business. The account number and password obtained by registering other services, etc.), the account number and password information of the user are preferentially stored in the second account system (universal user account system: user registration information with core business is stored, and User registration information of other businesses related to the core business and user registration information of related businesses of a cooperative nature, etc.), therefore, if the second account system is verified first, the possibility of passing the verification is the greatest. In this case, the user’s account number and password information may also be stored in the first account system or the third account system, so if the second account system fails, the first account system or the third account system is used for verification.
在实际应用中,若根据登录条件确定用户登录类型为第一APP的显式账号登录,则首先进行一级用户中心账号体系认证,若通过,则成功登录,否则,进行通行证账号体系认证,若通过,则成功登录,否则登录失败;In practical applications, if it is determined that the user login type is the explicit account login of the first APP according to the login conditions, the first-level user center account system authentication is performed. If it passes, the login is successful; otherwise, the pass account system authentication is performed. If passed, the login is successful, otherwise the login fails;
需要说明的是,若确定用户的登录类型为显式账号登录,比如用户输入的账号和密码符合注册该第一APP的账号和密码的命名规则时,则其直接通过该第一APP注册的概率最大,因此首先进行一级用户中心账号体系认证,这样便可以避免进行顺序轮询认证,提高认证效率。It should be noted that if it is determined that the user's login type is an explicit account login, for example, when the account number and password entered by the user conform to the naming rules for the account number and password for registering the first APP, then the probability of registering directly through the first APP will be determined. Therefore, the first-level user center account system authentication is performed, so that the sequential polling authentication can be avoided and the authentication efficiency can be improved.
若根据登录条件确定用户登录类型为第一APP的隐式账号登录,则首先进行通行证账号体系认证,若通过,则成功登录,否则登录失败;If it is determined according to the login conditions that the user login type is the implicit account login of the first APP, the pass account system authentication is performed first. If it passes, the login is successful, otherwise the login fails;
需要说明的是,该隐式账号登录,即通过短信验证码的方式进行登录的操作,这种方式登录时,其通过与第一APP有合作关系的其他APP注册账号和密码的概率最大,因此选择通行证账号认证体系进行认证,通过的概率也最大,从而提高认证效率。It should be noted that the implicit account login is the operation of logging in by means of SMS verification code. When logging in in this way, the probability of registering an account and password through another APP that has a cooperative relationship with the first APP is the greatest. Therefore, Choose the passport account authentication system for authentication, and the probability of passing is also the largest, thereby improving the authentication efficiency.
若根据登录条件确定用户登录类型为非第一APP的账号登录,则首先进行子公司账号体系认证,若通过,则成功登录,否则,进行通行证账号体系认证,若通过,则成功登录,否则登录失败;If it is determined according to the login conditions that the user login type is an account login other than the first APP, the subsidiary account system authentication will be performed first. If passed, the login will be successful; otherwise, the pass account system authentication will be performed. If it is passed, the login will be successful, otherwise the login fail;
需要说明的是,这种情况则是指用户不是直接通过第一APP注册的账号和密码的情况,因此其通过子公司账号体系注册账号和密码的概率较大,首先采用子公司账号体系认证则通过认证的概率也最大,而这种情况也有可能是用户通过与第一APP有合作关系的其他APP注册的,因此在子公司账号体系认证不通过的前提下,则再通过通行证账号体系认证。It should be noted that this situation refers to the situation that the user does not directly register the account number and password through the first APP, so the probability of registering the account number and password through the subsidiary account system is relatively high. First, the subsidiary account system is used for authentication. The probability of passing the certification is also the highest, and in this case, it is also possible that the user has registered through other APPs that have a cooperative relationship with the first APP. Therefore, if the subsidiary account system certification fails, then pass the passport account system certification.
若根据登录条件确定用户登录类型为通行证账号登录,则首先进行通行证账号体系认证,若通过,则成功登录,否则,进行一级用户中心账号体系认证,若通过,则成功登录,否则登录失败。If it is determined that the user login type is pass account login according to the login conditions, the pass account system authentication will be performed first. If it passes, the login is successful. Otherwise, the first-level user center account system authentication is performed. If it passes, the login is successful, otherwise the login fails.
需要说明的是,这种情况通常是指,用户通过与第一APP有合作关系的其他APP进行注册获得的账号和密码,这种情况下用户的账号和密码信息则优先保存在通行证账号体系中,因此,首先通过通行证账号体系认证,则其通过认证的可能性最大,而这种情况用户的账号和密码信息也有可能是保存在一级用户中心账号体系中,因此在通行证账号体系认证不通过的情况下,再通过一级用户中心账号体系对该用户的账号和密码进行认证。It should be noted that this situation usually refers to the account number and password obtained by the user through the registration of other APPs that have a cooperative relationship with the first APP. In this case, the user's account number and password information are preferentially stored in the passport account system. , therefore, the first through the pass account system authentication, the possibility of passing the authentication is the greatest, and in this case, the user's account and password information may also be stored in the first-level user center account system, so the pass account system authentication does not pass In this case, the user's account and password are authenticated through the first-level user center account system.
图2为本发明实施例账户的验证装置的组成结构示意图,其特征在于,所述账户的验证装置包括:2 is a schematic diagram of the composition and structure of an account verification device according to an embodiment of the present invention, wherein the account verification device includes:
接收模块201,用于接收账户登录请求,所述账户登录请求中包含账户体系识别信息;A receiving
获取模块202,用于从所述账户登录请求中获取所述账户体系识别信息;an obtaining
确定模块203,用于根据所述账户体系识别信息,确定所述待验证账户最有可能所属的账户体系;A
验证模块204,用于通过确定出的账户体系所对应的账户验证系统,对所述待验证账户进行验证;The
其中,上述确定模块203具体用于:Wherein, the
判断所述账户体系识别信息是否与第一账户体系的账户特征信息匹配,所述第一账户体系的账户特征信息为应用ID信息;Determine whether the account system identification information matches the account feature information of the first account system, and the account feature information of the first account system is application ID information;
当所述账户体系识别信息与所述第一账户体系的账户特征匹配时,确定所述第一账户体系为所述待验证账户最有可能所属的账户体系。When the account system identification information matches the account characteristics of the first account system, it is determined that the first account system is the account system to which the account to be verified most likely belongs.
其中,上述验证模块204用于:Wherein, the
通过所述第一账户体系的账户验证系统对所述待验证账户进行验证;Verifying the account to be verified by the account verification system of the first account system;
若通过所述第一账户体系的账户验证系统对所述待验证账户进行验证失败,则通过第二账户体系所对应的账户验证系统对所述待验证账户进行验证。If verification of the account to be verified by the account verification system of the first account system fails, the account to be verified is verified by the account verification system corresponding to the second account system.
其中,上述确定模块203具体用于:Wherein, the above-mentioned determining
当所述账户体系识别信息与所述第一账户体系的账户特征不匹配时,判断所述账户体系识别信息是否与第二账户体系的账户特征信息匹配,所述第二账户体系的账户特征信息为第三方账户隐式登录信息;When the account system identification information does not match the account features of the first account system, determine whether the account system identification information matches the account feature information of the second account system, and the account feature information of the second account system Implicit login information for third-party accounts;
当所述账户体系识别信息与所述第二账户体系的账户特征匹配时,确定所述第二账户体系为所述待验证账户最有可能所属的账户体系。When the account system identification information matches the account characteristics of the second account system, it is determined that the second account system is the account system to which the account to be verified most likely belongs.
其中,上述验证模块204具体用于:Wherein, the above-mentioned
通过所述第二账户体系的账户验证系统对所述待验证账户进行验证;Verifying the account to be verified through the account verification system of the second account system;
当通过所述第二账户体系的账户验证系统对所述待验证账户进行验证失败,则通过第三账户体系所对应的账户验证系统对所述待验证账户进行验证。When verification of the account to be verified by the account verification system of the second account system fails, the account to be verified is verified by the account verification system corresponding to the third account system.
其中,上述确定模块203用于:Wherein, the
当所述账户体系识别信息与所述第二账户体系的账户特征不匹配时,按照下述方式计算所述待验证账户对应的账户体系判定值D:When the account system identification information does not match the account characteristics of the second account system, the account system judgment value D corresponding to the account to be verified is calculated as follows:
D=x×z+(1-x)×y;D=x×z+(1-x)×y;
当所述D≤0.5时,所述账户体系识别信息符合第三账户体系的显式账户登录信息的特征,确定所述待验证账户最有可能属于第三账户体系;When the D≤0.5, the account system identification information conforms to the characteristics of the explicit account login information of the third account system, and it is determined that the account to be verified most likely belongs to the third account system;
当所述D>0.5时,所述账户体系识别信息符合所述第二账户体系的短信验证码隐式登录信息的特征,确定所述待验证账户最有可能属于第二账户体系;When the D>0.5, the account system identification information conforms to the feature of the SMS verification code implicit login information of the second account system, and it is determined that the account to be verified most likely belongs to the second account system;
其中,x为权重系数,0≤x≤1;y的值根据所述待验证账户上一次通过验证的账户体系确定;z的值通过所述待验证账户的注册方式确定。Wherein, x is a weight coefficient, 0≤x≤1; the value of y is determined according to the account system of the account to be verified that passed the verification last time; the value of z is determined by the registration method of the account to be verified.
其中,上述验证模块204还用于:Wherein, the above-mentioned
在确定出所述待验证账户最有可能属于第三账户体系后,通过所述第三账户体系的账户验证系统对所述待验证账户进行验证;After determining that the account to be verified most likely belongs to the third account system, verify the account to be verified through the account verification system of the third account system;
当通过所述第三账户体系的账户验证系统对所述待验证账户进行验证失败后,通过所述第二账户体系所对应的账户验证系统对所述待验证账户进行验证。When the account verification system of the third account system fails to verify the account to be verified, the account to be verified is verified by the account verification system corresponding to the second account system.
其中,上述验证模块204还用于:Wherein, the above-mentioned
在确定出所述待验证账户最有可能属于第二账户体系后,通过所述第二账户体系的账户验证系统对所述待验证账户进行验证。After it is determined that the account to be verified most likely belongs to the second account system, the account to be verified is verified by the account verification system of the second account system.
本发明实施例提供了一种计算机可读存储介质,其上存储有计算机程序,其特征在于,该计算机程序被处理器执行时实现:An embodiment of the present invention provides a computer-readable storage medium on which a computer program is stored, wherein the computer program is implemented when executed by a processor:
接收账户登录请求,所述账户登录请求中包含账户体系识别信息;所述账户体系识别信息包括:用于表征所述账户登录请求对应的待验证账户所属账户体系的信息;receiving an account login request, where the account login request includes account system identification information; the account system identification information includes: information used to represent the account system to which the account to be verified corresponding to the account login request belongs;
从所述账户登录请求中获取所述账户体系识别信息;Obtain the account system identification information from the account login request;
根据所述账户体系识别信息,确定所述待验证账户最有可能所属的账户体系;According to the account system identification information, determine the account system to which the account to be verified most likely belongs;
通过确定出的账户体系所对应的账户验证系统,对所述待验证账户进行验证。The account to be verified is verified through the account verification system corresponding to the determined account system.
其中,上述根据所述账户体系识别信息,确定所述待验证账户最有可能所属的账户体系,包括:Wherein, determining the account system to which the account to be verified most likely belongs is determined according to the account system identification information, including:
判断所述账户体系识别信息是否与第一账户体系的账户特征信息匹配,所述第一账户体系的账户特征信息为应用ID信息;Determine whether the account system identification information matches the account feature information of the first account system, and the account feature information of the first account system is application ID information;
当所述账户体系识别信息与所述第一账户体系的账户特征匹配时,确定所述第一账户体系为所述待验证账户最有可能所属的账户体系。When the account system identification information matches the account characteristics of the first account system, it is determined that the first account system is the account system to which the account to be verified most likely belongs.
其中,上述通过确定出的账户体系所对应的账户验证系统,对所述待验证账户进行验证,包括:Wherein, the above-mentioned verification of the account to be verified by the account verification system corresponding to the determined account system includes:
通过所述第一账户体系的账户验证系统对所述待验证账户进行验证;Verifying the account to be verified by the account verification system of the first account system;
若通过所述第一账户体系的账户验证系统对所述待验证账户进行验证失败,则通过第二账户体系所对应的账户验证系统对所述待验证账户进行验证。If verification of the account to be verified by the account verification system of the first account system fails, the account to be verified is verified by the account verification system corresponding to the second account system.
其中,上述根据所述账户体系识别信息,确定所述待验证账户最有可能所属的账户体系,还包括:Wherein, determining the account system to which the account to be verified is most likely to belong according to the account system identification information, further includes:
当所述账户体系识别信息与所述第一账户体系的账户特征不匹配时,判断所述账户体系识别信息是否与第二账户体系的账户特征信息匹配,所述第二账户体系的账户特征信息为第三方账户隐式登录信息;When the account system identification information does not match the account features of the first account system, determine whether the account system identification information matches the account feature information of the second account system, and the account feature information of the second account system Implicit login information for third-party accounts;
当所述账户体系识别信息与所述第二账户体系的账户特征匹配时,确定所述第二账户体系为所述待验证账户最有可能所属的账户体系。When the account system identification information matches the account characteristics of the second account system, it is determined that the second account system is the account system to which the account to be verified most likely belongs.
其中,上述通过确定出的账户体系所对应的账户验证系统,对所述待验证账户进行验证,包括:Wherein, the above-mentioned verification of the account to be verified by the account verification system corresponding to the determined account system includes:
通过所述第二账户体系的账户验证系统对所述待验证账户进行验证;Verifying the account to be verified through the account verification system of the second account system;
当通过所述第二账户体系的账户验证系统对所述待验证账户进行验证失败,则通过第三账户体系所对应的账户验证系统对所述待验证账户进行验证。When verification of the account to be verified by the account verification system of the second account system fails, the account to be verified is verified by the account verification system corresponding to the third account system.
其中,上述根据所述账户体系识别信息,确定所述待验证账户最有可能所属的账户体系,还包括:Wherein, determining the account system to which the account to be verified is most likely to belong according to the account system identification information, further includes:
当所述账户体系识别信息与所述第二账户体系的账户特征不匹配时,按照下述方式计算所述待验证账户对应的账户体系判定值D:When the account system identification information does not match the account characteristics of the second account system, the account system judgment value D corresponding to the account to be verified is calculated as follows:
D=x×z+(1-x)×y;D=x×z+(1-x)×y;
当所述D≤0.5时,所述账户体系识别信息符合第三账户体系的显式账户登录信息的特征,确定所述待验证账户最有可能属于第三账户体系;When the D≤0.5, the account system identification information conforms to the characteristics of the explicit account login information of the third account system, and it is determined that the account to be verified most likely belongs to the third account system;
当所述D>0.5时,所述账户体系识别信息符合所述第二账户体系的短信验证码隐式登录信息的特征,确定所述待验证账户最有可能属于第二账户体系;When the D>0.5, the account system identification information conforms to the feature of the SMS verification code implicit login information of the second account system, and it is determined that the account to be verified most likely belongs to the second account system;
其中,x为权重系数,0≤x≤1;y的值根据所述待验证账户上一次通过验证的账户体系确定;z的值通过所述待验证账户的注册方式确定。Wherein, x is a weight coefficient, 0≤x≤1; the value of y is determined according to the account system of the account to be verified that passed the verification last time; the value of z is determined by the registration method of the account to be verified.
其中,上述通过确定出的账户体系所对应的账户验证系统,对所述待验证账户进行验证,包括:Wherein, the above-mentioned verification of the account to be verified by the account verification system corresponding to the determined account system includes:
在确定出所述待验证账户最有可能属于第三账户体系后,通过所述第三账户体系的账户验证系统对所述待验证账户进行验证;After determining that the account to be verified most likely belongs to the third account system, verify the account to be verified through the account verification system of the third account system;
当通过所述第三账户体系的账户验证系统对所述待验证账户进行验证失败后,通过所述第二账户体系所对应的账户验证系统对所述待验证账户进行验证。When the account verification system of the third account system fails to verify the account to be verified, the account to be verified is verified by the account verification system corresponding to the second account system.
其中,上述通过确定出的账户体系所对应的账户验证系统,对所述待验证账户进行验证,包括:Wherein, the above-mentioned verification of the account to be verified by the account verification system corresponding to the determined account system includes:
在确定出所述待验证账户最有可能属于第二账户体系后,通过所述第二账户体系的账户验证系统对所述待验证账户进行验证After it is determined that the account to be verified most likely belongs to the second account system, the account to be verified is verified through the account verification system of the second account system
上述确定模块203、验证模块204可以由任何类型的易失性或非易失性存储设备、或者它们的组合来实现。其中,非易失性存储器可以是只读存储器(ROM,Read OnlyMemory)、可编程只读存储器(PROM,Programmable Read-Only Memory)、可擦除可编程只读存储器(EPROM,Erasable Programmable Read-Only Memory)、电可擦除可编程只读存储器(EEPROM,Electrically Erasable Programmable Read-Only Memory)、磁性随机存取存储器(FRAM,Ferromagnetic Random Access Memory)、快闪存储器(Flash Memory)、磁表面存储器、光盘、或只读光盘(CD-ROM,Compact Disc Read-Only Memory);磁表面存储器可以是磁盘存储器或磁带存储器。易失性存储器可以是随机存取存储器(RAM,Random AccessMemory),其用作外部高速缓存。通过示例性但不是限制性说明,许多形式的RAM可用,例如静态随机存取存储器(SRAM,Static Random Access Memory)、同步静态随机存取存储器(SSRAM,Synchronous Static Random Access Memory)、动态随机存取存储器(DRAM,Dynamic Random Access Memory)、同步动态随机存取存储器(SDRAM,SynchronousDynamic Random Access Memory)、双倍数据速率同步动态随机存取存储器(DDRSDRAM,Double Data Rate Synchronous Dynamic Random Access Memory)、增强型同步动态随机存取存储器(ESDRAM,Enhanced Synchronous Dynamic Random Access Memory)、同步连接动态随机存取存储器(SLDRAM,SyncLink Dynamic Random Access Memory)、直接内存总线随机存取存储器(DRRAM,Direct Rambus Random Access Memory)。本发明实施例描述的确定模块203、验证模块204旨在包括但不限于这些和任意其它适合类型的存储器。The
在示例性实施例中,所述账户的验证装置可以被一个或多个应用专用集成电路(ASIC,Application Specific Integrated Circuit)、DSP、可编程逻辑器件(PLD,Programmable Logic Device)、复杂可编程逻辑器件(CPLD,Complex Programmable LogicDevice)、现场可编程门阵列(FPGA,Field-Programmable Gate Array)、通用处理器、控制器、微控制器(MCU,Micro Controller Unit)、微处理器(Microprocessor)、或其他电子元件实现,用于执行前述方法。In an exemplary embodiment, the account verification device may be implemented by one or more Application Specific Integrated Circuit (ASIC, Application Specific Integrated Circuit), DSP, Programmable Logic Device (PLD, Programmable Logic Device), complex programmable logic Device (CPLD, Complex Programmable LogicDevice), Field Programmable Gate Array (FPGA, Field-Programmable Gate Array), General Purpose Processor, Controller, Microcontroller (MCU, Micro Controller Unit), Microprocessor (Microprocessor), or Other electronic components are implemented for performing the aforementioned method.
下面以咪咕中心的账号体系为例,对本发明实施例账号的登录方法进行进一步详细说明,其中,所述咪咕中心的账号体系包括3个账号体系,分别为一级用户中心账号体系对应于本发明实施例的第一账户体系,通行证账号体系对应于本发明实施例的第二账户体系,子公司账号体系对应于本发明实施例的第三账户体系,其中,所述子公司账号体系包括5个子公司的账号体系。The following takes the account system of the Migu Center as an example to further describe the login method of the account in the embodiment of the present invention. The account system of the Migu Center includes three account systems, which are the first-level user center account system corresponding to In the first account system of the embodiment of the present invention, the passport account system corresponds to the second account system of the embodiment of the present invention, and the subsidiary account system corresponds to the third account system of the embodiment of the present invention, wherein the subsidiary account system includes: Account system of 5 subsidiaries.
实施例一Example 1
图3为本发明第一实施例的流程示意图,如图3所述,本发明第一实施例的流程示意图包括以下步骤:FIG. 3 is a schematic flowchart of the first embodiment of the present invention. As shown in FIG. 3 , the schematic flowchart of the first embodiment of the present invention includes the following steps:
步骤301,用户在包含多个账号体系的咪咕中心的统一登录界面中输入账号(即用户名)和密码;Step 301, the user inputs an account number (i.e. user name) and a password in the unified login interface of the Migu Center that includes multiple account systems;
步骤302,将用户登录过程中携带的APP的ID、账号和密码等信息进入用户中心后台的类型判别算法中进行判断;Step 302, enter the information such as the ID, account number and password of the APP carried in the user login process into the type discrimination algorithm of the user center background for judgment;
步骤303,若根据登录条件确定用户登录类型为咪咕显式账号登录,则执行下述子步骤:进行通行证账号体系验证,若通过,则成功登录,否则登录失败;Step 303, if it is determined according to the login condition that the user login type is Migu explicit account login, the following sub-steps are performed: carry out the pass account system verification, if passed, the login is successful, otherwise the login fails;
子步骤303-1,执行图3中的1.1进行一级用户中心账号体系验证,若通过,则成功登录,并在用户账号数据表项中记录用户本次成功登录的账号体系,否则,执行子步骤303-2;Sub-step 303-1, execute 1.1 in FIG. 3 to verify the first-level user center account system, if passed, log in successfully, and record the account system that the user successfully logged in this time in the user account data table item, otherwise, execute sub-step 303-1. Step 303-2;
子步骤303-2,执行图3中的1.2进行通行证账号体系验证,若通过,则成功登录,并在用户账号数据表项中记录用户本次成功登录的账号体系,否则,执行子步骤13-3;Sub-step 303-2, execute 1.2 in FIG. 3 to verify the pass account system, if passed, log in successfully, and record the account system that the user successfully logged in this time in the user account data table item, otherwise, execute sub-step 13- 3;
子步骤303-3,执行图3中的1.3,即验证不通过,也就是验证结束。Sub-step 303-3, execute 1.3 in FIG. 3, that is, the verification fails, that is, the verification ends.
步骤304,若根据登录条件确定用户登录类型为咪咕隐式账号登录,则执行下述子步骤:Step 304, if it is determined according to the login condition that the user login type is Migu implicit account login, the following sub-steps are performed:
子步骤304-1,首先执行图3中的2.1,即对该用户的账号和密码依次进行5个子公司账号体系验证,若通过,则成功登录,并记录通过验证的账号体系;否则执行子步骤14-2;Sub-step 304-1, first execute 2.1 in FIG. 3, that is, the user's account number and password are successively verified by five subsidiary account systems, if passed, the login is successful, and the account system that has passed the verification is recorded; otherwise, the sub-step is executed 14-2;
子步骤3042,执行图3中的2.2,即验证不通过,也就是验证结束。Sub-step 3042, execute 2.2 in FIG. 3, that is, the verification fails, that is, the verification ends.
步骤305,若根据登录条件确定用户登录类型为非咪咕账号登录,则执行下述子步骤:Step 305, if it is determined according to the login condition that the user login type is non-Migu account login, the following sub-steps are performed:
子步骤305-1,执行图3中的3.1,根据用户登录时携带的APP的ID来确定进行5个子公司中的哪个子公司的账号体系验证,若通过,则成功登录,并记录通过验证的账号体系。具体来说,则是根据用户登录时携带的APP的ID来确定对用户的账号和密码进行哪个子公司的账号体系验证,APP ID的格式定义为:x+y的形式,总共6位数字,x(三位)表示子公司的编码,y(三位)表示应用代码。比如:APP ID为203005,通过计算203005得到前三位:203,则确定其对应的子公司账号体系,到其对应的账号系统中验证,如果用户名和密码正确校验,则用户验证成功,即成功登录;否则执行子步骤305-2;Sub-step 305-1, execute 3.1 in FIG. 3, determine which subsidiary account system verification of the 5 subsidiary companies is carried out according to the ID of the APP carried by the user when logging in, if it passes, then log in successfully, and record the verification. account system. Specifically, it is based on the ID of the APP carried by the user when logging in to determine which subsidiary's account system to verify the user's account and password. The format of the APP ID is defined as: x+y, a total of 6 digits, x (three digits) represents the code of the subsidiary, and y (three digits) represents the application code. For example, if the APP ID is 203005, and the first three digits are obtained by calculating 203005: 203, then the corresponding subsidiary account system is determined, and the corresponding account system is verified. If the user name and password are correctly verified, the user verification is successful, that is, Successful login; otherwise, go to sub-step 305-2;
子步骤305-2,执行图3中的3.2,对用户的账号和密码进行通行证账号体系验证,若通过,则成功登录,并记录通过验证的账号体系;否则执行子步骤15-3;Sub-step 305-2, execute 3.2 in Figure 3, verify the user's account and password with the pass account system, if passed, log in successfully, and record the account system that has passed the verification; otherwise, execute sub-step 15-3;
子步骤305-3,执行图3中的3.3,即验证不通过,也就是验证结束。Sub-step 305-3, execute 3.3 in FIG. 3, that is, the verification fails, that is, the verification ends.
步骤306,若根据登录条件确定用户登录类型为通行证账号登录,则执行下述子步骤:Step 306, if it is determined according to the login condition that the user login type is a pass account login, the following sub-steps are performed:
进行一级用户中心账号体系验证,若通过,则成功登录,否则登录失败。The first-level user center account system verification is carried out. If it passes, the login is successful, otherwise the login fails.
子步骤306-1,执行图3中的4.1,进行通行证账号体系验证,若通过,则成功登录,并记录通过验证的账号体系,否则,执行步骤16-2;Sub-step 306-1, execute 4.1 in FIG. 3, verify the account system of the passport, if passed, log in successfully, and record the account system that has passed the verification, otherwise, execute step 16-2;
子步骤306-2,执行图3中的4.2,进行一级用户中心账号体系验证,若通过,则成功登录,并记录通过验证的账号体系,否则,执行步骤16-3;Sub-step 306-2, execute 4.2 in FIG. 3, carry out the first-level user center account system verification, if passed, log in successfully, and record the account system that has passed the verification, otherwise, go to step 16-3;
子步骤306-3,执行图3中的4.3,即验证不通过,也就是验证结束。Sub-step 306-3, execute 4.3 in FIG. 3, that is, the verification fails, that is, the verification ends.
实施例二Embodiment 2
图4为本发明第二实施例的流程示意图,如图4所示,本发明第二实施例为实施例一中根据登录条件判断验证流程的算法流程示意图,所述流程包括以下步骤:FIG. 4 is a schematic flowchart of a second embodiment of the present invention. As shown in FIG. 4 , the second embodiment of the present invention is a schematic flowchart of an algorithm for judging a verification process according to login conditions in Embodiment 1, and the process includes the following steps:
步骤401,在用户发出登录请求后,确定该用户的登录账号是否为咪咕账号,若是则执行步骤402,若否,则执行步骤403;Step 401, after the user sends a login request, determine whether the user's login account is a Migu account, if so, go to step 402, if not, go to step 403;
步骤402,若确定该用户的登录账号为非咪咕账号,则可以确定该用户的账号验证流程为“3非咪咕账号验证流程”;Step 402, if it is determined that the user's login account is a non-Migu account, it can be determined that the user's account verification process is "3 non-Migu account verification processes";
步骤403,若确定该用户的登录账号为咪咕账号,则进一步确定该用户的登录账号是否为隐式账号(即确定该用户的登录方式是包含显式的账号和密码,还是通过第三方APP登录,即隐式账号),若是则执行步骤404,若否则执行步骤405;Step 403, if it is determined that the user's login account is a Migu account, then further determine whether the user's login account is an implicit account (that is, determine whether the user's login method includes an explicit account number and password, or whether it is through a third-party APP. log in, that is, an implicit account), if so, go to step 404, if not, go to step 405;
步骤404,若确定该用户的登录账号为咪咕隐式账号,则确定该用户的账号验证流程为“2咪咕隐式账号验证流程”;Step 404, if it is determined that the user's login account is a Migu implicit account, then determine that the user's account verification process is "2 Migu implicit account verification process";
步骤405,若确定该用户的登录账号为咪咕显式账号,则通过判断子算法D=x*z+(1-x)*y确定D是否大于50%,若确定D大于50%,则执行步骤406,否则执行步骤407;Step 405, if it is determined that the user's login account is an explicit Migu account, then determine whether D is greater than 50% through the judgment sub-algorithm D=x*z+(1-x)*y, and if it is determined that D is greater than 50%, execute Step 406, otherwise go to Step 407;
步骤406,若确定D大于50%,则确定该用户的账号验证流程为“通行证账号验证流程”;Step 406, if it is determined that D is greater than 50%, it is determined that the user's account verification process is "pass account verification process";
步骤407,若确定D小于等于50%,则确定该用户的账号验证流程为“咪咕显式账号验证流程”。Step 407 , if it is determined that D is less than or equal to 50%, it is determined that the user's account verification process is "Migu explicit account verification process".
其中,所述判断子算法具体由下述公式构成:Wherein, the judgment sub-algorithm is specifically composed of the following formula:
D=x*z+(1-x)*y;D=x*z+(1-x)*y;
其中,0≤x≤1,x可以根据实际情况动态调整,y则可以根据用户上一次通过验证的账号体系确定,如果为通行证账号体系则y=1,否则y=0;z则可以通过注册渠道确定,如果通过通行证渠道引流注册则z=1,否则z=0;若确定D>50%,则确定该用户的账号验证流程为“通行证账号验证流程”;否则,确定该用户的账号验证流程为“咪咕显式账号验证流程”。Among them, 0≤x≤1, x can be dynamically adjusted according to the actual situation, y can be determined according to the account system that the user passed the verification last time, if it is a pass account system, y=1, otherwise y=0; z can be registered by The channel is determined, if it is registered through the pass channel, then z=1, otherwise z=0; if it is determined that D>50%, it is determined that the user's account verification process is "pass account verification process"; otherwise, it is determined that the user's account verification process The process is "Migu explicit account verification process".
需要说明的是,以上所述,仅为本发明的较佳实施例而已,并非用于限定本发明的保护范围。It should be noted that the above descriptions are only preferred embodiments of the present invention, and are not intended to limit the protection scope of the present invention.
Claims (16)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710877286.5A CN107508835B (en) | 2017-09-25 | 2017-09-25 | Account verification method, device and computer-readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710877286.5A CN107508835B (en) | 2017-09-25 | 2017-09-25 | Account verification method, device and computer-readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107508835A CN107508835A (en) | 2017-12-22 |
CN107508835B true CN107508835B (en) | 2020-07-10 |
Family
ID=60698707
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710877286.5A Active CN107508835B (en) | 2017-09-25 | 2017-09-25 | Account verification method, device and computer-readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107508835B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110795712B (en) * | 2020-01-03 | 2020-05-22 | 北京信安世纪科技股份有限公司 | Login authentication method and device |
CN111865938B (en) * | 2020-06-30 | 2023-04-07 | 上海东普信息科技有限公司 | Login method and device |
CN114422172B (en) * | 2021-12-08 | 2024-04-05 | 深圳市明源云科技有限公司 | Account switching method, device, equipment and storage medium |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102447696A (en) * | 2011-11-17 | 2012-05-09 | 盛大计算机(上海)有限公司 | One-key registration login verification method and system for mobile equipment |
CN102546770A (en) * | 2011-12-26 | 2012-07-04 | 中兴通讯股份有限公司 | Unified account management method and third-party account management system |
CN102769628A (en) * | 2012-07-27 | 2012-11-07 | 腾讯科技(深圳)有限公司 | Page login method and server |
CN102882903A (en) * | 2011-07-12 | 2013-01-16 | 腾讯科技(深圳)有限公司 | Method and system for acquiring multi-site application information |
CN102916933A (en) * | 2011-08-03 | 2013-02-06 | 腾讯科技(深圳)有限公司 | Method and system for registration or login via third-party website |
CN103581108A (en) * | 2012-07-19 | 2014-02-12 | 阿里巴巴集团控股有限公司 | Login authentication method, login authentication client, login authentication server and login authentication system |
US8887229B1 (en) * | 1999-07-02 | 2014-11-11 | Jpmorgan Chase Bank, N.A. | System and method for single sign on process for websites with multiple applications and services |
CN104902028A (en) * | 2015-06-19 | 2015-09-09 | 赛肯(北京)科技有限公司 | Onekey registration authentication method, device and system |
CN104917727A (en) * | 2014-03-12 | 2015-09-16 | 中国移动通信集团福建有限公司 | Account authentication method, system and apparatus |
CN105959309A (en) * | 2016-07-01 | 2016-09-21 | 乐视控股(北京)有限公司 | User permission management method and system |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101237341A (en) * | 2007-02-01 | 2008-08-06 | 阿里巴巴公司 | User information processing method and system |
CN103118043B (en) * | 2011-11-16 | 2015-12-02 | 阿里巴巴集团控股有限公司 | A kind of recognition methods of user account and equipment |
CN106304073A (en) * | 2016-08-30 | 2017-01-04 | 福建富士通信息软件有限公司 | A kind of authentication management method and system of WIFI Portal |
-
2017
- 2017-09-25 CN CN201710877286.5A patent/CN107508835B/en active Active
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8887229B1 (en) * | 1999-07-02 | 2014-11-11 | Jpmorgan Chase Bank, N.A. | System and method for single sign on process for websites with multiple applications and services |
CN102882903A (en) * | 2011-07-12 | 2013-01-16 | 腾讯科技(深圳)有限公司 | Method and system for acquiring multi-site application information |
CN102916933A (en) * | 2011-08-03 | 2013-02-06 | 腾讯科技(深圳)有限公司 | Method and system for registration or login via third-party website |
CN102447696A (en) * | 2011-11-17 | 2012-05-09 | 盛大计算机(上海)有限公司 | One-key registration login verification method and system for mobile equipment |
CN102546770A (en) * | 2011-12-26 | 2012-07-04 | 中兴通讯股份有限公司 | Unified account management method and third-party account management system |
CN103581108A (en) * | 2012-07-19 | 2014-02-12 | 阿里巴巴集团控股有限公司 | Login authentication method, login authentication client, login authentication server and login authentication system |
CN102769628A (en) * | 2012-07-27 | 2012-11-07 | 腾讯科技(深圳)有限公司 | Page login method and server |
CN104917727A (en) * | 2014-03-12 | 2015-09-16 | 中国移动通信集团福建有限公司 | Account authentication method, system and apparatus |
CN104902028A (en) * | 2015-06-19 | 2015-09-09 | 赛肯(北京)科技有限公司 | Onekey registration authentication method, device and system |
CN105959309A (en) * | 2016-07-01 | 2016-09-21 | 乐视控股(北京)有限公司 | User permission management method and system |
Also Published As
Publication number | Publication date |
---|---|
CN107508835A (en) | 2017-12-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2021227966A1 (en) | Binding processing | |
KR102098441B1 (en) | Identity authentication by using human biological characteristics | |
WO2020253225A1 (en) | Enterprise authentication and authentication tracing methods, apparatuses and devices based on block chain | |
WO2017028630A1 (en) | Verification method and server | |
WO2016165536A1 (en) | Identity verification method and device | |
JP2019512976A (en) | Identity registration method and device | |
WO2020181809A1 (en) | Data processing method and system based on interface checking, and computer device | |
US10664587B1 (en) | Setting an authorization level at enrollment | |
CN107508835B (en) | Account verification method, device and computer-readable storage medium | |
CN105187412B (en) | A kind of login authentication method based on gesture identification, apparatus and system | |
TW201516910A (en) | Method and system for authenticating service | |
CN107508793A (en) | A kind of method and device based on towards tangent plane programming AOP certifications and mandate | |
JP6629973B2 (en) | Method and apparatus for recognizing a service request to change a mobile phone number | |
TW202040385A (en) | System for using device identification to identify via telecommunication server and method thereof | |
US10069825B2 (en) | Electronic device identification | |
US20200314073A1 (en) | Secure communication between an intermediary device and a network | |
US20150295918A1 (en) | User authentication system in web mash-up circumstance and authenticating method thereof | |
CN109063461B (en) | A third-party password-free login method and system | |
CN113837765B (en) | Payment verification method, device, equipment and storage medium | |
CN111680279B (en) | Login verification method, device and system | |
US11861587B1 (en) | Encrypted multi-factor authentication technologies | |
CN104036392A (en) | Network payment method and device | |
CN111832259B (en) | JSON data generation method and equipment | |
CN109582387B (en) | Service class baseline item identification method and device | |
CN117132283A (en) | Identification method, apparatus, computer device, storage medium, and program product |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |