CN111221580A - Method, equipment and storage medium for safely recovering factory settings of intelligent lock - Google Patents

Method, equipment and storage medium for safely recovering factory settings of intelligent lock Download PDF

Info

Publication number
CN111221580A
CN111221580A CN201911345819.0A CN201911345819A CN111221580A CN 111221580 A CN111221580 A CN 111221580A CN 201911345819 A CN201911345819 A CN 201911345819A CN 111221580 A CN111221580 A CN 111221580A
Authority
CN
China
Prior art keywords
administrator
reset
intelligent lock
password
mobile terminal
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.)
Granted
Application number
CN201911345819.0A
Other languages
Chinese (zh)
Other versions
CN111221580B (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.)
Guangdong Ketyoo Intelligent Technology Co Ltd
Original Assignee
Guangdong Ketyoo Intelligent 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 Guangdong Ketyoo Intelligent Technology Co Ltd filed Critical Guangdong Ketyoo Intelligent Technology Co Ltd
Priority to CN201911345819.0A priority Critical patent/CN111221580B/en
Publication of CN111221580A publication Critical patent/CN111221580A/en
Application granted granted Critical
Publication of CN111221580B publication Critical patent/CN111221580B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • G06F9/4411Configuring for operating with peripheral devices; Loading of device drivers
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C9/00Individual registration on entry or exit
    • G07C9/00174Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C9/00Individual registration on entry or exit
    • G07C9/00174Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
    • G07C9/00817Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys where the code of the lock can be programmed

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • General Engineering & Computer Science (AREA)
  • Storage Device Security (AREA)

Abstract

The invention discloses a method, equipment and a storage medium for safely recovering factory settings of an intelligent lock, wherein the setting method comprises the following steps: s1: receiving a reset instruction of the intelligent lock; s2: calling a preset administrator list corresponding to the intelligent lock, judging whether the current intelligent lock is bound with an administrator or not according to the preset administrator list, and if so, executing the step S3; if not, the reset is stopped; s3: generating a reset notification and an administrator password according to the reset instruction, and sending the reset notification and the administrator password to a mobile terminal bound with an administrator for display; s4: receiving an administrator password input by a user through a mobile terminal, judging whether the administrator password is correct, and if so, executing an initialization program of the intelligent lock according to a reset instruction; if not, the reset is terminated. The invention adds the step of resetting and checking, prevents unauthorized operation and improves the safety of the intelligent lock.

Description

