Household burglary-resisting system and method for work thereof
Technical field
The present invention relates to home security art field, particularly relate to a kind of household burglary-resisting system and method for work thereof.The present invention adopts digital anti-theft technology, by gateway controller, theftproof lock is reported to the police, the system of state-detection and key rights management, relate to theftproof lock state-detection, warning, key authority application and remote key mandate and method of work thereof, and relate to security protection, internet and e-commerce field.
Background technology
At present, in household burglary-resisting system, especially in anti-theft door system, Long-distance Control is realized to theftproof lock and key rights management is still in blank, although there is various theft-proof permulation lock market, and is integrated with sophisticated functions, still to key rights management and internet-based control can not be passed through.In daily life, usually because the management of key controls bad, cause the loss of key or stolen, make user's household property and personal safety can not get ensureing, the mode of this conventional use key also can not embody the fashionable life of high-quality.Especially concerning high-grade and intelligent management community, the management of key in part-timer's hand is just seemed not enough, uncontrollable its opening time section, authority and door opening times, often need subscriber household member all-the-way tracking, thus wasting the quality time of user, a key of also worrying in addition gives attendant separately or property is taken care of.Therefore can not carry out the household burglary-resisting system of long-range mandate, unavoidably have influence on the normal arrangement of time of user.And for fingerprint, password or the door lock of swiping the card, relate to cryptosecurity problem, more need user's family member to use.Bring inconvenience to the life of fashion personage, door lock security, internet, applications and life cannot be combined.
Summary of the invention
Technical matters to be solved by this invention is to provide a kind of household burglary-resisting system and method for work thereof, solves existing key of anti-theft lock rights management Shortcomings, can long-rangely carry out the theft management such as authorizing, and improves the security of household.
The present invention is achieved through the following technical solutions:
Household burglary-resisting system, includes: key and lockset, and described key comprises useful in the key body opening lockset; Wherein, described household burglary-resisting system also includes: gateway controller, server and client;
Described key, includes the identity recognition device comprising identity code information;
Described lockset, includes: lock body, lock core and circuit block; Described lock body is arranged on home equipment, includes blocking mechanism and unlocking mechanism; The identity code information of the key in described circuit block read operation, compared with the identification code data stored, correctly, key can continue to unblank, and sends state by gateway controller to server; Mistake, lockset locking, and send unlocking authority request instruction to gateway controller, gateway controller is applied for server again, postbacks to gateway controller after server process, and gateway controller is issued lockset again data and realized unblanking;
Described gateway controller, for carrying out data interaction with lockset and server;
Described server, as the service platform of subscriber information management, lockset information management, key and rights management; Described server includes access and application processing function module and database, with smart machine, as gateway controller and client interactive communication respectively;
Described client, as the terminal of user operation, for carrying out data interaction with server, by server lookup and configuration, carries out information management and rights management.Wherein in an embodiment, the circuit block of described lockset includes:
CPU: for Data Detection process and control;
Testing circuit: for detecting lockset state and key status;
Memory circuit: for the information of preserving and data;
Identity code reading circuit: for reading identity code information;
And telecommunication circuit: for carrying out wired or wireless communication with gateway controller;
Described CPU and testing circuit, memory circuit, identity code reading circuit and telecommunication circuit are electrically connected respectively; Testing circuit detects key status, and identity code reading circuit reads the identity code information of key, sends to CPU; CPU is the identity code information of key compared with the identity code stored in memory circuit, and result is correct, and key can be unblanked, erroneous results, lockset locking, and sends unlocking authority request instruction to gateway controller.
Wherein in an embodiment, described gateway controller, includes: CPU element, communication unit, storage unit and detection control unit; CPU element is used for state-detection data processing and control, is electrically connected respectively with communication unit, storage unit and detecting unit; Described storage unit, for preserving code and data; Communication unit is used for gateway controller and communicates with lockset, server or intelligent terminal; Detection control unit is used for Interface status detection and control.
Wherein in an embodiment, described client, includes: client manager module and browser, adopts computer or panel computer or smart mobile phone or handheld terminal; Described client realizes logging in and information interaction; Described client realizes inquiry, arranges and authorize, and described client realizes information management and key management.
The method of work of above-mentioned household burglary-resisting system, wherein: comprise key right management method, concrete steps are:
S1 user checks the identity of key by accessing server by customer end;
S2 selects the key needing to distribute authority;
S3 selects key authority configuration mode, comprising: the pattern that uncaging time section, unlocking times, number of times were combined with the time period;
After S4 is provided with, select to preserve setting, key rights management is provided with.
The method of work of above-mentioned household burglary-resisting system, wherein: comprise key application and to unblank management method, concrete steps are:
K1 key inserts lockset, and lockset judges key type and state, and as during for constrained state, lockset sends to gateway controller application information of unblanking;
K2 gateway controller is submitted the application information of unblanking received to server;
K3 server, according to the authority of configuration, sends to gateway controller Authorization result information;
K4 gateway controller issues lockset the Authorization result information that server sends;
K5 user unblanks.
Further, above-mentioned key application is unblanked management method, also comprises the steps:
K6 points out as lockset mistake of unblanking, and after needing to extract key, then reinserts key to trigger application process of unblanking; Repeat step K 1, step K 2, step K 3, step K 4, step K 5 successively;
After K7 user unblanks, key application management process of unblanking terminates.
Beneficial effect of the present invention is as follows:
The present invention is directed to existing key of anti-theft lock rights management Shortcomings, cannot long-rangely carry out the problem such as authorizing, a kind of household burglary-resisting system and the method for work thereof that are realized theft-proof permulation lock and key rights management by internet are provided, user can use smart mobile phone or PC computer to use record, configuration key pot life or usage license number of times as accessing server by customer end to inquire about key authority, authorization conditions and key.In application process, the key of authority restriction needs to carry out authority application when each use, is distributed, or pre-set key authority by user by smart mobile phone or PC computer logon server to key authority.Solve key rights management issues by the method, facilitate user management.
Household burglary-resisting system of the present invention can apply on antitheft door or on other home equipments.
Accompanying drawing explanation
Fig. 1 is each parts composition structural representation of household burglary-resisting system of the present invention;
Fig. 2 is the Key structure schematic diagram of household burglary-resisting system of the present invention;
Fig. 3 is the lock structure schematic diagram of household burglary-resisting system of the present invention;
Fig. 4 is the lockset circuit theory schematic diagram of household burglary-resisting system of the present invention;
Fig. 5 is the gateway controller architecture schematic diagram of household burglary-resisting system of the present invention;
Fig. 6 is the gateway controller circuit theory schematic diagram of household burglary-resisting system of the present invention;
Fig. 7 is the server application principle schematic diagram of household burglary-resisting system of the present invention;
Fig. 8 is the client application principle schematic of household burglary-resisting system of the present invention;
Fig. 9 is the key right management method process flow diagram of the method for work of household burglary-resisting system of the present invention;
Figure 10 is that the key application of the method for work of household burglary-resisting system of the present invention is unblanked management method process flow diagram.
Embodiment
In order to solve the problem of prior art, proposing a kind of household burglary-resisting system, as Fig. 1,2,3, including: key 101 and lockset 102, described key 101 includes the key body for opening lockset; Wherein, described household burglary-resisting system also includes: gateway controller 103, server 104 and client 105;
Described key 101, includes the identity recognition device comprising identity code information;
Described lockset 102, includes: lock body, lock core and circuit block; Described lock body is arranged on home equipment, includes blocking mechanism and unlocking mechanism; The identity code information of the key in described circuit block read operation, compared with the identification code data stored, correctly, key can continue to unblank, and sends state by gateway controller to server; Mistake, lockset locking, and send unlocking authority request instruction to gateway controller, gateway controller is applied for server again, postbacks to gateway controller after server process, and gateway controller is issued lockset again data and realized unblanking;
Described gateway controller 103, for carrying out data interaction with lockset and server;
Described server 104, as the service platform of subscriber information management, lockset information management, key and rights management; Described server includes access and application processing function module and database, with smart machine, as gateway controller and client interactive communication respectively;
Described client 105, as the terminal of user operation, for carrying out data interaction with server, by server lookup and configuration, carries out information management and rights management.
Wherein in an embodiment, as Fig. 4, the circuit block of described lockset 102 includes:
CPU: for Data Detection process and control;
Testing circuit: for detecting lockset state and key status;
Memory circuit: for the information of preserving and data;
Identity code reading circuit: for reading identity code information;
And telecommunication circuit: for carrying out wired or wireless communication with gateway controller;
Described CPU and testing circuit, memory circuit, identity code reading circuit and telecommunication circuit are electrically connected respectively; Testing circuit detects key status, and identity code reading circuit reads the identity code information of key, sends to CPU; CPU is the identity code information of key compared with the identity code stored in memory circuit, and result is correct, and key can be unblanked, erroneous results, lockset locking, and sends unlocking authority request instruction to gateway controller.
Wherein in an embodiment, as Fig. 5,6, described gateway controller 103, includes: CPU element, communication unit, storage unit and detection control unit; CPU element is used for state-detection data processing and control, is electrically connected respectively with communication unit, storage unit and detecting unit; Described storage unit, for preserving code and data; Communication unit is used for gateway controller and communicates with lockset, server or intelligent terminal; Detection control unit is used for Interface status detection and control.
Wherein in an embodiment, described client, as Fig. 8, includes: client manager module and browser, adopts computer or panel computer or smart mobile phone or handheld terminal; Described client realizes logging in and information interaction; Described client realizes inquiry, arranges and authorize, and described client realizes information management and key management.
Wherein in an embodiment, described lockset adopts theft-proof permulation lock, and theft-proof permulation lock includes: front panel, lock body, lock core and rear panel; Front panel comprises structure member, identity code reading circuit, button and state-feedback circuit; Lock body comprises structure member, dead bolt, testing circuit and exclusive circuit, is electrically connected with the blocking mechanism of lock body; Lock core comprises profile of tooth and topworks, is connected with panel and lock body; Rear panel comprises structure member, CPU, telecommunication circuit and battery power detection circuit, and CPU realizes state detection process and control, and communicates with gateway controller.
Wherein in an embodiment, the circuit block of described lockset, also includes: condition prompting circuit, state detection circuit, exclusive circuit and battery power detection circuit; Described condition prompting circuit, state detection circuit, exclusive circuit are connected with CPU respectively with battery power detection circuit; CPU realizes state detection process and control, and state detection circuit detects lockset state, key-press status and key status, the described various condition prompting of condition prompting circuit realiration, and described exclusive circuit realizes lockset locking; Described battery power detection circuit realizes battery electric quantity and detects, and is pointed out by condition prompting circuit.
Described key is a kind of ID code key, and comprise shell, key body and identity recognition device, described identity recognition device includes: electrode and ID code chip, realizes reading key ID code information by electrode lockset.
The communication unit of described gateway controller includes: with the communication unit of smart machine and the communication unit with server; Smart device communication unit realizes smart machine, communication between lockset and gateway controller, realizes gateway controller and server communication, realize data interaction with server communication unit.
The method of work of above-mentioned household burglary-resisting system, wherein: as Fig. 9, comprise key right management method, concrete steps are:
S1 user checks the identity of key by accessing server by customer end;
S2 selects the key needing to distribute authority;
S3 selects key authority configuration mode, comprising: the pattern that uncaging time section, unlocking times, number of times were combined with the time period;
After S4 is provided with, select to preserve setting, key rights management is provided with.
In step S1, the built-in unique ID code of key, by registration operation in advance, the key of difference in functionality is registered in lockset, and the unique ID code of key is saved in the storage unit of lockset, realizes key ID code and judges.
The method of work of above-mentioned household burglary-resisting system, wherein: as Figure 10, comprise key application and to unblank management method, concrete steps are:
K1 key inserts lockset, and lockset judges key type and state, and as during for constrained state, lockset sends to gateway controller application information of unblanking;
K2 gateway controller is submitted the application information of unblanking received to server;
K3 server, according to the authority of configuration, sends to gateway controller Authorization result information;
K4 gateway controller issues lockset the Authorization result information that server sends;
K5 user unblanks.
Further, above-mentioned key application is unblanked management method, also comprises the steps:
K6 points out as lockset mistake of unblanking, and after needing to extract key, then reinserts key to trigger application process of unblanking; Repeat step K 1, step K 2, step K 3, step K 4, step K 5 successively;
After K7 user unblanks, key application management process of unblanking terminates.
Step K 1, K2, in K3, after key inserts, trigger state testing circuit, detect that user unblanks, initiation key ID code reads simultaneously, the key ID code read and the ID code be kept in memory circuit are compared, if identical, carry out condition prompting, unlock operation can be proceeded, and lockset state is sent to gateway controller, server is submitted to by gateway controller, if comparison error, then send to gateway controller solicited message of unblanking, gateway controller is submitted solicited message again to server, server is replied to gateway controller according to configuring condition, lockset is sent to by gateway controller.
Authority as key corresponding in server does not configure, then start exclusive circuit, touches open and close lock mechanism, by force locking, the key of condition prompting circuit prompting simultaneously ID code mistake.
If continue to exceed the key ID code mistake of three times, then lockset starting state cue circuit gives the alarm prompting, and warning message is sent to gateway controller, notifies user by gateway controller.
Embodiment:
Household burglary-resisting system of the present disclosure, as shown in Figure 1, 2, the present invention is made up of five parts such as key 101, lockset 102, gateway controller 103, server 104, smart mobile phones 105, key 101 adopts ID code key, lockset 102 adopts ID theft-proof permulation lock, and server 104 also includes WEB server, application software and database.
ID theft-proof permulation lock is the perfect adaptation of machinery and electronics, and as shown in Figure 3,4, ID theft-proof permulation lock includes: front panel 202, lock body 203, lock core 204 and rear panel 201; The built-in doorbell of front panel and state display lamp circuit, realize doorbell function and state display; Lock body is arranged in door-plate, comprises master lock tongue, secondary lock tongue and door magnetic tongue, lock body built-in state testing circuit and exclusive circuit, is electrically connected with the blocking mechanism of lock body; Lock core realize shaped as key bit coupling and unblank, during installation and front and back panel, lock body link together; Rear panel comprises door handle and built-in main control unit cpu circuit, radio communication circuit and battery power detection circuit, realize lock-switch condition adjudgement and lockset control by main control unit cpu circuit, and communicated with gateway controller by built-in radio communication circuit.The built-in unique ID code of key 101 used in the present invention, by registration operation in advance, the key of difference in functionality is registered in combination padlock, and the unique ID code of key is saved in the memory circuit of lockset, realizes key ID code and judges.
The circuit block of lockset 102, as shown in Figure 4, main control unit CPU, state detection circuit, ID code reading circuit, memory circuit, radio communication circuit, voice warning circuit, key press detecting circuit, exclusive circuit, battery power detection circuit and status display circuit is included, described ID code reading circuit, memory circuit, radio communication circuit, voice warning circuit, key press detecting circuit, exclusive circuit, battery power detection circuit are connected with main control unit CPU respectively with status display circuit, main control unit CPU realizes lockset state detection process and control, key-press status testing circuit detects master lock tongue and door magnetic tongue on off state, and key insert state, key ID code reading circuit realizes key ID code chip data and reads, key press detecting circuit realizes lock configuration and bell button process, the ID code data that memory circuit realizes registration key is preserved, voice warning circuit carries out different sound prompt functions according to different operations, radio communication circuit is that lock carries out the circuit of radio communication with gateway controller, exclusive circuit realizes carrying out lock operation when illegal key unlocking, battery power detection circuit realizes battery electric quantity and detects, and carry out battery low-electricity quantity prompting.After ID code key inserts lock core, trigger state testing circuit, lockset detects that user unblanks, initiation key ID code reads simultaneously, the key ID code read and the ID code preserved are compared, if identical, carry out voice message, key unlocking operation can be proceeded, and unlocking condition is sent to gateway controller by radio communication circuit, again state is dealt into server by gateway controller, as compared ID code mistake, then carry out application unlocking authority by radio-circuit to gateway controller, gateway controller by internet the authority of key again to server application, the configuration authority of server acknowledge key, lock is transmitted to by gateway controller.
The method of work of above-mentioned household burglary-resisting system, as not having the key of unlocking authority to unblank, then starts exclusive circuit, touches open and close lock mechanism, by force locking, and points out key ID code mistake, and to gateway controller sending permission solicited message.
If do not have unlocking authority key to connect to unblank more than three times, then lockset startup sound circuit sounds the alarm, and by radio communication circuit, warning message is sent to gateway controller, notifies user by gateway controller, can be short message mode, also can be voice mode.
Lockset configured by key press detecting circuit practical function and doorbell operation, realize key nullify and registration, emergency cryptosystem management; Doorbell and emergency cryptosystem input function is realized by the doorbell button of front panel.Lockset in configuration and Password Operations process, and sends the voice message of kind of state.
Described key is a kind of ID code key, be made up of shell, key body and identity recognition device, described identity recognition device includes: IC electrode and IC code chip, when unblanking, key is inserted ID theft-proof permulation lock, electrode contact on IC electrode on the key and lockset, and trigger ID theft-proof permulation lock and read key ID code, combination padlock reads pins by IC electrode on the key.
Gateway controller 103 is the bridges carrying out data interaction between lock and server, as Fig. 5,6, gateway controller and lockset adopt communication, gateway controller and server communication can adopt communication or wire communication mode, realize gateway controller parameter configuration and realize communicating with remote server, and sending warning message to user.During key unlocking application, lockset sends unlocking authority request msg to gateway controller, and gateway controller is sent to server application information, and server sends to gateway controller key authority information data again, and gateway controller sends to lockset again.The authority of key is configured by user, user is undertaken authorizing or authority setting by accessing server by customer end, authorization message issues server by client, when gateway controller logon server, server is preserved information PUSH again to gateway controller, during key unlocking, gateway controller issues ID theft-proof permulation lock the key authority information preserved, and achieves the lock key rights management of ID digital anti-theft and unlock operation process.
Gateway controller realizes principle, and as shown in Figure 6, gateway controller is made up of main control unit CPU, storage unit, sound circuit, status display circuit, testing circuit, battery power detection circuit, radio communication circuit, ethernet communication circuit.Main control unit CPU realizes state-detection, data processing and control, and storage unit preserves gateway controller code and data, and code is run.Sound circuit realizes warning message recording, operation voice message, sounds the alarm, External microphone and loudspeaker.Status display circuit realizes gateway running status, alarm condition, mode of operation display.Testing circuit is used for gateway controller Data inputing, realizes gateway controller function setting, combination padlock registration, recording and player function, and battery power detection circuit is used for detecting battery electric quantity, realizes battery low-electricity quantity and reports to the police.Radio communication circuit comprises and combination padlock or intelligent home device two-way wireless communication, and with the radio communication circuit of server.Gateway controller realizes burglar alarm by radio communication function, server communication.Ethernet communication circuit is used for gateway controller parameter configuration.When ID digital anti-theft is locked in and carries out key unlocking or authority application, transmission request information is to gateway controller, after gateway controller process, again information is submitted to server, server carries out replying to gateway controller according to key privileges configuration information, realize key unlocking application information to upload and control information issues, gateway controller preserves each operation note simultaneously.When ID digital anti-theft is locked in and uses together with gateway controller, must register by advanced row combination padlock, first operating gateway controller enters login state, and operation ID theft-proof permulation lock is registered, and realizes the registering functional of many locks or other intelligent home device.Recording and alarm function, gateway controller is after receiving combination padlock warning message, and start this locality and send high-decibel alarm song, and warning message is issued user, alarming information of delivering newspaper is simultaneously to server.Gateway controller realizes configuration by Ethernet interface, configuration server information, user profile, wireless communication parameters etc.Server will descend photos and sending messages to be after gateway signs in server to gateway controller, is sent to gateway controller, guarantee information synchronized update by server.
As Fig. 7, the applied function module of described server includes: administrative unit etc. nullified by key registration management unit, authority searching and managing unit, key.Server is the service platform of subscriber information management, the information management of ID theft-proof permulation lock, key and rights management, realize the functions such as user's login, information inquiry, key management, key right assignment, after accessing server by customer end, realize subscriber information management, key priority assignation and key management.Server end, user needs registered user, ID theft-proof permulation lock and key information, is preserved in a database by server.When lockset unblanks application to gateway controller transmission, by gateway controller, application information is sent to server, server processes this information, and key authority information is postbacked to gateway controller again, send to ID theft-proof permulation lock by gateway controller, complete whole operating process.
Server application realizes block diagram, as shown in Figure 7, the connection of network in charge processing gateway controller and client, support that HTML's and XML is mutual, include applied function module, APACHE server, PHP5 processor, ZendFramework framework, database and support that template and file formed, applied function module realizes different operation requests, and undertaken alternately by WEB server, and carry out XML or HTML explanation by PHP5, be delivered to ZendFrameworkWEB level of application framework again, and carry out information interaction with database, response message again by APACHEweb server acknowledge to gateway controller or client, the server framework that the present invention is applied to is based on WEB mode, can realize and dispose by convenient service.
Client, refers to client software or browser, smart mobile phone or PC computer installs client software or is logged in by browser, can be smart mobile phone, panel computer, PC computer or handheld terminal.Realize subscriber information management, key management and key priority assignation, inquiry lockset state or warning message.User, when configuration key authority, signs in server, authorizes key, and can be configured by the time period of unblanking, permitted number of unblanking, periodicity.The unlocking authority of server record key, when key carries out unblanking application or gateway control connection, server key authority information sends to gateway controller, and gateway controller sends to ID theft-proof permulation lock authority information again, realizes unblanking.
Client application realizes block diagram, and as shown in Figure 8, client, based on standard HTML5 webpage design, is undertaken alternately, based on smart mobile phone and panel computer, also supporting PC by HTML or XML and server.Client end interface adopts the webpage design supporting HTML5, select the JAVASCRIPT application framework of JQUERYUI and JQUERYMOBILE, support major browsers, browser is held to be connected by smart mobile phone, panel computer and PC, realize with HTML or XML of server mutual, by webpage realize alternately intelligent anti-theft system login, inquire about, function be set etc.
The feature of household burglary-resisting system of the present invention is:
1, the key authority in this burglary-resisting system can flexible configuration.
2, the measure that this burglary-resisting system provides user's remote inquiry lockset state, the time limit is unblanked in configuration.
3, this burglary-resisting system can by smart mobile phone or PC computer as client query lockset open locking state, configuration key authority.
4, this system and combination padlock realize door lock interlocking, realize burglar alarm.
5, the built-in unique code chip of ID key.
6, increase reading key ID code function circuit and lock-switch state detection circuit in ID theft-proof permulation lock, realize anti-theft alarm function and rights management.
7, ID theft-proof permulation lock can provide key registration, cancellation, authority application, deploys troops on garrison duty, withdraw a garrison and warning function.
8, the built-in wireless communication module of gateway controller, realizes communicating with ID theft-proof permulation lock.
9, gateway controller built-in communication module, realizes gateway controller and communicates with server and client side.
10, server provides subscriber information management, the information management of ID theft-proof permulation lock, key information management and key right assignment, according to the configuration control ID theft-proof permulation lock switching function of user to key authority.
11, client provides user profile, ID theft-proof permulation lock information, key information to manage, and realizes logging in, inquiring about and configuration feature, and access way can be smart mobile phone or PC computer.
During use, ID theft-proof permulation lock is arranged on user's antitheft door, gateway controller is arranged on user's family, radio communication is adopted between ID theft-proof permulation lock and gateway controller, gateway controller is by wireless connections WLAN (wireless local area network) to home, realize and server communication, server host is deployed in data communication center.First logon server carries out information registering before use, and gateway controller is configured, combination padlock is registered in gateway controller, carries out the status poll of ID theft-proof permulation lock and the rights management of ID code key by smart mobile phone accessing server by customer end later.
The above embodiment only have expressed embodiments of the present invention, and it describes comparatively concrete and detailed, but therefore can not be interpreted as the restriction to the scope of the claims of the present invention.It should be pointed out that for the person of ordinary skill of the art, without departing from the inventive concept of the premise, can also make some distortion and improvement, these all belong to protection scope of the present invention.Therefore, the protection domain of patent of the present invention should be as the criterion with claims.