CN111200574B - Account establishing method, device, equipment and computer readable storage medium - Google Patents

Account establishing method, device, equipment and computer readable storage medium Download PDF

Info

Publication number
CN111200574B
CN111200574B CN201811364129.5A CN201811364129A CN111200574B CN 111200574 B CN111200574 B CN 111200574B CN 201811364129 A CN201811364129 A CN 201811364129A CN 111200574 B CN111200574 B CN 111200574B
Authority
CN
China
Prior art keywords
user
verification code
account
request
service content
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
CN201811364129.5A
Other languages
Chinese (zh)
Other versions
CN111200574A (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.)
Beijing Didi Infinity Technology and Development Co Ltd
Original Assignee
Beijing Didi Infinity Technology and Development Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Didi Infinity Technology and Development Co Ltd filed Critical Beijing Didi Infinity Technology and Development Co Ltd
Priority to CN201811364129.5A priority Critical patent/CN111200574B/en
Publication of CN111200574A publication Critical patent/CN111200574A/en
Application granted granted Critical
Publication of CN111200574B publication Critical patent/CN111200574B/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
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/1066Session management
    • H04L65/1073Registration or de-registration
    • 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/083Network architectures or network communication protocols for network security for authentication of entities using passwords
    • H04L63/0838Network architectures or network communication protocols for network security for authentication of entities using passwords using one-time-passwords
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0876Network architectures or network communication protocols for network security for authentication of entities based on the identity of the terminal or configuration, e.g. MAC address, hardware or software configuration or device fingerprint

Abstract

The invention provides an account establishing method, an account establishing device, account establishing equipment and a computer readable storage medium, wherein the account establishing method comprises the following steps: receiving a registration request initiated by a user, wherein the registration request comprises a user identifier of the user; sending a verification code sending request to an operation server according to the identity identifier so that the operation server sends a verification code to an electronic terminal corresponding to the user identifier according to the verification code sending request; receiving a verification code input by a user, and verifying whether the verification code is legal or not; and if the user is legal, allocating a unique account for the user according to the identity and the verification code. Therefore, the user can quickly register and use the application software according to the user representation, the defect that the registration process is complicated due to too much user information input is avoided, and the user experience is improved.

Description

Account establishing method, device and equipment and computer readable storage medium
Technical Field
The present invention relates to the field of communications, and in particular, to an account establishing method, apparatus, device, and computer-readable storage medium.
Background
With the development of network technologies, various electronic terminals gradually enter the lives of users, and the requirements of the users on the functions of the electronic terminals are higher and higher. In order to meet various requirements of users, various kinds of multifunctional application software are increasing. Generally, when a user uses application software, personalized data is often generated, and therefore how to protect the personalized data of the user becomes a problem to be solved urgently.
In order to protect personalized data of a user, an account establishing method is proposed in the prior art, and specifically, a user can be prompted to input various personal information, such as an identification number, a birthday and other information, and be prompted to input a custom password, and a unique account is allocated to the user according to the personal information input by the user, so that the user can use application software according to the account.
However, when the account is registered by the method, the user is often required to be prompted to fill in various user information, so that the registration process is complicated, the user experience is poor, and therefore the user may not use the account any more, and further a certain degree of user loss is caused.
Disclosure of Invention
The invention provides an account establishing method, an account establishing device, account establishing equipment and a computer readable storage medium, which are used for solving the technical problem that a registration process is complicated due to the fact that a user inputs excessive user information when using application software.
The first aspect of the present invention provides an account establishing method, including:
receiving a registration request initiated by a user, wherein the registration request comprises a user identifier of the user;
sending a verification code sending request to an operation server according to the identity identifier so that the operation server sends a verification code to an electronic terminal corresponding to the user identifier according to the verification code sending request;
receiving a verification code input by a user, and verifying whether the verification code is legal or not;
and if the user is legal, allocating a unique account for the user according to the identity and the verification code.
Another aspect of the present invention provides an account establishing apparatus, including:
a registration request receiving module, configured to receive a registration request initiated by a user, where the registration request includes a user identifier of the user;
the sending module is used for sending a verification code sending request to an operation server according to the identity identifier so that the operation server sends a verification code to the electronic terminal corresponding to the user identifier according to the verification code sending request;
the verification code receiving module is used for receiving a verification code input by a user and verifying whether the verification code is legal or not;
and the account number distribution module is used for distributing a unique account number for the user according to the identity and the verification code if the identity is legal.
Another aspect of the present invention provides an account establishing apparatus, including: a memory, a processor;
a memory; a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the account establishment method as described above by the server.
Yet another aspect of the present invention is to provide a computer-readable storage medium, in which computer-executable instructions are stored, and when executed by a processor, the computer-executable instructions are used for implementing the account establishment method as described above.
According to the account establishing method, the account establishing device, the account establishing equipment and the computer readable storage medium, a registration request initiated by a user is received, wherein the registration request comprises a user identifier of the user; sending a verification code sending request to an operation server according to the identity identifier so that the operation server sends a verification code to an electronic terminal corresponding to the user identifier according to the verification code sending request; receiving a verification code input by a user, and verifying whether the verification code is legal or not; and if the user is legal, allocating a unique account for the user according to the identity and the verification code. Therefore, the user can quickly register and use the application software according to the user representation, the defect that the registration process is complicated due to too much user information input is avoided, and the user experience is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the embodiments or the prior art descriptions will be briefly described below, it is obvious that the drawings in the following descriptions are some embodiments of the present invention, and other drawings can be obtained by those skilled in the art according to the drawings.
Fig. 1 is a schematic flowchart of an account establishing method according to an embodiment of the present invention;
fig. 2 is a schematic flowchart of an account establishing method according to a second embodiment of the present invention;
fig. 3 is a schematic flowchart of an account establishing method according to a third embodiment of the present invention;
fig. 4 is a schematic structural diagram of an account establishing apparatus according to a fourth embodiment of the present invention;
fig. 5 is a schematic structural diagram of an account establishing apparatus according to a fifth embodiment of the present invention;
fig. 6 is a schematic structural diagram of an account establishing apparatus according to a sixth embodiment of the present invention;
fig. 7 is a schematic structural diagram of an account establishing device according to a seventh embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other examples obtained based on the examples in the present invention are within the scope of the present invention.
Fig. 1 is a schematic flowchart of an account establishing method according to an embodiment of the present invention, where as shown in fig. 1, the method includes:
step 101, receiving a registration request initiated by a user, wherein the registration request comprises a user identifier of the user.
The executing subject of this embodiment may be an account establishing device, specifically, the account establishing device may be application software currently used by a user, or may also be an electronic terminal of the user.
In this embodiment, the existing account establishing method often needs to prompt the user to fill in various user information, so that the registration process is complicated, and the user experience is poor, so that the user may not use the account any more, and further the user loss to a certain degree is caused. Therefore, when the user uses the application software, a registration request may be initiated according to the current requirement, where the registration request includes a user identifier of the user, and specifically, the user identifier may be any identifier that uniquely identifies the user identity. Accordingly, the account establishing device may receive a registration request including a user identifier sent by a user.
And 102, sending a verification code sending request to an operation server according to the identity identifier so that the operation server sends a verification code to the electronic terminal corresponding to the user identifier according to the verification code sending request.
In this embodiment, after receiving a registration request sent by a user, the account establishing apparatus may send a verification code sending request to the operation server according to a user identifier in the registration request. In particular, the operation server may be an operation server of application software currently used by the user. Accordingly, after receiving the verification code transmission request, the operation server determines the time when the user transmits the verification code transmission request, and takes the time as the current first timestamp. And calculating and generating the verification code according to the user identification input by the user, the first time stamp and a preset secret key through a preset algorithm. The preset algorithm may be a hash algorithm, or any algorithm that can calculate the verification code, and the present solution is not limited herein. After the verification code is generated, the operation server can feed back the verification code to the electronic terminal corresponding to the user identifier of the user in a short message manner.
It should be noted that, because the account establishing apparatus needs to send the request for sending the verification code to the operation server corresponding to the currently used application software according to the user identifier, if the account establishing apparatus is the currently used application software, the request for sending the verification code may only include the user identifier, and if the account establishing apparatus is the electronic terminal, the request for sending the verification code needs to include the identifier of the currently used application software in addition to the user identifier.
And 103, receiving a verification code input by a user, and verifying whether the verification code is legal or not.
In this embodiment, after the account number establishing apparatus sends the request for sending the verification code to the operation server, the operation server generates and feeds back the verification code to the electronic terminal of the user, and the user can input the verification code to a preset position on the screen according to the received verification code. Accordingly, after receiving the verification code of the user, the validity of the verification code input by the user needs to be verified.
And 104, if the user is legal, allocating a unique account for the user according to the identity and the verification code.
In this embodiment, if the verification code input by the user is verified to be legal, the user identifier representing the user input is valid and available. Therefore, a unique account can be allocated to the user according to the identity and the verification code, and the account can uniquely represent the identity of the user. After the unique account is distributed, the account can be directly logged in, so that a user can use the application problem software according to the account.
As an implementation manner, after logging in the account, the login state may be maintained for a preset time, and after the preset time is exceeded, when the user uses the application software here, re-registration and login may be implemented by sending the verification code again.
In the account establishing method provided by this embodiment, a registration request initiated by a user is received, where the registration request includes a user identifier of the user; sending a verification code sending request to an operation server according to the identity identifier so that the operation server sends a verification code to an electronic terminal corresponding to the user identifier according to the verification code sending request; receiving a verification code input by a user, and verifying whether the verification code is legal or not; and if the user is legal, allocating a unique account for the user according to the identity and the verification code. Therefore, the user can quickly register and use the application software according to the user representation, the defect that the registration process is complicated due to too much user information input is avoided, and the user experience is improved.
Further, on the basis of the foregoing embodiment, the verification code is generated by the operation server through a preset algorithm according to the first timestamp of the received verification code sending request, a preset key, and the user identifier; the method comprises the following steps:
receiving a registration request initiated by a user, wherein the registration request comprises a user identifier of the user;
sending a verification code sending request to an operation server according to the identity identifier so that the operation server sends a verification code to an electronic terminal corresponding to the user identifier according to the verification code sending request;
receiving a verification code input by a user, and verifying whether the verification code is legal or not according to the user identification, a second timestamp when the verification code is received and the preset secret key through a preset algorithm;
and if the user is legal, allocating a unique account for the user according to the identity and the verification code.
In this embodiment, after receiving a registration request sent by a user and obtaining an authentication code according to a user identifier in the registration request, the validity of the authentication code needs to be verified, and specifically, the authentication code is generated by an operation server according to a first timestamp of the received authentication code sending request, a preset key, and the user identifier through a preset algorithm. Correspondingly, the time for the user to input the verification code is determined, the time for the user to input the verification code is used as a second time stamp, and whether the verification code is legal or not is verified according to the mobile phone number, the second time stamp and the preset secret key through a preset algorithm, wherein the preset algorithm can be a hash algorithm or any algorithm capable of achieving verification code calculation, and the scheme is not limited herein. It should be noted that the generated verification code has a valid time, and if the second timestamp is not within the valid time, the verification code is illegal. For example, in practical applications, a verification code is generated and sent to a user at 17:00, wherein the valid time of the verification code is 5 minutes, if the user feeds back the verification code at 17:01, the validity of the verification code can be calculated through a preset algorithm, if the user feeds back the verification code at 17:06, the validity of the verification code exceeds the valid time, at this time, the verification code can be directly judged to be illegal, and as an implementable mode, the validity of the verification code can also be calculated through the preset algorithm, but since the timestamp of the verification code is not within a legal range, the verification code can also be judged to be illegal at this time.
According to the account establishing method provided by the embodiment, whether the verification code is legal or not is verified through a preset algorithm according to the user identification, the second timestamp when the verification code is received and the preset key, so that a basis is provided for a user to complete account registration according to the user identification.
Fig. 2 is a schematic flowchart of an account establishing method according to a second embodiment of the present invention, where on the basis of any of the foregoing embodiments, as shown in fig. 2, different usage rights correspond to different service contents; the method comprises the following steps:
step 201, receiving a service content use request sent by a user, wherein the service content use request comprises service content to be used and the current use authority of the user;
step 202, judging whether the service content to be used is not in the current use authority of the user;
step 203, if yes, prompting the user to initiate the registration request according to the user identification;
step 204, receiving a registration request initiated by a user, wherein the registration request comprises a user identifier of the user;
step 205, sending a verification code sending request to an operation server according to the identity identifier, so that the operation server sends a verification code to an electronic terminal corresponding to the user identifier according to the verification code sending request;
step 206, receiving a verification code input by a user, and verifying whether the verification code is legal or not;
and step 207, if the user is legal, allocating a unique account for the user according to the identity and the verification code.
In this embodiment, one application software is often corresponding to a plurality of different use contents, such as browsing information, making comments, purchasing, and the like. Therefore, most users are relatively resistant to inputting personal information to register an account of application software, so that in order to improve user experience, when a new user uses the application software, whether the user is requested to register the account can be judged according to the current use content of the user. Specifically, the current use content and the current use permission of the user can be obtained, whether the current use content of the user is in the use permission range or not is judged, if yes, service is continuously provided for the user, and if not, the user is prompted to initiate a registration request. Correspondingly, a registration request of the user is received, the verification code is obtained according to the user identification in the registration request of the user, and a unique account is distributed for the user on the basis of passing verification of the verification code. Accordingly, after the unique account is allocated to the user, the current usage right of the user needs to be updated, and the usage content corresponding to the current usage right is provided for the user.
For example, in practical applications, the usage right of an unregistered new user is information that can be browsed, if a new user browses information when viewing content currently being used, service can be continuously provided for the new user, and if the new user wants to make a comment in the browsing process and the content of the comment that is made is not in the usage right of the unregistered new user, the user needs to be prompted to send a registration request.
According to the account establishing method provided by the embodiment, whether the user sends the registration request is prompted according to the user using content, so that excessive input of personal information by the user can be avoided, the user experience can be improved, and potential users can be reserved for application software.
Further, on the basis of any of the above embodiments, different usage rights correspond to different service contents; the method comprises the following steps:
receiving a registration request initiated by a user, wherein the registration request comprises a user identifier of the user;
sending a verification code sending request to an operation server according to the identity identifier so that the operation server sends a verification code to an electronic terminal corresponding to the user identifier according to the verification code sending request;
receiving a verification code input by a user, and verifying whether the verification code is legal or not;
if the identity is legal, a unique account is distributed to the user according to the identity and the verification code;
receiving a service content use request sent by a user, wherein the service content use request comprises service content to be used and the current use authority of the user;
judging whether the service content to be used is not in the current use authority of the user;
and if so, prompting the user to input user information corresponding to the service content.
In this embodiment, since the user only inputs the user identifier during the registration process, but the required user data is different for different usage contents, for example, if the current usage content of the user is taxi taking payment, the user is required to input payment channel information; if the current use content of the user is electronic invoice mailing, the user is required to input a mailing address, so that the user identification currently input by the user cannot meet the requirement. The user often resists inputting too much personal information, so in order to improve the user experience, the user needs to be prompted to input corresponding information at a proper time. Specifically, after the user completes registration according to the user identifier and the verification code, the current use content of the user can be obtained, whether the current use content of the user is within the preset use authority is judged, if yes, service is continuously provided for the user, and if not, the user is prompted to input corresponding information according to the current use content of the user.
For example, after the user finishes registration through the user identifier and the verification code, the user determines what the content currently used by the user is, if the current content used by the user is a published comment, the user can continue to provide service for the user, if the user makes a car for payment during the current content used by the user, the user is prompted to input payment channel information, and after the payment channel information is received, the user continues to provide service for the user.
According to the account establishing method provided by the embodiment, when the use content of the user exceeds the use right of the user, the user is prompted to input corresponding user information according to the use content of the user, so that the normal use of the user can be ensured, and the user experience is provided.
Fig. 3 is a schematic flow chart of an account establishing method provided in a third embodiment of the present invention, where on the basis of any one of the embodiments, as shown in fig. 3, the method includes:
step 301, receiving a registration request initiated by a user, where the registration request includes a user identifier of the user;
step 302, sending a verification code sending request to an operation server according to the identity identifier, so that the operation server sends a verification code to an electronic terminal corresponding to the user identifier according to the verification code sending request;
step 303, receiving a verification code input by a user, and verifying whether the verification code is legal;
and 304, if the verification code input by the user is illegal, prompting the user to resend the verification code sending request, and carrying out validity verification according to the received new verification code.
In this embodiment, after receiving a registration request sent by a user and obtaining an authentication code according to a user identifier in the registration request, the validity of the user authentication code needs to be verified. Specifically, if the verification code is not legal, the user may input a mistake, so that the user may be prompted to send the verification code sending request again, and the user identifier and the verification code may be verified according to the new verification code. And if the verification is passed, allocating a unique account number for the user. As an implementation manner, since the verification code has a time limit, if the verification code input by the user is not legal during a preset validity period of the verification code, the user may be prompted to input the verification code obtained this time again for re-verification, and if the verification passes, the unique account is assigned to the user.
According to the account establishing method provided by the embodiment, a mode of multiple times of verification is provided for the user when the verification code fails to be verified, so that the user experience can be improved on the basis of realizing quick account establishment.
Further, on the basis of any of the above embodiments, the method comprises:
receiving a registration request initiated by a user, wherein the registration request comprises a user identifier of the user;
sending a verification code sending request to an operation server according to the identity identifier so that the operation server sends a verification code to an electronic terminal corresponding to the user identifier according to the verification code sending request;
receiving a verification code input by a user, and verifying whether the verification code is legal or not;
if the verification code input by the user is illegal, prompting the user to resend the verification code sending request, and carrying out validity verification according to the received new verification code;
counting the times of illegal verification codes input by the user;
and if the number of times of the illegal verification code input by the user exceeds a preset threshold value, not allocating a unique account for the user.
In this embodiment, after receiving a registration request sent by a user and obtaining an authentication code according to a user identifier in the registration request, the validity of the user authentication code needs to be verified. Specifically, if the verification code is not legal, the user may be prompted to obtain the verification code again for verification. It will be appreciated that if the user fails to authenticate multiple times, it may be due to a user identifier entered by the user being incorrect, and that the user identifier may not belong to the user. Therefore, in order to ensure the security of the user identifier, the number of times that the verification code input by the user is illegal can be counted, and if the number exceeds a preset threshold value, a unique account may not be assigned to the user. It should be noted that the preset threshold may be set by the user, or may be set by default in the application software, and the user may adjust the threshold according to the use state, which is not limited herein.
According to the account establishing method provided by the embodiment, when the number of times of illegal verification codes input by a user exceeds a preset threshold value, an account is not allocated to the user any more, so that the user account can be quickly registered on the basis of ensuring the safety of user identification, and further the user experience can be improved.
Further, on the basis of any of the above embodiments, the method comprises:
receiving a registration request initiated by a user, wherein the registration request comprises a user identifier of the user;
sending a verification code sending request to an operation server according to the identity identifier so that the operation server sends a verification code to an electronic terminal corresponding to the user identifier according to the verification code sending request;
receiving a verification code input by a user, and verifying whether the verification code is legal or not;
if the verification code input by the user is illegal, prompting the user to resend the verification code sending request, and carrying out validity verification according to the received new verification code;
counting the times of illegal verification codes input by the user;
if the number of times of the illegal verification codes input by the user exceeds a preset threshold value, a unique account is not allocated to the user;
and providing the user with the use content lower than the registered account use authority.
In this embodiment, after receiving a registration request sent by a user and obtaining an authentication code according to a user identifier in the registration request, the validity of the user authentication code needs to be verified. Specifically, if the verification code is not legal, the user may be prompted to acquire the verification code again for verification. And counting the times of illegal verification codes input by the user, and if the times exceed a preset threshold value, not allocating a unique account number for the user. Further, since the user does not complete the registration, the user can be provided with the use content lower than the use right of the registered account.
According to the account establishing method provided by the embodiment, when the user fails to verify for many times and does not finish account registration, the use content lower than the use permission of the registered user is provided for the user, so that the normal use of the application software by the user can be ensured, and the user experience can be improved.
Further, on the basis of any of the above embodiments, the method comprises:
receiving a registration request initiated by a user, wherein the registration request comprises a user identifier of the user;
judging whether the user identification is a valid user identification;
if so, sending a verification code sending request to an operation server according to the identity;
if not, prompting the user to re-input the identity identification.
In this embodiment, after receiving a registration request including a user identifier sent by a user, an input user identifier may be wrong due to a fact that the user may have a hand error, and in addition, the user identifier input by the user may be a user identifier that is no longer used currently, so that both of the above two possibilities may result in that the verification code cannot be successfully sent. In order to improve the efficiency of the user fast registration, after receiving a registration request including a user identifier sent by a user, it may be determined whether the user identifier is valid. Specifically, the validity of the user identifier may be judged by interacting with the operator background of the user identifier, or by using any other method to verify the validity of the user identifier, which is not limited herein. If the user identification is verified to be valid, a verification code sending request can be sent to the operation server according to the identity identification, and if the user identification is invalid, the user needs to be prompted to input the user identification again.
In the account establishing method provided in this embodiment, after receiving a registration request that includes a user identifier and is sent by a user, whether the user identifier is valid is determined. Thereby improving the efficiency of the user's fast registration.
Fig. 4 is a schematic structural diagram of an account establishing apparatus according to a fourth embodiment of the present invention, and as shown in fig. 4, the apparatus includes:
a registration request receiving module 41, configured to receive a registration request initiated by a user, where the registration request includes a user identifier of the user.
And a sending module 42, configured to send a verification code sending request to an operation server according to the identity identifier, so that the operation server sends a verification code to an electronic terminal corresponding to the user identifier according to the verification code sending request.
And the verification code receiving module 43 is configured to receive a verification code input by a user and verify whether the verification code is legal.
And the account number distribution module 44 is configured to distribute a unique account number for the user according to the identity and the verification code if the user is legal.
The account establishing apparatus provided in this embodiment receives a registration request initiated by a user, where the registration request includes a user identifier of the user; sending a verification code sending request to an operation server according to the identity identifier so that the operation server sends a verification code to an electronic terminal corresponding to the user identifier according to the verification code sending request; receiving a verification code input by a user, and verifying whether the verification code is legal or not; and if the user is legal, allocating a unique account for the user according to the identity and the verification code. Therefore, the user can quickly register and use the application software according to the user representation, the defect that the registration process is complicated due to too much user information input is avoided, and the user experience is improved.
Further, on the basis of the above embodiment, the verification code is generated by the operation server through a preset algorithm according to the first timestamp of the received verification code sending request, a preset key and the user identifier; the device comprises:
a registration request receiving module, configured to receive a registration request initiated by a user, where the registration request includes a user identifier of the user;
the sending module is used for sending a verification code sending request to an operation server according to the identity identifier so that the operation server sends a verification code to the electronic terminal corresponding to the user identifier according to the verification code sending request;
the verification code receiving module specifically comprises:
the verification unit is used for receiving a verification code input by a user and verifying whether the verification code is legal or not according to the user identification, a second timestamp when the verification code is received and the preset secret key through a preset algorithm;
and if the user is legal, allocating a unique account for the user according to the identity and the verification code.
The account establishing apparatus provided in this embodiment verifies whether the verification code is legal according to the user identifier, the second timestamp when the verification code is received, and the preset key through a preset algorithm, so as to provide a basis for the user to complete account registration according to the user identifier.
Fig. 5 is a schematic structural diagram of an account establishing apparatus according to a fifth embodiment of the present invention, where on the basis of any of the foregoing embodiments, as shown in fig. 5, different usage rights correspond to different service contents; the device comprises:
a first service content use request receiving module 51, configured to receive a service content use request sent by a user, where the service content use request includes service content to be used and a current use right of the user;
a first judging module 52, configured to judge whether the service content to be used is not within the current usage right of the user;
a first prompting module 53, configured to prompt the user to initiate the registration request according to the user identifier if the user identifier is the first identifier;
a registration request receiving module 54, configured to receive a registration request initiated by a user, where the registration request includes a user identifier of the user;
a sending module 55, configured to send a verification code sending request to an operation server according to the identity identifier, so that the operation server sends a verification code to an electronic terminal corresponding to the user identifier according to the verification code sending request;
the verification code receiving module 56 is configured to receive a verification code input by a user and verify whether the verification code is legal;
and the account number allocation module 57 is configured to allocate a unique account number to the user according to the identity and the verification code if the user is legal.
The account establishing device provided by the embodiment can avoid excessive input of personal information by prompting the user whether to send the registration request according to the user use content, can improve the user experience, and reserves potential users for application software.
Further, on the basis of any of the above embodiments, different usage rights correspond to different service contents; the device comprises:
a registration request receiving module, configured to receive a registration request initiated by a user, where the registration request includes a user identifier of the user;
the sending module is used for sending a verification code sending request to an operation server according to the identity identifier so that the operation server sends a verification code to the electronic terminal corresponding to the user identifier according to the verification code sending request;
the verification code receiving module is used for receiving a verification code input by a user and verifying whether the verification code is legal or not;
the account number distribution module is used for distributing a unique account number for the user according to the identity and the verification code if the identity is legal;
a second service content use request receiving module, configured to receive a service content use request sent by a user, where the service content use request includes service content to be used and a current use permission of the user;
the second judging module is used for judging whether the service content to be used is not in the current use authority of the user;
and the second prompting module is used for prompting the user to input the user information corresponding to the service content if the service content is the service content.
The account establishing device provided by the embodiment prompts the user to input corresponding user information according to the use content of the user when the use content of the user exceeds the use right of the user, so that the normal use of the user can be ensured, and the user experience can be provided.
Fig. 6 is a schematic structural diagram of an account establishing apparatus according to a sixth embodiment of the present invention, where on the basis of any of the foregoing embodiments, as shown in fig. 6, the apparatus includes:
a registration request receiving module 61, configured to receive a registration request initiated by a user, where the registration request includes a user identifier of the user;
a sending module 62, configured to send a verification code sending request to an operation server according to the identity identifier, so that the operation server sends a verification code to an electronic terminal corresponding to the user identifier according to the verification code sending request;
the verification code receiving module 63 is configured to receive a verification code input by a user and verify whether the verification code is legal;
and a third prompting module 64, configured to prompt the user to resend the verification code sending request if the verification code input by the user is illegal, and perform validity verification according to the received new verification code.
The account establishing device provided by the embodiment provides a mode of multiple times of verification for the user when the verification code fails, so that the user experience can be improved on the basis of realizing quick account establishment.
Further, on the basis of any of the above embodiments, the apparatus comprises:
a registration request receiving module, configured to receive a registration request initiated by a user, where the registration request includes a user identifier of the user;
the sending module is used for sending a verification code sending request to an operation server according to the identity identifier so that the operation server sends a verification code to the electronic terminal corresponding to the user identifier according to the verification code sending request;
the verification code receiving module is used for receiving a verification code input by a user and verifying whether the verification code is legal or not;
the third prompting module is used for prompting the user to resend the verification code sending request if the verification code input by the user is illegal, and carrying out validity verification according to the received new verification code;
the counting module is used for counting the number of times that the verification code input by the user is illegal;
the first execution module is used for not allocating a unique account for the user if the number of times of the verification code input by the user is illegal exceeds a preset threshold value.
The account establishing device provided by the embodiment can realize the quick registration of the user account on the basis of ensuring the safety of the user identification by no longer distributing the account for the user when the illegal times of the verification code input by the user exceed the preset threshold value, thereby improving the user experience.
Further, on the basis of any of the above embodiments, the apparatus comprises:
a registration request receiving module, configured to receive a registration request initiated by a user, where the registration request includes a user identifier of the user;
the sending module is used for sending a verification code sending request to an operation server according to the identity identifier so that the operation server sends a verification code to the electronic terminal corresponding to the user identifier according to the verification code sending request;
the verification code receiving module is used for receiving a verification code input by a user and verifying whether the verification code is legal or not;
the third prompting module is used for prompting the user to resend the verification code sending request if the verification code input by the user is illegal, and carrying out validity verification according to the received new verification code;
the counting module is used for counting the number of times that the verification code input by the user is illegal;
the first execution module is used for not allocating a unique account for the user if the number of times of the verification code input by the user is illegal exceeds a preset threshold value;
and the service content providing module is used for providing the user with the use content lower than the use permission of the registered account.
The account establishing device provided by the embodiment provides the use content lower than the use permission of the registered user for the user when the user fails to verify for many times and does not complete account registration, so that the normal use of the application software by the user can be ensured, and the user experience can be improved.
Further, on the basis of any of the above embodiments, the apparatus comprises:
a registration request receiving module, configured to receive a registration request initiated by a user, where the registration request includes a user identifier of the user;
the user identification judging module is used for judging whether the user identification is a valid user identification;
the second execution module is used for sending a verification code sending request to the operation server according to the identity if the identity is the same as the first identity;
and the fourth prompting module is used for prompting the user to re-input the identity if the user does not input the identity.
The account establishing apparatus provided in this embodiment determines whether the user identifier is valid or not by receiving a registration request including the user identifier sent by the user. Thereby improving the efficiency of the user's fast registration.
Fig. 7 is a schematic structural diagram of account establishing equipment according to a seventh embodiment of the present invention, and as shown in fig. 7, the equipment includes: a memory 71, a processor 72;
a memory 71; a memory 71 for storing instructions executable by the processor 72;
wherein the processor 72 is configured to execute the account establishing method as described above by the server 72.
Yet another embodiment of the present invention provides a computer-readable storage medium, in which computer-executable instructions are stored, and the computer-executable instructions are executed by a processor to implement the account establishing method as described above.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working process of the apparatus described above may refer to the corresponding process in the foregoing method embodiment, and is not described herein again.
Those of ordinary skill in the art will understand that: all or a portion of the steps of implementing the above-described method embodiments may be performed by hardware associated with program instructions. The foregoing program may be stored in a computer-readable storage medium. When executed, the program performs steps comprising the method embodiments described above; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.