Method, equipment and storage medium for safely recovering factory settings of intelligent lock
Technical Field
The invention relates to the field of intelligent locks, in particular to a method, equipment and a storage medium for safely restoring factory settings of an intelligent lock.
Background
At present, the intelligent lock has the characteristics of convenience in operation, high safety and the like, and the intelligent lock gradually goes deep into the daily life of people. The existing intelligent lock equipment can perform custom setting on various configuration parameters in the intelligent lock according to personal requirements of users, so that the functions of the intelligent lock more meet the personal requirements of each user.
The existing intelligent lock device generally has a device resetting function, the intelligent lock returns to the state of leaving the factory again by restoring the factory setting, all custom parameters are reset, the unaccustomed operation changed by a user in the device is restored to the initial state, and the setting time is saved.
However, the existing intelligent lock device lacks a certain reset verification process, and can be reset after a non-user himself presses a reset key on the intelligent lock, so that the intelligent lock device is in a password-free state when leaving a factory, the safety of the intelligent lock is reduced, and potential safety hazards such as non-personal operation and unauthorized reset exist.
Disclosure of Invention
In order to overcome the defects of the prior art, one of the objectives of the present invention is to provide a method for safely restoring factory settings of an intelligent lock, which needs to input an administrator password to confirm the identity of an operator, add a reset verification step, prevent unauthorized operation, and improve the safety of the intelligent lock.
The invention also aims to provide intelligent lock equipment.
It is a further object of the present invention to provide a storage medium.
One of the purposes of the invention is realized by adopting the following technical scheme:
a safe factory resetting method for an intelligent lock comprises the following steps:
step S1: receiving a reset instruction of the intelligent lock;
step S2: calling a preset administrator list corresponding to the intelligent lock, judging whether the current intelligent lock is bound with an administrator or not according to the preset administrator list, and if so, executing the step S3; if not, the reset is stopped;
step S3: generating a reset notification and an administrator password according to the reset instruction, and sending the reset notification and the administrator password to a mobile terminal bound with an administrator for display;
step S4: receiving an administrator password input by a user through a mobile terminal, judging whether the administrator password is correct, and if so, executing an initialization program of the intelligent lock according to a reset instruction; if not, the reset is terminated.
Further, the reset instruction is generated after a user presses a reset key on the intelligent lock for more than a set time, or the reset instruction is generated after the user presses a reset option on a reset page of the mobile terminal.
Further, the preset administrator list includes a ranking number of each administrator, a name of each administrator, and a terminal number and an ID corresponding to each administrator.
Further, the number of the administrators in the preset administrator list is at least one, and the administrators are prioritized in the preset administrator list.
Further, the method for sending the reset notification and the administrator password to the mobile terminal bound with the administrator in the step S3 includes:
step S30: judging whether the reset instruction is sent by the mobile terminal, if so, executing the step S31, otherwise, pushing the reset notification and the administrator password to the administrator terminal with the highest priority according to the priority sequence of the administrators in the preset management list;
step S31: and judging whether the ID of the mobile terminal is in a preset management list, if so, preferentially pushing the reset notification and the administrator password to the mobile terminal corresponding to the ID, and if not, pushing the reset notification and the administrator password to the administrator terminal with the highest priority in the preset management list.
Further, the administrator password corresponding to each administrator is randomly generated, the administrator password is invalid and automatically deleted after a set time limit, and another administrator password is newly generated when the reset operation is triggered next time.
Further, the administrator password is one or a combination of more than one of random numbers, random letters and random Chinese characters.
Further, the administrator password includes at least four characters.
The second purpose of the invention is realized by adopting the following technical scheme:
the intelligent lock device comprises a processor, a memory and a computer program which is stored on the memory and can run on the processor, wherein the processor executes the computer program to realize the safe factory reset method of the intelligent lock.
The third purpose of the invention is realized by adopting the following technical scheme:
a storage medium having stored thereon a computer program which, when executed, implements the above-described smart lock's secure factory reset method.
Compared with the prior art, the invention has the beneficial effects that:
whether the intelligent lock is bound with an administrator or not needs to be judged in the resetting verification process, the administrator password is sent to the administrator terminal, the administrator can forward the management password to an operation user, authorized operation is achieved, the user can input the administrator password, and the intelligent lock can be reset only after the password is correct, unauthorized operation is prevented, and safety of the intelligent lock is improved.
Drawings
Fig. 1 is a method for safely restoring factory settings of an intelligent lock according to the present invention.
Detailed Description
The present invention will be further described with reference to the accompanying drawings and the detailed description, and it should be noted that any combination of the embodiments or technical features described below can be used to form a new embodiment without conflict.
Example one
According to the method for safely recovering the factory setting of the intelligent lock, the intelligent lock can be reset only by verification of an administrator, equipment of the intelligent lock is enabled to recover the factory state, and the safety of the intelligent lock is improved.
The reset method requires the intelligent lock to be matched with a mobile terminal with a software client, as shown in fig. 1, and includes:
step S1: and receiving a reset instruction of the intelligent lock.
A reset key is arranged on the intelligent lock, and a reset instruction can be triggered and generated after the reset key is pressed for a long time and the set time is exceeded; in addition, the user clicks the software client on the mobile terminal, and presses the reset option after entering the reset page, so that a reset instruction can be triggered and generated, and the reset operation of the intelligent lock is started.
Step S2: calling a preset administrator list corresponding to the intelligent lock, judging whether the current intelligent lock is bound with an administrator or not according to the preset administrator list, and if so, executing the step S3; if not, the reset is terminated.
The user inputs the information of the administrator in advance in the reset page of the software client on the mobile terminal, the number of the administrator is set to be at least one, the administrator is used for adding a reset verification step, the reset operation of the intelligent lock can be carried out after the authorization of the administrator, the occurrence of unauthorized operation is prevented, and the safety of the intelligent lock is improved.
The administrator can be set as a binding user of the intelligent lock or an authorized user of the intelligent lock, an administrator list is added into a preset administrator list according to requirements, meanwhile, the name of each administrator, the terminal number and the ID corresponding to each administrator are required to be input, when the number of the administrators is more than one, the priorities of the administrators can be sorted, the administrators in the preset administrator list are sequentially sorted according to the priorities and numbered, the administrators with high priorities are arranged in the front of the preset administrator list, and the sorting numbers of the administrators with high priorities are smaller, so that the sorting numbers of the administrators, the names of the administrators and the terminal numbers and the IDs corresponding to the administrators can be checked in the preset administrator list; therefore, the subsequent reset notification and the administrator password can be sent to the administrator with the highest priority in the preset administrator list in a priority mode, so that the administrator with the highest priority can obtain the reset operation information as soon as possible, and unauthorized operation is prevented.
Step S3: generating a reset notification and an administrator password according to the reset instruction, and sending the reset notification and the administrator password to a mobile terminal bound with an administrator for display;
after the reset instruction is sent out, a reset notification is triggered to be generated according to a preset template and is sent according to an administrator list in a preset administrator list, an administrator password is randomly generated, and the administrator password is synchronously sent to an administrator terminal when the reset notification is sent, so that an administrator can decide whether to continue reset operation.
The administrator password corresponding to each administrator is generated randomly, the administrator password is one or combination of random numbers, random letters and random Chinese characters, and the administrator password at least comprises four characters, so that the complexity of the administrator password can be improved, an anti-counterfeiting effect can be achieved, and the safety can be improved; after the administrator password is sent to the terminal, no matter whether the administrator password is used within the set time limit or not, the password is invalid and automatically deleted after the set time limit is exceeded, and another administrator password different from the previous administrator password is regenerated after the next reset triggering operation is carried out, so that the safety is improved.
The method for sending the reset notification and the administrator password to the mobile terminal bound with the administrator comprises the following steps:
step S30: and judging whether the reset instruction is sent by the mobile terminal, if so, executing the step S31, otherwise, pushing the reset notification and the administrator password to the administrator terminal with the highest priority according to the priority sequence of the administrators in the preset management list.
Since the reset instruction may be generated by triggering a reset key on the smart lock or may be generated by triggering on the mobile terminal client, the source of the reset instruction is first determined, and if the reset instruction is sent by the mobile terminal, the ID of the mobile terminal may be obtained while receiving the reset instruction, so as to determine the identity of the user who uses the mobile terminal to trigger the reset operation. If the reset instruction is generated by triggering a reset key on the intelligent lock, directly pushing a reset notification and an administrator password to an administrator terminal with the highest priority according to the priority sequence of an administrator in a preset management list, if the administrator receives the reset password and forwards the reset password to a user terminal triggering the reset operation or informs other users, the administrator authorizes the reset operation, and the other users can input the reset password to obtain the authorization of the reset operation after obtaining the reset password, so that the safety of reset verification is improved; if the administrator finds that the reset operation is not triggered by the administrator or a known user after receiving the reset notification, the password is not leaked or forwarded, the administrator does not authorize the reset operation, and if the unauthorized user does not have the reset password, the reset operation cannot be continued, and the reset operation is terminated.
Step S31: and judging whether the ID of the mobile terminal is in a preset management list, if so, preferentially pushing the reset notification and the administrator password to the mobile terminal corresponding to the ID, and if not, pushing the reset notification and the administrator password to the administrator terminal with the highest priority in the preset management list.
If the reset instruction is sent by the mobile terminal, whether a user triggering the reset operation by using the mobile terminal is one of administrators can be judged by judging whether the terminal ID is in a preset management list, if so, the user is represented to have the right of starting the reset operation, so that the reset password and the reset notification are preferentially sent to the terminal corresponding to the ID, the trouble that the administrator user still needs to ask the administrator with the highest priority for the reset password is avoided, and the process of starting the reset operation step by the administrator is accelerated.
Step S4: receiving an administrator password input by a user through a mobile terminal, judging whether the administrator password is correct, and if so, executing an initialization program of the intelligent lock according to a reset instruction; if not, the reset is terminated.
After receiving the reset password notified by the administrator, the user triggering the reset operation inputs the reset password into a reset page corresponding to the mobile terminal, the mobile terminal sends the input password to the intelligent lock, the intelligent lock verifies the input password with the reset password generated in step S3, if the input password is the same as the generated administrator password, the verification is successful, and at this time, the user triggering the reset operation obtains the right to reset the intelligent lock, so that the reset operation can be started; if the input password is different from the generated administrator password, the user is represented as an unauthorized user, the reset operation is terminated, the phenomenon that the intelligent lock is reset in an unauthorized mode can be prevented, and the safety of equipment is improved.
Example two
The embodiment provides an intelligent door lock device, which comprises a processor, a memory and a computer program which is stored on the memory and can run on the processor, wherein when the processor executes the computer program, the safe factory reset method of the intelligent lock in the first embodiment is realized; in addition, the present embodiment also provides a storage medium, on which a computer program is stored, and when the computer program is executed, the method for safely restoring the smart lock to the factory setting is implemented.
The apparatus and the storage medium in this embodiment are based on two aspects of the same inventive concept, and the method implementation process has been described in detail in the foregoing, so that those skilled in the art can clearly understand the structure and implementation process of the system in this embodiment according to the foregoing description, and for the sake of brevity of the description, details are not repeated here.
The above embodiments are only preferred embodiments of the present invention, and the protection scope of the present invention is not limited thereby, and any insubstantial changes and substitutions made by those skilled in the art based on the present invention are within the protection scope of the present invention.

