CN110493206B - Account login method and device - Google Patents

Account login method and device Download PDF

Info

Publication number
CN110493206B
CN110493206B CN201910727120.4A CN201910727120A CN110493206B CN 110493206 B CN110493206 B CN 110493206B CN 201910727120 A CN201910727120 A CN 201910727120A CN 110493206 B CN110493206 B CN 110493206B
Authority
CN
China
Prior art keywords
login
target account
url
short message
mobile terminal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910727120.4A
Other languages
Chinese (zh)
Other versions
CN110493206A (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.)
Richinfo Technology Co ltd
Original Assignee
Richinfo 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 Richinfo Technology Co ltd filed Critical Richinfo Technology Co ltd
Priority to CN201910727120.4A priority Critical patent/CN110493206B/en
Publication of CN110493206A publication Critical patent/CN110493206A/en
Application granted granted Critical
Publication of CN110493206B publication Critical patent/CN110493206B/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/08Protocols specially adapted for terminal emulation, e.g. Telnet
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/06Authentication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/12Messaging; Mailboxes; Announcements
    • H04W4/14Short messaging services, e.g. short message services [SMS] or unstructured supplementary service data [USSD]

Landscapes

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

Abstract

The embodiment of the invention discloses an account login method and device. The method comprises the following steps: receiving a short message URL request which is sent by a PC end and carries target account information; the short message URL request is generated in response to the operation of a user acting on a PC login control; generating a short message URL, a UUID and a verification code of a target account, and sending the short message URL to the mobile terminal to indicate that the mobile terminal feeds back target account information when detecting that a user clicks the short message URL; if the verification code of the target account is determined to be stored according to the target account information fed back by the mobile terminal, determining that the URL is legal; and if the UUID of the target account is determined to be in the confirmed state in response to the UUID state query request of the target account sent by the PC terminal, sending a login success instruction to the PC terminal to indicate that the target account of the PC terminal is successfully logged in. The embodiment of the invention avoids the error caused by manually inputting the verification code and improves the login efficiency.

Description

