CN113393598A - Electronic lock system of external power supply and design method - Google Patents

Electronic lock system of external power supply and design method Download PDF

Info

Publication number
CN113393598A
CN113393598A CN202110634334.4A CN202110634334A CN113393598A CN 113393598 A CN113393598 A CN 113393598A CN 202110634334 A CN202110634334 A CN 202110634334A CN 113393598 A CN113393598 A CN 113393598A
Authority
CN
China
Prior art keywords
key
module
lock
padlock
power supply
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
CN202110634334.4A
Other languages
Chinese (zh)
Other versions
CN113393598B (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.)
Igloohome Shenzhen Co Ltd
Original Assignee
Igloohome Shenzhen 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 Igloohome Shenzhen Co Ltd filed Critical Igloohome Shenzhen Co Ltd
Priority to CN202110634334.4A priority Critical patent/CN113393598B/en
Publication of CN113393598A publication Critical patent/CN113393598A/en
Application granted granted Critical
Publication of CN113393598B publication Critical patent/CN113393598B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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/00309Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys operated with bidirectional data transmission between data carrier and locks
    • 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/00571Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys operated by interacting with a central unit
    • 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/00857Electronically 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 data carrier can be programmed
    • 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/00309Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys operated with bidirectional data transmission between data carrier and locks
    • G07C2009/00507Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys operated with bidirectional data transmission between data carrier and locks keyless data carrier having more than one function
    • G07C2009/00523Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys operated with bidirectional data transmission between data carrier and locks keyless data carrier having more than one function opening of different locks separately
    • 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
    • G07C2009/00753Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys operated by active electrical 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/00857Electronically 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 data carrier can be programmed
    • G07C2009/0088Electronically 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 data carrier can be programmed centrally
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Lock And Its Accessories (AREA)
  • Telephone Function (AREA)

Abstract

The invention discloses an electronic lock system of an external power supply and a design method thereof, wherein the electronic lock system comprises an electronic lock, a lock body and a key, wherein the electronic lock comprises a padlock and a key; the padlock is characterized in that the built-in functional module of the padlock mainly comprises a power supply wireless receiving module, a USB power supply input module, an LDO module, a Bluetooth main control module, a motor driving module, an LED module and a buzzer, and the hardware of the padlock supplies power through the power supply wireless receiving module or the USB power supply input module; after the power supply wireless receiving module or the USB power supply input module inputs power supply, the other functional modules of the padlock are supplied with power through the LDO; the Bluetooth master control module is connected with the motor driving module, the LED module and the buzzer. The padlock of the invention does not need to supply power, and the key can be flexibly added with a plurality of locks, different users can use different passwords to support remote algorithm passwords, even if the key is lost, other people can not be used for unlocking if the other people can not know the passwords.

Description

Electronic lock system of external power supply and design method
Technical Field
The invention relates to an electronic lock system with an external power supply and a design method.
Background
The current intelligent padlock on the market is generally a scheme with a battery, but the scheme with the battery has several problems, 1, the structural design is complex; 2. the batteries need to be replaced; 3. easy damage and the like; the structure design is complex, the cost is high, and the batteries need to be replaced frequently; although a padlock without power supply exists, the padlock only has a Bluetooth unlocking function and does not have a password for unlocking.
Disclosure of Invention
The invention aims to solve the technical problem of providing an electronic lock system with an external power supply and a design method thereof, solving the problem that a padlock does not need to be powered, a plurality of locks can be flexibly added to a key, different users can use different passwords to support remote algorithm passwords, and even if the key is lost, other people cannot be used for unlocking if the other people pick up the passwords but do not know the passwords.
The electronic lock system externally connected with the power supply comprises an electronic lock, and is realized by the following technical scheme: the electronic lock comprises a padlock and a key;
the padlock built-in function module mainly comprises a power supply wireless receiving module, a USB power supply input module, an LDO module, a Bluetooth main control module, a motor driving module, an LED module and a buzzer, and padlock hardware supplies power through the power supply wireless receiving module or the USB power supply input module; after the power supply wireless receiving module or the USB power supply input module inputs power supply, the other functional modules of the padlock are supplied with power through the LDO; the Bluetooth main control module is connected with the motor driving module, the LED module and the buzzer;
the built-in function module of the key piece mainly comprises a USB charging input module, a battery, a USB charging output module, a power wireless transmitting module, an LDO module, a Bluetooth master control module, an RTC real-time clock module, an LED module, a key and a buzzer; the battery is charged through the USB charging input module, and the key hardware supplies power to the padlock through the power supply wireless transmitting module or the USB charging output module; the battery supplies power to other functional modules of the key hardware after being subjected to voltage reduction by the LDO module, and the key controls the Bluetooth master control module, the RTC real-time clock module, the LED module and the buzzer of the key through the Bluetooth master control module.
As a preferred technical scheme, the padlock and the key both accord with a G2 protocol, and need to be paired with a mobile phone when in use, and the padlock and the key both have a shared secret key after being matched.
A design method of an electronic lock externally connected with a power supply specifically comprises the following steps:
s1, pairing the mobile phone with the padlock:
the mobile phone pairs the padlock according to a G2 protocol, after the pairing is completed, the padlock stores an admin _ key1, and the admin _ key1 is also stored on the server;
s2, pairing the mobile phone with the key:
after the key is powered on, the mobile phone pairs the key according to the G2 protocol, the key stores an admin _ key2 after the key is paired, and the admin _ key2 is also stored on the server.
S3, add lock to key/delete added lock:
and (3) adding a lock: firstly, a server generates a token connected with a guest through admin _ key1 of a padlock, then connects a key, sends a LOCK adding command, sends the broadcast name of the padlock, the token, a guest key and a command password as parameters to the key, the key receives the command, analyzes the data, stores LOCK _ ID, and stores the token, the guest key and the command password to a flash to complete LOCK adding operation;
and (3) lock deletion process: sending a LOCK deleting command, sending the LOCK ID as a parameter to the key, and deleting the related information of the LOCK in the flash by the key through the LOCK _ ID;
s4, add password/delete password or produce algorithm password:
the mobile phone is connected with the lock through the admin/guest and sends an adding command/deleting command, wherein the adding command is to store the password in the flash, and the deleting command is to delete the password from the flash; the production algorithm password is an effective algorithm password for 24 hours generated by the timestamp and the admin key;
s5, inputting a password:
a user inputs a string of digital key master controllers on a keyboard of a key to judge whether the password is added or whether the password is an algorithm password or not through a real-time clock, if the password is judged to be valid, the key authority is obtained, external output voltage can be started, a scanning function is started by the key, the scanned LOCK _ ID is compared with the added LOCK, if the password is valid, the token of the LOCK _ ID is taken out, a command sending module is called again, guest connection of the scanned LOCK is initiated, and after the LOCK is connected, an unlocking instruction is sent, and the padlock can be opened.
The invention has the beneficial effects that: the invention solves the problem that the padlock does not need to be powered, a plurality of locks can be flexibly added to the key, different users can use different passwords to support remote algorithm passwords, and even if the key is lost, other people cannot be used for unlocking if the other people find the password but do not know the password.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a block diagram of the system of the present invention;
FIG. 2 is a schematic diagram of the pairing process of the present invention.
Detailed Description
All of the features disclosed in this specification, or all of the steps in any method or process so disclosed, may be combined in any combination, except combinations of features and/or steps that are mutually exclusive.
Any feature disclosed in this specification (including any accompanying claims, abstract and drawings), may be replaced by alternative features serving equivalent or similar purposes, unless expressly stated otherwise. That is, unless expressly stated otherwise, each feature is only an example of a generic series of equivalent or similar features.
In the description of the present invention, it is to be understood that the terms "one end", "the other end", "outside", "upper", "inside", "horizontal", "coaxial", "central", "end", "length", "outer end", and the like, indicate orientations or positional relationships based on those shown in the drawings, and are used only for convenience in describing the present invention and for simplicity in description, and do not indicate or imply that the device or element being referred to must have a particular orientation, be constructed in a particular orientation, and be operated, and thus, should not be construed as limiting the present invention.
Further, in the description of the present invention, "a plurality" means at least two, e.g., two, three, etc., unless specifically limited otherwise.
The use of terms such as "upper," "above," "lower," "below," and the like in describing relative spatial positions herein is for the purpose of facilitating description to describe one element or feature's relationship to another element or feature as illustrated in the figures. The spatially relative positional terms may be intended to encompass different orientations of the device in use or operation in addition to the orientation depicted in the figures. For example, if the device in the figures is turned over, elements described as "below" or "beneath" other elements or features would then be oriented "above" the other elements or features. Thus, the exemplary term "below" can encompass both an orientation of above and below. The device may be otherwise oriented and the spatially relative descriptors used herein interpreted accordingly.
In the present invention, unless otherwise explicitly specified or limited, the terms "disposed," "sleeved," "connected," "penetrating," "plugged," and the like are to be construed broadly, e.g., as a fixed connection, a detachable connection, or an integral part; can be mechanically or electrically connected; they may be directly connected or indirectly connected through intervening media, or they may be connected internally or in any other suitable relationship, unless expressly stated otherwise. The specific meanings of the above terms in the present invention can be understood by those skilled in the art according to specific situations.
As shown in fig. 1, the electronic lock system of the external power supply of the present invention includes a padlock and a key;
the padlock built-in function module mainly comprises a power supply wireless receiving module, a USB power supply input module, an LDO module, a Bluetooth main control module, a motor driving module, an LED module and a buzzer, and padlock hardware supplies power through the power supply wireless receiving module or the USB power supply input module; after the power supply wireless receiving module or the USB power supply input module inputs power supply, the other functional modules of the padlock are supplied with power through the LDO; the Bluetooth master control module is connected with the motor driving module, the LED module and the buzzer, and is responsible for communicating with the key through Bluetooth, unlocking the driving motor and controlling the LED display and the buzzer.
The built-in function module of the key mainly comprises a USB charging input module, a battery, a USB charging output module, a power wireless transmitting module, an LDO module, a Bluetooth master control module, an RTC real-time clock module, an LED module, a key and a buzzer; the battery is charged through the USB charging input module, and the key hardware supplies power to the padlock through the power supply wireless transmitting module or the USB charging output module; the battery supplies power for other function modules of the key hardware after the voltage of the battery is reduced by the LDO module, the keys control the Bluetooth master control module of the key through the Bluetooth master control module, the RTC real-time clock module, the LED module and the buzzer, the key is responsible for communicating with a padlock or a mobile phone through Bluetooth, the key is responsible for receiving and judging whether the input of the keys is correct, the key is responsible for controlling LED display and the buzzer, and the RTC provides real-time clock for the Bluetooth master control module.
In this embodiment, the G2 protocol:
1. pairing: when the lock leaves a factory, the lock is waiting for pairing, a user needs to exchange a key through pairing, and performs some necessary configuration, and a paring characteristic value is used as a communication interface;
the first step is as follows: the Lock End (LE) generates a private key private _ key1 and a public key public _ key1 using an ECDH key exchange algorithm
The second step is that: the Control End (CE) also uses ECDH P-256 to generate private key private _ key2 and public key public _ key2
The third step: LE sends public _ key1 to CE: CE issues public _ key2 to LE.
The fourth step: LE calculates shared KEY S _ KEY using private _ KEY1 and public _ KEY 2; the CE calculates a shared KEY S _ KEY by using private _ KEY2 and public _ KEY 1; and intercept one of the segments (ADMIN KEY) to be stored locally as a KEY for subsequent communications.
The fifth step: the control end encrypts some configuration information with ADMIN _ KEY and sends it to the lock end (including command password); the lock end receives and analyzes the command and then returns success information to the control end, and therefore the whole pairing is completed.
2. Connecting: the lock communicates with any control terminal, connection needs to be established, and after connection, all communication is encrypted by using S _ KEY and adopting AES-CCM.
Admin ligation:
the first step is as follows: the control terminal subscribes the admin characteristic value, and after receiving the subscription information, the lock terminal sends a data packet (random number nonce L + admin connection first step command) to the control terminal;
the second step is that: after receiving the command, the control end encrypts the command by using the ADMIN _ KEY and the nonce L and sends a data packet (the random number nonce P + ADMIN is connected with the second step command) to the lock end.
The third step: after receiving the data packet sent by the second step, the lock end decrypts the data packet by using the ADMIN _ KEY and the nonce L, and after judging that the data is correct, encrypts the data packet by using the ADMIN _ KEY and the nonce P and sends a data packet (the third step is a result of the connection command plus the connection success or failure).
The fourth step: and the control terminal decrypts the data packet sent by the third step by using the ADMIN _ KEY and the noncEP, and completes the connection after judging that the data is correct.
Guest ligation:
the first step is as follows: the control end subscribes the guest characteristic value and sends a data packet (a guest connects the first step command + nonce + token) to the lock end; where token is data encrypted using ADMIN _ KEY and nonce (GUEST authority + validity period + GUEST KEY GUEST _ KEY).
A second part: after receiving the data sent by the control end, the lock end decrypts the token by using the ADMIN _ KEY and the nonce to obtain the (GUEST authority + validity period + GUEST KEY GUEST _ KEY). Then, the lock end sends a data packet (nonce l + second step connect command) to the control end.
The third step: the control end encrypts a data packet (nonceP + third step connection command) by using the GUEST _ KEY and the noncEL and sends the data packet to the lock end.
The fourth step: and the lock end decrypts the data packet in the third step by using the GUEST _ KEY and the nonceL which are analyzed from the token, judges whether the data is correct or not, encrypts the data packet by using the GUEST _ KEY and the nonceP and sends a data packet (the result of the fourth step, namely the connection command and the connection success or not).
The fifth step: and the control terminal decrypts the data sent by the third step by using the GUEST _ KEY and the noncEP after receiving the data, and completes connection after judging that the data are correct.
In the embodiment, the padlock and the key both conform to the G2 protocol, and need to be paired with the mobile phone when in use, and the padlock and the key both have a shared key after being matched; a user can add a plurality of paired locks to the key of the user; and can establish self-defining password or generate algorithm password on the key, user's input bluetooth password on the keyboard can both obtain the key authority, just so can supply power outward and send the instruction of unblanking to outside, the key still supports functions such as long-range password function, synchronous clock establishment password simultaneously, locks and gets the electricity and can send the broadcast, waits for the key to connect and sends and unblank/close the lock instruction, the lock receives the instruction and can drive motor unblank/close the lock.
As shown in fig. 2, a method for designing an electronic lock with an external power supply specifically includes the following steps:
s1, pairing the mobile phone with the padlock:
the mobile phone pairs the padlock according to a G2 protocol, after the pairing is completed, the padlock stores an admin _ key1, and the admin _ key1 is also stored on the server;
s2, pairing the mobile phone with the key:
after the key is powered on, the mobile phone pairs the key according to the G2 protocol, the key stores an admin _ key2 after the key is paired, and the admin _ key2 is also stored on the server.
S3, add lock to key/delete added lock:
and (3) adding a lock: firstly, a server generates a token connected with a guest through admin _ key1 of a padlock (refer to a G2 guest connection first step), then a key is connected (either admin connection or guest connection is available), a LOCK adding command is sent, a padlock broadcast name (LOCK _ ID), the token, a guest key and a command password (password) are used as parameters to be sent to the key, the key receives the command and analyzes data, then the LOCK _ ID, the token, the guest key and the command password (password) are stored in a flash, and the LOCK adding operation is completed;
and (3) lock deletion process: and sending a LOCK deleting command, sending a LOCK ID (LOCK _ ID) as a parameter to the key, and deleting the related information of the LOCK in the flash by the key through the LOCK _ ID.
S4, add password/delete password or produce algorithm password:
the mobile phone is connected with the lock through the admin/guest and sends an adding command/deleting command, wherein the adding command is to store the password in the flash, and the deleting command is to delete the password from the flash; the production algorithm password is an algorithm password which is effective for 24 hours and is generated by the timestamp and the admin key.
S5, inputting a password:
a user inputs a string of numbers (such as 123456#) on a keyboard of a key, a key master controller judges whether the password is added or calculated through a real-time clock to judge whether the password is an algorithm password, if the password is judged to be valid, the key authority is obtained, external output voltage (usb/wireless power supply) can be started, a key starts a scanning function, a scanned LOCK _ ID is compared with an added LOCK, if the password is valid, a token of the LOCK _ ID is taken out, a command sending module is called again, guest connection to the scanned LOCK is initiated, and after the LOCK is connected, an unlocking command is sent, and the padlock can be unlocked.
The above description is only an embodiment of the present invention, but the scope of the present invention is not limited thereto, and any changes or substitutions that are not thought of through the inventive work should be included in the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope defined by the claims.

Claims (3)

1. The utility model provides an external power supply's electronic lock system, includes electronic lock, its characterized in that: the electronic lock comprises a padlock and a key;
the padlock is characterized in that the built-in functional module of the padlock mainly comprises a power supply wireless receiving module, a USB power supply input module, an LDO module, a Bluetooth main control module, a motor driving module, an LED module and a buzzer, and the hardware of the padlock supplies power through the power supply wireless receiving module or the USB power supply input module; after the power supply wireless receiving module or the USB power supply input module inputs power supply, the other functional modules of the padlock are supplied with power through the LDO; the Bluetooth main control module is connected with the motor driving module, the LED module and the buzzer;
the built-in function module of the key mainly comprises a USB charging input module, a battery, a USB charging output module, a power wireless transmitting module, an LDO module, a Bluetooth master control module, an RTC real-time clock module, an LED module, a key and a buzzer; the battery is charged through the USB charging input module, and the key hardware supplies power to the padlock through the power supply wireless transmitting module or the USB charging output module; the battery supplies power to other functional modules of the key hardware after being subjected to voltage reduction by the LDO module, and the key controls the Bluetooth master control module, the RTC real-time clock module, the LED module and the buzzer of the key through the Bluetooth master control module.
2. An external power supply electronic lock system as claimed in claim 1, wherein: the padlock and the key are matched with the mobile phone when in use, and the padlock and the key are provided with a shared secret key after matching.
3. A design method of an electronic lock externally connected with a power supply specifically comprises the following steps:
s1, pairing the mobile phone with the padlock:
the mobile phone is paired with the padlock, after pairing is completed, the padlock can store an admin _ key1, and the admin _ key1 can be stored on the server;
s2, pairing the mobile phone with the key:
after the key is powered on, the mobile phone pairs the key, the key can store an admin _ key2 after the key is paired, and the admin _ key2 can be stored on the server;
s3, add lock to key/delete added lock:
and (3) adding a lock: firstly, a server generates a token connected with a guest through admin _ key1 of a padlock, then connects a key, sends a LOCK adding command, sends the broadcast name of the padlock, the token, a guest key and a command password as parameters to the key, the key receives the command, analyzes the data, stores LOCK _ ID, and stores the token, the guest key and the command password to a flash to complete LOCK adding operation;
and (3) lock deletion process: and sending a LOCK deleting command, sending the LOCK ID as a parameter to the key, and deleting the relevant information of the LOCK in the flash by the key through the LOCK _ ID.
S4, add password/delete password or produce algorithm password:
the mobile phone is connected with the lock through the admin/guest and sends an adding command/deleting command, wherein the adding command is to store the password in the flash, and the deleting command is to delete the password from the flash; the production algorithm password is an effective algorithm password for 24 hours generated by the timestamp and the admin key;
s5, inputting a password:
a user inputs a string of digital key master controllers on a keyboard of a key to judge whether the password is added or whether the password is an algorithm password or not through a real-time clock, if the password is judged to be valid, the key authority is obtained, external output voltage can be started, a scanning function is started by the key, the scanned LOCK _ ID is compared with the added LOCK, if the password is valid, the token of the LOCK _ ID is taken out, a command sending module is called again, guest connection of the scanned LOCK is initiated, and after the LOCK is connected, an unlocking instruction is sent, and the padlock can be opened.
CN202110634334.4A 2021-06-07 2021-06-07 Electronic lock system of external power supply Active CN113393598B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110634334.4A CN113393598B (en) 2021-06-07 2021-06-07 Electronic lock system of external power supply

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110634334.4A CN113393598B (en) 2021-06-07 2021-06-07 Electronic lock system of external power supply

Publications (2)

Publication Number Publication Date
CN113393598A true CN113393598A (en) 2021-09-14
CN113393598B CN113393598B (en) 2023-02-21

Family

ID=77618667

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110634334.4A Active CN113393598B (en) 2021-06-07 2021-06-07 Electronic lock system of external power supply

Country Status (1)

Country Link
CN (1) CN113393598B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114743295A (en) * 2022-04-11 2022-07-12 杨勇 Wireless encrypted digital lock and unlocking method thereof

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103291138A (en) * 2012-03-02 2013-09-11 深圳光启创新技术有限公司 Light-control door lock system and control method thereof
CN104123768A (en) * 2014-06-13 2014-10-29 厦门华数电力科技有限公司 Safety intelligent lock system and unlocking and locking control method
CN204667499U (en) * 2015-05-27 2015-09-23 河南传通电子科技有限公司 A kind of based on bluetooth password two-way authentication passive locks
CN105023334A (en) * 2015-08-10 2015-11-04 广东文城科技发展有限公司 Unlocking and locking control method based on cloud platform and mobile phone APP
CN106600794A (en) * 2016-12-28 2017-04-26 深圳市正拓盛世精密设备有限公司 Intelligent Bluetooth electronic lock
CN110827455A (en) * 2019-11-28 2020-02-21 上海蓝精灵科技有限公司 Intelligent passive lock adopting wireless coil to supply power in induction mode
CN212460630U (en) * 2020-04-28 2021-02-02 芯盾物联(北京)信息技术有限公司 Lockset, Bluetooth key and electronic lock system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103291138A (en) * 2012-03-02 2013-09-11 深圳光启创新技术有限公司 Light-control door lock system and control method thereof
CN104123768A (en) * 2014-06-13 2014-10-29 厦门华数电力科技有限公司 Safety intelligent lock system and unlocking and locking control method
CN204667499U (en) * 2015-05-27 2015-09-23 河南传通电子科技有限公司 A kind of based on bluetooth password two-way authentication passive locks
CN105023334A (en) * 2015-08-10 2015-11-04 广东文城科技发展有限公司 Unlocking and locking control method based on cloud platform and mobile phone APP
CN106600794A (en) * 2016-12-28 2017-04-26 深圳市正拓盛世精密设备有限公司 Intelligent Bluetooth electronic lock
CN110827455A (en) * 2019-11-28 2020-02-21 上海蓝精灵科技有限公司 Intelligent passive lock adopting wireless coil to supply power in induction mode
CN212460630U (en) * 2020-04-28 2021-02-02 芯盾物联(北京)信息技术有限公司 Lockset, Bluetooth key and electronic lock system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114743295A (en) * 2022-04-11 2022-07-12 杨勇 Wireless encrypted digital lock and unlocking method thereof

Also Published As

Publication number Publication date
CN113393598B (en) 2023-02-21

Similar Documents

Publication Publication Date Title
US11799671B2 (en) Secure locking of physical resources using asymmetric cryptography
EP2583430B1 (en) Wireless device enabled locking system
JP6717793B2 (en) Car sharing system and car sharing device
CN103871133A (en) Intelligent lock system for electric power measurement cabinet
CN104050742A (en) Intelligent door and control method and system thereof
CN105006051B (en) The wireless communications method and system of intelligent distant control door lock
CN103941654A (en) Intelligent household control system with automatically activated functions and accessories thereof
CN203966209U (en) Electric-power metering cabinet intelligent lock system
CN107795199A (en) The control method and control device of a kind of electronic lock
CN107341885A (en) A kind of intelligent door lock management system
CN106593135A (en) Lock system based on wireless communication and control method of lock system
CN105451231A (en) Proxy device Internet of Things configuration method with high safety and low power consumption, and system implementing method
CN107845169A (en) A kind of unlocking system and method for unlocking based on dynamic password
CN103679860A (en) Home anti-theft system and working method thereof
CN205080626U (en) Intelligence lock system based on thing networking
CN203050276U (en) Intelligent door lock and unlocking system
CN111243133A (en) Bluetooth door lock system based on dynamic password generation and matching and unlocking method
CN103093531A (en) Lock system controlled by internet
KR20150057802A (en) System and the Method of Key Management for Sensor Network Security
CN113393598B (en) Electronic lock system of external power supply
CN109649330A (en) Vehicle shared system
CN107909685A (en) A kind of unlocking system and method for unlocking based on dynamic password
CN203950367U (en) A kind of bluetooth cellular phone unlocking system
JP4624322B2 (en) Terminal authentication system and server
CN204166592U (en) A kind of dynamic puzzle-lock

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