CN117879922A - Account verification method and device - Google Patents

Account verification method and device Download PDF

Info

Publication number
CN117879922A
CN117879922A CN202311846445.7A CN202311846445A CN117879922A CN 117879922 A CN117879922 A CN 117879922A CN 202311846445 A CN202311846445 A CN 202311846445A CN 117879922 A CN117879922 A CN 117879922A
Authority
CN
China
Prior art keywords
account
login
verification
user
platform
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.)
Pending
Application number
CN202311846445.7A
Other languages
Chinese (zh)
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.)
Hubei Digital Industry Development Group Co ltd
Original Assignee
Hubei Digital Industry Development Group 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 Hubei Digital Industry Development Group Co ltd filed Critical Hubei Digital Industry Development Group Co ltd
Priority to CN202311846445.7A priority Critical patent/CN117879922A/en
Publication of CN117879922A publication Critical patent/CN117879922A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The invention relates to the technical field of Internet, and provides an account verification method and device. According to the invention, when the device identifier of the corresponding user terminal is not stored in the proxy server, the account verification mode is set as a verification code login mode; when the equipment identifier is stored in the proxy server, and when the difference between the first sending time and the second sending time of the history verification request corresponding to the equipment identifier is smaller than or equal to a first preset time, setting an account verification mode as a shortcut login mode; completing account verification according to the corresponding account verification mode; the account verification operation is carried out on one platform of the platform pool only by means of the short message verification code, the account verification of all the platforms in the platform pool can be directly completed through the same user terminal, the complexity of user operation is simplified, the working efficiency is improved on both the user side and the server side, and the tariffs of corresponding enterprises are saved.

Description

