CN109102607A - Method for unlocking coded lock, system, equipment, coded lock and server - Google Patents

Method for unlocking coded lock, system, equipment, coded lock and server Download PDF

Info

Publication number
CN109102607A
CN109102607A CN201810902181.5A CN201810902181A CN109102607A CN 109102607 A CN109102607 A CN 109102607A CN 201810902181 A CN201810902181 A CN 201810902181A CN 109102607 A CN109102607 A CN 109102607A
Authority
CN
China
Prior art keywords
coded lock
unlocking
password
server
cipher
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
Application number
CN201810902181.5A
Other languages
Chinese (zh)
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.)
Shanghai Lucky Smart Technology Co Ltd
Original Assignee
Shanghai Lucky Smart Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Lucky Smart Technology Co Ltd filed Critical Shanghai Lucky Smart Technology Co Ltd
Priority to CN201810902181.5A priority Critical patent/CN109102607A/en
Publication of CN109102607A publication Critical patent/CN109102607A/en
Pending legal-status Critical Current

Links

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
    • 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/00944Details of construction or manufacture

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Manufacturing & Machinery (AREA)
  • Lock And Its Accessories (AREA)

Abstract

The present invention provides method for unlocking coded lock, system, equipment, coded lock and server, and the server includes: receiving module, for receiving unlocking request;Synchronization time module, for obtain with coded lock in password generator time synchronization synchronization time;Password generator, for generating random cipher according to unlocking request and synchronization time;Sending module, for random cipher to be sent to mobile terminal;The coded lock includes: lock body;Password generator generates random cipher identical with the random cipher generated in server for synchronous;Password acceptance module, unlocking cipher for receiving input;Whether password comparator is identical as the random cipher of generation for comparing the unlocking cipher received;Unlocking control module is opened or is remained turned-off for controlling lock body.The invention avoids using network communication to carry out a series of network problems of unlocking bring, also avoids password and be reused the risk being cracked with device password.

Description

Method for unlocking coded lock, system, equipment, coded lock and server
Technical field
The present invention relates to field of intelligent control technology, especially practical coded lock control technology field, specially a kind of password Lock method for unlocking, system, equipment, coded lock and server.
Background technique
Currently, the shared device operation enterprise of similar shared bicycle one kind, brings convenience to people's lives.It is this kind of total Enjoy equipment smart lock be usually all by user using the two dimensional code in smart phone scanning device after, mobile phone obtain unlock it is close Code, then user is according to password unlocking.
Its main operational principle is to be carried out by centralized control unit by wireless mobile communications module and background management system The location information obtained from GPS module is sent to background management system by connection, and background system passes through communication mould after identifying successfully Block sends unlock instruction to centralized control unit.After the status information for receiving the electromechanical antijoyride device open and close lock that backstage is sent The control bolt for opening mechanical lock is unlocked successfully, when user is using car locking is completed, can trigger the car locking control of electronic control module System switch, after then central controller notifies background management system car locking, backstage to confirm successfully by wireless mobile communications module Terminate charging.This kind of settling mode be largely dependent upon network communication module can normal response data, and with present Technology development, the work of network communication module tends to the interference by outside environmental elements, network signal caused to connect Unstable or even failure, to influence the normal use of shared device, reduces working efficiency and user experience of product etc..
For example shared bicycle of the equipment of shared industry generally uses the smart lock based on GPRS network standard now.By In GPRS network covering power is limited and network environmental factors to influence interference complicated, lead to the user experience of such smart lock Difference, such as: when extend, in the place of certain network coverage differences, uncaging time is up to 5~10 seconds, and as a result the response time is up to 25 seconds, GPRS mould group power consumption is high, and battery standby time is as short as two months, to safeguard longer battery service life, needs using manpower Or solar power generation, maintenance cost are high.
Summary of the invention
In view of the foregoing deficiencies of prior art, the purpose of the present invention is to provide method for unlocking coded lock, system, set Standby, coded lock and server, when for solution, unlocking coded lock is influenced bring unlocking by network communication quality in the prior art Between long problem.
In order to achieve the above objects and other related objects, the present invention provides a kind of server for unlocking coded lock, institute Stating server includes: receiving module, for receive mobile terminal by scan the two-dimensional code acquisition and send unlocking request;It is synchronous Time module, for obtaining the synchronization time with password generator time synchronization in coded lock;Password generator, for according to institute It states unlocking request and the synchronization time generates random cipher;Sending module, for the random cipher to be sent to the shifting Dynamic terminal.
In one embodiment of the invention, coded lock device number is included at least in the unlocking request.
The embodiment of the present invention also provides a kind of coded lock, and the coded lock includes: lock body;Password generator, for same Step generates random cipher identical with the random cipher generated in server;Password acceptance module, unlocking for receiving input Password;Password comparator, it is whether identical as the random cipher of generation for comparing the unlocking cipher received, if phase Together, the first comparing result is exported, if not identical, exports the second comparing result;Unlocking control module, for receiving described When one comparing result, control lock body is opened, and when receiving second comparing result, control lock body is remained turned-off.
In one embodiment of the invention, institute's password generator generate the time synchronization cryptographic algorithm of the random cipher with The time synchronization cryptographic algorithm that random key is generated in the server is identical.
In one embodiment of the invention, the password acceptance module includes a cipher inputting keyboard, Password Input touch Screen or password sound pick-up.
A kind of system of unlocking coded lock is also provided in the embodiment of the present invention, including is opened as described above for coded lock The server of lock and coded lock as described above.
A kind of equipment is also provided in the embodiment of the present invention, the equipment is installed with coded lock as described above.
A kind of method of unlocking coded lock is also provided in the embodiment of the present invention, the clothes for being used for unlocking coded lock applied to one It is engaged in device, the method for the unlocking coded lock includes: to receive mobile terminal to ask by scanning the two-dimensional code the unlock of acquisition and transmission It asks;Generation synchronization time random cipher according to the unlocking request and with password generator time synchronization in coded lock;By institute It states random cipher and is sent to the mobile terminal.
In one embodiment of the invention, coded lock device number is included at least in the unlocking request.
A kind of method of unlocking coded lock is also provided in the embodiment of the present invention, is applied in a coded lock, the password The method that lock is unlocked includes: to synchronize to generate random cipher identical with the random cipher generated in server;Receive opening for input Lock cipher;It whether identical as the random cipher of generation compares the unlocking cipher received, if they are the same, controls coded lock Lock body open, if not identical, the lock body for controlling coded lock is remained turned-off.
In one embodiment of the invention, generated in the coded lock time synchronization cryptographic algorithm of the random cipher with The time synchronization cryptographic algorithm that random key is generated in the server is identical.
As described above, method for unlocking coded lock of the invention, system, equipment, coded lock and server, have beneficial below Technical effect:
Coded lock of the invention is interacted without using network communication with server in control of unlocking, by coded lock kimonos The password generator of the time synchronization of middle setting in device of being engaged in generates identical disposable random cipher, fundamentally avoids using net Network communication carries out a series of network problems of unlocking bring, has ensured shared device stability in use, has improved shared device Working efficiency, and by disposable random cipher, it also avoids password and is reused the wind being cracked with device password Danger, to ensure that the interests of shared device operator.In addition, unlocking coded lock scheme of the invention operates for a user And it is very convenient, effectively improve user experience.
Detailed description of the invention
Fig. 1 is shown as the whole theory structure schematic diagram of the system of unlocking coded lock of the invention.
What Fig. 2 was shown as server and coded lock and mobile terminal in the system of unlocking coded lock of the invention interacts signal Figure.
Fig. 3 is shown as the theory structure schematic diagram of server in the system of unlocking coded lock of the invention.
Fig. 4 is shown as the theory structure schematic diagram of coded lock in the system of unlocking coded lock of the invention.
Fig. 5 to 7 is respectively indicated as coded lock in the system of unlocking coded lock of the invention and uses different password acceptance modules Three kinds of structural schematic diagrams.
The method that Fig. 8 is shown as unlocking coded lock of the invention is applied to the interaction in server and being applied in coded lock Schematic diagram.
The method that Fig. 9 is shown as unlocking coded lock of the invention is applied to the flow diagram in server.
The method that Figure 10 is shown as unlocking coded lock of the invention is applied to the flow diagram in coded lock.
Component label instructions
The system of 1 unlocking coded lock
100 servers
110 receiving modules
120 synchronization time module
130 password generators
140 sending modules
200 coded locks
210 password generators
220 password acceptance modules
221 cipher inputting keyboards
222 Password Input touch screens
223 password sound pick-ups
230 password comparators
240 unlocking control modules
250 lock bodies
300 mobile terminals
400 equipment
S110~S130 step
S210~S250 step
Specific embodiment
Illustrate embodiments of the present invention below by way of specific specific example, those skilled in the art can be by this specification Other advantages and efficacy of the present invention can be easily understood for disclosed content.The present invention can also pass through in addition different specific realities The mode of applying is embodied or practiced, the various details in this specification can also based on different viewpoints and application, without departing from Various modifications or alterations are carried out under spirit of the invention.
The purpose of the present embodiment is that method for unlocking coded lock, system, equipment, coded lock and server are provided, for solving Certainly unlocking coded lock by network communication quality is influenced the long problem of bring uncaging time in the prior art.It is described in detail below The method for unlocking coded lock of the present embodiment, system, equipment, the principle and embodiment of coded lock and server, make this field skill Art personnel do not need method for unlocking coded lock, system, equipment, coded lock and the service that creative work is appreciated that the present embodiment Device.
Embodiment 1
As shown in Figure 1, the present embodiment provides a kind of system 1 of unlocking coded lock, the system 1 of the unlocking coded lock includes The server 100 and coded lock 200 unlocked for coded lock 200.
As shown in Fig. 2, server 100, the coded lock unlocked in the system 1 of the unlocking coded lock for coded lock 200 200 with the interactive process of mobile terminal 300 are as follows:
Mobile terminal 300 scan coded lock 200 on or coded lock 200 nearby be associated with two dimensional code, then mobile terminal 300 to Server 100 sends the unlocking request of application password, and server 100 generates a random cipher and feeds back to the mobile terminal 300, The random cipher is inputted the coded lock 200 by user, and coded lock 200 is according to the synchronous identical random cipher generated and input Password be compared, it is determined whether unlock.
Below in the present embodiment the server 100 and the coded lock 200 be described in detail.
As shown in figure 3, the server 100 for coded lock 200 to be unlocked includes: receiving module 110, synchronization time module 120, password generator 130 and sending module 140.
In this present embodiment, the receiving module 110 is concurrent by scanning the two-dimensional code acquisition for receiving mobile terminal 300 The unlocking request sent.
Wherein, mobile terminal 300 connects wireless network, for example, GPRS, 3G, 4G or wifi network, and mobile terminal 300 is logical It crosses wireless network and the unlocking request is sent to the server 100.
In this present embodiment, two dimensional code matching associated with the coded lock 200, the two dimensional code are attached at described On coded lock 200 or in the equipment 400 of the installing coded lock 200.
The unlocking request and server address etc. are generated after the two dimensional code decoding, wherein in the unlocking request extremely It less include coded lock device number.
The mobile terminal 300 is preferably the terminal of the decoding software with camera such as mobile phone or PAD.This It is illustrated so that the mobile terminal 300 is mobile phone as an example in embodiment.
The mobile terminal 300 obtains the corresponding unlocking request of two dimensional code by scanning the two dimensional code, and by the solution Lock request is sent to the server 100.
In this present embodiment, when module synchronization time 120 is used for password generator 210 in acquisition and coded lock 200 Between synchronous synchronization time.
Password generator 210 in the i.e. described server 100 in password generator 130 and the coded lock 200 uses one The synchronization of synchronised clock progress time.Wherein, include RTC clock chip in the password generator 130 and be preset with encryption calculation Method.
It is using the time of passage as the factor is changed, generally singly using 60 seconds as variation based on time synchronization authentication techniques Position, so-called " synchronization " refers to that server 100 in time must be synchronous with random cipher caused by coded lock 200.Time is same One step process has been technological means well known in the art, such as method for synchronizing time can be using " when unite " technology, or with " cunning Dynamic window " technology, it is not limited here.
In this present embodiment, the password generator 130 is used to be generated according to the unlocking request and the synchronization time Random cipher.
Wherein, the password generator 130 is according to preset time synchronization cryptographic algorithm to the unlocking request and described Synchronization time carries out operation, generates the random cipher.Timeliness is configured for the random cipher simultaneously, timeliness is preferably 1 to 10 Minute, for example, random cipher is maintained at after generation in 5 minutes effectively.
The time synchronization cryptographic algorithm for generating the random cipher can be used any in existing there are many embodiment Which kind of implementation the mature random cipher generating algorithm of kind, the embodiment of the present invention are not intended to limit.
In this present embodiment, the sending module 140 is used to the random cipher being sent to the mobile terminal 300.
The mobile terminal 300 receives and shows the random cipher that the server 100 is sent.
So therefore, in the present embodiment, the process that server 100 generates random cipher is as follows:
User scans the two dimensional code on coded lock 200 with mobile phone, and it (includes barcode scanning that unlocking request is sent on server 100 Device number).It is raw using clock synchronization algorithm by password generator 130 according to device number after server 100 receives unlocking request At random cipher, such benefit is that the password generated after each user's request is random cipher, it is not easy to be cracked and also avoid Known password is reused.Server 100 is sent on user mobile phone after generating random cipher, and mobile phone is shown with secret Code, user know the password for needing to be input in coded lock 200 by the random cipher shown in mobile phone.
As shown in figure 4, in the present embodiment, the coded lock 200 includes: password generator 210, password acceptance module 220, Password comparator 224, unlocking control module 240 and lock body 250.
In this present embodiment, the password generator 210 is for the synchronous random cipher for generating and generating in server 100 Identical random cipher.
In this present embodiment, institute's password generator 210 generate the time synchronization cryptographic algorithm of the random cipher with it is described The time synchronization cryptographic algorithm that random key is generated in server 100 is identical.
Specifically, the password generator 210 in the coded lock 200 also utilizes RTC clock chip by the clock specific time Encryption Algorithm identical with password generator 130 in server 100 is used with device number, generation and server within the same time The identical random cipher of random cipher in 100, while timeliness is configured for the random cipher, timeliness is preferably 1 to 10 minute, example Such as, random cipher is maintained at after generation in 5 minutes effectively.
In this present embodiment, the password acceptance module 220 unlocking cipher for receiving input.
User is input to the password and connects after obtaining the random cipher that server 100 is sent in mobile terminal 300 Receive module 220.
Specifically, in this present embodiment, as shown in Figures 5 to 7, the password acceptance module 220 is including but not limited to one Cipher inputting keyboard 221, Password Input touch screen 222 or password sound pick-up 223.
For example, as shown in figure 5, user by cipher inputting keyboard 221 press input unlocking cipher in the form of entity button, or Person is as shown in fig. 6, user inputs unlocking cipher by the virtual touch keyboard that Password Input touch screen 222 is shown, in addition, as schemed Shown in 7, user can also be output by voice the unlocking cipher of speech form, and the coded lock 200 passes through password sound pick-up 223 Receive the unlocking cipher of speech form.
In addition, those skilled in the art can also use other Password Input forms, no longer limit herein.
In this present embodiment, the password comparator 224 be used to compare the unlocking cipher that receives whether with generation The random cipher it is identical, if they are the same, export the first comparing result, if not identical, export the second comparing result.
In this present embodiment, the unlocking control module 240 is used for when receiving first comparing result, control lock Body 250 is opened, and when receiving second comparing result, control lock body 250 is remained turned-off.Wherein, the lock body 250 can be adopted With any electronic lock body 250 in existing, the present embodiment does not limit.
It can be seen that the coded lock 200 in the present embodiment is handed in control of unlocking without using network communication and server 100 Mutually, it is generated by the password generator 130 for the time synchronization being arranged in coded lock 200 and server 100 identical disposable Random cipher fundamentally avoids and carries out a series of network problems of unlocking bring using network communication, ensured shared device 400 stability in uses improve the working efficiency of shared device 400.
The present embodiment also provides a kind of equipment 400, and the equipment 400 is installed with coded lock 200 as described above.
Wherein, the equipment 400 is preferably shared device, and for example, shared bicycle shares umbrella etc..It is above-mentioned to institute It states coded lock 200 to be described in detail, no longer the coded lock 200 in the equipment 400 is repeated herein.
As described above and as shown in connection with fig. 8, in the system 1 of the unlocking coded lock in the present embodiment, coded lock 200 is based on one Kind RTC clock chip encryption algorithm constantly generates password, and cipher random is not unique, when user needs using shared device, sweeps The two dimensional code on coded lock 200 is retouched, the unlocking request of application password, the password on server 100 are then sent to server 100 Password generator 210 in generator 130 and coded lock 200 can generate same password according to clock synchronization algorithm, then take Password is sent to user mobile phone by business device 100;User inputs password, password to coded lock 200 by forms such as key or voices Lock 200 compares the random cipher that oneself is generated and whether the password of input is identical, if they are the same, then lock body 250 is notified to unlock, no Then, unlock failure, control lock body 250 keep locking-in state constant.
Embodiment 2
A kind of method of unlocking coded lock is also provided in the embodiment of the present invention, the clothes for being used for unlocking coded lock applied to one It is engaged in device 100, as shown in figure 9, the method for the unlocking coded lock includes:
Step S110, as shown in Fig. 2, receive mobile terminal 300 by scan the two-dimensional code acquisition and send unlocking request.
Wherein, mobile terminal 300 connects wireless network, for example, GPRS, 3G, 4G or wifi network, and mobile terminal 300 is logical It crosses wireless network and the unlocking request is sent to the server 100.
In this present embodiment, two dimensional code matching associated with the coded lock 200, the two dimensional code are attached at described On coded lock 200 or in the equipment 400 of the installing coded lock 200.
The unlocking request and server address etc. are generated after the two dimensional code decoding, wherein in the unlocking request extremely It less include coded lock device number.
The mobile terminal 300 is preferably the terminal of the decoding software with camera such as mobile phone or PAD.This It is illustrated so that the mobile terminal 300 is mobile phone as an example in embodiment.
The mobile terminal 300 obtains the corresponding unlocking request of two dimensional code by scanning the two dimensional code, and by the solution Lock request is sent to the server 100.
Step S120, according to the unlocking request and in coded lock 200 210 time synchronization of password generator it is synchronous when Between generate random cipher.
Password generator 210 in the i.e. described server 100 in password generator 130 and the coded lock 200 uses one The synchronization of synchronised clock progress time.Wherein, include RTC clock chip in the password generator 130 and be preset with encryption calculation Method.
It is using the time of passage as the factor is changed, generally singly using 60 seconds as variation based on time synchronization authentication techniques Position, so-called " synchronization " refers to that server 100 in time must be synchronous with random cipher caused by coded lock 200.Time is same One step process has been technological means well known in the art, such as method for synchronizing time can be using " when unite " technology, or with " cunning Dynamic window " technology, it is not limited here.
In this present embodiment, the password generator 130 is used to be generated according to the unlocking request and the synchronization time Random cipher.
Wherein, the password generator 130 is according to preset time synchronization cryptographic algorithm to the unlocking request and described Synchronization time carries out operation, generates the random cipher.Timeliness is configured for the random cipher simultaneously, timeliness is preferably 1 to 10 Minute, for example, random cipher is maintained at after generation in 5 minutes effectively.
The time synchronization cryptographic algorithm for generating the random cipher can be used any in existing there are many embodiment Which kind of implementation the mature random cipher generating algorithm of kind, the embodiment of the present invention are not intended to limit.
The random cipher is sent to the mobile terminal 300 by step S130.The mobile terminal 300 is received and is shown Show the random cipher that the server 100 is sent.
So therefore, in the present embodiment, the process that server 100 generates random cipher is as follows:
User scans the two dimensional code on coded lock 200 with mobile phone, and it (includes barcode scanning that unlocking request is sent on server 100 Device number).It is raw using clock synchronization algorithm by password generator 130 according to device number after server 100 receives unlocking request At random cipher, such benefit is that the password generated after each user's request is random cipher, it is not easy to be cracked and also avoid Known password is reused.Server 100 is sent on user mobile phone after generating random cipher, and mobile phone is shown with secret Code, user know the password for needing to be input in coded lock 200 by the random cipher shown in mobile phone.
A kind of method that coded lock 200 is unlocked also is provided in the present embodiment, is applied in a coded lock 200, such as Figure 10 institute Show, the method that the coded lock 200 is unlocked includes:
Step S210, it is synchronous to generate random cipher identical with the random cipher generated in server 100.
In this present embodiment, generated in the coded lock 200 the time synchronization cryptographic algorithm of the random cipher with it is described The time synchronization cryptographic algorithm that random key is generated in server 100 is identical.
Specifically, the password generator 210 in the coded lock 200 also utilizes RTC clock chip by the clock specific time Encryption Algorithm identical with password generator 130 in server 100 is used with device number, generation and server within the same time The identical random cipher of random cipher in 100, while timeliness is configured for the random cipher, timeliness is preferably 1 to 10 minute, example Such as, random cipher is maintained at after generation in 5 minutes effectively.
Step S220 receives the unlocking cipher of input.
In this present embodiment, as shown in Figures 5 to 7, the mode of unlocking cipher is received including but not limited to a Password Input Keyboard 221, Password Input touch screen 222 or password sound pick-up 223.
For example, as shown in figure 5, user by cipher inputting keyboard 221 press input unlocking cipher in the form of entity button, or Person is as shown in fig. 6, user inputs unlocking cipher by the virtual touch keyboard that Password Input touch screen 222 is shown, in addition, as schemed Shown in 7, user can also be output by voice the unlocking cipher of speech form, and the coded lock 200 passes through password sound pick-up 223 Receive the unlocking cipher of speech form.
In addition, those skilled in the art can also use other Password Input forms, no longer limit herein.
Whether step S230, it is identical as the random cipher of generation to compare the unlocking cipher received, if they are the same, Then then execute step S240: control coded lock 200 is opened, if not identical, then executes step S250: control coded lock 200 remain turned-off.
It can be seen that the coded lock 200 in the present embodiment is handed in control of unlocking without using network communication and server 100 Mutually, it is generated by the password generator 130 for the time synchronization being arranged in coded lock 200 and server 100 identical disposable Random cipher fundamentally avoids and carries out a series of network problems of unlocking bring using network communication, ensured shared device Stability in use improves the working efficiency of shared device.
In the present embodiment, the interactive process of server 100, coded lock 200 and mobile terminal 300 are as follows:
Mobile terminal 300 scan coded lock 200 on or coded lock 200 nearby be associated with two dimensional code, then mobile terminal 300 to Server 100 sends the unlocking request of application password, and server 100 generates a random cipher and feeds back to the mobile terminal 300, The random cipher is inputted the coded lock 200 by user, and coded lock 200 is according to the synchronous identical random cipher generated and input Password be compared, it is determined whether unlock.
In conclusion coded lock of the invention is interacted without using network communication with server in control of unlocking, by The password generator of the time synchronization of middle setting generates identical disposable random cipher in coded lock and server, fundamentally keeps away Exempt to carry out a series of network problems of unlocking bring using network communication, has ensured shared device stability in use, improved The working efficiency of shared device, and by disposable random cipher also avoids password and is reused and device password The risk being cracked, to ensure that the interests of shared device operator.In addition, unlocking coded lock scheme of the invention for Operation is also very convenient for family, effectively improves user experience.So the present invention effectively overcomes in the prior art kind It plants disadvantage and has high industrial utilization value.
The above-described embodiments merely illustrate the principles and effects of the present invention, and is not intended to limit the present invention.It is any ripe The personage for knowing this technology all without departing from the spirit and scope of the present invention, carries out modifications and changes to above-described embodiment.Cause This, institute is complete without departing from the spirit and technical ideas disclosed in the present invention by those of ordinary skill in the art such as At all equivalent modifications or change, should be covered by the claims of the present invention.

Claims (11)

1. a kind of server for unlocking coded lock, it is characterised in that: the server includes:
Receiving module, for receive mobile terminal by scan the two-dimensional code acquisition and send unlocking request;
Synchronization time module, for obtain with coded lock in password generator time synchronization synchronization time;
Password generator, for generating random cipher according to the unlocking request and the synchronization time;
Sending module, for the random cipher to be sent to the mobile terminal.
2. the server according to claim 1 for unlocking coded lock, it is characterised in that: in the unlocking request at least Include coded lock device number.
3. a kind of coded lock, it is characterised in that: the coded lock includes:
Lock body;
Password generator generates random cipher identical with the random cipher generated in server for synchronous;
Password acceptance module, unlocking cipher for receiving input;
Password comparator, it is whether identical as the random cipher of generation for comparing the unlocking cipher received, if phase Together, the first comparing result is exported, if not identical, exports the second comparing result;
Unlocking control module, for when receiving first comparing result, control lock body opening to receive described second When comparing result, control lock body is remained turned-off.
4. coded lock according to claim 3, it is characterised in that: institute's password generator generates the time of the random cipher Synchronizing Passwords algorithm is identical as the time synchronization cryptographic algorithm of random key is generated in the server.
5. coded lock according to claim 3, it is characterised in that: the password acceptance module includes a password input key Disk, Password Input touch screen or password sound pick-up.
6. a kind of system of unlocking coded lock, it is characterised in that: including as described in claim 1 or claim 2 for close The server and the coded lock as described in claim 3 to claim 5 any claim that code lock is unlocked.
7. a kind of equipment, it is characterised in that: the equipment installing is just like claim 3 to claim 5 any claim institute The coded lock stated.
8. a kind of method of unlocking coded lock, applied to one in the server of unlocking coded lock, it is characterised in that: described close Code locks the method unlocked
Receive mobile terminal by scan the two-dimensional code acquisition and send unlocking request;
Generation synchronization time random cipher according to the unlocking request and with password generator time synchronization in coded lock;
The random cipher is sent to the mobile terminal.
9. the method for unlocking coded lock according to claim 8, it is characterised in that: included at least in the unlocking request close Code lock device number.
10. a kind of method of unlocking coded lock is applied in a coded lock, it is characterised in that: the method for the unlocking coded lock Include:
It is synchronous to generate random cipher identical with the random cipher generated in server;
Receive the unlocking cipher of input;
It whether identical as the random cipher of generation compares the unlocking cipher received, if they are the same, controls coded lock Lock body is opened, if not identical, the lock body for controlling coded lock is remained turned-off.
11. the method for unlocking coded lock according to claim 10, it is characterised in that: generated in the coded lock it is described with The time synchronization cryptographic algorithm of secret code is identical as the time synchronization cryptographic algorithm of random key is generated in the server.
CN201810902181.5A 2018-08-09 2018-08-09 Method for unlocking coded lock, system, equipment, coded lock and server Pending CN109102607A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810902181.5A CN109102607A (en) 2018-08-09 2018-08-09 Method for unlocking coded lock, system, equipment, coded lock and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810902181.5A CN109102607A (en) 2018-08-09 2018-08-09 Method for unlocking coded lock, system, equipment, coded lock and server

