CN111405554A - Login information prompting method and device - Google Patents
Login information prompting method and device Download PDFInfo
- Publication number
- CN111405554A CN111405554A CN202010111662.1A CN202010111662A CN111405554A CN 111405554 A CN111405554 A CN 111405554A CN 202010111662 A CN202010111662 A CN 202010111662A CN 111405554 A CN111405554 A CN 111405554A
- Authority
- CN
- China
- Prior art keywords
- module
- account information
- login
- information
- server
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W12/00—Security arrangements; Authentication; Protecting privacy or anonymity
- H04W12/60—Context-dependent security
- H04W12/69—Identity-dependent
- H04W12/72—Subscriber identity
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/30—Authentication, i.e. establishing the identity or authorisation of security principals
- G06F21/31—User authentication
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W12/00—Security arrangements; Authentication; Protecting privacy or anonymity
- H04W12/06—Authentication
- H04W12/068—Authentication using credential vaults, e.g. password manager applications or one time password [OTP] applications
Abstract
The invention relates to the field of software login, and discloses a method for prompting login information, which comprises the following steps: A) when a user inputs account information to log in mobile phone APP software, the input account information is sent to a server through a wireless communication network; B) the server searches whether account information matched with the input account information exists in a historical login record according to the account information, if so, the login is successful; otherwise, the server returns the information of login failure to the mobile phone APP software through the wireless communication network. The invention also relates to a device for realizing the prompt method of the login information. The implementation of the prompt method and the device for the login information has the following beneficial effects: the query efficiency and the utilization rate of server resources can be improved.
Description
Technical Field
The invention relates to the field of software login, in particular to a method and a device for prompting login information.
Background
With the development of internet technology, people's lives are increasingly networked and informationized, and mobile phone software is rapidly developed. The mobile phone software is software capable of realizing connection between a mobile phone where a user is located and a server, and generally, one user corresponds to one account and one password. In the prior art, when a user logs in software through a mobile phone, the mobile phone directly sends account information and password information to a server for login verification, the server usually queries the account information registered in a database, and the registered account information is huge, so that the query needs to search larger resources, the query efficiency is undoubtedly influenced, and meanwhile, the utilization rate of server resources is reduced.
Disclosure of Invention
The technical problem to be solved by the present invention is to provide a method and an apparatus for prompting login information, which can improve the query efficiency and the utilization rate of server resources, in view of the above-mentioned defects in the prior art.
The technical scheme adopted by the invention for solving the technical problems is as follows: a prompt method for constructing login information comprises the following steps:
A) inputting account information at a user, logging in mobile phone APP software, and sending the input account information to a server through a wireless communication network;
B) the server searches whether account information matched with the input account information exists in a historical login record according to the account information, if so, the login is successful; otherwise, the server returns the information of login failure to the mobile phone APP software through the wireless communication network.
In the method for prompting login information, the wireless communication network is any one or combination of any more of a 5G communication module, a 4G communication module, a Bluetooth module, a WiFi module, a GSM module, a CDMA2000 module, a WCDMA module, a TD-SCDMA module, a Zigbee module and an L oRa module.
In the method for prompting login information, the account information comprises a user name and a password.
In the method for prompting login information according to the present invention, the step B) further includes:
B1) the server searches whether information matched with the input user name exists in a historical login record according to the user name in the account information, if so, the step B3 is executed); otherwise, performing step B2);
B2) the server returns the information of the user name input error to the mobile phone APP software through the wireless communication network;
B3) the server searches whether information matched with the input password exists in the historical login record according to the password in the account information, if so, the step B4 is executed); otherwise, performing step B5);
B4) the login is successful;
B5) and the server returns the information of the password input error to the mobile phone APP software through the wireless communication network.
The invention also relates to a device for realizing the prompt method of the login information, which comprises the following steps:
an account information sending unit: the system comprises a server, a user interface, a mobile phone APP software and a wireless communication network, wherein the server is used for inputting account information by the user to log in the mobile phone APP software and sending the input account information to the server through the wireless communication network;
an account information matching unit: the server is used for searching whether account information matched with the input account information exists in a historical login record according to the account information, if so, the login is successful; otherwise, the server returns the information of login failure to the mobile phone APP software through the wireless communication network.
In the device of the invention, the wireless communication network is any one or combination of any several of a 5G communication module, a 4G communication module, a Bluetooth module, a WiFi module, a GSM module, a CDMA2000 module, a WCDMA module, a TD-SCDMA module, a Zigbee module and an L oRa module.
In the device of the present invention, the account information includes a user name and a password.
In the apparatus of the present invention, the account information matching unit further includes:
a user name matching module: the server is used for searching whether information matched with the input user name exists in a historical login record according to the user name in the account information;
username entry error module: the server is used for returning information of user name input errors to the mobile phone APP software through the wireless communication network;
a password matching module: the server is used for searching whether information matched with the input password exists in the historical login record according to the password in the account information;
a login success module: for login success;
a password entry error module: and the server returns the information of the password input error to the mobile phone APP software through the wireless communication network.
The implementation of the prompt method and the device for the login information has the following beneficial effects: because the user inputs account information to log in the mobile phone APP software, and the input account information is sent to the server through the wireless communication network; the server searches whether account information matched with the input account information exists in the historical login record according to the account information, if so, the login is successful; otherwise, the server returns the login failure information to the mobile phone APP software through the wireless communication network, and when the server inquires, the server inquires in the historical login record instead of the whole database, so that the inquiry range is narrowed, and the inquiry efficiency and the utilization rate of server resources can be improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a flowchart of a method in an embodiment of a method and apparatus for prompting login information in accordance with the present invention;
fig. 2 is a specific flowchart of the server in the embodiment according to the account information, to find whether account information matching the input account information exists in the historical login record;
fig. 3 is a schematic structural diagram of the device in the embodiment.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In the embodiment of the method and the device for prompting login information of the present invention, a flowchart of the method for prompting login information is shown in fig. 1. In fig. 1, the method for prompting login information includes the following steps:
the method comprises the steps that S01 when a user inputs account information to log in mobile phone APP software, the input account information is sent to a server through a wireless communication network, the mobile phone is provided with the APP software which can be any application software, in the step, a mobile phone APP is operated, when the user inputs the account information to log in the mobile phone APP software, the mobile phone APP software sends the account information input by the user to the server through the wireless communication network, the wireless communication network is any one or combination of any several of a 5G communication module, a 4G communication module, a Bluetooth module, a WiFi module, a GSM module, a CDMA2000 module, a WCDMA module, a TD-SCDMA module, a Zigbee module and a L oRa module, the flexibility of the wireless communication mode can be improved through setting multiple wireless communication modes, the requirements of different users and different occasions can be met, particularly when the L oRa module is adopted, the communication distance is far, the communication performance is stable, and the method is suitable for occasions with high requirements on communication quality, high data rate, delay reduction, energy conservation, cost reduction, system capacity improvement and equipment connection improvement.
Step S02, the server searches whether account information matching the input account information exists in the history log-in record according to the account information: in this step, the server searches whether account information matching the input account information exists in the history login record according to the account information, such as: if the intelligent account information input by the user is AAA, the server searches whether AAA exists in the history login record, and if yes, the step S03 is executed; otherwise, step S04 is executed.
Step S03 login is successful: if the judgment result of the above step S02 is yes, the present step is executed. In this step, the login is successful.
Step S04, the server returns the information of login failure to the mobile phone APP software through the wireless communication network: if the determination result of the above step S02 is no, that is, if there is no account information matching the input account information in the history log, this step is executed. In this step, the server returns the information of the login failure to the mobile phone APP software through the wireless communication network.
Certainly, in practical applications, after the account information input by the user is obtained, the server may also determine whether an account corresponding to the account information is currently logged in, and if the account is logged in, prompt information that the user cannot log in repeatedly is prompted. For example: when the computer terminal has logged in the account AAA and sends a login request again, the information of 'you have logged in but can not log in repeatedly' is prompted to the user.
In the method for prompting login information, the server does not inquire in the whole database but inquires in the historical login record during inquiry, and the inquiry range is narrowed, so that the inquiry efficiency and the utilization rate of server resources can be improved.
In the method for prompting login information, account information comprises a user name, a password and the like.
For the present embodiment, the step S02 can be further refined, and the detailed flowchart is shown in fig. 2. In fig. 2, the step S02 further includes:
step S21, the server searches whether there is information matching with the input user name in the history log-in record according to the user name in the account information: in this step, the server searches whether a user name matching the input user name exists in the historical login record according to the user name in the account information, for example: if the user name in the account information is A1, the server searches whether A1 exists in the historical login record, and if the search result is yes, the step S23 is executed; otherwise, step S22 is executed.
Step S22, the server returns the information of the user name input error to the mobile phone APP software through the wireless communication network: if the judgment result of the above step S21 is no, the present step is executed. In the step, the server returns the information of the user name input error to the mobile phone APP software through the wireless communication network.
Step S23, the server searches whether there is information matching the input password in the history log-in record according to the password in the account information: if the judgment result of the above step S21 is yes, the present step is executed. In this step, the server searches whether information matched with the input password exists in the historical login record according to the password in the account information, and if the judgment result is yes, step S24 is executed; otherwise, step S25 is executed.
Step S24 login is successful: if the judgment result of the above step S23 is yes, the present step is executed. In this step, the login is successful.
Step S25, the server returns the information of the password input error to the mobile phone APP software through the wireless communication network: if the judgment result of the above step S23 is no, the present step is executed. In the step, the server returns the information of the password input error to the mobile phone APP software through the wireless communication network.
In practical application, the user name and the password are not verified by the server, and the user name and the password can also be unmatched. For example: a password error is considered when the username exists and the username and password match is unsuccessful.
In practical application, the user name and the password are not verified by the server, and the user name does not allow a plurality of terminals to log in the same account at the same time. For example: when the computer requests to log in the user name A1, the user has successfully logged in the user name A1 on the mobile phone. Such login rules are typically set for account security by the user, and at this time, the user may be prompted on the computer side with a message that "the server does not allow multiple terminals to login to the user name a1, which is already logged in on the mobile phone".
The device comprises an account information sending unit 1 and an account information matching unit 2, wherein the account information sending unit 1 is used for sending input account information to a server through a wireless communication network when a user inputs account information to log in mobile phone APP software, the wireless communication network is any one or combination of any several of a 5G communication module, a 4G communication module, a Bluetooth module, a WiFi module, a GSM module, a CDMA2000 module, a WCDMA module, a TD-SCDMA module, a Zigbee module and an L oRa module, the flexibility of the wireless communication mode can be improved by setting various wireless communication modes, and the requirements of different users and different occasions can be met.
The account information matching unit 2 is configured to search, by the server, whether account information matching the input account information exists in the historical login record according to the account information, where the account information includes: if the intelligent account information input by the user is AAA, the server searches whether AAA exists in the historical login record, if so, the login is successful; otherwise, the server returns the login failure information to the mobile phone APP software through the wireless communication network.
In the device of the invention, when the server queries, the server queries not in the whole database but in the history log-in record, and the query range is narrowed, so that the device of the invention can improve the query efficiency and the utilization rate of server resources.
In the device of the invention, the account information comprises a user name, a password and the like.
In this embodiment, the account information matching unit 2 further includes a username matching module 21, a username input error module 22, a password matching module 23, a login success module 24, and a password input error module 25; the user name matching module 21 is configured to, by the server, search, according to a user name in the account information, whether information matching the input user name exists in the historical login record, for example: if the user name in the account information is A1, the server checks whether A1 exists in the history log-in record.
The user name input error module 22 is used for the server to return the information of user name input error to the mobile phone APP software through the wireless communication network; the password matching module 23 is used for the server to search whether the information matched with the input password exists in the historical login record according to the password in the account information; the login success module 24 is used for successfully logging in; and the password input error module 25 is used for returning the information of the password input error to the mobile phone APP software through the wireless communication network by the server.
In summary, in this embodiment, the server performs query in the history log record instead of the whole database during query, and the query range is narrowed, so the present invention can improve the query efficiency and the utilization rate of server resources.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.
Claims (8)
1. A prompt method of login information is characterized by comprising the following steps:
A) when a user inputs account information to log in mobile phone APP software, the input account information is sent to a server through a wireless communication network;
B) the server searches whether account information matched with the input account information exists in a historical login record according to the account information, if so, the login is successful; otherwise, the server returns the information of login failure to the mobile phone APP software through the wireless communication network.
2. The method for prompting login information according to claim 1, wherein the wireless communication network is any one or a combination of any more of a 5G communication module, a 4G communication module, a bluetooth module, a WiFi module, a GSM module, a CDMA2000 module, a WCDMA module, a TD-SCDMA module, a Zigbee module, and an L oRa module.
3. A prompt method for login information according to claim 2, wherein the account information includes a user name and a password.
4. A method for prompting login information according to claim 3, wherein said step B) further comprises:
B1) the server searches whether information matched with the input user name exists in a historical login record according to the user name in the account information, if so, the step B3 is executed); otherwise, performing step B2);
B2) the server returns the information of the user name input error to the mobile phone APP software through the wireless communication network;
B3) the server searches whether information matched with the input password exists in the historical login record according to the password in the account information, if so, the step B4 is executed); otherwise, performing step B5);
B4) the login is successful;
B5) and the server returns the information of the password input error to the mobile phone APP software through the wireless communication network.
5. An apparatus for implementing the method for prompting login information according to claim 1, comprising:
an account information sending unit: the mobile phone APP software login method comprises the steps that when a user inputs account information and logs in mobile phone APP software, the input account information is sent to a server through a wireless communication network;
an account information matching unit: the server is used for searching whether account information matched with the input account information exists in a historical login record according to the account information, if so, the login is successful; otherwise, the server returns the information of login failure to the mobile phone APP software through the wireless communication network.
6. The apparatus of claim 5, wherein the wireless communication network is any one or a combination of any several of a 5G communication module, a 4G communication module, a Bluetooth module, a WiFi module, a GSM module, a CDMA2000 module, a WCDMA module, a TD-SCDMA module, a Zigbee module, and an L oRa module.
7. The apparatus of claim 6, wherein the account information comprises a username and a password.
8. The apparatus of claim 7, wherein the account information matching unit further comprises:
a user name matching module: the server is used for searching whether information matched with the input user name exists in a historical login record according to the user name in the account information;
username entry error module: the server is used for returning information of user name input errors to the mobile phone APP software through the wireless communication network;
a password matching module: the server is used for searching whether information matched with the input password exists in the historical login record according to the password in the account information;
a login success module: for login success;
a password entry error module: and the server returns the information of the password input error to the mobile phone APP software through the wireless communication network.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010111662.1A CN111405554A (en) | 2020-02-24 | 2020-02-24 | Login information prompting method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010111662.1A CN111405554A (en) | 2020-02-24 | 2020-02-24 | Login information prompting method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111405554A true CN111405554A (en) | 2020-07-10 |
Family
ID=71436249
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010111662.1A Pending CN111405554A (en) | 2020-02-24 | 2020-02-24 | Login information prompting method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111405554A (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104144419A (en) * | 2014-01-24 | 2014-11-12 | 腾讯科技(深圳)有限公司 | Identity authentication method, device and system |
US20150180859A1 (en) * | 2013-12-20 | 2015-06-25 | DeNA Co., Ltd. | Login requesting device and method for requesting login to server and storage medium storing a program used therefor |
CN106534119A (en) * | 2016-11-09 | 2017-03-22 | 福建中金在线信息科技有限公司 | Method and device for prompting client software login information |
CN107147643A (en) * | 2017-05-10 | 2017-09-08 | 武汉票据交易中心有限公司 | A kind of client login method |
WO2019184122A1 (en) * | 2018-03-30 | 2019-10-03 | 平安科技(深圳)有限公司 | Login verification method and apparatus, terminal device and storage medium |
-
2020
- 2020-02-24 CN CN202010111662.1A patent/CN111405554A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20150180859A1 (en) * | 2013-12-20 | 2015-06-25 | DeNA Co., Ltd. | Login requesting device and method for requesting login to server and storage medium storing a program used therefor |
CN104144419A (en) * | 2014-01-24 | 2014-11-12 | 腾讯科技(深圳)有限公司 | Identity authentication method, device and system |
CN106534119A (en) * | 2016-11-09 | 2017-03-22 | 福建中金在线信息科技有限公司 | Method and device for prompting client software login information |
CN107147643A (en) * | 2017-05-10 | 2017-09-08 | 武汉票据交易中心有限公司 | A kind of client login method |
WO2019184122A1 (en) * | 2018-03-30 | 2019-10-03 | 平安科技(深圳)有限公司 | Login verification method and apparatus, terminal device and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111083220B (en) | Method for providing financial service application | |
KR102242766B1 (en) | Identity registration method and device | |
AU2005246437B2 (en) | Remote access system and method and intelligent agent therefor | |
CN102137069B (en) | A kind of Internet of Things application realization method and system | |
US20220014374A1 (en) | U2f physical token-based centralized authentication system for iot devices | |
CN107147647A (en) | A kind of webpage authorization method and device | |
US20140302779A1 (en) | Method, device and system for establishing conversation relationship | |
CN108293181A (en) | A kind of processing method and terminal of communication identifier binding | |
US20150143475A1 (en) | Operation Processing Method and Device | |
CN106792694B (en) | Access authentication method and access equipment | |
CN104821940A (en) | Method and equipment for sending portal redirected address | |
WO2015074443A1 (en) | An operation processing method and device | |
CN113347242A (en) | Cross-device resource access method and device, storage medium and electronic device | |
CN106534119A (en) | Method and device for prompting client software login information | |
CN204376941U (en) | Outer net middleware, Intranet middleware and middleware system | |
CN111310230B (en) | Spatial data processing method, device, equipment and medium | |
US10951616B2 (en) | Proximity-based device authentication | |
CN111405554A (en) | Login information prompting method and device | |
KR101133167B1 (en) | Method and apparatus for user verifing process with enhanced security | |
CN113285994A (en) | Message sending method, device, server and storage medium | |
CN110784447A (en) | Method for realizing non-perception authentication across protocols | |
CN112069486B (en) | Multi-device account login method, account platform and first device | |
US11876866B2 (en) | Method for assisting unregistered user device to access end-to-end call service of private network and communication system | |
CN104639321A (en) | Authentication method, device and system | |
CN115277234B (en) | Security authentication method and system based on Internet of things platform micro-service |
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 |