CN108182745A - The smart lock and its encryption method of a kind of decentralization - Google Patents
The smart lock and its encryption method of a kind of decentralization Download PDFInfo
- Publication number
- CN108182745A CN108182745A CN201810037034.6A CN201810037034A CN108182745A CN 108182745 A CN108182745 A CN 108182745A CN 201810037034 A CN201810037034 A CN 201810037034A CN 108182745 A CN108182745 A CN 108182745A
- Authority
- CN
- China
- Prior art keywords
- smart lock
- lock
- equipment
- code
- unit
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 16
- 238000004891 communication Methods 0.000 claims abstract description 14
- 238000012795 verification Methods 0.000 claims description 3
- 230000000630 rising effect Effects 0.000 abstract description 2
- 238000005516 engineering process Methods 0.000 description 4
- 230000005611 electricity Effects 0.000 description 2
- 230000007547 defect Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 235000013399 edible fruits Nutrition 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 238000002559 palpation Methods 0.000 description 1
- 210000001747 pupil Anatomy 0.000 description 1
- 230000009897 systematic effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07C—TIME 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/00—Individual registration on entry or exit
- G07C9/00174—Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
- G07C9/00309—Electronically 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
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07C—TIME 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/00—Individual registration on entry or exit
- G07C9/00174—Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
- G07C9/00309—Electronically 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/00412—Electronically 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 the transmitted data signal being encrypted
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Lock And Its Accessories (AREA)
- Telephone Function (AREA)
Abstract
A kind of smart lock of decentralization:It is made of smart lock control device and mobile equipment.Smart lock includes:Main control unit 1, bluetooth communication module 2, encryption unit, decryption unit 3, access unit 4, motor driving module 5, lock core mechanism 6, piezoelectric transducer 7 and power module 8.Mobile 9 running control software app of equipment, and have bluetooth hardware functions of the equipments and support with the bluetooth communication module of smart lock into row data communication.Encryption method is sampled by slow clock signal in rising edge using d type flip flop, and the signal jitter of fast oscillator makes sample magnitude have uncertainty, and each sampled point generates a random order, finally constitutes random code.After random code and the mobile exclusive condition code of equipment are mixed, using 128 AES symmetric cryptosystems processing and result is stored into the access unit of Fig. 1 treated.
Description
Technical field
The present invention relates to the blue-tooth technology in Intelligent hardware field, the smart lock of more particularly to a kind of decentralization and its
Encryption method.
Background technology
Now there are RFID locks, biological intelligence lock in the market(Fingerprint Lock, eye pupil lock, recognition of face lock)And traditional machinery
Lock, electronic lock.Since biological intelligence lock accuracy rate is low, equipment price is high, and electronic lock is easily cracked, and tradition machinery lock key is taken
Band is inconvenient, therefore application is restricted very much.
With the development of electronic technology, smart mobile phone has become necessity for people's lives, and skill is communicated using Bluetooth of mobile phone
The technical solution of art control smart lock is at low cost, has very big market popularization value.
Since common smart lock data interaction safety is poor, data are easily intercepted and crack, on the market most of smart lock
The encryption technology of application is the mode verified based on back-end server, is easy to cause that user information leaks and use environment must have
Standby network condition.
Invention content
Low the invention aims to solve current smart lock safety based on prior art defect, equipment cost is high, needs
A kind of decentralization for wanting the problems such as adequate and systematic service device verification and proposing verifies and have Gao An without back-end server
The smart lock and its encryption method of full property and sharing.
To achieve the above object, the present invention propose decentralization smart lock and its encryption method technical solution such as
Under:It is made of smart lock control device and mobile equipment.The smart lock control device includes:Main control unit, bluetooth communication
Module, encryption unit, decryption unit, data access unit, motor driving module, lock core mechanism, piezoelectric transducer and power supply mould
Block.
The mobile equipment includes but not limited to:Smart mobile phone, personal notebook, mobile wearable device etc..It is described
Mobile equipment must have can running control software app, and have bluetooth hardware functions of the equipments, support the bluetooth with smart lock
Communication module group is into row data communication.
The bluetooth communication module is connected with main control unit, and the bluetooth progress data for being responsible for main control unit and mobile equipment are led to
News.
The data access unit is connected with main control unit, is responsible for storage random code, the exclusive condition code of mobile equipment, shares
Secret key, administrator's secret key and other system related informations etc..
The power module is connected with main control unit, is responsible for providing smart lock energy source and power, supports to charge for smart lock.
The piezoelectric transducer is connect with main control unit, is responsible for switching intelligent lock system state, including:Working condition is treated
Machine state, system manager's state;
The motor drive module is connected with main control unit, according to main control unit control instruction, motor drive module manipulation lock core
Mechanism, realization open or close smart lock.
The encryption unit includes:Fast oscillator, slow clock signal and d type flip flop form random bit stream, with
Machine bit stream is with the mobile exclusive condition code of equipment(Chip id)By encrypting rule, smart lock secret key is ultimately generated.
The decryption unit:Decryption unit is to the secret key that receives, counter to solve former random code and equipment is special using decryption rule
Belong to condition code, by checking random code and the exclusive condition code of equipment respectively, whether verification secret key is correct.
Smart lock provided by the invention, has the feature that:Smart lock has ble using bluetooth 4.0 and above communication
Low-power consumption bluetooth characteristic.
Smart lock provided by the invention, has the feature that:Smart lock power module supports usb to charge, in smart lock
Put battery.
Encryption method provided by the invention, has the feature that:Smart lock has with mobile equipment is associated with encryption, intelligence
The exclusive condition code for locking the random code of generation and the mobile equipment of connection carries out Hybrid Encryption.Smart lock should with mobile device talk
It is handled with 128 AES symmetric cryptosystems.
The random code is generated at random by encryption unit, and after often completing primary lock service life, random code can give birth to again
Into.Primary lock service life refers to:Setting password is unlocked, success of unlocking using the password.Above-mentioned primary lock is completed to use
After period, random code can be reset.
The mobile exclusive condition code of equipment can be the chip spy of 12 bluetooth mac address codes of mobile equipment, mobile equipment
Levy the exclusive unique mark of the mobile equipment such as code.
Description of the drawings
Fig. 1 illustrates this smart lock specific composition block diagrams.
Fig. 2 illustrates the relationship of piezoelectric transducer and intelligent lock system working condition.
Fig. 3 illustrates encryption/decryption flow chart of the present invention
Fig. 4 illustrates this smart lock random number generator operation principle
Fig. 5 illustrates encryption method of the present invention
Fig. 6 illustrates decryption method of the present invention
Specific embodiment
It is right below in conjunction with drawings and examples in order to make the technical problems to be solved by the invention, technical solution apparent
The present invention is further described.It should be appreciated that specific embodiment described herein
The parsing present invention is only used for, is not intended to limit the present invention.
As shown in Figure 1, the smart lock of the decentralization described in the present embodiment:By smart lock control device and mobile equipment structure
Into.Smart lock includes:Main control unit 1, bluetooth communication module 2, encryption unit, decryption unit 3, access unit 4, motor driving mould
Group 5, lock core mechanism 6, piezoelectric transducer 7 and power module 8.Mobile equipment 9 includes but not limited to:Smart mobile phone, personal notes
Originally, mobile wearable device etc..The mobile equipment must have can running control software app, and have bluetooth hardware
Functions of the equipments are supported with the bluetooth communication module of smart lock into row data communication.
There are three types of system modes for smart lock:Working condition, standby mode, system manager's state.Piezoelectric transducer and intelligence
The relationship of energy lock system working condition is as shown in Figure 2, and three kinds of system modes to piezoelectric transducer 7 by operating to switch.Piezoelectricity
Sensor 7 experiences user click frequency, electric signal is passed to main control unit 1, main control unit 1 carries out smart lock according to number
System mode switches.Smart lock is usually in order to save electricity, in standby mode.User can be carried out by individual palpation piezoelectric transducer
Wake up smart lock.
Power module 8 provides the energy for main control unit, and user can give power module internal battery by usb(It is not shown)It fills
Electricity, battery capacity can be prompted by indicator light(It is not shown).
Encrypting and decrypting flow is as shown in figure 3, in the operating condition, main control unit 1 controls bluetooth communication module 2 to carry out bluetooth
Signal is broadcasted, and mobile equipment 9 any at this time can be connect with smart lock.In connection after smart lock, smart lock access unit 4, such as
There are preset user passwords for fruit access unit 4, then user can be prompted to be manually entered password on the app interfaces of mobile equipment 9
It unlocks or is unlocked with the machine bluetooth secret key, the correct bluetooth lock of password is opened.If there is no default for smart lock access unit 4
User password then can prompt one password of User Defined on the app interfaces of mobile equipment 9 or be locked using bluetooth is obtained
Random cipher, after user determines selection, bluetooth lock reenters standby mode.
It obtains bluetooth random cipher to be made of Fig. 4 random number generators, random number generator is contained in encryption unit 3.
The encryption unit includes:Fast oscillator, slow clock signal and d type flip flop form random bit stream, random bit stream
With the mobile exclusive condition code of equipment(Chip id)By encrypting legal system, smart lock secret key is ultimately generated.
Slow clock signal is sampled in rising edge using d type flip flop, and the signal jitter of fast oscillator makes sample magnitude
With uncertainty, each sampled point generates a random order, finally constitutes random code.
Fig. 5 illustrates encryption method of the present invention, after random code and the mobile exclusive condition code of equipment mix, application
128 AES symmetric cryptosystems are handled and result is stored into the access unit of Fig. 1 treated.
Fig. 6 illustrates decryption method of the present invention, and process is decrypted in user, is passed through by password input by user
Fig. 1 decryption units 3 isolate random code and exclusive condition code, and main control unit is checked respectively with whether access unit data are consistent,
As a result correct, main control unit 1 controls motor driving module 5 that lock core mechanism is controlled to unlock.
Long-press piezoelectric transducer 7, smart lock enter system manager's state, and user can be with the system manager of input default
Password carries out pressure unlocking.
In order to ensure safety that user uses, the random code is generated at random by encryption unit, is completed every time primary
After locking service life, random code can regenerate.Primary lock service life refers to:Password is set, is unlocked using the password,
It unlocks successfully.After completing above-mentioned primary lock service life, random code can be reset.
Smart lock shares secret key, and encrypted secret key can be shared to other one by smart lock together with the exclusive condition code of equipment
Platform moves equipment, in addition moves equipment and is checked by inputting secret key and the exclusive condition code of equipment, can correctly be unlocked.
Preferred case of the above-described embodiment for the present invention, the protection domain being not intended to restrict the invention.
Claims (9)
1. the smart lock and its encryption method of a kind of decentralization:It is made of smart lock control device and mobile equipment, it is described
Smart lock control device includes:Main control unit, bluetooth communication module, encryption unit, decryption unit, data access unit, motor
Drive module, lock core mechanism, piezoelectric transducer and power module.
2. being connected according to smart lock, data access unit described in permission 1 with main control unit, it is responsible for storage random code, mobile equipment
Exclusive condition code, shared secret key, administrator's secret key and system related information etc..
3. being connect according to smart lock, piezoelectric transducer described in permission 1 with main control unit, it is responsible for switching intelligent lock system state, packet
It includes:Working condition, standby mode, system manager's state.
4. included according to smart lock, encryption unit described in permission 1:Fast oscillator, slow clock signal and d type flip flop structure
Into random bit stream, random bit stream with the mobile exclusive condition code of equipment(Chip id)By encrypting rule, intelligence is ultimately generated
Lock secret key.
5. according to smart lock described in permission 1, the decryption unit:Decryption unit using decryption rule, instead solves the secret key received
Go out former random code and the exclusive condition code of equipment, by checking random code and the exclusive condition code of equipment respectively, whether just verification secret key
Really.
6. according to smart lock described in permission 1, smart lock provided by the invention has the feature that:Smart lock uses bluetooth 4.0
And above communication, have ble low-power consumption bluetooth characteristics.
7. according to the encryption method described in permission 1, have the feature that:Smart lock has with mobile equipment is associated with encryption, intelligence
The exclusive condition code that the random code of generation and the mobile equipment of connection can be locked carries out Hybrid Encryption, smart lock and mobile device talk
It is handled using 128 AES symmetric cryptosystems.
8. according to the encryption method described in permission 1, the random code is generated at random by encryption unit, is often completed primary lock and is used
After period, random code can regenerate;Primary lock service life refers to:Setting password is unlocked using the password, is unlocked into
Work(, after completing above-mentioned primary lock service life, random code can be reset.
9. according to the encryption method described in permission 1, with moving 12 bluetooth mac that the exclusive condition code of equipment can be mobile equipment
The exclusive unique marks of mobile equipment such as location code, the chip features code for moving equipment.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810037034.6A CN108182745A (en) | 2018-01-15 | 2018-01-15 | The smart lock and its encryption method of a kind of decentralization |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810037034.6A CN108182745A (en) | 2018-01-15 | 2018-01-15 | The smart lock and its encryption method of a kind of decentralization |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108182745A true CN108182745A (en) | 2018-06-19 |
Family
ID=62550694
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810037034.6A Pending CN108182745A (en) | 2018-01-15 | 2018-01-15 | The smart lock and its encryption method of a kind of decentralization |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108182745A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109166216A (en) * | 2018-08-27 | 2019-01-08 | 武汉市国扬科技集团有限公司 | A kind of control method and device of smart bluetooth door lock |
CN109509276A (en) * | 2018-10-09 | 2019-03-22 | 深圳中泰智丰物联网科技有限公司 | Smart lock machine core code management system and device |
CN109872423A (en) * | 2019-01-17 | 2019-06-11 | 深圳旦倍科技有限公司 | A kind of intelligent door lock system |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN204375043U (en) * | 2015-02-06 | 2015-06-03 | 北京博联科科技有限公司 | Smart bluetooth is locked |
CN105321236A (en) * | 2014-07-30 | 2016-02-10 | 许加庆 | Bluetooth bidirectional communication intelligent lock |
CN205140033U (en) * | 2015-10-22 | 2016-04-06 | 深圳优方网络技术有限公司 | Electron password privilege management system of intelligence lock |
CN205140035U (en) * | 2015-10-22 | 2016-04-06 | 深圳优方网络技术有限公司 | Mobile terminal and intelligent communication system who locks |
CN106952370A (en) * | 2017-03-16 | 2017-07-14 | 武汉世纪金桥安全技术有限公司 | A kind of blue-tooth intelligence locks secret key composite authentication system |
-
2018
- 2018-01-15 CN CN201810037034.6A patent/CN108182745A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105321236A (en) * | 2014-07-30 | 2016-02-10 | 许加庆 | Bluetooth bidirectional communication intelligent lock |
CN204375043U (en) * | 2015-02-06 | 2015-06-03 | 北京博联科科技有限公司 | Smart bluetooth is locked |
CN205140033U (en) * | 2015-10-22 | 2016-04-06 | 深圳优方网络技术有限公司 | Electron password privilege management system of intelligence lock |
CN205140035U (en) * | 2015-10-22 | 2016-04-06 | 深圳优方网络技术有限公司 | Mobile terminal and intelligent communication system who locks |
CN106952370A (en) * | 2017-03-16 | 2017-07-14 | 武汉世纪金桥安全技术有限公司 | A kind of blue-tooth intelligence locks secret key composite authentication system |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109166216A (en) * | 2018-08-27 | 2019-01-08 | 武汉市国扬科技集团有限公司 | A kind of control method and device of smart bluetooth door lock |
CN109509276A (en) * | 2018-10-09 | 2019-03-22 | 深圳中泰智丰物联网科技有限公司 | Smart lock machine core code management system and device |
CN109872423A (en) * | 2019-01-17 | 2019-06-11 | 深圳旦倍科技有限公司 | A kind of intelligent door lock system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8700908B2 (en) | System and method for managing secure information within a hybrid portable computing device | |
CN106600797B (en) | Motion graphics coded lock, server, shared system and its unlocking and blocking method | |
RU2346396C2 (en) | Protection marker | |
CN103929306B (en) | The approaches to IM of intelligent cipher key equipment and intelligent cipher key equipment | |
CN107508679B (en) | Binding and authentication method for intelligent terminal main control chip and encryption chip | |
CA2713787C (en) | Protocol for protecting content protection data | |
AU2006205272A1 (en) | Security code production method and methods of using the same, and programmable device therefor | |
CN102255109B (en) | Authentication method for mobile terminal battery, and mobile terminal thereof | |
CN205140035U (en) | Mobile terminal and intelligent communication system who locks | |
CN103973437B (en) | The method, apparatus and system of RSA key mandate are obtained when a kind of terminal locking | |
CN107995617A (en) | A kind of solid storage device for supporting telesecurity to destroy design | |
EP2937806A1 (en) | Method and system for securing electronic data exchange between an industrial programmable device and a portable programmable device | |
CN103888429B (en) | Virtual machine starts method, relevant device and system | |
CN205121680U (en) | Bluetooth lock system based on intelligent terminal | |
CN101488111A (en) | Identification authentication method and system | |
CN108182745A (en) | The smart lock and its encryption method of a kind of decentralization | |
CN109460639A (en) | A kind of license authentication control method, device, terminal and storage medium | |
CN107967733A (en) | Door lock door opening method, door lock and computer-readable recording medium | |
US20120124378A1 (en) | Method for personal identity authentication utilizing a personal cryptographic device | |
CN105631298B (en) | A kind of ciphering and deciphering device and method | |
CN108900296A (en) | A kind of code key storage device and method based on living things feature recognition | |
CN109389710A (en) | Intelligent door lock system based on RSA Algorithm Yu BLE low-power consumption bluetooth | |
CN1953366B (en) | Password management method and system for intelligent secret key device | |
CN117240475B (en) | Communication method, system, equipment and medium of intelligent door lock | |
CN101345947A (en) | Mobile phone locking method, unlocking method, locking device and mobile phone |
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 | ||
WD01 | Invention patent application deemed withdrawn after publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20180619 |