CN113792286A - Password updating method, device, equipment and storage medium - Google Patents
Password updating method, device, equipment and storage medium Download PDFInfo
- Publication number
- CN113792286A CN113792286A CN202111044237.6A CN202111044237A CN113792286A CN 113792286 A CN113792286 A CN 113792286A CN 202111044237 A CN202111044237 A CN 202111044237A CN 113792286 A CN113792286 A CN 113792286A
- Authority
- CN
- China
- Prior art keywords
- password
- updated
- user
- behavior data
- setting behavior
- 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
- 238000000034 method Methods 0.000 title claims abstract description 70
- 230000006399 behavior Effects 0.000 claims description 171
- 238000012549 training Methods 0.000 claims description 34
- 238000012545 processing Methods 0.000 claims description 31
- 238000010606 normalization Methods 0.000 claims description 27
- 238000012360 testing method Methods 0.000 claims description 20
- 230000008569 process Effects 0.000 claims description 18
- 238000004590 computer program Methods 0.000 claims description 11
- 238000010801 machine learning Methods 0.000 claims description 9
- 238000001514 detection method Methods 0.000 claims description 5
- 230000002452 interceptive effect Effects 0.000 claims description 3
- 238000013473 artificial intelligence Methods 0.000 abstract description 6
- 230000003287 optical effect Effects 0.000 description 6
- 238000013475 authorization Methods 0.000 description 5
- 238000010586 diagram Methods 0.000 description 5
- 230000006870 function Effects 0.000 description 4
- 230000000737 periodic effect Effects 0.000 description 4
- 238000012790 confirmation Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 238000012544 monitoring process Methods 0.000 description 3
- 239000013307 optical fiber Substances 0.000 description 2
- 230000002093 peripheral effect Effects 0.000 description 2
- 230000000644 propagated effect Effects 0.000 description 2
- 238000003491 array Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000013527 convolutional neural network Methods 0.000 description 1
- 235000014510 cooky Nutrition 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 230000008707 rearrangement Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Classifications
-
- 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/45—Structures or tools for the administration of authentication
- G06F21/46—Structures or tools for the administration of authentication by designing passwords or checking the strength of passwords
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Storage Device Security (AREA)
Abstract
The embodiment of the invention relates to the field of artificial intelligence, and discloses a password updating method, a password updating device, password updating equipment and a storage medium. The method comprises the following steps: detecting whether a password to be updated exists in the terminal equipment or not according to a preset password updating period; when detecting that a password to be updated exists in the terminal equipment, generating password setting behavior data corresponding to the password to be updated; inputting password setting behavior data into a password recommendation model trained in advance to obtain an updated password; the input of the password recommendation model is password setting behavior data, and the output is a password corresponding to the password setting behavior data; and displaying the update password to the user through the update password display page, and updating the password to be updated into the update password after the update password display page acquires the password determination instruction of the user. The embodiment of the invention can automatically and periodically update the password in the terminal equipment based on the password setting habit of the user, and is convenient and quick.
Description
Technical Field
The embodiment of the invention relates to the technical field of artificial intelligence, in particular to a password updating method, a password updating device, password updating equipment and a storage medium.
Background
In daily life and work, passwords are ubiquitous. In order to protect information security, a user generally needs to set a password for a system or an application program of a terminal device such as a mobile phone or a computer. For example, an unlock password of the terminal device is set, a power-on password of the terminal device is set, a login password of a designated application in the terminal device is set, and the like. In the related art, the password setting method generally includes two types: and the user sets a password and a password recommended by a system or an application program using the terminal equipment.
Aiming at the setting mode that the user sets the password by himself, the user usually selects simple numbers and letter combinations which are convenient to remember, or uses the birthday, the certificate number and the like of the user as the password. The password set in this way is easy to crack and needs to be updated manually and periodically. However, the password is updated manually and periodically, a lot of effort of the user is consumed, and the situation that the new password conflicts with the set password occurs in the password updating process, so that the password set by the user is not more and more consistent with the setting habit of the user, the user forgets the password easily after a period of time, and the user needs to find back the password or change the password again, and the like, and the password updating method is not convenient enough.
Aiming at the setting mode of the password recommended by the system or the application program using the terminal equipment, the recommended password does not conform to the password setting habit of the user, the user is extremely difficult to memorize the recommended password, the recommended password is mainly stored by the system or the application program of the terminal equipment, the password storage depends on the system or the application program of the terminal equipment, and the password is lost when the terminal equipment is lost.
Disclosure of Invention
The embodiment of the invention provides a password updating method, a password updating device, equipment and a storage medium, which can automatically and periodically update a password in terminal equipment based on the password setting habit of a user, simplify the password setting operation of the user, are convenient and quick, are convenient for the user to memorize the password, ensure the safety of the password through automatic and periodic replacement, are not easy to crack and greatly reduce the password divulgence possibility.
In a first aspect, an embodiment of the present invention provides a password updating method, including:
detecting whether a password to be updated exists in the terminal equipment or not according to a preset password updating period;
when the password to be updated exists in the terminal equipment, generating password setting behavior data corresponding to the password to be updated; wherein the password setting behavior data comprises: user identification, setting time, setting position, identification of a system or application program to which the password belongs, software type and/or hardware type of the terminal equipment when the password is set;
inputting the password setting behavior data into a password recommendation model trained in advance to obtain an updated password; the input of the password recommendation model is password setting behavior data, and the output of the password recommendation model is a password corresponding to the password setting behavior data;
and displaying the updated password to a user through an updated password display page, and updating the password to be updated into the updated password after the updated password display page obtains the password determination instruction of the user.
In a second aspect, an embodiment of the present invention further provides a password updating apparatus, including:
the updating period detection module is used for detecting whether the password to be updated exists in the terminal equipment or not according to the preset password updating period;
the behavior data generation module is used for generating password setting behavior data corresponding to the password to be updated when the password to be updated is detected to exist in the terminal equipment; wherein the password setting behavior data comprises: user identification, setting time, setting position, identification of a system or application program to which the password belongs, software type and/or hardware type of the terminal equipment when the password is set;
the password updating module is used for inputting the password setting behavior data to a password recommendation model trained in advance to obtain an updated password; the input of the password recommendation model is password setting behavior data, and the output of the password recommendation model is a password corresponding to the password setting behavior data;
and the password updating module is used for displaying the updated password to the user through an updated password display page, and updating the password to be updated into the updated password after the password determining instruction of the user is acquired by the updated password display page.
In a third aspect, an embodiment of the present invention further provides a terminal device, including:
one or more processors;
storage means for storing one or more computer programs;
the password updating method according to an embodiment of the present invention is implemented when the one or more computer programs are executed by the one or more processors, so that the one or more processors execute the computer programs.
In a fourth aspect, the embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the password updating method according to the embodiment of the present invention.
According to the technical scheme of the embodiment of the invention, whether the password to be updated exists in the terminal equipment is detected according to the preset password updating period; when detecting that a password to be updated exists in the terminal equipment, generating password setting behavior data corresponding to the password to be updated; inputting password setting behavior data into a password recommendation model trained in advance to obtain an updated password; finally, the updated password is displayed to the user through the updated password display page, after the updated password display page acquires a password determination instruction of the user, the password to be updated is updated into the updated password, whether the password to be updated exists in the terminal equipment can be automatically detected, when the password to be updated exists in the terminal equipment is detected, the updated password for replacing the password to be updated is generated by using the password recommendation model according to the password setting behavior data corresponding to the password to be updated, the updated password is displayed to the user through the updated password display interface so that the user memorizes the updated password, after the updated password display page acquires the password determination instruction of the user, the user determines that the updated password conforms to the password setting habit of the user, the updated password is memorized, and the terminal equipment can replace the password to be updated by using the updated password, the password to be updated is updated to the updated password, so that password setting habits based on users are realized, the password in the terminal equipment is automatically and periodically updated, the password setting operation of the users is simplified, convenience and rapidness are realized, the users can conveniently memorize the password, the password safety can be ensured through automatic and periodic replacement, the password is not easy to crack, and the password leakage possibility is greatly reduced.
Drawings
Fig. 1 is a flowchart of a password updating method according to an embodiment of the present invention.
Fig. 2 is a flowchart of a password updating method according to a second embodiment of the present invention.
Fig. 3 is a schematic structural diagram of a password updating apparatus according to a third embodiment of the present invention.
Fig. 4 is a schematic structural diagram of a terminal device according to a fourth embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention.
It should be further noted that, for the convenience of description, only some but not all of the relevant aspects of the present invention are shown in the drawings. Before discussing exemplary embodiments in more detail, it should be noted that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although a flowchart may describe the operations (or steps) as a sequential process, many of the operations can be performed in parallel, concurrently or simultaneously. In addition, the order of the operations may be re-arranged. The process may be terminated when its operations are completed, but may have additional steps not included in the figure. The processes may correspond to methods, functions, procedures, subroutines, and the like.
Example one
Fig. 1 is a flowchart of a password updating method according to an embodiment of the present invention. The embodiment of the invention can be suitable for the situation of automatically and periodically updating the password in the terminal equipment based on the password setting habit of the user, and the method can be executed by the password updating device provided by the embodiment of the invention, and the device can be realized in a software and/or hardware mode and can be generally integrated in the terminal equipment.
As shown in fig. 1, the method of the embodiment of the present invention specifically includes:
Optionally, a plurality of passwords exist in the terminal device, and at least include: the method comprises the steps of unlocking passwords of the terminal equipment, starting passwords of the terminal equipment, login passwords of various application programs such as social application programs and financial application programs in the terminal equipment. In order to protect information security and ensure that each password in the terminal equipment is not easy to crack, each password in the terminal equipment needs to be updated regularly.
Optionally, detecting whether a password to be updated exists in the terminal device according to a preset password update period includes: detecting whether a target password with the current time being the same as the time to be updated of the password exists in each password in the terminal equipment at regular time; the time to be updated of each password is the time of a password updating period preset with the last updated time interval of the password; the preset password updating period is a preset time period for updating each password in the terminal equipment; the last time of updating the password can be the time when the password is set by the user for the first time, or can also be the last time when the password is updated by the terminal device; and if the target password with the current time being the same as the time to be updated of the password exists, determining the target password as the password to be updated existing in the terminal equipment.
Optionally, if there is no target password whose current time is the same as the time to be updated of the password, it is determined that there is no password to be updated in the terminal device, and the subsequent password updating operation is not performed any more, and the next detection time is continuously waited.
Optionally, for each password in the terminal device: after the password is set by the user for the first time, the terminal device records the set time of the password as the updated time of the password, and sets the time of a password update period preset by the interval with the updated time as the time to be updated of the password. When detecting that the current time is the same as the time to be updated of the password, the terminal equipment determines that the password needs to be updated, namely the password is the password to be updated, so as to update the password, determines the time to be updated, which is the same as the current time, as the new password updated time, and sets the time of a password update period, which is preset at an interval with the new password updated time, as the new time to be updated. And analogizing in sequence, after the password is set by the user for the first time, determining that the password is the password to be updated every other preset password updating period, and updating the password to realize the regular updating of the password.
In one embodiment, the predetermined password update period is 30 days. For each password in the terminal device: after the password is set by the user for the first time, the terminal device records the set time of the password as the updated time of the password, and sets the time which is 30 days away from the updated time of the password as the time to be updated of the password. When detecting that the current time is the same as the time to be updated of the password, the terminal equipment determines that the password needs to be updated, namely the password is the password to be updated, so as to update the password, determines the time to be updated, which is the same as the current time, as the time when the new password is updated, and sets the time which is 30 days away from the time when the new password is updated as the new time to be updated. And by analogy, after the password is set by the user for the first time, determining that the password is the password to be updated every 30 days, updating the password, and realizing the regular updating of the password.
And 102, generating password setting behavior data corresponding to the password to be updated when the password to be updated is detected to exist in the terminal equipment.
Wherein the password setting behavior data comprises: user identification when setting the password, setting time, setting position, identification of a system or application program to which the password belongs, software type and/or hardware type of the terminal equipment.
Alternatively, the password setting behavior data is data related to a setting process of the password.
Optionally, for the password set by the user: the user identifier at the time of setting the password in the password setting behavior data is a user identifier used when the user sets the password. The user identification may be a digital identification. The set time in the password setting behavior data is a time at which the user sets the password. The setting position in the password setting behavior data is a geographical position or an Internet Protocol (IP) address where the terminal device is located when the user sets the password. The geographic location may be a latitude and longitude location. If the password is an unlocking password of the terminal equipment or a starting password of the terminal equipment, the password belongs to an operating system of the terminal equipment, the password setting behavior data comprises an identifier of the system to which the password belongs and a software type, the identifier of the system to which the password belongs is an identifier of the operating system of the terminal equipment, and the software type of the system to which the password belongs is the operating system. If the password is a login password of a social application program in the terminal device, the password belongs to the social application program of the terminal device, the password setting behavior data comprises an identifier of the application program to which the password belongs and a software type, the identifier of the application program to which the password belongs is an identifier of the social application program, and the software type of the application program to which the password belongs is social software. The identification may be a numerical identification and the software type may be represented by various combinations of numbers. Illustratively, the operating system is identified as 10 and the social application is identified as 20. Software type 11 represents that the software type is an operating system, and software type 21 represents that the software type is social software. The hardware type of the terminal device in the password setting behavior data is the hardware type of the terminal device, and can be a mobile phone, a computer or other terminal devices. The hardware type may be represented by various combinations of numbers. Illustratively, the hardware type 12 represents that the hardware type is a mobile phone, and the hardware type 22 represents that the hardware type is a computer.
Optionally, the password setting behavior data corresponding to the password to be updated is data related to a process of generating an update password for replacing the password to be updated. Setting behavior data for the password corresponding to the password to be updated: and the user identification when the password is set in the password setting behavior data is the user identification corresponding to the password to be updated. And the user identification corresponding to the password to be updated is the user identification used when the password to be updated is set. The set time in the password setting behavior data is the current time when the terminal device detects that the password to be updated exists in the terminal device. The setting position in the password setting behavior data is the geographical position or the IP address of the terminal equipment when the terminal equipment detects that the password to be updated exists in the terminal equipment. The identifier and the software type of the system or the application program to which the password to be updated belongs are the identifier and the software type of the system or the application program to which the password belongs in the password setting behavior data corresponding to the password to be updated. If the password to be updated is an unlocking password of the terminal equipment or a starting password of the terminal equipment, the password to be updated belongs to an operating system of the terminal equipment, an identifier of the system to which the password to be updated belongs is an identifier of the operating system of the terminal equipment, and a software type of the system to which the password to be updated belongs is the operating system. The update password is a new unlock password or boot password for replacing the password to be updated. The identifier of the system to which the password in the password setting behavior data belongs is an identifier of an operating system of the terminal device, and the software type of the system to which the password in the password setting behavior data belongs is the operating system. The hardware type of the terminal device in the password setting behavior data is the hardware type of the terminal device, and can be a mobile phone, a computer or other terminal devices.
Optionally, the generating of the password setting behavior data corresponding to the password to be updated includes: acquiring a user identifier corresponding to the password to be updated, and taking the user identifier as the user identifier when the password is set in the password setting behavior data; acquiring current time as set time in the password setting behavior data; acquiring the geographic position or the Internet protocol address of the terminal equipment at the current time as the setting position in the password setting behavior data; acquiring an identifier and a software type of a system or an application program to which the password to be updated belongs, and using the identifier and the software type as the identifier and the software type of the system or the application program to which the password belongs in the password setting behavior data; and acquiring the hardware type of the terminal equipment as the hardware type of the terminal equipment in the password setting behavior data.
And 103, inputting the password setting behavior data into a password recommendation model trained in advance to obtain an updated password.
The input of the password recommendation model is password setting behavior data, and the output of the password recommendation model is a password corresponding to the password setting behavior data.
Optionally, before detecting whether the password to be updated exists in the terminal device according to the preset password update period, the method further includes: collecting passwords set by a set number of users and password setting behavior data corresponding to the passwords, and performing normalization processing on the password setting behavior data corresponding to the passwords; and training a machine learning model by taking each password and the password setting behavior data corresponding to each password after normalization processing as training samples to obtain a password recommendation model.
Therefore, the embodiment of the invention can determine a training sample containing different passwords set by the user and password setting behavior data corresponding to the passwords according to the set number of the passwords set by the user and the password setting behavior data corresponding to the passwords, and can train a password recommendation model for receiving the password setting behavior data and outputting the password corresponding to the password setting behavior data and conforming to the password setting habit of the user.
Optionally, the set number may be set according to a service requirement. Illustratively, the set number is 100.
Optionally, the collecting the passwords set by the user in the set number and the password setting behavior data corresponding to each password includes: displaying data authority inquiry information to a user through an inquiry information display page; the data authority inquiry information is inquiry information used for inquiring whether the user grants a password set for the user for the terminal equipment or not and acquiring authority of password setting behavior data corresponding to the password; after confirming that the user grants a password set by the user and acquisition permission of password setting behavior data corresponding to the password to the terminal equipment according to the interactive operation of the user and the inquiry information display page, acquiring the password set by the user and the password setting behavior data corresponding to the password in the process that the user sets the password for a system or an application program of the terminal equipment until a set number of passwords set by the user and password setting behavior data corresponding to each password are acquired.
Optionally, the terminal device displays an inquiry information display page containing the data permission inquiry information, and displays the data permission inquiry information to the user through the inquiry information display page. The query information presentation page is a page for presenting query information to the user.
Optionally, a confirmation authorization control and a denial authorization control are set in the inquiry information display page. The user can confirm the acquisition permission granted to the password set by the user and the password setting behavior data corresponding to the password for the terminal equipment by clicking the confirmation authorization control. The user can also confirm that the password set by the user and the acquisition permission of the password setting behavior data corresponding to the password are not granted to the terminal equipment by clicking the authorization refusing control.
Optionally, when the user clicks the authorization confirmation control, the terminal device confirms that the user grants the acquisition permission for the password set by the user and the password setting behavior data corresponding to the password to the terminal device, and in the process that the user sets the password for the system or the application program of the terminal device, the password set by the user and the password setting behavior data corresponding to the password are acquired until the set number of passwords set by the user and the password setting behavior data corresponding to each password are acquired.
Optionally, in the process that the user sets a password for a system or an application of the terminal device, acquiring the password set by the user and password setting behavior data corresponding to the password, the method includes: in the process that the user sets a password for a system or an application program of the terminal equipment, the following operations are executed: the terminal equipment uses a mouse and keyboard monitoring system in the terminal equipment to collect a password set by a user and a user identifier used when the user sets the password; the method comprises the steps that the terminal equipment uses a Global Positioning System (GPS) module in the terminal equipment to collect the geographic position of the terminal equipment when a user sets a password; the terminal equipment uses a system clock module in the terminal equipment to acquire the time of setting the password by the user; the terminal equipment collects the identification and the software type of a system to which the password belongs in configuration information associated with the system or an application program; and the terminal equipment collects the hardware type of the terminal equipment in the configuration information of the terminal equipment.
Optionally, the mouse and keyboard monitoring system may be a device or a process in the terminal device for monitoring information or operations input by the user through a mouse and a keyboard of the terminal device, and acquiring information input by the user through the mouse and the keyboard of the terminal device. The GPS module is a module in the terminal equipment for acquiring the geographical position of the terminal equipment in real time. The system clock module in the terminal device is a module that can be used to determine the current time.
Optionally, the method further includes: the terminal equipment uses an IP address management module in the terminal equipment to acquire the IP address of the terminal equipment when the user sets the password. The IP address management module is a module for managing an IP address of the terminal device in the terminal device.
The embodiment of the invention can collect enough passwords which are set by the user aiming at the system or the application program and the password setting behavior data corresponding to the passwords through the terminal equipment on the premise of fully respecting and protecting the personal privacy and the personal information of the user.
Optionally, the normalizing the password setting behavior data corresponding to each password includes: and carrying out normalization processing on various data in the password setting behavior data corresponding to the passwords according to a preset normalization processing rule. Therefore, the order of magnitude of various data in the password setting behavior data corresponding to the passwords is unified through normalization processing, and the influence of order of magnitude difference on the accuracy of the password recommendation model is avoided.
Optionally, the training of the machine learning model by using the passwords and the normalized password setting behavior data corresponding to the passwords as training samples to obtain the password recommendation model includes: dividing training samples formed by the passwords and the password setting behavior data corresponding to the passwords after normalization processing into a training sample set and a test sample set; training a machine learning model by using the training sample set to obtain a password recommendation model; and testing the password recommendation model by using the test sample set to obtain the accuracy of the password recommendation model.
Optionally, the machine learning model includes, but is not limited to, a convolutional neural network model.
Optionally, according to a preset division ratio, a training sample formed by each password and password setting behavior data corresponding to each password after normalization processing is divided into a training sample set and a test sample set.
In one embodiment, the training sample includes 100 passwords, and password setting behavior data corresponding to each password after normalization processing. And dividing 70% of sample data of the training sample, namely 70 passwords and password setting behavior data which are subjected to normalization processing and correspond to each password in the 70 passwords into a training sample set. And dividing 30% of sample data of the training sample, namely 30 passwords and password setting behavior data which are subjected to normalization processing and correspond to each password in the 30 passwords into a test sample set.
Optionally, the testing the password recommendation model by using the test sample set to obtain the accuracy of the password recommendation model includes: inputting the password setting behavior data corresponding to the password after normalization processing into the password recommendation model to obtain the password output by the password recommendation model; calculating the similarity between the password output by the password recommendation model and the password corresponding to the password setting behavior data; after the processing of all password setting behavior data in the test sample set is finished, counting the number of passwords output by the password recommendation model with similarity exceeding a preset similarity threshold, and determining the ratio of the number of the passwords output by the password recommendation model with similarity exceeding the preset similarity threshold to the total number of the password setting behavior data in the test sample set as the accuracy of the password recommendation model.
In one embodiment, the predetermined similarity threshold is 90%. The number of passwords output by the password recommendation model with the similarity exceeding 90% is 27, and the total number of password setting behaviors in the test sample set is 30. And determining the ratio of the number of the passwords output by the password recommendation model with the similarity exceeding a preset similarity threshold to the total number of the password setting behavior data in the test sample set as the accuracy of the password recommendation model, namely the accuracy of the password recommendation model is 0.9.
Therefore, a training sample set and a testing sample set can be determined according to the set number of passwords set by the user and the password setting behavior data corresponding to each password, training out a password recommendation model through the training sample set, testing the trained password recommendation model through the testing sample set, so that when the accuracy of the password recommendation model is more than or equal to the preset accuracy threshold, the password recommendation model can be determined to be used, when the accuracy of the password recommendation model is smaller than a preset accuracy threshold, the password recommendation model is continuously trained, so that the password recommendation model sets behavior data according to the passwords set by the user and the passwords corresponding to the passwords, the password setting habit of the user is learned, and a password which accords with the password setting habit of the user can be quickly and accurately output according to the input password setting behavior data.
Optionally, the update password is a new password for replacing the password to be updated.
Optionally, inputting the password setting behavior data into a password recommendation model trained in advance to obtain an updated password, where the method includes: carrying out normalization processing on the password setting behavior data; inputting the password setting behavior data after normalization processing into a password recommendation model trained in advance to obtain a password which is output by the password recommendation model and corresponds to the password setting behavior data; determining the password as an update password. And carrying out normalization processing on various types of data in the password setting behavior data according to a preset normalization processing rule.
Therefore, in the updating process of the password to be updated, a password which accords with the password setting habit of a user is quickly and accurately determined according to the password setting behavior data corresponding to the password to be updated, and the password is used as the updating password corresponding to the password to be updated.
And 104, displaying the updated password to a user through an updated password display page, and updating the password to be updated into the updated password after the updated password display page obtains a password determination instruction of the user.
Optionally, the update password display page is a page for displaying the update password to the user, and acquiring a further instruction and input information of the user for the update password.
Optionally, a password display area, a password determination control, and a password input area are provided on the update password display page. The password display area is a page area for displaying the password to be updated and the update password for replacing the password to be updated. The password determination control is a control for inputting a password determination instruction. The password determination instruction is an instruction for the user to determine that the update password conforms to the password setting habit of the user, the update password is memorized, and the terminal device can replace the password to be updated with the update password. The password input area is a page area for inputting a custom update password for replacing the password to be updated when the update password does not conform to the password setting habit of the user. The custom update password is an update password set by the user.
Optionally, after the password determination instruction of the user is obtained by the update password display page, updating the password to be updated to the update password includes: and when the user is detected to click a password determining control provided on the updated password display page, confirming the password input determining instruction of the user, and updating the password to be updated into the updated password.
After the user determines that the updated password conforms to the password setting habit of the user, the user memorizes the updated password, and the terminal equipment can replace the password to be updated with the updated password, the user inputs a password determination instruction by clicking a password determination control provided on the updated password display page. And when detecting that the user clicks a password determination control provided on the updated password display page, the terminal equipment confirms the password input determination instruction of the user, updates the password to be updated into the updated password, namely replaces the password to be updated with the updated password.
Optionally, after the update password is displayed to the user through the update password display page, the method further includes: and updating the password to be updated into the custom update password after detecting that the user inputs the custom update password in a password input area provided on the update password display page.
When the update password does not accord with the password setting habit of the user, the user inputs a custom update password in a password input area provided on the update password display page, namely inputs the update password which is set by the user and used for replacing the password to be updated. And after detecting that the user inputs a custom update password in a password input area provided on the update password display page, the terminal equipment updates the password to be updated into the custom update password, namely, the user-set update password is used for replacing the password to be updated.
Therefore, the embodiment of the invention can directly automatically update the password to be updated after the user confirms the update password generated by the terminal equipment based on the password setting habit of the user, and can also automatically update the password to be updated by using the custom update password input by the user when the user selects to update the password to be updated by using the custom update password, so that the user can freely select the update mode of the password to be updated.
Optionally, after the password to be updated is updated to the custom update password, the method further includes: calculating the similarity between the user-defined updating password and the updating password; when the similarity is larger than or equal to a preset similarity threshold, determining that a password recommendation model is in accordance with expectation, and adding the self-defined updating password and password setting behavior data corresponding to the self-defined updating password into a normal sample set; the rule sample set is a set used for storing passwords used for optimizing the password recommendation model and password setting behavior data corresponding to the passwords; and when the similarity is smaller than a preset similarity threshold value, determining that the password recommendation model is not in accordance with expectation, and retraining the password recommendation model.
Optionally, the preset similarity threshold may be set according to a service requirement. And when the similarity between the user-defined updating password and the updating password is greater than or equal to a preset similarity threshold, the user-defined updating password is similar to the updating password output by the model, namely the password output by the password recommendation model conforms to the password setting habit of the user. And when the similarity between the user-defined updating password and the updating password is smaller than a preset similarity threshold, the user-defined updating password is not similar to the updating password output by the model, namely the password output by the password recommendation model does not conform to the password setting habit of the user.
Therefore, the embodiment of the invention can determine whether the password recommendation model is in accordance with expectation according to the similarity between the update password set by the user and the update password output by the model, namely whether the password output by the password recommendation model is in accordance with the password setting habit of the user, can determine that the password output by the password recommendation model is in accordance with the password setting habit of the user when the similarity is more than or equal to the preset similarity threshold, adds the user-defined update password and the password setting behavior data corresponding to the user-defined update password into the positive sample set, is convenient for the terminal equipment to use the positive sample set to optimize the password recommendation model, thereby automatically iterating and optimizing the password recommendation model according to the update password set by the user, and can determine that the password output by the password recommendation model is not in accordance with the password setting habit of the user when the similarity is less than the preset similarity threshold, retraining the password recommendation model to ensure that the password recommendation model can set behavior data according to the input password and quickly and accurately output a password which accords with the password setting habit of the user.
Optionally, after determining that the password recommendation model meets the expectation, the method further includes: and deleting the password storage file used for storing each password in the terminal equipment. The password storage file may include a data cache file (cookie file) in which the password is stored.
Therefore, the embodiment of the invention can only store the password setting behavior data for generating the password without storing the password, thereby avoiding password leakage possibly caused by the password storage file.
Optionally, after it is detected that the user clicks a password determination control provided on the updated password display page, the method further includes: when detecting that the password to be updated cannot be updated to the updated password, displaying password updating prompt information to a user through a prompt information display page; the password updating prompt information is used for prompting a user that the password to be updated cannot be automatically updated, and in order to ensure information safety, the user needs to manually complete the updating of the password to be updated.
Therefore, the embodiment of the invention can prompt the user to manually complete the updating of the password to be updated under the condition that the password to be updated needs to be updated but the automatic updating fails, thereby ensuring the regular updating of the password and protecting the information security of the user.
The embodiment of the invention provides a password updating method, which comprises the steps of detecting whether a password to be updated exists in terminal equipment or not according to a preset password updating period; when detecting that a password to be updated exists in the terminal equipment, generating password setting behavior data corresponding to the password to be updated; inputting password setting behavior data into a password recommendation model trained in advance to obtain an updated password; finally, the updated password is displayed to the user through the updated password display page, after the updated password display page acquires a password determination instruction of the user, the password to be updated is updated into the updated password, whether the password to be updated exists in the terminal equipment can be automatically detected, when the password to be updated exists in the terminal equipment is detected, the updated password for replacing the password to be updated is generated by using the password recommendation model according to the password setting behavior data corresponding to the password to be updated, the updated password is displayed to the user through the updated password display interface so that the user memorizes the updated password, after the updated password display page acquires the password determination instruction of the user, the user determines that the updated password conforms to the password setting habit of the user, the updated password is memorized, and the terminal equipment can replace the password to be updated by using the updated password, the password to be updated is updated to the updated password, so that password setting habits based on users are realized, the password in the terminal equipment is automatically and periodically updated, the password setting operation of the users is simplified, convenience and rapidness are realized, the users can conveniently memorize the password, the password safety can be ensured through automatic and periodic replacement, the password is not easy to crack, and the password leakage possibility is greatly reduced.
The method and the device for setting the password can acquire and process data related to the password setting process based on an artificial intelligence technology. Among them, Artificial Intelligence (AI) is a theory, method, technique and application system that simulates, extends and expands human Intelligence using a digital computer or a machine controlled by a digital computer, senses the environment, acquires knowledge and uses the knowledge to obtain the best result.
The artificial intelligence infrastructure generally includes technologies such as sensors, dedicated artificial intelligence chips, cloud computing, distributed storage, big data processing technologies, operation/interaction systems, mechatronics, and the like.
Example two
Fig. 2 is a flowchart of a password updating method according to a second embodiment of the present invention. Embodiments of the invention may be combined with various alternatives in one or more of the embodiments described above. As shown in fig. 2, the method of the embodiment of the present invention specifically includes:
Wherein the password setting behavior data comprises: user identification when setting the password, setting time, setting position, identification of a system or application program to which the password belongs, software type and/or hardware type of the terminal equipment.
Optionally, the generating of the password setting behavior data corresponding to the password to be updated includes: acquiring a user identifier corresponding to the password to be updated, and taking the user identifier as the user identifier when the password is set in the password setting behavior data; acquiring current time as set time in the password setting behavior data; acquiring the geographic position or the Internet protocol address of the terminal equipment at the current time as the setting position in the password setting behavior data; acquiring an identifier and a software type of a system or an application program to which the password to be updated belongs, and using the identifier and the software type as the identifier and the software type of the system or the application program to which the password belongs in the password setting behavior data; and acquiring the hardware type of the terminal equipment as the hardware type of the terminal equipment in the password setting behavior data.
Optionally, the various data in the password setting behavior data are normalized according to a preset normalization processing rule. Therefore, the order of magnitude of various data in the password setting behavior data is unified through normalization processing, and the influence of order of magnitude difference on the accuracy of the password recommendation model is avoided.
And 203, inputting the password setting behavior data after the normalization processing into a password recommendation model trained in advance to obtain an updated password.
The input of the password recommendation model is password setting behavior data, and the output of the password recommendation model is a password corresponding to the password setting behavior data.
Optionally, the password setting behavior data after the normalization processing is input into a password recommendation model trained in advance, and a password output by the password recommendation model and corresponding to the password setting behavior data is obtained; determining the password as an update password.
And step 204, displaying the updated password to the user through the updated password display page.
Optionally, the update password display page is a page for displaying the update password to the user, and acquiring a further instruction and input information of the user for the update password. And updating a password display area, a password determination control and a password input area which are provided on the password display page.
Optionally, the password display area is a page area for displaying the password to be updated and the update password for replacing the password to be updated. The password determination control is a control for inputting a password determination instruction. The password determination instruction is an instruction for the user to determine that the update password conforms to the password setting habit of the user, the update password is memorized, and the terminal device can replace the password to be updated with the update password. The password input area is a page area for inputting a custom update password for replacing the password to be updated when the update password does not conform to the password setting habit of the user. The custom update password is an update password set by the user.
Optionally, after determining that the update password conforms to the password setting habit of the user and remembers the update password, the terminal device may replace the password to be updated with the update password, and then input a password determination instruction by clicking a password determination control provided on the update password display page. And when detecting that the user clicks a password determination control provided on the updated password display page, the terminal equipment confirms the password input determination instruction of the user, updates the password to be updated into the updated password, namely replaces the password to be updated with the updated password.
Optionally, after the update password is displayed to the user through the update password display page, the method further includes: and updating the password to be updated into the custom update password after detecting that the user inputs the custom update password in a password input area provided on the update password display page.
The embodiment of the invention provides a password updating method, wherein in the updating process of a password to be updated, a password recommendation model trained in advance can be used, a password conforming to the password setting habit of a user is quickly and accurately determined according to password setting behavior data corresponding to the password to be updated, and the password is used as an updating password for replacing the password to be updated, so that the password to be updated can be directly and automatically updated after the user confirms the updating password generated by terminal equipment based on the password setting habit of the user.
EXAMPLE III
Fig. 3 is a schematic structural diagram of a password updating apparatus according to a third embodiment of the present invention. As shown in fig. 3, the apparatus includes: an update cycle detection module 301, a behavior data generation module 302, an update password generation module 303, and a password update module 304.
The update cycle detection module 301 is configured to detect whether a password to be updated exists in the terminal device according to a preset password update cycle; a behavior data generating module 302, configured to generate password setting behavior data corresponding to the password to be updated when it is detected that the password to be updated exists in the terminal device; wherein the password setting behavior data comprises: user identification, setting time, setting position, identification of a system or application program to which the password belongs, software type and/or hardware type of the terminal equipment when the password is set; an updated password generation module 303, configured to input the password setting behavior data to a password recommendation model trained in advance, so as to obtain an updated password; the input of the password recommendation model is password setting behavior data, and the output of the password recommendation model is a password corresponding to the password setting behavior data; the password updating module 304 is configured to display the updated password to the user through an updated password display page, and update the password to be updated to the updated password after the updated password display page obtains the password determination instruction of the user.
The embodiment of the invention provides a password updating device, which detects whether a password to be updated exists in terminal equipment or not according to a preset password updating period; when detecting that a password to be updated exists in the terminal equipment, generating password setting behavior data corresponding to the password to be updated; inputting password setting behavior data into a password recommendation model trained in advance to obtain an updated password; finally, the updated password is displayed to the user through the updated password display page, after the updated password display page acquires a password determination instruction of the user, the password to be updated is updated into the updated password, whether the password to be updated exists in the terminal equipment can be automatically detected, when the password to be updated exists in the terminal equipment is detected, the updated password for replacing the password to be updated is generated by using the password recommendation model according to the password setting behavior data corresponding to the password to be updated, the updated password is displayed to the user through the updated password display interface so that the user memorizes the updated password, after the updated password display page acquires the password determination instruction of the user, the user determines that the updated password conforms to the password setting habit of the user, the updated password is memorized, and the terminal equipment can replace the password to be updated by using the updated password, the password to be updated is updated to the updated password, so that password setting habits based on users are realized, the password in the terminal equipment is automatically and periodically updated, the password setting operation of the users is simplified, convenience and rapidness are realized, the users can conveniently memorize the password, the password safety can be ensured through automatic and periodic replacement, the password is not easy to crack, and the password leakage possibility is greatly reduced.
In an optional implementation manner of the embodiment of the present invention, optionally, when the behavior data generation module 302 executes an operation of generating the password setting behavior data corresponding to the password to be updated, specifically, the operation is to: acquiring a user identifier corresponding to the password to be updated, and taking the user identifier as the user identifier when the password is set in the password setting behavior data; acquiring current time as set time in the password setting behavior data; acquiring the geographic position or the Internet protocol address of the terminal equipment at the current time as the setting position in the password setting behavior data; acquiring an identifier and a software type of a system or an application program to which the password to be updated belongs, and using the identifier and the software type as the identifier and the software type of the system or the application program to which the password belongs in the password setting behavior data; and acquiring the hardware type of the terminal equipment as the hardware type of the terminal equipment in the password setting behavior data of the updated password.
In an optional implementation manner of the embodiment of the present invention, optionally, the password updating apparatus further includes: the sample acquisition module is used for acquiring the passwords set by a set number of users and password setting behavior data corresponding to the passwords and carrying out normalization processing on the password setting behavior data corresponding to the passwords; and the model training module is used for training the machine learning model by taking the passwords and the password setting behavior data which are subjected to the normalization processing and correspond to the passwords as training samples to obtain a password recommendation model.
In an optional implementation manner of the embodiment of the present invention, optionally, the sample collection module is specifically configured to: displaying data authority inquiry information to a user through an inquiry information display page; the data authority inquiry information is inquiry information used for inquiring whether the user grants a password set for the user for the terminal equipment or not and acquiring authority of password setting behavior data corresponding to the password; after confirming that the user grants a password set by the user and acquisition permission of password setting behavior data corresponding to the password to the terminal equipment according to the interactive operation of the user and the inquiry information display page, acquiring the password set by the user and the password setting behavior data corresponding to the password in the process that the user sets the password for a system or an application program of the terminal equipment until a set number of passwords set by the user and password setting behavior data corresponding to each password are acquired.
In an optional implementation manner of the embodiment of the present invention, optionally, the model training module is specifically configured to: dividing training samples formed by the passwords and the password setting behavior data corresponding to the passwords after normalization processing into a training sample set and a test sample set; training a machine learning model by using the training sample set to obtain a password recommendation model; and testing the password recommendation model by using the test sample set to obtain the accuracy of the password recommendation model.
In an optional implementation manner of the embodiment of the present invention, optionally, when the password updating module 304 performs an operation of updating the password to be updated to the updated password after the password determination instruction of the user is obtained on the updated password display page, specifically, the operation is to: and when the user is detected to click a password determining control provided on the updated password display page, confirming the password input determining instruction of the user, and updating the password to be updated into the updated password.
In an optional implementation manner of the embodiment of the present invention, optionally, the password updating module 304 is further configured to: and updating the password to be updated into the custom update password after detecting that the user inputs the custom update password in a password input area provided on the update password display page.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
The password updating device can execute the password updating method provided by any embodiment of the invention, and has the corresponding functional modules and beneficial effects of executing the password updating method.
Example four
Fig. 4 is a schematic structural diagram of a terminal device according to a fourth embodiment of the present invention. Fig. 4 shows a block diagram of an exemplary terminal device 12 suitable for implementing embodiments of the present invention. The terminal device 12 shown in fig. 4 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiment of the present invention.
As shown in fig. 4, terminal device 12 is in the form of a general purpose computing device. The components of terminal device 12 may include, but are not limited to: one or more processors 16, a memory 28, and a bus 18 connecting the various business system components (including the memory 28 and the processors 16).
Bus 18 represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, and a processor or local bus using any of a variety of bus architectures. By way of example, such architectures include, but are not limited to, Industry Standard Architecture (ISA) bus, micro-channel architecture (MAC) bus, enhanced ISA bus, Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus.
The memory 28 may include computer system readable media in the form of volatile memory, such as Random Access Memory (RAM)30 and/or cache memory 32. Terminal device 12 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 34 may be used to read from and write to non-removable, nonvolatile magnetic media (not shown in FIG. 4, and commonly referred to as a "hard drive"). Although not shown in FIG. 4, a magnetic disk drive for reading from and writing to a removable, nonvolatile magnetic disk (e.g., a "floppy disk") and an optical disk drive for reading from or writing to a removable, nonvolatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to bus 18 by one or more data media interfaces. Memory 28 may include at least one program product having a set (e.g., at least one) of program modules that are configured to carry out the functions of embodiments of the invention.
A program/utility 40 having a set (at least one) of program modules 42 may be stored, for example, in memory 28, such program modules 42 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which examples or some combination thereof may comprise an implementation of a network environment. Program modules 42 generally carry out the functions and/or methodologies of the described embodiments of the invention.
The processor 16 executes various functional applications and data processing by running the program stored in the memory 28, so as to implement the password updating method provided by the embodiment of the present invention: detecting whether a password to be updated exists in the terminal equipment or not according to a preset password updating period; when the password to be updated exists in the terminal equipment, generating password setting behavior data corresponding to the password to be updated; wherein the password setting behavior data comprises: user identification, setting time, setting position, identification of a system or application program to which the password belongs, software type and/or hardware type of the terminal equipment when the password is set; inputting the password setting behavior data into a password recommendation model trained in advance to obtain an updated password; the input of the password recommendation model is password setting behavior data, and the output of the password recommendation model is a password corresponding to the password setting behavior data; and displaying the updated password to a user through an updated password display page, and updating the password to be updated into the updated password after the updated password display page obtains the password determination instruction of the user.
EXAMPLE five
Fifth embodiment of the present invention provides a computer-readable storage medium, where a computer program is stored, and when the computer program is executed by a processor, the method for updating a password provided in the fifth embodiment of the present invention is implemented: detecting whether a password to be updated exists in the terminal equipment or not according to a preset password updating period; when the password to be updated exists in the terminal equipment, generating password setting behavior data corresponding to the password to be updated; wherein the password setting behavior data comprises: user identification, setting time, setting position, identification of a system or application program to which the password belongs, software type and/or hardware type of the terminal equipment when the password is set; inputting the password setting behavior data into a password recommendation model trained in advance to obtain an updated password; the input of the password recommendation model is password setting behavior data, and the output of the password recommendation model is a password corresponding to the password setting behavior data; and displaying the updated password to a user through an updated password display page, and updating the password to be updated into the updated password after the updated password display page obtains the password determination instruction of the user.
Any combination of one or more computer-readable media may be employed. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. 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 (a non-exhaustive list) of the computer readable storage medium would include the following: 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 context of this document, 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.
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, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.
Claims (10)
1. A password update method, comprising:
detecting whether a password to be updated exists in the terminal equipment or not according to a preset password updating period;
when the password to be updated exists in the terminal equipment, generating password setting behavior data corresponding to the password to be updated; wherein the password setting behavior data comprises: user identification, setting time, setting position, identification of a system or application program to which the password belongs, software type and/or hardware type of the terminal equipment when the password is set;
inputting the password setting behavior data into a password recommendation model trained in advance to obtain an updated password; the input of the password recommendation model is password setting behavior data, and the output of the password recommendation model is a password corresponding to the password setting behavior data;
and displaying the updated password to a user through an updated password display page, and updating the password to be updated into the updated password after the updated password display page obtains the password determination instruction of the user.
2. The method according to claim 1, wherein the generating of the password setting behavior data corresponding to the password to be updated comprises:
acquiring a user identifier corresponding to the password to be updated, and taking the user identifier as the user identifier when the password is set in the password setting behavior data;
acquiring current time as set time in the password setting behavior data;
acquiring the geographic position or the Internet protocol address of the terminal equipment at the current time as the setting position in the password setting behavior data;
acquiring an identifier and a software type of a system or an application program to which the password to be updated belongs, and using the identifier and the software type as the identifier and the software type of the system or the application program to which the password belongs in the password setting behavior data;
and acquiring the hardware type of the terminal equipment as the hardware type of the terminal equipment in the password setting behavior data.
3. The method according to claim 1, before detecting whether the password to be updated exists in the terminal device according to a preset password updating period, further comprising:
collecting passwords set by a set number of users and password setting behavior data corresponding to the passwords, and performing normalization processing on the password setting behavior data corresponding to the passwords;
and training a machine learning model by taking each password and the password setting behavior data corresponding to each password after normalization processing as training samples to obtain a password recommendation model.
4. The method of claim 3, wherein collecting a set number of user-set passwords and password-set behavior data corresponding to each of the passwords comprises:
displaying data authority inquiry information to a user through an inquiry information display page;
the data authority inquiry information is inquiry information used for inquiring whether the user grants a password set for the user for the terminal equipment or not and acquiring authority of password setting behavior data corresponding to the password;
after confirming that the user grants a password set by the user and acquisition permission of password setting behavior data corresponding to the password to the terminal equipment according to the interactive operation of the user and the inquiry information display page, acquiring the password set by the user and the password setting behavior data corresponding to the password in the process that the user sets the password for a system or an application program of the terminal equipment until a set number of passwords set by the user and password setting behavior data corresponding to each password are acquired.
5. The method according to claim 3, wherein the training a machine learning model by using each password and the password setting behavior data corresponding to each password after the normalization processing as training samples to obtain a password recommendation model comprises:
dividing training samples formed by the passwords and the password setting behavior data corresponding to the passwords after normalization processing into a training sample set and a test sample set;
training a machine learning model by using the training sample set to obtain a password recommendation model;
and testing the password recommendation model by using the test sample set to obtain the accuracy of the password recommendation model.
6. The method according to claim 1, wherein the updating the password to be updated to the update password after the update password display page obtains the password determination instruction of the user includes:
and when the user is detected to click a password determining control provided on the updated password display page, confirming the password input determining instruction of the user, and updating the password to be updated into the updated password.
7. The method of claim 1, after presenting the updated password to the user via an updated password presentation page, further comprising:
and updating the password to be updated into the custom update password after detecting that the user inputs the custom update password in a password input area provided on the update password display page.
8. A password updating apparatus, comprising:
the updating period detection module is used for detecting whether the password to be updated exists in the terminal equipment or not according to the preset password updating period;
the behavior data generation module is used for generating password setting behavior data corresponding to the password to be updated when the password to be updated is detected to exist in the terminal equipment; wherein the password setting behavior data comprises: user identification, setting time, setting position, identification of a system or application program to which the password belongs, software type and/or hardware type of the terminal equipment when the password is set;
the password updating module is used for inputting the password setting behavior data to a password recommendation model trained in advance to obtain an updated password; the input of the password recommendation model is password setting behavior data, and the output of the password recommendation model is a password corresponding to the password setting behavior data;
and the password updating module is used for displaying the updated password to the user through an updated password display page, and updating the password to be updated into the updated password after the password determining instruction of the user is acquired by the updated password display page.
9. A terminal device, characterized in that the terminal device comprises:
one or more processors;
storage means for storing one or more computer programs;
the one or more computer programs, when executed by the one or more processors, cause the one or more processors to perform the method of updating a password of any of claims 1-7.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the password updating method as claimed in any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111044237.6A CN113792286A (en) | 2021-09-07 | 2021-09-07 | Password updating method, device, equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111044237.6A CN113792286A (en) | 2021-09-07 | 2021-09-07 | Password updating method, device, equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN113792286A true CN113792286A (en) | 2021-12-14 |
Family
ID=78879687
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111044237.6A Pending CN113792286A (en) | 2021-09-07 | 2021-09-07 | Password updating method, device, equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113792286A (en) |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102750486A (en) * | 2012-06-29 | 2012-10-24 | 奇智软件(北京)有限公司 | Method and device for updating login information by login control |
CN104657865A (en) * | 2013-11-22 | 2015-05-27 | 郭俭 | Anti-counterfeiting code verification method and system |
CN105844126A (en) * | 2016-03-16 | 2016-08-10 | 成都信息工程大学 | Automatic identification method of intelligent electronic device user |
CN107292160A (en) * | 2017-06-21 | 2017-10-24 | 福建中金在线信息科技有限公司 | The update method of account number cipher, more new system, electronic equipment and storage medium |
CN111176646A (en) * | 2019-12-31 | 2020-05-19 | 清华大学 | Generation method and device of emergency plan web page |
CN111783055A (en) * | 2020-06-30 | 2020-10-16 | 维沃移动通信有限公司 | Account information management method and device and electronic equipment |
CN112534431A (en) * | 2018-07-31 | 2021-03-19 | 微软技术许可有限责任公司 | Increasing security of cryptographically protected resources based on publicly available data |
CN112560015A (en) * | 2020-12-17 | 2021-03-26 | 北京百度网讯科技有限公司 | Password updating method, device, equipment and storage medium of electronic equipment |
CN112613027A (en) * | 2020-12-16 | 2021-04-06 | 广州岸边网络科技有限公司 | Multi-password management method, equipment and storage medium based on machine learning |
-
2021
- 2021-09-07 CN CN202111044237.6A patent/CN113792286A/en active Pending
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102750486A (en) * | 2012-06-29 | 2012-10-24 | 奇智软件(北京)有限公司 | Method and device for updating login information by login control |
CN104657865A (en) * | 2013-11-22 | 2015-05-27 | 郭俭 | Anti-counterfeiting code verification method and system |
CN105844126A (en) * | 2016-03-16 | 2016-08-10 | 成都信息工程大学 | Automatic identification method of intelligent electronic device user |
CN107292160A (en) * | 2017-06-21 | 2017-10-24 | 福建中金在线信息科技有限公司 | The update method of account number cipher, more new system, electronic equipment and storage medium |
CN112534431A (en) * | 2018-07-31 | 2021-03-19 | 微软技术许可有限责任公司 | Increasing security of cryptographically protected resources based on publicly available data |
CN111176646A (en) * | 2019-12-31 | 2020-05-19 | 清华大学 | Generation method and device of emergency plan web page |
CN111783055A (en) * | 2020-06-30 | 2020-10-16 | 维沃移动通信有限公司 | Account information management method and device and electronic equipment |
CN112613027A (en) * | 2020-12-16 | 2021-04-06 | 广州岸边网络科技有限公司 | Multi-password management method, equipment and storage medium based on machine learning |
CN112560015A (en) * | 2020-12-17 | 2021-03-26 | 北京百度网讯科技有限公司 | Password updating method, device, equipment and storage medium of electronic equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN114513353B (en) | Remote use of locally stored biometric authentication data | |
TWI733217B (en) | Push and display method, device and equipment of login method | |
US10740411B2 (en) | Determining repeat website users via browser uniqueness tracking | |
US20180173883A1 (en) | System for secure context-aware password management | |
CN106485261B (en) | Image recognition method and device | |
CN112737825B (en) | Log-based network device association method, system, device and storage medium | |
CN110336838B (en) | Account abnormity detection method, device, terminal and storage medium | |
EP3396558A1 (en) | Method for user identifier processing, terminal and nonvolatile computer readable storage medium thereof | |
CN110084053A (en) | Data desensitization method, device, electronic equipment and storage medium | |
CN110674360A (en) | Method and system for constructing data association graph and tracing data | |
CN112860706A (en) | Service processing method, device, equipment and storage medium | |
CN113076358A (en) | Report generation method, device, equipment and storage medium | |
CN115204733A (en) | Data auditing method and device, electronic equipment and storage medium | |
CN110730207A (en) | Location identification method, device, equipment and storage medium based on location service | |
CN113792138A (en) | Report generation method and device, electronic equipment and storage medium | |
CN112417406A (en) | Data desensitization method and device, readable storage medium and electronic equipment | |
CN113792286A (en) | Password updating method, device, equipment and storage medium | |
CN110162982A (en) | Detect method and device, the storage medium, electronic equipment of illegal permission | |
CN113515413B (en) | Data management method and device, electronic equipment and storage medium | |
CN115571533A (en) | Confidential archive storage management method, device, equipment and readable storage medium | |
CN114238148A (en) | Business system login test method, device, equipment and medium | |
CN115061916A (en) | Method for automatically generating interface test case and related equipment thereof | |
CN114625700A (en) | Authority-based file display method, device, equipment and storage medium | |
CN112905635A (en) | Service processing method, device, equipment and storage medium | |
CN108280139B (en) | POI data processing method, device, equipment and computer readable storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |