CN112511296A - Password management method, device, computer equipment and medium - Google Patents
Password management method, device, computer equipment and medium Download PDFInfo
- Publication number
- CN112511296A CN112511296A CN202011290009.2A CN202011290009A CN112511296A CN 112511296 A CN112511296 A CN 112511296A CN 202011290009 A CN202011290009 A CN 202011290009A CN 112511296 A CN112511296 A CN 112511296A
- Authority
- CN
- China
- Prior art keywords
- password
- value
- user
- updating
- total
- 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
- 238000007726 management method Methods 0.000 title abstract description 18
- 230000004048 modification Effects 0.000 claims abstract description 64
- 238000012986 modification Methods 0.000 claims abstract description 64
- 238000000034 method Methods 0.000 claims description 27
- 238000004590 computer program Methods 0.000 claims description 6
- 238000013475 authorization Methods 0.000 claims 1
- 238000010586 diagram Methods 0.000 description 8
- 230000000694 effects Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/08—Key distribution or management, e.g. generation, sharing or updating, of cryptographic keys or passwords
- H04L9/0891—Revocation or update of secret information, e.g. encryption key update or rekeying
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/08—Network architectures or network communication protocols for network security for authentication of entities
- H04L63/083—Network architectures or network communication protocols for network security for authentication of entities using passwords
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/08—Key distribution or management, e.g. generation, sharing or updating, of cryptographic keys or passwords
- H04L9/088—Usage controlling of secret information, e.g. techniques for restricting cryptographic keys to pre-authorized uses, different access levels, validity of crypto-period, different key- or password length, or different strong and weak cryptographic algorithms
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Hardware Design (AREA)
- Computing Systems (AREA)
- General Engineering & Computer Science (AREA)
- Accessory Devices And Overall Control Thereof (AREA)
Abstract
The present disclosure relates to a password management method, apparatus, computer device, and medium, wherein the password management method includes: if the first account successfully performs authority authentication through the first password, updating the value of the number of times of use of the first password, determining that the value of the number of times of use of the first password meets a first preset condition, displaying a password modification interface, updating the first password according to a second password input by a user in a password input box, and updating the value of the number of times of use of the first password according to the total number of times of use set by the user in a setting item of the number of times of use, or updating the value of the number of times of use of the first password according to the total number of times of use generated by the complexity of the second password. The password is invalid and the user is forced to modify the password when the use times of the password reach the limit of the preset total use times of the password, so that the risk of password leakage is reduced, and the security of the user account is improved.
Description
Technical Field
The present disclosure relates to the field of network security technologies, and in particular, to a password management method, apparatus, computer device, and medium.
Background
With the rapid development of computer and network technologies, network security is receiving more and more attention. User identity authentication is an important component of network security. The user identity authentication mode widely adopted at present is a user name and password mode. The authentication mode can simply and effectively verify the identity of the user, but the serious potential safety hazard is hidden. Once the password information is leaked, huge loss is brought to the user. Thus, security of the password is particularly important.
To enhance the security of the password, the system usually has a certain requirement on the complexity of the password, such as: the password must be composed of numbers, letters and special characters, and the password is not necessary. However, as passwords are used for longer and longer periods of time, the risk of password leakage is greater and greater. Thus, the system may trigger a forced user to modify the password based on the length of time the password is used.
However, with the method in the prior art, there is still a great risk of password leakage, which affects the security of the user account.
Disclosure of Invention
To solve the above technical problem or at least partially solve the above technical problem, the present disclosure provides a password management method, apparatus, computer device, and medium.
In a first aspect, the present disclosure provides a password management method, including:
if the authority authentication of the first account through the first password is successful, updating the value of the number of times of use of the first password, wherein the value of the number of times of use is used for indicating the number of times of use or the number of times of remaining use;
if the value of the number of times of use of the first password meets a first preset condition, displaying a password modification interface, wherein the first preset condition is that the number of times of use is equal to the total number of times of use of a preset first password or the number of remaining times of use is equal to 0;
the password modification interface comprises a password input box;
updating the first password according to a second password input by the user in the password input box;
updating the value of the use times of the first password according to the total use times set by the user in the set items of the use times; or updating the value of the number of times of use of the first password according to the total number of times of use generated according to the complexity of the second password.
Optionally, after the authority authentication of the first account through the first password is successful, before updating the value of the number of times of using the first password, the method further includes:
receiving the total use times of the first password set by a user in a use time setting item of a password setting interface;
or,
and generating the total using times of the first password according to the complexity of the first password.
Optionally, the method further includes:
if the value of the number of times of using the first password meets a second preset condition, password modification prompt information is displayed; the second preset condition is that the used times are larger than a first preset threshold value or the remaining used times are smaller than a second preset threshold value; the first preset threshold is smaller than the preset total use times of the first password, and the second preset threshold is larger than 0.
Optionally, the method further includes:
receiving the selection operation of the user on the password modification prompt information, and displaying a password modification interface, wherein the password modification interface comprises a password input box;
updating the first password according to a second password input by the user in the password input box;
updating the value of the use times of the first password according to the total use times set by the user in the set items of the use times; or updating the value of the number of times of use of the first password according to the total number of times of use generated according to the complexity of the second password.
The password modification prompt message further comprises: the number of used or remaining uses.
In a second aspect, the present disclosure provides a password management apparatus, including:
the processing module is used for updating the value of the number of times of use of the first password after the first account passes the first password and successfully performs authority authentication, wherein the value of the number of times of use is used for indicating the number of times of use or the number of times of remaining use; the password management device is used for determining that the value of the number of times of use of the first password meets a first preset condition, wherein the first preset condition is that the number of times of use is equal to the preset total number of times of use of the first password or the number of times of remaining use is equal to 0;
the password modification interface comprises a password input box;
the processing module is further used for updating the first password according to a second password input by the user in the password input box;
the processing module is further used for updating the value of the number of times of use of the first password according to the total number of times of use set by the user in the setting item of the number of times of use; or, the value of the number of times of use of the first password is also updated according to the total number of times of use generated by the complexity of the second password.
Optionally, the method further includes:
the receiving module is used for receiving the total using times of the first password set by a user in a setting item of the using times of a password setting interface;
or,
the processing module is further configured to generate a total number of times of use of the first password according to the complexity of the first password.
Optionally, the processing module is further configured to determine that the value of the number of times of use of the first password satisfies a second preset condition; the second preset condition is that the used times are larger than a first preset threshold value or the remaining used times are smaller than a second preset threshold value; the first preset threshold is smaller than the preset total use times of the first password, and the second preset threshold is larger than 0;
the display module is also used for displaying password modification prompt information.
Optionally, the receiving module is further configured to receive a selection operation of the password modification prompt message by a user;
the display module is further used for displaying a password modification interface, and the password modification interface comprises a password input box;
the processing module is further used for updating the first password according to a second password input by the user in the password input box;
the processing module is further used for updating the value of the number of times of use of the first password according to the total number of times of use set by the user in the setting item of the number of times of use; or, the value of the number of times of use of the first password is also updated according to the total number of times of use generated by the complexity of the second password.
The password modification prompt message further comprises: the number of used or remaining uses.
In a third aspect, the present disclosure provides a computer device comprising: memory, processor and computer program stored on the memory and executable on the processor, characterized in that the processor implements the steps of the method of any one of the first aspect when executing the program.
In a fourth aspect, the present disclosure provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of the method of any one of the first aspect.
Compared with the prior art, the technical scheme provided by the embodiment of the disclosure has the following advantages:
whether authority authentication is successful is judged by judging the first account through the first password; if the authentication is successful, updating the value of the number of times of use of the first password, wherein the value of the number of times of use is used for indicating the number of times of use or the number of times of remaining use; if the value of the number of times of use of the first password meets a first preset condition, displaying a password modification interface, wherein the first preset condition is that the number of times of use is equal to the preset total number of times of use of the first password or the number of times of remaining use is equal to 0; the password modification interface comprises a password input box; updating the first password according to a second password input by a user in a password input box; updating the value of the use times of the first password according to the total use times set by the user in the set items of the use times; or updating the value of the number of times of use of the first password according to the total number of times of use generated according to the complexity of the second password, namely, limiting the number of times of use of the password through the preset number of times of total use of the password, and when the number of times of use of the password reaches the limit of the preset number of times of total use of the password, invalidating the password and forcing the user to modify the password, so that the risk of password leakage is reduced, and the security of the user account is improved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
In order to more clearly illustrate the embodiments or technical solutions in the prior art of the present disclosure, the drawings used in the description of the embodiments or prior art will be briefly described below, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without inventive exercise.
Fig. 1 is a schematic flowchart of an embodiment of a password management method provided in the present disclosure;
FIG. 2 is a schematic diagram of a password modification interface provided by the present disclosure;
FIG. 3 is a schematic diagram of another password modification interface provided by the present disclosure;
FIG. 4 is a schematic diagram of yet another password modification interface provided by the present disclosure;
FIG. 5 is a schematic flow chart diagram illustrating another embodiment of a password management method provided by the present disclosure;
FIG. 6 is a schematic diagram of a password setup interface provided by the present disclosure;
FIG. 7 is a schematic view of another password setup interface provided by the present disclosure;
FIG. 8 is a schematic illustration of yet another password setup interface provided by the present disclosure;
FIG. 9 is a flowchart illustrating another embodiment of a password management method according to the present disclosure;
FIG. 10 is a schematic diagram of a password hint information interface provided by the present disclosure;
FIG. 11 is a schematic view of another password hint information interface provided by the present disclosure;
FIG. 12 is a schematic view of yet another password hint information interface provided by the present disclosure;
fig. 13 is a schematic structural diagram of a password management apparatus according to the present disclosure.
Detailed Description
In order that the above objects, features and advantages of the present disclosure may be more clearly understood, aspects of the present disclosure will be further described below. It should be noted that the embodiments and features of the embodiments of the present disclosure may be combined with each other without conflict.
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present disclosure, but the present disclosure may be practiced in other ways than those described herein; it is to be understood that the embodiments disclosed in the specification are only a few embodiments of the present disclosure, and not all embodiments.
The technical solutions of the present disclosure are described in several specific embodiments, and the same or similar concepts may be referred to one another, and are not described in detail in each place.
Fig. 1 is a schematic flowchart of an embodiment of a password management method provided in an embodiment of the present disclosure, and as shown in fig. 1, the method of the embodiment includes:
s101: and judging whether the authority authentication of the first account through the first password is successful or not.
The user logs in through the first account and the first password. And performing authority authentication according to the first account and the first password, and judging whether the authority authentication is successful. If yes, executing S102; if not, the flow is ended.
S102: the value of the number of uses of the first password is updated.
Wherein the value of the number of uses is used to indicate the number of uses that have been used or the number of uses remaining.
One possible implementation is: when the value of the number of times of use is used to indicate the number of times used, 1 is added to the value of the number of times of use of the first password.
Another possible implementation is: when the value of the number of usages is used to indicate the number of remaining usages, the value of the number of usages of the first password is decremented by 1.
S103: and judging whether the value of the number of times of use of the first password meets a first preset condition.
The first preset condition is that the used times are equal to the preset total used times of the first password or the remaining used times are equal to 0.
One possible implementation is: when the value of the number of times of use of the first password is used for indicating the number of times that the first password has been used, whether the number of times that the first password has been used is equal to a preset total number of times that the first password has been used is determined. If yes, go to S104.
Another possible implementation is: when the value of the number of times of use of the first password is used to indicate the number of times of remaining use of the first password, it is determined whether the number of times of remaining use of the first password is equal to 0. If yes, go to S104.
S104: and displaying a password modification interface.
One possible implementation is: the password modification interface includes a password input box and a setting item of the number of times of use, as shown in fig. 2.
Another possible implementation is: the password modification interface includes a password entry box, as shown in fig. 3.
S105: and updating the first password according to the second password input by the user in the password input box.
S106: updating the value of the use times of the first password according to the total use times set by the user in the set items of the use times; alternatively, the value of the number of times of use of the first password is updated in accordance with the total number of times of use generated by the complexity of the second password.
One possible implementation is: the password modification interface receives the total number of usage times set by the user in the setting item of the number of usage times, and updates the value of the number of usage times of the first password to the total number of usage times set by the user in the setting item of the number of usage times when the value of the number of usage times of the first password is used to indicate the number of remaining usage times of the first password, as shown in fig. 2. For example: the user inputs 9000 in the setting item of the number of usage times, and when the value of the number of usage times of the first password is used to indicate the number of remaining usage times of the first password, the system updates the value of the number of usage times of the first password to 9000.
Another possible implementation is: and acquiring the password complexity level of the second password according to the second password input by the user, wherein the password complexity level can be divided into three levels, namely a high level, a medium level and a low level, generating the total use times of the second password according to the password complexity level of the second password, and automatically filling the total use times into a set item of the use times in a password modification interface, wherein the password modification interface is shown in fig. 4. The user can also modify the total use times in the set items of the use times according to actual requirements. When the value of the number of usage times of the first password is used to indicate the number of remaining usage times of the first password, the value of the number of usage times of the first password is updated to the total number of usage times set in the setting item of the number of times. For example: the second password input by the user consists of upper and lower case letters, special characters and numbers, the password complexity level of the second password is high according to the second password, the total using times 10000 of the second password is generated, 10000 is filled in a setting item of using times in a password modification interface, the user modifies 10000 in the setting item of using times into 9000, and when the value of using times of the first password is used for indicating the remaining using times of the first password, the system updates the value of using times of the first password to be 9000.
Yet another possible implementation is: as shown in fig. 2, the password modification interface obtains the password complexity level of the second password according to the second password input by the user, generates the total number of times of use of the second password according to the password complexity level of the second password, and updates the value of the number of times of use of the first password to the total number of times of use of the second password when the value of the number of times of use of the first password is used to indicate the remaining number of times of use of the first password. For example: the second password input by the user consists of lower case letters, numbers and special characters, the total use times 6000 of the second password are generated when the password complexity level of the second password is obtained according to the second password, and when the use times value of the first password is used for indicating the remaining use times of the first password, the use times value of the first password is updated to be 6000.
If the value of the number of times of use of the first password is used to indicate the number of times the first password has been used, the value of the number of times of use of the first password is updated to 0.
In this embodiment, whether the authority authentication of the first account through the first password is successful is judged; if the authentication is successful, updating the value of the number of times of use of the first password, wherein the value of the number of times of use is used for indicating the number of times of use or the number of times of remaining use; if the value of the number of times of use of the first password meets a first preset condition, displaying a password modification interface, wherein the first preset condition is that the number of times of use is equal to the preset total number of times of use of the first password or the number of remaining times of use is equal to 0; the password modification interface comprises a password input box; updating the first password according to the second password input by the user in the password input box; updating the value of the use times of the first password according to the total use times set by the user in the set items of the use times; or the value of the number of times of use of the first password is updated according to the total number of times of use generated by the complexity of the second password, namely, the number of times of use of the password is limited by the preset number of times of use of the password, and when the number of times of use of the password reaches the limit of the preset number of times of use of the password, the password is invalidated and the user is forced to modify the password, so that the risk of password leakage is reduced, and the security of the user account is improved.
Fig. 5 is a schematic flowchart of another embodiment of a password management method provided in an embodiment of the present disclosure, where fig. 5 is based on the embodiment shown in fig. 1, and further before S101, further includes:
s100: receiving the total use times of a first password set by a user in a use time setting item of a password setting interface; or generating the total use times of the first password according to the complexity of the first password.
One possible implementation is: when the user adds the first account, the system displays a password setting interface, as shown in fig. 6, the password setting interface includes: a user name input box, a password input box and a setting item of using times. And receiving a user name, a first password and the total use times input by the user, and updating the value of the use times of the first password to the total use times set by the user in the setting item of the use times when the value of the use times of the first password is used for indicating the remaining use times of the first password.
Another possible implementation is: when the user adds the first account, the system displays a password setting interface, as shown in fig. 6, the password setting interface includes: a user name input box, a password input box and a setting item of using times. Receiving a user name and a first password input by a user, obtaining a password complexity level of the first password according to the first password input by the user, generating a total number of times of use of the first password according to the password complexity level of the first password, and automatically filling the total number of times of use into a setting item of the number of times of use in a password setting interface, where the password setting interface is shown in fig. 7. The user can modify the total number of times of use in the setting item of the number of times of use according to actual requirements. When the value of the number of usage times of the first password is used to indicate the number of remaining usage times of the first password, the value of the number of usage times of the first password is updated to the total number of usage times set in the setting item of the number of times.
Yet another possible implementation is: when the user adds the first account, the system displays a password setting interface, as shown in fig. 8, the password setting interface includes: a username entry box and a password entry box. The method comprises the steps of receiving a user name and a first password input by a user, obtaining the password complexity level of the first password according to the first password input by the user, generating the total number of times of use of the first password according to the password complexity level of the first password, and updating the value of the number of times of use of the first password to be the total number of times of use of the first password when the value of the number of times of use of the first password is used for indicating the remaining number of times of use of the first password. For example: when the complexity level of the first password is high, the total use times of the generated first password is 10000; when the complexity level of the first password is middle, generating the total use times of the first password to be 6000; when the password complexity level of the first password is low, the total number of times of use for generating the first password is 2000.
If the value of the number of times of use of the first password is used to indicate the number of times the first password has been used, the value of the number of times of use of the first password is updated to 0.
In the embodiment, the total use times of the first password set by the user in the set item of the use times of the password setting interface are received; or, the total use times of the first password is generated according to the complexity of the first password, and the use times of the simple password can be controlled according to the total use times of the first password generated according to the complexity of the first password, so that the use times of the complex password are increased, and the user can flexibly set the times of the password according to actual requirements, so that the toughness of the password is improved, the configuration flexibility is improved, the risk of password leakage is reduced, and the safety of a user account is improved.
Fig. 9 is a schematic flowchart of another embodiment of a password management method provided in an embodiment of the present disclosure, where fig. 9 is based on the embodiment shown in fig. 5, and further includes:
in S103, if the value of the number of times of use of the first password does not satisfy the first preset condition, S901 is executed.
S901: and judging whether the value of the number of times of use of the first password meets a second preset condition.
The second preset condition is that the used times are larger than a first preset threshold value or the residual used times are smaller than a second preset threshold value; the first preset threshold is smaller than the preset total use times of the first password, and the second preset threshold is larger than 0.
One possible implementation is: when the value of the number of times of use of the first password is used for indicating the number of times of use of the first password, whether the number of times of use of the first password is greater than a first preset threshold value or not is judged, wherein the first preset threshold value is smaller than the preset total number of times of use of the first password. If yes, go to S902.
Another possible implementation is: when the value of the number of times of use of the first password is used for indicating the number of times of remaining use of the first password, whether the number of times of remaining use of the first password is smaller than a second preset threshold value is judged, wherein the second preset threshold value is larger than 0. If yes, go to S902.
S902: and displaying password modification prompt information.
The password modification hint information may be in the form of a dialog box, bubble, exclamation point, etc., as the present disclosure is not limited in this respect.
One password modification prompt interface includes a password modification prompt, as shown in fig. 10.
Another interface for password modification prompt message includes password modification prompt message and used times, as shown in FIG. 11
Yet another password modification prompt interface includes a password modification prompt and the remaining times, as shown in fig. 12.
S903: and receiving the selection operation of the user on the password modification prompt information.
The user can select whether to modify the password according to actual requirements. And if the user determines to modify the password, receiving the selection operation of the user on the password modification prompt message, and executing S104.
S104: and displaying a password modification interface.
S105: and updating the first password according to the second password input by the user in the password input box.
S106: updating the value of the use times of the first password according to the total use times set by the user in the set items of the use times; alternatively, the value of the number of times of use of the first password is updated in accordance with the total number of times of use generated by the complexity of the second password.
In this embodiment, whether the value of the number of times of use of the first password meets a second preset condition is determined, where the second preset condition is that the number of times of use is greater than a first preset threshold or the number of remaining times of use is less than a second preset threshold; the first preset threshold is smaller than the preset total use times of the first password, and the second preset threshold is larger than 0; if yes, password modification prompt information is displayed, the selection operation of the user on the password modification prompt information is received, and a password modification interface is displayed, namely, the user is reminded to modify the password when the use times of the password do not reach the limit of the total use times, so that the risk of password leakage is timely reduced, and the safety of a user account is improved.
Optionally, in S901, if it is determined that the value of the number of times of using the first password satisfies the second preset condition, the user may be notified in a log, an alarm, or a mail alert.
Fig. 13 is a schematic structural diagram of a password management apparatus according to the present disclosure, where the apparatus of this embodiment includes: a processing module 1301 and a display module 1302.
The processing module 1301 is configured to update a value of the number of times of use of the first password if the first account successfully performs the authority authentication through the first password, where the value of the number of times of use is used to indicate the number of times of use or the number of remaining times of use; the password management device is used for determining that the value of the number of times of use of the first password meets a first preset condition, wherein the first preset condition is that the number of times of use is equal to the preset total number of times of use of the first password or the number of times of remaining use is equal to 0;
a display module 1302, configured to display a password modification interface, where the password modification interface includes a password input box;
the processing module 1301 is further configured to update the first password according to a second password input by the user in the password input box;
the processing module 1301 is further configured to update the value of the number of times of use of the first password according to the total number of times of use set by the user in the setting item of the number of times of use; or, the value of the number of times of use of the first password is also updated according to the total number of times of use generated by the complexity of the second password.
Optionally, the method further includes:
a receiving module 1303, configured to receive the total number of times of use of the first password, which is set by a user in a setting item of the number of times of use of the password setting interface;
or,
the processing module 1301 is further configured to generate a total number of times of using the first password according to the complexity of the first password.
Optionally, the processing module 1301 is further configured to determine that the value of the number of times of using the first password satisfies a second preset condition; the second preset condition is that the used times are larger than a first preset threshold value or the remaining used times are smaller than a second preset threshold value; the first preset threshold is smaller than the preset total use times of the first password, and the second preset threshold is larger than 0;
the display module 1302 is further configured to display a password modification prompt message.
Optionally, the receiving module 1303 is further configured to receive a selection operation of the password modification prompt information by the user;
the display module 1302 is further configured to display a password modification interface, where the password modification interface includes a password input box;
the processing module 1301 is further configured to update the first password according to a second password input by the user in the password input box;
the processing module 1301 is further configured to update the value of the number of times of use of the first password according to the total number of times of use set by the user in the setting item of the number of times of use; or, the value of the number of times of use of the first password is also updated according to the total number of times of use generated by the complexity of the second password.
The password modification prompt message further comprises: the number of used or remaining uses.
The device of this embodiment may be used to implement the technical solution of any one of the methods shown in fig. 1 to fig. 12, and the implementation principle and the technical effect are similar, which are not described herein again.
The disclosed embodiment provides a computer device, including: the memory, the processor, and the computer program stored in the memory and capable of running on the processor, where the processor executes the program to implement the technical solution of any one of the methods shown in fig. 1 to 12, and the implementation principle and the technical effect are similar, and are not described herein again.
The present disclosure also provides a computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, implements the solution of the method embodiment shown in any one of fig. 1 to 12.
It is noted that, in this document, relational terms such as "first" and "second," and the like, may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The foregoing are merely exemplary embodiments of the present disclosure, which enable those skilled in the art to understand or practice the present disclosure. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the disclosure. Thus, the present disclosure is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
Claims (11)
1. A method for password management, comprising:
if the authority authentication of the first account through the first password is successful, updating the value of the number of times of use of the first password, wherein the value of the number of times of use is used for indicating the number of times of use or the number of times of remaining use;
if the value of the number of times of use of the first password meets a first preset condition, displaying a password modification interface, wherein the first preset condition is that the number of times of use is equal to the total number of times of use of a preset first password or the number of remaining times of use is equal to 0;
the password modification interface comprises a password input box;
updating the first password according to a second password input by the user in the password input box;
updating the value of the use times of the first password according to the total use times set by the user in the set items of the use times; or updating the value of the number of times of use of the first password according to the total number of times of use generated according to the complexity of the second password.
2. The method according to claim 1, wherein before updating the value of the number of times of using the first password after the first account successfully performs the authorization authentication through the first password, the method further comprises:
receiving the total use times of the first password set by a user in a use time setting item of a password setting interface;
or,
and generating the total using times of the first password according to the complexity of the first password.
3. The method of claim 2, further comprising:
if the value of the number of times of using the first password meets a second preset condition, password modification prompt information is displayed; the second preset condition is that the used times are larger than a first preset threshold value or the remaining used times are smaller than a second preset threshold value; the first preset threshold is smaller than the preset total use times of the first password, and the second preset threshold is larger than 0.
4. The method of claim 3, further comprising:
receiving the selection operation of the user on the password modification prompt information, and displaying a password modification interface, wherein the password modification interface comprises a password input box;
updating the first password according to a second password input by the user in the password input box;
updating the value of the use times of the first password according to the total use times set by the user in the set items of the use times; or updating the value of the number of times of use of the first password according to the total number of times of use generated according to the complexity of the second password.
5. The method of claim 3, wherein the password modification hint information further comprises: the number of used or remaining uses.
6. A password management apparatus, comprising:
the processing module is used for updating the value of the number of times of use of the first password after the first account passes the first password and successfully performs authority authentication, wherein the value of the number of times of use is used for indicating the number of times of use or the number of times of remaining use; the password management device is used for determining that the value of the number of times of use of the first password meets a first preset condition, wherein the first preset condition is that the number of times of use is equal to the preset total number of times of use of the first password or the number of times of remaining use is equal to 0;
the display module is used for displaying the password modification interface;
the password modification interface comprises a password input box;
the processing module is further used for updating the first password according to a second password input by the user in the password input box;
the processing module is further used for updating the value of the number of times of use of the first password according to the total number of times of use set by the user in the setting item of the number of times of use; or, the value of the number of times of use of the first password is also updated according to the total number of times of use generated by the complexity of the second password.
7. The apparatus of claim 6, further comprising:
the receiving module is used for receiving the total using times of the first password set by a user in a setting item of the using times of a password setting interface;
or,
the processing module is further configured to generate a total number of times of use of the first password according to the complexity of the first password.
8. The apparatus of claim 7,
the processing module is further configured to determine that the value of the number of times of use of the first password satisfies a second preset condition; the second preset condition is that the used times are larger than a first preset threshold value or the remaining used times are smaller than a second preset threshold value; the first preset threshold is smaller than the preset total use times of the first password, and the second preset threshold is larger than 0;
the display module is also used for displaying password modification prompt information.
9. The apparatus of claim 7,
the receiving module is also used for receiving the selection operation of the user on the password modification prompt message;
the display module is further used for displaying a password modification interface, and the password modification interface comprises a password input box;
the processing module is further used for updating the first password according to a second password input by the user in the password input box;
the processing module is further used for updating the value of the number of times of use of the first password according to the total number of times of use set by the user in the setting item of the number of times of use; or, the value of the number of times of use of the first password is also updated according to the total number of times of use generated by the complexity of the second password.
10. A computer device, comprising: memory, processor and computer program stored on the memory and executable on the processor, characterized in that the steps of the method according to any of claims 1 to 5 are implemented when the processor executes the program.
11. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011290009.2A CN112511296A (en) | 2020-11-17 | 2020-11-17 | Password management method, device, computer equipment and medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011290009.2A CN112511296A (en) | 2020-11-17 | 2020-11-17 | Password management method, device, computer equipment and medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN112511296A true CN112511296A (en) | 2021-03-16 |
Family
ID=74956678
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011290009.2A Pending CN112511296A (en) | 2020-11-17 | 2020-11-17 | Password management method, device, computer equipment and medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112511296A (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103888457A (en) * | 2014-03-19 | 2014-06-25 | 深信服网络科技(深圳)有限公司 | Method and system for improving login security |
CN105550551A (en) * | 2015-12-25 | 2016-05-04 | 北京奇虎科技有限公司 | Password processing method and equipment, and password prompt method and equipment |
CN107229868A (en) * | 2017-05-27 | 2017-10-03 | 郑州云海信息技术有限公司 | A kind of information security management and control method and system based on storage management system |
WO2018072403A1 (en) * | 2016-10-20 | 2018-04-26 | 武汉斗鱼网络科技有限公司 | Password reset method, apparatus, terminal device and server, and computer-readable medium |
CN109658556A (en) * | 2018-11-27 | 2019-04-19 | 深圳市赛亿科技开发有限公司 | A kind of intelligent door lock method for unlocking and system |
-
2020
- 2020-11-17 CN CN202011290009.2A patent/CN112511296A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103888457A (en) * | 2014-03-19 | 2014-06-25 | 深信服网络科技(深圳)有限公司 | Method and system for improving login security |
CN105550551A (en) * | 2015-12-25 | 2016-05-04 | 北京奇虎科技有限公司 | Password processing method and equipment, and password prompt method and equipment |
WO2018072403A1 (en) * | 2016-10-20 | 2018-04-26 | 武汉斗鱼网络科技有限公司 | Password reset method, apparatus, terminal device and server, and computer-readable medium |
CN107229868A (en) * | 2017-05-27 | 2017-10-03 | 郑州云海信息技术有限公司 | A kind of information security management and control method and system based on storage management system |
CN109658556A (en) * | 2018-11-27 | 2019-04-19 | 深圳市赛亿科技开发有限公司 | A kind of intelligent door lock method for unlocking and system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP2819351A1 (en) | Information processing method, apparatus, and system | |
US20090083859A1 (en) | Progress indicators to encourage more secure behaviors | |
CN109495580B (en) | Activation method and system of terminal equipment | |
CN110795485A (en) | Database access method, device and equipment | |
CN103902729A (en) | Method and device for recommending application program | |
CN106888086B (en) | System and method for managing account password | |
CN107239467B (en) | Database-based data processing method and device | |
CN112491625A (en) | Operation and maintenance alarming method, device and equipment based on instant communication platform | |
CN109688109B (en) | Verification method and device of verification code based on client information identification | |
CN105323145B (en) | Malicious information identification method, malicious information identification device and system | |
CN112511296A (en) | Password management method, device, computer equipment and medium | |
CN113961891A (en) | User authentication method and device | |
CN110247931B (en) | Information processing method and server | |
CN108259436B (en) | User identity authentication processing method, application server and authentication system server | |
CN117454142A (en) | Data generation method and device, storage medium and electronic equipment | |
JP2019082834A (en) | Calculation apparatus, information processing apparatus, control program and control method | |
CN106060000B (en) | Method and equipment for identifying verification information | |
CN105306209A (en) | Password setting method, login method and devices | |
CN107122315A (en) | A kind of access control method and terminal | |
CN105825123B (en) | Unlocking method and mobile terminal | |
CN111124918B (en) | Test data prediction method and device and processing equipment | |
CN105450414B (en) | A kind of user registering method and device | |
CN115242524B (en) | Verification method, device and medium for verification code | |
CN110995735A (en) | Information display method, display device, electronic equipment and storage medium | |
CN106802765B (en) | Password input method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20210316 |
|
RJ01 | Rejection of invention patent application after publication |