Summary of the invention
The technical problem to be solved is the problem can untied easily for lockset in prior art,
A kind of unlocking method and smart lock are provided, unlock the correctness depending on lockset present position and multiple-authentication.
In order to solve above-mentioned technical problem, a kind of unlocking method that the present invention uses, including step:
Lockset is provided with main control module;
Activating main control module, main control module obtains current position coordinates;
Master control module judges current position coordinates is the most consistent with preset coordinate or is in the coordinate model allowing variation
In enclosing;
When above-mentioned result of determination is "Yes", main control module is sent out to main control server by wireless communication mode
Send unlocking request;
After main control server receives unlocking request, send solution to main control module and the unlocker device preset simultaneously
Code-locked;
Lockset reads the PUK in unlocker device;
The PUK of reading is compared by main control module with the PUK received from main control server, when than
To result consistent time, unlock.
Another technical solution used in the present invention is, a kind of smart lock, is applied in technique scheme
Unlocking method, it includes main control module, unlocked state, power module, main control server and unlocker device,
Described main control module includes comparing unit, positioning unit, radio communication unit and memory element, described unblock
Module includes mechanical lock unit and barcode scanning unit;Main control module and unlocked state are electrically connected with, described power supply mould
Block is main control module and unlocked state is powered;Mechanical lock unit, is used for locking multiple dead bolt, and has key
Jack;Power module, for after the first dead bolt is opened by key, powers to main control module and barcode scanning unit
To activate main control module;Positioning unit, for obtaining current position coordinates after main control module is activated;Ratio
To unit, for judging that current position coordinates is the most consistent with storage preset coordinate in the memory unit or locates
In the coordinate range allowing variation;Radio communication unit, is used for when comparing unit result of determination is "Yes"
Time, send unlocking request to main control server, and receive the PUK of main control server feedback;Unlocker device,
For being "Yes" and radio communication unit sends unlocking request to main control server when comparing unit result of determination
After, receive the PUK that main control server sends;Barcode scanning unit, for reading the PUK in unlocker device;
Comparing unit, is additionally operable to the PUK by the PUK of barcode scanning unit reading and radio communication unit receive and enters
Row comparison, when comparison result is consistent, unties the second dead bolt of mechanical lock unit.
The beneficial effects of the present invention is: use triple checking to unlock, first unlocking person allows for activating
Main control module can carry out subsequent action, and this is the first precautionary measures;Secondly, unlocking person unblank ground
Carrying out in the geographical coordinate that point must be preset before kinds of goods are delivered, otherwise smart lock will not be to server request solution
Code-locked;Finally, unlocking person must be held default unlocker device and could receive last PUK and complete
Unlock eventually thus open smart lock and obtain kinds of goods;Other people are difficult to obtain simultaneously and can pass through above-mentioned three roads checkings
By the protection of above-mentioned triple checkings, all conditions, therefore just can farthest guarantee that smart lock is not by illegally
Untie, it is ensured that the kinds of goods that smart lock is protected can be transported to another place from a place in safety.
Detailed description of the invention
By describing the technology contents of the present invention, structural feature in detail, being realized purpose and effect, below in conjunction with
Embodiment also coordinates accompanying drawing to be explained in detail.
The design of most critical of the present invention is: employing is previously active, geographical position is locked and the equipment that preassigns connects
Smart lock is protected by the triple verification modes receiving PUK, and other people are difficult to simultaneously by above-mentioned three re-examinations
Card, therefore substantially increases the safety of smart lock.
Referring to Fig. 1, a kind of unlocking method of the embodiment of the present invention includes step:
S1, lockset are provided with main control module;
S2, activation main control module, main control module energising activates and also obtains current position coordinates;
S3, master control module judges current position coordinates are the most consistent with preset coordinate or are in the seat allowing variation
In the range of mark;
S4, when above-mentioned result of determination is "Yes", main control module by wireless communication mode to master control service
Device sends unlocking request;
After S5, main control server receive unlocking request, send out to main control module and the unlocker device preset simultaneously
Send PUK;
S6, lockset read the PUK in unlocker device;
The PUK of reading is compared by S7, main control module with the PUK received from main control server,
When comparison result is consistent, unlock.
Knowable to foregoing description, the beneficial effects of the present invention is: use triple checking to unlock, first open
Lock people allows for activating main control module can carry out subsequent action, and this is the first precautionary measures;Secondly,
The place of unblanking of unlocking person must be carried out in geographical coordinate default before kinds of goods delivery, and otherwise lockset will not be to
Server request PUK;Finally, unlocking person must be held default unlocker device and could receive last solution
Code-locked completes finally unlock and obtain kinds of goods;Other people are difficult to obtain the institute that can be verified by above-mentioned three roads simultaneously
Have ready conditions, therefore just can farthest guarantee that lockset is not illegally untied by the protection of above-mentioned triple checkings,
Ensure that the kinds of goods that lockset is protected can be transported to another place from a place in safety.
Specifically, " activation main control module " in step s 2 includes various ways.Such as, can be at lockset
On a mechanical lock unit is set, unlocking person must be inserted into correct key can activate main control module;And for example,
Can arrange an electronic tag on lockset and read unit, unlocking person must hold the electricity being previously written active information
Subtab could activate main control module;And for example, a fingerprint reader can be set on lockset, unlocking person
Fingerprint can activate main control module in must first being put onto this fingerprint reader in advance;And for example, can be at lockset
On a Password Input unit is set, unlocking person must correctly enter password could activate main control module.
Further, as the improvement project to above-described embodiment, when master control module judges changing coordinates is with pre-
If coordinate is inconsistent and not also in when allowing in the coordinate range of variation, main control module passes through wireless telecommunications
Mode to main control server send current position coordinates and alarm message.And when main control server receives kinds of goods
Current position coordinates and during alarm message, so that it may notify the owner of kinds of goods at once, allow the kinds of goods owner know
Dawn, the current situation of kinds of goods, if simply situation known to the kinds of goods owner, needed interim in another place really
Open cargo hold, then under the possessory mandate of kinds of goods, still can send PUK by main control server and carry out
Unlock further;If situation is beyond the consideration, then the kinds of goods owner can report to the police and by the geographical position at kinds of goods place
Put and inform police, reduce loss as far as possible.
Further, as the improvement project to above-described embodiment, unlock rear main control module and taken to master control
Business device send unlock successful information, main control server receive unblock successful information after to main control module send under
One preset coordinate also specifies the next unlocker device preset.Lockset thus can be put into making of next step
In with, the program is particularly suitable for the flow process of unloading during large-scale logistics transportation manyly.Such as, lorry A
Need to unload the goods of 1/2nd after arriving first ground, unload the goods of 1/4th with arriving second the most again,
Unload last part goods afterwards to the third ground, then discharger's first can be transferred to unload two points with arriving first at lorry A
One of goods after, the geographical coordinate on second ground is sent at main control module and specify second ground by main control server
The unlocker device of discharger's second, such discharger's second just can unload the goods belonging to him, so in appointed place
After the geographical position on the third ground sends to main control module and specifies the unlocker device of discharger third on the third ground again,
So the method is used just can to obtain the highest safety coefficient, it is to avoid unexpected generation.
Further, as the improvement project to above-described embodiment, described unlocker device uses and can be unlocked
The handheld device of code display, described PUK includes Quick Response Code, bar code and graphical passwords, accordingly, institute
State barcode scanning unit and include two-dimensional code decoder, bar code decoding device and graphical passwords decoder.Wherein, can enter
The handheld device that row PUK shows can include smart mobile phone, the common acceptable functional mobile phone of multimedia message, flat board
Computer, notebook computer etc., these equipment all have screen and have the ability of radio communication, therefore may be used
To receive PUK easily.And after PUK sends and puts in place, these equipment have only to open unblock
Code, allows after the correct code-locked of barcode scanning unit scan, so that it may untie the second dead bolt thus open lockset.Specifically,
The form that main control server sends PUK to unlocker device can use multimedia message, mail or pacify in the handheld device
Fill special application program to complete, or before the applying date that may be used without the present invention can cross-platform use i.e.
Time bitcom, such as wechat, rice are chatted, credulity, dealing etc. complete the transmission of PUK, so make solution
The reception of code-locked convenience very, and unlocker device also need not additionally configure special equipment, it is possible to decrease use
This method and the cost of popular edition method.
Refer to Fig. 2, a kind of smart lock of the embodiment of the present invention, this smart lock can be applicable to above-mentioned unlocking method,
It includes main control module 10, unlocked state 20, power module 30, main control server 40 and unlocker device 50,
Described main control module 10, single including comparing unit 11, positioning unit 12, radio communication unit 13 and storage
Unit 14, described unlocked state 20: include mechanical lock unit 21 and barcode scanning unit 22.
Main control module 10 and unlocked state 20 are electrically connected with, described power module 30, for main control module 10 He
Unlocked state 20 is powered.
Mechanical lock unit 21, is used for locking multiple dead bolt, and has key hole.
Power module 30, for after the first dead bolt is opened by key, to main control module 10 and barcode scanning unit
22 power supplies are to activate main control module 10.
Positioning unit 12, for obtaining current position coordinates after main control module 10 is activated.
Comparing unit 11, for the preset coordinate judging current position coordinates be stored in memory element in 14 be
No consistent or be in the coordinate range allowing variation.
Radio communication unit 13, for when comparing unit 11 result of determination is "Yes", to main control server
40 send unlocking request, and receive the PUK of main control server 40 feedback.
Unlocker device 50, for when comparing unit 11 result of determination be "Yes" and radio communication unit 13 to
After main control server 40 sends unlocking request, receive the PUK that main control server 40 sends.
Barcode scanning unit 22, for reading the PUK in unlocker device 50.
Comparing unit 11, the PUK being additionally operable to read barcode scanning unit 22 receives with radio communication unit 13
To PUK compare, when comparison result is consistent, untie the second dead bolt of mechanical lock unit 21.
Further, as the improvement project to above-described embodiment, described unlocker device 50 can be carried out for one
The handheld device that PUK shows, described PUK includes Quick Response Code, bar code and graphical passwords, accordingly,
Described barcode scanning unit 22 includes two-dimensional code decoder, bar code decoding device and graphical passwords decoder.It addition,
Saying synoptically, described PUK is that a kind of only machinery equipment just can be interpreted by certain preset rules
Password, the most either Quick Response Code, bar code or graphical passwords, ordinary person cannot immediately arrive at and comprise
At the password of these yard of behind, and two-dimensional code decoder, bar code decoding device or graphical passwords solution must be passed through
Code device can be read out, and therefore safety coefficient is higher.
Further, as the improvement project to above-described embodiment, described power module 30 includes chargeable
Battery, and described battery can be removed and replaced.Owing to the smart lock of the present invention is place under conventional sense
In unactivated state, therefore it is almost not power consumption, only after the first dead bolt is disengaged, power module
Circuit formed a path can power for main control module 10 and unlocked state 20, therefore power consumption is little,
Common battery (such as lithium ion battery) can provide the solution of up to a hundred times in the case of full electricity for this equipment
Power supply after lock activation, which provides high ease of use, it is not necessary to often charge, and owing to adopting
With battery that is detachable and that replace so that even if this programme runs into the problem of cell damage, can be more
It is continuing with after changing battery.
Further, as the improvement project to above-described embodiment, described positioning unit 12 uses GPS chip
Or triones navigation system chip.Both chips are relatively conventional on the present patent application market a few days ago, general
Property good, and positioning precision is good, and power consumption is the highest, and be well suited for coordinating in a upper improvement project is chargeable
Battery uses.
Further, as the improvement project to above-described embodiment, described radio communication unit 13 use GSM,
The mode of 3G or 4G carries out communication.These three wireless communication mode is the most general in the present patent application a few days ago
Wireless communication mode, base station construction is perfect, and communication signal is good, and the communication modes of particularly 3G and 4G is also
There is high message transmission rate, and supporting various chips are the most perfect, use these technology can
Significantly reduce the cost of the present invention, and owing to these technology are highly developed, those skilled in the art are implementing this
The difficulty when of a little technology is relatively low, can the production of popular edition invention easily.
Further, as the improvement project to above-described embodiment, also include a display screen, described display screen
After being disengaged when the second dead bolt, show by the inventory information of lock kinds of goods.These inventory information are deposited in advance
Storage is in memory element 14, by the display of this display frequency, unlock people just can check the inventory information of reality with
The inventory information prestored is the most consistent, the kind of such as kinds of goods, quantity etc..
Specifically, each embodiment of summary and improvement project, unlocking method disclosed by the invention and intelligence
Lock can be applicable to large-scale container counter, the cargo hold of lorry, thus can be used for kinds of goods large-scale, substantial amounts of
Logistics transportation;Alternatively, it is also possible to reduce the volume of its mechanical lock unit so that it is be applicable to small-sized sealing
On box, seal box, luggage case, combination lock, thus can be used for the transport of small-sized kinds of goods, such as cash,
Gold, bullion, electronic equipment etc., it is also possible to being used in needs to handle on flight checked baggage case, can
Thoroughly avoid valuables in luggage case to lose but the intact situation of the lock of luggage case occurs.
In sum, the present invention provides unlocking method and coded lock are improved by the triple unblock checkings of employing
The complexity of lockset releasing process, can farthest avoid lockset illegally to be untied, it is ensured that the safety of kinds of goods;
And be further increasing the safety of the present invention by multiple improvement projects, lockset is even at by illegally
In the state unlocked, client also is able to learn in time thus takes steps to reduce and loses, and at universal component
Design on use prior art more so that technical scheme disclosed by the invention is easy to implement.
The foregoing is only embodiments of the invention, not thereby limit the scope of the claims of the present invention, every profit
The equivalent structure made by description of the invention and accompanying drawing content or equivalence flow process conversion, or directly or indirectly transport
It is used in other relevant technical fields, is the most in like manner included in the scope of patent protection of the present invention.