Claims (10)

1. A safe factory resetting method for an intelligent lock is characterized by comprising the following steps:
step S1: receiving a reset instruction of the intelligent lock;
step S2: calling a preset administrator list corresponding to the intelligent lock, judging whether the current intelligent lock is bound with an administrator or not according to the preset administrator list, and if so, executing the step S3; if not, the reset is stopped;
step S3: generating a reset notification and an administrator password according to the reset instruction, and sending the reset notification and the administrator password to a mobile terminal bound with an administrator for display;
step S4: receiving an administrator password input by a user through a mobile terminal, judging whether the administrator password is correct, and if so, executing an initialization program of the intelligent lock according to a reset instruction; if not, the reset is terminated.
2. The method for safely restoring factory settings of an intelligent lock according to claim 1, wherein the reset instruction is generated after a user presses a reset key on the intelligent lock for a set time, or after the user presses a reset option on a reset page of the mobile terminal.
3. The factory setting method for safely recovering intelligent lock according to claim 1, wherein the preset administrator list comprises a sequence number of each administrator, a name of each administrator, and a terminal number and an ID corresponding to each administrator.
4. The factory setting method for safely recovering an intelligent lock according to claim 3, wherein the number of administrators in the preset administrator list is at least one, and the administrators are prioritized in the preset administrator list.
5. The factory setting method for safe restoration of an intelligent lock according to claim 1, wherein the method for sending the reset notification and the administrator password to the mobile terminal bound to the administrator in step S3 includes:
step S30: judging whether the reset instruction is sent by the mobile terminal, if so, executing the step S31, otherwise, pushing the reset notification and the administrator password to the administrator terminal with the highest priority according to the priority sequence of the administrators in the preset management list;
step S31: and judging whether the ID of the mobile terminal is in a preset management list, if so, preferentially pushing the reset notification and the administrator password to the mobile terminal corresponding to the ID, and if not, pushing the reset notification and the administrator password to the administrator terminal with the highest priority in the preset management list.
6. The method according to claim 1, wherein the administrator password corresponding to each administrator is randomly generated, the administrator password is invalid and automatically deleted after a set time limit, and another administrator password is newly generated when a reset operation is triggered next time.
7. The method as claimed in claim 6, wherein the administrator code is one or more of random numbers, random letters, and random Chinese characters.
8. The factory setup method for safely restoring intelligent lock according to claim 7, wherein the administrator code comprises at least four characters.
9. An intelligent lock device, comprising a processor, a memory and a computer program stored in the memory and operable on the processor, wherein the processor implements the method for safely restoring factory settings of an intelligent lock according to any one of claims 1 to 8 when executing the computer program.
10. A storage medium having a computer program stored thereon, wherein the computer program is executed to implement the factory setting method for safely restoring the smart lock according to any one of claims 1 to 8.
CN201911345819.0A 2019-12-24 2019-12-24 Method, equipment and storage medium for safely restoring factory settings of intelligent lock Active CN111221580B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911345819.0A CN111221580B (en) 2019-12-24 2019-12-24 Method, equipment and storage medium for safely restoring factory settings of intelligent lock

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911345819.0A CN111221580B (en) 2019-12-24 2019-12-24 Method, equipment and storage medium for safely restoring factory settings of intelligent lock

