CN107508835B - Account verification method and device and computer readable storage medium - Google Patents

Account verification method and device and computer readable storage medium Download PDF

Info

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
Application number
CN201710877286.5A
Other languages
Chinese (zh)
Other versions
CN107508835A (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.)
Migu Cultural Technology Co Ltd
Original Assignee
Migu Cultural Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Migu Cultural Technology Co Ltd filed Critical Migu Cultural Technology Co Ltd
Priority to CN201710877286.5A priority Critical patent/CN107508835B/en
Publication of CN107508835A publication Critical patent/CN107508835A/en
Application granted granted Critical
Publication of CN107508835B publication Critical patent/CN107508835B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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/0815Network 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, which comprises the following steps: receiving an account login request, wherein the account login request comprises account system identification information; the account system identification information includes: the information is used for representing the account system of the account to be verified corresponding to the account login request; acquiring the account system identification information from the account login request; determining the most probable account system to which the account to be verified belongs according to the account system identification information; and verifying the account to be verified through the determined account verification system corresponding to the account system. The invention also discloses an account verification device and a computer readable storage medium.

Description

Account verification method and device and computer readable storage medium
Technical Field
The present invention relates to computer technologies, and in particular, to a method and an apparatus for verifying an account, and a computer-readable storage medium.
Background
With the rapid development of mobile internet, the way of account (user name) and password is still a basic and mainstream verification way, and with the integration of internet companies and services, an APP often includes multiple account verification systems, that is, a user of an APP can register the APP through multiple channels, such as: the account and the password can be directly registered through the APP (explicit account), the account and the password can be registered through other APPs (pass accounts) in a cooperative relationship with the APP, the account and the password can also be registered through a short message verification code mode (implicit account), the account and the password information registered through different modes can be stored in a corresponding account system, and a user needs to enter from different account verification systems to verify and log in the account and the password when logging in the APP. Currently, the following two methods are adopted for this situation:
mode 1: on a front-end login page, a user manually selects an account system corresponding to a registered source to log in, namely manually selects the account system or a background needing to be verified;
mode 2: and after the user logs in, the background adopts a sequential polling mode to sequentially match and verify the account number and the password of the user with each account number system.
In the scenario of the above mode 1, when the user logs in the APP, the account system corresponding to the user registration source needs to be selected to verify the account and the password of the user, which may additionally increase user operations, cause confusion on selection for the user, and may cause errors in selection; in addition, this scenario may increase the complexity of the account login interface.
In the scenario of the mode 2, if the account and the password of the user are sequentially matched with each account system for verification in a sequential polling manner, verification time is increased, and user experience is affected.
Disclosure of Invention
In view of this, embodiments of the present invention are expected to provide an account verification method, an account verification apparatus, and a computer-readable storage medium, which can determine a system to which an account belongs according to identification information of the account, and perform corresponding verification on the account according to a verification method of the system of the account, thereby reducing the number of times of matching verification between a user and the verification system, and improving verification efficiency.
In order to achieve the above object, an embodiment of the present invention provides an account verification method, including:
receiving an account login request, wherein the account login request comprises account system identification information; the account system identification information includes: the information is used for representing the account system of the account to be verified corresponding to the account login request;
acquiring the account system identification information from the account login request;
determining the most probable account system to which the account to be verified belongs according to the account system identification information;
and verifying the account to be verified through the determined account verification system corresponding to the account system.
The determining, according to the account system identification information, the most likely account system to which the account to be authenticated belongs includes:
judging whether the account system identification information is matched with account characteristic information of a first account system, wherein the account characteristic information of the first account system is application ID information;
and when the account system identification information is matched with the account characteristics of the first account system, determining that the first account system is the account system to which the account to be verified belongs most probably.
The verifying the account to be verified through the account verification system corresponding to the determined account system comprises the following steps:
verifying the account to be verified through an account verification system of the first account system;
and if the account to be verified is failed to be verified through the account verification system of the first account system, verifying the account to be verified through an account verification system corresponding to a second account system.
The determining, according to the account system identification information, the most likely account system to which the account to be authenticated belongs further includes:
when the account system identification information is not matched with the account characteristics of the first account system, judging whether the account system identification information is matched with account characteristic information of a second account system, wherein the account characteristic information of the second account system is implicit login information of a third-party account;
and when the account system identification information is matched with the account characteristics of the second account system, determining that the second account system is the account system to which the account to be verified belongs most probably.
The verifying the account to be verified through the account verification system corresponding to the determined account system comprises the following steps:
verifying the account to be verified through an account verification system of the second account system;
and when the account to be verified is failed to be verified through the account verification system of the second account system, verifying the account to be verified through an account verification system corresponding to a third account system.
The determining, according to the account system identification information, the most likely account system to which the account to be authenticated belongs further includes:
when the account system identification information is not matched with the account characteristics of the second account system, calculating an account system judgment value D corresponding to the account to be verified according to the following mode:
D=x×z+(1-x)×y;
when the D is less than or equal to 0.5, the account system identification information accords with the characteristics of the explicit account login information of a third account system, and the account to be verified is determined to most probably belong to the third account system;
when the D is greater than 0.5, the account system identification information accords with the characteristics of the implicit login information of the short message verification code of the second account system, and the account to be verified is determined to most probably belong to the second account system;
wherein x is a weight coefficient, and x is more than or equal to 0 and less than or equal to 1; the value of y is determined according to the account system which passes the verification last time on the account to be verified; and the value of z is determined by the registration mode of the account to be verified.
The verifying the account to be verified through the account verification system corresponding to the determined account system comprises the following steps:
after determining that the account to be verified most possibly belongs to a third account system, verifying the account to be verified through an account verification system of the third account system;
and when the account to be verified is failed to be verified through the account verification system of the third account system, verifying the account to be verified through the account verification system corresponding to the second account system.
The verifying the account to be verified through the account verification system corresponding to the determined account system comprises the following steps:
and after determining that the account to be verified most possibly belongs to a second account system, verifying the account to be verified through an account verification system of the second account system.
The embodiment of the invention provides an account verification device, which comprises:
the system comprises a receiving module, a judging module and a judging module, wherein the receiving module is used for receiving an account login request which comprises account system identification information;
the acquisition module is used for acquiring the account system identification information from the account login request;
the determining module is used for determining the most probable account system to which the account to be verified belongs according to the account system identification information;
the verification module is used for verifying the account to be verified through the account verification system corresponding to the determined account system;
wherein the determining module is specifically configured to:
judging whether the account system identification information is matched with account characteristic information of a first account system, wherein the account characteristic information of the first account system is application ID information;
and when the account system identification information is matched with the account characteristics of the first account system, determining that the first account system is the account system to which the account to be verified belongs most probably.
Wherein the verification module is configured to:
verifying the account to be verified through an account verification system of the first account system;
and if the account to be verified is failed to be verified through the account verification system of the first account system, verifying the account to be verified through an account verification system corresponding to a second account system.
Wherein the determining module is specifically configured to:
when the account system identification information is not matched with the account characteristics of the first account system, judging whether the account system identification information is matched with account characteristic information of a second account system, wherein the account characteristic information of the second account system is implicit login information of a third-party account;
and when the account system identification information is matched with the account characteristics of the second account system, determining that the second account system is the account system to which the account to be verified belongs most probably.
Wherein, the verification module is specifically configured to:
verifying the account to be verified through an account verification system of the second account system;
and when the account to be verified is failed to be verified through the account verification system of the second account system, verifying the account to be verified through an account verification system corresponding to a third account system.
Wherein the determining module is configured to:
when the account system identification information is not matched with the account characteristics of the second account system, calculating an account system judgment value D corresponding to the account to be verified according to the following mode:
D=x×z+(1-x)×y;
when the D is less than or equal to 0.5, the account system identification information accords with the characteristics of the explicit account login information of a third account system, and the account to be verified is determined to most probably belong to the third account system;
when the D is greater than 0.5, the account system identification information accords with the characteristics of the implicit login information of the short message verification code of the second account system, and the account to be verified is determined to most probably belong to the second account system;
wherein x is a weight coefficient, and x is more than or equal to 0 and less than or equal to 1; the value of y is determined according to the account system which passes the verification last time on the account to be verified; and the value of z is determined by the registration mode of the account to be verified.
Wherein, the verification module is further configured to:
after determining that the account to be verified most possibly belongs to a third account system, verifying the account to be verified through an account verification system of the third account system;
and when the account to be verified is failed to be verified through the account verification system of the third account system, verifying the account to be verified through the account verification system corresponding to the second account system.
Wherein, the verification module is further configured to:
and after determining that the account to be verified most possibly belongs to a second account system, verifying the account to be verified through an account verification system of the second account system.
The embodiment of the invention provides an account verification device, which comprises: a processor and a memory for storing a computer program capable of running on the processor,
wherein the processor is configured to execute, when running the computer program:
receiving an account login request, wherein the account login request comprises account system identification information; the account system identification information includes: the information is used for representing the account system of the account to be verified corresponding to the account login request; acquiring the account system identification information from the account login request; determining the most probable account system to which the account to be verified belongs according to the account system identification information; and verifying the account to be verified through the determined account verification system corresponding to the account system.
An embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, the computer program being executed by a processor to:
receiving an account login request, wherein the account login request comprises account system identification information; the account system identification information includes: the information is used for representing the account system of the account to be verified corresponding to the account login request; acquiring the account system identification information from the account login request; determining the most probable account system to which the account to be verified belongs according to the account system identification information; and verifying the account to be verified through the determined account verification system corresponding to the account system.
According to the account verification method, the account verification device and the computer storage medium provided by the embodiment of the invention, an account login request is received, wherein the account login request comprises account system identification information; the account system identification information includes: the information is used for representing the account system of the account to be verified corresponding to the account login request; acquiring the account system identification information from the account login request; determining the most probable account system to which the account to be verified belongs according to the account system identification information; and verifying the account to be verified through the determined account verification system corresponding to the account system. Therefore, 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 of the account, so that the problem that in the prior art, after a user requests to log in the account, the verification information of the user account is sequentially verified in a polling mode is avoided, the matching verification times of the user and the verification system are reduced, and the verification efficiency is improved.
Drawings
FIG. 1 is a flowchart illustrating an account verification method according to an embodiment of the present invention;
FIG. 2 is a schematic structural diagram of an account verification apparatus according to an embodiment of the present invention;
FIG. 3 is a schematic flow chart of a first embodiment of the present invention;
FIG. 4 is a flow chart illustrating a second embodiment of the present invention.
Detailed Description
In order to understand the features and technical contents of the embodiments of the present invention in more detail, the following describes the implementation of the embodiments of the present invention in detail.
Fig. 1 is a schematic flowchart of an account verification method according to an embodiment of the present invention, and as shown in fig. 1, the account verification method according to the embodiment of the present invention includes the following steps:
step 101: receiving an account login request, wherein the account login request comprises account system identification information;
in practical application, the step of receiving the account login request by the server may be a login interface provided by the server to the user, and the user may input an account number and a password through the unified login interface or perform login in other manners (for example, login via a third party APP), and send account login request information to the server;
the login interface can be an application login interface comprising a plurality of account systems, and the interface can directly input an account and a password for login without confirming a registration source when a user registers an account; the account verification information can be an account number/user name and a password input by a user; the account identification information may be identification information of an application carried by the user during login, and the authentication information of the user may be verified through corresponding account system authentication according to the identification information of the application.
Step 102: acquiring the account system identification information from the account login request;
wherein the account system identification information includes: the information is used for representing the account system of the account to be verified corresponding to the account login request;
step 103: determining the most probable account system to which the account to be verified belongs according to the account system identification information;
wherein, the determining the most probable account system to which the account to be verified belongs according to the account system identification information includes:
judging whether the account system identification information is matched with account characteristic information of a first account system, wherein the account characteristic information of the first account system is application ID information;
and when the account system identification information is matched with the account characteristics of the first account system, determining that the first account system is the account system to which the account to be verified belongs most probably.
According to the account system identification information, determining the most probable account system to which the account to be verified belongs, further comprising:
when the account system identification information is not matched with the account characteristics of the first account system, judging whether the account system identification information is matched with account characteristic information of a second account system, wherein the account characteristic information of the second account system is implicit login information of a third-party account;
and when the account system identification information is matched with the account characteristics of the second account system, determining that the second account system is the account system to which the account to be verified belongs most probably.
According to the account system identification information, determining the most probable account system to which the account to be verified belongs, further comprising:
when the account system identification information is not matched with the account characteristics of the second account system, calculating an account system judgment value D corresponding to the account to be verified according to the following mode:
D=x×z+(1-x)×y;
when the D is less than or equal to 0.5, the account system identification information accords with the characteristics of the explicit account login information of a third account system, and the account to be verified is determined to most probably belong to the third account system;
when the D is greater than 0.5, the account system identification information accords with the characteristics of the implicit login information of the short message verification code of the second account system, and the account to be verified is determined to most probably belong to the second account system;
wherein x is a weight coefficient, and x is more than or equal to 0 and less than or equal to 1; the value of y is determined according to the account system which passes the verification last time on the account to be verified; and the value of z is determined by the registration mode of the account to be verified.
In practical applications, the account system and the account verification system corresponding to the account system store an account number and a password that are input by a user when registering an account number, for example: when a user registers an account and a password through an application corresponding to the first identification information, the registered account and password are stored in a first account system, and so on, the registered account and password are stored in a second account system through an application corresponding to the second identification information, the registered account and password are stored in a third account system through an application corresponding to the third identification information, and so on.
In step 103, entering a type discrimination algorithm of a user center background according to information such as an APP ID, an account, and a password carried in a user login process for judgment is as follows: firstly, determining whether the account is an account of a first APP, if so, determining whether the account is an implicit account of the first APP (logging in through a third party APP), and otherwise, determining the account is not the account of the first APP; and if the implicit account is determined to be the non-first APP, further determining the account type of the non-first APP through a judgment sub-algorithm. The formula of the judgment sub-algorithm is D ═ x z + (1-x) y, x is more than or equal to 0 and less than or equal to 1, and the judgment sub-algorithm can be dynamically adjusted according to actual conditions; y is determined according to the account system of the last authentication pass of the user, if the user is the pass account system, y is 1, otherwise, y is 0; z is determined through a registration channel, if the registration is conducted through a pass channel, z is equal to 1, and otherwise, z is equal to 0; and if D is determined to be larger than 0.5, determining that the account authentication flow of the user is a pass account authentication flow, and otherwise, determining that the account authentication flow of the user is an explicit account authentication flow of the first APP.
Step 104: and verifying the account to be verified through the determined account verification system corresponding to the account system.
The verifying the account to be verified through the determined account verification system corresponding to the account system comprises the following steps:
verifying the account to be verified through an account verification system of the first account system;
and if the account to be verified is failed to be verified through the account verification system of the first account system, verifying the account to be verified through an account verification system corresponding to a second account system.
Verifying the account to be verified through the determined account verification system corresponding to the account system, wherein the verification comprises the following steps:
verifying the account to be verified through an account verification system of the second account system;
and when the account to be verified is failed to be verified through the account verification system of the second account system, verifying the account to be verified through an account verification system corresponding to a third account system.
Verifying the account to be verified through the determined account verification system corresponding to the account system, wherein the verification comprises the following steps:
after determining that the account to be verified most possibly belongs to a third account system, verifying the account to be verified through an account verification system of the third account system;
and when the account to be verified is failed to be verified through the account verification system of the third account system, verifying the account to be verified through the account verification system corresponding to the second account system.
The verifying the account to be verified through the account verification system corresponding to the determined account system comprises the following steps:
and after determining that the account to be verified most possibly belongs to a second account system, verifying the account to be verified through an account verification system of the second account system.
In practical application, when it is determined that the identification information of the user login account is the first identification information or meets the naming rule of the first account system registration, it is determined that the account verification information (which may be an account and a password) input by the user has a higher probability of being the account verification information (which may be an account and a password) input during the registration completed in the first account system, so that the account verification information can be verified according to the preset account verification system corresponding to the first account system, when the verification fails, the account verification information can be verified according to the preset account verification system corresponding to the second account system, the second account system has a higher probability of being the account system corresponding to the user registration account compared with other account systems, and so on, the account system corresponding to the user registration having the higher probability can be determined by determining the identification information of the user account, the sequential polling verification of the account system when the user logs in the account in the prior art is avoided.
Under normal conditions, a user registers an account and a password obtained through a first account system (a primary user center account system: user registration information and the like of a core service is stored) and a third account system (a secondary user center account system: user registration information and the like of other services related to the core service is stored), the account and the password information of the user are preferentially stored in a second account system (a general user account system: user registration information of the core service is stored, user registration information of other services related to the core service and user registration information of related services with cooperative properties and the like), therefore, the authentication through the second account system is the most likely to pass the authentication, and the account and the password information of the user may also be stored in the first account system or the third account system, therefore, in the case that the second account system does not pass, the verification is carried out by the first account system or the third account system.
In practical application, if the user login type is determined to be the explicit account login of the first APP according to the login condition, first authentication of a primary user center account system is carried out, if the user login type passes the authentication, the login is successful, otherwise, authentication of a pass account system is carried out, if the user login type passes the authentication, the login is successful, and if the user login type does not pass the authentication, the login is failed;
it should be noted that, if it is determined that the login type of the user is explicit account login, for example, when the account and the password input by the user conform to the naming rule for registering the account and the password of the first APP, the probability that the user directly registers through the first APP is the highest, and therefore, the primary user center account system authentication is performed first, so that sequential polling authentication can be avoided, and the authentication efficiency is improved.
If the login type of the user is determined to be the implicit account login of the first APP according to the login conditions, firstly authenticating a pass account system, if the pass account system passes, successfully logging in, and otherwise, failing to log in;
it should be noted that, in the implicit account login, the login operation is performed in a short message verification code manner, and when the login is performed in this manner, the probability that other APPs having a cooperative relationship with the first APP register accounts and passwords is the greatest, so that the pass account authentication system is selected for authentication, and the probability that the pass accounts are the greatest, thereby improving the authentication efficiency.
If the user login type is determined to be account login of the non-first APP according to the login conditions, firstly, performing account system authentication of the subsidiary company, if the user login type passes the account system authentication, successfully logging in, otherwise, performing pass account system authentication, if the user login type passes the pass account system authentication, successfully logging in, and otherwise, failing to log in;
it should be noted that, this case refers to a case where the user does not directly register the account and the password through the first APP, so that the probability of registering the account and the password through the account system of the sub-company is high, and the probability of passing the authentication is also the greatest when the account system of the sub-company is used for authentication first, and this case may also be that the user registers through another APP in a cooperative relationship with the first APP, so that the account system of the sub-company is authenticated again through the pass account system on the premise that the account system of the sub-company is not passed through the authentication.
If the user login type is determined to be the pass account login according to the login conditions, the pass account system authentication is firstly carried out, if the pass account system authentication passes, the pass account system authentication is successfully logged in, otherwise, the primary user center account system authentication is carried out, if the pass account system authentication passes, the pass account system authentication is successfully logged in, and otherwise, the login fails.
It should be noted that, in this case, generally, the account and the password obtained by registering the user through another APP in a cooperative relationship with the first APP are obtained, and in this case, the account and the password information of the user are preferentially stored in the pass account system, so that the possibility that the user passes the authentication is the greatest when the user passes the authentication through the pass account system first, and in this case, the account and the password information of the user may also be stored in the primary user center account system, so that the account and the password of the user are authenticated through the primary user center account system when the pass account system fails the authentication.
Fig. 2 is a schematic view of a composition structure of an account verification apparatus according to an embodiment of the present invention, where the account verification apparatus includes:
a receiving module 201, configured to receive an account login request, where the account login request includes account system identification information;
an obtaining module 202, configured to obtain the account system identification information from the account login request;
the determining module 203 is configured to determine, according to the account system identification information, an account system to which the account to be verified most likely belongs;
the verification module 204 is configured to verify the account to be verified through the account verification system corresponding to the determined account system;
the determining module 203 is specifically configured to:
judging whether the account system identification information is matched with account characteristic information of a first account system, wherein the account characteristic information of the first account system is application ID information;
and when the account system identification information is matched with the account characteristics of the first account system, determining that the first account system is the account system to which the account to be verified belongs most probably.
Wherein the verification module 204 is configured to:
verifying the account to be verified through an account verification system of the first account system;
and if the account to be verified is failed to be verified through the account verification system of the first account system, verifying the account to be verified through an account verification system corresponding to a second account system.
The determining module 203 is specifically configured to:
when the account system identification information is not matched with the account characteristics of the first account system, judging whether the account system identification information is matched with account characteristic information of a second account system, wherein the account characteristic information of the second account system is implicit login information of a third-party account;
and when the account system identification information is matched with the account characteristics of the second account system, determining that the second account system is the account system to which the account to be verified belongs most probably.
The verification module 204 is specifically configured to:
verifying the account to be verified through an account verification system of the second account system;
and when the account to be verified is failed to be verified through the account verification system of the second account system, verifying the account to be verified through an account verification system corresponding to a third account system.
Wherein the determining module 203 is configured to:
when the account system identification information is not matched with the account characteristics of the second account system, calculating an account system judgment value D corresponding to the account to be verified according to the following mode:
D=x×z+(1-x)×y;
when the D is less than or equal to 0.5, the account system identification information accords with the characteristics of the explicit account login information of a third account system, and the account to be verified is determined to most probably belong to the third account system;
when the D is greater than 0.5, the account system identification information accords with the characteristics of the implicit login information of the short message verification code of the second account system, and the account to be verified is determined to most probably belong to the second account system;
wherein x is a weight coefficient, and x is more than or equal to 0 and less than or equal to 1; the value of y is determined according to the account system which passes the verification last time on the account to be verified; and the value of z is determined by the registration mode of the account to be verified.
Wherein, the verification module 204 is further configured to:
after determining that the account to be verified most possibly belongs to a third account system, verifying the account to be verified through an account verification system of the third account system;
and when the account to be verified is failed to be verified through the account verification system of the third account system, verifying the account to be verified through the account verification system corresponding to the second account system.
Wherein, the verification module 204 is further configured to:
and after determining that the account to be verified most possibly belongs to a second account system, verifying the account to be verified through an 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, where the computer program is executed by a processor to implement:
receiving an account login request, wherein the account login request comprises account system identification information; the account system identification information includes: the information is used for representing the account system of the account to be verified corresponding to the account login request;
acquiring the account system identification information from the account login request;
determining the most probable account system to which the account to be verified belongs according to the account system identification information;
and verifying the account to be verified through the determined account verification system corresponding to the account system.
The determining, according to the account system identification information, the most likely account system to which the account to be authenticated belongs includes:
judging whether the account system identification information is matched with account characteristic information of a first account system, wherein the account characteristic information of the first account system is application ID information;
and when the account system identification information is matched with the account characteristics of the first account system, determining that the first account system is the account system to which the account to be verified belongs most probably.
The verifying the account to be verified through the account verification system corresponding to the determined account system comprises the following steps:
verifying the account to be verified through an account verification system of the first account system;
and if the account to be verified is failed to be verified through the account verification system of the first account system, verifying the account to be verified through an account verification system corresponding to a second account system.
The determining, according to the account system identification information, the most likely account system to which the account to be authenticated belongs further includes:
when the account system identification information is not matched with the account characteristics of the first account system, judging whether the account system identification information is matched with account characteristic information of a second account system, wherein the account characteristic information of the second account system is implicit login information of a third-party account;
and when the account system identification information is matched with the account characteristics of the second account system, determining that the second account system is the account system to which the account to be verified belongs most probably.
The verifying the account to be verified through the account verification system corresponding to the determined account system comprises the following steps:
verifying the account to be verified through an account verification system of the second account system;
and when the account to be verified is failed to be verified through the account verification system of the second account system, verifying the account to be verified through an account verification system corresponding to a third account system.
The determining, according to the account system identification information, the most likely account system to which the account to be authenticated belongs further includes:
when the account system identification information is not matched with the account characteristics of the second account system, calculating an account system judgment value D corresponding to the account to be verified according to the following mode:
D=x×z+(1-x)×y;
when the D is less than or equal to 0.5, the account system identification information accords with the characteristics of the explicit account login information of a third account system, and the account to be verified is determined to most probably belong to the third account system;
when the D is greater than 0.5, the account system identification information accords with the characteristics of the implicit login information of the short message verification code of the second account system, and the account to be verified is determined to most probably belong to the second account system;
wherein x is a weight coefficient, and x is more than or equal to 0 and less than or equal to 1; the value of y is determined according to the account system which passes the verification last time on the account to be verified; and the value of z is determined by the registration mode of the account to be verified.
The verifying the account to be verified through the account verification system corresponding to the determined account system comprises the following steps:
after determining that the account to be verified most possibly belongs to a third account system, verifying the account to be verified through an account verification system of the third account system;
and when the account to be verified is failed to be verified through the account verification system of the third account system, verifying the account to be verified through the account verification system corresponding to the second account system.
The verifying the account to be verified through the account verification system corresponding to the determined account system comprises the following steps:
after the account to be verified is determined to be most likely to belong to a second account system, the account to be verified is verified through an account verification system of the second account system
The determination module 203 and the verification module 204 may be implemented by any type of volatile or non-volatile Memory device, or a combination thereof, wherein the non-volatile Memory may be a Read Only Memory (ROM), a Programmable Read Only Memory (PROM), an Erasable Programmable Read Only Memory (EPROM), an Electrically Erasable Programmable Read Only Memory (EEPROM), a magnetic Random Access Memory (FRAM), a magnetic Random Access Memory (Flash Memory), a magnetic surface Memory, an optical Disc, or a Compact Disc Read Only Memory (CD-ROM), a magnetic Disc Read-Only Memory (magnetic surface Memory), a magnetic Disc Memory (magnetic Random Access Memory), or a Dynamic Random Access Memory (DRAM), or a Random Access Memory (DRAM), or any other Random Access Memory devices suitable for external Access, such as a Dynamic Random Access Memory (SDRAM), or a Dynamic Random Access Memory (Dynamic Random Access Memory) and a Dynamic Random Access Memory (SDRAM), or a Dynamic Random Access Memory (Dynamic Random Access Memory) including a Dynamic Random Access Memory (RAM) and a Dynamic Random Access protocol (Dynamic Random Access protocol) module, such as a Dynamic Random Access protocol Access module, a Dynamic Random Access Memory (RAM) and a Random Access module (Random Access Memory, a Random Access Memory (Random Access Memory, a Random Access module, a Random Access Memory, a Dynamic Access Memory (DRAM) may be used as an Access module, a Dynamic Access Memory, a Random Access module, a Dynamic Access Memory (RAM) suitable for example, a Dynamic Access Memory, a Random Access module, a Random Access Memory, a Random Access module, a Dynamic Access Memory, a Random Access Memory, a Dynamic Access module, a Dynamic Access Memory (DRAM, a Dynamic Access Memory, a Dynamic Access module, a Dynamic Access Memory.
In an exemplary embodiment, the account verification Device may be implemented by one or more Application Specific Integrated Circuits (ASICs), DSPs, Programmable logic devices (P L D, Programmable L) Complex Programmable logic devices (CP L D, Complex Programmable L) devices, Field Programmable Gate Arrays (FPGAs), general purpose processors, controllers, Micro Controllers (MCUs), microprocessors (microprocessors), or other electronic components for performing the aforementioned methods.
Taking an account system of a migu center as an example, the account login method of the embodiment of the present invention is further described in detail, where the account system of the migu center includes 3 account systems, each of which is a primary user center account system corresponding to the first account system of the embodiment of the present invention, a pass account system corresponding to the second account system of the embodiment of the present invention, and a sub-company account system corresponding to the third account system of the embodiment of the present invention, where the sub-company account system includes 5 sub-company account systems.
Example one
Fig. 3 is a schematic flow chart of the first embodiment of the present invention, and as shown in fig. 3, the schematic flow chart of the first embodiment of the present invention includes the following steps:
step 301, a user inputs an account (i.e. a user name) and a password in a unified login interface of a migu center comprising a plurality of account systems;
step 302, entering information such as an ID, an account number and a password of an APP carried in a user login process into a type discrimination algorithm of a user center background for judgment;
step 303, if it is determined that the user login type is an imigu explicit account login according to the login condition, performing the following substeps: verifying the pass account system, if the pass account system passes the verification, successfully logging in, and otherwise, failing to log in;
substep 303-1, executing 1.1 in fig. 3 to perform primary user center account system verification, if the verification passes, successfully logging in, and recording the account system successfully logged in this time by the user in the user account data entry, otherwise, executing substep 303-2;
substep 303-2, executing 1.2 in fig. 3 to verify the pass account system, if the pass account system passes, successfully logging in, and recording the account system successfully logged in by the user in the user account data table entry, otherwise, executing substep 13-3;
sub-step 303-3, perform 1.3 in fig. 3, i.e. verification failed, i.e. verification ended.
Step 304, if the login type of the user is determined to be the migu implicit account login according to the login condition, executing the following substeps:
substep 304-1, firstly, executing 2.1 in fig. 3, namely, sequentially verifying the account and the password of the user by 5 subsidiary account systems, if the account and the password pass the verification, successfully logging in, and recording the account system passing the verification; otherwise, performing substep 14-2;
sub-step 3042, perform 2.2 in fig. 3, i.e. verify not passed, i.e. verify end.
Step 305, if the login type of the user is determined to be non-imigu account login according to the login condition, executing the following substeps:
substep 305-1, executing 3.1 in fig. 3, determining which sub-company of the 5 sub-companies has account system authentication according to the ID of the APP carried by the user during login, and if the account system authentication passes, successfully logging in, and recording the account system passing the authentication. Specifically, the account system of which sub-company is authenticated for the account and the password of the user is determined according to the APP ID carried by the user during login, and the format of the APP ID is defined as: x + y form, a total of 6 digits, x (three digits) representing the coding of the subsidiary, y (three digits) representing the application code. Such as: APP ID is 203005, the first three are found by calculation 203005: 203, determining the corresponding sub-company account system, verifying in the corresponding account system, if the user name and the password are correctly verified, the user is successfully verified, namely successfully logging in; otherwise, performing substep 305-2;
substep 305-2, executing 3.2 in fig. 3, performing pass account system verification on the account and the password of the user, if the pass account system verification passes, successfully logging in, and recording the account system passing the verification; otherwise, executing the substep 15-3;
sub-step 305-3, perform 3.3 in fig. 3, i.e. verification failed, i.e. verification ended.
Step 306, if the user login type is determined to be the pass account login according to the login condition, executing the following substeps:
and performing primary user center account system verification, if the primary user center account system passes the verification, successfully logging in, and otherwise, failing to log in.
Substep 306-1, executing 4.1 in fig. 3, performing pass account system verification, if the pass account system passes, successfully logging in, and recording the account system passing the verification, otherwise, executing step 16-2;
substep 306-2, executing 4.2 in fig. 3, performing primary user center account system verification, if the primary user center account system passes the verification, successfully logging in, and recording the account system passing the verification, otherwise, executing step 16-3;
sub-step 306-3, perform 4.3 in fig. 3, i.e. verification fails, i.e. verification ends.
Example two
Fig. 4 is a schematic flowchart of a second embodiment of the present invention, and as shown in fig. 4, the second embodiment of the present invention is a schematic flowchart of an algorithm for determining an authentication flow according to login conditions in the first embodiment of the present invention, where the flow includes the following steps:
step 401, after a user sends a login request, determining whether a login account of the user is a mikur account, if so, executing step 402, and if not, executing step 403;
step 402, if the login account of the user is determined to be a non-migu account, the account verification process of the user may be determined to be a "3 non-migu account verification process";
step 403, if it is determined that the login account of the user is a migu account, further determining whether the login account of the user is an implicit account (i.e., determining whether the login manner of the user includes an explicit account and a password, or login via a third-party APP, i.e., an implicit account), if so, performing step 404, otherwise, performing step 405;
step 404, if the login account of the user is determined to be an implicit account of migu, determining that the account verification process of the user is a 'implicit account verification process of 2 migu';
step 405, if the login account of the user is determined to be an mikurt explicit account, determining whether D is greater than 50% by judging a sub-algorithm D ═ x × z + (1-x) × y, if so, executing step 406, otherwise, executing step 407;
step 406, if it is determined that D is greater than 50%, determining that the account verification process of the user is a pass account verification process;
in step 407, if it is determined that D is less than or equal to 50%, the account verification process of the user is determined to be an "migu explicit account verification process".
The judgment sub-algorithm is specifically composed of the following formula:
D=x*z+(1-x)*y;
x is more than or equal to 0 and less than or equal to 1, x can be dynamically adjusted according to the actual situation, y can be determined according to the account system which is verified by the user last time, if the user passes through the verification account system, y is 1, and otherwise, y is 0; z can be determined through a registration channel, if registration is conducted through a pass channel, z is equal to 1, and if registration is not conducted through the pass channel, z is equal to 0; if the D is determined to be more than 50%, determining that the account verification process of the user is a pass account verification process; otherwise, determining that the account verification process of the user is an explicit account verification process.
The above description is only a preferred embodiment of the present invention, and is not intended to limit the scope of the present invention.

Claims (16)

1. A method of validating an account, the method comprising:
receiving an account login request, wherein the account login request comprises account system identification information; the account system identification information includes: the information is used for representing the account system of the account to be verified corresponding to the account login request;
acquiring the account system identification information from the account login request;
determining the most probable account system to which the account to be verified belongs according to the account system identification information;
verifying the account to be verified through the account verification system corresponding to the determined account system; wherein,
the determining, according to the account system identification information, the account system to which the account to be verified most likely belongs includes:
judging whether the account system identification information is matched with account characteristic information of a first account system, wherein the account characteristic information of the first account system is application ID information;
and when the account system identification information is matched with the account characteristics of the first account system, determining that the first account system is the account system to which the account to be verified belongs most probably.
2. The method of claim 1, wherein verifying the account to be verified through an account verification system corresponding to the determined account system comprises:
verifying the account to be verified through an account verification system of the first account system;
and if the account to be verified is failed to be verified through the account verification system of the first account system, verifying the account to be verified through an account verification system corresponding to a second account system.
3. The method of claim 1, wherein determining the most likely account system to which the account to be authenticated belongs according to the account system identification information further comprises:
when the account system identification information is not matched with the account characteristics of the first account system, judging whether the account system identification information is matched with account characteristic information of a second account system, wherein the account characteristic information of the second account system is implicit login information of a third-party account;
and when the account system identification information is matched with the account characteristics of the second account system, determining that the second account system is the account system to which the account to be verified belongs most probably.
4. The method according to claim 3, wherein verifying the account to be verified through the account verification system corresponding to the determined account system comprises:
verifying the account to be verified through an account verification system of the second account system;
and when the account to be verified is failed to be verified through the account verification system of the second account system, verifying the account to be verified through an account verification system corresponding to a third account system.
5. The method of claim 3, wherein determining the most likely account system to which the account to be authenticated belongs according to the account system identification information further comprises:
when the account system identification information is not matched with the account characteristics of the second account system, calculating an account system judgment value D corresponding to the account to be verified according to the following mode:
D=x×z+(1-x)×y;
when the D is less than or equal to 0.5, the account system identification information accords with the characteristics of the explicit account login information of a third account system, and the account to be verified is determined to most probably belong to the third account system;
when the D is greater than 0.5, the account system identification information accords with the characteristics of the implicit login information of the short message verification code of the second account system, and the account to be verified is determined to most probably belong to the second account system;
wherein x is a weight coefficient, and x is more than or equal to 0 and less than or equal to 1; the value of y is determined according to the account system which passes the verification last time on the account to be verified; and the value of z is determined by the registration mode of the account to be verified.
6. The method of claim 5, wherein verifying the account to be verified through an account verification system corresponding to the determined account system comprises:
after determining that the account to be verified most possibly belongs to a third account system, verifying the account to be verified through an account verification system of the third account system;
and when the account to be verified is failed to be verified through the account verification system of the third account system, verifying the account to be verified through the account verification system corresponding to the second account system.
7. The method of claim 5, wherein verifying the account to be verified through an account verification system corresponding to the determined account system comprises:
and after determining that the account to be verified most possibly belongs to a second account system, verifying the account to be verified through an account verification system of the second account system.
8. An account verification apparatus, comprising:
the system comprises a receiving module, a judging module and a judging module, wherein the receiving module is used for receiving an account login request which comprises account system identification information;
the acquisition module is used for acquiring the account system identification information from the account login request;
the determining module is used for determining the most possible account system to which the account to be verified belongs according to the account system identification information;
the verification module is used for verifying the account to be verified through the account verification system corresponding to the determined account system; wherein,
the determining module is specifically configured to:
judging whether the account system identification information is matched with account characteristic information of a first account system, wherein the account characteristic information of the first account system is application ID information;
and when the account system identification information is matched with the account characteristics of the first account system, determining that the first account system is the account system to which the account to be verified belongs most probably.
9. The authentication device of claim 8, wherein the authentication module is configured to:
verifying the account to be verified through an account verification system of the first account system;
and if the account to be verified is failed to be verified through the account verification system of the first account system, verifying the account to be verified through an account verification system corresponding to a second account system.
10. The validation apparatus of claim 8, wherein the determination module is specifically configured to:
when the account system identification information is not matched with the account characteristics of the first account system, judging whether the account system identification information is matched with account characteristic information of a second account system, wherein the account characteristic information of the second account system is implicit login information of a third-party account;
and when the account system identification information is matched with the account characteristics of the second account system, determining that the second account system is the account system to which the account to be verified belongs most probably.
11. The authentication device of claim 9, wherein the authentication module is specifically configured to:
verifying the account to be verified through an account verification system of the second account system;
and when the account to be verified is failed to be verified through the account verification system of the second account system, verifying the account to be verified through an account verification system corresponding to a third account system.
12. The authentication apparatus of claim 10, wherein the determination module is configured to:
when the account system identification information is not matched with the account characteristics of the second account system, calculating an account system judgment value D corresponding to the account to be verified according to the following mode:
D=x×z+(1-x)×y;
when the D is less than or equal to 0.5, the account system identification information accords with the characteristics of the explicit account login information of a third account system, and the account to be verified is determined to most probably belong to the third account system;
when the D is greater than 0.5, the account system identification information accords with the characteristics of the implicit login information of the short message verification code of the second account system, and the account to be verified is determined to most probably belong to the second account system;
wherein x is a weight coefficient, and x is more than or equal to 0 and less than or equal to 1; the value of y is determined according to the account system which passes the verification last time on the account to be verified; and the value of z is determined by the registration mode of the account to be verified.
13. The authentication device of claim 12, wherein the authentication module is further configured to:
after determining that the account to be verified most possibly belongs to a third account system, verifying the account to be verified through an account verification system of the third account system;
and when the account to be verified is failed to be verified through the account verification system of the third account system, verifying the account to be verified through the account verification system corresponding to the second account system.
14. The authentication device of claim 13, wherein the authentication module is further configured to:
and after determining that the account to be verified most possibly belongs to a second account system, verifying the account to be verified through an account verification system of the second account system.
15. An account verification apparatus, comprising: a processor and a memory for storing a computer program capable of running on the processor,
wherein the processor is adapted to perform the steps of the method of any one of claims 1 to 7 when running the computer program.
16. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 7.
CN201710877286.5A 2017-09-25 2017-09-25 Account verification method and device and computer readable storage medium Active CN107508835B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710877286.5A CN107508835B (en) 2017-09-25 2017-09-25 Account verification method and 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 and 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 and device and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN107508835B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102447696A (en) * 2011-11-17 2012-05-09 盛大计算机(上海)有限公司 One-key registration and login verification method and system used in 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)

* Cited by examiner, † Cited by third party
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

Patent Citations (10)

* Cited by examiner, † Cited by third party
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 and login verification method and system used in 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
CN109474578B (en) Message checking method, device, computer equipment and storage medium
KR102098441B1 (en) Identity authentication by using human biological characteristics
WO2016165536A1 (en) Identity verification method and device
CN107508835B (en) Account verification method and device and computer readable storage medium
CN108418808B (en) Identity information changing method and device, terminal equipment and storage medium
CN110784450A (en) Single sign-on method and device based on browser
WO2013143343A1 (en) Account login method, apparatus and system, and network server
WO2020181809A1 (en) Data processing method and system based on interface checking, and computer device
CN104767714A (en) Method, terminal and system for associating user resource information
CN113496020A (en) Vehicle-mounted machine user non-sensory login method and system, vehicle-mounted machine and vehicle
KR102060262B1 (en) Method and apparatus for recognizing service request for changing mobile phone number
CN109145651B (en) Data processing method and device
CN111191212A (en) Block chain-based digital certificate processing method, device, equipment and storage medium
CN110113346B (en) Network verification method, user terminal and server
CN113886242A (en) Data processing method, device, terminal and storage medium
CN109040056B (en) User verification method based on server
CN110752933A (en) Verification code input method and device, electronic equipment and storage medium
CN111680279B (en) Login verification method, device and system
US20150371227A1 (en) Registering a Mobile User
CN101534197B (en) Method, device and system for treating user relogin in single-point login system
CN110309124B (en) Data management method and system
CN113158151A (en) Identity authentication processing method and device
CN114691397A (en) Disk repairing method and device, electronic equipment and storage medium
CN114422275B (en) Sensitive information desensitization verification method and system and electronic equipment
CN113794716B (en) Network access authentication method, device and equipment for terminal equipment and readable storage medium

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