Account verification method and device
Technical Field
The invention relates to the technical field of internet, in particular to an account verification method and device.
Background
With the increasing growth and complexity of information systems, the need for effective management and control of user accounts has increased. In many scenarios, a user needs to use multiple systems and applications to accomplish the job, each of which may require a separate account verification operation. This not only gives the user trouble but also increases the complexity of management.
With the development of internet technology, a single user needs to log in to a large number of internet platforms (systems or applications) every day. Under the scene, the account verification mode of the user name and the password in the prior art is not fast, and the user needs to input the user name and the password at least once on a login page of each internet platform. When logging in a large number of Internet platforms every day, a large number of user names and passwords are memorized, and the user is subjected to multiple inputs, so that a large burden is caused, and the working efficiency of the user is reduced.
The mobile phone short message verification code login mode in the prior art gradually replaces the traditional account verification mode of user names and passwords. The internet platform sends a short message verification code to a mobile phone number input by a user through an operator, the user inputs the short message verification code to the internet platform, and the internet platform performs account verification according to the short message verification code input by the user. The method solves the burden of memorizing a large number of user names and passwords to a certain extent, but for a large number of internet platforms to be logged in, the user needs to perform operations with low convenience such as mobile phone number input, verification code filling and the like on each internet platform, so that the operation of logging in all the internet platforms by the user is complicated.
For the internet platform side, although the short message fee for sending the short message verification code can be reduced by signing up with the operator for the package year service, the package year fee is still higher because the base number for sending the short message verification code is larger and the resources occupied by the operator cannot be reduced.
And the internet platform needs to carry out multi-step operations such as obtaining the mobile phone number, generating and sending the verification code, matching the verification code and the like due to account verification, and only the account verification scene occupies larger resources, so that the performance of the corresponding whole internet platform is reduced.
In view of this, overcoming the drawbacks of the prior art is a problem to be solved in the art.
Disclosure of Invention
The invention aims to solve the technical problems that short message tariffs of corresponding platforms are saved, the complexity of user operation is simplified, the overall working efficiency is improved, and the problems that short message verification codes generated by platform sides in the prior art are large in tariff and the operation of inputting mobile phone numbers, filling verification codes and the like on each platform is excessively complex are solved by realizing quick account verification of multi-platform association.
The invention adopts the following technical scheme:
in a first aspect, the present invention provides an account verification method, in which a terminal identifier set used for logging in any one of a platform pool capable of logging in is maintained in advance; wherein the platform pool comprises a plurality of logins; the account verification method comprises the following steps:
acquiring an account verification request sent by a user terminal at a first sending moment, wherein the account verification request comprises an account association number and a device identifier of the user terminal, and the account verification request is used for logging in one of the login platforms in the platform pool;
if the equipment identifier does not exist in the terminal identifier set or the equipment identifier is not used for the account verification of the user account corresponding to the account association number, the equipment identifier is stored in the terminal identifier set, and the account verification mode of the user account is set as a verification code login mode;
if the equipment identifier exists in the terminal identifier set, setting the account verification mode as a shortcut login mode when the difference between the first sending time and the second sending time of the history verification request corresponding to the equipment identifier is smaller than or equal to a first preset time; wherein the history verification request has been used to log in to one of the registerable platforms in the pool of platforms;
And according to the corresponding account verification mode, completing the account verification of the user account.
Further, the method further comprises the following steps:
when the difference between the first sending time and the second sending time is larger than a first preset time, judging whether a heartbeat message carrying the equipment identifier exists or not;
if the heartbeat message carrying the equipment identifier exists, setting the account verification mode as a shortcut login mode;
and if the heartbeat message carrying the equipment identifier does not exist, setting the account verification mode as a verification code login mode.
Further, after the account verification of the user account is completed according to the corresponding account verification mode, the method specifically includes:
starting from one of the login platforms after account verification is completed, recording the non-communication time between the client side of the login platform and the proxy server; wherein the client runs on the user terminal;
and when the difference between the non-communication time and the connection time threshold is smaller than a second preset time and the user account is in a login state, the client sends a heartbeat message to the proxy server, wherein the heartbeat message carries the equipment identifier.
Further, the step of completing the account verification of the user account according to the corresponding account verification mode specifically includes:
when the account verification mode is a shortcut login mode, inquiring a user account corresponding to the account association number; obtaining login information according to the account verification request, and completing account verification according to the login information;
when the account verification mode is a verification code login mode, sending a verification code to the account association number; and finishing account verification according to the verification code input by the user.
Further, the obtaining login information according to the account verification request, and completing account verification according to the login information specifically includes:
the proxy server obtains login information of at least one login platform which is required to be logged in by the user account according to the account verification request;
the login information is sent to a corresponding login platform;
the login platform receives the login information and completes internal login logic according to the login information; and returning a jump response to the proxy server so as to finish account verification according to the jump response.
Further, the login platform receives the login information, and completes internal login logic according to the login information, and specifically includes:
Using the user name and the corresponding password to complete the first security verification of the login platform; the login information comprises a user name, a password and safety authentication information of the user account on a corresponding login platform;
using the security authentication information to complete a second security verification of the login-capable platform;
after the first security authentication and the second security authentication are completed, setting the user account to be in a login state;
generating a login success page URL of the user account on the login platform according to the login state; and generating a jump response carrying the login success page URL.
Further, the returning a jump response to the proxy server to complete account verification according to the jump response specifically includes:
returning a jump response to the proxy server, wherein the jump response carries a login success page URL of a corresponding login platform;
the proxy server forwards the jump response to the user terminal;
and the client of the login platform jumps to a login success page corresponding to the user account according to the login success page URL so as to complete account verification.
Further, when the account verification mode is a verification code login mode, sending a verification code to the account association number; the account verification is completed according to the verification code input by the user, and the method specifically comprises the following steps:
the proxy server generates a verification code corresponding to the user account and sends the verification code corresponding to the user account to the account association number through an operator;
the user terminal acquires a verification code input by a user; generating a verification code matching request according to the verification code input by the user and the account number associated number; sending the verification code matching request to the proxy server;
the proxy server obtains the verification code input by the user according to the verification code matching request; when the verification code input by the user is matched with the verification code corresponding to the user account, obtaining login information according to the account verification request, and completing account verification according to the login information.
Further, before the obtaining the account verification request sent by the user terminal at the first sending moment, the method specifically includes:
entering a login page of a login platform;
after receiving a clicking event corresponding to a button for sending the verification code, acquiring an account number associated number input by a user in the login page;
Acquiring the equipment identifier; generating an account verification request for the login platform according to the equipment identifier and the account association number;
sending the account verification request to the login platform; the login platform forwards the account verification request to a proxy server.
In a second aspect, the present invention further provides an account verification device, configured to implement the account verification method of the first aspect, where the account verification device includes:
at least one processor; and a memory communicatively coupled to the at least one processor; the memory stores instructions executable by the at least one processor, the instructions being executable by the processor to perform the account verification method of the first aspect.
In a third aspect, the present invention also provides a non-volatile computer storage medium storing computer executable instructions for execution by one or more processors to perform the account verification method of the first aspect.
According to the invention, an account verification request sent by a user terminal at a first sending moment is obtained through a proxy server, and when the device identifier of the corresponding user terminal is not stored in the proxy server, the account verification mode of the user account corresponding to the account association number is set as a verification code login mode; when the equipment identifier is stored in the proxy server, and when the difference between the first sending time and the second sending time of the history verification request corresponding to the equipment identifier is smaller than or equal to a first preset time, setting the account verification mode as a shortcut login mode; and according to the corresponding account verification mode, completing the account verification of the user account. By realizing the rapid account verification of multi-platform association, the number of times of sending short message verification codes is reduced as much as possible, the expense of corresponding enterprises is saved, the complexity of user operation is simplified, and the overall working efficiency is improved; the account verification operation is carried out on one platform of the platform pool only by means of the short message verification code, so that account verification of all platforms in the platform pool can be directly completed through the same user terminal, and the working efficiency is improved on both the user side and the server side.
Drawings
In order to more clearly illustrate the technical solution of the embodiments of the present invention, the drawings that are required to be used in the embodiments of the present invention will be briefly described below. It is evident that the drawings described below are only some embodiments of the present invention and that other drawings may be obtained from these drawings without inventive effort for a person of ordinary skill in the art.
Fig. 1 is an overall flow diagram of an account verification method according to an embodiment of the present invention;
FIG. 2 is a schematic illustration of a specific flow chart of step 10 according to an embodiment of the present invention;
FIG. 3 is a user interface diagram of a landing page provided by an embodiment of the present invention;
fig. 4 is an interaction schematic diagram of a first account verification provided by an embodiment of the present invention;
FIG. 5 is an interaction diagram of a second account verification provided by an embodiment of the present invention;
FIG. 6 is an interaction schematic diagram of a third account verification provided by an embodiment of the present invention;
FIG. 7 is a schematic illustration of a specific flow chart of step 40 according to an embodiment of the present invention;
FIG. 8 is an interaction diagram of a fourth account verification provided by an embodiment of the present invention;
FIG. 9 is a schematic diagram of a specific flow chart of step 401 according to an embodiment of the present invention;
Fig. 10 is an interaction schematic diagram of a fifth account verification provided by an embodiment of the present invention;
FIG. 11 is a schematic illustration of a specific flow of step 4013 in an embodiment of the invention;
FIG. 12 is a schematic diagram showing another specific flow of step 4013 in an embodiment of the invention;
FIG. 13 is a schematic flow chart of step 402 according to an embodiment of the present invention;
fig. 14 is a flowchart of an account verification method according to an embodiment of the present invention;
fig. 15 is a specific flowchart of an account verification method according to an embodiment of the present invention;
fig. 16 is a schematic diagram of an architecture of an account verification device according to an embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the drawings and examples, in order to make the objects, technical solutions and advantages of the present invention more apparent. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
In the description of the present invention, terms such as "inner", "outer", "longitudinal", "transverse", "upper", "lower", "top", "bottom", and the like refer to an orientation or positional relationship based on that shown in the drawings, and are merely for convenience in describing the present invention and do not require that the present invention must be constructed and operated in a particular orientation, and thus should not be construed as limiting the present invention.
The terms "first," "second," and the like herein are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defining "a first", "a second", etc. may explicitly or implicitly include one or more such feature. In the description of the present application, unless otherwise indicated, the meaning of "a plurality" is two or more.
In the present application, unless explicitly specified and limited otherwise, the term "coupled" is to be construed broadly, and for example, "coupled" may be either fixedly coupled, detachably coupled, or integrally formed; can be directly connected or indirectly connected through an intermediate medium.
In addition, the technical features of the embodiments of the present invention described below may be combined with each other as long as they do not collide with each other.
Example 1:
the embodiment 1 of the invention provides an account verification method, which is used for maintaining a terminal identifier set of any one of a login platform pool in advance; wherein the platform pool comprises a plurality of logins; as shown in fig. 1, the account verification method includes:
Step 10: and acquiring an account verification request sent by the user terminal at a first sending moment, wherein the account verification request comprises an account association number and a device identifier of the user terminal, and the account verification request is used for logging in one of the login platforms in the platform pool.
And carrying out account verification through proxy servers, wherein each platform pool corresponds to one proxy server. The proxy server maintains the specific moment when the user terminal sends the account verification request at the self device or the cloud device, so that a login mode is set for a corresponding user account according to time later; for example, a first transmission time.
It should be noted that, in the embodiment of the present invention, a proxy server corresponding to a platform pool is not limited to a proxy server device in an actual physical device; in an alternative embodiment, the proxy server cluster of data intercommunication may be used to improve account verification performance, and the data required to be processed by each specific proxy server in the proxy server cluster is implemented by those skilled in the art with reference to the prior art, which is not limited herein.
Step 20: if the equipment identifier does not exist in the terminal identifier set or the equipment identifier is not used for the account verification of the user account corresponding to the account association number, the equipment identifier is stored in the terminal identifier set, and the account verification mode of the user account is set as a verification code login mode.
The method of maintaining the set of terminal identifiers is selected by a person skilled in the art according to the specific use scenario and is not limited herein.
In an alternative embodiment, a cleaning interval may be set, at which device identifiers that have not been used for logging in for a certain time are cleaned periodically. A first mapping relation between the account number association number and the user account number can be maintained in the proxy server in advance, and the user account number is determined according to the corresponding first mapping relation and the account number association number; and pre-maintaining a second mapping relation between the equipment identifier of the user terminal for sending the account verification request and the user account corresponding to the account verification request, and determining whether the equipment identifier is used for account verification of the corresponding user account according to the corresponding second mapping relation.
Step 30: if the equipment identifier exists in the terminal identifier set, setting the account verification mode as a shortcut login mode when the difference between the first sending time and the second sending time of the history verification request corresponding to the equipment identifier is smaller than or equal to a first preset time; wherein the history verification request has been used to log in to one of the registerable platforms in the pool of platforms.
The account verification request is a verification request for performing account verification on the request; the historical verification request is a verification request of the user account which is sent by the same user terminal corresponding to the corresponding account verification request and corresponds to the corresponding account verification request, and the historical verification request is used for completing account verification of one of the logins in the platform pool; the historical verification request and the account verification request both carry an account association number and a device identifier of the user terminal for sending. The first preset time is selected by a person skilled in the art according to a specific use scenario, and is not limited herein; in an alternative embodiment, the first preset time may be 12 hours.
In the shortcut login method provided by the embodiment of the invention, the proxy server directly completes account verification without sending a verification code to the account association number through an operator, and jumps the page of the corresponding login-capable platform on the user terminal to a login success page.
Step 40: and according to the corresponding account verification mode, completing the account verification of the user account.
The application scene of the embodiment of the invention is as follows: the user can immediately complete account verification of a plurality of login platforms which need to be logged in as soon as the user opens the computer. For the scene, by using the account verification method of the embodiment of the invention, for each login-capable platform, a user only needs to input an account association number and click a verification code sending button. Specifically, only when the account verification of the first login platform is performed, a short message verification code needs to be received and input once, and a login button is clicked; for the account verification of the subsequent login-capable platform, only the account association number is input, and the button for sending the verification code is clicked, so that the user can jump to a successful account verification page on all the subsequent login-capable platforms through the proxy server.
According to the invention, an account verification request sent by a user terminal at a first sending moment is obtained through a proxy server, and when the device identifier of the corresponding user terminal is not stored in the proxy server, the account verification mode of the user account corresponding to the account association number is set as a verification code login mode; when the equipment identifier is stored in the proxy server, and when the difference between the first sending time and the second sending time of the history verification request corresponding to the equipment identifier is smaller than or equal to a first preset time, setting the account verification mode as a shortcut login mode; and according to the corresponding account verification mode, completing the account verification of the user account. According to the method and the system, rapid account verification associated with multiple platforms is realized, so that the problems that the price of the platform side is high, and the account verification operation of the user side and the server side is complicated are solved; the account verification operation is carried out on one platform of the platform pool once only by means of the short message verification code, and the account verification of all the platforms in the platform pool can be directly completed through the same user terminal.
To further illustrate the usage scenario of the embodiment of the present invention, as shown in fig. 2, before the step 10, the method specifically includes:
Step 101: entering a login page of the login-capable platform.
Step 102: and after receiving a clicking event corresponding to the verification code sending button, acquiring an account number associated number input by a user in the login page.
The login page comprises a user interface shown in fig. 3, and after the user inputs an account number associated number in the control identified as "please input a mobile phone number", the user clicks a "send verification code" button. And after the front end of the login platform receives a click event corresponding to the verification code sending button, acquiring an account number associated number input by a user.
Step 103: acquiring the equipment identifier; and generating an account verification request for the login platform according to the equipment identifier and the account association number.
When an account verification request is generated, the device identifier of the user is acquired according to the network information. In an alternative embodiment, the device identifier may be a media access control address (Media Access Control Address, abbreviated MAC address).
Step 104: sending the account verification request to the login platform; the login platform forwards the account verification request to a proxy server.
As shown in fig. 4, each time the login platform receives an authentication request (including a history authentication request and an account authentication request), the received authentication request is forwarded to the proxy server, and the proxy server performs account authentication.
As shown in fig. 5 and fig. 6, in the account verification method in the prior art, when one time of account verification is performed on each login-capable platform, a verification code is required to be sent, and the verification code input by a user is acquired to perform verification code matching. In order to further describe the shortcut registration method and the verification code registration method according to the embodiment of the present invention, as shown in fig. 7, the step 40 specifically includes:
step 401: when the account verification mode is a shortcut login mode, inquiring a user account corresponding to the account association number; obtaining login information according to the account verification request, and completing account verification according to the login information.
As shown in fig. 8, in an alternative embodiment, the user terminal includes a smart phone, a personal computer (Personal Computer, abbreviated as PC), and a notebook computer; the shortcut login method comprises the following 3 main steps: (1) The user fills in the account number associated number in a login page of the login platform; (2) The user terminal (for example, the PC and the notebook computer shown in fig. 8) generates a verification request (for example, the account verification request shown in fig. 8) corresponding to the login platform according to the account association number and the login page, and sends the verification request to the proxy server; (3) And the proxy server directly completes account verification according to the received verification request, and returns the user account to the corresponding user terminal on a login success page of the login platform.
Step 402: when the account verification mode is a verification code login mode, sending a verification code to the account association number; and finishing account verification according to the verification code input by the user.
As shown in fig. 8, in an alternative embodiment, the verification code login method includes the following 6 main steps: (1) The user fills in the account number associated number in a login page of the login platform; (2) A user terminal (for example, a smart phone shown in fig. 8) generates a verification request (for example, a history verification request shown in fig. 8) corresponding to the login platform according to the account association number and the login page, and sends the verification request to a proxy server; (3) The proxy server generates a verification code of the login platform according to the received verification request, and sends the verification code to an account number associated number through an operator; (4) The user receives the short message containing the verification code and inputs the verification code to the login page; (5) The user terminal obtains the verification code from the login page and sends the verification code to the proxy server; (6) And the proxy server matches the received verification code with the generated verification code, if the matching is successful, the account verification is completed, and the user account is returned to the corresponding user terminal on a login success page of the login-capable platform.
According to the embodiment of the invention, the verification code does not need to be sent when the shortcut login mode is used, so that the cost for sending the verification code, the calculation resources for generating the verification code and matching the verification code are saved. Meanwhile, on the user side, the user does not need to fill in verification codes for many times; and the computing resource cost of the process of adding at least one verification code matching on the server side when the user fills in the wrong verification code carelessly is avoided. And the working efficiency of the server side and the user side is improved.
Traditional account verification methods lack flexibility, are usually designed for a single platform, and are difficult to integrate account verification of multiple platforms. According to the embodiment of the invention, the account verification authority of the corresponding loginable platform in the platform pool is applied and distributed for the user account by binding the login state of the user account according to the verification request and combining the shortcut login mode and the verification code login mode, and meanwhile, the time and operation of the user side and the server side and the resources of the server side corresponding to the platform are saved. Specifically, as shown in fig. 9, in step 401, the obtaining login information according to the account verification request, and completing account verification according to the login information specifically includes:
Step 4011: and the proxy server obtains login information of at least one login platform which is required to be logged in by the user account according to the account verification request.
For example, as shown in fig. 8, the user fills in the account number association number on the client of the login platform of the smart phone, the PC and the notebook computer, and clicks the send verification code button. The intelligent mobile phone, the PC and the notebook computer respectively generate corresponding account verification requests and send the account verification requests to the proxy server. The proxy server receives account verification requests of the smart phone, the PC and the notebook computer. Because the user names and passwords corresponding to the user accounts of all the login platforms in the platform pool are maintained in advance on the proxy server, the login information corresponding to the intelligent mobile phone, the PC and the notebook computer is directly obtained according to the corresponding account verification request. The login information comprises a user name, a password and safety authentication information of a user account on a corresponding login platform.
Step 4012: and sending the login information to a corresponding login platform.
In the shortcut login method of the embodiment of the invention, the proxy server directly considers the login as safe because the user terminal is unchanged, and generates corresponding safety authentication information. Because the record of the internal login logic still needs to be added inside the login platform, the proxy server needs to send the login information to the corresponding server of the login platform so as to complete account verification in the server of the login platform.
Step 4013: the login platform receives the login information and completes internal login logic according to the login information; and returning a jump response to the proxy server so as to finish account verification according to the jump response.
As shown in fig. 10, in N platforms in the platform pool, when the proxy server receives account verification requests for the first platform, the second platform and the nth platform, the proxy server obtains corresponding login information, and executes internal login logic of the corresponding platform according to the login information request; the first platform server, the second platform server and the Nth platform server execute own internal login logic respectively.
To further illustrate the internal login logic of the login-capable platform, as shown in fig. 11, in step 4013, the login-capable platform receives the login information, and completes the internal login logic according to the login information, and specifically includes:
step 40131a: using the user name and the corresponding password to complete the first security verification of the login platform; the login information comprises a user name, a password and safety authentication information of the user account on a corresponding login platform.
Step 40132a: and using the security authentication information to complete second security verification of the login platform.
Step 40133a: and after the first security authentication and the second security authentication are completed, setting the user account to be in a login state.
Step 40134a: generating a login success page URL of the user account on the login platform according to the login state; and generating a jump response carrying the login success page URL.
As shown in fig. 10, after the first platform server, the second platform server and the nth platform server respectively execute the internal login logic of the first platform server, the second platform server and the nth platform server, a login success page uniform resource locator (Uniform Resource Locator, abbreviated as URL) which is skipped to after the login of the corresponding platform is successful is returned to the proxy server; and the proxy server forwards the corresponding login success page URL to the smart phone.
As shown in fig. 12, in the step 4013, the step of returning a jump response to the proxy server to complete account verification according to the jump response specifically includes:
step 40131b: and returning a jump response to the proxy server, wherein the jump response carries a login success page URL of the corresponding login platform.
Step 40132b: the proxy server forwards the jump response to the user terminal.
Step 40133b: and the client of the login platform jumps to a login success page corresponding to the user account according to the login success page URL so as to complete account verification.
As shown in fig. 10, the clients of the first platform, the second platform and the nth platform running on the smart phone jump to the login success pages of the corresponding platforms respectively according to the login success page URLs.
To illustrate the case of performing account verification for the first time, as shown in fig. 13, the step 402 specifically includes:
step 4021: and the proxy server generates a verification code corresponding to the user account and sends the verification code corresponding to the user account to the account association number through an operator.
Step 4022: the user terminal acquires a verification code input by a user; generating a verification code matching request according to the verification code input by the user and the account number associated number; and sending the verification code matching request to the proxy server.
Step 4023: the proxy server obtains the verification code input by the user according to the verification code matching request; when the verification code input by the user is matched with the verification code corresponding to the user account, obtaining login information according to the account verification request, and completing account verification according to the login information.
Example 2:
the embodiment of the invention provides a preferable scheme of an account verification method on the basis of the embodiment 1. Specifically, as shown in fig. 14, after the step 40, specifically including:
in step 501, starting from the one of the login-capable platforms after the account verification is completed, recording the non-communication time between the client side of the login-capable platform and the proxy server; wherein the client runs on the user terminal.
The non-communication time of one login-capable platform is the time interval of non-communication between the login-capable platform and the proxy server.
In step 502, when the difference between the non-communication time and the connection time threshold is smaller than a second preset time and the user account is in a login state, the client sends a heartbeat message to the proxy server, where the heartbeat message carries the device identifier.
Wherein the second preset time and the connection time threshold are selected by a person skilled in the art according to a specific use scenario, and are not limited herein; in an alternative embodiment, the connection time threshold may be two days and the second preset time may be 0.
The heartbeat message is used for monitoring the running state of the machine network memory; the heartbeat request message is sent to the server by the client, and the heartbeat response message is responded to the client by the server; the heartbeat message is used for maintaining the connection between the client and the server.
The client needs to send data to the proxy server for communication within a connection time threshold after the client establishes a connection with the server, otherwise, the proxy server is automatically disconnected, and if the client does not send data within the connection maintaining time, but does not want to lose connection with the proxy server, a heartbeat request message is sent.
The application scene of the embodiment of the invention is as follows: the user just completes the account verification of a plurality of login platforms which need to be logged in only when opening the computer. But after the first preset time is exceeded, the user needs to perform account verification of other loginfoldable platforms.
For the scene, the account verification method of the embodiment combines the heartbeat message to judge whether a login platform which is still in a login state of the user account exists; when the user exists, the user can jump to the successful account verification page on all subsequent logins through the proxy server only by inputting the account association number and clicking the verification code sending button. Specifically, as shown in fig. 14, the method further includes:
in step 503, when the difference between the first sending time and the second sending time is greater than a first preset time, it is determined whether there is a heartbeat message carrying the device identifier.
Wherein the first platform has established a connection, the corresponding proxy server maintains the heartbeat message,
in step 504, if there is a heartbeat message carrying the device identifier, the account verification mode is set as a shortcut login mode.
As long as it is determined that there is a heartbeat message of the user account for any one of the registerable platforms in the platform pool, that is, there is a login state of one user device for any one of the registerable platforms, the same user device can be used to log in other registerable platforms in a shortcut login manner under the condition that the first preset time is exceeded.
In step 505, if there is no heartbeat message carrying the device identifier, the account verification mode is set as a verification code login mode.
When the first preset time is exceeded and no corresponding heartbeat message exists, all login states of all the login-capable platforms in the platform pool of the user account are not in login states, and the account verification method (verification code login mode) for first login is used for login.
As shown in fig. 15, the embodiment of the invention designs a multi-platform associated account verification method for multiple platforms; the execution subjects of the flows shown in the dashed boxes are proxy servers. The user can log in through a shortcut one-key login mode by only performing account verification of a verification code login mode, and can access among a plurality of login platforms in a seamless mode, so that the complicated process of repeatedly inputting a user name and a password is avoided, the user experience is greatly improved, and the account verification flow is simplified. And by reducing the account verification times of the verification code login mode, the short message expense for sending the short message verification code is greatly reduced.
Example 3:
fig. 16 is a schematic diagram of an architecture of an account verification device according to an embodiment of the present invention. The account verification device of the present embodiment includes one or more processors 21 and a memory 22. In fig. 16, a processor 21 is taken as an example.
The processor 21 and the memory 22 may be connected by a bus or otherwise, which is illustrated in fig. 16 as a bus connection.
The memory 22 is used as a nonvolatile computer-readable storage medium for storing a nonvolatile software program and a nonvolatile computer-executable program, as in the account verification method in embodiment 1. The processor 21 performs the account number verification method by running non-volatile software programs and instructions stored in the memory 22.
The memory 22 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid-state storage device. In some embodiments, memory 22 may optionally include memory located remotely from processor 21, which may be connected to processor 21 via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The program instructions/modules are stored in the memory 22, which when executed by the one or more processors 21, perform the account number verification method of embodiment 1 described above, for example, performing the steps shown in fig. 1-2, 7, 9, 11-14 described above.
It should be noted that, because the content of information interaction and execution process between modules and units in the above-mentioned device and system is based on the same concept as the processing method embodiment of the present invention, specific content may be referred to the description in the method embodiment of the present invention, and will not be repeated here.
Those of ordinary skill in the art will appreciate that all or a portion of the steps in the various methods of the embodiments may be implemented by a program that instructs associated hardware, the program may be stored on a computer readable storage medium, the storage medium may include: read Only Memory (ROM), random access Memory (RAM, random Access Memory), magnetic or optical disk, and the like.
The foregoing description of the preferred embodiments of the invention is not intended to be limiting, but rather is intended to cover all modifications, equivalents, and alternatives falling within the spirit and principles of the invention.

