CN107070554A - Cloud lock method for unlocking based on visible optical communication, system - Google Patents
Cloud lock method for unlocking based on visible optical communication, system Download PDFInfo
- Publication number
- CN107070554A CN107070554A CN201710330123.5A CN201710330123A CN107070554A CN 107070554 A CN107070554 A CN 107070554A CN 201710330123 A CN201710330123 A CN 201710330123A CN 107070554 A CN107070554 A CN 107070554A
- Authority
- CN
- China
- Prior art keywords
- unlocking
- cloud lock
- intelligent cloud
- mobile terminal
- unlocking pin
- 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
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B10/00—Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
- H04B10/11—Arrangements specific to free-space transmission, i.e. transmission through air or vacuum
- H04B10/114—Indoor or close-range type systems
- H04B10/116—Visible light communication
-
- 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/08—Network architectures or network communication protocols for network security for authentication of entities
- H04L63/083—Network architectures or network communication protocols for network security for authentication of entities using passwords
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1097—Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/32—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
- H04L9/3226—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials using a predetermined code, e.g. password, passphrase or PIN
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72403—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Physics & Mathematics (AREA)
- Computing Systems (AREA)
- Computer Hardware Design (AREA)
- General Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Electromagnetism (AREA)
- General Physics & Mathematics (AREA)
- Telephonic Communication Services (AREA)
- Optical Communication System (AREA)
- Telephone Function (AREA)
Abstract
The invention discloses the lock of the cloud based on visible optical communication method for unlocking, system, including mobile terminal, intelligent cloud lock and server, the unlocking pin is inputted in the mobile terminal, the unlocking pin is converted into the control data that control flash lamp flashes by the mobile terminal, the control data is unblock binary code corresponding with the unlocking pin, and " 1 " is defined for bright light, " 0 " is to turn off the light;The flash lamp of the mobile terminal is flashed according to the control data, sends unblock optical signal.The propagation rate of the unblock optical signal can reach 100Mbps, be difficult to be stolen and replicated by people, improve security.Password check process is completed in the server, and the intelligent cloud lock only needs the process for completing to be converted into unblock optical signal into input binary code, saves the electric energy loss of the intelligent cloud lock, improves the arithmetic speed of password check, be easy to computing in the future perfect.
Description
Technical field
The present invention relates to intelligent door lock field, more particularly to based on visible optical communication cloud lock method for unlocking, be
System.
Background technology
At present, intelligent door lock is all installed to antitheft door by many families, and substituting key with password, IC-card, fingerprint etc. opens the door,
Going home, it is more convenient and safe and reliable to open the door.And with the development of Internet technology, intelligent door lock can access internet
So that user is manipulated by mobile terminals such as mobile phone, computers, intelligent door lock is allowed to upgrade to intelligent cloud lock.But existing intelligent cloud
Lock is unlocked by modes such as mechanical input password, contactless card sensings, is easily stolen by others duplication, there is greatly safety hidden
Suffer from.
The content of the invention
It is an object of the invention to propose that a kind of blinker by identification blink lamp is unlocked, recognition accuracy is high, electricity
Can the few cloud lock method for unlocking based on visible optical communication of loss, system.
For up to this purpose, the present invention uses following technical scheme:
A kind of cloud lock method for unlocking based on visible optical communication, including mobile terminal, intelligent cloud lock and server, it is described
Mobile terminal and intelligent cloud lock are connected by communication network with server, and the mobile terminal configuration has flash lamp;
Step A, the mobile terminal and intelligent cloud lock matching connection, then set unlocking pin in the mobile terminal
And transmission to intelligent cloud lock is stored;
Step B, the unlocking pin is inputted in the mobile terminal, and the mobile terminal converts the unlocking pin
The control data flashed for control flash lamp, the control data is unblock binary code corresponding with the unlocking pin, and
It is bright light to define " 1 ", and " 0 " is to turn off the light;
Step C, the flash lamp of the mobile terminal is flashed according to the control data, sends unblock optical signal;
Step D, the intelligent cloud interlocking receives the unblock optical signal that the flash lamp from the mobile terminal is sent, and will
The unblock optical signal is converted into input binary code, and then the intelligent cloud lock inputs binary code and the solution by described
Lock cipher is sent to the server;
The input binary code of reception is converted into input character string by step E, the server, and will be described defeated
Enter character string and the unlocking pin is compared:
If the input character string is identical with the unlocking pin, unlocking instruction is sent to intelligent cloud lock, it is described
Intelligent cloud lock is received and unlocked after the unlocking instruction;
If the input character string and the unlocking pin are differed, send code error to intelligent cloud lock and refer to
Order, the intelligent cloud lock maintains to shut state after receiving the code error instruction.
Preferably, the method for inputting binary code is obtained in the step D is:
Step D1, the intelligent cloud lock, which is preset, can handle curent change frequency and bright light current value, and described bright
Lamp current value can handle current value described in being more than;
Step D2, the intelligent cloud lock receives the solution that the flash lamp from the mobile terminal is sent by photo resistance
Optical signal is locked, and is translated into the curent change array at the photo resistance two ends;
Step D3, the intelligent cloud lock calculates the curent change frequency of the curent change array, and judges the electric current
Whether the curent change frequency of change array, which is higher than, can handle curent change frequency:
If then performing next step;If not then maintaining to shut state;
Step D4, the intelligent cloud lock by the current value in the curent change array successively one by one with bright light current value
Compare, and in the curent change array:
If some current value is more than or equal to the bright light current value, it is converted into " 1 " in input binary code;
If some current value is less than the bright light current value, it is converted into " 0 " in input binary code;
So as to obtain the input binary code.
Preferably, in the step C, the flash lamp of the mobile terminal repeatedly sends the unblock optical signal;
In the step E, the input character string and the unlocking pin are compared the server:
If the input character string includes the unlocking pin, unlocking instruction, the intelligence are sent to intelligent cloud lock
Energy cloud lock is received unlocks after the unlocking instruction;
If the input character string does not include the unlocking pin, code error instruction is sent to intelligent cloud lock,
The intelligent cloud lock maintains to shut state after receiving the code error instruction.
Preferably, in addition to guest's unlocking process:
Master mobile terminal binding step is locked, mobile terminal and the intelligent cloud lock matching binding of master is locked;
Main remote control step is locked, main mobile terminal is locked and sends described to intelligent cloud lock by the server
Unlocking instruction and code error instruction;
Authorization unlocking step, locks main mobile terminal and sends the unlocking pin, the guest to the mobile terminal of guest
Mobile terminal according to the unlocking pin drive its flash lamp to the intelligent cloud lock send unblock optical signal.
Preferably, the system of method for unlocking, including mobile terminal, intelligence are locked using the cloud based on visible optical communication
Cloud is locked and server, and the mobile terminal and intelligent cloud lock are connected by communication network with server;
The mobile terminal includes:
Password setup module, for being connected with intelligent cloud lock matching and setting unlocking pin;
Unlocked state, for inputting the unlocking pin;
Optical signal generation module, it is described for the unlocking pin to be converted into the control data that control flash lamp flashes
Control data is unblock binary code corresponding with the unlocking pin, and defines " 1 " for bright light, and " 0 " is to turn off the light;
The flash lamp, for being flashed according to the control data, sends unblock optical signal;
The intelligent cloud lock includes:
Data memory module, for storing the unlocking pin;
Optical signal receiving module, for receiving the unblock optical signal that the flash lamp from the mobile terminal is sent;
Modular converter, for the unblock optical signal to be converted into input binary code, and by the input binary code
Sent with unlocking pin to the server;
The server includes:
Data management module, for receiving the unlocking pin and input binary code;
Contrast module is searched, for the input binary code of reception to be converted into input character string, and will be described defeated
Enter character string and the unlocking pin is compared:
If the input character string is identical with the unlocking pin, unlocking instruction is sent to intelligent cloud lock;
If the input character string and the unlocking pin are differed, send code error to intelligent cloud lock and refer to
Order;
The intelligent cloud lock also includes:
Control module is unlocked, for performing unlocking action after the unlocking instruction when receiving, and when receiving the password mistake
Maintain to shut state instruct by mistake after.
Preferably, the optical signal receiving module is configured with photo resistance, and the optical signal receiving module passes through photosensitive electricity
Resistance receives the unblock optical signal that the flash lamp from the mobile terminal is sent, and is translated into the photo resistance two ends
Curent change array;
The intelligent cloud lock also includes:
Memory, curent change frequency and bright light current value can be handled for presetting, and the bright light current value
Current value is handled more than described;
Frequency detection module, for calculating the curent change frequency of the curent change array, and judges that the electric current becomes
Whether the curent change frequency of change array, which is higher than, can handle curent change frequency:If then driving the modular converter to work, if
It is not then to send the code error to the unblock control module to instruct;
The modular converter, be additionally operable to by the current value in the curent change array successively one by one with bright light current value
Compare, and in the curent change array:
If some current value is more than or equal to the bright light current value, it is converted into " 1 " in input binary code;
If some current value is less than the bright light current value, it is converted into " 0 " in input binary code;
So as to obtain the input binary code.
Preferably, the mobile terminal also includes:
Glisten lamp control module, for controlling flash lamp to be flashed according to the control data, repeatedly sends solution
Lock optical signal;
The lookup contrast module of the server, is additionally operable to be compared the input character string and the unlocking pin
It is right:
If the input character string includes the unlocking pin, unlocking instruction is sent to intelligent cloud lock;
If the input character string does not include the unlocking pin, code error instruction is sent to intelligent cloud lock.
Preferably, the mobile terminal also includes:
Control module is bound, is sent out for binding, and being locked by the server to the intelligent cloud with intelligent cloud lock matching
The unlocking instruction and the code error is sent to instruct;
Authorization unlocking module, for sending the unlocking pin to the mobile terminal of guest.
Unlocking pin is embedded into the flash lamp of the mobile terminal by the cloud lock method for unlocking based on visible optical communication
Blinker in, the intelligent cloud interlocking receive the unblock optical signal that the flash lamp from the mobile terminal sends and by its
Input binary code is converted into, input binary code is sent to the server, entered by the server by the intelligent cloud lock
Row verification simultaneously controls the switch that the intelligent cloud is locked according to checked result, so as to pass through mechanical input password, contactless card with existing
The authentication modes such as sensing are compared, and the propagation rate of the unblock optical signal can reach 100Mbps, be difficult to be stolen and replicated by people,
Improve security.Password check process is completed in the server, and the intelligent cloud lock only needs completion to unlock optical signal
The process of input binary code is converted into, complicated calculating process is arranged on to the clothes of powerful and sustainable charging
It is engaged in completing in device, and simple calculations process is arranged on the expansion of function hardly possible and the intelligent cloud of grid charging can not be accessed
Completed in lock, save the electric energy loss of the intelligent cloud lock, improve the arithmetic speed of password check, be easy to computing in the future complete
It is kind.
Brief description of the drawings
The present invention will be further described for accompanying drawing, but the content in accompanying drawing does not constitute any limitation of the invention.
Fig. 1 is the system communication connection schematic diagram of one of embodiment of the invention;
Fig. 2 is the unlocking control interaction diagrams of one of embodiment of the invention;
Fig. 3 is the input binary code product process figure of one of embodiment of the invention;
Fig. 4 is the unlocking optimal control interaction diagrams of one of embodiment of the invention;
Fig. 5 is guest's unlocking control interaction diagrams of one of embodiment of the invention;
Fig. 6 is the intelligent cloud lock module figure of one of embodiment of the invention;
Fig. 7 is the mobile terminal module figure of one of embodiment of the invention;
Fig. 8 is the server module figure of one of embodiment of the invention.
Wherein:Mobile terminal 1;Intelligent cloud lock 2;Server 3;Password setup module 11;Unlocked state 12;Optical signal is produced
Raw module 13;Optical signal receiving module 21;Modular converter 22;Data management module 31;Search contrast module 32;Solve lock control
Module 23;Memory 24;Frequency detection module 25;Glisten lamp control module 14;Data memory module 26;Bind control module
15;Authorization unlocking module 16.
Embodiment
Further illustrate technical scheme below in conjunction with the accompanying drawings and by embodiment.
Cloud based on the visible optical communication lock method for unlocking of the present embodiment, as shown in figure 1, including mobile terminal 1, intelligence
Cloud lock 2 and server 3, mobile terminal 1 and the intelligent cloud lock 2 are connected by communication network with server 3, the movement
Terminal 1 is configured with flash lamp, as shown in Figure 2:
Then step A, the matching connection of mobile terminal 1 and intelligent cloud lock 2 sets unblock close in the mobile terminal 1
Code and sending to intelligent cloud lock 2 is stored;
Step B, the unlocking pin is inputted in the mobile terminal 1, and the mobile terminal 1 turns the unlocking pin
The control data that control flash lamp flashes is turned to, the control data is unblock binary code corresponding with the unlocking pin,
And " 1 " is defined for bright light, " 0 " is to turn off the light;
Step C, the flash lamp of the mobile terminal 1 is flashed according to the control data, sends unblock optical signal;
Step D, the intelligent cloud lock 2 receives the unblock optical signal that the flash lamp from the mobile terminal 1 is sent, and
The unblock optical signal is converted into input binary code, then the intelligent cloud lock 2 inputs binary code and described by described
Unlocking pin is sent to the server 3;
The input binary code of reception is converted into input character string by step E, the server 3, and will be described defeated
Enter character string and the unlocking pin is compared:
If the input character string is identical with the unlocking pin, unlocking instruction, institute are sent to intelligent cloud lock 2
State intelligent cloud lock 2 and receive unlocking after the unlocking instruction;
If the input character string and the unlocking pin are differed, send code error to intelligent cloud lock 2 and refer to
Order, the intelligent cloud lock 2 maintains to shut state after receiving the code error instruction.
Unlocking pin is embedded into the flash of light of the mobile terminal 1 by the cloud lock method for unlocking based on visible optical communication
In the blinker of lamp, the unblock optical signal that the flash lamp of the reception from the mobile terminal 1 of intelligent cloud lock 1 is sent is simultaneously
Input binary code is translated into, input binary code is sent to the server 3 by the intelligent cloud lock 1, by the clothes
The switch that business device 3 is checked and controls the intelligent cloud to lock 1 according to checked result, thus with it is existing close by mechanical input
The authentication modes such as code, contactless card sensing are compared, and the propagation rate of the unblock optical signal can reach 100Mbps, be difficult to be stolen by people
Take and replicate, improve security.Password check process is completed in the server 3, and the intelligent cloud lock 1 only needs to complete
Unblock optical signal is converted into the process of input binary code, complicated calculating process is arranged on powerful and sustainable
Completed in the server 3 of charging, and simple calculations process is arranged on function hardly possible and is expanded and power network can not be accessed is filled
Completed in the intelligent cloud lock 1 of electricity, save the electric energy loss of the intelligent cloud lock 1, improve the arithmetic speed of password check,
It is easy to computing in the future perfect.
Preferably, as shown in figure 3, the method that the input binary code is obtained in the step D is:
Step D1, the intelligent cloud lock 2, which is preset, can handle curent change frequency and bright light current value, and described
Bright light current value can handle current value described in being more than;
Step D2, the intelligent cloud lock 2 receives what the flash lamp from the mobile terminal 1 was sent by photo resistance
Optical signal is unlocked, and is translated into the curent change array at the photo resistance two ends;
Step D3, the intelligent cloud lock 2 calculates the curent change frequency of the curent change array, and judges the electricity
Whether the curent change frequency of rheology array, which is higher than, can handle curent change frequency:
If then performing next step;If not then maintaining to shut state;
Step D4, the intelligent cloud lock 2 by the current value in the curent change array successively one by one with bright light current value
Compare, and in the curent change array:
If some current value is more than or equal to the bright light current value, it is converted into " 1 " in input binary code;
If some current value is less than the bright light current value, it is converted into " 0 " in input binary code;
So as to obtain the input binary code.
Due to the blinker that the unblock optical signal is flash lamp, flash rate is fast, corresponding curent change frequency
Height, and all visible rays can cause the change in resistance of photo resistance, therefore the little day by day light of light intensity change, corridor lamp
Light can allow the intelligent cloud lock 2 to produce the relatively low curent change array of curent change frequency.The intelligent cloud lock 2 will solved
Lock optical signal is simultaneously translated into before input binary code, and unblock optical signal first is converted into the photo resistance two ends
Curent change array, and its curent change frequency is compared with that can handle curent change frequency, to recognize the optical signal received
It is the blinker or other interference optical signals of flash lamp, prevents from converting non-unblock optical signal, improve identification accurate
Degree.
Because light intensity is stronger (receiving light brighter), the resistance of the photo resistance is smaller, and corresponding electric current is bigger, because
This after the unblock optical signal is confirmed as, intelligent cloud lock 2 by by the current value in the curent change array successively
One by one with bright light current value ratio compared with, you can which current value is produced when being flash lamp bright light, and which current value is that flash lamp goes out
Produced during lamp, so as to obtain the input binary code, conversion computing is simple and accurate.
Preferably, as shown in figure 4, in the step E, the server 3 is close by the input character string and the unblock
Code is compared:
If the input character string includes the unlocking pin, unlocking instruction is sent to intelligent cloud lock 2, it is described
Intelligent cloud lock 2 is received and unlocked after the unlocking instruction;
If the input character string does not include the unlocking pin, sending code error to intelligent cloud lock 2 refers to
Order, the intelligent cloud lock 2 maintains to shut state after receiving the code error instruction.
Due to that can be disturbed when the flash lamp sends unblock optical signal by day by day light, corridor light so that described
Server 3 can not recognize the unlocking pin.Therefore the cloud lock method for unlocking based on visible optical communication passes through repeatedly
Send the unblock optical signal so that the input character string includes several described unlocking pins, as long as in the input word
Symbol string identify that a unlocking pin can unlock so that from unblock optical signal generation end improve recognition accuracy and
Recognition speed.
Preferably, as shown in figure 5, also including guest's unlocking process:
Master mobile terminal binding step is locked, mobile terminal 1 and the matching binding of intelligent cloud lock 2 of master is locked;
Main remote control step is locked, main mobile terminal 1 is locked and institute is sent to intelligent cloud lock 2 by the server 3
State unlocking instruction and code error instruction;
Authorization unlocking step, locks main mobile terminal 1 and sends the unlocking pin, the visitor to the mobile terminal 1 of guest
The mobile terminal 1 of people drives its flash lamp to send unblock optical signal to intelligent cloud lock 2 according to the unlocking pin.
The main mobile terminal 1 of the lock with the matching of intelligent cloud lock 2 by binding, so as to remotely be controlled by internet
Make the switch of the intelligent cloud lock 2.When having guest's visiting but nobody home, lock master can be remote by the mobile terminal 1 of oneself
Intelligent cloud lock 2 is unlocked described in process control, and the unlocking pin can also be sent to the mobile terminal 1 of guest by lock master, allows guest certainly
Row is unlocked.So as to avoid guest from waiting so long outdoors, to lock, master brings convenience.
Preferably, the system of method for unlocking is locked using the cloud based on visible optical communication, as shown in figure 1, including movement
Terminal 1, intelligent cloud lock 2 and server 3, mobile terminal 1 and the intelligent cloud lock 2 are connected by communication network with server 3
Connect, as shown in Figure 6 to 8:
The mobile terminal 1 includes:
Password setup module 11, for being connected with the matching of intelligent cloud lock 2 and setting unlocking pin;
Unlocked state 12, for inputting the unlocking pin;
Optical signal generation module 13, for the unlocking pin to be converted into the control data that control flash lamp flashes, institute
Control data is stated for unblock binary code corresponding with the unlocking pin, and defines " 1 " for bright light, " 0 " is to turn off the light;
The flash lamp, for being flashed according to the control data, sends unblock optical signal;
The intelligent cloud lock 2 includes:
Data memory module 26, for storing the unlocking pin;
Optical signal receiving module 21, for receiving the unblock optical signal that the flash lamp from the mobile terminal 1 is sent;
Modular converter 22, for the unblock optical signal to be converted into input binary code, and by the input binary system
Code and unlocking pin are sent to the server 3;
The server 3 includes:
Data management module 31, for receiving the unlocking pin and input binary code;
Contrast module 32 is searched, for the input binary code of reception to be converted into input character string, and will be described
Input character string and the unlocking pin are compared:
If the input character string is identical with the unlocking pin, unlocking instruction is sent to intelligent cloud lock 2;
If the input character string and the unlocking pin are differed, send code error to intelligent cloud lock 2 and refer to
Order;
The intelligent cloud lock 2 also includes:
Control module 23 is unlocked, for performing unlocking action after the unlocking instruction when receiving, and the password ought be received
Maintain to shut state after false command.
Unlocking pin is embedded into the flash of light of the mobile terminal 1 by the cloud lock unlocking system based on visible optical communication
In the blinker of lamp, the unblock optical signal that the flash lamp of the reception from the mobile terminal 1 of intelligent cloud lock 1 is sent is simultaneously
Input binary code is translated into, input binary code is sent to the server 3 by the intelligent cloud lock 1, by the clothes
The switch that business device 3 is checked and controls the intelligent cloud to lock 1 according to checked result, thus with it is existing close by mechanical input
The authentication modes such as code, contactless card sensing are compared, and the propagation rate of the unblock optical signal can reach 100Mbps, be difficult to be stolen by people
Take and replicate, improve security.Password check process is completed in the server 3, and the intelligent cloud lock 1 only needs to complete
Unblock optical signal is converted into the process of input binary code, complicated calculating process is arranged on powerful and sustainable
Completed in the server 3 of charging, and simple calculations process is arranged on function hardly possible and is expanded and power network can not be accessed is filled
Completed in the intelligent cloud lock 1 of electricity, save the electric energy loss of the intelligent cloud lock 1, improve the arithmetic speed of password check,
It is easy to computing in the future perfect.
Preferably, the optical signal receiving module 21 is configured with photo resistance, and the optical signal receiving module 21 passes through light
Quick resistance receives the unblock optical signal that the flash lamp from the mobile terminal 1 is sent, and is translated into the photo resistance
The curent change array at two ends;
As Fig. 6 shows, the intelligent cloud lock 2 also includes:
Memory 24, curent change frequency and bright light current value can be handled for presetting, and the bright light electric current
Value can handle current value described in being more than;
Frequency detection module 25, for calculating the curent change frequency of the curent change array, and judges the electric current
Whether the curent change frequency of change array, which is higher than, can handle curent change frequency:If then driving the work of modular converter 22
Make, instructed if not then sending the code error to the unblock control module 23;
The modular converter 22, be additionally operable to by the current value in the curent change array successively one by one with bright light electric current
Value compares, and in the curent change array:
If some current value is more than or equal to the bright light current value, it is converted into " 1 " in input binary code;
If some current value is less than the bright light current value, it is converted into " 0 " in input binary code;
So as to obtain the input binary code.
Due to the blinker that the unblock optical signal is flash lamp, flash rate is fast, corresponding curent change frequency
Height, and all visible rays can cause the change in resistance of photo resistance, therefore the little day by day light of light intensity change, corridor lamp
Light can allow the intelligent cloud lock 2 to produce the relatively low curent change array of curent change frequency.The intelligent cloud lock 2 will solved
Lock optical signal is simultaneously translated into before input binary code, and unblock optical signal first is converted into the photo resistance two ends
Curent change array, and its curent change frequency is compared with that can handle curent change frequency, to recognize the optical signal received
It is the blinker or other interference optical signals of flash lamp, prevents from converting non-unblock optical signal, improve identification accurate
Degree.
Because light intensity is stronger (receiving light brighter), the resistance of the photo resistance is smaller, and corresponding electric current is bigger, because
This after the unblock optical signal is confirmed as, intelligent cloud lock 2 by by the current value in the curent change array successively
One by one with bright light current value ratio compared with, you can which current value is produced when being flash lamp bright light, and which current value is that flash lamp goes out
Produced during lamp, so as to obtain the input binary code, conversion computing is simple and accurate.
Preferably, as shown in Figure 7, Figure 8, the mobile terminal 1 also includes:
Glisten lamp control module 14, for controlling flash lamp to be flashed according to the control data, repeatedly sends
Unlock optical signal;
The lookup contrast module 32 of the server 3, is additionally operable to carry out the input character string and the unlocking pin
Compare:
If the input character string includes the unlocking pin, unlocking instruction is sent to intelligent cloud lock 2;
If the input character string does not include the unlocking pin, sending code error to intelligent cloud lock 2 refers to
Order.
Due to that can be disturbed when the flash lamp sends unblock optical signal by day by day light, corridor light so that described
Server 3 can not recognize the unlocking pin.Therefore the cloud lock unlocking system based on visible optical communication passes through repeatedly
Send the unblock optical signal so that the input character string includes several described unlocking pins, as long as in the input word
Symbol string identify that a unlocking pin can unlock so that from unblock optical signal generation end improve recognition accuracy and
Recognition speed.
Preferably, as shown in fig. 7, the mobile terminal 1 also includes:
Bind control module 15, for the matching binding of intelligent cloud lock 2, and by the server 3 to the intelligent cloud
Lock 2 sends the unlocking instruction and code error instruction;
Authorization unlocking module 16, for sending the unlocking pin to the mobile terminal 1 of guest.
The main mobile terminal 1 of the lock with the matching of intelligent cloud lock 2 by binding, so as to remotely be controlled by internet
Make the switch of the intelligent cloud lock 2.When having guest's visiting but nobody home, lock master can be remote by the mobile terminal 1 of oneself
Intelligent cloud lock 2 is unlocked described in process control, and the unlocking pin can also be sent to the mobile terminal 1 of guest by lock master, allows guest certainly
Row is unlocked.So as to avoid guest from waiting so long outdoors, to lock, master brings convenience.
The technical principle of the present invention is described above in association with specific embodiment.These descriptions are intended merely to explain the present invention
Principle, and limiting the scope of the invention can not be construed in any way.Based on explanation herein, this area
Technical staff, which would not require any inventive effort, can associate other embodiments of the present invention, and these modes are all
It will fall under the scope of the present invention.
Claims (8)
1. a kind of cloud lock method for unlocking based on visible optical communication, including mobile terminal, intelligent cloud lock and server, the movement
Terminal and intelligent cloud lock are connected by communication network with server, and the mobile terminal configuration has flash lamp, it is characterised in that:
Step A, the mobile terminal and intelligent cloud lock matching connection, then set unlocking pin in the mobile terminal and send
Stored to intelligent cloud lock;
Step B, the unlocking pin is inputted in the mobile terminal, and the unlocking pin is converted into control by the mobile terminal
The control data that flash lamp flashes, the control data is unblock binary code corresponding with the unlocking pin, and defines " 1 "
For bright light, " 0 " is to turn off the light;
Step C, the flash lamp of the mobile terminal is flashed according to the control data, sends unblock optical signal;
Step D, the intelligent cloud interlocking receives the unblock optical signal that the flash lamp from the mobile terminal is sent, and by the solution
Lock optical signal is converted into input binary code, and then the intelligent cloud lock sends out the input binary code and the unlocking pin
Deliver to the server;
The input binary code of reception is converted into input character string by step E, the server, and by the input character
String and the unlocking pin are compared:
If the input character string is identical with the unlocking pin, unlocking instruction, the intelligence are sent to intelligent cloud lock
Cloud lock is received and unlocked after the unlocking instruction;
If the input character string and the unlocking pin are differed, code error instruction, institute are sent to intelligent cloud lock
State after intelligent cloud lock receives the code error instruction and maintain to shut state.
2. the cloud lock method for unlocking according to claim 1 based on visible optical communication, it is characterised in that in the step D
Obtaining the method for inputting binary code is:
Step D1, the intelligent cloud lock, which is preset, can handle curent change frequency and bright light current value, and bright light electricity
Flow valuve can handle current value described in being more than;
Step D2, the intelligent cloud lock receives the unblock light letter that the flash lamp from the mobile terminal is sent by photo resistance
Number, and it is translated into the curent change array at the photo resistance two ends;
Step D3, the intelligent cloud lock calculates the curent change frequency of the curent change array, and judges the curent change
Whether the curent change frequency of array, which is higher than, can handle curent change frequency:
If then performing next step;If not then maintaining to shut state;
Step D4, the intelligent cloud lock by the current value in the curent change array successively one by one with bright light current value ratio compared with,
And in the curent change array:
If some current value is more than or equal to the bright light current value, it is converted into " 1 " in input binary code;
If some current value is less than the bright light current value, it is converted into " 0 " in input binary code;
So as to obtain the input binary code.
3. the cloud lock method for unlocking according to claim 1 based on visible optical communication, it is characterised in that:
In the step C, the flash lamp of the mobile terminal repeatedly sends the unblock optical signal;
In the step E, the input character string and the unlocking pin are compared the server:
If the input character string includes the unlocking pin, unlocking instruction, the intelligent cloud are sent to intelligent cloud lock
Lock is received and unlocked after the unlocking instruction;
If the input character string does not include the unlocking pin, code error instruction is sent to intelligent cloud lock, it is described
Intelligent cloud lock maintains to shut state after receiving the code error instruction.
4. the cloud lock method for unlocking according to claim 1 based on visible optical communication, it is characterised in that also opened including guest
Lock process:
Master mobile terminal binding step is locked, mobile terminal and the intelligent cloud lock matching binding of master is locked;
Main remote control step is locked, main mobile terminal is locked and is referred to by the server to the intelligent cloud lock transmission unlocking
Order and code error instruction;
Authorization unlocking step, locks main mobile terminal and sends the unlocking pin, the shifting of the guest to the mobile terminal of guest
Dynamic terminal drives its flash lamp to send unblock optical signal to intelligent cloud lock according to the unlocking pin.
5. the system that the cloud based on visible optical communication described in usage right requirement 1 locks method for unlocking, including mobile terminal, intelligence
Cloud is locked and server, and the mobile terminal and intelligent cloud lock are connected by communication network with server, it is characterised in that:
The mobile terminal includes:
Password setup module, for being connected with intelligent cloud lock matching and setting unlocking pin;
Unlocked state, for inputting the unlocking pin;
Optical signal generation module, for the unlocking pin to be converted into the control data that control flash lamp flashes, the control
Data are unblock binary code corresponding with the unlocking pin, and define " 1 " for bright light, and " 0 " is to turn off the light;
The flash lamp, for being flashed according to the control data, sends unblock optical signal;
The intelligent cloud lock includes:
Data memory module, for storing the unlocking pin;
Optical signal receiving module, for receiving the unblock optical signal that the flash lamp from the mobile terminal is sent;
Modular converter, for the unblock optical signal to be converted into input binary code, and the input binary code is conciliate
Lock cipher is sent to the server;
The server includes:
Data management module, for receiving the unlocking pin and input binary code;
Contrast module is searched, for the input binary code of reception to be converted into input character string, and by the input word
Symbol string and the unlocking pin are compared:
If the input character string is identical with the unlocking pin, unlocking instruction is sent to intelligent cloud lock;
If the input character string and the unlocking pin are differed, code error instruction is sent to intelligent cloud lock;
The intelligent cloud lock also includes:
Control module is unlocked, for performing unlocking action after the unlocking instruction when receiving, and the code error ought be received and referred to
Maintain to shut state after order.
6. the cloud lock unlocking system according to claim 5 based on visible optical communication, it is characterised in that:
The optical signal receiving module is configured with photo resistance, and the optical signal receiving module is received by photo resistance and comes from institute
The unblock optical signal that the flash lamp of mobile terminal is sent is stated, and is translated into the curent change number at the photo resistance two ends
Group;
The intelligent cloud lock also includes:
Memory, curent change frequency and bright light current value can be handled for presetting, and the bright light current value is more than
It is described to handle current value;
Frequency detection module, for calculating the curent change frequency of the curent change array, and judges the curent change number
Whether the curent change frequency of group, which is higher than, can handle curent change frequency:If then driving the modular converter to work, if not
Then the code error is sent to the unblock control module to instruct;
The modular converter, be additionally operable to by the current value in the curent change array successively one by one with bright light current value ratio compared with,
And in the curent change array:
If some current value is more than or equal to the bright light current value, it is converted into " 1 " in input binary code;
If some current value is less than the bright light current value, it is converted into " 0 " in input binary code;
So as to obtain the input binary code.
7. the cloud lock unlocking system according to claim 5 based on visible optical communication, it is characterised in that:
The mobile terminal also includes:
Glisten lamp control module, for controlling flash lamp to be flashed according to the control data, repeatedly sends unblock light
Signal;
The lookup contrast module of the server, is additionally operable to the input character string and the unlocking pin being compared:
If the input character string includes the unlocking pin, unlocking instruction is sent to intelligent cloud lock;
If the input character string does not include the unlocking pin, code error instruction is sent to intelligent cloud lock.
8. the cloud lock unlocking system according to claim 5 based on visible optical communication, it is characterised in that:
The mobile terminal also includes:
Control module is bound, for being bound with intelligent cloud lock matching, and institute is sent to intelligent cloud lock by the server
State unlocking instruction and code error instruction;
Authorization unlocking module, for sending the unlocking pin to the mobile terminal of guest.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710330123.5A CN107070554A (en) | 2017-05-11 | 2017-05-11 | Cloud lock method for unlocking based on visible optical communication, system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710330123.5A CN107070554A (en) | 2017-05-11 | 2017-05-11 | Cloud lock method for unlocking based on visible optical communication, system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107070554A true CN107070554A (en) | 2017-08-18 |
Family
ID=59596529
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710330123.5A Pending CN107070554A (en) | 2017-05-11 | 2017-05-11 | Cloud lock method for unlocking based on visible optical communication, system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107070554A (en) |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108131061A (en) * | 2018-02-09 | 2018-06-08 | 罗丙科 | A kind of intelligent lock control device and method and apparatus |
WO2019046543A1 (en) * | 2017-08-31 | 2019-03-07 | Alibaba Group Holding Limited | System, method, and medium to unlock an object |
CN109683885A (en) * | 2018-12-26 | 2019-04-26 | 王新宇 | The method and device thereof of programming language input, apparatus control method |
CN110138447A (en) * | 2019-03-19 | 2019-08-16 | 西安电子科技大学 | Signal optical source detection method, device and equipment applied to wireless light communication |
CN110610369A (en) * | 2019-09-18 | 2019-12-24 | 崔传荣 | Method for identifying information by using flash lamp as energy and information interface |
WO2020019772A1 (en) * | 2018-07-24 | 2020-01-30 | 京东方科技集团股份有限公司 | Visible light communication apparatus, lock device, and visible light communication method |
CN111092656A (en) * | 2019-12-28 | 2020-05-01 | 深圳市优必选科技股份有限公司 | Robot network connection method, device, robot and storage medium |
CN111325964A (en) * | 2020-03-11 | 2020-06-23 | 江阴长仪集团有限公司 | Wireless module for intelligent electric energy meter and automatic code pairing method |
US20210359756A1 (en) * | 2020-05-14 | 2021-11-18 | Shanghai Etopia Building Technology Co., Ltd. | Light-Interactive System And Light-Interactive Control Method |
CN114582054A (en) * | 2022-03-09 | 2022-06-03 | 浙江钟铮锁业有限公司 | Key feedback method applied to coded lock |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN201936281U (en) * | 2010-10-25 | 2011-08-17 | 北京天博朗科技发展有限公司 | Frequency-identifying anti-interference photoelectric whiteboard system |
CN104333412A (en) * | 2013-07-22 | 2015-02-04 | 深圳光启创新技术有限公司 | Detection device and method of optical pulse signal |
CN204904400U (en) * | 2015-08-21 | 2015-12-23 | 张亚光 | Intelligent door lock |
CN105528819A (en) * | 2015-12-04 | 2016-04-27 | 惠州Tcl移动通信有限公司 | Cipher lock unlocking method and system based on flash lamp of mobile terminal |
CN105825558A (en) * | 2016-03-15 | 2016-08-03 | 成都爆米花信息技术有限公司 | Universal intelligent door lock |
CN105976473A (en) * | 2016-06-01 | 2016-09-28 | 深圳市希顿科技有限公司 | Photoelectric cloud lock system and unlocking method thereof |
CN106558132A (en) * | 2016-11-25 | 2017-04-05 | 上海第二工业大学 | A kind of intelligent access control system comprising visible light communication and method |
-
2017
- 2017-05-11 CN CN201710330123.5A patent/CN107070554A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN201936281U (en) * | 2010-10-25 | 2011-08-17 | 北京天博朗科技发展有限公司 | Frequency-identifying anti-interference photoelectric whiteboard system |
CN104333412A (en) * | 2013-07-22 | 2015-02-04 | 深圳光启创新技术有限公司 | Detection device and method of optical pulse signal |
CN204904400U (en) * | 2015-08-21 | 2015-12-23 | 张亚光 | Intelligent door lock |
CN105528819A (en) * | 2015-12-04 | 2016-04-27 | 惠州Tcl移动通信有限公司 | Cipher lock unlocking method and system based on flash lamp of mobile terminal |
CN105825558A (en) * | 2016-03-15 | 2016-08-03 | 成都爆米花信息技术有限公司 | Universal intelligent door lock |
CN105976473A (en) * | 2016-06-01 | 2016-09-28 | 深圳市希顿科技有限公司 | Photoelectric cloud lock system and unlocking method thereof |
CN106558132A (en) * | 2016-11-25 | 2017-04-05 | 上海第二工业大学 | A kind of intelligent access control system comprising visible light communication and method |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2019046543A1 (en) * | 2017-08-31 | 2019-03-07 | Alibaba Group Holding Limited | System, method, and medium to unlock an object |
CN108131061A (en) * | 2018-02-09 | 2018-06-08 | 罗丙科 | A kind of intelligent lock control device and method and apparatus |
WO2020019772A1 (en) * | 2018-07-24 | 2020-01-30 | 京东方科技集团股份有限公司 | Visible light communication apparatus, lock device, and visible light communication method |
US11095366B2 (en) | 2018-07-24 | 2021-08-17 | Boe Technology Group Co., Ltd. | Visible light communication apparatus, lock device, and visible light communication method |
CN109683885A (en) * | 2018-12-26 | 2019-04-26 | 王新宇 | The method and device thereof of programming language input, apparatus control method |
CN110138447A (en) * | 2019-03-19 | 2019-08-16 | 西安电子科技大学 | Signal optical source detection method, device and equipment applied to wireless light communication |
CN110610369A (en) * | 2019-09-18 | 2019-12-24 | 崔传荣 | Method for identifying information by using flash lamp as energy and information interface |
CN111092656A (en) * | 2019-12-28 | 2020-05-01 | 深圳市优必选科技股份有限公司 | Robot network connection method, device, robot and storage medium |
CN111325964A (en) * | 2020-03-11 | 2020-06-23 | 江阴长仪集团有限公司 | Wireless module for intelligent electric energy meter and automatic code pairing method |
US20210359756A1 (en) * | 2020-05-14 | 2021-11-18 | Shanghai Etopia Building Technology Co., Ltd. | Light-Interactive System And Light-Interactive Control Method |
CN114582054A (en) * | 2022-03-09 | 2022-06-03 | 浙江钟铮锁业有限公司 | Key feedback method applied to coded lock |
CN114582054B (en) * | 2022-03-09 | 2023-07-18 | 浙江钟铮锁业有限公司 | Key feedback method applied to coded lock |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107070554A (en) | Cloud lock method for unlocking based on visible optical communication, system | |
CN103729926B (en) | Based on the control method of the control of bluetooth access control system of remote authorization of intelligent terminal | |
CN201554280U (en) | Photoelectric cipher lock system | |
CN109712300A (en) | A kind of unlocking system based on network identification card certification | |
CN107221064B (en) | Coding method of intelligent lock system based on vibration frequency communication of intelligent mobile phone | |
CN203192055U (en) | Electronic lock | |
CN104268973B (en) | Distribution station intelligent computer lock management system | |
CN106780912B (en) | Intelligent door lock and control method thereof | |
US20190355195A1 (en) | Use method of smart bluetooth lock | |
CN104952135A (en) | Intelligent terminal light-operated door lock system and application method | |
CN103617659A (en) | Wireless unlocking method | |
CN105788046A (en) | Unlocking and door opening system and method based on mobile phone LED light | |
CN103821413A (en) | Bluetooth electronic automatic lock system and switching method thereof | |
CN106408714A (en) | Control method and system of intelligent lock | |
CN103617660B (en) | Wireless Lock-Picking Devices and method for unlocking | |
Vamsi et al. | Face recognition based door unlocking system using Raspberry Pi | |
CN108173931A (en) | A kind of implementation method of mobile fingerprint remote control intelligent household lock | |
CN101974992A (en) | Intelligent learning infrared remote control coded lock | |
CN105421934A (en) | Network intelligent fingerprint safe case | |
CN109410379A (en) | A kind of wireless method for unlocking, system | |
CN205845134U (en) | A kind of smart lock | |
CN105128818A (en) | Multistage-identity-authentication car remote controlled key and work method thereof | |
KR20160109887A (en) | Portable nfc doorlock connecting with mobile and openning method thereof | |
CN110374413A (en) | A kind of intelligent wireless door-locking system | |
CN208605049U (en) | A kind of intelligent door lock system based on mobile phone |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170818 |
|
RJ01 | Rejection of invention patent application after publication |