CN107393061A - Coded lock and communication system with communication capacity - Google Patents
Coded lock and communication system with communication capacity Download PDFInfo
- Publication number
- CN107393061A CN107393061A CN201710459003.5A CN201710459003A CN107393061A CN 107393061 A CN107393061 A CN 107393061A CN 201710459003 A CN201710459003 A CN 201710459003A CN 107393061 A CN107393061 A CN 107393061A
- Authority
- CN
- China
- Prior art keywords
- password
- communication
- generator
- lock
- interface
- 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.)
- Withdrawn
Links
- 238000004891 communication Methods 0.000 title claims abstract description 99
- 230000005540 biological transmission Effects 0.000 claims description 10
- 238000000034 method Methods 0.000 claims description 8
- 230000009471 action Effects 0.000 claims description 3
- 238000013459 approach Methods 0.000 claims description 3
- 238000012986 modification Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 230000006399 behavior Effects 0.000 description 1
- 230000001413 cellular effect Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000006698 induction Effects 0.000 description 1
- 230000000977 initiatory effect Effects 0.000 description 1
- 230000003993 interaction 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/00817—Electronically 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
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Lock And Its Accessories (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The present invention relates to a kind of coded lock and communication system of specific communication capacity.Coded lock includes lock body, communication interface, password generator, interface data maker, password comparator.When receiving the unlocking request of user, password generator produces random cipher, and interface data maker can issue user mobile phone according to the random cipher and coded lock identity information generation interface data, user mobile phone interface data gives server and parses to obtain password issues coded lock again;Coded lock compares random cipher caused by oneself and receives the password of mobile phone, if identical, unlocks.The present invention solves the problems, such as that the password of similar shared bicycle is reused, passed from mouth to mouth, and improves Consumer's Experience.
Description
Technical Field
The invention relates to a coded lock, in particular to a coded lock with communication capability and a communication system where the coded lock is located.
Background
At present, bicycle operation enterprises similar to sharing bicycles bring convenience to the life of people. In the bicycle, after a user scans a two-dimensional code on the bicycle by using a smart phone, the mobile phone obtains a bicycle unlocking password, and then the user manually unlocks the bicycle according to the password. And paying by the smart phone after riding the bicycle, wherein the mobile phone obtains the password which is a condition for paying by the starting mobile phone. However, the two-dimensional code and the vehicle lock password of the bicycle are fixed, and the fact proves that the purpose of freely unlocking and riding the bicycle can be achieved without the action of scanning and acquiring the password by a mobile phone as long as the password of one bicycle is known. Meanwhile, the bicycle lock password is easy to crack. These can lead to the moral and even illegal behaviors of riding the bicycle without spending money, hiding the bicycle privately, locking the bicycle privately, etc. to be inundated, and also can lead to that nobody is willing to operate the bicycle again, leading to the backward life convenience of people.
Disclosure of Invention
To solve the problems mentioned in the background, the invention provides a coded lock with communication capability and a communication system. When the coded lock receives an unlocking request of a user, the code generator of the coded lock generates a random code, the interface data generator generates interface data according to the random code and the identity information of the coded lock and sends the interface data to a mobile phone of the user, and the mobile phone of the user sends the interface data to a server for analysis to obtain a code and sends the code to the coded lock; the coded lock compares the random code generated by the coded lock with the received code from the mobile phone, and if the random code is the same as the received code, the coded lock is unlocked, otherwise, the coded lock is not unlocked.
The invention avoids the repeated use of the password through the disposable random password, and avoids the transmission of the unlocking password by mouth because the unlocking can be completed without the user knowing what the password is and the user can not recognize the password under normal conditions. In summary, the problems in the background art are all solved. In addition, the method and the device are very convenient to operate and good in experience compared with the user.
Drawings
FIG. 1 is a schematic view of a combination lock of the present invention.
Fig. 2 is a schematic diagram of the operation of the combination lock of the present invention.
Detailed Description
As shown in fig. 1, the combination lock 1 of the present invention is an improvement on the existing electronic lock, induction lock, and the like. The coded lock 1 is mainly added with a communication interface 11, a password generator 12, an interface data generator 13 and a password comparator 14 on the basis of the existing lock body 15. The communication interface 11 is electrically connected with the password generator 12, the interface data generator 13 and the password comparator 14 respectively; the password generator 12 is further electrically connected to the password comparator 14 and the interface data generator 13, respectively; the lock body 15 is electrically connected with the password comparator 14.
And the communication interface 11 is used for communicating with the mobile phone of the user, so that the mobile phone of the user can control the coded lock 1 to be unlocked through the communication interface 11. In the present invention, the communication interface 11 provides two embodiments. In embodiment 1, the communication interface 11 supports air interface communication, such as WLAN communication, NFC communication, and the like, and as long as the user mobile phone is close to the communication interface (similar to a mobile phone card payment function), the communication interface can realize communication data interaction with the user mobile phone, so as to achieve the purpose of unlocking the combination lock. Embodiment 2, the communication interface 11 further comprises a display screen and a button on the basis of embodiment 1; when a user presses a button, a two-dimensional code appears on the display screen; the user scans the two-dimensional code through the mobile phone, so that the aim of unlocking the coded lock is fulfilled.
A password generator 12 for generating a random password. In the embodiment of the present invention, the password generator 12 may employ a known random number generator, pseudo random number generator, or the like, that is, a random number or pseudo random number generated by the random number generator or pseudo random number generator as the password.
And an interface data generator 13 for generating interface data according to the password generated by the password generator 12 and the identity information of the coded lock 1 (for example, the number, the date of delivery, and/or the color information of the coded lock 1). The interface data may be transmitted out through the communication interface 11 or displayed on the communication interface 11. In the embodiment provided by the present invention, the interface data generated by the interface data generator 13 may be a communication message, and the communication message is transmitted to the outside through the communication interface 11; the interface data generated by the interface data generator 13 may also be a two-dimensional code, which is displayed on the communication interface 11.
And the password comparator 14 is used for comparing the password obtained from the password generator 12 with the password obtained from the communication interface 11, and when the two passwords are the same, the lock body 15 is unlocked, otherwise, the lock body 15 keeps the locked state.
As shown in fig. 2, when the combination lock 1 of the present invention works, the user's mobile phone 2 and the operator's server 3 are also required to participate in the working environment. The specific procedure is as follows, and the invention provides two examples.
Example one
In this embodiment, the communication interface 11 of the combination lock 1 only needs to have air interface communication capability. The specific working process steps are as follows.
(1) Unlock request
The user approaches the communication interface 11 of the combination lock 1 with the mobile phone 2, and at this time, the mobile phone 2 sends a message requesting unlocking to the communication interface 11. In this embodiment, the handset 2 is required to support air interface communication.
(2) Random password generation
Upon receiving a user request, the combination lock 1 generates a random combination by the combination generator 12. The method has the advantages that the password generated after each user request is random, the password is not easy to crack, and the repeated use of the known password is avoided.
(3) The interface data generator 13 and the password comparator 14 obtain the password generated by the password generator 12.
(4) Interface data generation
The interface data generator 13 generates interface data to the communication interface 11 according to the password generated by the password generator 12 and the identity information of the coded lock 1. In this embodiment, the interface data is a communication message. Communication messages are transmitted over the air and typically one cannot directly identify the specific content in a communication message unless by special technical means. Thus, the password can be prevented from being transmitted by the mouth.
(5) The communication message (interface data) is transmitted to the cellular phone 2 through the communication interface 11.
(6) The mobile phone 2 sends the received communication message (interface data) to the server 3 of the operator. Generally, the mobile phone 2 can send its own identity information (e.g., a mobile phone number or a micro-phone number) to the server 3 at the same time, so that the operator knows to whom the user charges the user for the bicycle. The transmission mode of the interface data can be realized by adopting the prior art.
(7) The server 3 receives the communication message (interface data) transmitted from the mobile phone 2 by using its own communication module 21, and then analyzes the password from the received communication message (interface data) by using its own analysis module 22.
(8) The password analyzed by the analysis module 22 of the server 3 is handed to the communication module 21.
(9) The server 3 transmits the password to the handset 2 through the communication module 21. The transmission mode can be realized by adopting the prior art.
(10) The mobile phone 2 transmits the password received from the server 3 to the communication interface 11 of the password lock 1 (air interface communication).
(11) The password comparator 14 of the password lock 1 obtains the password in step (10).
(12) And a password comparator 14 for comparing the two passwords, namely, the password in the step (11) and the password in the step (3). By comparison, if the two codes are the same, the lock body 15 will be unlocked, otherwise the lock body 15 will remain locked.
At this point, the combination lock is unlocked and the user can use the bicycle.
In addition, in order to further protect the security of data transmission, encryption transmission may be adopted when the interface data is transmitted in the step (6). The server 3 then has decryption capabilities accordingly. The encryption and decryption mode can be realized by adopting the prior art.
In addition, in order to further protect the security of data transmission, encryption transmission may be adopted when the password is transmitted in step (9) above. Then the handset 2 has decryption capabilities accordingly. The encryption and decryption mode can be realized by adopting the prior art.
In addition, the mobile phone in the above work engineering may also adopt other mobile terminals, such as a smart band, a tablet, a smart watch, and the like.
It should be noted that the duration of the above-mentioned operation is very short, and is completed in a short moment when the user mobile phone 2 approaches the communication interface 11 of the combination lock 1. The method is very convenient for users.
After the bicycle is used, the user clicks the 'returning' in the mobile phone, and the mobile phone is close to the communication interface 11 of the coded lock 1 again, so that the lock body 15 can be automatically locked, and the password of the coded lock 1 can be cleared. And repeating the steps until the next time when the user uses the bicycle, and unlocking by using a new password.
Example two
The second embodiment is adopted to reduce the power storage requirement. The main difference between the second embodiment and the first embodiment is that the communication interface 11 further includes a display screen and a button. Of course, the display and buttons may be located elsewhere. Accordingly, the individual steps in the first embodiment are transformed as follows, and the rest of the steps remain unchanged:
(1) user request
The user presses a button of the communication interface 11 to indicate initiation of an unlock request.
(2) Random password generation
The button action triggers the code generator 12 of the combination lock 1 to generate a random code.
(4) Interface data generation
The interface data generator 13 generates interface data to the communication interface 11 according to the password generated by the password generator 12 and the identity information of the coded lock 1. In this embodiment, the interface data is a two-dimensional code. Usually, people cannot directly identify specific contents implied in the two-dimensional code unless special technical means are used. Thus, the password can be prevented from being transmitted by the mouth.
(5) The two-dimensional code (interface data) is displayed on the communication interface 11, and the user scans the two-dimensional code with a mobile phone.
(6) The mobile phone 2 sends the two-dimensional code information (interface data) to the server 3 of the operator. The mobile phone 2 can simultaneously transmit its own identity information (for example, a mobile phone number or a micro-phone number) to the server 3.
(7) The server 3 receives the two-dimensional code information (interface data) transmitted from the mobile phone 2 by using its own communication module 21, and then analyzes the password from the received two-dimensional code information (interface data) by using its own analysis module 22.
In conclusion, the invention avoids the repeated use of the password through the disposable random password, and avoids the transmission of the unlocking password through the mouth because the unlocking can be completed without the user knowing what the password is and the user can not recognize the password under the normal condition. In addition, the method and the device are very convenient to operate and good in experience compared with the user.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.
Claims (7)
1. A coded lock comprises a lock body and is characterized in that:
the coded lock further comprises a communication interface, a password generator, an interface data generator and a password comparator, wherein the communication interface is electrically connected with the password generator, the interface data generator and the password comparator respectively; wherein,
the communication interface is used for communicating with the mobile terminal;
the password generator is used for generating a random password when the password lock receives an unlocking request;
the interface data generator is used for generating interface data according to the random password generated by the password generator and the identity information of the password lock, and the interface data can be obtained by the password lock through the communication interface;
the password comparator is used for comparing the password obtained from the password generator with the password obtained from the communication interface, and when the two passwords are the same, the lock body is unlocked, otherwise, the lock body is kept in a locking state; wherein the password obtained from the communication interface is a password from the mobile terminal.
2. The combination lock of claim 1, wherein the communication interface supports air interface communication, and interacts data with the mobile terminal through a communication message, and the interacted data includes the unlocking request, the interface data, and the password from the mobile terminal.
3. The coded lock according to claim 1, wherein the communication interface supports air interface communication and interacts data with the mobile terminal through a communication message, the interacted data including the unlocking request and the password from the mobile terminal; the communication interface further comprises a display screen and a button; the interface data is a two-dimensional code, and when the button is placed, the two-dimensional code appears on the display screen.
4. A communication system comprises a mobile terminal and a server, and is characterized in that:
the communication system further comprises a coded lock, the coded lock comprises a lock body, a communication interface, a code generator, an interface data generator and a code comparator, the communication interface is electrically connected with the code generator, the interface data generator and the code comparator respectively, the code generator is also electrically connected with the code comparator and the interface data generator respectively, and the lock body is electrically connected with the code comparator;
the server comprises a communication module and an analysis module;
the working process of the communication system comprises the following steps:
(1) when the mobile terminal approaches to the communication interface of the coded lock, the mobile terminal sends a message of requesting unlocking to the communication interface;
(2) after receiving the information of requesting unlocking, the coded lock triggers the code generator to generate a random code;
(3) the interface data generator and the password comparator of the password lock obtain a random password generated by the password generator;
(4) the interface data generator of the coded lock generates interface data to the communication interface according to the password generated by the password generator and the identity information of the coded lock;
(5) the interface data is transmitted to the mobile terminal by the communication interface in the form of communication messages;
(6) the mobile terminal sends the received interface data to the server;
(7) after a communication module of the server receives interface data sent by the mobile terminal, analyzing a password from the interface data by using an analysis module;
(8) the server gives the analyzed password to the communication module;
(9) the server transmits the analyzed password to the mobile terminal through the communication module;
(10) the mobile terminal transmits the password received from the server to a communication interface of the password lock;
(11) a password comparator of the coded lock obtains the password in the step (10);
(12) the password comparator of the password lock compares the password in the step (11) with the password in the step (3); and comparing, if the two passwords are the same, unlocking the lock body of the coded lock, otherwise, keeping the lock body in a locking state.
5. A communication system comprises a mobile terminal and a server, and is characterized in that:
the communication system further comprises a coded lock, the coded lock comprises a lock body, a communication interface, a code generator, an interface data generator and a code comparator, the communication interface is electrically connected with the code generator, the interface data generator and the code comparator respectively, the code generator is also electrically connected with the code comparator and the interface data generator respectively, and the lock body is electrically connected with the code comparator; the coded lock also comprises a display screen and a button;
the server comprises a communication module and an analysis module;
the working process of the communication system comprises the following steps:
(1) the button of the coded lock is pressed to indicate that an unlocking request is initiated;
(2) the button action triggers a password generator of the password lock to generate a random password;
(3) the interface data generator and the password comparator of the password lock obtain a random password generated by the password generator;
(4) the interface data generator of the coded lock generates interface data to the communication interface according to the password generated by the password generator and the identity information of the coded lock;
(5) the interface data is displayed on a communication interface of the coded lock in a two-dimensional code form for scanning by the mobile terminal;
(6) the mobile terminal sends the scanned two-dimensional code information to the server;
(7) after receiving interface data sent by the mobile terminal, a communication module of the server analyzes a password from the two-dimensional code information by using an analysis module;
(8) the server gives the analyzed password to the communication module;
(9) the server transmits the analyzed password to the mobile terminal through the communication module;
(10) the mobile terminal transmits the password received from the server to a communication interface of the password lock;
(11) a password comparator of the coded lock obtains the password in the step (10);
(12) the password comparator of the password lock compares the password in the step (11) with the password in the step (3); and comparing, if the two passwords are the same, unlocking the lock body of the coded lock, otherwise, keeping the lock body in a locking state.
6. The communication system according to claim 4 or 5, wherein, when the interface data is transmitted in the step (6), encryption transmission is adopted; the server has corresponding decryption capabilities.
7. The communication system according to claim 4 or 5, wherein when the password is transmitted in step (9), encrypted transmission is adopted; the mobile terminal has corresponding decryption capabilities.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710459003.5A CN107393061A (en) | 2017-06-16 | 2017-06-16 | Coded lock and communication system with communication capacity |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710459003.5A CN107393061A (en) | 2017-06-16 | 2017-06-16 | Coded lock and communication system with communication capacity |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107393061A true CN107393061A (en) | 2017-11-24 |
Family
ID=60332284
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710459003.5A Withdrawn CN107393061A (en) | 2017-06-16 | 2017-06-16 | Coded lock and communication system with communication capacity |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107393061A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107862779A (en) * | 2017-12-15 | 2018-03-30 | 中国计量大学 | A kind of Dynamic Two-dimensional code electronic lock of low-power consumption |
CN108260107A (en) * | 2018-01-10 | 2018-07-06 | 广州二元科技有限公司 | A kind of bicycle built-in device unlocking method based on Wi-Fi |
CN109255864A (en) * | 2018-08-02 | 2019-01-22 | 深圳市朗仁科技有限公司 | Shared bicycle bluetooth method for unlocking and device |
CN110634203A (en) * | 2018-06-21 | 2019-12-31 | 云泊科技(广州)有限公司 | Parking space sharing method and parking space sharing device |
CN111340982A (en) * | 2020-02-20 | 2020-06-26 | 杭州涂鸦信息技术有限公司 | Remote unlocking method and system |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103793960A (en) * | 2012-10-31 | 2014-05-14 | 株式会社易保 | Method for mobile key service |
CN104853050A (en) * | 2015-06-01 | 2015-08-19 | 北京润东方科技有限公司 | System and method for bicycle management |
CN106600797A (en) * | 2017-01-25 | 2017-04-26 | 北京信通力创科技有限公司 | Dynamic graphic password lock, server, sharing system and unlocking and locking methods thereof |
CN206601745U (en) * | 2017-06-16 | 2017-10-31 | 汪钰涵 | Coded lock with communication capacity |
-
2017
- 2017-06-16 CN CN201710459003.5A patent/CN107393061A/en not_active Withdrawn
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103793960A (en) * | 2012-10-31 | 2014-05-14 | 株式会社易保 | Method for mobile key service |
CN104853050A (en) * | 2015-06-01 | 2015-08-19 | 北京润东方科技有限公司 | System and method for bicycle management |
CN106600797A (en) * | 2017-01-25 | 2017-04-26 | 北京信通力创科技有限公司 | Dynamic graphic password lock, server, sharing system and unlocking and locking methods thereof |
CN206601745U (en) * | 2017-06-16 | 2017-10-31 | 汪钰涵 | Coded lock with communication capacity |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107862779A (en) * | 2017-12-15 | 2018-03-30 | 中国计量大学 | A kind of Dynamic Two-dimensional code electronic lock of low-power consumption |
CN108260107A (en) * | 2018-01-10 | 2018-07-06 | 广州二元科技有限公司 | A kind of bicycle built-in device unlocking method based on Wi-Fi |
CN110634203A (en) * | 2018-06-21 | 2019-12-31 | 云泊科技(广州)有限公司 | Parking space sharing method and parking space sharing device |
CN109255864A (en) * | 2018-08-02 | 2019-01-22 | 深圳市朗仁科技有限公司 | Shared bicycle bluetooth method for unlocking and device |
CN111340982A (en) * | 2020-02-20 | 2020-06-26 | 杭州涂鸦信息技术有限公司 | Remote unlocking method and system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107393061A (en) | Coded lock and communication system with communication capacity | |
CN105681538B (en) | System and method for equipment certification | |
CN105337740B (en) | A kind of auth method, client, trunking and server | |
EP2779723B1 (en) | Method and related device for accessing access point | |
US20130257589A1 (en) | Access control using an electronic lock employing short range communication with mobile device | |
EP3293995B1 (en) | Locking system and secure token and ownership transfer | |
US20140329497A1 (en) | Smartdevices Enabled Secure Access to Multiple Entities (SESAME) | |
CN104637131A (en) | Authorization method and authorization device for access control system and access control system | |
CN104303481A (en) | Method and apparatus for remote portable wireless device authentication | |
CN102916869A (en) | Instant messaging method and system | |
CN105636037B (en) | Authentication method, device and electronic equipment | |
CN104966007A (en) | Multi-user login method and apparatus | |
CN105760723A (en) | Mobile terminal and unlocking method thereof | |
CN103761647A (en) | Electronic payment system and electronic payment method | |
EP4050838A1 (en) | Device sharing method and electronic device | |
CN112184952A (en) | Intelligent lock control system, method and storage medium | |
CN105139205A (en) | Payment verification method, terminal and server | |
CN107911211B (en) | Two-dimensional code authentication system based on quantum communication network | |
CN206601745U (en) | Coded lock with communication capacity | |
CN106231534A (en) | Mobile terminal and the number of writing thereof and method of disannuling a call, device | |
CN105325021A (en) | Method and apparatus for remote portable wireless device authentication | |
CN107708098A (en) | A kind of personal identification method based on Bluetooth communication | |
KR102050823B1 (en) | System, an apparatus and a method for transmitting and receiving information using quick response code | |
EP2658297A1 (en) | Method and system for accessing a service | |
CN105897722A (en) | Method and system for quickly unlocking through client and mobile terminal |
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 | ||
WW01 | Invention patent application withdrawn after publication |
Application publication date: 20171124 |
|
WW01 | Invention patent application withdrawn after publication |