Summary of the invention
Technical matters to be solved by this invention is the problem that can be untied easily for lockset in prior art, and a kind of unlock method and smart lock are provided, and release depends on the correctness of lockset present position and multiple-authentication.
In order to solve the problems of the technologies described above, a kind of unlock method that the present invention adopts, comprises step:
Lockset is provided with main control module;
Activate main control module, main control module obtains current position coordinates;
Whether master control module judges current position coordinates is consistent with preset coordinate or in allowing the coordinate range of variation;
In the time that above-mentioned result of determination is "Yes", main control module sends unlocking request by wireless communication mode to main control server;
Main control server receives after unlocking request, sends PUK to main control module and default unlocker device simultaneously;
Lockset reads the PUK in unlocker device;
Main control module is compared the PUK reading and the PUK receiving from main control server, in the time that comparison result is consistent, and release.
Another technical solution used in the present invention is, a kind of smart lock, be applied to the unlock method in technique scheme, it comprises main control module, separates lock module, power module, main control server and unlocker device, described main control module comprises comparing unit, positioning unit, radio communication unit and storage unit, and described solution lock module comprises mechanical lock unit and barcode scanning unit; Main control module is conciliate lock module and is electrically connected, and described power module is that main control module is conciliate lock module power supply; Mechanical lock unit, for locking multiple dead bolts, and has key hole; Power module, after being opened by key when the first dead bolt, powers to activate main control module to main control module and barcode scanning unit; Positioning unit obtains current position coordinates after being activated when main control module; Comparing unit, whether consistent with the preset coordinate that is stored in storage unit or in allowing the coordinate range of variation for judging current position coordinates; Radio communication unit, in the time that comparing unit result of determination is "Yes", sends unlocking request to main control server, and receives the PUK of main control server feedback; Unlocker device, for being that "Yes" and radio communication unit send after unlocking request to main control server when comparing unit result of determination, receives the PUK that main control server sends; Barcode scanning unit, for reading the PUK in unlocker device; Comparing unit, also compares for the PUK that PUK that barcode scanning unit is read and radio communication unit receive, and in the time that comparison result is consistent, unties the second dead bolt of mechanical lock unit.
Beneficial effect of the present invention is: adopt triple checkings to carry out release, first unlocking person must be able to activate main control module and 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 geographic coordinate default before kinds of goods delivery, otherwise smart lock can be to server request PUK; Finally, thus unlocking person must hold default unlocker device and could receive last PUK and complete final release and open smart lock and obtain kinds of goods; Other people are difficult to obtain simultaneously can be by all conditions of above-mentioned three road checkings; therefore just can farthest guarantee that by the protection of above-mentioned triple checkings smart lock is not illegally untied, ensure that the kinds of goods that smart lock is protected can be transported to another place from a place in safety.
Embodiment
By describing technology contents of the present invention, structural attitude in detail, being realized object and effect, below in conjunction with embodiment and coordinate accompanying drawing to be explained in detail.
The design of most critical of the present invention is: adopt triple verification modes of activation in advance, geographic position lock and the PUK of designated equipment reception in advance to protect smart lock; other people are difficult to simultaneously by above-mentioned triple checkings, the security that has therefore greatly improved smart lock.
Refer to Fig. 1, a kind of unlock method of the embodiment of the present invention comprises step:
S1, lockset are provided with main control module;
S2, activation main control module, main control module energising activates and obtains current position coordinates;
Whether S3, master control module judges current position coordinates be consistent with preset coordinate or in allowing the coordinate range of variation;
S4, in the time that above-mentioned result of determination is "Yes", main control module sends unlocking request by wireless communication mode to main control server;
S5, main control server receive after unlocking request, send PUK to main control module and default unlocker device simultaneously;
S6, lockset read the PUK in unlocker device;
S7, main control module are compared the PUK reading and the PUK receiving from main control server, in the time that comparison result is consistent, and release.
From foregoing description, beneficial effect of the present invention is: adopt triple checkings to carry out release, first unlocking person must be able to activate main control module and 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 geographic coordinate default before kinds of goods delivery, otherwise lockset can be to server request PUK; Finally, unlocking person must be held default unlocker device and could receive last PUK and complete final release and obtain kinds of goods; Other people are difficult to obtain simultaneously can be by all conditions of above-mentioned three road checkings; therefore just can farthest guarantee that by the protection of above-mentioned triple checkings lockset is not illegally untied, ensure that the kinds of goods that lockset is protected can be transported to another place from a place in safety.
Particularly, " the activation main control module " in step S2 comprises various ways.For example, a mechanical lock unit can be set on lockset, unlocking person must insert correct key can activate main control module; And for example, an electronic tag reading unit can be set on lockset, unlocking person must be held the electronic tag that writes in advance active information could activate main control module; And for example, a fingerprint reading unit can be set on lockset, the fingerprint of unlocking person must be stored in this fingerprint reading unit in advance can activate main control module; And for example, a Password Input unit can be set on lockset, unlocking person must correctly be inputted password could activate main control module.
Further, as the improvement project to above-described embodiment, when the current coordinate of master control module judges and preset coordinate is inconsistent and also not in the coordinate range in allowing variation time, main control module sends current position coordinates and alarm message by the mode of wireless telecommunications to main control server.And in the time that main control server is received the current position coordinates of kinds of goods and alarm message, just can notify the owner of kinds of goods at once, allow the kinds of goods owner know the current situation of kinds of goods, if the just known situation of the kinds of goods owner, really need to open in another place cargo hold temporarily, under the possessory mandate of kinds of goods, still can send PUK by main control server and carry out further release; If situation beyond the consideration, the kinds of goods owner can report to the police and police is informed in the geographic position at kinds of goods place, reduces loss as far as possible.
Further, as the improvement project to above-described embodiment, after release completes, main control module sends release successful information to main control server, and main control server sends next preset coordinate and specifies next default unlocker device to main control module after receiving release successful information.So just lockset can be dropped in next step use, this scheme is particularly suitable for the flow process of unloading in large-scale logistics transportation process manyly.For example, lorry A needs to unload 1/2nd goods after arriving first ground, and then to second unload 1/4th goods, finally unload last part goods to the third ground, can arrive first at lorry A transfers to discharger's first to unload after 1/2nd goods, the geographic coordinate on second ground is sent to main control module place by main control server, and the unlocker device of discharger's second of specifying second, discharger's second just can unload in appointed place the goods that belongs to him like this, and then the geographic position on the third ground is sent to main control module place, and the unlocker device of specifying the discharger third on the third ground, so adopt the method just can obtain very high safety coefficient, avoid unexpected generation.
Further, as the improvement project to above-described embodiment, described unlocker device adopts the handheld device that can carry out PUK demonstration, described PUK comprises Quick Response Code, bar code and graphical passwords, accordingly, described barcode scanning unit comprises Quick Response Code demoder, bar-code decoding device and graphical passwords demoder.Wherein, the handheld device that can carry out PUK demonstration can comprise smart mobile phone, the common functional mobile phone of accepting multimedia message, panel computer, notebook computer etc., these equipment all have screen and have the ability of radio communication, therefore can receive easily PUK.And after PUK sends and puts in place, these device just will be opened PUK, allow after the correct code-locked of barcode scanning unit scan, open lockset thereby just can untie the second dead bolt.Particularly, main control server can adopt multimedia message, mail or special application program is installed in handheld device to the form of unlocker device transmission PUK and complete, or also can adopt before the applying date of the present invention can cross-platform use Instant Messenger (IM) software, the transmission that such as micro-letter, rice are chatted, credulity, dealing etc. complete PUK, the reception that makes like this PUK convenience very, and the also equipment of configure dedicated in addition of unlocker device can reduce the cost that uses this method and 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 unlock method, it comprises main control module 10, separates lock module 20, power module 30, main control server 40 and unlocker device 50, described main control module 10, comprise comparing unit 11, positioning unit 12, radio communication unit 13 and storage unit 14, described solution lock module 20: comprise mechanical lock unit 21 and barcode scanning unit 22.
Main control module 10 is conciliate lock module 20 and is electrically connected, and described power module 30 is conciliate lock module 20 for main control module 10 and powered.
Mechanical lock unit 21, for locking multiple dead bolts, and has key hole.
Power module 30, after being opened by key when the first dead bolt, powers to activate main control module 10 to main control module 10 and barcode scanning unit 22.
Positioning unit 12 obtains current position coordinates after being activated when main control module 10.
Comparing unit 11, whether consistent with the preset coordinate that is stored in storage unit 14 or in allowing the coordinate range of variation for judging current position coordinates.
Radio communication unit 13, in the time that comparing unit 11 result of determination are "Yes", sends unlocking request to main control server 40, and receives the PUK that main control server 40 feeds back.
Unlocker device 50, for being that "Yes" and radio communication unit 13 send after unlocking request to main control server 40 when comparing unit 11 result of determination, receives the PUK that main control server 40 sends.
Barcode scanning unit 22, for reading the PUK in unlocker device 50.
Comparing unit 11, also compares for the PUK that PUK that barcode scanning unit 22 is read and radio communication unit 13 receive, and in the time that comparison result is consistent, unties the second dead bolt of mechanical lock unit 21.
Further, as the improvement project to above-described embodiment, described unlocker device 50 is a kind of handheld device of carrying out PUK demonstration, described PUK comprises Quick Response Code, bar code and graphical passwords, accordingly, described barcode scanning unit 22 comprises Quick Response Code demoder, bar-code decoding device and graphical passwords demoder.In addition, say synoptically, described PUK is a kind of password that only has machinery and equipment to read by certain preset rules ability solution, therefore no matter be Quick Response Code, bar code or graphical passwords, ordinary person cannot directly draw the password that is included in these yard of behind, and must can read by Quick Response Code demoder, bar-code decoding device or graphical passwords demoder, therefore safety coefficient is higher.
Further, as the improvement project to above-described embodiment, described power module 30 comprises chargeable battery, and described battery can be disassembled and replace.Due to smart lock of the present invention under conventional state in unactivated state, therefore be almost not power consumption, only after the first dead bolt is untied, path of circuit formation of power module can be conciliate lock module 20 for main control module 10 and be powered, therefore power consumption is little, common battery (for example lithium ion battery) can provide the power supply after the release of up to a hundred times activates for this equipment in the situation that of full electricity, high ease of use is so just provided, needn't often charge, and owing to having adopted battery detachable and that replace, even if make to run in this programme the problem of battery damage, continuation use after battery can changed.
Further, as the improvement project to above-described embodiment, described positioning unit 12 adopts GPS chip or triones navigation system chip.These two kinds of chips are comparatively common on the present patent application market a few days ago, and versatility is good, and positioning precision is good, and power consumption is not high, are well suited for the chargeable battery coordinating in a upper improvement project and use.
Further, as the improvement project to above-described embodiment, described radio communication unit 13 adopts the mode of GSM, 3G or 4G to carry out communication.These three kinds of wireless communication modes are comparatively general wireless communication modes in the present patent application a few days ago, base station construction is perfect, communication signal is good, particularly the communication modes of 3G and 4G also has high message transmission rate, and supporting various chips are also comparatively perfect, adopt these technology can significantly reduce cost of the present invention, and because these technology are very ripe, the difficulty of those skilled in the art in implementing these technology is also lower, can popularize easily production of the present invention.
Further, as the improvement project to above-described embodiment, also comprise a display screen, described display screen, for after the second dead bolt is untied, shows by the inventory information of lock kinds of goods.These inventory information are stored in advance in storage unit 14, and by this demonstration demonstration frequently, whether release people just can check actual inventory information consistent with the inventory information prestoring, kind, the quantity etc. of such as kinds of goods.
Particularly, comprehensive above-mentioned each embodiment and improvement project, unlock method disclosed by the invention and smart lock can be applicable to large-scale container counter, the cargo hold of lorry, so just can be used for the logistics transportation of large-scale, a large amount of kinds of goods; In addition, also can dwindle the volume of its mechanical lock unit, it is applicable on small-sized seal box, seal box, luggage case, combination lock, so just can be used for the transport of small-sized kinds of goods, such as cash, gold, bullion, electronic equipment etc., also can be used in and need to handle on flight checked baggage case, can thoroughly avoid the valuables in luggage case to lose but the intact situation generation of the lock of luggage case.
In sum, unlock method provided by the invention and coded lock improve the complicacy of lockset releasing process by adopting triple releases to verify, and can farthest avoid lockset illegally to be untied, and ensure the safety of kinds of goods; And improve further security of the present invention by multiple improvement projects, thereby take measures to reduce loss even if lockset litigant in by the state of illegal release also can learn in time, thereby and in the design of universal component, use more prior art to make technical scheme disclosed by the invention easy to implement.
The foregoing is only embodiments of the invention; not thereby limit the scope of the claims of the present invention; every equivalent structure or conversion of equivalent flow process that utilizes instructions of the present invention and accompanying drawing content to do; or be directly or indirectly used in other relevant technical fields, be all in like manner included in scope of patent protection of the present invention.