Publications (2)

Publication Number Publication Date
CN111221580A true CN111221580A (en) 2020-06-02
CN111221580B CN111221580B (en) 2023-11-03

Family

ID=70825882

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911345819.0A Active CN111221580B (en) 2019-12-24 2019-12-24 Method, equipment and storage medium for safely restoring factory settings of intelligent lock

Country Status (1)

Country Link
CN (1) CN111221580B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112836195A (en) * 2021-03-26 2021-05-25 中国工商银行股份有限公司 Password modification method and device for enterprise bank authentication medium
CN114005201A (en) * 2021-10-26 2022-02-01 珠海格力电器股份有限公司 Door lock control method and device, electronic equipment and storage medium
CN115664692A (en) * 2022-08-17 2023-01-31 四川启睿克科技有限公司 Control method for restoring factory settings of door lock
EP4336387A1 (en) * 2022-09-07 2024-03-13 Ambu A/S Configuration of a medical visualisation system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105868621A (en) * 2016-03-25 2016-08-17 深圳市万普拉斯科技有限公司 A password resetting method and device
CN106127888A (en) * 2016-06-14 2016-11-16 天津宅美智能科技有限公司 Smart lock operational approach and smart lock operating system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105868621A (en) * 2016-03-25 2016-08-17 深圳市万普拉斯科技有限公司 A password resetting method and device
CN106127888A (en) * 2016-06-14 2016-11-16 天津宅美智能科技有限公司 Smart lock operational approach and smart lock operating system

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112836195A (en) * 2021-03-26 2021-05-25 中国工商银行股份有限公司 Password modification method and device for enterprise bank authentication medium
CN112836195B (en) * 2021-03-26 2024-03-26 中国工商银行股份有限公司 Password modification method and device for enterprise bank authentication medium
CN114005201A (en) * 2021-10-26 2022-02-01 珠海格力电器股份有限公司 Door lock control method and device, electronic equipment and storage medium
CN115664692A (en) * 2022-08-17 2023-01-31 四川启睿克科技有限公司 Control method for restoring factory settings of door lock
EP4336387A1 (en) * 2022-09-07 2024-03-13 Ambu A/S Configuration of a medical visualisation system

