CN110335394A - A kind of smart lock control method and system based on cipher code set - Google Patents
A kind of smart lock control method and system based on cipher code set Download PDFInfo
- Publication number
- CN110335394A CN110335394A CN201910607750.8A CN201910607750A CN110335394A CN 110335394 A CN110335394 A CN 110335394A CN 201910607750 A CN201910607750 A CN 201910607750A CN 110335394 A CN110335394 A CN 110335394A
- Authority
- CN
- China
- Prior art keywords
- unlocking
- smart lock
- cipher
- unlocking cipher
- user
- 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 49
- 230000002452 interceptive effect Effects 0.000 claims description 25
- 230000005540 biological transmission Effects 0.000 claims description 3
- 238000004891 communication Methods 0.000 abstract description 7
- 238000005265 energy consumption Methods 0.000 abstract description 3
- 238000010586 diagram Methods 0.000 description 7
- 230000006870 function Effects 0.000 description 7
- 238000012545 processing Methods 0.000 description 7
- 238000005516 engineering process Methods 0.000 description 5
- 230000005856 abnormality Effects 0.000 description 4
- 230000006698 induction Effects 0.000 description 4
- 230000002159 abnormal effect Effects 0.000 description 2
- 235000013399 edible fruits Nutrition 0.000 description 2
- 238000004364 calculation method Methods 0.000 description 1
- 238000012790 confirmation Methods 0.000 description 1
- 230000007812 deficiency Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 238000003032 molecular docking Methods 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/00571—Electronically 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
-
- 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/0042—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 containing a code which is changed
- G07C2009/00476—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 containing a code which is changed dynamically
- G07C2009/00484—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 containing a code which is changed dynamically whereby the code is a variable code
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Lock And Its Accessories (AREA)
Abstract
The present invention relates to a kind of, and the smart lock based on cipher code set controls method and system, this method comprises: sending request of unlocking to background server by the intelligent terminal of user when unlocking, so that background server generates corresponding unlocking cipher, and the unlocking cipher is fed back into intelligent terminal;The unlocking cipher that user is manually entered is received, and the unlocking cipher is verified, is unlocked after being proved to be successful;It shuts password according to the request that shuts that user is manually entered when shutting and is fed back to user, so that user, which will shut password by intelligent terminal, is sent to background server, background server is verified to password is shut, and terminates the switch control operations of this smart lock after being proved to be successful.Smart lock is opened bluetooth without user and is controlled lock, low in energy consumption using the smart lock of this control method, stand-by time is long, is not influenced by network communications quality, and password is unique, safe and convenient without being communicated by network with background server in the present invention.
Description
Technical field
The present invention relates to smart lock control technology fields, and in particular to a kind of smart lock control method based on cipher code set and
System.
Background technique
Existing coded lock is roughly divided into mechanical code lock and electronically controlled intelligent cipher lock.
Mechanical code lock is easy artificially to be recorded password, is lost the cipher control effect of lock using fixed password.With
There is the smart lock with microprocessor, existing smart lock control mode in the continuous development of science and technology, the especially appearance of single-chip microcontroller
The switch of control lock is carried out using the wireless communication modes such as wireless 2G/4G network, bluetooth and backstage generally by itself, or is adopted
Communicate being controlled with lock by sensing apparatus with RFID technique, the 2G/4G lock of such as existing shared bicycle, bluetooth are locked or made
With the door-control lock of access card.
It is communicated because being related to network base station using the smart lock of 2G/4G network, by region, base station area coverage and network
Communication quality influences, and simultaneous communications power consumption is bigger, causes stand-by time short;Blue-tooth intelligence lock, which need to open bluetooth by mobile phone, to be come
Control, but and not all user can open Bluetooth function, it is relatively high that affect experience learns use cost simultaneously;Incuded using RFID
The smart lock of technology when in use, needs user's moment to wear sensing apparatus (such as access card), when user forgets that wearing induction sets
When standby, then smart lock can not be opened, is caused inconvenience to the user.
Summary of the invention
In view of this, it is an object of the invention to overcome the deficiencies of the prior art and provide a kind of intelligence based on cipher code set
Lock control method and system.
In order to achieve the above object, the present invention adopts the following technical scheme: a kind of smart lock control method based on cipher code set,
Include:
When unlocking, request of unlocking is sent to background server by the intelligent terminal of user so that background server according to
The unlocking request generates corresponding unlocking cipher, and the unlocking cipher is fed back to the intelligent terminal;
The unlocking cipher that user is manually entered is received, and the unlocking cipher is verified, is opened after being proved to be successful
Lock;
When shutting, password is shut according to the request that shuts that user is manually entered, and this is shut into cipher feedback to use
Family, so that the password that shuts is sent to background server, the background server docking by the intelligent terminal by user
Password is shut described in receiving to be verified, and terminates the switch control operations of this smart lock after being proved to be successful;
Wherein, it the unlocking cipher in the switch control operations each time of smart lock and shuts password and is mutually matched, and is each
Unlocking cipher in secondary switch control operations and to shut password be variation.
Optionally, the intelligent terminal by user sends request of unlocking to background server, comprising:
The identification information of the smart lock is obtained by the intelligent terminal barcode scanning of user;
Request of unlocking is generated according to the identification information.
Optionally, the unlocking cipher is verified, comprising:
The unlocking cipher received is compared with unlocking cipher pre-generated inside smart lock;
If the unlocking cipher received is identical as unlocking cipher pre-generated inside smart lock, it is proved to be successful;It is no
Then, authentication failed.
Optionally, algorithm used by unlocking cipher is generated inside the smart lock and the background server is generated and unlocked
Algorithm used by password is identical.
Optionally, the unlocking cipher and password is shut as a cipher code set, be according to cipher code set algorithm factor and institute
State what the identification information of smart lock uniquely determined, wherein the cipher code set algorithm factor is corresponding with smart lock.
Optionally, the control method further include:
If shut, user only completes physics and shuts and forget to send and shut request, by customer service to after described
Platform server sends the order for forcing to terminate this switch control operations of the smart lock.
Optionally, the control method further include:
When the unlocking cipher is fed back to the intelligent terminal by the background server, start timing;
When the background server to receive shut password authentification success after, stop timing;
Spending amount is calculated according to timing duration.
The smart lock control system based on cipher code set that the present invention also provides a kind of, comprising:
Intelligent terminal, unlocking cipher authentication module, shut secret generation module, unlocking execution module, interactive module and after
Platform server;
Wherein, the intelligent terminal is used for when unlocking, and Xiang Suoshu background server sends request of unlocking, so that after described
Platform server generates corresponding unlocking cipher according to unlocking request, and the unlocking cipher is fed back to the intelligence eventually
End;
The unlocking cipher is sent to described by the interactive module for receiving the unlocking cipher that user is manually entered
Unlocking cipher authentication module so that the unlocking cipher authentication module verifies the unlocking cipher, and is worked as and is proved to be successful
Afterwards, it is unlocked by the unlocking execution module;
The interactive module is also used to when shutting, and what reception user was manually entered shuts request, and this is shut request
Secret generation module is shut described in being sent to, shuts password to generate, and this is shut into cipher feedback to user;
The background server be also used to receive user by the intelligent terminal send it is described shut password, and to this
It shuts password to be verified, terminates the switch control operations of this smart lock after being proved to be successful;
Wherein, it the unlocking cipher in the switch control operations each time of smart lock and shuts password and is mutually matched, and is each
Unlocking cipher in secondary switch control operations and to shut password be variation.
Optionally, the interactive module includes: display screen, character input module and instruction input module;
The character input module is for receiving the letter and/or number that user is manually entered.
Optionally, the control system further include: unlocking cipher generation module, the unlocking for pre-generating smart lock are close
Code;
The unlocking cipher authentication module verifies the unlocking cipher that user is manually entered, comprising:
The unlocking cipher that the unlocking cipher and the unlocking cipher generation module that user is manually entered pre-generate carries out
It compares;
If the unlocking cipher phase that the unlocking cipher that user is manually entered is pre-generated with the unlocking cipher generation module
Together, then it is proved to be successful;Otherwise, authentication failed;
Wherein, the unlocking cipher generation module, the unlocking cipher authentication module, it is described shut secret generation module,
The unlocking execution module and the interactive module are arranged at the smart lock or are loaded in the equipment of smart lock.
The invention adopts the above technical scheme, when the smart lock control method based on cipher code set includes: unlocking, passes through
The intelligent terminal of user sends request of unlocking to background server, so that background server is opposite according to unlocking request generation
The unlocking cipher answered, and the unlocking cipher is fed back into the intelligent terminal;The unlocking cipher that user is manually entered is received, and
The unlocking cipher is verified, is unlocked after being proved to be successful;When shutting, obtained according to the request that shuts that user is manually entered
It takes and shuts password, and this is shut into cipher feedback to user, so that user shuts password hair for described by the intelligent terminal
Give background server, the background server is verified to shutting password described in receiving, and terminates this after being proved to be successful
The switch control operations of secondary smart lock;Wherein, the unlocking cipher in the switch control operations each time of smart lock and password is shut
It is mutually matched, and the unlocking cipher in switch control operations and shut password and be variation each time.Control of the present invention
Method smart lock processed does not need to be communicated by network with background server, opens bluetooth without user and controls to lock
System, low in energy consumption using the smart lock of this control method, stand-by time is long, is not influenced, and password is unique, is made by network communications quality
Use safe and convenient.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with
It obtains other drawings based on these drawings.
Fig. 1 is that the present invention is based on the flow diagrams that the smart lock of cipher code set control embodiment of the method one provides;
Fig. 2 is that the present invention is based on the flow diagrams that the smart lock of cipher code set control embodiment of the method two provides;
Fig. 3 is that the present invention is based on the structural schematic diagrams that the smart lock of cipher code set control system embodiment one provides;
Fig. 4 is that the present invention is based on the schematic diagrames of interactive module described in the smart lock of cipher code set control system embodiment one.
In figure: 1, intelligent terminal;2, unlocking cipher authentication module;3, secret generation module is shut;4, unlocking execution module;
5, interactive module;6, unlocking cipher generation module;7, background server.
Specific embodiment
To make the object, technical solutions and advantages of the present invention clearer, technical solution of the present invention will be carried out below
Detailed description.Obviously, described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.Base
Embodiment in the present invention, those of ordinary skill in the art are obtained all without making creative work
Other embodiment belongs to the range that the present invention is protected.
Fig. 1 is that the present invention is based on the flow diagrams that the smart lock of cipher code set control embodiment of the method one provides.
As shown in Figure 1, the smart lock control method described in the present embodiment based on cipher code set, comprising:
S11: when unlocking, request of unlocking is sent to background server by the intelligent terminal of user, so that background server
Corresponding unlocking cipher is generated according to unlocking request, and the unlocking cipher is fed back into the intelligent terminal;
Further, the intelligent terminal by user sends request of unlocking to background server, comprising:
The identification information of the smart lock is obtained by the intelligent terminal barcode scanning of user;
Request of unlocking is generated according to the identification information.
S12: the unlocking cipher that user is manually entered is received, and the unlocking cipher is verified, is proved to be successful laggard
Row is unlocked;
Further, the unlocking cipher is verified, comprising:
The unlocking cipher received is compared with unlocking cipher pre-generated inside smart lock;
If the unlocking cipher received is identical as unlocking cipher pre-generated inside smart lock, it is proved to be successful;It is no
Then, authentication failed.
S13: when shutting, password is shut according to the request that shuts that user is manually entered, and this is shut into cipher feedback
To user, so that the password that shuts is sent to background server, the background server by the intelligent terminal by user
It is verified to password is shut described in receiving, terminates the switch control operations of this smart lock after being proved to be successful;
Wherein, it the unlocking cipher in the switch control operations each time of smart lock and shuts password and is mutually matched, and is each
Unlocking cipher in secondary switch control operations and to shut password be variation.
Further, algorithm used by unlocking cipher is generated inside the smart lock to open with background server generation
Algorithm used by lock cipher is identical.
Further, the unlocking cipher and shut password as a cipher code set, be according to cipher code set algorithm factor and
What the identification information of the smart lock uniquely determined, wherein the cipher code set algorithm factor is corresponding with smart lock.
The application scenarios of control method described in the present embodiment in actual use are as follows:
Unlocking process:
1. user using the two dimensional code in the small routine scanning device to match with the control method on smart phone, to
Background server sends request of unlocking;Wherein, the equipment can refer to smart lock or be loaded with the device of smart lock, such as voluntarily
Vehicle or door cabinet etc. include the identification information of smart lock in the two dimensional code;
2. after server receives the request, being verified to the request, and corresponding according to unlocking request generation
Unlocking cipher, and the unlocking cipher is fed back to the smart phone of user;
3. in the interactive module of equipment, such as on control panel, user is manually entered the unlocking cipher, and clicks control
" borrowing " button confirmation on panel;
4. the authentication module inside smart lock verifies the unlocking cipher;
5. after verifying is correct, unlocking.
Shut process:
1. opening smart phone currently ongoing order, giving back on small routine is clicked, prompts to need to input to shut
Password;
2. " going back " button in the manual pointing device interactive module of user, i.e., user, which is manually entered, shuts request;
3. smart lock induction judges that lock has been closed by the user;
4. shutting password according to the request generation that shuts that user is manually entered, and by the password that shuts in the interactive mould
It is shown on block, to feed back to user;
5. the password that shuts that user shows interactive module is manually entered in the small routine of smart phone, pass through smart phone
The password that shuts is sent to background server;
6. the background server is verified to shutting password described in receiving, terminate this intelligence after being proved to be successful
The switch control operations of lock terminate the order.
Open and close lock cipher in the present embodiment in each each secondary control operation of smart lock is variation;Smart lock
Open and close password is a closed loop, and only first group of unlocking cipher input is correct, and matched shut could be shown on intelligent lock device
Password;Then when the smart lock of first use instantly, next group of unlocking cipher just can successfully open smart lock;Otherwise stop always
It stays in one group of password and uses link;
The unlocking of background server is given back and (shuts) as a closed loop, and only normal unlock can open one and order
It is single, then correctly enter and shut password and can just terminate order, into next group of unlocking, shut password and use, if user to
It cannot be inputted in smart phone and correctly shut password, which can rest on always use state until user's input is correct
Shut password;Meanwhile for same smart lock, if current order, which is not finished, to be used by other users barcode scanning.
Referring to process is shut above, user shuts password by being manually operated to obtain, and shutting for interactive module feedback is close
Code is input in the small routine on smart phone, this is shut password and is sent to background server by smart phone is verified
Afterwards, order can be terminated, (what is be mutually matched shuts password and shut close in background server for the cipher code set of smart lock maintenance
Code) and the cipher code set of smart lock self maintained enter next group.
Control method described in the present embodiment, unlocking cipher in the switch control operations each time of smart lock and shuts close
Code is mutually matched, and the unlocking cipher in switch control operations and shuts password and be variation each time.Described in the present embodiment
Control method smart lock do not need to be communicated by network with background server, without user open bluetooth to lock carry out
Control, low in energy consumption using the smart lock of this control method, stand-by time is long, is not influenced by network communications quality, and password is unique,
Use safe and convenient.
Fig. 2 is that the present invention is based on the flow diagrams that the smart lock of cipher code set control embodiment of the method two provides.
As shown in Fig. 2, the smart lock control method described in the present embodiment based on cipher code set, comprising:
S21: when unlocking, request of unlocking is sent to background server by the intelligent terminal of user, so that background server
Corresponding unlocking cipher is generated according to unlocking request, and the unlocking cipher is fed back into the intelligent terminal, and open
The order is moved, timing is started;
S22: the unlocking cipher that user is manually entered is received, and the unlocking cipher is verified, is proved to be successful laggard
Row is unlocked;
S23: when shutting, password is shut according to the request that shuts that user is manually entered, and this is shut into cipher feedback
To user, so that the password that shuts is sent to background server, the background server by the intelligent terminal by user
It is verified to password is shut described in receiving, terminates the switch control operations of this smart lock after being proved to be successful, that is, terminate
The order, and stop timing;
Wherein, it the unlocking cipher in the switch control operations each time of smart lock and shuts password and is mutually matched, and is each
Unlocking cipher in secondary switch control operations and to shut password be variation.
S24: calculate what the order used according to the timing time for starting the order and the timing time for terminating the order
Duration, and spending amount is gone out according to the duration calculation that order uses.
In practical applications, which, which can be, is arranged on storing door cabinet, and the present embodiment not only describes cabinet on the door
On smart lock control method, also describe and the metered method of storing door cabinet realized by the control to smart lock.
In use, the process that smart lock is unlocked and shut refers to one associated description of foregoing embodiments.
It should be noted that when unlocking, when the smart phone of user receives the unlocking cipher of background server transmission
When, that is, start the order, starts timing;When user has used locker, user first shuts cabinet door, on smart lock is automatic
Lock, user will also open smart phone currently ongoing order, click giving back on small routine, and small routine interface prompt needs
It inputs and shuts password, user is clicked manually on storing cabinet equipment interactive module the control panel of display screen (can be include)
" going back " button, i.e., user, which is manually entered, shuts request;Smart lock induction is judged to have been switched off automatic locking, intelligence when front cabinet door
The request generation that shuts that can lock can be manually entered according to user shuts password, and by the password that shuts in the interactive module
It shows, to feed back to user;The password that shuts that user shows interactive module is manually entered in the small routine of smart phone,
The password that shuts is sent to background server by smart phone;The background server is close to shutting described in receiving
Code is verified, and is terminated the switch control operations of this smart lock after being proved to be successful, that is, is terminated the order, and order is terminated to refer to
Order is sent on the small routine of user's smart phone, and small routine calculates the spending amount of the order, and deducts fees.
In actual use, the processing mode of abnormal conditions:
In unlocking process,
(1) after user obtains unlocking cipher, manual input operation is not carried out, small routine has begun Fare determined by travel time, such as
Fruit, which will terminate to deduct fees, carries out abnormality processing there are two types of mode: the first: pointing device " go back " button, and acquisition shuts password, input
Mobile phone small routine normal termination order, clearing are deducted fees;Second: if user not beside equipment, can contact customer service, pass through visitor
It takes to the background server and sends the order for forcing to terminate order, in this case, the unlocking cipher of the equipment is constant still
Not used unlocking cipher before;Both the above abnormality processing mode does fee deduction treatment.
(2) after user obtains unlocking cipher, small routine order starts Fare determined by travel time, and user is manually entered unlocking in equipment
Password clicks " borrowing " button, if latch failure is not turned on (for example door lock is broken and does not open), if to terminate progress of deducting fees
There are two types of modes for abnormality processing: fee deduction treatment is not made in two ways processing ibid at this time.
It shuts in process,
(1) after " going back " button on pointing device, smart lock breaks down, and induction has been switched off less than cabinet door, thus cannot
It shows and shuts password.
(2) the first: what user successfully obtained equipment feedback shuts password, but user does not input the little Cheng on smart phone
In sequence interface;Second: after user's physics closes cabinet door, forgetting to execute to obtain and shut password and operation later, this feelings
Under condition, which can carry out always timing, and both the above abnormality processing mode does fee deduction treatment.
(1) and abnormal conditions described in (2), user can contact customer service, be sent by force by customer service to the background server
System terminates the order of this switch control operations of the smart lock, and to terminate this order, wherein (1) does not make fee deduction treatment, (2) are done
Fee deduction treatment.
Fig. 3 is that the present invention is based on the structural schematic diagrams that the smart lock of cipher code set control system embodiment one provides.
As shown in figure 3, the smart lock control system described in the present embodiment based on cipher code set, comprising:
Intelligent terminal 1, unlocking cipher authentication module 2 shut secret generation module 3, unlocking execution module 4, interactive module 5
With background server 7;
Wherein, the intelligent terminal 1 is used for when unlocking, and Xiang Suoshu background server 7 sends request of unlocking, so that described
Background server 7 generates corresponding unlocking cipher according to unlocking request, and the unlocking cipher is fed back to the intelligence
It can terminal 1;
The unlocking cipher is sent to institute for receiving the unlocking cipher that user is manually entered by the interactive module 5
Unlocking cipher authentication module 2 is stated, so that the unlocking cipher authentication module 2 verifies the unlocking cipher, and when verifying
After success, unlocked by the unlocking execution module 4;
The interactive module 5 is also used to when shutting, and what reception user was manually entered shuts request, and this is shut request
Secret generation module 3 is shut described in being sent to, shuts password to generate, and this is shut into cipher feedback to user;
The background server 7 is also used to receive user and shuts password by the described of the intelligent terminal 1 transmission, and right
This shuts password and is verified, and terminates the switch control operations of this smart lock after being proved to be successful;
Wherein, it the unlocking cipher in the switch control operations each time of smart lock and shuts password and is mutually matched, and is each
Unlocking cipher in secondary switch control operations and to shut password be variation.
Further, as shown in figure 4, the interactive module 5 includes: display screen, character input module and instruction input
Module:
The character input module is for receiving the letter and/or number that user is manually entered.
Further, the control system further include: unlocking cipher generation module 6, for pre-generating opening for smart lock
Lock cipher;
The unlocking cipher authentication module 2 verifies the unlocking cipher that user is manually entered, comprising:
The unlocking cipher that the unlocking cipher and the unlocking cipher generation module 6 that user is manually entered pre-generate carries out
It compares;
If the unlocking cipher phase that the unlocking cipher that user is manually entered is pre-generated with the unlocking cipher generation module 6
Together, then it is proved to be successful;Otherwise, authentication failed;
Wherein, the unlocking cipher generation module 6, the unlocking cipher authentication module 2, described shut secret generation module
3, the unlocking execution module 4 and the interactive module 5 are arranged at the smart lock or are loaded in the equipment of smart lock.
Described in the working principle of smart lock control system described in the present embodiment and smart lock above control embodiment of the method
Working principle is identical, and details are not described herein.
Smart lock control system described in the present embodiment, for smart lock in a switch control operations, the unlocking is close
The unlocking cipher and the password that shuts for shutting the generation of secret generation module 3 that code generation module 6 generates all are mutually matched,
With the unlocking cipher in a switch control operations and password is shut as a cipher code set, and not in homogeneous switch control operations
Unlocking cipher and shut password and be variation.Smart lock in control system described in the present embodiment do not need by network with
Background server 7 is communicated, and is opened bluetooth without user and is controlled lock, using the smart lock power consumption of this control method
Low, stand-by time is long, is not influenced by network communications quality, and password is unique, uses safe and convenient.
It is understood that same or similar part can mutually refer in the various embodiments described above, in some embodiments
Unspecified content may refer to the same or similar content in other embodiments.
It should be noted that in the description of the present invention, any process described otherwise above in flow chart or herein
Or method description is construed as, and indicates to include the steps that one or more for realizing specific logical function or process
Module, segment or the part of the code of executable instruction, and the range of the preferred embodiment of the present invention includes other reality
It is existing, wherein sequence shown or discussed can not be pressed, including according to related function by it is basic simultaneously in the way of or by phase
Anti- sequence, Lai Zhihang function, this should be understood by the embodiment of the present invention person of ordinary skill in the field.
It should be appreciated that each section of the invention can be realized with hardware, software, firmware or their combination.Above-mentioned
In embodiment, software that multiple steps or method can be executed in memory and by suitable instruction execution system with storage
Or firmware is realized.It, and in another embodiment, can be under well known in the art for example, if realized with hardware
Any one of column technology or their combination are realized: having a logic gates for realizing logic function to data-signal
Discrete logic, with suitable combinational logic gate circuit specific integrated circuit, programmable gate array (PGA), scene
Programmable gate array (FPGA) etc..
Those skilled in the art are understood that realize all or part of step that above-described embodiment method carries
It suddenly is that relevant hardware can be instructed to complete by program, the program can store in a kind of computer-readable storage medium
In matter, which when being executed, includes the steps that one or a combination set of embodiment of the method.
It, can also be in addition, each functional unit in each embodiment of the present invention can integrate in a processing module
It is that each unit physically exists alone, can also be integrated in two or more units in a module.Above-mentioned integrated mould
Block both can take the form of hardware realization, can also be realized in the form of software function module.The integrated module is such as
Fruit is realized and when sold or used as an independent product in the form of software function module, also can store in a computer
In read/write memory medium.
Storage medium mentioned above can be read-only memory, disk or CD etc..
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show
The description of example " or " some examples " etc. means specific features, structure, material or spy described in conjunction with this embodiment or example
Point is included at least one embodiment or example of the invention.In the present specification, schematic expression of the above terms are not
Centainly refer to identical embodiment or example.Moreover, particular features, structures, materials, or characteristics described can be any
One or more embodiment or examples in can be combined in any suitable manner.
Although the embodiments of the present invention has been shown and described above, it is to be understood that above-described embodiment is example
Property, it is not considered as limiting the invention, those skilled in the art within the scope of the invention can be to above-mentioned
Embodiment is changed, modifies, replacement and variant.
Claims (10)
1. a kind of smart lock control method based on cipher code set characterized by comprising
When unlocking, request of unlocking is sent to background server by the intelligent terminal of user, so that background server is according to
Request of unlocking generates corresponding unlocking cipher, and the unlocking cipher is fed back to the intelligent terminal;
The unlocking cipher that user is manually entered is received, and the unlocking cipher is verified, is unlocked after being proved to be successful;
When shutting, password is shut according to the request that shuts that user is manually entered, and this is shut into cipher feedback to user, with
Make the user password that shuts are sent to background server by the intelligent terminal, the background server is to receiving
The password that shuts is verified, and terminates the switch control operations of this smart lock after being proved to be successful;
Wherein, it the unlocking cipher in the switch control operations each time of smart lock and shuts password and is mutually matched, and open each time
Closing the unlocking cipher in control operation and shutting password is variation.
2. smart lock control method according to claim 1, which is characterized in that the intelligent terminal by user is backward
Platform server sends request of unlocking, comprising:
The identification information of the smart lock is obtained by the intelligent terminal barcode scanning of user;
Request of unlocking is generated according to the identification information.
3. smart lock control method according to claim 2, which is characterized in that verify, wrap to the unlocking cipher
It includes:
The unlocking cipher received is compared with unlocking cipher pre-generated inside smart lock;
If the unlocking cipher received is identical as unlocking cipher pre-generated inside smart lock, it is proved to be successful;Otherwise, it tests
Card failure.
4. smart lock control method according to claim 3, which is characterized in that generate unlocking cipher inside the smart lock
Algorithm used by used algorithm generates unlocking cipher with the background server is identical.
5. smart lock control method according to claim 4, which is characterized in that the unlocking cipher and shut password conduct
One cipher code set is to be uniquely determined according to the identification information of cipher code set algorithm factor and the smart lock, wherein the password
Group algorithm factor is corresponding with smart lock.
6. smart lock control method according to any one of claims 1 to 5, which is characterized in that further include:
If shut, user only completes physics and shuts and forget that transmission shuts request, is taken by customer service to the backstage
Business device sends the order for forcing to terminate this switch control operations of the smart lock.
7. smart lock control method according to any one of claims 1 to 5, which is characterized in that further include:
When the unlocking cipher is fed back to the intelligent terminal by the background server, start timing;
When the background server to receive shut password authentification success after, stop timing;
Spending amount is calculated according to timing duration.
8. a kind of smart lock control system based on cipher code set characterized by comprising
Intelligent terminal, unlocking cipher authentication module shut secret generation module, unlocking execution module, interactive module and backstage clothes
Business device;
Wherein, the intelligent terminal is used for when unlocking, and Xiang Suoshu background server sends request of unlocking, so that the backstage takes
Device be engaged according to the corresponding unlocking cipher of unlocking request generation, and the unlocking cipher is fed back into the intelligent terminal;
The unlocking cipher is sent to the unlocking for receiving the unlocking cipher that user is manually entered by the interactive module
Password authentication module, so that the unlocking cipher authentication module verifies the unlocking cipher, and after being proved to be successful, by
The unlocking execution module is unlocked;
The interactive module is also used to when shutting, and what reception user was manually entered shuts request, and this is shut request and is sent
Secret generation module is shut to described, shuts password to generate, and this is shut into cipher feedback to user;
The background server be also used to receive user by the intelligent terminal send it is described shut password, and this is shut
Password is verified, and terminates the switch control operations of this smart lock after being proved to be successful;
Wherein, it the unlocking cipher in the switch control operations each time of smart lock and shuts password and is mutually matched, and open each time
Closing the unlocking cipher in control operation and shutting password is variation.
9. smart lock control device according to claim 8, which is characterized in that the interactive module includes: display screen, word
Accord with input module and instruction input module;
The character input module is for receiving the letter and/or number that user is manually entered.
10. smart lock control device according to claim 8 or claim 9, which is characterized in that further include: unlocking cipher generates mould
Block, for pre-generating the unlocking cipher of smart lock;
The unlocking cipher authentication module verifies the unlocking cipher that user is manually entered, comprising:
The unlocking cipher that user is manually entered is compared with the unlocking cipher that the unlocking cipher generation module pre-generates;
If the unlocking cipher that user is manually entered is identical as the unlocking cipher that the unlocking cipher generation module pre-generates,
It is proved to be successful;Otherwise, authentication failed;
Wherein, the unlocking cipher generation module, the unlocking cipher authentication module, the secret generation module, described of shutting
Unlocking execution module and the interactive module are arranged at the smart lock or are loaded in the equipment of smart lock.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910607750.8A CN110335394A (en) | 2019-07-05 | 2019-07-05 | A kind of smart lock control method and system based on cipher code set |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910607750.8A CN110335394A (en) | 2019-07-05 | 2019-07-05 | A kind of smart lock control method and system based on cipher code set |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110335394A true CN110335394A (en) | 2019-10-15 |
Family
ID=68143179
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910607750.8A Pending CN110335394A (en) | 2019-07-05 | 2019-07-05 | A kind of smart lock control method and system based on cipher code set |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110335394A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112330855A (en) * | 2020-10-15 | 2021-02-05 | 成都市以太节点科技有限公司 | Electronic lock safety management method, equipment and system |
CN113538740A (en) * | 2021-06-10 | 2021-10-22 | 深圳市宏智智能装备有限公司 | Off-line control method of intelligent lock and intelligent lock thereof |
CN113589062A (en) * | 2021-06-17 | 2021-11-02 | 珠海汇金科技股份有限公司 | Lock body detection method and device |
CN115631555A (en) * | 2022-10-18 | 2023-01-20 | 南京艾泰克物联网科技有限公司 | A data computer room identity authentication system based on a dynamic digital authority system |
CN115880816A (en) * | 2022-10-21 | 2023-03-31 | 深圳供电局有限公司 | Unlocking method and device of intelligent lock, computer equipment and storage medium |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9373201B2 (en) * | 2012-05-23 | 2016-06-21 | Enterprise Holdings, Inc. | Rental/car-share vehicle access and management system and method |
CN106713431A (en) * | 2016-12-13 | 2017-05-24 | 上海众人网络安全技术有限公司 | Unlocking/locking control method and system for vehicle |
CN106780859A (en) * | 2016-11-21 | 2017-05-31 | 上海众人网络安全技术有限公司 | Control method and system that a kind of time type vehicle is unlocked/shut |
CN106780860A (en) * | 2016-11-21 | 2017-05-31 | 上海众人网络安全技术有限公司 | Control method and system that a kind of challenge type vehicle is unlocked/shut |
CN107181742A (en) * | 2017-05-16 | 2017-09-19 | 珠海晶通科技有限公司 | A kind of shared bicycle electronic lock system and its method for unlocking |
CN107483581A (en) * | 2017-08-16 | 2017-12-15 | 珠海格力电器股份有限公司 | Password verification method of sharing device, cloud server and system |
CN108234651A (en) * | 2018-01-02 | 2018-06-29 | 京东方科技集团股份有限公司 | A kind of shared vehicles management method, device, system and equipment, storage medium |
US10081334B1 (en) * | 2017-05-17 | 2018-09-25 | Alpine Electronics, Inc. | Method and system for unlocking vehicle with use of morse code |
CN109671194A (en) * | 2018-12-20 | 2019-04-23 | 深圳市奋达科技股份有限公司 | A kind of shared automobile management method, system and storage medium |
-
2019
- 2019-07-05 CN CN201910607750.8A patent/CN110335394A/en active Pending
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9373201B2 (en) * | 2012-05-23 | 2016-06-21 | Enterprise Holdings, Inc. | Rental/car-share vehicle access and management system and method |
CN106780859A (en) * | 2016-11-21 | 2017-05-31 | 上海众人网络安全技术有限公司 | Control method and system that a kind of time type vehicle is unlocked/shut |
CN106780860A (en) * | 2016-11-21 | 2017-05-31 | 上海众人网络安全技术有限公司 | Control method and system that a kind of challenge type vehicle is unlocked/shut |
CN106713431A (en) * | 2016-12-13 | 2017-05-24 | 上海众人网络安全技术有限公司 | Unlocking/locking control method and system for vehicle |
CN107181742A (en) * | 2017-05-16 | 2017-09-19 | 珠海晶通科技有限公司 | A kind of shared bicycle electronic lock system and its method for unlocking |
US10081334B1 (en) * | 2017-05-17 | 2018-09-25 | Alpine Electronics, Inc. | Method and system for unlocking vehicle with use of morse code |
CN107483581A (en) * | 2017-08-16 | 2017-12-15 | 珠海格力电器股份有限公司 | Password verification method of sharing device, cloud server and system |
CN108234651A (en) * | 2018-01-02 | 2018-06-29 | 京东方科技集团股份有限公司 | A kind of shared vehicles management method, device, system and equipment, storage medium |
CN109671194A (en) * | 2018-12-20 | 2019-04-23 | 深圳市奋达科技股份有限公司 | A kind of shared automobile management method, system and storage medium |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112330855A (en) * | 2020-10-15 | 2021-02-05 | 成都市以太节点科技有限公司 | Electronic lock safety management method, equipment and system |
CN113538740A (en) * | 2021-06-10 | 2021-10-22 | 深圳市宏智智能装备有限公司 | Off-line control method of intelligent lock and intelligent lock thereof |
CN113589062A (en) * | 2021-06-17 | 2021-11-02 | 珠海汇金科技股份有限公司 | Lock body detection method and device |
CN115631555A (en) * | 2022-10-18 | 2023-01-20 | 南京艾泰克物联网科技有限公司 | A data computer room identity authentication system based on a dynamic digital authority system |
CN115880816A (en) * | 2022-10-21 | 2023-03-31 | 深圳供电局有限公司 | Unlocking method and device of intelligent lock, computer equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110335394A (en) | A kind of smart lock control method and system based on cipher code set | |
CN103927806B (en) | Unlocking system and the method thereof of password authentification is performed based on wireless communication module pairing | |
CN107798757A (en) | A kind of method for unlocking of intelligent door lock | |
HUE025535T2 (en) | Electromechanical lock | |
CN103942688A (en) | Data security interactive system | |
CN106952377A (en) | The method and system of smart home door lock are opened by mobile fingerprint | |
CN114220199B (en) | Unlocking method, intelligent lock and intelligent lock system | |
CN103942690A (en) | Data security interactive system | |
CN103942684A (en) | Data security interactive system | |
CN103944730A (en) | Data security interactive system | |
CN204990313U (en) | Disposition of equipment mandate device | |
CN103733591B (en) | Removable modules is tied to access terminal | |
CN110322599A (en) | Door lock management method, device, electronic equipment and storage medium | |
CN109920102A (en) | A kind of smart lock method, apparatus, equipment and storage medium that bluetooth enters without spoon | |
CN103942685A (en) | Data security interactive system | |
CN107798759A (en) | Door lock door opening method, door lock and computer-readable recording medium | |
CN107295016A (en) | Auth method and device | |
CN103944908A (en) | Data updating method and system | |
CN109685948A (en) | One kind being based on mobile device dynamic two-dimension code visitor's method | |
CN106157409A (en) | Communication means between intelligent terminal and gate inhibition and device | |
CN109685940A (en) | Shared bicycle, smart lock and its application method and system, server | |
CN109903470A (en) | It is a kind of convenient for the shared lock system given back and its application | |
CN106780860B (en) | A kind of control method and system that challenge type vehicle is unlocked/shut | |
CN110867002A (en) | Door opening mode setting method, intelligent lock and storage medium | |
CN101938357A (en) | Method based on off-line authorization of safety access module, card tool and authentication card |
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: 20191015 |