CN107623690B - Login method, device and storage medium - Google Patents

Login method, device and storage medium Download PDF

Info

Publication number
CN107623690B
CN107623690B CN201710886512.6A CN201710886512A CN107623690B CN 107623690 B CN107623690 B CN 107623690B CN 201710886512 A CN201710886512 A CN 201710886512A CN 107623690 B CN107623690 B CN 107623690B
Authority
CN
China
Prior art keywords
login
request
user
account
application
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
CN201710886512.6A
Other languages
Chinese (zh)
Other versions
CN107623690A (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.)
Shanghai Zhangmen Science and Technology Co Ltd
Original Assignee
Shanghai Zhangmen Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Zhangmen Science and Technology Co Ltd filed Critical Shanghai Zhangmen Science and Technology Co Ltd
Priority to CN201710886512.6A priority Critical patent/CN107623690B/en
Publication of CN107623690A publication Critical patent/CN107623690A/en
Application granted granted Critical
Publication of CN107623690B publication Critical patent/CN107623690B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The application discloses a login method, a login device and a storage medium. One embodiment of the method comprises: responding to an authorized login request sent by an application program on user equipment, and inquiring one or more login accounts bound with the user equipment, wherein the authorized login request is generated based on the login request sent by the user equipment to the application program, and the one or more login accounts comprise a default login account; sending a login page logged in by a default login account to user equipment, so that a user can select to log in by the default login account; and in response to receiving a request of the user for logging in with the default login account, returning a login success message to the application program, wherein the request of the user for logging in with the default login account does not contain a login password. The embodiment simplifies the login process and improves the information security.

Description

Login method, device and storage medium
Technical Field
The present application relates to the field of computer technologies, and in particular, to the field of internet technologies, and in particular, to a login method, a device, and a storage medium.
Background
At present, because of the existence of multiple operators, it is a common imagination that each person has multiple mobile phone numbers, for example, the login of the second number of the existing dual-card dual-standby is to input the mobile phone number of the second mobile phone, login is performed in a downlink short message mode based on a dynamic verification code, and the mobile phone number of the user needs to be authenticated in a downlink short message mode when logging out and logging back every time.
Therefore, for user login, after a user logs in an application by using a mobile phone number, the user logs in another mobile phone number, all login processes must be carried out once, and if the login of more numbers and more applications on a plurality of mobile phones is enlarged, not only is experience poor, but also additional overhead cost and information safety problems are brought.
Disclosure of Invention
It is an object of embodiments of the present application to provide an improved login method, device and storage medium to solve the technical problems mentioned in the background section above.
In a first aspect, an embodiment of the present application provides an application login method, where the method includes: responding to an authorized login request sent by an application program on user equipment, and inquiring one or more login accounts bound with the user equipment, wherein the authorized login request is generated based on the login request sent by the user equipment to the application program, and the one or more login accounts comprise a default login account; sending a login page logged in by a default login account to user equipment, so that a user can select to log in by the default login account; and in response to receiving a request of a user for selecting to log in with a default login account, returning a login success message to an application program, wherein the request of the user for selecting to log in with the default login account does not contain a login password. .
In some embodiments, the method further comprises: the one or more login accounts further comprise at least one standby login account; the login page also comprises a page for the user to select to switch to one of the at least one standby login account for login.
In some embodiments, the method further comprises: setting a standby login account selected by a user as a new default login account in response to receiving a request sent by user equipment for switching to one of at least one standby login account for login, wherein the request for switching to one of the at least one standby login account for login is generated based on a switching request for switching to the at least one standby login account for login selected by the user through a login page; sending a login page for logging in with a new default login account and switching to a standby login account to user equipment, so that a user can select to log in with the new default login account or switch to the standby login account; and in response to receiving a request that the user selects to log in with a new default login account, returning a login success message to the application program, wherein the request that the user selects to log in with the new default login account does not contain a login password.
In some embodiments, the method further comprises: in response to receiving a request for acquiring user login information sent by an application program, querying login information preset by a user; and sending the inquired login information to the application program.
In some embodiments, the login account number includes a login telephone number.
In some embodiments, the method further comprises the step of binding the device information with the phone number, comprising: in response to receiving a request for authenticating a telephone number, which includes device information of the user device and an authentication password, transmitted by the user device, the authentication password is generated by an operator server based on a request to the user device for obtaining the telephone number; acquiring a telephone number corresponding to the equipment information from an operator server based on the authentication password; and binding the telephone number with the equipment information.
In some embodiments, the method further comprises the step of binding the device information with the phone number, comprising: in response to receiving a short message authentication request comprising equipment information and a telephone number of user equipment, informing an operator server to send a short message verification code to the user equipment according to the telephone number; in response to receiving an authentication request which comprises a short message verification code and is sent by user equipment, verifying the short message verification code received from the user equipment and the short message verification code sent by an operator server; and if the verification is successful, binding the telephone number with the equipment information.
In some embodiments, the step of binding the phone number with the device information further comprises: sending a telephone number authentication success message to the user equipment; and in response to receiving a request sent by the user equipment to set the telephone number as a default login telephone number, setting the login telephone number as the default login telephone number.
In a second aspect, an embodiment of the present application provides another application program login method, where the method includes: responding to a login request of an application program on login user equipment triggered by a user, generating an authorized login request comprising equipment information of the user equipment, and sending the authorized login request to the unified login application so that the unified login application can inquire one or more login accounts bound with the equipment information; receiving a login page which is sent by a unified login application and is logged in by a default login account in the bound login accounts; and if the fact that the user selects to log in with the default login account is detected, sending a request of logging in with the default login account to the unified login application, wherein the request of logging in with the default login account does not contain a login password.
In some embodiments, the method further comprises: the one or more login accounts further comprise at least one standby login account; the login page also comprises a page for the user to select to switch to one of the at least one standby login account for login.
In some embodiments, the method further comprises: in response to receiving an operation that a user selects to switch to one of the at least one standby login account for login, generating and sending a request for switching to one of the at least one standby login account for login to the unified login application to indicate the unified login application to set the standby login account selected by the user as a new default login account; responding to a login page which is sent by a unified login application and is logged in by a new default login account and is switched to a standby login account, and displaying the login page for a user to select; in response to detecting that a user selects to login with a new default login account number, sending a request to login with the new default login account number to a unified login application, wherein the request to login with the new default login account number is sent to the unified login application without a login password.
In some embodiments, the login account number includes a login telephone number.
In some embodiments, the method further comprises the step of binding the device information with the login phone number, comprising: sending a request for applying for obtaining the telephone number to an operator server to trigger the operator server to generate an authentication password based on the request for obtaining the telephone number; in response to receiving the authentication password returned by the operator server, a request for authenticating the telephone number is sent to the unified login application, including device information of the user device and the authentication password.
In some embodiments, the method further comprises the step of binding the device information with the login phone number, comprising: sending a short message authentication request comprising equipment information and a telephone number of the user equipment to the unified login application, so that the unified login application informs an operator server to send a short message verification code to the user equipment according to the telephone number; receiving a short message verification code returned by an operator server; and sending an authentication request of the short message verification code to the unified login application.
In some embodiments, the step of binding the phone number with the device information further comprises: receiving a phone number authentication success message returned by the unified login application; and sending a request to the unified login application to set the phone number as a default login phone number.
In a third aspect, the present application provides an apparatus comprising: one or more processors; storage means for storing one or more programs which, when executed by one or more processors, cause the one or more processors to carry out a method according to any one of the first aspect.
In a fourth aspect, the present application provides a computer readable storage medium having a computer program stored thereon, wherein the program is adapted to perform the method according to any of the first aspect when executed by a processor.
According to the login method and the login equipment, the equipment information and the default login account are bound in advance, the login interface of the default login account is directly displayed when the login operation of the user is detected, the equipment information and the default login account do not need to be bound during each login, the login process is simplified, and therefore the information safety is improved.
Drawings
Other features, objects and advantages of the present application will become more apparent upon reading of the following detailed description of non-limiting embodiments thereof, made with reference to the accompanying drawings in which:
FIG. 1 is an exemplary system architecture diagram in which the present application may be applied;
FIG. 2 is a flow diagram of one embodiment of a login method according to the present application;
FIG. 3 is a schematic diagram of an application scenario of a login method according to the present application;
FIG. 4 is a schematic diagram of yet another application scenario of a login method according to the present application;
FIG. 5 is a flow chart of yet another embodiment of a login method according to the present application;
FIG. 6 is a schematic block diagram of a computer system suitable for use in implementing network devices and user devices of embodiments of the present application.
Detailed Description
The present application will be described in further detail with reference to the following drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the relevant invention and not restrictive of the invention. It should be noted that, for convenience of description, only the portions related to the related invention are shown in the drawings.
It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict. The present application will be described in detail below with reference to the embodiments with reference to the attached drawings.
Fig. 1 illustrates an exemplary system architecture 100 to which embodiments of the login method or apparatus of the present application may be applied.
As shown in fig. 1, the system architecture 100 may include user devices 101, 102, 103, a network 104, and a network device 105. The network 104 is used to provide a medium for communication links between the user devices 101, 102, 103 and the network device 105. Network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, to name a few.
A user may use the user devices 101, 102, 103 to interact with the network device 105 over the network 104 to receive or send messages or the like. The user devices 101, 102, 103 may have installed thereon various communication client applications, such as a web browser application, a shopping-like application, a search-like application, an instant messaging tool, a mailbox client, social platform software, and the like.
The user devices 101, 102, 103 may be various electronic devices having a display screen and supporting web browsing, including but not limited to smart phones, tablet computers, e-book readers, MP3 players (Moving Picture experts Group Audio Layer III, mpeg compression standard Audio Layer 3), MP4 players (Moving Picture experts Group Audio Layer IV, mpeg compression standard Audio Layer 4), laptop portable computers, desktop computers, and the like.
The network device 105 may be a server providing various services, such as a background login server providing support for login pages displayed on the user devices 101, 102, 103. The backend login server may analyze and perform other processing on the received login request and other data, and feed back a processing result (e.g., login page data) to the user equipment.
It should be noted that the login method provided in the embodiment of the present application is generally executed by the user equipment 101, 102, 103 and the network device 105, and accordingly, the login apparatus is generally disposed in the user equipment 101, 102, 103 and the network device 105.
It should be understood that the number of user devices, networks, and network devices in fig. 1 is merely illustrative. There may be any number of user devices, networks, and network devices, as desired for an implementation.
With continued reference to FIG. 2, a flow 200 of one embodiment of a login method in accordance with the present application is shown. The login method comprises the following steps:
step 201, in response to receiving an authorized login request sent by an application program on user equipment, querying one or more login accounts bound with the user equipment.
In this embodiment, when an electronic device (for example, the network device shown in fig. 1, although the login method may also be executed in the user equipment) on which the login method is executed receives an authorized login request sent by an application program on the user equipment through a wired connection manner or a wireless connection manner, the electronic device queries one or more login accounts bound to the device information. The query operation may be performed locally, or may be returned after being queried by the network device by sending a query request to the network device. The one or more login accounts include a default login account. The login account number may include a login phone number. Combinations of characters such as numbers, letters, etc. may also be included. For example, a user may have two accounts 138XXXX8888 and 157XXXX6666 already bound. Any one of the accounts can be set as a default login account. The authorized login request may include device information of the user device. The authorized login request is generated based on a login request sent by a user to an application program through user equipment, and the extraction of the equipment information can be realized in various ways: the user Equipment of apple may use the advertisement number of the user Equipment, the Mobile Equipment may obtain an imei (International Mobile Equipment Identity) code, and so on, as long as a machine code that can identify the uniqueness of the user Equipment is available. When the user logs in the network device for the first time, the login account of the user is already bound with the device information of the user device. Therefore, the network device can query the previously bound default login account according to the received device information. The login method may be implemented by a unified login application.
In some optional implementations of this embodiment, the method further includes: the one or more login accounts further comprise at least one standby login account; the login page also comprises a page for the user to select to switch to one of the at least one standby login account for login. The at least one standby login account can be presented on the login page in a list mode, so that a user can select which standby login account to login through by clicking. For example, a user may have two accounts 138XXXX8888 and 157XXXX6666 already bound. If account 138XXXX8888 has been set to be the default login account, 157XXXX6666 is the alternate login account. The user may select which account to log in with, the page that logs in with the default login account being displayed by default, but the user may select to switch to the page that logs in with the alternate login account by clicking 157XXXX 6666.
In some optional implementations of this embodiment, the login account includes a login phone number, and the method further includes a step of binding the device information and the phone number, as shown in fig. 4, the operator-based authentication procedure includes: 401, user equipment pre-installs a unified login application; 402 the user device sends a request for obtaining a telephone number including device information to an operator server so that the operator server generates an authentication password according to the device information; 403, the user equipment receives an authentication password returned by the operator server, 404, the user equipment sends a request for obtaining a telephone number, including equipment information and the authentication password, to the unified login application, 405, the unified login application sends a request for obtaining the telephone number corresponding to the equipment information from the operator server based on the authentication password, and 406, the user equipment receives the telephone number returned by the operator server; 407 the user equipment receives the phone number returned by the unified login application, 413 the user equipment sets the default login phone number, 414 the user equipment sends a request for setting the phone number as the default login phone number to the unified login application, so that the unified login application binds the default login phone number with the device information.
In some optional implementation manners of this embodiment, the login account includes a login phone number, the method further includes a step of binding the device information and the phone number, and the authentication process based on the mobile phone short message shown in fig. 4 includes: 408 the user equipment sends a short message authentication request comprising equipment information and a telephone number to the unified login application, so that the 409 unified login application informs the operator server to send a short message verification code according to the telephone number; 410, the user equipment receives a short message verification code sent by an operator server, 411, the user equipment sends a login request comprising the short message verification code (the short message verification code can be input by a user or can be automatically read and written by a system) to the unified login application, so that the unified login application verifies the received short message verification code and the short message verification code sent by the operator server; the user equipment receives 412 an authentication success message sent by the unified login application, 413 the user equipment sets a default login phone number, and 414 the user equipment sends 414 a request for setting the phone number as the default login phone number to the unified login application, so that the unified login application binds the default login phone number with the device information.
In some optional implementation manners of this embodiment, the step of binding the phone number and the device information further includes: sending a telephone number authentication success message to the user equipment; and in response to receiving a request sent by the user equipment to set the telephone number as a default login telephone number, setting the login telephone number as the default login telephone number.
Step 202, a login page logged in by a default login account is sent to the user equipment, so that the user can select to log in by the default login account.
In this embodiment, the unified login application binds the default login account and the device information of the user equipment in advance. When the user equipment of the user logs in, the unified login application can feed back the login page logged in by the default login account without manually inputting the account. The user may choose to confirm the login on the login page logged in with the default login account, or may choose to switch to another account for login.
Step 203, in response to receiving a request for logging in with a default login account selected by a user, wherein the request for logging in with the default login account selected by the user does not contain a login password, returning a login success message to the application program.
In this embodiment, if the user selects to log in with the default login account, the login success message is directly fed back, and the user equipment can display a login success page according to the login success message without performing account authentication.
In some optional implementation manners of this embodiment, in response to receiving a request sent by a user device to switch to one of at least one standby login account for login, setting a standby login account selected by the user as a new default login account, where the request to switch to one of the at least one standby login account for login is generated based on a switching request for switching to the at least one standby login account for login through a login page selection by the user; sending a login page for logging in with a new default login account and switching to a standby login account to user equipment, so that a user can select to log in with the new default login account or switch to the standby login account; and in response to receiving a request for logging in by the user with the new default login account, wherein the request for logging in by the user with the new default login account does not contain the login password, returning a login success message to the application program. If the user selects to log in with the non-default login account, the user equipment sends an indication of logging in other accounts to the unified login application. The unified login application returns a login page logged in with the alternate login account for the user to select whether to log in with the alternate login account. For example, there are two options on the login page of the default login account, "login with the default login account" and "login with another login account", when login with another login account is performed, the other accounts may be presented on the login page in a list manner, if the user selects "login with another login account", the user equipment sends a request for switching login accounts to the unified login application, the unified login application sets the standby login account bound with the device information as the default login account, and then the process of selecting login account by the user is performed again.
In some optional implementations of this embodiment, the method further includes: in response to receiving a request for acquiring user login information sent by an application program, querying login information preset by a user; and sending the inquired login information to the application program. The login information may include nicknames, head portraits, permissions, privacy data, etc. The login information registered with the a account may be used when the B account is registered. Therefore, the login information does not need to be set repeatedly.
With continued reference to fig. 3, fig. 3 is a schematic diagram of an application scenario of the login method according to the present embodiment. As shown in fig. 3, 301 a user requests to login to the unified login application from application a installed on the mobile phone a, and 302 the application a requests to perform unified authentication from the unified login application. 303 the unified login application retrieves the bound default login account 138XXXX8888 from the storage device (the bound alternate login account 157XXXX6666 is also stored on the storage device). The 304 storage device sends the default login account 138XXXX8888 to the unified login application. The unified login application 305 sends a login page to the user device to login with the default login account 138XXXX 8888. If the user wants to log in with the default login account 138XXXX8888, 309 the user confirms to the unified login application to use the corresponding information to log in, 310 the unified login application sends a confirmation success message, 311 the application a notifies the user equipment to display a login success page, 312 the storage equipment sends a request to acquire the login information of the user, 313 the storage equipment returns the login information. If the user wants to switch account login, before process 309, handset a is further required 306 to send a request to switch to the alternate login account 157XXXX6666 to the unified login application, 307 handset a notifies the unified login application to set the alternate login account 157XXXX6666 as the default login account, 308 the unified login application saves the setting data through the storage device.
According to the method provided by the embodiment of the application, the bound device information is sent to the unified login application, and login is directly performed, so that the login account verification process is simplified, and the information security is improved.
With further reference to fig. 5, a flow 500 of yet another embodiment of a login method is shown. The process 500 of the login method includes the following steps:
step 501, in response to receiving a login request of logging in an application program on user equipment triggered by a user, generating an authorized login request including equipment information of the user equipment, and sending the authorized login request to the unified login application, so that the unified login application queries one or more login accounts bound with the equipment information.
In this embodiment, when an electronic device (for example, the user device shown in fig. 1) on which a user runs by a login method logs in an application, the electronic device detects a login operation of the user, and generates an authorized login request including device information of the user device. And sends an authorized login request to the network device in a wired connection mode or a wireless connection mode. The authorized login request includes device information of the user device. The device information of the user equipment can be extracted in various ways: the user Equipment of apple may use the advertisement number of the user Equipment, the Mobile Equipment may obtain an imei (International Mobile Equipment Identity) code, and so on, as long as a machine code that can identify the uniqueness of the user Equipment is available. The login account number may include a login phone number. Combinations of characters such as numbers, letters, etc. may also be included. The login account of the user is bound with the device information of the user device when the user logs in the unified login application for the first time. Thus, the unified login application may query the previously bound login account or accounts according to the received device information.
In some optional implementations of this embodiment, the method further includes: the one or more login accounts further comprise at least one standby login account; the login page also comprises a page for the user to select to switch to one of the at least one standby login account for login. For example, a user may have two accounts 138XXXX8888 and 157XXXX6666 already bound. If account 138XXXX8888 has been set to be the default login account, 157XXXX6666 is the alternate login account. The user may select which account to log in with, and the page that logs in with the default login account is displayed by default, but the user may select to switch to the page that logs in with the alternate login account.
In some optional implementations of this embodiment, the login account includes a login phone number, and the method further includes a step of binding the device information and the phone number, as shown in fig. 4, the operator-based authentication procedure includes: 401, installing a login device in advance; 402 sending a request for obtaining a phone number including device information to the operator server to cause the operator server to generate an authentication password according to the device information; 403, in response to receiving the authentication password returned by the operator server, sending 404 a request for obtaining a telephone number including the device information and the authentication password to the unified login application, sending 405 the request for obtaining the telephone number corresponding to the device information from the operator server by the unified login application based on the authentication password, and receiving 406 the telephone number returned by the operator server; 407 in response to receiving the phone number returned by the unified login application, 413 sets the default login phone number, 414 sends a request to the unified login application to set the phone number as the default login phone number, such that the unified login application binds the default login phone number with the device information.
In some optional implementation manners of this embodiment, the login account includes a login phone number, the method further includes a step of binding the device information and the phone number, and the authentication process based on the mobile phone short message shown in fig. 4 includes: 408 sending a short message authentication request including the device information and the phone number to the unified login application, so that the 409 unified login application informs the operator server to send a short message verification code according to the phone number; 410 in response to receiving the short message verification code sent by the operator server, 411 sends a login request including the short message verification code (the short message verification code can be input by a user or automatically read and written by a system) to the unified login application, so that the unified login application verifies the received short message verification code and the short message verification code sent by the operator server; in response to receiving the authentication success message sent by the unified login application 412, 413 sets the default login phone number, 414 sends a request to the unified login application to set the phone number as the default login phone number, such that the unified login application binds the default login phone number with the device information.
In some optional implementation manners of this embodiment, the step of binding the phone number and the device information further includes: receiving a phone number authentication success message returned by the unified login application; and sending a request for setting the telephone number as a default login telephone number to the unified login application. The bound phone number may be set as a default login phone number and stored on the unified login application for login using the default login phone number the next time.
Step 502, receiving a login page which is sent by the unified login application and is logged in by a default login account in the bound login accounts.
In this embodiment, the unified login application binds the default login account and the device information of the user equipment in advance. When the user equipment of the user logs in, the unified login application can feed back the login page of the account which is used for logging in by default without manually inputting the account. And if the user wants to log in by using the login account fed back by the unified login application, the user can directly confirm the login, and otherwise, the user selects to switch the account for logging in.
Step 503, if it is detected that the user selects to log in with the default login account, sending a request for logging in with the default login account to a unified login application, wherein the request for logging in with the default login account sent to the unified login application does not contain a login password.
In this embodiment, the user device may generate a request for logging in with a default login account according to a selection of the user, and send the request to the unified login application.
In some optional implementation manners of this embodiment, the application program receives a login success message returned by the unified login application, and can directly display a login success page without performing account authentication.
In some optional implementation manners of this embodiment, in response to receiving an operation that a user selects to switch to one of the at least one standby login account for login, a request for switching to one of the at least one standby login account for login is generated and sent to the unified login application, so as to instruct the unified login application to set the standby login account selected by the user as a new default login account; responding to a login page which is sent by a unified login application and is logged in by a new default login account and is switched to a standby login account, and displaying the login page for a user to select; in response to detecting that a user selects to login with a new default login account number, sending a request to a unified login application to login with the new default login account number, wherein the request to login with the new default login account number is sent to the unified login application without a login password. The standby login account is bound with the user equipment by issuing short message verification or authentication passwords and the like during first login. And the subsequent log-in is directly completed after logging out every time, and the dynamic short message verification code or the authentication password does not need to be verified again. And after receiving the switching instruction, the unified login application sets the standby login account as a default login account and returns the default login account to the user equipment. And displaying a login page for the standby login account to login so that a user can select whether to login with the standby login account. Step 503 may be repeated if the user still wants to switch accounts, otherwise proceed to the interface for logging in with the standby login account.
In some optional implementations of this embodiment, the method further includes: sending a request for acquiring login information of a user to the unified login application; and receiving login information returned by the unified login application. The login information may include nicknames, head portraits, and the like.
In some optional implementation manners of this embodiment, two manners of binding the device information and the account have been described in step 201, and therefore are not described again.
As can be seen from fig. 5, compared with the embodiment corresponding to fig. 2, the process 500 of the login method in this embodiment highlights the step of login performed by the user equipment side. Therefore, the scheme described in the embodiment can authenticate a plurality of accounts on the same mobile phone, so that the problem of multiple mobile phone authentications is avoided, and the problem of multiple loss of sensitive information of the accounts is ensured. For application, the password does not need to be input in the login process, seamless account switching can be realized, the problem of uniform real name of the user can be solved, and the extra real name authentication cost of the user can be reduced.
Referring now to FIG. 6, shown is a block diagram of a computer system 600 suitable for use in implementing network devices and user devices of embodiments of the present application. The network device and the user equipment shown in fig. 6 are only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present application.
As shown in fig. 6, the computer system 600 includes a Central Processing Unit (CPU)601 that can perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM)602 or a program loaded from a storage section 608 into a Random Access Memory (RAM) 603. In the RAM 603, various programs and data necessary for the operation of the system 600 are also stored. The CPU 601, ROM 602, and RAM 603 are connected to each other via a bus 604. An input/output (I/O) interface 605 is also connected to bus 604.
The following components are connected to the I/O interface 605: an input portion 606 including a touch screen, a keyboard, a mouse, and the like; an output portion 607 including a touch panel, a Liquid Crystal Display (LCD), and the like, and a speaker and the like; a storage section 608 including a hard disk and the like; and a communication section 609 including a network interface card such as a LAN card, a modem, or the like. The communication section 609 performs communication processing via a network such as the internet. The driver 610 is also connected to the I/O interface 605 as needed. A removable medium 611 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 610 as necessary, so that a computer program read out therefrom is mounted in the storage section 608 as necessary.
In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network through the communication section 609, and/or installed from the removable medium 611. The computer program performs the above-described functions defined in the method of the present application when executed by a Central Processing Unit (CPU) 601. It should be noted that the computer readable medium described herein can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present application, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In this application, however, a computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
As another aspect, the present application also provides a computer-readable medium, which may be contained in the apparatus described in the above embodiments; or may be present separately and not assembled into the device. The computer readable medium carries one or more programs which, when executed by the apparatus, cause the apparatus to: responding to an authorized login request sent by an application program on user equipment, and inquiring one or more login accounts bound with the user equipment, wherein the authorized login request is generated based on the login request sent by the user equipment to the application program, and the one or more login accounts comprise a default login account; sending a login page logged in by a default login account to user equipment, so that a user can select to log in by the default login account; and in response to receiving a request that the user selects to log in with the default login account, returning a login success message to the application program. Or cause the apparatus to: generating an authorized login request comprising equipment information of user equipment in response to receiving a login request of logging in an application program on the user equipment triggered by a user, and sending the authorized login request to the network equipment so that the network equipment can inquire one or more login accounts bound with the equipment information; receiving a login page which is sent by network equipment and is logged in by a default login account in the bound login accounts; and if the fact that the user selects to log in with the default login account is detected, sending a request for logging in with the default login account to the network equipment.
The above description is only a preferred embodiment of the application and is illustrative of the principles of the technology employed. It will be appreciated by a person skilled in the art that the scope of the invention as referred to in the present application is not limited to the embodiments with a specific combination of the above-mentioned features, but also covers other embodiments with any combination of the above-mentioned features or their equivalents without departing from the inventive concept. For example, the above features may be replaced with (but not limited to) features having similar functions disclosed in the present application.