Account login method and device
Technical Field
The embodiment of the invention relates to the Internet technology, in particular to an account login method and device.
Background
The login mode of using the mobile terminal of the user to obtain the login authentication of the PC terminal is generally accepted by the user, the process of inputting the password by the user is omitted, and inconvenience caused when the user forgets the password is avoided.
At present, a certain website is logged in at a PC end, a user can log in by adopting a short message verification code, the short message verification code is manually input after the verification code is received, if the input is wrong, the short message verification code needs to be input again or issued again and input again, the operation is complicated, and mistakes are easy to occur. In the industry, password-free login of the PC end is realized by adopting a two-dimensional code scanning mode, code scanning confirmation login needs to be realized by a matched APP (Application), and password-free login of the PC end cannot be realized for services without an APP terminal. Meanwhile, the APP is used for scanning the code to log in, the APP needs to be opened, the code scanning page is entered, the login process is complex to confirm, and the user is inconvenient to log in.
Disclosure of Invention
The embodiment of the invention provides an account login method and device, which are used for realizing that a user can quickly login to a PC (personal computer) site without an authentication code.
In a first aspect, an embodiment of the present invention provides an account login method, which is executed by a login server, and includes:
receiving a short message URL request which is sent by a PC end and carries target account information; the short message URL request is generated in response to the operation of a user acting on a PC login control;
generating a short message URL, a UUID and a verification code of a target account, and issuing the short message URL to a mobile terminal to indicate the mobile terminal to feed back target account information when detecting that a user clicks the short message URL;
if the verification code of the target account is determined to be stored according to the target account information fed back by the mobile terminal, determining that the URL is legal;
and if the UUID of the target account is determined to be in the confirmed state in response to the UUID state query request of the target account sent by the PC terminal, sending a login success instruction to the PC terminal to indicate that the target account of the PC terminal is successfully logged in.
Optionally, after determining that the URL is legal, the method further includes:
controlling the mobile terminal to jump to a temporary session interface;
if a login confirmation instruction sent by the mobile terminal is received, the UUID of the target account is adjusted to be in a confirmed state; and the login confirmation instruction is generated in response to the user clicking a login confirmation control in the temporary session interface.
Optionally, after the instruction of successful login is sent to the PC, the method further includes:
and clearing the short message URL, UUID and verification code of the target account.
In a second aspect, an embodiment of the present invention further provides an account login method, which is executed by a mobile terminal, and includes:
receiving a short message URL (uniform resource locator) issued by a login server, wherein the short message URL is generated by the login server in response to a short message URL request which is sent by a PC (personal computer) end and carries target account information;
when the fact that the user clicks the short message URL is detected, feeding back target account information to the login server to indicate the login server to execute the following steps: if the verification code of the target account is determined to be stored according to the target account information fed back by the mobile terminal, determining that the URL is legal; and if the UUID of the target account is determined to be in the confirmed state in response to the UUID state query request of the target account sent by the PC terminal, sending a login success instruction to the PC terminal to indicate that the target account of the PC terminal successfully logs in.
Optionally, after feeding back the target account information to the login server, the method further includes:
jumping to a temporary session interface according to a control instruction of the login server;
responding to a confirmation login control clicked by a user in the temporary session interface, and generating a confirmation login instruction;
and sending the login confirmation instruction to a login server to indicate the login server to adjust the UUID of the target account to be in a confirmed state.
In a third aspect, an embodiment of the present invention further provides an account login method, which is executed by a PC, and includes:
responding to the operation of a user on a PC terminal login control, and generating a short message URL request;
sending the short message URL request to a login server to indicate the login server to generate a short message URL, a UUID and a verification code of a target account, and sending the short message URL to a mobile terminal for the mobile terminal to click;
sending a UUID state query request of a target account to a login server to indicate the login server to send a login success instruction to a PC (personal computer) terminal if the UUID of the target account is determined to be in a confirmed state;
and responding to the login success instruction, and controlling the PC terminal target account to successfully login.
In a fourth aspect, an embodiment of the present invention further provides an apparatus for account login, where the apparatus is configured in a login server, and the apparatus includes:
the short message URL request receiving module is used for receiving a short message URL request which is sent by a PC terminal and carries target account information; the short message URL request is generated in response to the operation of a user acting on a PC login control;
the target account information feedback module is used for generating a short message URL, a UUID and a verification code of a target account, and issuing the short message URL to the mobile terminal to indicate the mobile terminal to feed back target account information when the mobile terminal detects that a user clicks the short message URL;
the URL legality determining module is used for determining that the URL is legal if the verification code of the target account is stored according to the target account information fed back by the mobile terminal;
and the target account login module is used for sending a login success instruction to the PC terminal to indicate that the PC terminal successfully logs in the target account if the UUID of the target account is determined to be in the confirmed state in response to the UUID state query request of the target account sent by the PC terminal.
Optionally, the URL legitimacy determining module is further specifically configured to:
controlling the mobile terminal to jump to a temporary session interface;
if a login confirmation instruction sent by the mobile terminal is received, the UUID of the target account is adjusted to be in a confirmed state; and the login confirmation instruction is generated in response to the user clicking a login confirmation control in the temporary session interface.
In a fifth aspect, an embodiment of the present invention further provides an apparatus for account login, where the apparatus is configured in a mobile terminal, and the apparatus includes:
the system comprises a short message URL receiving module, a login server and a server, wherein the short message URL receiving module is used for receiving a short message URL issued by the login server, and the short message URL is generated by the login server in response to a short message URL request which is sent by a PC end and carries target account information;
the login server execution module is used for feeding back target account information to the login server when the fact that the user clicks the short message URL is detected, so that the login server is instructed to execute the following steps: if the verification code of the target account is determined to be stored according to the target account information fed back by the mobile terminal, determining that the URL is legal; and if the UUID of the target account is determined to be in the confirmed state in response to the UUID state query request of the target account sent by the PC terminal, sending a login success instruction to the PC terminal to indicate that the target account of the PC terminal is successfully logged in.
In a sixth aspect, an embodiment of the present invention further provides an account login device, where the account login device is configured in a PC, and the device includes:
the short message URL request generating module is used for responding to the operation of a user on the PC terminal login control and generating a short message URL request;
the short message URL issuing module is used for sending the short message URL request to the login server so as to indicate the login server to generate a short message URL, a UUID and a verification code of a target account, and issuing the short message URL to the mobile terminal for the mobile terminal to click;
the login success instruction sending module is used for sending a UUID state inquiry request of the target account to the login server so as to indicate the login server to send a login success instruction to the PC terminal if the UUID of the target account is determined to be in the confirmed state;
and the login success instruction response module is used for responding to the login success instruction and controlling the PC terminal target account to successfully login.
According to the embodiment of the invention, the login request is acquired from the PC terminal, the short message URL is sent to the mobile terminal, the short message URL is clicked, the PC terminal can be directly logged in without the verification code, the verification code does not need to be manually input by a user, the error caused by manually inputting the verification code is avoided, the specific APP does not need to be opened for code scanning login, the login steps are reduced, and the login efficiency is improved.
Drawings
Fig. 1 is a schematic flowchart of an account login method according to a first embodiment of the present invention;
fig. 2 is a schematic flowchart of an account login method in a second embodiment of the present invention;
fig. 3 is a schematic flowchart of an account login method in the third embodiment of the present invention;
fig. 4 is a block diagram of an account login apparatus in a fourth embodiment of the present invention;
fig. 5 is a block diagram of an account login apparatus in a fifth embodiment of the present invention;
fig. 6 is a block diagram of a structure of account login in a sixth embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
Example one
Fig. 1 is a flowchart illustrating an account login method according to an embodiment of the present invention, where the present embodiment is applicable to a case where a verification code is not logged in to a PC, and the method may be executed by an account login device in a login server, as shown in fig. 1, the method specifically includes the following steps:
step 110, receiving a short message URL request which is sent by a PC end and carries target account information; the short message URL request is generated in response to the operation of the user on the PC login control.
Specifically, a user clicks a login control on a PC, the PC generates a short message URL request in response to the user operation, sends the short message URL request carrying target account information to a login server, and the login server receives the short message URL request sent by the PC, where the target account information may be an account of a user, such as a mobile phone number and a mailbox, and the account of the PC is bound to the account of the mobile phone number or the mailbox, and the short message URL request includes the account information of the user.
The number of times that the user clicks the login control on the PC terminal can have a time threshold, and when the time interval between two clicks is smaller than the time threshold, the short message URL request cannot be generated. For example, the time interval of every two clicks is 3 seconds, and if the login control is clicked more than once within three seconds, only the first click operation can generate the short message URL request.
And 120, generating a short message URL, a UUID and a verification code of the target account, and issuing the short message URL to the mobile terminal to indicate the mobile terminal to feed back the information of the target account when the mobile terminal detects that the user clicks the short message URL.
Specifically, after receiving a short message URL request sent by a PC, the login server generates a URL, a UUID, and a verification code of a target account, where the target account is account information bound to the PC, for example, a mobile phone number of a user. The generated UUID and the verification code are cached in the login server and bound with the target account, the UUID is a universal unique identification code which is a 32-bit random character string and is allocated to each short message URL, the life cycle of the UUID is from the generation of the short message URL to the completion of the successful login, or the life cycle of the UUID is not successful in login but the existence time of the UUID exceeds a first preset life cycle, for example, the first preset life cycle can be 10 minutes, and when the existence time of the UUID exceeds 10 minutes or is within 10 minutes, the user successfully logs in, the server clears the UUID. When the UUID is generated, initializing the state of the UUID, wherein the state of the UUID is not verified; when the existence time of the UUID exceeds a first preset life cycle, the UUID state is invalid; when the user actively cancels the login, the UUID state is cancelled. When the UUID is in a cancelled or invalidated state, the login process ends at this point. The verification code is used for verifying the validity of the short message URL, the verification code is cached in the login server from the generation of the short message URL, when the existence time of the verification code exceeds a second preset life cycle, but the user does not open the URL link or the user successfully logs in, the verification code is cleared and does not exist in the login server, the second preset life cycle can be smaller than or equal to the first preset life cycle, for example, the second preset life cycle is 10 minutes, when the existence time of the verification code exceeds 10 minutes, the user still does not open the URL link, the verification code is deleted from the login server, at the moment, the user wants to open the URL link, the URL link is verified to be legal by no verification code, and the URL link cannot be opened; when the verification code exists in the login server, the URL link is required to be opened at the moment, and the corresponding verification code proves that the URL link is legal, so that the URL link can be opened.
And the generated short message URL is issued to the bound target account, the user clicks the URL link, the mobile terminal feeds back the target account information to the login server, and the login server inquires the verification code corresponding to the target account information.
And step 130, if the verification code of the target account is determined to be stored according to the target account information fed back by the mobile terminal, determining that the URL is legal.
The method comprises the steps that a verification code corresponding to a short message URL is inquired from a login server according to target account information fed back by a mobile terminal, if the corresponding verification code is inquired, the short message URL is confirmed to be legal, a URL link can be opened, and at the moment, a UUID is verified, and the state is not confirmed; if the corresponding verification code cannot be found, the short message URL is illegal, the URL link cannot be opened, and the UUID state is cancelled or invalid.
Step 140, if the UUID of the target account is determined to be in the confirmed state in response to the UUID state query request of the target account sent by the PC, sending a login success instruction to the PC to indicate that the target account of the PC is successfully logged in.
When the user opens the URL connection, the mobile terminal interface jumps to the temporary session interface, the user can click the login confirmation control on the temporary session interface to generate a login confirmation instruction, and if the login server receives the login confirmation instruction sent by the mobile terminal, the UUID state of the target account is adjusted to be confirmed. Specifically, in the process from generation of the UUID to successful login, the PC continuously initiates a polling operation of the UUID state to the login server, and if the UUID state of the target account is confirmed, the server sends a login success instruction to the PC to indicate that the target account of the PC is successfully logged in, and the PC automatically jumps to an interface with successful login.
And if the user logs in successfully, the UUID and the verification code of the target account are cleared from the login server, and the short message URL is invalid.
According to the technical scheme of the embodiment, the login server receives a login request sent by the PC terminal, a short message URL, a UUID and a verification code are generated, the short message URL is issued to the mobile terminal, the user clicks the short message URL to verify that the URL is legal, and when the UUID state is confirmed, the PC terminal automatically jumps to the interface, so that login is successful. The function of automatic login without inputting the verification code is realized, the error caused by manually inputting the verification code is avoided, the login time of the user is saved, the login steps are reduced, and the login efficiency is improved.
Example two
Fig. 2 is a flowchart illustrating an account login method according to a second embodiment of the present invention, where this embodiment is applicable to a case where a verification code is not logged in to a PC, and the method may be executed by an account login device in a mobile terminal, as shown in fig. 2, where the method specifically includes the following steps:
and step 210, receiving a short message URL issued by the login server, wherein the short message URL is generated by the login server in response to a short message URL request which is sent by the PC and carries the target account information.
Specifically, a user clicks a login control on a PC side interface, the PC side sends a short message URL request carrying target account information to a login server, and the login server responds to the short message URL request sent by the PC side and sends a short message URL to the mobile terminal. And the login server caches the UUID and the verification code corresponding to the account information of the mobile terminal.
Step 220, when it is detected that the user clicks the short message URL, feeding back target account information to the login server to instruct the login server to execute the following steps: if the verification code of the target account is determined to be stored according to the target account information fed back by the mobile terminal, determining that the URL is legal; and if the UUID of the target account is determined to be in the confirmed state in response to the UUID state query request of the target account sent by the PC terminal, sending a login success instruction to the PC terminal to indicate that the target account of the PC terminal is successfully logged in.
If the mobile terminal detects that a user clicks a short message URL, the mobile terminal feeds back target account information to the login server, the login server inquires whether a verification code corresponding to the target account exists, and if yes, the short message URL is determined to be legal; if not, the short message URL is illegal. If the short message URL is legal, the mobile terminal jumps the interface of the mobile terminal to the temporary session information according to the control instruction of the login server, the UUID is verified, and the state of the UUID is not confirmed at the moment.
If the user clicks the login confirmation control of the temporary session interface, the mobile terminal responds to the clicking operation of the user to generate a login confirmation instruction, the login confirmation instruction is sent to the login server, and the login server adjusts the UUID state to be confirmed. And in the login process, the PC terminal initiates a polling operation to the UUID in the login server, when the UUID of the target account is determined to be in the confirmed state, the login server generates a login success instruction and sends the login success instruction to the PC terminal, the PC terminal skips a login success interface, and the login process is finished.
According to the technical scheme of the embodiment, the mobile terminal receives the short message URL, clicks to check whether the short message URL is legal, jumps to the temporary session interface, and clicks to confirm the login control of the temporary session interface to automatically log in. The user does not need to manually input the verification code, and does not need to open a specific application program to perform code scanning operation, so that the login process is simplified, errors caused by human factors during login are avoided, the login time is saved, and the login efficiency is improved.
EXAMPLE III
Fig. 3 is a flowchart illustrating an account login method according to a third embodiment of the present invention, where the present embodiment is applicable to a case where an authentication code is not logged in to a PC, and the method may be executed by an account login device in the PC, as shown in fig. 3, the method specifically includes the following steps:
and 310, responding to the operation of the user on the PC terminal login control, and generating a short message URL request.
And the PC terminal responds to the operation of clicking the login control by the user, generates a short message URL request and sends the short message URL request to the login server.
And step 320, sending a short message URL request to the login server to indicate the login server to generate the short message URL, the UUID and the verification code of the target account, and sending the short message URL to the mobile terminal for the mobile terminal to click.
After receiving a short message URL request sent by a PC (personal computer) terminal, the login server generates a short message URL, a UUID and a verification code of a target account bound with the PC terminal, wherein the UUID is in an unverified state. And the login server sends a short message URL to the mobile terminal and waits for the user to perform the next operation.
Step 330, sending a UUID status query request of the target account to the login server to indicate that the login server sends a login success instruction to the PC terminal if the UUID of the target account is determined to be in the confirmed status.
After the UUID is generated, the PC terminal initiates a polling operation to the UUID to detect the state of the UUID in real time, when a link in the short message URL is verified to be legal by a verification code in a login server, the URL link is opened, and at the moment, the PC terminal detects that the UUID is verified and the UUID is in an unconfirmed state. After the URL link is opened, the mobile terminal interface skips to the temporary session interface, after a user clicks a login confirmation control on the temporary session interface, the PC end detects that the state of the UUID is changed into confirmed state, and the login server sends a login success instruction to the PC end.
And 340, responding to the login success command, and controlling the PC terminal target account to successfully log in.
After receiving a login success instruction sent by the login server, the PC side skips the interface to confirm that the target account login is successful.
According to the technical scheme of the embodiment, the PC terminal sends the short message URL request to the login server, the login server sends the short message URL to the mobile terminal, the UUID and the verification code are generated at the same time, the PC terminal detects the state of the UUID in real time, and when the UUID is confirmed to be in the confirmed state, the PC terminal successfully logs in the target account. In the login process, a user does not need to open a specific application program to scan codes or manually input verification codes, the login process is simplified, the login time is saved, and the login efficiency is improved.
Example four
Fig. 4 is a block diagram of an account login apparatus according to a fourth embodiment of the present invention, which is capable of executing the account login method according to the first embodiment of the present invention, and has functional modules and beneficial effects corresponding to the execution method. As shown in fig. 4, the apparatus includes:
a short message URL request receiving module 401, configured to receive a short message URL request carrying target account information sent by a PC; the short message URL request is generated in response to the operation of a user acting on a PC login control;
a target account information feedback module 402, configured to generate a short message URL, a UUID, and a verification code of the target account, and issue the short message URL to the mobile terminal, so as to instruct the mobile terminal to feed back target account information when the mobile terminal detects that a user clicks the short message URL;
a URL validity determining module 403, configured to determine that the URL is valid if it is determined that the verification code of the target account is stored according to the target account information fed back by the mobile terminal;
and a target account login module 404, configured to send a login success instruction to the PC terminal to indicate that the target account login of the PC terminal is successful if the UUID of the target account is determined to be in the confirmed state in response to the UUID state query request of the target account sent by the PC terminal.
Optionally, the URL legitimacy determining module 403 is further specifically configured to:
controlling the mobile terminal to jump to a temporary session interface;
if a login confirmation instruction sent by the mobile terminal is received, the UUID of the target account is adjusted to be in a confirmed state; and the login confirmation instruction is generated in response to the user clicking a login confirmation control in the temporary session interface.
Optionally, the target account login module 404 is further specifically configured to:
and clearing the short message URL, UUID and verification code of the target account.
The embodiment provides an account login device, which is configured in a login server, and configured to send a short message URL to a mobile terminal by receiving a short message URL request sent by a PC, store a UUID and a verification code corresponding to a target account, and send a login success instruction to the PC when the UUID status is confirmed, thereby ending a login process. According to the embodiment, the process that the user inputs the verification code is omitted in the login process, the user does not need to use the application program to scan the code, the login time is saved, and the login efficiency is improved.
EXAMPLE five
Fig. 5 is a block diagram of an account login apparatus according to the fifth embodiment of the present invention, which is capable of executing the account login method according to the second embodiment of the present invention, and has functional modules and beneficial effects corresponding to the execution method. As shown in fig. 5, the apparatus includes:
a short message URL receiving module 501, configured to receive a short message URL issued by a login server, where the short message URL is generated by the login server in response to a short message URL request that is sent by a PC and carries target account information;
the login server execution module 502 is configured to, when it is detected that the user clicks the short message URL, feed back target account information to the login server to instruct the login server to execute the following steps: if the verification code of the target account is determined to be stored according to the target account information fed back by the mobile terminal, determining that the URL is legal; and if the UUID of the target account is determined to be in the confirmed state in response to the UUID state query request of the target account sent by the PC terminal, sending a login success instruction to the PC terminal to indicate that the target account of the PC terminal is successfully logged in.
Optionally, the login server executing module 502 is further specifically configured to:
jumping to a temporary session interface according to a control instruction of the login server;
responding to a confirmation login control clicked by a user in the temporary session interface, and generating a confirmation login instruction;
and sending a login confirmation instruction to the login server to instruct the login server to adjust the UUID of the target account to be in a confirmed state.
The embodiment provides an account login device, which is configured in a mobile terminal, receives a short message URL (uniform resource locator) issued by a login server through the mobile terminal, feeds target account information back to the login server by clicking a URL link, verifies the validity of the URL, and sends a login success instruction to a PC (personal computer) terminal through the login server when a UUID (user identifier) is in a confirmed state to complete automatic login. The process of manually inputting the verification code by the user is omitted, errors caused by manual input are avoided, login time is saved, and login efficiency is improved.
EXAMPLE six
Fig. 6 is a block diagram of a structure of an account login apparatus according to a sixth embodiment of the present invention, which is capable of executing the account login method according to the third embodiment of the present invention, and has corresponding functional modules and beneficial effects of the execution method. As shown in fig. 6, the apparatus includes:
a short message URL request generating module 601, configured to generate a short message URL request in response to an operation performed by a user on a PC-side login control;
a short message URL issuing module 602, configured to send a short message URL request to the login server, so as to instruct the login server to generate a short message URL, a UUID, and a verification code of the target account, and issue the short message URL to the mobile terminal for the mobile terminal to click;
a login success instruction sending module 603, configured to send a UUID status query request of the target account to the login server, so as to indicate that the login server sends a login success instruction to the PC if it is determined that the UUID of the target account is in the confirmed status;
and a login success instruction response module 604, configured to respond to the login success instruction and control the PC-side target account to successfully log in.
The embodiment provides an account login device, which is configured in a PC, wherein the PC sends a short message URL request to a login server, the login server generates a short message URL and issues the short message URL to a mobile terminal, and simultaneously generates a UUID corresponding to target account information, the PC polls the state of the UUID, and when the UUID is in a confirmed state, the login is successful. The user login without the verification code is realized, the login process is simplified, and the login efficiency is effectively improved.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (8)

1. A method of account login, performed by a login server, the method comprising:
receiving a short message URL request which is sent by a PC terminal and carries target account information; the short message URL request is generated in response to the operation of a user acting on a PC login control;
generating a short message URL, a UUID and a verification code of a target account, and issuing the short message URL to a mobile terminal to indicate the mobile terminal to feed back target account information when detecting that a user clicks the short message URL;
if the verification code of the target account is determined to be stored according to the target account information fed back by the mobile terminal, determining that the URL is legal; if the URL is determined to be legal, the user can open a URL link;
if the UUID of the target account is determined to be in the confirmed state in response to the UUID state query request of the target account sent by the PC terminal, sending a login success instruction to the PC terminal to indicate that the target account of the PC terminal is successfully logged in; after the URL is determined to be legal, the method further comprises the following steps:
when the user opens a URL connection;
controlling the mobile terminal to jump to a temporary session interface;
if a login confirmation instruction sent by the mobile terminal is received, the UUID of the target account is adjusted to be in a confirmed state; and the login confirmation instruction is generated in response to the user clicking a login confirmation control in the temporary session interface.
2. The method according to claim 1, after said sending the login success command to the PC, further comprising:
and clearing the short message URL, UUID and verification code of the target account.
3. An account login method is executed by a mobile terminal, and the method comprises the following steps:
receiving a short message URL (uniform resource locator) issued by a login server, wherein the short message URL is generated by the login server in response to a short message URL request which is sent by a PC (personal computer) and carries target account information;
when the fact that the user clicks the short message URL is detected, feeding back target account information to the login server to indicate the login server to execute the following steps: if the verification code of the target account is determined to be stored according to the target account information fed back by the mobile terminal, determining that the URL is legal;
if the URL is determined to be legal, the user can open a URL link, and when the user opens the URL link, the mobile terminal is controlled to jump to a temporary session interface;
if the login server receives a login confirmation instruction sent by the mobile terminal, the UUID of the target account is adjusted to be in a confirmed state; the login confirmation instruction is generated in response to the fact that a user clicks a login confirmation control in the temporary session interface;
and if the UUID of the target account is determined to be in the confirmed state in response to the UUID state query request of the target account sent by the PC terminal, sending a login success instruction to the PC terminal to indicate that the target account of the PC terminal successfully logs in.
4. The method of claim 3, further comprising, after the feeding back the target account information to the login server:
jumping to a temporary session interface according to a control instruction of the login server;
responding to a confirmation login control clicked by a user in the temporary session interface, and generating a confirmation login instruction;
and sending the login confirmation instruction to a login server to indicate the login server to adjust the UUID of the target account to be in a confirmed state.
5. An account login method is executed by a PC (personal computer), and comprises the following steps:
responding to the operation of a user on a PC terminal login control, and generating a short message URL request;
sending the short message URL request to a login server to indicate the login server to generate a short message URL, a UUID and a verification code of a target account, and sending the short message URL to a mobile terminal for the mobile terminal to click;
when detecting that the user clicks the short message URL, the mobile terminal feeds back target account information;
if the login server determines that the verification code of the target account is stored according to the target account information fed back by the mobile terminal, determining that the URL is legal;
if the URL is determined to be legal, the user can open a URL link;
after the URL is determined to be legal, the method further comprises the following steps:
when the user opens a URL connection;
controlling the mobile terminal to jump to a temporary session interface;
if the login server receives a login confirmation instruction sent by the mobile terminal, the UUID of the target account is adjusted to be in a confirmed state; the login confirmation instruction is generated in response to the fact that a user clicks a login confirmation control in the temporary session interface;
sending a UUID state query request of a target account to a login server to indicate the login server to send a login success instruction to a PC (personal computer) end if the UUID of the target account is determined to be in a confirmed state;
and responding to the login success instruction, and controlling the PC terminal target account to successfully login.
6. An apparatus for account login, the apparatus being configured in a login server, the apparatus comprising:
the short message URL request receiving module is used for receiving a short message URL request which is sent by the PC end and carries target account information; the short message URL request is generated in response to the operation of a user acting on a PC login control;
the target account information feedback module is used for generating a short message URL, a UUID and a verification code of a target account, and issuing the short message URL to the mobile terminal to indicate the mobile terminal to feed back target account information when the mobile terminal detects that a user clicks the short message URL;
the URL legality determining module is used for determining that the URL is legal if the verification code of the target account is stored according to the target account information fed back by the mobile terminal; if the URL is determined to be legal, the user can open a URL link;
the target account login module is used for sending a login success instruction to the PC terminal to indicate that the target account login of the PC terminal is successful if the UUID of the target account is determined to be in a confirmed state in response to the UUID state query request of the target account sent by the PC terminal;
the URL legitimacy determining module is further specifically configured to: when the user opens a URL connection; controlling the mobile terminal to jump to a temporary session interface; if a login confirmation instruction sent by the mobile terminal is received, the UUID of the target account is adjusted to be in a confirmed state; and the login confirmation instruction is generated in response to the user clicking a login confirmation control in the temporary session interface.
7. An account login device, wherein the account login device is configured in a mobile terminal, and the account login device comprises:
the system comprises a short message URL receiving module, a login server and a server, wherein the short message URL receiving module is used for receiving a short message URL issued by the login server, and the short message URL is generated by the login server in response to a short message URL request which is sent by a PC end and carries target account information;
the login server execution module is used for feeding back target account information to the login server when the fact that the user clicks the short message URL is detected, so that the login server is instructed to execute the following steps: if the verification code of the target account is determined to be stored according to the target account information fed back by the mobile terminal, determining that the URL is legal;
if the URL is determined to be legal, the user can open a URL link;
the URL legitimacy determining module is specifically configured to:
when the user opens a URL link, the URL is transmitted,
controlling the mobile terminal to jump to a temporary session interface;
if the login server receives a login confirmation instruction sent by the mobile terminal, the UUID of the target account is adjusted to be in a confirmed state; the login confirmation instruction is generated in response to the fact that a user clicks a login confirmation control in the temporary session interface;
and if the UUID of the target account is determined to be in the confirmed state in response to the UUID state query request of the target account sent by the PC terminal, sending a login success instruction to the PC terminal to indicate that the target account of the PC terminal is successfully logged in.
8. An account login device, wherein the device is configured in a PC, the device comprising:
the short message URL request generating module is used for responding to the operation of a user on the PC terminal login control and generating a short message URL request;
the short message URL issuing module is used for sending the short message URL request to the login server so as to indicate the login server to generate a short message URL, a UUID and a verification code of a target account, and issuing the short message URL to the mobile terminal for the mobile terminal to click;
the login server execution module is used for feeding back target account information when the mobile terminal detects that the user clicks the short message URL;
if the login server determines that the verification code of the target account is stored according to the target account information fed back by the mobile terminal, determining that the URL is legal;
if the URL is determined to be legal, the user can open a URL link;
the URL legality determining module is specifically configured to:
when the user opens a URL connection;
controlling the mobile terminal to jump to a temporary session interface;
if the login server receives a login confirmation instruction sent by the mobile terminal, the UUID of the target account is adjusted to be in a confirmed state; the login confirmation instruction is generated in response to the fact that a user clicks a login confirmation control in the temporary session interface;
the login success instruction sending module is used for sending a UUID state query request of the target account to the login server so as to indicate the login server to send a login success instruction to the PC terminal if the UUID of the target account is confirmed;
and the login success instruction response module is used for responding to the login success instruction and controlling the target account number of the PC terminal to successfully login.
CN201910727120.4A 2019-08-07 2019-08-07 Account login method and device Active CN110493206B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910727120.4A CN110493206B (en) 2019-08-07 2019-08-07 Account login method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910727120.4A CN110493206B (en) 2019-08-07 2019-08-07 Account login method and device

Publications (2)

Publication Number Publication Date
CN110493206A CN110493206A (en) 2019-11-22
CN110493206B true CN110493206B (en) 2022-07-12

Family

ID=68550211

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910727120.4A Active CN110493206B (en) 2019-08-07 2019-08-07 Account login method and device

Country Status (1)

Country Link
CN (1) CN110493206B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112583816B (en) * 2020-12-07 2023-07-14 泰康保险集团股份有限公司 Login verification method, login verification device, electronic equipment and storage medium
CN115426624B (en) * 2022-11-07 2023-02-17 电子科大科园股份有限公司 Automatic login method, device, equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102984149A (en) * 2012-11-23 2013-03-20 广东欧珀移动通信有限公司 Method and device for synchronous login of mobile terminal and a personal computer (PC) terminal
CN105024986A (en) * 2014-04-30 2015-11-04 腾讯科技(深圳)有限公司 Account login method, device and system
CN105100123A (en) * 2015-09-11 2015-11-25 深圳市亚略特生物识别科技有限公司 Application registration method and system
CN107360169A (en) * 2017-07-18 2017-11-17 山东浪潮商用系统有限公司 A kind of login system and method for the electronics tax office client based on Quick Response Code
CN109214161A (en) * 2018-05-31 2019-01-15 中国地质大学(武汉) A kind of two-dimension code safe label login system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103139777B (en) * 2013-02-07 2015-09-09 百度在线网络技术(北京)有限公司 The method, system and the cloud server that log in/register is carried out by mobile terminal
CN103618606A (en) * 2013-11-26 2014-03-05 觅林网络科技(上海)有限公司 App login method verified through short message

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102984149A (en) * 2012-11-23 2013-03-20 广东欧珀移动通信有限公司 Method and device for synchronous login of mobile terminal and a personal computer (PC) terminal
CN105024986A (en) * 2014-04-30 2015-11-04 腾讯科技(深圳)有限公司 Account login method, device and system
CN105100123A (en) * 2015-09-11 2015-11-25 深圳市亚略特生物识别科技有限公司 Application registration method and system
CN107360169A (en) * 2017-07-18 2017-11-17 山东浪潮商用系统有限公司 A kind of login system and method for the electronics tax office client based on Quick Response Code
CN109214161A (en) * 2018-05-31 2019-01-15 中国地质大学(武汉) A kind of two-dimension code safe label login system

Also Published As

Publication number Publication date
CN110493206A (en) 2019-11-22

Similar Documents

Publication Publication Date Title
CN111628965B (en) Cross-domain name login method and device
CN109995755B (en) Login state control method and device based on applet framework
CN110493206B (en) Account login method and device
CN101406061B (en) Method for electronic program manual transmission, and server, terminal and system thereof
CN103347002A (en) Method, system and device for socialized login
CN105450643A (en) Network access authentication method, apparatus and system
CN112291271B (en) Method, system and medium for automatically logging in server by mobile equipment
WO2014040479A1 (en) User identity authenticating method and device for preventing malicious harassment
CN108810896B (en) Connection authentication method and device of wireless access point
CN107040518B (en) Private cloud server login method and system
US20080098076A1 (en) System and method of sharing contents using messenger
CN104954330A (en) Method of accessing data resources, device and system
CN105991640A (en) Method for processing HTTP (hypertext transfer protocol) request and apparatus for processing HTTP (hypertext transfer protocol) request
CN103024040A (en) Method and system for processing repeated log in of webpage authentication user
US20220377556A1 (en) Internet-of-things device registration method and apparatus, device, and storage medium
CN108111486B (en) Method and device for avoiding repeated login
CN109714363B (en) Method and system for modifying switch password
CN105812380A (en) Verification method and device
CN108600378A (en) A kind of document down loading method, device, terminal and storage medium
CN111259278B (en) Automatic code scanning method and system
CN103034711B (en) Form recognition method and device
CN101161004A (en) Method of implementing safety updating of mobile station and related response system
CN114389890B (en) User request proxy method, server and storage medium
CN112822023B (en) Communication information transmitting method, information access method, device and storage medium
CN107294920B (en) Reverse trust login method and device

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