Claims (10)

1. An account verification method is characterized in that a terminal identifier set for any one of a login platform pool is maintained in advance; wherein the platform pool comprises a plurality of logins; the account verification method comprises the following steps:
acquiring an account verification request sent by a user terminal at a first sending moment, wherein the account verification request comprises an account association number and a device identifier of the user terminal, and the account verification request is used for logging in one of the login platforms in the platform pool;
if the equipment identifier does not exist in the terminal identifier set or the equipment identifier is not used for the account verification of the user account corresponding to the account association number, the equipment identifier is stored in the terminal identifier set, and the account verification mode of the user account is set as a verification code login mode;
if the equipment identifier exists in the terminal identifier set, setting the account verification mode as a shortcut login mode when the difference between the first sending time and the second sending time of the history verification request corresponding to the equipment identifier is smaller than or equal to a first preset time; wherein the history verification request has been used to log in to one of the registerable platforms in the pool of platforms;
And according to the corresponding account verification mode, completing the account verification of the user account.
2. An account number verification method as claimed in claim 1, further comprising:
when the difference between the first sending time and the second sending time is larger than a first preset time, judging whether a heartbeat message carrying the equipment identifier exists or not;
if the heartbeat message carrying the equipment identifier exists, setting the account verification mode as a shortcut login mode;
and if the heartbeat message carrying the equipment identifier does not exist, setting the account verification mode as a verification code login mode.
3. The account verification method according to claim 1, wherein after the account verification of the user account is completed according to the corresponding account verification manner, the method specifically comprises:
starting from one of the login platforms after account verification is completed, recording the non-communication time between the client side of the login platform and the proxy server; wherein the client runs on the user terminal;
and when the difference between the non-communication time and the connection time threshold is smaller than a second preset time and the user account is in a login state, the client sends a heartbeat message to the proxy server, wherein the heartbeat message carries the equipment identifier.
4. The account verification method according to claim 1, wherein the step of completing the account verification of the user account according to the corresponding account verification method specifically comprises:
when the account verification mode is a shortcut login mode, inquiring a user account corresponding to the account association number; obtaining login information according to the account verification request, and completing account verification according to the login information;
when the account verification mode is a verification code login mode, sending a verification code to the account association number; and finishing account verification according to the verification code input by the user.
5. The account verification method according to claim 4, wherein the obtaining login information according to the account verification request, and completing account verification according to the login information, specifically comprises:
the proxy server obtains login information of at least one login platform which is required to be logged in by the user account according to the account verification request;
the login information is sent to a corresponding login platform;
the login platform receives the login information and completes internal login logic according to the login information; and returning a jump response to the proxy server so as to finish account verification according to the jump response.
6. The account verification method of claim 5, wherein the registerable platform receives the login information, completes internal login logic according to the login information, and specifically comprises:
using the user name and the corresponding password to complete the first security verification of the login platform; the login information comprises a user name, a password and safety authentication information of the user account on a corresponding login platform;
using the security authentication information to complete a second security verification of the login-capable platform;
after the first security authentication and the second security authentication are completed, setting the user account to be in a login state;
generating a login success page URL of the user account on the login platform according to the login state; and generating a jump response carrying the login success page URL.
7. An account verification method according to claim 5, wherein the returning a jump response to the proxy server to complete account verification according to the jump response, comprises:
returning a jump response to the proxy server, wherein the jump response carries a login success page URL of a corresponding login platform;
The proxy server forwards the jump response to the user terminal;
and the client of the login platform jumps to a login success page corresponding to the user account according to the login success page URL so as to complete account verification.
8. The account verification method according to claim 4, wherein when the account verification mode is a verification code login mode, a verification code is sent to the account association number; the account verification is completed according to the verification code input by the user, and the method specifically comprises the following steps:
the proxy server generates a verification code corresponding to the user account and sends the verification code corresponding to the user account to the account association number through an operator;
the user terminal acquires a verification code input by a user; generating a verification code matching request according to the verification code input by the user and the account number associated number; sending the verification code matching request to the proxy server;
the proxy server obtains the verification code input by the user according to the verification code matching request; when the verification code input by the user is matched with the verification code corresponding to the user account, obtaining login information according to the account verification request, and completing account verification according to the login information.
9. The account verification method according to claim 1, wherein before the step of obtaining the account verification request sent by the user terminal at the first sending moment, the method specifically includes:
entering a login page of a login platform;
after receiving a clicking event corresponding to a button for sending the verification code, acquiring an account number associated number input by a user in the login page;
acquiring the equipment identifier; generating an account verification request for the login platform according to the equipment identifier and the account association number;
sending the account verification request to the login platform; the login platform forwards the account verification request to a proxy server.
10. An account verification device, comprising at least one processor and a memory, wherein the at least one processor and the memory are connected through a data bus, and the memory stores instructions executable by the at least one processor, and the instructions, after being executed by the processor, are configured to implement the account verification method according to any one of claims 1 to 9.
CN202311846445.7A 2023-12-29 2023-12-29 Account verification method and device Pending CN117879922A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311846445.7A CN117879922A (en) 2023-12-29 2023-12-29 Account verification method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311846445.7A CN117879922A (en) 2023-12-29 2023-12-29 Account verification method and device