Claims (11)

1. An application login method, comprising:
responding to an authorized login request sent by an application program on user equipment, and inquiring one or more login accounts bound with the user equipment, wherein the authorized login request is generated based on the login request sent by a user to the application program through the user equipment, the one or more login accounts comprise a default login account, and the login account comprises a login telephone number;
sending a login page logged in by the default login account to the user equipment, so that the user can select to log in by the default login account;
in response to receiving a request that the user selects to log in with the default login account, returning a login success message to the application program, wherein the request that the user selects to log in with the default login account does not contain a login password;
binding equipment information and a login telephone number;
wherein, binding the device information and the login phone number comprises: in response to receiving a short message authentication request comprising the equipment information and the telephone number of the user equipment, informing an operator server to send a short message verification code to the user equipment according to the telephone number; in response to receiving an authentication request which is sent by the user equipment and comprises the short message verification code, verifying the short message verification code received from the user equipment and the short message verification code sent by the operator server; if the verification is successful, the telephone number and the equipment information are bound;
or, the binding the device information and the login phone number includes: in response to receiving a short message authentication request comprising the equipment information and the telephone number of the user equipment, informing an operator server to send a short message verification code to the user equipment according to the telephone number; in response to receiving an authentication request which is sent by the user equipment and comprises the short message verification code, verifying the short message verification code received from the user equipment and the short message verification code sent by the operator server; and if the verification is successful, binding the telephone number with the equipment information.
2. The method of claim 1, further comprising:
the one or more login accounts further comprise at least one standby login account; the login page further comprises a page for the user to select to switch to one of the at least one standby login account for login.
3. The method of claim 2, further comprising:
setting the standby login account selected by the user as a new default login account in response to receiving a request sent by the user equipment for switching to one of the at least one standby login account for login, wherein the request for switching to one of the at least one standby login account for login is generated based on a switching request for selecting to switch to the at least one standby login account for login through the login page by the user;
sending a login page for logging in with the new default login account and switching to a standby login account to the user equipment, so that the user can select to log in with the new default login account or switch to the standby login account;
and in response to receiving the request of the user for selecting to log in with the new default login account, returning a login success message to the application program, wherein the request of the user for selecting to log in with the new default login account does not contain a login password.
4. The method according to any of claims 1-3, further comprising, after returning a login success message to the application:
in response to receiving a request for acquiring user login information sent by the application program, querying login information preset by the user;
and sending the inquired login information to the application program.
5. The method of claim 1, wherein binding the device information with a login phone number comprises:
sending the telephone number authentication success message to the user equipment; and
and in response to receiving a request sent by the user equipment for setting the telephone number as a default login telephone number, setting the login telephone number as the default login telephone number.
6. An application login method, comprising:
responding to a login request of an application program on login user equipment triggered by a user, generating an authorized login request comprising equipment information of the user equipment, and sending the authorized login request to a unified login application so that the unified login application can inquire one or more login accounts bound with the equipment information, wherein the login accounts comprise login telephone numbers;
receiving a login page which is sent by the unified login application and is logged in by a default login account in the bound login accounts;
if the user is detected to select to log in with the default login account, sending a request for logging in with the default login account to the unified login application, wherein the request for logging in with the default login account is sent to the unified login application and does not contain a login password;
binding equipment information and a login telephone number;
wherein, binding the device information and the login phone number comprises: sending a request for applying for obtaining a telephone number to an operator server to trigger the operator server to generate an authentication password based on the request for obtaining the telephone number; in response to receiving the authentication password returned by the operator server, sending a request for authenticating a telephone number to the unified login application, the request including device information of the user device and the authentication password;
or, the binding the device information and the login phone number includes: sending a short message authentication request comprising the equipment information and the telephone number of the user equipment to the unified login application, so that the unified login application informs an operator server to send a short message verification code to the user equipment according to the telephone number; receiving a short message verification code returned by the operator server; and sending an authentication request comprising the short message verification code to the unified login application.
7. The method of claim 6, further comprising:
the one or more login accounts further comprise at least one standby login account; the login page further comprises a page for the user to select to switch to one of the at least one standby login account for login.
8. The method of claim 7, further comprising:
in response to receiving an operation that the user selects to switch to one of the at least one standby login account for login, generating and sending a request for switching to one of the at least one standby login account for login to the unified login application so as to instruct the unified login application to set the standby login account selected by the user as a new default login account;
responding to a login page which is sent by the unified login application and is logged in by the new default login account and is switched to a standby login account, and displaying the login page for a user to select;
in response to detecting that the user selects to login with the new default login account number, sending a request to the unified login application to login with the new default login account number, wherein the request to login with the new default login account number is sent to the unified login application without a login password.
9. The method of claim 6, wherein binding the device information with a login phone number comprises:
receiving the phone number authentication success message returned by the unified login application; and
and sending a request for setting the telephone number as a default login telephone number to the unified login application.
10. An application login device comprising:
one or more processors;
a storage device for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement the method of any one of claims 1-9.
11. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1-9.
CN201710886512.6A 2017-09-27 2017-09-27 Login method, device and storage medium Active CN107623690B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710886512.6A CN107623690B (en) 2017-09-27 2017-09-27 Login method, device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710886512.6A CN107623690B (en) 2017-09-27 2017-09-27 Login method, device and storage medium

