CN111984961B - Password resetting system, method, device, equipment and storage medium - Google Patents

Password resetting system, method, device, equipment and storage medium Download PDF

Info

Publication number
CN111984961B
CN111984961B CN202010904900.4A CN202010904900A CN111984961B CN 111984961 B CN111984961 B CN 111984961B CN 202010904900 A CN202010904900 A CN 202010904900A CN 111984961 B CN111984961 B CN 111984961B
Authority
CN
China
Prior art keywords
password
reset
verification code
resetting
sub
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010904900.4A
Other languages
Chinese (zh)
Other versions
CN111984961A (en
Inventor
周明
郑伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou Hikvision Digital Technology Co Ltd
Original Assignee
Hangzhou Hikvision Digital Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou Hikvision Digital Technology Co Ltd filed Critical Hangzhou Hikvision Digital Technology Co Ltd
Priority to CN202010904900.4A priority Critical patent/CN111984961B/en
Publication of CN111984961A publication Critical patent/CN111984961A/en
Application granted granted Critical
Publication of CN111984961B publication Critical patent/CN111984961B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/44Program or device authentication
    • G06F21/445Program or device authentication by mutual authentication, e.g. between devices or programs
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/45Structures or tools for the administration of authentication
    • G06F21/46Structures or tools for the administration of authentication by designing passwords or checking the strength of passwords

Abstract

The embodiment of the application provides a password resetting system, a password resetting method, a password resetting device, password resetting equipment and a password resetting storage medium, and relates to the technical field of information processing, wherein the password resetting system comprises main equipment and sub-equipment; the master device is used for sending a request for acquiring password resetting application information to the child device after determining that the child device needs to be password reset; the sub-equipment is used for generating password resetting application information after receiving the request and sending the password resetting application information to the main equipment; the main equipment is used for displaying the password resetting application information according to a preset display mode so that the user terminal acquires an image of the password resetting application information and obtains a first resetting verification code corresponding to the password resetting application information according to the image; obtaining a first reset verification code and sending the reset verification code to the sub-equipment; the sub-device is used for resetting the password under the condition that the received first reset verification code is verified to be valid. By applying the scheme provided by the embodiment of the application, the convenience of password resetting can be improved.

Description

Password resetting system, method, device, equipment and storage medium
Technical Field
The present application relates to the field of information processing technologies, and in particular, to a password resetting system, method, apparatus, device, and storage medium.
Background
In some current application scenarios, a master device and a slave device may work together, where the slave device needs to access the master device. For example, the main device may be an NVR (Network Video Recorder ), the sub device may be an IPC (IP Camera), and the IPC may store the collected video to the NVR after accessing the NVR.
When the sub-equipment is accessed to the main equipment, the main equipment needs to carry out identity authentication on the sub-equipment through a user name and a password corresponding to the sub-equipment, and the sub-equipment is allowed to be accessed to the main equipment under the condition that the identity authentication is passed. In the actual use process, a situation that the user forgets the password of the sub-device may occur, and in this case, the password of the sub-device needs to be reset.
When the password is reset in the prior art, a worker is generally required to manually operate a password reset button arranged on the sub-equipment to reset the password. Since the child device may be installed at a higher location, or at a remote location, it is inconvenient to reset the password in the above manner.
Disclosure of Invention
The embodiment of the application aims to provide a password resetting system, a password resetting method, a password resetting device, password resetting equipment and a password storage medium, so that convenience in password resetting is improved. The specific technical scheme is as follows:
in a first aspect, an embodiment of the present application provides a password resetting system, where the system includes a main device and a sub device;
the main equipment is used for sending a request for acquiring password resetting application information to the sub-equipment after determining that the sub-equipment needs to be password reset;
the sub-equipment is used for generating password resetting application information after receiving the request and sending the password resetting application information to the main equipment;
the main equipment is used for displaying the password resetting application information according to a preset display mode so that the user terminal acquires an image of the password resetting application information and obtains a first resetting verification code corresponding to the password resetting application information according to the image; obtaining a first reset verification code and sending the first reset verification code to the sub-equipment;
and the sub device is used for resetting the password under the condition that the received first reset verification code is verified to be valid.
Optionally, the sub-device is specifically configured to send a password reset notification to the master device when the received first reset verification code is verified to be valid;
The main equipment is also used for obtaining a new password of the sub-equipment after receiving the password reset notification and sending the new password to the sub-equipment;
the sub-device is also used for updating the locally recorded password by adopting the received new password.
Optionally, the system further comprises: a password recovery server;
the sub-equipment is specifically used for generating a second reset verification code after receiving the request, encrypting the second reset verification code and generating password reset application information according to the encrypted second reset verification code;
the password recovery server is used for obtaining the image acquired by the user terminal, analyzing the image to obtain an analysis result, decrypting the encrypted verification code in the analysis result to obtain a first reset verification code, and sending the first reset verification code to the user terminal.
Optionally, the sub-device is specifically configured to generate a password reset application message including device information of the sub-device and the encrypted second reset verification code;
the password recovery server is specifically configured to decrypt the encrypted verification code in the analysis result to obtain a first reset verification code when the device information in the analysis result is valid.
Optionally, the password recovery server is specifically configured to determine whether a user corresponding to the user terminal is a registered user of the password recovery server, and if so, obtain an image acquired by the user terminal.
Optionally, the sub-device is further configured to compare the first reset verification code with the second reset verification code, and determine that the first reset verification code is valid when the first reset verification code is consistent with the second reset verification code.
Optionally, the master device is specifically configured to generate a two-dimensional code including password reset application information, and display the two-dimensional code.
In a second aspect, an embodiment of the present application further provides a password resetting method, which is applied to a master device in a password resetting system, where the password resetting system further includes a slave device, and the method includes:
after determining that the password is required to be reset, sending a request for acquiring password reset application information to the child equipment;
receiving password resetting application information sent by the sub-equipment;
displaying password resetting application information according to a preset display mode, so that a user terminal acquires an image of the password resetting application information and obtains a first resetting verification code corresponding to the password resetting application information according to the image;
obtaining a first reset verification code, and sending the first reset verification code to the sub-equipment, so that the sub-equipment resets the password under the condition of verifying that the received first reset verification code is valid.
Optionally, the password resetting method further includes:
Receiving a password reset notification sent by the sub-device under the condition that the received first reset verification code is verified to be valid;
and obtaining the new password of the sub-equipment, and sending the new password to the sub-equipment so that the sub-equipment can update the locally recorded password by adopting the received new password.
Optionally, displaying the password reset application information according to a preset display mode, so that the user terminal collects an image of the password reset application information and obtains a first reset verification code corresponding to the password reset application information according to the image, where the first reset verification code comprises:
displaying the two-dimensional code containing the password resetting application information, so that the user terminal acquires the image of the two-dimensional code of the password resetting application information, and obtaining a first resetting verification code corresponding to the password resetting application information according to the image.
In a third aspect, an embodiment of the present application further provides a password resetting apparatus, which is applied to a master device in a password resetting system, where the password resetting system further includes a slave device, and the apparatus includes:
the request sending module is used for sending a request for acquiring password resetting application information to the child equipment after determining that the child equipment needs to be password reset;
the information receiving module is used for receiving password resetting application information sent by the sub-equipment;
The information display module is used for displaying the password resetting application information according to a preset display mode so that the user terminal acquires an image of the password resetting application information and obtains a first resetting verification code corresponding to the password resetting application information according to the image;
the password resetting module is used for obtaining the first resetting verification code and sending the first resetting verification code to the sub-equipment so that the sub-equipment can carry out password resetting under the condition that the received first resetting verification code is verified to be effective.
Optionally, the password resetting device further includes:
the notification receiving module is used for receiving a password reset notification sent by the sub-equipment under the condition that the received first reset verification code is verified to be valid;
and the password updating module is used for obtaining the new password of the sub-equipment and sending the new password to the sub-equipment so that the sub-equipment can update the locally recorded password by adopting the received new password.
Optionally, the information display module includes:
the two-dimensional code display sub-module is used for displaying the two-dimensional code containing the password resetting application information, so that the user terminal acquires the image of the two-dimensional code of the password resetting application information and obtains a first resetting verification code corresponding to the password resetting application information according to the image.
In a fourth aspect, an embodiment of the present application further provides an electronic device, including a processor, a communication interface, a memory, and a communication bus, where the processor, the communication interface, and the memory complete communication with each other through the communication bus;
a memory for storing a computer program;
and the processor is used for realizing any password resetting method when executing the computer program stored in the memory.
In a fifth aspect, an embodiment of the present application further provides a computer readable storage medium, where a computer program is stored, where the computer program when executed by a processor implements any one of the above password resetting methods.
In a sixth aspect, embodiments of the present application also provide a computer program product comprising instructions which, when run on a computer, cause the computer to perform any of the above-described password resetting methods.
The embodiment of the application has the beneficial effects that:
when the scheme provided by the embodiment of the application is applied to password resetting, after the main equipment determines that the sub-equipment needs to be password reset, a request for acquiring password resetting application information is sent to the sub-equipment; after receiving the request, the sub-equipment generates password resetting application information and sends the password resetting application information to the main equipment; the method comprises the steps that a main device displays password resetting application information according to a preset display mode, so that a user terminal collects images of the password resetting application information and obtains a first resetting verification code corresponding to the password resetting application information according to the images; obtaining a first reset verification code and sending the reset verification code to the sub-equipment; and the sub-equipment resets the password under the condition of verifying that the received first reset verification code is valid.
From the above password resetting process, the user collects the password resetting application information displayed by the main device through the user terminal, so that the main device and the sub-device can be assisted to complete password resetting, the user does not need to arrive at the installation position of the sub-device, and the user does not need to manually operate the password resetting button arranged on the sub-device, so that convenience in password resetting of the sub-device by the user is improved, and user experience is improved.
Of course, it is not necessary for any one product or method of practicing the application to achieve all of the advantages set forth above at the same time.
Drawings
In order to more clearly illustrate the embodiments of the application or the technical solutions in the prior art, the drawings that are necessary for the description of the embodiments or the prior art will be briefly described, it being obvious that the drawings in the following description are only some embodiments of the application and that other embodiments may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic diagram of a password resetting system according to an embodiment of the present application;
FIG. 2 is a schematic diagram of another configuration of a password resetting system according to an embodiment of the present application;
FIG. 3 is a schematic diagram of an interaction flow of a password resetting system according to an embodiment of the present application;
FIG. 4 is a flowchart of a password resetting method according to an embodiment of the present application;
FIG. 5 is a schematic flow chart of a password resetting device according to an embodiment of the application;
fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present application, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
In order to improve convenience in password resetting, the embodiment of the application provides a password resetting system, a password resetting method, a password resetting device, password resetting equipment and a password resetting storage medium.
In one embodiment of the present application, the system includes: a main device and a sub device;
the main equipment is used for sending a request for acquiring password resetting application information to the sub-equipment after determining that the sub-equipment needs to be password reset;
The sub-equipment is used for generating password resetting application information after receiving the request and sending the password resetting application information to the main equipment;
the main equipment is used for displaying the password resetting application information according to a preset display mode so that the user terminal acquires an image of the password resetting application information and obtains a first resetting verification code corresponding to the password resetting application information according to the image; obtaining a first reset verification code and sending the reset verification code to the sub-equipment;
and the sub device is used for resetting the password under the condition that the received first reset verification code is verified to be valid.
When the scheme provided by the embodiment of the application is applied to password resetting, a user can assist the main equipment and the sub-equipment to finish password resetting by collecting password resetting application information displayed by the main equipment through the user terminal, the user does not need to drive to the installation position of the sub-equipment, and the user does not need to manually operate a password resetting button arranged on the sub-equipment, so that the convenience of the user in password resetting of the sub-equipment is improved, and the user experience is improved.
The following describes in detail a password resetting system, a method, an apparatus, a device and a storage medium according to embodiments of the present application through specific embodiments.
An application scenario of the embodiment of the present application is first described. When the sub-equipment is accessed to the main equipment, the main equipment needs to carry out identity authentication on the sub-equipment according to the user name and the password of the sub-equipment, and the sub-equipment is allowed to be accessed to the main equipment after the identity authentication is passed. Password resetting of the child device may be required for reasons such as the user may forget the password of the child device. In this case, the user may first log into the master device, and in case of successful login, the user may input a user name and a password of the child device in a user interface of the master device to request that the child device be accessed to the master device. And then the main equipment sends the user name and the password input by the user to the sub equipment for verification, and when the sub equipment fails to verify the received user name and the password, the sub equipment sends a password error notification to the main equipment. The host device presents the received password error notification to the user via a user interface where the user may select to reset the password.
For example, the master device is NVR and the child device is IPC. When the user performs the operation of accessing the IPC into the NVR, the user logs in the NVR first, then inputs the user name and the password of the IPC in the IPC access interface of the NVR, and then sends the user name and the password of the IPC input by the user to the IPC for verification. And the IPC compares the received user name and password input by the user with the user name and password stored locally, and if the user name and password are inconsistent with the user name and password, the IPC sends a password error notification to the NVR. The NVR presents the received password error notification to the user through the user interface, while the NVR provides the user with a password reset option. When the user selects to reset the password, the password can be reset through the scheme provided by the embodiment of the application.
Referring to fig. 1, fig. 1 is a schematic structural diagram of a password resetting system according to an embodiment of the present application, where the system includes: a main device 101 and a sub device 102. The system may include one sub-device 102 or may include multiple sub-devices 102.
The master device 101 is configured to send a request for acquiring password reset application information to the child device 102 after determining that the child device 102 needs to perform password reset.
The main device 101 and the sub device 102 may be two devices that work in cooperation with each other, the sub device 102 may access the main device 101, for example, the main device 101 may be NVR, and the sub device 102 may be IPC.
Specifically, the master device 101 may determine whether a password reset is required for the slave device 102 in a number of ways. For example, the user selects a reset password at the login interface of the child device 102 in the master device 101, in which case the need for password resetting of the child device 102 may be considered. The master device 101 may also determine whether the sub-device 102 needs to be password reset according to the operation behavior of the user, for example, when the master device 101 detects that the user inputs the password of the sub-device 102 three times in succession, it may determine that the sub-device 102 needs to be password reset.
In one embodiment of the present application, upon password resetting of the child device 102, it is necessary to first determine that the user has successfully logged into the master device 101. If the user cannot log into the master device 101, the user may be considered to have no authority to apply for resetting the password for the child device 102, and thus may refuse to continue with the password resetting for the child device 102. In this way, when the password is reset for the sub-device 102, the authority of the user is verified first, so that the security of password reset can be improved.
In addition, there is network communication between the main device 101 and the sub device 102, and the network communication may be performed through a wired network or through a wireless network. The request for obtaining the password reset application information may be a request information requesting the sub-device 102 to perform the password reset, and when the sub-device 102 receives the request, it may be determined that the password reset application information should be generated.
The sub device 102 is configured to generate password reset application information after receiving the request, and send the password reset application information to the main device 101.
In one embodiment of the present application, the password reset application information generated by the sub-device 102 may be information obtained by encrypting with a preset encryption algorithm. The encryption algorithm may be various types of encryption algorithms, such as an encryption algorithm of AES (Advanced Encryption Standard ) or the like.
Specifically, when the sub-device 102 generates the password reset application information, a set of verification codes may be obtained first, and then the set of verification codes is encrypted by using the preset encryption algorithm to obtain the password reset application information. In another embodiment of the present application, the password reset application information may further include device information of the child device 102, in addition to the information related to the verification code. For example, the device information may be a device serial number, a device model number, and the like.
In one embodiment of the present application, the password resetting application information may be file type information, for example, after the child device 102 receives the request, the child device 102 randomly generates a set of verification codes, encrypts the verification codes, packages the verification codes together with the serial number and the device model of the child device 102, and uses the packaged file as the password resetting application information. The password resetting application information may also be a string, for example, after receiving the request, the child device 102 randomly generates a set of verification codes, encrypts the verification codes, and uses the string obtained after encryption as the password resetting application information.
The main device 101 is configured to display password reset application information according to a preset display manner, so that the user terminal acquires an image of the password reset application information and obtains a first reset verification code corresponding to the password reset application information according to the image; obtain the first reset verification code and send the first reset verification code to the child device 102.
The user terminal may be a device having an image capturing function, for example, a mobile phone or a tablet computer, etc.
In one embodiment of the application, the host device 101 may include a display screen or may be externally connected to a display device. Thus, after receiving the password reset application information, the host device 101 may generate a graphic code, for example, a two-dimensional code or a bar code, that carries the password reset application information, and display the generated graphic code on the display screen or the display device, where the user terminal may collect an image by scanning the graphic code displayed on the display screen or the display device. In another case, the password resetting application information can be displayed in a text box or a file or other carrier, and the user terminal can acquire an image by shooting the information displayed on a display screen or a display device.
After the user terminal collects the image of the password resetting application information, in one case, the image may be sent to the password recovery server. And identifying and extracting password resetting application information of the image through the password recovery server, obtaining a corresponding first resetting verification code according to the password resetting application information, and then sending the first resetting verification code to the user terminal by the password recovery server.
After the user terminal collects the image of the password resetting application information, the user terminal can also directly identify the image and send the identification result to the password recovery server. And resolving the identification result through the password recovery server, obtaining a corresponding first reset verification code according to the resolving result, and then sending the first reset verification code to the user terminal through the password recovery server.
In both cases, after receiving the first reset verification code, the user checks the first reset verification code on the user terminal, and inputs the first reset verification code to the master device 101.
In one embodiment of the application, the first reset passcode may be a passcode included in a password reset application file generated by the child device 102. For example, the obtaining the first reset verification code corresponding to the password reset application information may be that the password recovery server parses and decrypts the two-dimensional code generated by the master device 101 according to the password reset application information to obtain the first reset verification code in the password reset application information.
The sub-device 102 is configured to perform password reset when the received first reset verification code is verified to be valid.
In one embodiment of the present application, it can be seen from the foregoing description that the password reset application information may be generated according to the verification code generated by the child device 102, in which case, the child device 102 may compare the first reset verification code with the verification code for generating the password reset application information, and if the two verification codes are consistent, may consider the first reset verification code to be valid, otherwise, consider the first reset verification code to be invalid.
According to the password resetting system provided by the embodiment of the application, a user can assist the main equipment 101 and the sub-equipment 102 to finish password resetting by collecting password resetting application information displayed by the main equipment 101 through the user terminal, the user does not need to drive to the installation position of the sub-equipment 102, and the user does not need to manually operate a password resetting button arranged on the sub-equipment 102, so that convenience in password resetting of the sub-equipment 102 by the user is improved, and user experience is improved. In addition, by applying the scheme provided by the embodiment of the application to reset the password, the investment of the user in the password reset is reduced, and the user experience can be further improved.
In one embodiment of the present application, the sub-device 102 is specifically configured to send a password reset notification to the master device 101 when it is verified that the received first reset verification code is valid.
The sub-device 102 sends the password reset notification to the main device 101, which may be a prompt message prompting that the verification is passed, or may be a notification prompting the user to input a new password, which is not limited in the present application.
The master device 101 is further configured to obtain a new password of the child device 102 after receiving the password reset notification, and send the new password to the child device 102.
After receiving the password reset notification, the master device 101 may display the password reset notification and prompt the user to input a new password. The user may then enter a new password through an interface provided by the host device 101. The new password may be the same or a different password than before the reset. After receiving the new password input by the user, the main device 101 transmits the new password input by the user to the sub device 102.
The sub-device 102 is further configured to update the locally recorded password with the received new password.
The sub-device 102 updates the locally recorded password with the received new password, and may replace the locally recorded password with the received new password. For example, when the sub-device 102 verifies that the received first reset verification code is valid, a password reset notification is sent to the main device 101, the main device 101 displays the password reset notification, then the user inputs a new password "123" through the interface of the main device 101, the main device 101 sends the new password "123" to the sub-device 102, and the sub-device 102 replaces the locally recorded original password "111" according to the new password "123", so as to realize password reset.
In the password resetting system provided by the embodiment of the application, the main device 101 can obtain the new password of the sub-device 102 and send the new password to the sub-device 102, so that the sub-device 102 updates the password recorded locally by adopting the received new password, thus a user can conveniently complete the new password setting of the sub-device 102 at the main device 101 side, and the password of the sub-device 102 is updated to the password required by the user.
In one embodiment of the present application, referring to fig. 2, the system further includes: the password recovery server 103.
The sub-device 102 is specifically configured to generate a second reset verification code after receiving the request, encrypt the second reset verification code, and generate password reset application information according to the encrypted second reset verification code.
Wherein the second reset passcode may be a randomly generated segment of the passcode by the child device 102, and may include numbers and/or letters, etc., such as "6789".
The child device 102 may store a preset encryption rule. The encrypting the second reset verification code may be encrypting the second reset verification code according to an encryption rule stored in the sub-device 102 in advance, so as to obtain password reset application information. For example, the randomly generated section of verification code "6789" is encrypted according to a preset encryption rule to obtain the password resetting application information "abcd".
The password recovery server 103 is configured to obtain an image acquired by the user terminal, parse the image to obtain a parsed result, decrypt the encrypted verification code in the parsed result to obtain a first reset verification code, and send the first reset verification code to the user terminal.
The password recovery server 103 may be a server storing a decryption rule corresponding to the encryption rule of the child device 102, and may decrypt the password reset application information by using the decryption rule.
Under the situation, when the two-dimensional code generated according to the password resetting application information is displayed on the main device 101, the user terminal can directly photograph the displayed two-dimensional code, and send the obtained image to the password recovery server 103, and the password recovery server 103 decodes the two-dimensional code in the image to obtain the password resetting application information. And then decrypting the password reset application information to obtain a first reset verification code.
In another case, when the character string generated according to the password resetting application information is displayed on the host device 101, the user terminal may directly photograph the displayed character string, and send the obtained image to the password recovery server 103, and the password recovery server 103 identifies the character string in the image, extracts a preset bit from the identified character string, and decrypts according to the extracted result to obtain the corresponding first resetting verification code.
In the password resetting system provided by the embodiment of the application, the sub-equipment 102 can generate the second resetting verification code, and encrypt the second resetting verification code to generate password resetting application information; the encrypted verification code is decrypted through the password recovery server 103 to obtain a first reset verification code, the first reset verification code can be obtained through a special server, the security of the password resetting process is improved, the second reset verification code can be generated through the sub-equipment 102, the password recovery server 103 obtains the first reset verification code, the sub-equipment 102 can complete verification in the password resetting process through comparison of the first reset verification code and the second verification code, and password resetting is carried out according to a verification result.
In one embodiment of the present application, the sub-device 102 is specifically configured to generate the password reset application information including the device information of the sub-device 102 and the encrypted second reset verification code.
The device information may include a device model Number, a Serial Number, etc. of the child device 102, such as SN (Serial Number), etc. The generation of the password reset application information including the device information of the sub-device 102 and the encrypted second reset verification code may be to combine the encrypted second reset verification code with the device model number, serial number, etc. of the sub-device 102 to obtain the password reset application information.
The password recovery server 103 is specifically configured to decrypt the encrypted verification code in the analysis result to obtain a first reset verification code when the device information in the analysis result is valid.
The password recovery server 103 may verify the device information in the password reset application information, and determine whether the device information is valid. For example, whether the equipment model number and the serial number in the password resetting application information are in a preset list or not is judged, or a preset naming rule is met, if yes, the equipment information is considered to be valid.
When the device information in the analysis result is valid, decrypting the encrypted verification code in the analysis result to obtain a first reset verification code, which can be considered as decrypting the encrypted second reset verification code in the password reset application information according to a preset decryption rule when the device information in the analysis result is judged to be valid.
According to the password resetting system provided by the embodiment of the application, under the condition that the equipment information in the analysis result is effective, the password recovery server 103 decrypts the encrypted verification code in the analysis result to obtain the first resetting verification code, so that the password recovery server 103 can conveniently distinguish the password resetting application information according to the equipment information, and the situation that the decrypted verification code is wrong due to the fact that the received file is wrong is prevented.
In one embodiment of the present application, the password recovery server 103 is specifically configured to determine whether a user corresponding to the user terminal is a registered user of the password recovery server 103, and if so, obtain an image acquired by the user terminal.
For example, before the password recovery server 103 receives the image of the password reset application information acquired by the user terminal, the user needs to go to a platform such as a public number to register the user information, and the password recovery server 103 may not receive the image acquired by the user terminal for the user who does not register the user information.
The password resetting system provided by the embodiment of the application can be convenient for the password recovery server 103 to record and verify the user information of the user, ensure the identity of the user to be effective and promote the password resetting safety. The corresponding user can be traced after the password is reset, so that the subsequent upgrading of the password resetting system is facilitated, and the user experience is improved.
In one embodiment of the present application, the master device 101 is specifically configured to generate a two-dimensional code including password reset application information, and display the two-dimensional code.
When the master device 101 generates and displays the two-dimensional code containing the password resetting application information, the user terminal may be a mobile phone, a tablet computer, or other devices capable of performing two-dimensional code scanning and/or identification.
According to the password resetting system provided by the embodiment of the application, the two-dimensional code containing the password resetting application information is generated through the main equipment 101, the two-dimensional code is displayed, the user terminal can conveniently acquire the image of the two-dimensional code and send the image to the password recovering server 103, the password resetting application file information is sent to the password recovering server 103, the password recovering server 103 can conveniently decrypt the received password resetting, and therefore verification of the password resetting application is completed.
In one embodiment of the present application, the sub-device 102 is further configured to compare the first reset verification code with the second reset verification code, and determine that the first reset verification code is valid when the first reset verification code is consistent with the second reset verification code.
And comparing the first reset verification code with the second reset verification code, wherein when the first reset verification code is consistent with the second reset verification code, the first reset verification code can be considered to be the verification code obtained by decrypting according to the password reset application information, and the first reset verification code is effective.
According to the password resetting system provided by the embodiment of the application, the first resetting verification code is compared with the second resetting verification code to determine whether the first resetting verification code is effective, so that password resetting verification is completed, and the sub-equipment 102 can conveniently reset the password according to the verification result.
Referring to fig. 3, fig. 3 is a schematic diagram of an interaction flow of the password resetting system according to an embodiment of the application;
to facilitate a clear illustration of the interaction flow of the password reset system, the GUI (Graphical User Interface ) is illustrated in fig. 3 as a separate entity list. Among other things, a GUI may be understood as an interface where a user inputs information or presents information to the user. The GUI may be an interface of the NVR, an interface of a display device communicatively coupled to the NVR, or an interface of a data platform communicatively coupled to the NVR.
In step S31, the password A is input to add IPC. When the user accesses the NVR through the IPC, the login password A of the IPC is input through the GUI.
Step S32, a password a is transmitted. The NVR obtains the password A entered by the user through the GUI.
In step S33, IPC is added using password a through the SDK protocol. NVR adds IPC to NVR through SDK (Software Development Kit ) using password A.
Step S34, a password error is returned. When the addition fails, the IPC sends notification information of the password error to the NVR.
Step S35, adding to the channel. The NVR adds notification information of the password error returned by the IPC to the data channel of the corresponding GUI.
Step S36, returning a password error. The NVR transmits notification information of the received password error to the GUI.
Step S37, prompting the user for password errors. The NVR displays notification information of the password error through the GUI and prompts the user to input the password A error.
Step S38, clicking forgets the password. The user clicks on the GUI to forget the password.
Step S39, obtaining the recovery type. The NVR obtains the recovery type of the password through the GUI.
In step S40, SADP searches for a camera. NVR searches for IPC through the SDAP protocol (Service Data Adaptation Protocol ).
Step S41, generating a secret key application file. The IPC generates a key application file. For example, a set of verification codes is randomly generated and encrypted to obtain a key application file.
Step S42, returning the key application file. And the IPC returns the received key application file to the NVR.
Step S43, returning the key application file. The NVR returns the received key application file to the GUI.
Step S44, prompt the user to obtain the key mode. The NVR prompts the user through the GUI to select the manner in which to obtain the key.
Step S45, selecting a two-dimensional code mode. The user clicks on the GUI to select the two-dimensional manner.
Step S46, the secret key application file generates a two-dimensional code. And generating a two-dimensional code by the NVR through the GUI according to the received key application file, and displaying the two-dimensional code.
Step S47, scanning the two-dimensional code. The user scans the two-dimension code through a user terminal such as a mobile phone.
Step S48, the platform is sent. And sending the scanning result of the two-dimension code to the password recovery platform through a user terminal such as a mobile phone of a user.
Step S49, the recovery verification code is obtained. The recovery platform analyzes the scanning result of the two-dimensional code, decrypts the analysis result to obtain the verification code, and sends the obtained verification code to a user terminal such as a mobile phone of a user.
Step S50, manually inputting the verification code. The user manually inputs the received verification code into a user interface on the GUI.
Step S51, sending the verification code. The NVR obtains the verification code entered by the user through the GUI.
In step S52, the SADP protocol sends a validation code to the IPC. NVR sends the validation code to IPC through SADP protocol.
Step S53, authenticating the verification code. The IPC verifies the received verification code, for example, compares the received verification code with the corresponding self-randomly generated verification code in step S41, and if the received verification code is consistent with the self-randomly generated verification code, determines that the verification is successful.
Step S54, authentication is successful. After verification is successful, the IPC sends a verification success notification to the NVR.
Step S55, returning success. After the NVR receives the verification success notification, the verification success notification is displayed to the user through the GUI.
Step S56, prompt to input new password. The GUI may prompt the user to enter a new password in addition to presenting the user with a notification of verification success.
Step S57, a new password is manually input. The user manually enters a new password on the GUI that the user wishes to modify.
Step S58, issuing a password. The NVR obtains a new password entered by the user through the GUI.
In step S59, the SADP protocol transmits a reset password to the IPC. The NVR transmits the received new password input by the user to the IPC through the SADP protocol.
Step S60, a new password is set. The IPC sets the password according to the received reset password, for example, replaces the original password stored locally with the new password.
Step S61, the reset is successful. After the password is reset successfully, the IPC sends a password reset success prompt to the NVR.
Step S62, the reset is successful. The NVR pushes the received reset success prompt to the GUI.
Step S63, prompt the success of the reset. The GUI presents the user with a password reset success.
Referring to fig. 4, fig. 4 is a schematic flow chart of a password resetting method according to an embodiment of the present application, which is applied to a master device in a password resetting system, the password resetting system further includes a slave device, and the method includes:
step S401, after determining that the password is required to be reset for the sub-equipment, sending a request for acquiring password reset application information to the sub-equipment;
Step S402, receiving password resetting application information sent by the sub-equipment;
step S403, displaying password resetting application information according to a preset display mode, so that a user terminal acquires an image of the password resetting application information and obtains a first resetting verification code corresponding to the password resetting application information according to the image;
step S404, a first reset verification code is obtained, and the first reset verification code is sent to the sub-equipment, so that the sub-equipment resets the password under the condition that the received first reset verification code is verified to be effective.
Optionally, the method further comprises:
receiving a password reset notification sent by the sub-device under the condition that the received first reset verification code is verified to be valid;
and obtaining the new password of the sub-equipment, and sending the new password to the sub-equipment so that the sub-equipment can update the locally recorded password by adopting the received new password.
Optionally, displaying the password reset application information according to a preset display mode, so that the user terminal collects an image of the password reset application information and obtains a first reset verification code corresponding to the password reset application information according to the image, where the first reset verification code comprises:
displaying the two-dimensional code containing the password resetting application information, so that the user terminal acquires the image of the two-dimensional code of the password resetting application information, and obtaining a first resetting verification code corresponding to the password resetting application information according to the image.
According to the password resetting method, a user collects password resetting application information displayed by the main equipment through the user terminal, the main equipment and the sub-equipment can be assisted to finish password resetting, the user does not need to arrive at the installation position of the sub-equipment, and the user does not need to manually operate a password resetting button arranged on the sub-equipment, so that convenience in password resetting of the sub-equipment by the user is improved, and user experience is improved.
Referring to fig. 5, fig. 5 is a schematic flow chart of a password resetting device according to an embodiment of the application, which is applied to a master device in a password resetting system, the password resetting system further includes a slave device, and the device includes:
a request sending module 501, configured to send a request for obtaining password reset application information to a child device after determining that the child device needs to perform password reset;
an information receiving module 502, configured to receive password reset application information sent by a sub-device;
the information display module 503 is configured to display the password reset application information according to a preset display manner, so that the user terminal acquires an image of the password reset application information, and obtains a first reset verification code corresponding to the password reset application information according to the image;
The password resetting module 504 is configured to obtain the first reset verification code, and send the first reset verification code to the sub-device, so that the sub-device performs password resetting when verifying that the received first reset verification code is valid.
Optionally, the apparatus further includes:
the notification receiving module is used for receiving a password reset notification sent by the sub-equipment under the condition that the received first reset verification code is verified to be valid;
and the password updating module is used for obtaining the new password of the sub-equipment and sending the new password to the sub-equipment so that the sub-equipment can update the locally recorded password by adopting the received new password.
Optionally, the information display module includes: the two-dimensional code display sub-module is used for displaying the two-dimensional code containing the password resetting application information, so that the user terminal acquires the image of the two-dimensional code of the password resetting application information and obtains a first resetting verification code corresponding to the password resetting application information according to the image.
According to the password resetting device provided by the embodiment of the application, a user can assist the main equipment and the sub-equipment to finish password resetting by collecting password resetting application information displayed by the main equipment through the user terminal, the user does not need to go to the installation position of the sub-equipment, and the user does not need to manually operate a password resetting button arranged on the sub-equipment, so that the convenience of the user in password resetting of the sub-equipment is improved, and the user experience is improved.
The embodiment of the application also provides an electronic device, as shown in fig. 6, which comprises a processor 601, a communication interface 602, a memory 603 and a communication bus 604, wherein the processor 601, the communication interface 602 and the memory 603 complete communication with each other through the communication bus 604,
a memory 603 for storing a computer program;
the processor 601 is configured to implement any one of the above-mentioned password resetting methods when executing the program stored in the memory 603.
The communication bus mentioned above for the electronic devices may be a peripheral component interconnect standard (Peripheral Component Interconnect, PCI) bus or an extended industry standard architecture (Extended Industry Standard Architecture, EISA) bus, etc. The communication bus may be classified as an address bus, a data bus, a control bus, or the like. For ease of illustration, the figures are shown with only one bold line, but not with only one bus or one type of bus.
The communication interface is used for communication between the electronic device and other devices.
The Memory may include random access Memory (Random Access Memory, RAM) or may include Non-Volatile Memory (NVM), such as at least one disk Memory. Optionally, the memory may also be at least one memory device located remotely from the aforementioned processor.
The processor may be a general-purpose processor, including a central processing unit (Central Processing Unit, CPU), a network processor (Network Processor, NP), etc.; but also digital signal processors (Digital Signal Processing, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), field programmable gate arrays (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.
In yet another embodiment of the present application, there is also provided a computer readable storage medium having stored therein a computer program which when executed by a processor implements the steps of any of the password reset methods described above.
In yet another embodiment of the present application, there is also provided a computer program product containing instructions that, when run on a computer, cause the computer to perform any of the password reset methods of the above embodiments.
In the above embodiments, it may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, produces a flow or function in accordance with embodiments of the present application, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a computer network, or other programmable apparatus. The computer instructions may be stored in or transmitted from one computer-readable storage medium to another, for example, by wired (e.g., coaxial cable, optical fiber, digital Subscriber Line (DSL)), or wireless (e.g., infrared, wireless, microwave, etc.). The computer readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server, data center, etc. that contains an integration of one or more available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid State Disk (SSD)), etc.
It is noted that relational terms such as first and second, and the like are 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. Moreover, 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 one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
In this specification, each embodiment is described in a related manner, and identical and similar parts of each embodiment are all referred to each other, and each embodiment mainly describes differences from other embodiments. In particular, for the method, apparatus, electronic device, storage medium embodiments, since they are substantially similar to the system embodiments, the description is simpler, and relevant points are found in the partial description of the system embodiments.
The foregoing description is only of the preferred embodiments of the present application and is not intended to limit the scope of the present application. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application are included in the protection scope of the present application.

Claims (11)

1. A password reset system, the system comprising a master device and a slave device;
the master device is configured to send a request for obtaining password reset application information to the child device after determining that password reset needs to be performed on the child device;
the sub-equipment is used for generating the password resetting application information after receiving the request and sending the password resetting application information to the main equipment;
the main equipment is used for displaying the password resetting application information according to a preset display mode, so that a user terminal acquires an image of the password resetting application information and obtains a first resetting verification code corresponding to the password resetting application information according to the image; obtaining the first reset verification code and sending the first reset verification code to the sub-equipment;
the sub-equipment is used for resetting the password under the condition that the received first reset verification code is verified to be valid;
The system further comprises: a password recovery server;
the sub-equipment is specifically configured to generate a second reset verification code after receiving the request, encrypt the second reset verification code, and generate password reset application information according to the encrypted second reset verification code;
the password recovery server is used for obtaining the image acquired by the user terminal, analyzing the image to obtain an analysis result, decrypting the encrypted verification code in the analysis result to obtain a first reset verification code, and sending the first reset verification code to the user terminal.
2. The system of claim 1, wherein the system further comprises a controller configured to control the controller,
the sub-device is specifically configured to send a password reset notification to the master device when the received first reset verification code is verified to be valid;
the main device is further configured to obtain a new password of the sub-device after receiving the password reset notification, and send the new password to the sub-device;
the sub-device is further configured to update a locally recorded password with the received new password.
3. The system of claim 1, wherein the system further comprises a controller configured to control the controller,
The sub-equipment is specifically configured to generate password reset application information including equipment information of the sub-equipment and an encrypted second reset verification code;
the password recovery server is specifically configured to decrypt the encrypted verification code in the analysis result to obtain a first reset verification code when the device information in the analysis result is valid.
4. The system of claim 3, wherein the system further comprises a controller configured to control the controller,
the password recovery server is specifically configured to determine whether a user corresponding to the user terminal is a registered user of the password recovery server, and if so, obtain the image acquired by the user terminal.
5. The system of any one of claims 1, 3-4, wherein,
the sub-device is further configured to compare the first reset verification code with the second reset verification code, and determine that the first reset verification code is valid when the first reset verification code is consistent with the second reset verification code.
6. The system of claim 1, wherein the system further comprises a controller configured to control the controller,
the master device is specifically configured to generate a two-dimensional code containing the password resetting application information, and display the two-dimensional code.
7. A password reset method for a master device in a password reset system, the password reset system further comprising a slave device, the method comprising:
after determining that the password is required to be reset, sending a request for acquiring password reset application information to the child equipment;
receiving the password resetting application information sent by the sub-equipment, wherein the password resetting system further comprises a password recovery server; the password resetting application information is password resetting application information generated by the sub-equipment after receiving the request, generating a second resetting verification code, encrypting the second resetting verification code and according to the encrypted second resetting verification code; the password recovery server is used for obtaining an image acquired by the user terminal, analyzing the image to obtain an analysis result, decrypting the encrypted verification code in the analysis result to obtain a first reset verification code, and sending the first reset verification code to the user terminal;
displaying the password resetting application information according to a preset display mode, so that a user terminal acquires an image of the password resetting application information and obtains a first resetting verification code corresponding to the password resetting application information according to the image;
Obtaining the first reset verification code, and sending the first reset verification code to the sub-equipment, so that the sub-equipment can carry out password reset under the condition of verifying that the received first reset verification code is valid.
8. The method of claim 7, wherein the method further comprises:
receiving a password reset notification sent by the sub-device under the condition that the received first reset verification code is verified to be valid;
and obtaining a new password of the sub-equipment, and sending the new password to the sub-equipment so that the sub-equipment can update the locally recorded password by adopting the received new password.
9. The method of claim 7, wherein displaying the password reset application information according to a preset display manner, so that the user terminal collects an image of the password reset application information and obtains a first reset verification code corresponding to the password reset application information according to the image, includes:
displaying the two-dimensional code containing the password resetting application information, so that the user terminal acquires an image of the two-dimensional code and obtains a first resetting verification code corresponding to the password resetting application information according to the image.
10. The electronic equipment is characterized by comprising a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory are communicated with each other through the communication bus;
a memory for storing a computer program;
a processor for carrying out the method steps of any one of claims 7-9 when executing a program stored on a memory.
11. A computer-readable storage medium, characterized in that the computer-readable storage medium has stored therein a computer program which, when executed by a processor, implements the method steps of any of claims 7-9.
CN202010904900.4A 2020-09-01 2020-09-01 Password resetting system, method, device, equipment and storage medium Active CN111984961B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010904900.4A CN111984961B (en) 2020-09-01 2020-09-01 Password resetting system, method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010904900.4A CN111984961B (en) 2020-09-01 2020-09-01 Password resetting system, method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN111984961A CN111984961A (en) 2020-11-24
CN111984961B true CN111984961B (en) 2023-10-10

Family

ID=73447272

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010904900.4A Active CN111984961B (en) 2020-09-01 2020-09-01 Password resetting system, method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111984961B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112887340B (en) * 2021-04-28 2022-01-04 深圳市科力锐科技有限公司 Password resetting method and device, service management terminal and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103368928A (en) * 2012-04-11 2013-10-23 富泰华工业(深圳)有限公司 System and method for resetting account password
CN104901797A (en) * 2015-06-23 2015-09-09 珠海格力电器股份有限公司 Engineering password resetting method, device, system and controller of air-conditioning system
CN107577516A (en) * 2017-07-28 2018-01-12 华为技术有限公司 Virtual machine password remapping method, device and system
CN108833431A (en) * 2018-06-29 2018-11-16 腾讯科技(深圳)有限公司 A kind of method, apparatus, equipment and the storage medium of password resetting
CN111355708A (en) * 2020-02-17 2020-06-30 浙江大华技术股份有限公司 Equipment password resetting method and device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018156885A1 (en) * 2017-02-24 2018-08-30 Adt Us Holdings, Inc. Automatic password reset using a security system
WO2019061471A1 (en) * 2017-09-30 2019-04-04 华为技术有限公司 Password verification method, password setting method, and mobile terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103368928A (en) * 2012-04-11 2013-10-23 富泰华工业(深圳)有限公司 System and method for resetting account password
CN104901797A (en) * 2015-06-23 2015-09-09 珠海格力电器股份有限公司 Engineering password resetting method, device, system and controller of air-conditioning system
CN107577516A (en) * 2017-07-28 2018-01-12 华为技术有限公司 Virtual machine password remapping method, device and system
CN108833431A (en) * 2018-06-29 2018-11-16 腾讯科技(深圳)有限公司 A kind of method, apparatus, equipment and the storage medium of password resetting
CN111355708A (en) * 2020-02-17 2020-06-30 浙江大华技术股份有限公司 Equipment password resetting method and device

Also Published As

Publication number Publication date
CN111984961A (en) 2020-11-24

Similar Documents

Publication Publication Date Title
EP3343831B1 (en) Identity authentication method and apparatus
CN108322461B (en) Method, system, device, equipment and medium for automatically logging in application program
JP5981610B2 (en) Network authentication method for electronic transactions
CN110719203B (en) Operation control method, device and equipment of intelligent household equipment and storage medium
CN104270338A (en) A method and system of electronic identity registration and authentication login
TWI512526B (en) System and method for resetting password
CN107124279B (en) Method and device for erasing terminal data
CN112887340B (en) Password resetting method and device, service management terminal and storage medium
JP2007028015A (en) Program, system and method for time stamp verification, and time stamp generation request method
CN111901303A (en) Device authentication method and apparatus, storage medium, and electronic apparatus
CN111984961B (en) Password resetting system, method, device, equipment and storage medium
CN110598421B (en) Two-dimensional code encryption method and device and two-dimensional code decryption method and device
CN111125665A (en) Authentication method and device
JP2011221729A (en) Id linking system
WO2016206090A1 (en) Two-factor authentication method, device and apparatus
JP4998314B2 (en) Communication control method and communication control program
WO2017029708A1 (en) Personal authentication system
KR100726074B1 (en) Method And System Of Certifying Mobile Internet User
CN115694807A (en) Password intelligent verification prompting method and system and electronic equipment
JP2015192377A (en) Method, system and program for key transmission
CN111740938B (en) Information processing method and device, client and server
CN111090850B (en) Authentication system, method and device
JP2006004321A (en) Security system
JP2007293538A (en) User authentication method, user authentication device, and user authentication program
KR20160011863A (en) Authentication system and Method for second authenticating with QR cord with 2 channels

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant