CN112261051A - User registration method, device and system - Google Patents

User registration method, device and system Download PDF

Info

Publication number
CN112261051A
CN112261051A CN202011146675.9A CN202011146675A CN112261051A CN 112261051 A CN112261051 A CN 112261051A CN 202011146675 A CN202011146675 A CN 202011146675A CN 112261051 A CN112261051 A CN 112261051A
Authority
CN
China
Prior art keywords
terminal
authentication
target user
server
user
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202011146675.9A
Other languages
Chinese (zh)
Other versions
CN112261051B (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 QIYI Century Science and Technology Co Ltd
Original Assignee
Beijing QIYI Century Science and 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 Beijing QIYI Century Science and Technology Co Ltd filed Critical Beijing QIYI Century Science and Technology Co Ltd
Priority to CN202011146675.9A priority Critical patent/CN112261051B/en
Publication of CN112261051A publication Critical patent/CN112261051A/en
Application granted granted Critical
Publication of CN112261051B publication Critical patent/CN112261051B/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/0876Network architectures or network communication protocols for network security for authentication of entities based on the identity of the terminal or configuration, e.g. MAC address, hardware or software configuration or device fingerprint
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • H04L67/025Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
    • H04L67/1004Server selection for load balancing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management

Landscapes

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

Abstract

The embodiment of the invention provides a user registration method, a device and a system, which are used for receiving a registration request sent by a target user through a first terminal and establishing a first communication connection for communicating with the first terminal; when detecting that the authentication data recorded in the appointed back-end server in the server cluster is modified, acquiring the modified authentication data from the appointed back-end server; the modified authentication data comprises an authentication result of the target user; the authentication result of the target user is sent to any back-end server in the server cluster after the second terminal authenticates the information of the target user; and sending a registration result containing the authentication result of the target user to the first terminal through the first communication connection. Based on the above processing, the problem of user registration failure caused by failure in completing information authentication of the user in the prior art can be avoided to a certain extent, that is, the user registration method provided by the embodiment of the invention can improve the success rate of user registration.

Description

User registration method, device and system
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a user registration method, device, and system.
Background
With the development of internet technology, a user may access a network through a terminal, and in addition, in order to enhance management of a user's behavior of accessing the network, the user needs to register a corresponding account in a server of a network service provider before accessing the network, and subsequently, the user may access the server through the registered account. In addition, the user may be subjected to information authentication to acquire authentication information of the user, for example, to acquire face authentication information, fingerprint authentication information, and the like of the user.
In the prior art, in the process of registering a user through a terminal, the terminal may not have or cannot meet the corresponding requirements of the user for information authentication, for example, the terminal does not have an image acquisition function, and then face authentication cannot be completed, or the terminal does not have a fingerprint acquisition function, and then fingerprint authentication cannot be completed.
When the above situation occurs, the user registration fails because the information authentication of the user cannot be completed.
Disclosure of Invention
The embodiment of the invention aims to provide a user registration method, a device and a system so as to improve the success rate of user registration to a certain extent. The specific technical scheme is as follows:
in a first aspect of the present invention, a user registration method is first provided, where the method is applied to a first backend server in a server cluster, and the method includes:
receiving a registration request sent by a target user through a first terminal;
establishing a first communication connection for communicating with the first terminal;
when detecting that the authentication data recorded in the appointed back-end server in the server cluster is modified, acquiring the modified authentication data from the appointed back-end server; wherein the modified authentication data comprises an authentication result of the target user; the authentication result of the target user is sent to any back-end server in the server cluster by the second terminal after the information authentication is carried out on the target user;
and sending a registration result containing the authentication result of the target user to the first terminal through the first communication connection.
Optionally, before the step of acquiring modified authentication data from the designated backend server when it is detected that the authentication data recorded in the designated backend server in the server cluster is modified, the method further includes:
generating an authentication indication of the target user;
and sending the authentication instruction to the first terminal through the first communication connection so that the second terminal acquires the authentication instruction from the first terminal, performs information authentication on the target user based on the authentication instruction, and sends an authentication result of the target user to any back-end server in the server cluster.
Optionally, the authentication result of the target user included in the modified authentication data is that the second backend server in the server cluster writes the authentication result of the target user into the designated backend server after receiving the authentication result of the target user sent by the second terminal.
Optionally, the second backend server performs information authentication on the target user through the following steps:
receiving an authentication request sent by the target user through the second terminal, and establishing a second communication connection for communicating with the second terminal;
receiving authentication information of the target user, which is sent by the second terminal through the second communication connection; wherein the authentication information of the target user comprises: the face authentication information and the fingerprint authentication information of the target user;
and recording that the user identification of the target user corresponds to the authentication information of the target user.
Optionally, the server cluster further includes a load balancing server; the registration request is forwarded to any back-end server in the server cluster by the load balancing server when receiving the registration request sent by the target user through the first terminal; and the authentication request is forwarded to any back-end server in the server cluster by the load balancing server when receiving the authentication request sent by the target user through the second terminal.
Optionally, the modified authentication data further includes: a user identification of the target user;
the sending, to the first terminal through the first communication connection, a registration result including an authentication result of the target user includes:
determining a terminal identifier corresponding to the user identifier of the target user in the corresponding relation between the locally stored user identifier and the terminal identifier;
and sending a registration result containing the authentication result of the target user to the first terminal to which the determined terminal identification belongs through the first communication connection corresponding to the determined terminal identification.
Optionally, the authentication result includes: and the authentication success represents that the second terminal successfully acquires the authentication information of the target user, and the authentication failure represents that the second terminal fails to acquire the authentication information of the target user.
Optionally, after receiving the registration request sent by the target user through the first terminal, the method further includes:
selecting a target thread from a preset thread pool;
the generating of the authentication indication of the target user comprises:
generating, by the target thread, an authentication indication of the target user.
Optionally, the registration request carries a terminal identifier of the first terminal;
the establishing a first communication connection for communicating with the first terminal includes:
and establishing a first communication connection for communicating with the first terminal based on the terminal identification of the first terminal through the target thread.
In a second aspect of the present invention, there is also provided a server cluster, where the server cluster includes a plurality of backend servers, where:
the first back-end server in the server cluster is used for receiving a registration request sent by a target user through a first terminal; establishing a first communication connection for communicating with the first terminal;
the second back-end server in the server cluster is used for modifying the authentication data recorded in the designated back-end server in the server cluster into the authentication result of the target user when receiving the authentication result of the target user sent by the second terminal after the information authentication of the target user is carried out on the target user;
the first back-end server in the server cluster is further used for acquiring modified authentication data from the specified back-end server when the authentication data recorded in the specified back-end server in the server cluster is detected to be modified; and sending a registration result including an authentication result of the target user to the first terminal through the first communication connection.
In a third aspect of the present invention, there is also provided a user registration system, including: first terminal, second terminal and server cluster, wherein:
the first terminal is used for sending a registration request of a target user to any back-end server in the server cluster;
the first back-end server in the server cluster is used for receiving the registration request of the target user; establishing a first communication connection for communicating with the first terminal;
the second terminal is used for performing information authentication on the target user and sending an authentication result of the target user to any back-end server in the server cluster;
the second back-end server in the server cluster is used for modifying the authentication data recorded in the appointed back-end server in the server cluster into the authentication result of the target user when the authentication result of the target user is received;
the first back-end server in the server cluster is further used for acquiring modified authentication data from the specified back-end server when the authentication data recorded in the specified back-end server in the server cluster is detected to be modified; and sending a registration result including an authentication result of the target user to the first terminal through the first communication connection;
the first terminal is further configured to receive a registration result of the target user.
In a fourth aspect of the present invention, there is also provided a user registration apparatus, where the apparatus is applied to a first backend server in a server cluster, and the apparatus includes:
the first receiving module is used for receiving a registration request sent by a target user through a first terminal;
an establishing module, configured to establish a first communication connection for communicating with the first terminal;
an obtaining module, configured to obtain modified authentication data from an appointed backend server in the server cluster when it is detected that authentication data recorded in the appointed backend server is modified; wherein the modified authentication data comprises an authentication result of the target user; the authentication result of the target user is sent to any back-end server in the server cluster by the second terminal after the information authentication is carried out on the target user;
a first sending module, configured to send, to the first terminal through the first communication connection, a registration result including an authentication result of the target user.
Optionally, the apparatus further comprises:
a generation module for generating an authentication indication of the target user;
a second sending module, configured to send the authentication indication to the first terminal through the first communication connection, so that the second terminal obtains the authentication indication from the first terminal, performs information authentication on the target user based on the authentication indication, and sends an authentication result of the target user to any backend server in the server cluster.
Optionally, the authentication result of the target user included in the modified authentication data is that the second backend server in the server cluster writes the authentication result of the target user into the designated backend server after receiving the authentication result of the target user sent by the second terminal.
Optionally, the second backend server performs information authentication on the target user through the following devices:
a second receiving module, configured to receive an authentication request sent by the target user through the second terminal, and establish a second communication connection for communicating with the second terminal;
a third receiving module, configured to receive the authentication information of the target user sent by the second terminal through the second communication connection; wherein the authentication information of the target user comprises: the face authentication information and the fingerprint authentication information of the target user;
and the recording module is used for recording that the user identification of the target user corresponds to the authentication information of the target user.
Optionally, the server cluster further includes a load balancing server; the registration request is forwarded to any back-end server in the server cluster by the load balancing server when receiving the registration request sent by the target user through the first terminal; and the authentication request is forwarded to any back-end server in the server cluster by the load balancing server when receiving the authentication request sent by the target user through the second terminal.
Optionally, the modified authentication data further includes: a user identification of the target user;
the first sending module is specifically configured to determine, in a correspondence between a locally stored user identifier and a terminal identifier, a terminal identifier corresponding to the user identifier of the target user;
and sending a registration result containing the authentication result of the target user to the first terminal to which the determined terminal identification belongs through the first communication connection corresponding to the determined terminal identification.
Optionally, the authentication result includes: and the authentication success represents that the second terminal successfully acquires the authentication information of the target user, and the authentication failure represents that the second terminal fails to acquire the authentication information of the target user.
Optionally, the apparatus further comprises:
the selection module is used for selecting a target thread from a preset thread pool;
the generating module is specifically configured to generate, by the target thread, an authentication instruction of the target user.
Optionally, the registration request carries a terminal identifier of the first terminal;
the establishing module is specifically configured to establish, through the target thread, a first communication connection for communicating with the first terminal based on the terminal identifier of the first terminal.
In another aspect of the present invention, there is also provided an electronic device, including a processor, a communication interface, a memory and a communication bus, where the processor, the communication interface, and the memory complete communication with each other through the communication bus;
a memory for storing a computer program;
and a processor for implementing any of the above-described user registration method steps when executing the program stored in the memory.
In yet another aspect of the present invention, there is also provided a computer-readable storage medium having a computer program stored therein, the computer program, when executed by a processor, implementing any of the above-mentioned user registration methods.
In yet another aspect of the present invention, there is also provided a computer program product containing instructions which, when run on a computer, cause the computer to perform any of the above-described user registration methods.
The embodiment of the invention provides a user registration method, which comprises the steps of receiving a registration request sent by a target user through a first terminal, and establishing a first communication connection for communicating with the first terminal; when detecting that the authentication data recorded in the appointed back-end server in the server cluster is modified, acquiring the modified authentication data from the appointed back-end server; the modified authentication data comprises an authentication result of the target user; the authentication result of the target user is sent to any back-end server in the server cluster after the second terminal authenticates the information of the target user; and sending a registration result containing the authentication result of the target user to the first terminal through the first communication connection.
Based on the above processing, the second terminal can perform information authentication on the user, and correspondingly, the backend server in the server cluster can obtain the authentication result of the user, and further send the registration result including the authentication result of the user to the first terminal registering the user, so that the problem that the user registration fails due to the fact that the information authentication of the user cannot be completed in the prior art can be avoided to a certain extent, that is, the user registration method provided by the embodiment of the present invention can improve the success rate of user registration.
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 description of the embodiments or the prior art will be briefly described below.
Fig. 1 is a structural diagram of a user registration system provided in an embodiment of the present invention;
fig. 2 is a flowchart of a user registration method provided in an embodiment of the present invention;
fig. 3 is a flowchart of another user registration method provided in the embodiment of the present invention;
fig. 4 is a flowchart of a method for authenticating information of a user according to an embodiment of the present invention;
fig. 5 is a flowchart of another user registration method provided in the embodiment of the present invention;
fig. 6 is a flowchart of another user registration method provided in the embodiment of the present invention;
fig. 7 is a flowchart of another user registration method provided in the embodiment of the present invention;
fig. 8 is a block diagram of another user registration system provided in an embodiment of the present invention;
fig. 9 is a flowchart of an example of a user registration method provided in an embodiment of the present invention;
fig. 10 is a block diagram of a user registration apparatus provided in an embodiment of the present invention;
fig. 11 is a structural diagram of an electronic device provided in an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be described below with reference to the drawings in the embodiments of the present invention.
Referring to fig. 1, fig. 1 is a structural diagram of a user registration system according to an embodiment of the present invention, where the user registration system may include: the system comprises a server cluster, a first terminal and a second terminal. The server cluster may include a plurality of back-end servers. The embodiment of the present invention is described by taking an example that the server cluster includes three backend servers, which are respectively a backend server 1, a backend server 2, and a backend server 3.
The first backend server may be the backend server 1, or the backend server 2, or the backend server 3. The second backend server may be the backend server 1, or the backend server 2, or the backend server 3. The designated backend server may be the backend server 1, or the backend server 2, or the backend server 3. Wherein:
the first terminal may send a registration request of a target user to any backend server in the server cluster.
A first backend server in the server cluster may receive a registration request of a target user and establish a first communication connection for communicating with a first terminal.
The second terminal can perform information authentication on the target user and send the authentication result of the target user to any back-end server in the server cluster.
When receiving the authentication result of the target user, the second back-end server in the server cluster may modify the authentication data recorded in the designated back-end server in the server cluster into the authentication result of the target user.
When detecting that the authentication data recorded in the designated backend server in the service cluster is modified, the first backend server in the server cluster may obtain the modified authentication data from the designated backend server. Further, a registration result including an authentication result of the target user is transmitted to the first terminal through the first communication connection.
The first terminal may receive a registration result of the target user.
Based on the user registration system provided by the embodiment of the invention, the second terminal can perform information authentication on the user, and correspondingly, the back-end server in the server cluster can obtain the authentication result of the user, and further send the registration result containing the authentication result of the user to the first terminal which registers the user, so that the problem of user registration failure caused by incapability of completing the information authentication of the user in the prior art can be avoided to a certain extent, that is, the user registration method provided by the embodiment of the invention can improve the success rate of user registration.
For other embodiments of the above-mentioned user registration system, reference may be made to the following description related to method embodiments of the first backend server, the second backend server, the first terminal, and the second terminal.
Referring to fig. 2, fig. 2 is a flowchart of a user registration method provided in an embodiment of the present invention, where the user registration method is applied to a first backend server in a server cluster in the foregoing embodiment.
The method may comprise the steps of:
s201: and receiving a registration request sent by a target user through a first terminal.
S202: a first communication connection for communicating with a first terminal is established.
S203: and when detecting that the authentication data recorded in the appointed back-end server in the server cluster is modified, acquiring the modified authentication data from the appointed back-end server.
Wherein the modified authentication data comprises an authentication result of the target user; and the authentication result of the target user is sent to any back-end server in the server cluster after the second terminal performs information authentication on the target user.
S204: and sending a registration result containing the authentication result of the target user to the first terminal through the first communication connection.
Based on the user registration method provided by the embodiment of the invention, the second terminal can perform information authentication on the user, and correspondingly, the back-end server in the server cluster can obtain the authentication result of the user, and further send the registration result containing the authentication result of the user to the first terminal which registers the user, so that the problem of user registration failure caused by incapability of completing the information authentication of the user in the prior art can be avoided to a certain extent, that is, the user registration method provided by the embodiment of the invention can improve the success rate of user registration.
For step S201 and step S202, the first backend server may be any backend server in the server cluster. The first terminal may be a terminal for registering a user, and the first terminal may be a terminal that does not have a function of acquiring authentication information of the user, for example, a desktop computer that does not have an image capturing function. Of course, it is understood that the first terminal may be a terminal having a function of acquiring authentication information of the user.
In one implementation, a target user may send a registration request (which may be referred to as a target registration request) of the target user to any backend server in a server cluster through a first terminal (the first backend server is taken as an example for description in the embodiment of the present invention). After receiving the target registration request, the first backend server may establish a communication connection (i.e., a first communication connection) for communicating with the first terminal. Subsequently, the first backend server may communicate with the first terminal over the first communication connection.
In one embodiment of the invention, the server cluster may further comprise a load balancing server. The load balancing server may be a nginnx (Engine X, reverse proxy server).
In one implementation, a target user may send a registration request (i.e., a target registration request) of the target user to a load balancing server in a server cluster through a first terminal. After receiving the target registration request, the load balancing server may determine a backend server (i.e., a first backend server) from the server cluster based on a preset load balancing policy, and send the target registration request to the first backend server.
The first back-end server may also register for the target user after receiving the target registration request. For example, the first backend server may generate an account of the target user and send the account to the first terminal, and then the first terminal may display the received account of the target user, so that the target user may know the account, and subsequently, the target user may access the server through the account.
After the target user is registered through the first terminal, information authentication can be performed on the target user. If the first terminal has the function of acquiring the authentication information of the user, the information authentication of the target user can be carried out through the first terminal. If the first terminal does not have the function of acquiring the authentication information of the user, the information authentication of the target user can be performed through the second terminal having the function of acquiring the authentication information of the user.
In one embodiment of the present invention, referring to fig. 3, before step S203, the method further comprises the steps of:
s205: an authentication indication of the target user is generated.
S206: and sending an authentication instruction to the first terminal through the first communication connection so that the second terminal acquires the authentication instruction from the first terminal, performs information authentication on the target user based on the authentication instruction, and sends an authentication result of the target user to any one back-end server in the server cluster.
For step S205 and step S206, the authentication instruction may be a two-dimensional code representing an authentication page, or the authentication instruction may also be a link address of the authentication page, but is not limited thereto.
The second terminal may be a terminal for performing information authentication on a user, and the second terminal may be a terminal having a function of acquiring authentication information of the user, for example, if the face authentication information of the user needs to be acquired, the first terminal may be a terminal having an image acquisition function, for example, the first terminal may be a mobile phone with a camera, a tablet computer, or the like.
In one implementation, the first backend server may generate an authentication indication of the target user. Further, an authentication instruction of the target user is sent to the first terminal through the first communication connection.
Accordingly, after the first terminal receives the authentication instruction, the authentication instruction can be displayed to prompt the target user to perform information authentication. Further, the second terminal may acquire the authentication instruction from the first terminal, and perform information authentication on the target user. After performing information authentication on the target user, the second terminal may send the authentication result of the target user to any backend server in the server cluster (in the embodiment of the present invention, the second backend server is taken as an example for description).
The authentication result of the target user may include: and the authentication success represents that the second terminal successfully acquires the authentication information of the target user, and the authentication failure represents that the second terminal fails to acquire the authentication information of the target user. For example, the target user terminates the information authentication due to external factors, and at this time, the second terminal does not acquire the authentication information of the target user, which indicates that the authentication fails.
In an embodiment of the present invention, referring to fig. 4, the second backend server may authenticate the information of the target user by the following steps:
s401: and receiving an authentication request sent by the target user through the second terminal, and establishing a second communication connection for communicating with the second terminal.
S402: and receiving the authentication information of the target user, which is sent by the second terminal through the second communication connection.
The authentication information of the target user comprises: face authentication information and fingerprint authentication information of the target user.
S403: and recording that the user identification of the target user corresponds to the authentication information of the target user.
In step S401, the target user may obtain, through the second terminal, the authentication instruction displayed by the first terminal, and further, the second terminal may display an authentication page corresponding to the authentication instruction, so that the target user enters authentication information on the authentication page. Accordingly, the second terminal may obtain the authentication information of the target user.
For example, the authentication indication may be a two-dimensional code, after the first terminal receives the two-dimensional code, the two-dimensional code may be displayed, then, the target user may invoke a camera function of the second terminal to scan the two-dimensional code, and then, the second terminal may display an authentication page corresponding to the two-dimensional code, so that the target user enters authentication information on the authentication page.
In one implementation, after obtaining the authentication indication of the target user, the second terminal may send an authentication request (which may be referred to as a target authentication request) of the target user to a load balancing server in the server cluster. After receiving the target authentication request, the load balancing server may determine a backend server (i.e., a second backend server) from the server cluster based on a preset load balancing policy, and send the target authentication request to the second backend server. The target authentication request carries the terminal identifier of the second terminal.
Correspondingly, after receiving the target authentication request, the second backend server may extract the terminal identifier of the second terminal carried in the target authentication request. Further, a second communication connection for communicating with the second terminal is established based on the terminal identification of the second terminal. Furthermore, after acquiring the authentication information of the target user, the second terminal may send the authentication information of the target user to the second backend server through the second communication connection.
For step S402 and step S403, the target authentication request further carries the user identifier of the target user, and the second backend server may extract the user identifier of the target user carried in the target authentication request, and further, after receiving the authentication information of the target user, the second backend server may record that the user identifier of the target user corresponds to the authentication information of the target user. The authentication information of the target user may include: face authentication information and fingerprint authentication information of the target user.
In an embodiment of the present invention, the authentication result of the target user included in the modified authentication data is that the second backend server in the server cluster writes the authentication result of the target user into the designated backend server after receiving the authentication result of the target user sent by the second terminal.
In one implementation, after receiving the authentication result of the target user, the second backend server may modify the authentication data recorded in the designated backend server to the authentication result of the target user. For example, the second backend server may modify a preset field in the designated backend server for recording the authentication data into the authentication result of the target user.
Where the preset field may be specified by a technician in a storage area of a specified backend server.
It can be understood that, for each backend server in the server cluster, after receiving the authentication result of the target user, the backend server may modify the authentication data recorded in the designated backend server to the authentication result of the target user received by the backend server.
In step S203, the first backend server may detect whether the authentication data recorded in the designated backend server is modified, and when detecting that the authentication data recorded in the designated backend server is modified, it indicates that the user has completed information authentication. At this time, it may be the first backend server that modifies the authentication data recorded in the specified backend server, that is, after receiving the authentication result of the target user, the first backend server modifies the authentication data recorded in the specified backend server into the authentication result of the target user. That is, after registering the target user, the first backend server also performs information authentication on the target user, that is, the first backend server and the second backend server are the same backend server.
Or, the authentication data recorded in the specified backend server may also be modified by another backend server (i.e., a second backend server) other than the first backend server, that is, after receiving the authentication result of the target user, the second backend server modifies the authentication data recorded in the specified backend server into the authentication result of the target user. That is, after the first backend server registers the target user, the second backend server performs information authentication on the target user, that is, the first backend server and the second backend server are different backend servers.
Further, the first backend server may acquire the modified authentication data from the specified backend server, and extract the authentication result of the target user recorded in the modified authentication data.
For example, a technician may deploy a Zookeeper (distributed application coordination service) system in each backend server, use a preset field in a designated backend server as a Znode (Z node) of the Zookeeper system, use information recorded in the preset field as a node value of the Z node, and deploy a corresponding processing module in each backend server. The processing module is configured to modify the node value of the Z node when receiving the authentication result of the user, that is, the processing module may write the authentication result of the user in a preset field.
In addition, the processing module in each backend server may monitor the Z node to determine whether the node value of the Z node is modified. If the node value of the Z node is detected to be modified, the modified node value of the Z node can be obtained, namely modified authentication data is obtained.
In step S204, after extracting the authentication result of the target user recorded in the modified authentication data, the first backend server may send the registration result including the authentication result of the target user to the first terminal through the first communication connection.
When the authentication result of the target user is successful, the registration result of the target user may be successful registration. When the authentication result of the target user is authentication failure, the registration result of the target user may be registration failure.
In addition, the first terminal can also display the authentication result and the registration result of the target user in the user interface for the target user to browse, so that the target user can know the authentication result and the registration result in time. When the authentication result is authentication failure, the target user may request information authentication again, or when the registration result of the user is registration failure, the target user may request registration again.
In one embodiment of the invention, the modified authentication data further comprises: a user identification of the target user. Accordingly, referring to fig. 5, step S204 may include the steps of:
s2041: and determining the terminal identification corresponding to the user identification of the target user in the corresponding relation between the locally stored user identification and the terminal identification.
S2042: and sending a registration result containing the authentication result of the target user to the first terminal to which the determined terminal identification belongs through the first communication connection corresponding to the determined terminal identification.
For step S2041 and step S2042, the terminal identifier of the terminal may be an IP (Internet Protocol) address of the terminal. The user identifier of the user may be a registered mobile phone number of the user, or may also be a user name of the user, but is not limited thereto.
The first backend server may further extract the user identifier of the target user in the modified authentication data after acquiring the modified authentication data from the specified backend server.
If the user identifier of the target user does not exist in the corresponding relationship between the locally stored user identifier and the terminal identifier, indicating that the first back-end server is not a back-end server for registering the target user, the first back-end server may not perform processing.
If the user identifier of the target user exists in the corresponding relationship between the locally stored user identifier and the terminal identifier, it indicates that the first backend server is a backend server registered for the target user, that is, the first backend server stores the terminal identifier of the first terminal. Furthermore, the first backend server may determine, in the correspondence, a terminal identifier corresponding to the user identifier of the target user, where the first terminal to which the terminal identifier belongs is a terminal that sends the target registration request.
Furthermore, the first backend server may determine a communication connection (i.e., a first communication connection) corresponding to the terminal identifier of the first terminal, and send, to the first terminal through the first communication connection, a registration result including an authentication result of the target user.
It is to be understood that, for each backend server, the backend server may obtain the modified authentication data when detecting that the authentication data recorded in the specified backend server is modified. If the backend server determines that the user identifier of the target user exists in the corresponding relationship between the locally stored user identifier and the terminal identifier after acquiring the modified authentication data, indicating that the backend server is a backend server for registering the target user, the backend server may determine the terminal identifier corresponding to the user identifier of the target user in the locally stored corresponding relationship, where the terminal to which the terminal identifier belongs is a terminal (i.e., a first terminal) that sends a target registration request. Further, the backend server may send a registration result including an authentication result of the target user to the first terminal.
In one embodiment of the present invention, referring to fig. 6, after step S201, the method may further include the steps of:
s207: and selecting a target thread from a preset thread pool.
Accordingly, step S205 may include the following steps:
s2051: and generating an authentication indication of the target user through the target thread.
In step S207, the first backend server may open a plurality of threads in a preset thread pool, where the number of the opened threads may be set by a technician according to experience, each thread may be referred to as a Channel Handler, and each thread may be configured to process the registration request received by the first backend server.
Illustratively, a technician may deploy a Netty system in each backend server. Netty is a network communication framework developed based on NIO (new data input and/or data output modalities) that can provide asynchronous, non-blocking communication modalities. The communication bearer for Netty is a Channel. Compared with the prior art, the performance loss of the CPU of the back-end server is large because the CPU (Central Processing Unit) of the back-end server performs data input and/or data output Processing. Based on the user registration method provided by the embodiment of the invention, the CPU of the back-end server does not need to carry out data input and/or data output processing, but the preset thread pool contained in the Netty system carries out data input and/or data output processing, so that the performance loss of the CPU of the back-end server can be reduced.
In one implementation, after receiving the target registration request, the first backend server may select one thread (i.e., the target thread) from a preset thread pool, and process the target registration request through the target thread.
For example, after receiving the target registration request, the first backend server may generate a Channel corresponding to the target registration request, record a user identifier of the target user and a terminal identifier of the first terminal, which are carried in the target registration request, in a Channel Buffer (Channel Buffer) corresponding to the Channel, then select a target thread from a preset thread pool, where the target thread may read the user identifier of the target user and the terminal identifier of the first terminal from the Channel Buffer, and further process the target registration request based on the read information.
In step S2051, the first backend server may generate an authentication instruction of the target user through the target thread. In addition, the first back-end server can also generate an account of the target user through the target thread and send the account to the first terminal.
In an embodiment of the present invention, the target registration request carries a terminal identifier of the first terminal. Referring to fig. 7, step S202 may include the steps of:
s2021: and establishing a first communication connection for communicating with the first terminal through the target thread based on the terminal identification of the first terminal.
In one implementation manner, the first backend server may further extract the terminal identifier of the first terminal carried in the target registration request, and establish a first communication connection (for example, a long connection) for communicating with the first terminal based on the terminal identifier of the first terminal through the target thread, and subsequently, the first backend server may communicate with the first terminal through the first communication connection.
In addition, the first backend server may further record a corresponding relationship between the user identifier of the target user and the terminal identifier of the first terminal, and subsequently, after acquiring the modified authentication data from the specified backend server, the first backend server may determine, in the recorded corresponding relationship, the terminal identifier corresponding to the user identifier of the target user, where the first terminal to which the terminal identifier belongs is a terminal that sends the target registration request, and further, the first backend server may send the registration result of the target user to the first terminal through a first communication connection for communicating with the first terminal.
Referring to fig. 8, fig. 8 is a structural diagram of a user registration system according to an embodiment of the present invention. The user registration system may include: the system comprises a server cluster, a first terminal and a second terminal. The server cluster may include: the system comprises a load balancing server, a back-end server 1, a back-end server 2 and a back-end server 3.
Each back-end server is provided with a processing module contained in the Zookeeper system and a preset thread pool contained in the Netty system. The first backend server may be the backend server 1, or the backend server 2, or the backend server 3, the second backend server may be the backend server 1, or the backend server 2, or the backend server 3, and the designated backend server may be the backend server 1, or the backend server 2, or the backend server 3.
The target user can send a target registration request of the target user to a load balancing server in the server cluster through the first terminal. The load balancing server, after receiving the target registration request, may send the target registration request to a first backend server in the server cluster.
After receiving the target registration request, the first backend server may select a target thread from a preset thread pool, generate an authentication instruction of a target user through the target thread, establish a communication connection for communicating with the first terminal through the target thread, and send the authentication instruction to the first terminal through the communication connection.
The second terminal may obtain the authentication indication from the first terminal, and display an authentication page corresponding to the authentication indication, so that the target user enters authentication information on the authentication page. After obtaining the authentication indication, the second terminal may send a target authentication request of the target user to a load balancing server in the server cluster. The load balancing server, after receiving the target authentication request, may send the target authentication request to a second backend server in the server cluster.
The second backend server may establish a second communication connection for communicating with the second terminal after receiving the target authentication request. And after the second terminal authenticates the information of the target user, the second terminal can obtain the authentication result of the target user and sends the authentication result of the target user to the second back-end server through the second communication connection. After receiving the authentication result of the target user, the second back-end server can modify the preset field in the designated back-end server into the authentication result of the target user through the processing module.
The first back-end server can also detect whether the preset field in the appointed back-end server is modified through the processing module, and when the preset field is detected to be modified, modified authentication data recorded in the preset field is obtained from the appointed back-end server. The modified authentication data includes the authentication result of the target user.
If the user identifier of the target user exists in the corresponding relationship between the user identifier and the terminal identifier stored locally by the first back-end server, the first back-end server may determine the terminal identifier corresponding to the user identifier of the target user in the corresponding relationship, and send a registration result including an authentication result of the target user to the first terminal to which the determined terminal identifier belongs through a first communication connection for communicating with the first terminal.
The first terminal may receive the registration result.
Referring to fig. 9, fig. 9 is a flowchart of an example of a user registration method according to an embodiment of the present invention. Wherein, the terminal side may include: the first terminal and the second terminal, the server cluster side may include: the system comprises a load balancing server, a first back-end server, a second back-end server and a designated back-end server.
The target user can send a target registration request to the load balancing server in the server cluster through the first terminal. The load balancing server, after receiving the target registration request, may send the target registration request to one of the backend servers (i.e., the first backend server) in the server cluster.
After receiving the target registration request, the first back-end server may generate a two-dimensional code of the target user, and send the two-dimensional code to the first terminal. The first terminal may display the two-dimensional code. The second terminal can scan the two-dimensional code and display an authentication page corresponding to the two-dimensional code, so that the target user can enter authentication information on the authentication page.
After the second terminal performs information authentication on the target user, the authentication result of the target user can be obtained, and further, the second terminal can send the authentication result of the target user to a second back-end server in the server cluster.
After receiving the authentication result of the target user, the second backend server may modify the authentication data recorded in the designated backend server in the server cluster into the authentication result of the target user.
And when detecting that the authentication data recorded in the appointed back-end server is modified, the first back-end server acquires the modified authentication data from the appointed back-end server. The modified authentication data includes the authentication result of the target user.
If the user identifier of the target user exists in the corresponding relationship between the user identifier and the terminal identifier stored locally by the first back-end server, the first back-end server may determine the terminal identifier corresponding to the user identifier of the target user in the corresponding relationship, and send the registration result including the authentication result of the target user to the first terminal to which the determined terminal identifier belongs.
The first terminal may receive a registration result of the target user.
The embodiment of the present invention further provides a server cluster, where the server cluster includes a plurality of backend servers, where:
the first back-end server in the server cluster is used for receiving a registration request sent by a target user through a first terminal; establishing a first communication connection for communicating with the first terminal;
the second back-end server in the server cluster is used for modifying the authentication data recorded in the designated back-end server in the server cluster into the authentication result of the target user when receiving the authentication result of the target user sent by the second terminal after the information authentication of the target user is carried out on the target user;
the first back-end server in the server cluster is further used for acquiring modified authentication data from the specified back-end server when the authentication data recorded in the specified back-end server in the server cluster is detected to be modified; and sending a registration result including an authentication result of the target user to the first terminal through the first communication connection.
For other embodiments of the server cluster, reference may be made to the related descriptions regarding method embodiments of the first backend server, the second backend server, the first terminal, and the second terminal.
Based on the server cluster provided by the embodiment of the invention, the second terminal can authenticate the information of the user, and correspondingly, the back-end server in the server cluster can obtain the authentication result of the user and further send the registration result containing the authentication result of the user to the first terminal registering the user, so that the problem of user registration failure caused by incapability of completing the information authentication of the user in the prior art can be avoided to a certain extent, namely, the user registration method provided by the embodiment of the invention can improve the success rate of user registration.
Corresponding to the embodiment of the method in fig. 2, referring to fig. 10, fig. 10 is a structural diagram of a user registration apparatus according to an embodiment of the present invention, where the apparatus is applied to a first backend server in a server cluster, and the apparatus includes:
a first receiving module 1001, configured to receive a registration request sent by a target user through a first terminal;
an establishing module 1002, configured to establish a first communication connection for communicating with the first terminal;
an obtaining module 1003, configured to, when it is detected that authentication data recorded in a designated backend server in the server cluster is modified, obtain the modified authentication data from the designated backend server; wherein the modified authentication data comprises an authentication result of the target user; the authentication result of the target user is sent to any back-end server in the server cluster by the second terminal after the information authentication is carried out on the target user;
a first sending module 1004, configured to send a registration result including an authentication result of the target user to the first terminal through the first communication connection.
Optionally, the apparatus further comprises:
a generation module for generating an authentication indication of the target user;
a second sending module, configured to send the authentication indication to the first terminal through the first communication connection, so that the second terminal obtains the authentication indication from the first terminal, performs information authentication on the target user based on the authentication indication, and sends an authentication result of the target user to any backend server in the server cluster.
Optionally, the authentication result of the target user included in the modified authentication data is that the second backend server in the server cluster writes the authentication result of the target user into the designated backend server after receiving the authentication result of the target user sent by the second terminal.
Optionally, the second backend server performs information authentication on the target user through the following devices:
a second receiving module, configured to receive an authentication request sent by the target user through the second terminal, and establish a second communication connection for communicating with the second terminal;
a third receiving module, configured to receive the authentication information of the target user sent by the second terminal through the second communication connection; wherein the authentication information of the target user comprises: the face authentication information and the fingerprint authentication information of the target user;
and the recording module is used for recording that the user identification of the target user corresponds to the authentication information of the target user.
Optionally, the server cluster further includes a load balancing server; the registration request is forwarded to any back-end server in the server cluster by the load balancing server when receiving the registration request sent by the target user through the first terminal; and the authentication request is forwarded to any back-end server in the server cluster by the load balancing server when receiving the authentication request sent by the target user through the second terminal.
Optionally, the modified authentication data further includes: a user identification of the target user;
the first sending module 1004 is specifically configured to determine, in a correspondence between a locally stored user identifier and a terminal identifier, a terminal identifier corresponding to the user identifier of the target user;
and sending a registration result containing the authentication result of the target user to the first terminal to which the determined terminal identification belongs through the first communication connection corresponding to the determined terminal identification.
Optionally, the authentication result includes: and the authentication success represents that the second terminal successfully acquires the authentication information of the target user, and the authentication failure represents that the second terminal fails to acquire the authentication information of the target user.
Optionally, the apparatus further comprises:
the selection module is used for selecting a target thread from a preset thread pool;
the generating module is specifically configured to generate, by the target thread, an authentication instruction of the target user.
Optionally, the registration request carries a terminal identifier of the first terminal;
the establishing module 1002 is specifically configured to establish, through the target thread, a first communication connection for communicating with the first terminal based on the terminal identifier of the first terminal.
Based on the user registration device provided by the embodiment of the invention, the second terminal can perform information authentication on the user, and correspondingly, the back-end server in the server cluster can obtain the authentication result of the user, and further send the registration result containing the authentication result of the user to the first terminal which registers the user, so that the problem of user registration failure caused by incapability of completing the information authentication of the user in the prior art can be avoided to a certain extent, that is, the user registration method provided by the embodiment of the invention can improve the success rate of user registration.
An embodiment of the present invention further provides an electronic device, as shown in fig. 11, including a processor 1101, a communication interface 1102, a memory 1103 and a communication bus 1104, where the processor 1101, the communication interface 1102 and the memory 1103 complete mutual communication through the communication bus 1104,
a memory 1103 for storing a computer program;
the processor 1101 is configured to implement the steps of the user registration method according to any one of the above embodiments when executing the program stored in the memory 1103.
The communication bus mentioned in the electronic device may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The communication bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown, but this does not mean that there is only one bus or one type of bus.
The communication interface is used for communication between the electronic equipment and other equipment.
The Memory may include a Random Access Memory (RAM) or a non-volatile Memory (non-volatile Memory), such as at least one disk Memory. Optionally, the memory may also be at least one memory device located remotely from the processor.
The Processor may be a general-purpose Processor, and includes a Central Processing Unit (CPU), a Network Processor (NP), and the like; the device can also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, a discrete Gate or transistor logic device, or a discrete hardware component.
Based on the electronic device provided by the embodiment of the invention, the second terminal can perform information authentication on the user, and correspondingly, the back-end server in the server cluster can obtain the authentication result of the user, and further send the registration result containing the authentication result of the user to the first terminal registering the user, so that the problem of user registration failure caused by incapability of completing the information authentication of the user in the prior art can be avoided to a certain extent, that is, the user registration method provided by the embodiment of the invention can improve the success rate of user registration.
In yet another embodiment of the present invention, a computer-readable storage medium is further provided, in which a computer program is stored, and the computer program, when executed by a processor, implements the user registration method in any of the above embodiments.
In a further embodiment of the present invention, there is also provided a computer program product containing instructions which, when run on a computer, cause the computer to perform the user registration method of any of the above embodiments.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the invention to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, from one website site, computer, server, or data center to another website site, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that incorporates one or more of the available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
All the embodiments in the present specification are described in a related manner, and the same and similar parts among the embodiments may be referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the apparatus, the system, the server cluster, the electronic device, the computer-readable storage medium, and the computer program product embodiment, since they are substantially similar to the method embodiment, the description is relatively simple, and it is sufficient to refer to the partial description of the method embodiment for relevant points.
The above description is only for the preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention shall fall within the protection scope of the present invention.

Claims (14)

1. A user registration method is applied to a first back-end server in a server cluster, and comprises the following steps:
receiving a registration request sent by a target user through a first terminal;
establishing a first communication connection for communicating with the first terminal;
when detecting that the authentication data recorded in the appointed back-end server in the server cluster is modified, acquiring the modified authentication data from the appointed back-end server; wherein the modified authentication data comprises an authentication result of the target user; the authentication result of the target user is sent to any back-end server in the server cluster by the second terminal after the information authentication is carried out on the target user;
and sending a registration result containing the authentication result of the target user to the first terminal through the first communication connection.
2. The method according to claim 1, wherein before the obtaining of the modified authentication data from the specified backend server when the authentication data recorded in the specified backend server in the server cluster is modified is detected, the method further comprises:
generating an authentication indication of the target user;
and sending the authentication instruction to the first terminal through the first communication connection so that the second terminal acquires the authentication instruction from the first terminal, performs information authentication on the target user based on the authentication instruction, and sends an authentication result of the target user to any back-end server in the server cluster.
3. The method according to claim 1, wherein the authentication result of the target user included in the modified authentication data is that a second backend server in the server cluster writes the authentication result of the target user to the specified backend server after receiving the authentication result of the target user sent by the second terminal.
4. The method of claim 3, wherein the second backend server performs information authentication on the target user by:
receiving an authentication request sent by the target user through the second terminal, and establishing a second communication connection for communicating with the second terminal;
receiving authentication information of the target user, which is sent by the second terminal through the second communication connection; wherein the authentication information of the target user comprises: the face authentication information and the fingerprint authentication information of the target user;
and recording that the user identification of the target user corresponds to the authentication information of the target user.
5. The method of claim 4, wherein the server cluster further comprises a load balancing server; the registration request is forwarded to any back-end server in the server cluster by the load balancing server when receiving the registration request sent by the target user through the first terminal; and the authentication request is forwarded to any back-end server in the server cluster by the load balancing server when receiving the authentication request sent by the target user through the second terminal.
6. The method of claim 1, wherein the modified authentication data further comprises: a user identification of the target user;
the sending, to the first terminal through the first communication connection, a registration result including an authentication result of the target user includes:
determining a terminal identifier corresponding to the user identifier of the target user in the corresponding relation between the locally stored user identifier and the terminal identifier;
and sending a registration result containing the authentication result of the target user to the first terminal to which the determined terminal identification belongs through the first communication connection corresponding to the determined terminal identification.
7. The method of claim 1, wherein the authentication result comprises: and the authentication success represents that the second terminal successfully acquires the authentication information of the target user, and the authentication failure represents that the second terminal fails to acquire the authentication information of the target user.
8. The method of claim 2, wherein after receiving the registration request sent by the target user via the first terminal, the method further comprises:
selecting a target thread from a preset thread pool;
the generating of the authentication indication of the target user comprises:
generating, by the target thread, an authentication indication of the target user.
9. The method according to claim 8, wherein the registration request carries a terminal identifier of the first terminal;
the establishing a first communication connection for communicating with the first terminal includes:
and establishing a first communication connection for communicating with the first terminal based on the terminal identification of the first terminal through the target thread.
10. A server cluster, characterized in that the server cluster comprises a plurality of back-end servers, wherein:
the first back-end server in the server cluster is used for receiving a registration request sent by a target user through a first terminal; establishing a first communication connection for communicating with the first terminal;
the second back-end server in the server cluster is used for modifying the authentication data recorded in the designated back-end server in the server cluster into the authentication result of the target user when receiving the authentication result of the target user sent by the second terminal after the information authentication of the target user is carried out on the target user;
the first back-end server in the server cluster is further used for acquiring modified authentication data from the specified back-end server when the authentication data recorded in the specified back-end server in the server cluster is detected to be modified; and sending a registration result including an authentication result of the target user to the first terminal through the first communication connection.
11. A user registration system, the user registration system comprising: first terminal, second terminal and server cluster, wherein:
the first terminal is used for sending a registration request of a target user to any back-end server in the server cluster;
the first back-end server in the server cluster is used for receiving the registration request of the target user; establishing a first communication connection for communicating with the first terminal;
the second terminal is used for performing information authentication on the target user and sending an authentication result of the target user to any back-end server in the server cluster;
the second back-end server in the server cluster is used for modifying the authentication data recorded in the appointed back-end server in the server cluster into the authentication result of the target user when the authentication result of the target user is received;
the first back-end server in the server cluster is further used for acquiring modified authentication data from the specified back-end server when the authentication data recorded in the specified back-end server in the server cluster is detected to be modified; and sending a registration result including an authentication result of the target user to the first terminal through the first communication connection;
the first terminal is further configured to receive a registration result of the target user.
12. A user registration apparatus, applied to a first backend server in a server cluster, the apparatus comprising:
the first receiving module is used for receiving a registration request sent by a target user through a first terminal;
an establishing module, configured to establish a first communication connection for communicating with the first terminal;
an obtaining module, configured to obtain modified authentication data from an appointed backend server in the server cluster when it is detected that authentication data recorded in the appointed backend server is modified; wherein the modified authentication data comprises an authentication result of the target user; the authentication result of the target user is sent to any back-end server in the server cluster by the second terminal after the information authentication is carried out on the target user;
a first sending module, configured to send, to the first terminal through the first communication connection, a registration result including an authentication result of the target user.
13. An electronic device is characterized by comprising a processor, a communication interface, a memory and a communication bus, wherein the processor and the communication interface are used for realizing mutual communication by the memory through the communication bus;
a memory for storing a computer program;
a processor for implementing the method steps of any of claims 1-9 when executing a program stored in the memory.
14. A computer-readable storage medium, characterized in that a computer program is stored in the computer-readable storage medium, which computer program, when being executed by a processor, carries out the method steps of any one of the claims 1-9.
CN202011146675.9A 2020-10-23 2020-10-23 User registration method, device and system Active CN112261051B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011146675.9A CN112261051B (en) 2020-10-23 2020-10-23 User registration method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011146675.9A CN112261051B (en) 2020-10-23 2020-10-23 User registration method, device and system

Publications (2)

Publication Number Publication Date
CN112261051A true CN112261051A (en) 2021-01-22
CN112261051B CN112261051B (en) 2023-06-06

Family

ID=74263306

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011146675.9A Active CN112261051B (en) 2020-10-23 2020-10-23 User registration method, device and system

Country Status (1)

Country Link
CN (1) CN112261051B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106921636A (en) * 2015-12-28 2017-07-04 华为技术有限公司 Identity identifying method and device
CN107294900A (en) * 2016-03-30 2017-10-24 阿里巴巴集团控股有限公司 Identity registration method and apparatus based on biological characteristic
CN107809438A (en) * 2017-11-16 2018-03-16 广东工业大学 A kind of network authentication method, system and its user agent device used
CN108900536A (en) * 2018-08-03 2018-11-27 Oppo广东移动通信有限公司 Authentication method, device, computer equipment and storage medium
CN109583181A (en) * 2018-11-29 2019-04-05 新华三技术有限公司 A kind of authentication method, device and machine readable storage medium
CN110955677A (en) * 2019-12-31 2020-04-03 中国银行股份有限公司 Identity verification method, device and system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106921636A (en) * 2015-12-28 2017-07-04 华为技术有限公司 Identity identifying method and device
CN107294900A (en) * 2016-03-30 2017-10-24 阿里巴巴集团控股有限公司 Identity registration method and apparatus based on biological characteristic
CN107809438A (en) * 2017-11-16 2018-03-16 广东工业大学 A kind of network authentication method, system and its user agent device used
CN108900536A (en) * 2018-08-03 2018-11-27 Oppo广东移动通信有限公司 Authentication method, device, computer equipment and storage medium
CN109583181A (en) * 2018-11-29 2019-04-05 新华三技术有限公司 A kind of authentication method, device and machine readable storage medium
CN110955677A (en) * 2019-12-31 2020-04-03 中国银行股份有限公司 Identity verification method, device and system

Also Published As

Publication number Publication date
CN112261051B (en) 2023-06-06

Similar Documents

Publication Publication Date Title
WO2019144549A1 (en) Vulnerability testing method and device, computer equipment, and storage medium
CN110650216B (en) Cloud service request method and device
CN116204438A (en) Test case generation method, automatic test method and related device
CN111046393B (en) Vulnerability information uploading method and device, terminal equipment and storage medium
CN105163317A (en) Network access method, server, terminal and system
CN115828256B (en) Unauthorized and unauthorized logic vulnerability detection method
CN112115103A (en) File address display method and device, electronic equipment and readable storage medium
CN115022201B (en) Data processing function test method, device, equipment and storage medium
CN112261051B (en) User registration method, device and system
CN108377357B (en) Visual platform call method and device
CN108959879A (en) Data capture method, device, electronic equipment and the server of application program
CN111930736B (en) Data verification method and device
CN114866247A (en) Communication method, device, system, terminal and server
CN111131369B (en) APP use condition transmission method and device, electronic equipment and storage medium
CN113852610A (en) Message processing method and device, computer equipment and storage medium
CN106204261A (en) A kind of information processing method, terminal and server
CN111651356A (en) Application program testing method, device and system
CN114039873B (en) Audit method and operation and maintenance security audit system aiming at client type
CN110109819A (en) Using processing method, device, equipment and the readable storage medium storing program for executing debugged extremely
CN113836509B (en) Information acquisition method, device, electronic equipment and storage medium
CN117010011B (en) Data protection system and method
JP2016149103A (en) Account aggregation system, program, and account aggregation server
KR102228632B1 (en) Video playing method, business card server and video playing system connected to a business card
CN112083949B (en) Self-adaptive cross-platform method, device, computer equipment and storage medium
CN109286624B (en) Communication method, device, terminal and 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