Publications (2)

Publication Number Publication Date
CN107623690A CN107623690A (en) 2018-01-23
CN107623690B true CN107623690B (en) 2020-08-18

Family

ID=61091068

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710886512.6A Active CN107623690B (en) 2017-09-27 2017-09-27 Login method, device and storage medium

Country Status (1)

Country Link
CN (1) CN107623690B (en)

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109033874B (en) * 2018-07-19 2021-12-10 数海信息技术有限公司 Multi-role login method and system for Android program of digital sea information based on SQlite database
CN110417723B (en) * 2019-03-29 2022-05-06 广州腾讯科技有限公司 Application login method, device, terminal and storage medium
CN110505245B (en) * 2019-09-24 2022-06-03 北京百度网讯科技有限公司 Application login method, device and equipment
CN110719590B (en) * 2019-11-13 2023-04-18 苏州达家迎信息技术有限公司 One-key login method, device, equipment and storage medium based on mobile phone number
CN110830479B (en) * 2019-11-13 2022-11-18 苏州达家迎信息技术有限公司 Multi-card-based one-key login method, device, equipment and storage medium
CN111552944A (en) * 2020-04-28 2020-08-18 成都新潮传媒集团有限公司 Login verification method and device
CN111970341B (en) * 2020-07-31 2023-04-07 广州汽车集团股份有限公司 Account number close exchange-free method and device based on Internet of vehicles, automobile and medium
CN113162935B (en) * 2021-04-25 2022-06-24 东风汽车集团股份有限公司 Method and system for preventing abnormal login of vehicle-mounted terminal vehicle owner account
CN113157375A (en) * 2021-04-27 2021-07-23 北京达佳互联信息技术有限公司 Content display method, device, equipment, system and storage medium
CN114157483B (en) * 2021-12-02 2024-04-05 北京金山云网络技术有限公司 Login method, login device, electronic equipment and storage medium
CN114172713A (en) * 2021-12-02 2022-03-11 北京金山云网络技术有限公司 Login method, login device, electronic equipment and storage medium
CN115001803B (en) * 2022-05-30 2024-04-16 中国银行股份有限公司 Mobile phone bank login method and device

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102448029A (en) * 2011-09-29 2012-05-09 美商威睿电通公司 Mobile phone client for managing multi micro blog accounts and method
CN102868670A (en) * 2011-07-08 2013-01-09 北京亿赞普网络技术有限公司 Unified registration and logon system as well as registration and logon method for mobile user
CN103152402A (en) * 2013-02-07 2013-06-12 百度在线网络技术(北京)有限公司 Method and system for logging in through mobile terminal and cloud server
CN103327480A (en) * 2013-06-20 2013-09-25 张家港保税区润桐电子技术研发有限公司 Intelligent mobile phone multiple-account contact information synchronizing method
CN104883259A (en) * 2015-06-11 2015-09-02 郑存粮 Method for automatic registration by using mobile phone number as network application account number
CN105208015A (en) * 2015-08-31 2015-12-30 小米科技有限责任公司 Application multi-account login processing method and device and terminal device
CN105430183A (en) * 2015-11-12 2016-03-23 广州华多网络科技有限公司 Method for mobile terminal to switch account and mobile terminal
CN105956429A (en) * 2016-04-21 2016-09-21 三星半导体(中国)研究开发有限公司 Account login method used for portable electronic device with multi-account system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7305470B2 (en) * 2003-02-12 2007-12-04 Aol Llc Method for displaying web user's authentication status in a distributed single login network

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102868670A (en) * 2011-07-08 2013-01-09 北京亿赞普网络技术有限公司 Unified registration and logon system as well as registration and logon method for mobile user
CN102448029A (en) * 2011-09-29 2012-05-09 美商威睿电通公司 Mobile phone client for managing multi micro blog accounts and method
CN103152402A (en) * 2013-02-07 2013-06-12 百度在线网络技术(北京)有限公司 Method and system for logging in through mobile terminal and cloud server
CN103327480A (en) * 2013-06-20 2013-09-25 张家港保税区润桐电子技术研发有限公司 Intelligent mobile phone multiple-account contact information synchronizing method
CN104883259A (en) * 2015-06-11 2015-09-02 郑存粮 Method for automatic registration by using mobile phone number as network application account number
CN105208015A (en) * 2015-08-31 2015-12-30 小米科技有限责任公司 Application multi-account login processing method and device and terminal device
CN105430183A (en) * 2015-11-12 2016-03-23 广州华多网络科技有限公司 Method for mobile terminal to switch account and mobile terminal
CN105956429A (en) * 2016-04-21 2016-09-21 三星半导体(中国)研究开发有限公司 Account login method used for portable electronic device with multi-account system

Also Published As

Publication number Publication date
CN107623690A (en) 2018-01-23

Similar Documents

Publication Publication Date Title
CN107623690B (en) Login method, device and storage medium
JP7352008B2 (en) First element contactless card authentication system and method
US10050952B2 (en) Smart phone login using QR code
CN103051630B (en) Method, the Apparatus and system of third-party application mandate is realized based on open platform
CN108632253B (en) Client data security access method and device based on mobile terminal
CA3121971A1 (en) System and method for second factor authentication of customer support calls
EP3386167B1 (en) Cloud operation interface sharing method, related device and system
WO2015070732A1 (en) Access control system, authorization method and device thereof, and storage medium
CN105827600B (en) Method and device for logging in client
CN104113533B (en) Log in authorization method and device
CN104065616A (en) Single sign-on method and system
US9332433B1 (en) Distributing access and identification tokens in a mobile environment
EP2683127A1 (en) Voucher authorization for cloud server
CN113661699B (en) System and method for pre-authentication of customer support calls
CN106161475B (en) Method and device for realizing user authentication
CN108809969B (en) Authentication method, system and device
CN109726545B (en) Information display method, equipment, computer readable storage medium and device
CN105791249A (en) Third-party application processing method, device and system
CN111241523B (en) Authentication processing method, device, equipment and storage medium
CN106161356B (en) Method and system for rapidly logging in website through client
CN105790945B (en) A kind of authentication method, device and system realizing user's unique identities and authenticating
CN110602700B (en) Seed key processing method and device and electronic equipment
CN105635059B (en) A kind of WLAN access authentication method, relevant device and system
CN113055186B (en) Cross-system service processing method, device and system
CN105635060A (en) Method for obtaining application data, authentication certificate server and gateway

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