Also Published As

Publication number Publication date
CN111221580B (en) 2023-11-03

Similar Documents

Publication Publication Date Title
CN111221580A (en) Method, equipment and storage medium for safely recovering factory settings of intelligent lock
CN108259502B (en) Authentication method for obtaining interface access authority, server and storage medium
CN106446632B (en) Hidden display starting method and hidden display starting device for application program
US10447694B2 (en) Identity verification method and device
US9634999B1 (en) Mobile device key management
US9679123B2 (en) Password authentication system and password authentication method using consecutive password authentication
US9325704B2 (en) Data access method and device
CN105227321B (en) Information processing method, server and client
CN109462602B (en) Login information storage method, login verification method, device, equipment and medium
US20120054847A1 (en) End point context and trust level determination
CN111182547B (en) Login protection method, device and system
CN110430167B (en) Temporary account management method, electronic device, management terminal and storage medium
CN107241329B (en) Account login processing method and device
CN103702331A (en) Mobile terminal antitheft method and client
CN109040030B (en) Single sign-on method and system
US20160353285A1 (en) Method, Terminal and Server for Processing Information, and Communication Method and System
CN109981677B (en) Credit granting management method and device
KR101553482B1 (en) Authentication System For Password And Method
CN109214182B (en) Method for processing Lesox software in running of virtual machine under cloud platform
EP1737201A1 (en) A method for the safe protecting of the user card
CN111200574A (en) Account establishing method, device and equipment and computer readable storage medium
EP2985712B1 (en) Application encryption processing method, apparatus, and terminal
CN110351296B (en) Application login method and device and related equipment thereof
CN112347462A (en) Server system authentication method, device, electronic computer and storage medium
CN107924610A (en) Method and apparatus for improving the security in Remote triggering, motor vehicle

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
CB02 Change of applicant information

Address after: 511434 No.1 and No.2, Shihua Road, Hualong Town, Panyu District, Guangzhou City, Guangdong Province

Applicant after: Guangdong haomadame smart home Co.,Ltd.

Address before: No.1, No.2 highway, No.2, Panyu, Guangzhou

Applicant before: GUANGDONG KELAINI INTELLIGENT TECHNOLOGY Co.,Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant