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, the theft management such as can long-rangely authorize, 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 the key body that is useful on unlatching lockset; Wherein, described household burglary-resisting system also includes: gateway controller, server and client;
Described key, includes the identity recognition device that comprises 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, compares with the identification code data of storage, and correct, key can continue to unblank, and to server, sends state by gateway controller; Mistake, lockset locking, and send unlocking authority request instruction to gateway controller, and gateway controller is applied for to server again, postbacks to gateway controller after server process, gateway controller is issued lockset realization data again and is unblanked;
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 difference interactive communication;
Described client, as the terminal of user's operation, for carrying out data interaction with server, by server lookup and configuration, carries out information management and rights management.In an embodiment, the circuit block of described lockset includes therein:
CPU: process and control for Data Detection;
Testing circuit: for detection of lockset state and key state;
Memory circuit: for preservation information 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 state, and identity code reading circuit reads the identity code information of key, sends to CPU; CPU compares the identity code information of key with the identity code of storing in memory circuit, result is correct, and key can be unblanked, erroneous results, and lockset locking, and send unlocking authority request instruction to gateway controller.
In an embodiment, described gateway controller, includes: CPU element, communication unit, storage unit and detection control unit therein; CPU element is for state-detection data processing and control, respectively with communication unit, storage unit and detecting unit electrical connection; Described storage unit, for preserving code and data; Communication unit is communicated by letter with lockset, server or intelligent terminal for gateway controller; Detection control unit detects and controls for Interface status.
In an embodiment, described client, includes therein: client manager module and browser, adopt computer or panel computer or smart mobile phone or handheld terminal; Described client realizes and logging in and information interaction; Described client realizes inquiry, arranges and authorizes, 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 to distribute the key of 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 has arranged, select to preserve setting, key rights management setting completes.
The method of work of above-mentioned household burglary-resisting system, wherein: comprise the key application management method of unblanking, concrete steps are:
K1 key inserts lockset, lockset judgement key type and state, as while being constrained state, lockset sends to gateway controller the application information of unblanking;
K2 gateway controller is submitted the application information of unblanking receiving to server;
K3 server, according to the authority of configuration, sends to gateway controller Authorization result information;
The Authorization result information that K4 gateway controller sends server is issued lockset;
K5 user unblanks.
Further, the above-mentioned key application management method of unblanking, also comprises the steps:
K6, as the lockset prompting mistake of unblanking, need to extract after key, then reinserts key and trigger the application process of unblanking; Repeating step K1, step K 2, step K 3, step K 4, step K 5 successively;
After K7 user unblanks, the key application management process of unblanking finishes.
Beneficial effect of the present invention is as follows:
The present invention is directed to existing key of anti-theft lock rights management Shortcomings, the problem such as cannot long-rangely authorize, a kind of household burglary-resisting system and method for work thereof that realizes theft-proof permulation lock and key rights management by internet is provided, user can inquire about key authority, authorization conditions and key as accessing server by customer end with smart mobile phone or PC computer and use record, configuration key pot life or usage license number of times.In application process, the key of Warrant Bounds need to carry out authority application when each use, by smart mobile phone or PC computer logon server, key authority is distributed, or set in advance key authority by user.By the method, solve key rights management problem, facilitate user management.
Household burglary-resisting system of the present invention can apply on antitheft door or on other home equipments.
Embodiment
In order to solve the problem of prior art, a kind of household burglary-resisting system has been proposed, as Fig. 1,2,3, include: key 101 and lockset 102, described key 101 includes for opening the key body of 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 that comprises 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, compares with the identification code data of storage, and correct, key can continue to unblank, and to server, sends state by gateway controller; Mistake, lockset locking, and send unlocking authority request instruction to gateway controller, and gateway controller is applied for to server again, postbacks to gateway controller after server process, gateway controller is issued lockset realization data again and is unblanked;
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 difference interactive communication;
Described client 105, as the terminal of user's operation, for carrying out data interaction with server, by server lookup and configuration, carries out information management and rights management.
In an embodiment, as Fig. 4, the circuit block of described lockset 102 includes therein:
CPU: process and control for Data Detection;
Testing circuit: for detection of lockset state and key state;
Memory circuit: for preservation information 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 state, and identity code reading circuit reads the identity code information of key, sends to CPU; CPU compares the identity code information of key with the identity code of storing in memory circuit, result is correct, and key can be unblanked, erroneous results, and lockset locking, and send unlocking authority request instruction to gateway controller.
In an embodiment, as Fig. 5,6, described gateway controller 103, includes: CPU element, communication unit, storage unit and detection control unit therein; CPU element is for state-detection data processing and control, respectively with communication unit, storage unit and detecting unit electrical connection; Described storage unit, for preserving code and data; Communication unit is communicated by letter with lockset, server or intelligent terminal for gateway controller; Detection control unit detects and controls for Interface status.
In an embodiment, described client, as Fig. 8, includes therein: client manager module and browser, adopt computer or panel computer or smart mobile phone or handheld terminal; Described client realizes and logging in and information interaction; Described client realizes inquiry, arranges and authorizes, and described client realizes information management and key management.
In an embodiment, described lockset adopts theft-proof permulation lock therein, 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, with the blocking mechanism electrical connection 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 by letter with gateway controller.
In an embodiment, the circuit block of described lockset, also includes: condition prompting circuit, state detection circuit, exclusive circuit and battery power detection circuit therein; Described condition prompting circuit, state detection circuit, exclusive circuit and battery power detection circuit are connected with CPU respectively; CPU realizes state detection process and control, and state detection circuit detects lockset state, key-press status and key state, and described condition prompting circuit is realized various condition promptings, and described exclusive circuit is realized lockset locking; Described battery power detection circuit is realized battery electric quantity and is detected, and points out by condition prompting circuit.
Described key is a kind of ID code key, comprises shell, key body and identity recognition device, and described identity recognition device includes: electrode and ID code chip, by electrode lockset, realize the key ID code information that reads.
The communication unit of described gateway controller includes: with the communication unit of smart machine and with the communication unit of server; Smart machine communication unit is realized communicating by letter between smart machine, lockset and gateway controller, realizes gateway controller and server communication with server communication unit, realizes data interaction.
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 to distribute the key of 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 has arranged, select to preserve setting, key rights management setting completes.
In step S1, the built-in unique ID code of key, the registration by advance operates, and 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 the judgement of key ID code.
The method of work of above-mentioned household burglary-resisting system, wherein: as Figure 10, comprise the key application management method of unblanking, concrete steps are:
K1 key inserts lockset, lockset judgement key type and state, as while being constrained state, lockset sends to gateway controller the application information of unblanking;
K2 gateway controller is submitted the application information of unblanking receiving to server;
K3 server, according to the authority of configuration, sends to gateway controller Authorization result information;
The Authorization result information that K4 gateway controller sends server is issued lockset;
K5 user unblanks.
Further, the above-mentioned key application management method of unblanking, also comprises the steps:
K6, as the lockset prompting mistake of unblanking, need to extract after key, then reinserts key and trigger the application process of unblanking; Repeating step K1, step K 2, step K 3, step K 4, step K 5 successively;
After K7 user unblanks, the key application management process of unblanking finishes.
Step K 1, K2, in K3, after key inserts, trigger state detection circuit, user being detected unblanks, initiation key ID code reads simultaneously, the key ID code reading and the ID code being kept in memory circuit are compared, if identical, carry out condition prompting, can proceed unlock operation, and lockset state is sent to gateway controller, by gateway controller, be submitted to server, if comparison error, to gateway controller, send the solicited message of unblanking, gateway controller is submitted solicited message again to server, server is replied to gateway controller according to configuring condition, by gateway controller, send to lockset.
As the not configuration of the authority of corresponding key in server, start exclusive circuit, touch open and close lock mechanism, locking by force, the key of condition prompting circuit prompting simultaneously ID code mistake.
If surpass continuously the key ID code mistake of three times, the lockset starting state cue circuit prompting that gives the alarm, and warning message is sent to gateway controller, by gateway controller, notify user.
Embodiment:
Household burglary-resisting system of the present disclosure, as shown in Figure 1, 2, the present invention is comprised 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 and show; Lock body is arranged in door-plate, comprises master lock tongue, secondary lock tongue and door magnetic tongue, and the built-in state detection circuit of lock body and exclusive circuit, with the blocking mechanism electrical connection of lock body; Lock core is realized shaped as key bit coupling and is unblanked, 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, by main control unit cpu circuit, realize lock-switch state judgement and lockset is controlled, and communicate by letter with gateway controller by built-in radio communication circuit.The built-in unique ID code of key 101 used in the present invention, the registration by advance operates, and 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 the judgement of key ID code.
The circuit block of lockset 102, as shown in Figure 4, include 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, described 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 are connected with main control unit CPU respectively, 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 inserts state, key ID code reading circuit is realized key ID code chip data and is read, key press detecting circuit is realized lock configuration and bell button is processed, memory circuit is realized the ID code data of registration key and is preserved, voice warning circuit carries out different sound prompt functions according to different operations, radio communication circuit is the circuit that lock and gateway controller carry out radio communication, exclusive circuit is realized and when illegal key unlocking, is carried out lock operation, battery power detection circuit is realized battery electric quantity and is detected, and carry out battery low-electricity quantity prompting.At ID code key, insert after lock core, trigger state detection circuit, lockset detects user and unblanks, initiation key ID code reads simultaneously, the key ID code reading and the ID code of having preserved are compared, if identical, carry out voice message, can proceed key unlocking operation, and unlocking condition is sent to gateway controller by radio communication circuit, by gateway controller, again state is dealt into server, as compared ID code mistake, by radio-circuit, to gateway controller, apply for unlocking authority, gateway controller by internet the authority of key again to server application, the configuration authority of server acknowledge key, by gateway controller, be transmitted to lock.
The method of work of above-mentioned household burglary-resisting system, as do not have the key of unlocking authority to unblank, start exclusive circuit, touch open and close lock mechanism, locking by force, and point out key ID code mistake, and to gateway controller sending permission solicited message.
If do not have unlocking authority key to connect over unblanking for three times, lockset startup sound circuit sounds the alarm, and by radio communication circuit, warning message is sent to gateway controller, by gateway controller, notifies user, can be short message mode, can be also voice mode.
Lockset configures by key press detecting circuit practical function and doorbell operates, and realizes key cancellation and registration, emergency cryptosystem management; By the doorbell button of front panel, realize doorbell and emergency cryptosystem input function.Lockset is in configuration and Password Operations process, and the voice message of sending kind of state.
Described key is a kind of ID code key, by shell, key body and identity recognition device, formed, described identity recognition device includes: IC electrode and IC code chip, while unblanking, key is inserted to ID theft-proof permulation lock, IC electrode on the key and the electrode contact on 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 that carry 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 realization and communicate by letter with remote server, and send warning message to user.During key unlocking application, lockset sends unlocking authority request msg to gateway controller, and gateway controller sends 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 authorizes or authority setting by accessing server by customer end, authorization message is issued server by client, when gateway controller logon server, server is preserved information PUSH again to gateway controller, during key unlocking, gateway controller is issued ID theft-proof permulation lock the key authority information of preserving, and has realized the lock key rights management of ID digital anti-theft and unlock operation process.
Gateway controller is realized principle, and as shown in Figure 6, gateway controller is comprised 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 is preserved gateway controller code and data, code operation.Sound circuit is realized warning message recording, operation voice message, is sounded the alarm, external microphone and loudspeaker.Status display circuit is realized gateway running status, alarm condition, mode of operation demonstration.Testing circuit is processed for gateway controller keyboard, realizes gateway controller function setting, combination padlock registration, recording and player function, and battery power detection circuit, for battery electric quantity is detected, is realized battery low-electricity quantity and reported 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 is realized burglar alarm by radio communication function, server communication.Ethernet communication circuit is for gateway controller parameter configuration.ID digital anti-theft is locked in while carrying out key unlocking or authority application, the information that sends request is to gateway controller, after being processed by gateway controller, again information is submitted to server, server is replied to gateway controller according to key authority configuration information, realize that key unlocking application information is uploaded and control information issues, gateway controller is preserved each operation note simultaneously.ID digital anti-theft is locked in while using together with gateway controller, must register by advanced row combination padlock, and 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, after receiving combination padlock warning message, starts this locality and sends high-decibel alarm song, and warning message is issued to user, delivers newspaper alarming information to server on simultaneously.Gateway controller can be realized configuration by Ethernet interface, configuration server information, user profile, wireless communication parameters etc.It is to sign in to after server at gateway to gateway controller that server will descend photos and sending messages, by server, sends to gateway controller, and guarantee information is synchronously upgraded.
As Fig. 7, the applied function module of described server includes: key registration management unit, authority searching and managing unit, key are nullified administrative unit etc.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, the setting of key authority and key management.Server end, user needs registered user, ID theft-proof permulation lock and key information, by server, is kept in database.When lockset unblanks to apply for to gateway controller transmission, by gateway controller, application information is sent to server, server is processed this information, and key authority information is postbacked to gateway controller again, by gateway controller, send to ID theft-proof permulation lock, complete whole operating process.
Server application realizes block diagram, as shown in Figure 7, server is responsible for the connection of processing gateway controller and client, support HTML and XML's is mutual, include applied function module, APACHE server, PHP5 processor, Zend Framework framework, database and support template and file form, applied function module is realized different operation requests, and undertaken alternately by WEB server, and carry out XML or HTML explains by PHP5, be delivered to again Zend Framework WEB application degree framework, and carry out information interaction with database, response message is replied to gateway controller or client by APACHE web server again, 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, on smart mobile phone or PC computer, client software is installed or is logined by browser, can be smart mobile phone, panel computer, PC computer or handheld terminal.Realize subscriber information management, key management and the setting of key authority, inquiry lockset state or warning message.User, when configuration key authority, signs in to server, key is authorized, and can be by the time period of unblanking, unblank to permit number of times, be periodically configured.The unlocking authority of server record key, when key is unblanked 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, and realization is unblanked.
Client application realizes block diagram, and as shown in Figure 8, client is based on standard HTML5 webpage design, by HTML or XML and server, is undertaken alternately, take smart mobile phone and panel computer as main, also supports PC.Client end interface adopts the webpage design of supporting HTML5, select the JAVASCRIPT application framework of JQUERY UI and JQUERY MOBILE, support main flow browser, can be connected by smart mobile phone, panel computer and PC end browser, realize with HTML or the XML of server mutual, by webpage realize alternately intelligent anti-theft system login, the function such as inquire about, arrange.
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, this burglary-resisting system provides the measure that the time limit is unblanked in user's remote inquiry lockset state, configuration.
3, this burglary-resisting system can be by smart mobile phone or PC computer as client query lockset open locking state, configuration key authority.
4, this system and combination padlock are realized door lock interlocking, realize burglar alarm.
5, the built-in unique code chip of ID key.
6, in ID theft-proof permulation lock, increase and read key ID code function circuit and lock-switch state detection circuit, realize anti-theft alarm function and rights management.
7, ID theft-proof permulation lock can provide key registration, cancellation, authority application, deploy troops on garrison duty, withdraws a garrison and warning function.
8, the built-in wireless communication module of gateway controller, realizes and communicating by letter with ID theft-proof permulation lock.
9, the built-in communication module of gateway controller, realizes gateway controller and communicates by letter 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 user, the configuration of key authority is controlled to ID theft-proof permulation lock switching function.
11, client provides user profile, ID theft-proof permulation lock information, key information management, realizes login, inquiry 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, between ID theft-proof permulation lock and gateway controller, adopt radio communication, gateway controller can be 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, can 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 has only expressed embodiments of the present invention, and it describes comparatively concrete and detailed, but can not therefore 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.