Claims (16)

1. An account establishing method is characterized by comprising the following steps:
receiving a registration request initiated by a user, wherein the registration request comprises a user identifier of the user;
sending a verification code sending request to an operation server according to the user identification so that the operation server sends a verification code to an electronic terminal corresponding to the user identification according to the verification code sending request;
receiving a verification code input by a user, and verifying whether the verification code is legal or not;
if the user identification is legal, a unique account is distributed to the user according to the user identification and the verification code, and the account is logged in;
receiving a service content use request sent by a user, wherein the service content use request comprises service content to be used and the current use authority of the user;
judging whether the service content to be used is not in the current use authority of the user;
if so, prompting the user to input user information corresponding to the service content to be used;
wherein different usage rights correspond to different service contents.
2. The method of claim 1, wherein before receiving the user-initiated registration request, further comprising:
receiving a service content use request sent by a user, wherein the service content use request comprises service content to be used and the current use authority of the user;
judging whether the service content to be used is not in the current use authority of the user;
if yes, prompting the user to initiate the registration request according to the user identification.
3. The method according to claim 1, wherein the verification code is generated by the operation server through a preset algorithm according to the first timestamp of the received verification code transmission request, a preset secret key and the user identifier;
correspondingly, the receiving a verification code input by a user and verifying whether the verification code is legal comprises:
and verifying whether the verification code is legal or not according to the user identification, a second timestamp when the verification code is received and the preset secret key through a preset algorithm.
4. The method of claim 1, wherein after receiving the verification code entered by the user and verifying whether the verification code is legitimate, further comprising:
and if the verification code input by the user is illegal, prompting the user to resend the verification code sending request, and carrying out validity verification according to the received new verification code.
5. The method of claim 4, wherein if the verification code inputted by the user is illegal, prompting the user to resend the verification code sending request, and after performing validity verification according to the received new verification code, further comprising:
counting the number of times of the verification code input by the user, wherein the verification code is illegal;
and if the number of times of the illegal verification code input by the user exceeds a preset threshold value, not allocating a unique account for the user.
6. The method of claim 5, wherein if the number of times the verification code entered by the user is not legitimate exceeds a preset threshold, after the unique account is not assigned to the user, the method further comprises:
and providing the user with the use content lower than the use permission of the registered account.
7. The method of claim 1, wherein after receiving a registration request initiated by a user, the registration request including a user identifier of the user, the method further comprises:
judging whether the user identification is a valid user identification;
if yes, sending a verification code sending request to an operation server according to the user identification;
if not, prompting the user to input the user identification again.
8. An account establishing apparatus, comprising:
a registration request receiving module, configured to receive a registration request initiated by a user, where the registration request includes a user identifier of the user;
the sending module is used for sending a verification code sending request to an operation server according to the user identifier so that the operation server sends a verification code to the electronic terminal corresponding to the user identifier according to the verification code sending request;
the verification code receiving module is used for receiving a verification code input by a user and verifying whether the verification code is legal or not;
the account number distribution module is used for distributing a unique account number for the user according to the user identification and the verification code and logging in the account number if the user identification is legal;
a second service content use request receiving module, configured to receive a service content use request sent by a user, where the service content use request includes service content to be used and a current use right of the user;
the second judging module is used for judging whether the service content to be used is not in the current use authority of the user;
the second prompting module is used for prompting the user to input user information corresponding to the service content to be used if the service content is the service content to be used;
wherein different usage rights correspond to different service contents.
9. The apparatus of claim 8, further comprising:
a first service content use request receiving module, configured to receive a service content use request sent by a user, where the service content use request includes service content to be used and a current use right of the user;
the first judging module is used for judging whether the service content to be used is not in the current use authority of the user;
and the first prompting module is used for prompting the user to initiate the registration request according to the user identification if the user identification is positive.
10. The apparatus according to claim 8, wherein the verification code is generated by the operation server according to a first timestamp of the received verification code transmission request, a preset key and the user identifier through a preset algorithm;
accordingly, the verification code receiving module includes:
and the verification unit is used for verifying whether the verification code is legal or not according to the user identification, the second timestamp when the verification code is received and the preset secret key through a preset algorithm.
11. The apparatus of claim 8, further comprising:
and the third prompting module is used for prompting the user to resend the verification code sending request if the verification code input by the user is illegal, and carrying out validity verification according to the received new verification code.
12. The apparatus of claim 11, further comprising:
the statistical module is used for counting the times that the verification code input by the user is illegal;
the first execution module is used for not allocating a unique account for the user if the number of times of the verification code input by the user is illegal exceeds a preset threshold value.
13. The apparatus of claim 8, further comprising:
and the service content providing module is used for providing the user with the use content lower than the use permission of the registered account.
14. The apparatus of claim 8, further comprising:
the user identification judging module is used for judging whether the user identification is valid;
the second execution module is used for sending a verification code sending request to the operation server according to the user identification if the user identification is in the first execution module;
and the fourth prompting module is used for prompting the user to re-input the user identification if the user identification is not input.
15. An account establishment device, comprising: a memory, a processor;
a memory; a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the account establishment method of any one of claims 1-7 by the server.
16. A computer-readable storage medium having computer-executable instructions stored therein, which when executed by a processor, are configured to implement the account establishment method according to any one of claims 1 to 7.
CN201811364129.5A 2018-11-16 2018-11-16 Account establishing method, device, equipment and computer readable storage medium Active CN111200574B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811364129.5A CN111200574B (en) 2018-11-16 2018-11-16 Account establishing method, device, equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811364129.5A CN111200574B (en) 2018-11-16 2018-11-16 Account establishing method, device, equipment and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN111200574A CN111200574A (en) 2020-05-26
CN111200574B true CN111200574B (en) 2022-09-06

Family

ID=70746150

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811364129.5A Active CN111200574B (en) 2018-11-16 2018-11-16 Account establishing method, device, equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN111200574B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111832007A (en) * 2020-01-20 2020-10-27 北京嘀嘀无限科技发展有限公司 Account number retrieving method, device, equipment and computer readable storage medium

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111899029A (en) * 2020-08-13 2020-11-06 北京字节跳动网络技术有限公司 Identity verification method and device for electronic payment
CN116436905B (en) * 2023-04-19 2023-11-28 广州市迪士普音响科技有限公司 Network broadcast communication method and device, storage medium and computer equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106130870A (en) * 2016-06-02 2016-11-16 重庆扑希计算机系统有限公司 Emergency based reminding method and system for prompting thereof
CN106506442A (en) * 2016-09-14 2017-03-15 上海百芝龙网络科技有限公司 A kind of smart home multi-user identification and its Rights Management System
CN108270746A (en) * 2016-12-31 2018-07-10 中国移动通信集团河北有限公司 User access request processing method and processing device

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104219204A (en) * 2013-06-01 2014-12-17 姚爱军 Generation method and device of network account
CN103812879A (en) * 2014-03-17 2014-05-21 广州博冠信息科技有限公司 Method, equipment and system for logging in network application
CN105956435A (en) * 2016-06-07 2016-09-21 微梦创科网络科技(中国)有限公司 Mobile APP registration method and device and mobile APP registration login method and device
CN107733891B (en) * 2017-10-17 2021-03-02 深圳市金立通信设备有限公司 User registration method, server and computer readable storage medium
CN108111533A (en) * 2018-01-08 2018-06-01 苏州达家迎信息技术有限公司 The registration login method and system of APP
CN108288168A (en) * 2018-02-10 2018-07-17 张宇 Borrow or lend money register method, terminal and the computer readable storage medium of service account

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106130870A (en) * 2016-06-02 2016-11-16 重庆扑希计算机系统有限公司 Emergency based reminding method and system for prompting thereof
CN106506442A (en) * 2016-09-14 2017-03-15 上海百芝龙网络科技有限公司 A kind of smart home multi-user identification and its Rights Management System
CN108270746A (en) * 2016-12-31 2018-07-10 中国移动通信集团河北有限公司 User access request processing method and processing device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111832007A (en) * 2020-01-20 2020-10-27 北京嘀嘀无限科技发展有限公司 Account number retrieving method, device, equipment and computer readable storage medium