Publications (1)

Publication Number Publication Date
CN109102607A true CN109102607A (en) 2018-12-28

Family

ID=64849240

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810902181.5A Pending CN109102607A (en) 2018-08-09 2018-08-09 Method for unlocking coded lock, system, equipment, coded lock and server

Country Status (1)

Country Link
CN (1) CN109102607A (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109919639A (en) * 2019-03-14 2019-06-21 北京品位生活科技有限公司 Anti-fake traceability system and method based on mobile internet sales commodity
CN109979052A (en) * 2019-03-07 2019-07-05 合肥智鼎电控自动化科技有限公司 A kind of power distribution cabinet guarding against theft type two dimensional code unlocking system
CN109979053A (en) * 2019-03-13 2019-07-05 许昌学院 A kind of offline model Internet of Things lock device and cipher key transmission methods based on MULTIPLE DYNAMIC key
CN110012168A (en) * 2019-04-03 2019-07-12 广东乐心医疗电子股份有限公司 Method and equipment for locking intelligent terminal
CN110881182A (en) * 2019-11-28 2020-03-13 广东科徕尼智能科技有限公司 Terminal and intelligent Bluetooth lock checking method, Bluetooth lock and storage medium
CN110910544A (en) * 2019-12-17 2020-03-24 深圳市深华方科技有限公司 Dynamic password door opening method and door lock
CN111179475A (en) * 2020-01-10 2020-05-19 广东科徕尼智能科技有限公司 System and method for generating temporary password offline
CN111444498A (en) * 2020-03-27 2020-07-24 北京骑胜科技有限公司 Unlocking method and shared service system
CN111862395A (en) * 2019-04-24 2020-10-30 云丁网络技术(北京)有限公司 Password generation method and device
CN112184953A (en) * 2019-07-01 2021-01-05 顺丰科技有限公司 Unlocking method, unlocking system, logistics vehicle, equipment and storage medium
CN115410296A (en) * 2022-07-20 2022-11-29 国网浙江省电力有限公司丽水供电公司 Safe off-line intelligent lock based on two-dimension code and short message transmission key and unlocking method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20120007578A (en) * 2010-07-15 2012-01-25 김기현 Entry control device of digital doorlock and method
CN104123775A (en) * 2014-07-22 2014-10-29 杜明浩 Dynamic password lock
US20170169637A1 (en) * 2015-12-11 2017-06-15 The Sun Lock Company Ltd. Electronic combination lock with different levels of access control
CN107103676A (en) * 2017-06-06 2017-08-29 张永穆 A kind of shared equipment dynamic puzzle-lock system
CN107689097A (en) * 2017-08-29 2018-02-13 重庆壹元电科技有限公司 Synchronizing Passwords generation and checking system and its application based on frequency hopping

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20120007578A (en) * 2010-07-15 2012-01-25 김기현 Entry control device of digital doorlock and method
CN104123775A (en) * 2014-07-22 2014-10-29 杜明浩 Dynamic password lock
US20170169637A1 (en) * 2015-12-11 2017-06-15 The Sun Lock Company Ltd. Electronic combination lock with different levels of access control
CN107103676A (en) * 2017-06-06 2017-08-29 张永穆 A kind of shared equipment dynamic puzzle-lock system
CN107689097A (en) * 2017-08-29 2018-02-13 重庆壹元电科技有限公司 Synchronizing Passwords generation and checking system and its application based on frequency hopping

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109979052A (en) * 2019-03-07 2019-07-05 合肥智鼎电控自动化科技有限公司 A kind of power distribution cabinet guarding against theft type two dimensional code unlocking system
CN109979053A (en) * 2019-03-13 2019-07-05 许昌学院 A kind of offline model Internet of Things lock device and cipher key transmission methods based on MULTIPLE DYNAMIC key
CN109919639A (en) * 2019-03-14 2019-06-21 北京品位生活科技有限公司 Anti-fake traceability system and method based on mobile internet sales commodity
CN110012168A (en) * 2019-04-03 2019-07-12 广东乐心医疗电子股份有限公司 Method and equipment for locking intelligent terminal
CN111862395A (en) * 2019-04-24 2020-10-30 云丁网络技术(北京)有限公司 Password generation method and device
CN112184953A (en) * 2019-07-01 2021-01-05 顺丰科技有限公司 Unlocking method, unlocking system, logistics vehicle, equipment and storage medium
CN110881182A (en) * 2019-11-28 2020-03-13 广东科徕尼智能科技有限公司 Terminal and intelligent Bluetooth lock checking method, Bluetooth lock and storage medium
CN110881182B (en) * 2019-11-28 2023-09-15 广东好太太智能家居有限公司 Terminal and intelligent Bluetooth lock verification method, bluetooth lock and storage medium
CN110910544A (en) * 2019-12-17 2020-03-24 深圳市深华方科技有限公司 Dynamic password door opening method and door lock
CN111179475A (en) * 2020-01-10 2020-05-19 广东科徕尼智能科技有限公司 System and method for generating temporary password offline
CN111444498A (en) * 2020-03-27 2020-07-24 北京骑胜科技有限公司 Unlocking method and shared service system
CN111444498B (en) * 2020-03-27 2023-08-25 北京骑胜科技有限公司 Unlocking method and shared service system
CN115410296A (en) * 2022-07-20 2022-11-29 国网浙江省电力有限公司丽水供电公司 Safe off-line intelligent lock based on two-dimension code and short message transmission key and unlocking method

Similar Documents

Publication Publication Date Title
CN109102607A (en) Method for unlocking coded lock, system, equipment, coded lock and server
CN204833402U (en) Two -dimensional code developments trick lock
CN106780893A (en) A kind of internet intelligent door lock and system
CN107749885B (en) Intelligent equipment remote password management method and Lora intelligent equipment networking system
CN109326034A (en) A kind of smart lock Work Bill Management System for electric distribution cabinet
CN101710432B (en) Fingerprint access control method of unattended operation transformer station
CN108986278A (en) A kind of intelligent door lock off-line cipher authorization method and authoring system
CN101854250A (en) Electronic device management system and method
CN109472908A (en) A kind of intelligence lock administration system and method
CN104580246B (en) Dynamic and intelligent safe key is produced and managing and control system and method under WiFi environment
CN109714760A (en) A kind of right access control method suitable for smart machine under direct-connected communication environment
CN108734812A (en) Remote unlocking method, apparatus based on ZigBee and system
CN110988421B (en) Intelligent safety protection device and system applied to electric energy metering mechanism
CN112541990A (en) Door lock opening method and system of intelligent cabinet
CN109583186A (en) A kind of cloud computing formula image processing system
CN111800266A (en) Off-line sharing equipment control system and method based on real-time reference
CN109033803A (en) A kind of movement based on portal APP is micro- to apply login management method
CN105046791A (en) Intelligent entrance guard system for controlling unlocking through mobile terminal
CN206193962U (en) Adopt access control system of two -dimensional code authentication
CN108305359A (en) A kind of electric power warehouse electronic access control system and method
CN207571807U (en) Intelligent door lock system
CN206601745U (en) Coded lock with communication capacity
CN109840978A (en) A kind of centralized management intelligent lock system and its management method and method for unlocking
CN109309568A (en) A kind of fingerprint authorization method and system
CN205582054U (en) Password electronic 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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20181228