Door lock and using method thereof
Technical field
The present invention relates to intelligent controlling device application, particularly a kind of Pneumatic door lock of intelligent controlling device and using method thereof.
Background technology
At present, market has occurred a variety of door lock, be mainly used in hotel and resident family, door lock is as safety precaution product, vital during its security.General door lock is made up of tapered end and lock body two parts, then moves in tapered end by the locking bar in lock body, and realize the object of locking, tapered end is arranged on the side of doorframe, and lock body is arranged on the body of wall of doorframe, fastens behind the door, is moved in tapered end by locking bar.But there are some problems: 1, the intensity of mechanical lock is all fine at present, the method be difficult to by force carrys out damage lock still, and current lock generally has keyhole, and this is to locking security brings hidden danger, a lot of stolen event, often because offender utilizes keyhole successfully to open lock; 2, user sometimes gets back to indoor and neglects locking the door, and does not have instant prompting function, there is potential safety hazard; Door is locked by 3, indoor people, and indoor meet accident, and cannot unblank immediately, carry out very first time rescue, there is design, familiar lacunas; 4, often can there is malfunctioning or stuck phenomenon in existing gas-operated lock poor stability, and defect in design deposited by drive unit, can not meet actual needs.
With reference to accompanying drawing 1, Chinese Patent Application No. is that 201120228707.X denomination of invention discloses content in " a kind of Pneumatic door lock ": a kind of gas-operated lock, comprise tapered end, tapered end screw, locking bar, rotation pneumatic element, remote control circuit, described locking bar is connected with rotation pneumatic element, and tapered end screw and locking bar are threaded connection., often can there is malfunctioning or stuck phenomenon, promote the use of difficulty in above-mentioned patent complicated in mechanical structure, also cannot realize the function that long distance wireless is locked or unlocked.
ZigBee is the radio network technique of a kind of novel short distance, low-power consumption, low data rate, low cost, low complex degree; It takes the whole limited of IEEE802.1.4 strong radio physical layer defined: economize point, the specification that simple, cost is low again; And add logical network, network security and application layer.ZigBee wireless transmission bandwidth is in 20-250KB/s scope, and be applicable to the transmission of sensor data acquisition and control data, ZigBee is wireless can set up large scale network, and network node capacity reaches 65535, has very powerful networking advantage.
Summary of the invention
In order to overcome the defect of prior art, the invention provides a kind of door lock and using method thereof, complicated to solve in prior art mechanism, often can there is malfunctioning or stuck phenomenon and the problem that Long-distance Control opens and closes door lock cannot be realized.
Technical solution of the present invention is: a kind of door lock, comprises tapered end and the lock body suitable with tapered end, and also sliding in described lock body is provided with locking bar, also comprises drive unit in described lock body, wherein:
Described drive unit is made up of tracheae, cylinder, the first air valve, the first motor, escape pipe, spring, the second air valve and the second motor, and this cylinder is fixedly mounted on lock body; Described escape pipe is connected with cylinder gas outlet, and described escape pipe is provided with the first air valve, and described first Electric Machine Control first air valve opens and closes; Described tracheae is provided with the second air valve, and described second Electric Machine Control second air valve deposits gas, described first motor, the second motor electrical connection control module;
Described spring is located in lock body, connects locking bar and lock body;
Described control module is arranged in lock body, and it comprises control module and wireless communication module, and wireless communication module is connected with gateway device communication; Described gateway device and above-mentioned wireless communication module data communication, and communication is connected after connecting Ethernet and between above-mentioned cloud server;
Also be provided with supply module in described lock body, described supply module and control module are electrically connected, and provide electric energy for said modules.
The coded data of lock body, gateway device is stored in described cloud server, and the authorization key code of intelligent terminal, sending controling instruction is to gateway device;
Described intelligent terminal, by internet and above-mentioned cloud server data cube computation, sends steering order signal to cloud server, and receives the data message feedback of cloud server transmission.
The present invention further improves and is: above-mentioned wireless communication module and gateway device adopt ZigBee, bluetooth, Z-Wave or WIFI wireless communication protocol to carry out data transmission.
The present invention also provides a kind of using method of door lock, it is characterized in that:
Locking method:
Intelligent terminal is by internet and cloud server data cube computation, send steering order signal to cloud server, cloud server is by internet and gateway device data cube computation, gateway device again with wireless communication module data cube computation, wireless communication module by steering order signal transmission to control module, control module analyzing and processing command signal also opens the first air valve, cylinder is inflated to tracheae, during the moving in tapered end of locking bar, control module produces the command signal of closedown first air valve, completes the action of closedown first air valve;
Unlock method:
Intelligent terminal is by internet and cloud server data cube computation, send steering order signal to cloud server, cloud server is by internet and gateway device data cube computation, gateway device again with wireless communication module data cube computation, wireless communication module is by steering order signal transmission to control module, and control module analyzing and processing command signal also opens the second air valve.
Further improvement of the present invention is: intelligent terminal sends instruction to cloud server, and is sent to lock body by gateway device, and the control module record in this cloud server and lock body " is unblanked ", " shutting " information, and stores
The invention has the beneficial effects as follows: structure of the present invention is simple, easy to use, stuctures and properties is stablized, and malfunctioning or stuck phenomenon can not occur, possess following advantage simultaneously:
1, adopt intelligent wireless to control, both achieve the Long-distance Control to door lock, also can closely Non-follow control;
2, adopt senior confidential technique, be not easy to be identified and to be cracked, improve the security of controlled in wireless further;
3, adopt wireless recognition technique, realize the self-locking effect to door lock.
Accompanying drawing explanation
Fig. 1 is one-piece construction schematic diagram of the present invention;
Fig. 2 is lock body internal drive theory diagram of the present invention;
Fig. 3 is the theory diagram of door lock assembly of the present invention;
Fig. 4 is the flow chart of steps of the using method of door lock of the present invention.
Embodiment
Below in conjunction with accompanying drawing, preferred embodiment of the present invention is described in detail, can be easier to make advantages and features of the invention be readily appreciated by one skilled in the art, thus more explicit defining is made to protection scope of the present invention.
As shown in Figure 1,2 and 3, door lock provided by the invention, comprises tapered end 1 and the lock body 2 suitable with tapered end 1, and also sliding in described lock body 2 is provided with locking bar 3, also comprises drive unit 4 in described lock body 2, wherein:
Described drive unit 4 is made up of tracheae 41, cylinder 42, first air valve 43, first motor 44, escape pipe 45, spring 46, second air valve 47 and the second motor 48, and this cylinder 42 is fixedly mounted on lock body 2 interior bottom portion; Described escape pipe 45 is fixedly connected with cylinder 42 gas outlet, and described first air valve 43 is vertically mounted on escape pipe 45, and described first motor 44 controls the first air valve 43 and opens and closes; Described second air valve 47 is vertically set on tracheae 41, and described second motor 48 controls the second air valve 47 and deposits gas, and described first motor 44, second motor 48 is electrically connected control module 6;
Described spring 46 is located in lock body 2, connects locking bar 3 and lock body 2;
The screw of described first air valve 43 to be nuts be gear, be vertically spun on escape pipe 45, its length and external diameter are all greater than the internal diameter of escape pipe 45, can be threaded to the bottom of escape pipe 45;
Described second air valve 47 nut and air valve pad 49 that the screw rod between tracheae 41 has been threaded; Described air valve pad 49 is fixed on tracheae 41, and air valve pad 49 is provided with gas outlet 410;
In preferred embodiment, described spring 46 one end connects locking bar 3, is connected pulling force inductor 411 between the other end with lock body 2, and described pulling force inductor 411 and control module 6 data cube computation, in order to judge whether the gas in cylinder 42 is finished; Pulling force inductor 411 also sets a setting, in order to judge whether locking bar 3 enters tapered end 1 simultaneously.
Described control module 6 is arranged in lock body 2, and it comprises control module 61 and wireless communication module 62, and wireless communication module 62 is connected with gateway device 7 communication; Described gateway device 7 and the data communication of above-mentioned wireless communication module 62, and communication is connected after connecting Ethernet and between above-mentioned cloud server 8;
Also be provided with supply module 10 in described lock body 2, described supply module 10 and control module 61 are electrically connected, and provide electric energy for said modules.
The coded data of lock body 2, gateway device 7 is stored in described cloud server 8, and the authorization key code of intelligent terminal 9, sending controling instruction is to gateway device 7;
Described intelligent terminal 9, by internet and above-mentioned cloud server 8 data cube computation, sends steering order signal to cloud server 8, and receives the data message feedback of cloud server 8 transmission.
In the present embodiment, above-mentioned control module 61 adopts Integral design with wireless communication module 62, select the CC2530F256 of TI company, it is a 8 super low-power consumption micro controller, incorporate ZigBee radio frequency (RF) front end, internal memory and microcontroller on a single chip, it uses 18 MCU(8051), there is the RAM of 128KB flash memory able to programme and 8KB, there is the reception/sending function of ZigBee data.
Described gateway device 7 is communicated by ZigBee protocol data with above-mentioned wireless communication module 62, and communication is connected after connecting Ethernet and between above-mentioned cloud server 8, each gateway device 7 may correspond to multiple wireless communication module 62, multiple subchannel can be set up, and can realize automatically adjusting communications sub-channel, namely when discovery subchannel is contaminated or when taking, automatically switch to other subchannels to receive and dispatch, arrange like this and can overcome prior art use low frequency signal and occur that channel is contaminated or take and cannot work, affect the defect of communication quality;
Lock body 2 is stored in described cloud server 8, the coded data of gateway device 7, and the authorization key code of the intelligent terminal 9 of corresponding above-mentioned each equipment, this cloud server 8 receives the door lock steering order that intelligent terminal 9 sends, and carry out Decoding Analysis according to instruction, judge the instruction code of door lock steering order, and produce corresponding steering order according to judged result, control corresponding gateway device 7 and lock body 2, in addition, cloud server 8 can store the steering order that the intelligent terminal 9 of the mandate received sends, record each reception/instruction time of transmission and the coding of intelligent terminal 9, such keeper or user can log in the inquiry that cloud server 8 carries out historical data, there is trackability.
Above-mentioned door lock principle of work process is as follows:
Manual mode is locked and is unlocked: door is in closed condition, control module 6 also connects fingerprint identification lock, sent the steering order of locking to control module 6 by fingerprint identification lock, control after analyzing to open the first air valve 43, cylinder 42 is inflated to tracheae 41, and when locking bar 3 is moved to the left in tapered end 1 under the influence of air pressure, then control module 6 produces the command signal of closedown first air valve 43, complete the action of closedown first air valve 43, realize the object of locking; In like manner, sent the steering order unlocked to control module 6 by fingerprint identification lock, control after analyzing to open the second air valve 47, spill until the second air valve 47 valve rod is threaded to gas from the gas outlet 410 air valve pad 49, locking bar 3 loses the effect of air pressure left, be subject to the pulling force effect of spring 46 to the right, the head of locking bar 3 detaches tapered end 1 and is drawn in lock body 2, realizes the object unlocked.
Wireless mode is locked and is unlocked: door is in closed condition, the control module 6 be provided with in lock body 2 receives the steering order of locking from intelligent terminal 9, control after analyzing to open the first air valve 43, cylinder 42 is inflated to tracheae 41, when locking bar 3 is moved to the left in tapered end 1 under the influence of air pressure, then control module 6 produces the command signal of closedown first air valve 43, completes the action of closedown first air valve 43, realizes the object of locking; In like manner, the control module 6 be provided with in lock body 2 receives the steering order unlocked from intelligent terminal 9, control after analyzing to open the second air valve 47, spill until the second air valve 47 valve rod is threaded to gas from the gas outlet 410 air valve pad 49, locking bar 3 loses the effect of air pressure left, be subject to the pulling force effect of spring 46 to the right, the head of locking bar 3 detaches tapered end 1 and is drawn in lock body 2, realizes the object unlocked.
In addition when there being illegal molecule to swarm into, open door, because the step of unblanking occurs abnormal, "abnormal" data-signal will be produced and be transferred to control circuit unit 6, above-mentioned data-signal is sent to cloud server 8 by gateway device 7 by wireless communication module 62 by control circuit unit 6, after cloud server 8 analyzing and processing, send to the intelligent terminal 9 of authorizing in advance, such user can recognize pilferage situation by intelligent terminal 9.
The above; be only the specific embodiment of the present invention; but protection scope of the present invention is not limited thereto; any those of ordinary skill in the art are in the technical scope disclosed by the present invention; the change can expected without creative work or replacement, all should be encompassed within protection scope of the present invention.Therefore, the protection domain that protection scope of the present invention should limit with claims is as the criterion.