Also Published As

Publication number Publication date
CN111200574A (en) 2020-05-26

Similar Documents

Publication Publication Date Title
CN111200574B (en) Account establishing method, device, equipment and computer readable storage medium
CN106462674B (en) Resource access control using authentication tokens
US20170161721A1 (en) Method and system for opening account based on euicc
EP2852118B1 (en) Method for an enhanced authentication and/or an enhanced identification of a secure element located in a communication device, especially a user equipment
US20140052638A1 (en) Method and system for providing a card payment service using a mobile phone number
CN107086979B (en) User terminal verification login method and device
WO2012149840A1 (en) Method and terminal for verifying identification information
EP3253020A1 (en) A method and an apparatus for publishing assertions in a distributed database of a mobile telecommunication network
CN106936600B (en) Flow charging method and system and related equipment
CN103685139A (en) Authentication and authorization processing method and device
EP2787707A1 (en) Method for allowing user access, client, server, and system
WO2018000568A1 (en) Virtual sim card management method, management device, server and terminal
CN107241329B (en) Account login processing method and device
CN110430167B (en) Temporary account management method, electronic device, management terminal and storage medium
CN111901342B (en) Authority application verification method, device, equipment and storage medium
CN104753674A (en) Application identity authentication method and device
CN111405036A (en) Service access method, device, related equipment and computer readable storage medium
EP3851983B1 (en) Authorization method, auxiliary authorization component, management server and computer readable medium
CN111431844A (en) Authority authentication method and device
WO2014180431A1 (en) Network management security authentication method, device and system, and computer storage medium
CN107852603A (en) The method and apparatus of terminal authentication
CN105208042A (en) Resource safety access method and system
CN107645474B (en) Method and device for logging in open platform
CN110224971B (en) Method, authorization server, system, device and storage medium for authorizing login
CN107710673A (en) The method and apparatus of authenticating user identification

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