Publications (1)

Publication Number Publication Date
CN117879922A true CN117879922A (en) 2024-04-12

Family

ID=90583960

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311846445.7A Pending CN117879922A (en) 2023-12-29 2023-12-29 Account verification method and device

Country Status (1)

Country Link
CN (1) CN117879922A (en)

Similar Documents

Publication Publication Date Title
CN110351283B (en) Data transmission method, device, equipment and storage medium
CN108712485B (en) Resource subscription method and device for Internet of things equipment
US20160295018A1 (en) System and Method for Optimizing Agent Time
CN107690149B (en) Method for triggering network policy update, management function entity and core network equipment
CN104253686A (en) Account number login method, equipment and system
CN109547524B (en) User behavior storage method, device, equipment and storage medium based on Internet of things
CN111385267A (en) Application authorization control method and device and electronic equipment
CN111372238B (en) Login method, login device, electronic equipment and computer-readable storage medium
US6785705B1 (en) Method and apparatus for proxy chaining
CN106656919B (en) A kind of session analytic method and system based on Telnet agreement
CN109150913B (en) Method and device for accessing application under micro-service architecture, storage medium and server
CN104902033B (en) Log in address recording method and device
CN110892697A (en) Acceleration system for assisting API call processing
CN105450513B (en) File the method and cloud storage service device of Email attachment
CN112073512B (en) Data processing method and device
CN102109986B (en) Method, system and device for providing connection serial numbers and connecting plugins
CN117879922A (en) Account verification method and device
CN111356090A (en) Networking method of network, device thereof, terminal and computer readable storage medium
CN107370805B (en) Service processing method and device and service processing system
CN117857164A (en) Cross-platform rapid account verification method and device
CN113596105B (en) Content acquisition method, edge node and computer readable storage medium
CN112235363B (en) Data processing method, device, electronic equipment, storage medium and system
CN115525442A (en) Remote command execution method and device
CN114124981A (en) Cloud storage data direct transmission management method, cloud transmission management platform and system
CN110474954B (en) Block chain-based file sharing method and device, computer equipment and readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination