A kind of set up defences supervisory system and the method for gate control system
Technical field
The present invention relates to the communications field, particularly relate to set up defences supervisory system and the method for a kind of gate control system.
Background technology
Gate control system develops on traditional door lock basis. Traditional mechanical door lock is only simple mechanism, lacks security protection measure more humane, intelligentized. In order to address these problems, the gate control system of the on-off control gate inhibition's safety by electric locksets such as control electronic magnetic card lock, electronic password locks has just occurred, only it is provided with the magnetic card of authority or inputs correct password and just can open electronics lock, thus improve people to a certain extent to the hommization of gate inhibition's safety, intelligent management degree.
But existing gate control system also exists this certain potential safety hazard, because magnetic card is likely utilized by other people because losing or be replicated, and password also may be revealed, and therefore gate control system exists by the risk of pirate of the open. Therefore higher security department, private site etc. are required for the important access points such as cash in bank storehouse gate inhibition, enterprise-essential file storehouse gate inhibition or some security protections, often or need gate control system auxiliary under, assign special messenger to carry out in access point on-the-spot on duty. But security protection measure not only increases human cost like this, and often there is the work and rest feature making breath at night daytime due to bank, enterprise or private site etc., also it is difficult to accomplish that access point is carried out 24 hours uninterruptedly on duty, therefore in unmanned period on duty, relevant obligee still cannot know the safe situation of gate inhibition in time. Visible, existing gate control system manages convenient not, to there is security risk problem, only relies on manually on duty, can not be well solved.
Summary of the invention
For above shortcomings in prior art, problem solved by the invention is set up defences supervisory system and the method for the gate control system providing a kind of convenient management, security higher, for solving the problem that access control system management in prior art is convenient not, there is security risk better.
For solving the problems of the technologies described above, it is achieved goal of the invention, the technical solution used in the present invention is as follows:
A supervisory system of setting up defences for gate control system, comprises electronics lock, Men Jinqi, server and user terminal;Electronics lock and gate inhibition's device are arranged on outer side of door, and gate inhibition's device comprises camera and control module, the graphic information that camera is used for outside capture gate; Electronics lock is communicated with gate inhibition's device by cordless communication network, and gate inhibition's device is communicated with server by internet respectively with user terminal; Described user terminal is used for initiating, to server, request of unblanking, and server is sent to gate inhibition's device for request of unblanking; When gate inhibition's device works in the normal mode, the control module of gate inhibition's device is used for opening according to Request Control electronics lock of unblanking; When gate inhibition's device is operated under the pattern of setting up defences, if when the control module of gate inhibition's device detects that electronics lock is opened, performing alarm operation.
The monitoring method of setting up defences of a kind of gate control system, by the supervisory control system running process of setting up defences of above-mentioned gate control system, described gate inhibition's device is preset with gate inhibition ID, user terminal is preset with user ID, server is preset with the user ID of each gate inhibition ID and correspondence thereof, the request of unblanking that user terminal generates includes user ID and gate inhibition ID, and this monitoring method of setting up defences comprises the following steps:
1) when server receives the request of unblanking of user terminal, server judges whether the user ID unblanked in request and gate inhibition ID is consistent with default gate inhibition ID and corresponding user ID thereof, if, this is unblanked to ask to be sent to gate inhibition's device corresponding to gate inhibition ID by server, performs step 2; Otherwise, terminate this unlock operation;
2) when gate inhibition's device receive unblank request time, the control module of gate inhibition's device judges that work at present pattern is general mode, perform step 3, the control module of gate inhibition's device judges that work at present pattern is as the pattern of setting up defences, execution step 4;
3) control module of gate inhibition's device responds this request of unblanking, and control electronics lock is opened, and terminates this unlock operation;
4) control module of gate inhibition's device does not respond this request of unblanking, and terminates this unlock operation.
Electronics is also locked into the operation of row Real-Time Monitoring by described gate inhibition's device, and it specifically comprises the following steps:
A) gate inhibition's device detects whether electronics lock enters opened condition by closing condition in real time, when the control module of gate inhibition's device detects that electronics lock enters opened condition by closing condition, performs step B;
B) control module of gate inhibition's device judges current operating mode, if work at present pattern is general mode, performs step C, if work at present pattern is the pattern of setting up defences, then performs step e;
C) control module of gate inhibition's device judges currently whether unblank to ask and unlocking electronic lock because of response, if it does, perform step D; Otherwise, perform step e;
D) state of the control module cycle detection electronics lock of gate inhibition's device, when the control module of gate inhibition's device detects that electronics lock enters closing condition by opened condition, returns execution steps A;
E) control module of gate inhibition's device starts the graphic information outside described camera capture gate, and generates the alarm command including gate inhibition ID, and graphic information and alarm command are sent to server; The user ID that the gate inhibition ID of server searching alarm command is corresponding, is sent to user terminal corresponding to user ID by graphic information and alarm command.
As the further optimization of such scheme, also comprise estate management terminal, estate management terminal is provided with property ID, described step D is: the control module of gate inhibition's device starts the graphic information outside described camera capture gate, and generate the alarm command including gate inhibition ID and property ID, graphic information and alarm command are sent to server; Server finds the user ID corresponding to gate inhibition ID and property ID of alarm command, and graphic information and alarm command are sent to user terminal corresponding to user ID and estate management terminal corresponding to property ID.
As the further optimization of such scheme, the switching mode of the general mode of the control module of described gate inhibition's device and pattern of setting up defences is artificial switching, artificial switching concrete grammar is: be preset with the switching cipher that each gate inhibition ID is corresponding on described server, described user terminal sends the handover request including user ID, gate inhibition ID, switching cipher and request switching working mode to server, and request switching working mode comprises general mode and pattern of setting up defences; When server receives the handover request of user terminal, perform following steps:
A) server judges whether the user ID in handover request and gate inhibition ID is consistent with default gate inhibition ID and corresponding user ID thereof, if it does, perform step b, otherwise performs steps d;
B) server judges that the switching cipher whether switching cipher in handover request is preset with this gate inhibition ID is consistent, if it does, perform step c, otherwise performs steps d;
C) handover request is sent to gate inhibition's device by server, the request switching working mode that current operating mode is arranged in handover request by the control module of gate inhibition's device;
D) server terminates this operating mode blocked operation.
As the further optimization of such scheme, the switching mode of the general mode of the control module of described gate inhibition's device and pattern of setting up defences is exchange-column shift, exchange-column shift concrete grammar is: the request switching working mode being preset with switching time and correspondence thereof in described gate inhibition's device, and request switching working mode comprises general mode and pattern of setting up defences; When the control module of gate inhibition's device judges that gate inhibition's device current time arrives switching time, current operating mode is arranged to the request switching working mode preset by the control module of gate inhibition's device.
Compared to prior art, tool of the present invention has the following advantages:
1, set up defences supervisory system and the method for the gate control system of the present invention, gate inhibition's device and user terminal are bound. When gate inhibition's device works in the normal mode, the unlock command that the user terminal only specified sends just can open corresponding electronics lock, and when gate inhibition's device is operated under the pattern of setting up defences, arbitrary unlocking action all can perform alarm operation, it is to increase the security of gate control system.
2, set up defences supervisory system and the method for the gate control system of the present invention, obligee does not need to carry out at scene on duty, and obligee can be opened by user terminal remote control electronic lock, facilitates obligee to the management of gate control system.
3, the monitoring method of setting up defences of the gate control system of the present invention, when gate inhibition's device performs alarm operation, the graphic information that camera is photographed by gate inhibition's device and alarm command are sent to user terminal and estate management terminal, gate control system can be monitored by user terminal or estate management terminal in time, it is to increase the security of system.
4, the monitoring method of setting up defences of the gate control system of the present invention, the operating mode of gate inhibition's device artificially can be switched by mobile terminal, the operating mode of gate inhibition's device can be switched by obligee at any time, then security alarm service can be provided by the operating mode of setting up defences of gate inhibition's device in unmanned period on duty, enhance the security of gate control system, also make the operation of gate control system more flexible.
5, the monitoring method of setting up defences of the gate control system of the present invention, the operating mode of gate inhibition's device can adopt exchange-column shift mode, and it achieves the automatic switching function of gate control system operating mode.
Accompanying drawing explanation
Fig. 1 is the framework schematic diagram of the supervisory system of setting up defences of gate control system of the present invention.
Embodiment
Below in conjunction with accompanying drawing, the technical scheme of the present invention is illustrated further.
The supervisory system of setting up defences of gate control system provided by the invention, as shown in Figure 1, comprises electronics lock, Men Jinqi, server and user terminal; Electronics lock and gate inhibition's device are arranged on outer side of door, and gate inhibition's device comprises camera and control module, the graphic information that camera is used for outside capture gate; Electronics lock is communicated with gate inhibition's device by cordless communication network, and gate inhibition's device is communicated with server by internet respectively with user terminal; Described user terminal is used for initiating, to server, request of unblanking, and server is sent to gate inhibition's device for request of unblanking; When gate inhibition's device works in the normal mode, the control module of gate inhibition's device is used for opening according to Request Control electronics lock of unblanking; When gate inhibition's device is operated under the pattern of setting up defences, if when the control module of gate inhibition's device detects that electronics lock is opened, performing alarm operation.
When specifically implementing, electronics lock is arranged on door, and gate inhibition's device is arranged on a side. Electronics lock is powered by battery. Electronics lock is communicated with gate inhibition's device by the wireless communication technology such as bluetooth or WIFI, and gate inhibition's device communicates with server by bluetooth, WIFI, RFID technique, infrared or LAN. The supervisory system of setting up defences of the gate control system of the present invention, gate inhibition's device and user terminal are bound. When gate inhibition's device works in the normal mode, the unlock command that the user terminal only specified sends just can open corresponding electronics lock, and when gate inhibition's device is operated under the pattern of setting up defences, arbitrary unlocking action all can perform alarm operation, it is to increase the security of gate control system.
The present invention is according to the supervisory system of setting up defences of above-mentioned gate control system, propose the monitoring method of setting up defences of a kind of gate control system, described gate inhibition's device is preset with gate inhibition ID, user terminal is preset with user ID, server is preset with the user ID of each gate inhibition ID and correspondence thereof, the request of unblanking that user terminal generates includes user ID and gate inhibition ID, and this monitoring method of setting up defences comprises the following steps:
1) when server receives the request of unblanking of user terminal, server judges whether the user ID unblanked in request and gate inhibition ID is consistent with default gate inhibition ID and corresponding user ID thereof, if, this is unblanked to ask to be sent to gate inhibition's device corresponding to gate inhibition ID by server, performs step 2; Otherwise, terminate this unlock operation;
2) when gate inhibition's device receive unblank request time, the control module of gate inhibition's device judges that work at present pattern is general mode, perform step 3, the control module of gate inhibition's device judges that work at present pattern is as the pattern of setting up defences, execution step 4;
3) control module of gate inhibition's device responds this request of unblanking, and control electronics lock is opened, and terminates this unlock operation;
4) control module of gate inhibition's device does not respond this request of unblanking, and terminates this unlock operation.
User ID and gate inhibition ID is used for distinguishing each user terminal and gate inhibition's device respectively, the user ID arranged in server and the corresponding relation of gate inhibition ID are bound gate inhibition's device and user terminal, the request of unblanking that the user terminal specified is sent can only be sent to gate inhibition's device by server, and control electronics lock is opened. By judging to unblank to ask whether legal operation to be placed on, reason that server carries out processing is as follows in the present invention: it is one years old, legal request of unblanking only is handed down to gate inhibition's device by server, improve the working efficiency of whole method, avoid server and frequently the request of unblanking not judged is handed down to gate inhibition's device. Its two, the decision of the request that gate inhibition's device do not need to perform unblank, decreases treatment capacity and the storage space of gate inhibition's device, and the micro-chip that the control module use cost of gate inhibition's device is lower just can realize controlling functions, reduces the cost of gate inhibition's device.In addition, obligee does not need to carry out at scene on duty, and when there being people to need turnover, obligee can be opened by user terminal remote control electronic lock, facilitate obligee to the management of gate control system, it also avoid simultaneously turnover personnel cost a lot of money the time wait obligee's unlocking electronic lock problem.
In order to improve the security of gate control system better, the monitoring method of setting up defences of gate control system provided by the invention also add warning function, and electronics is also locked into the operation of row Real-Time Monitoring by described gate inhibition's device, and it specifically comprises the following steps:
A) gate inhibition's device detects whether electronics lock enters opened condition by closing condition in real time, when the control module of gate inhibition's device detects that electronics lock enters opened condition by closing condition, performs step B;
B) control module of gate inhibition's device judges current operating mode, if work at present pattern is general mode, performs step C, if work at present pattern is the pattern of setting up defences, then performs step e;
C) control module of gate inhibition's device judges currently whether unblank to ask and unlocking electronic lock because of response, if it does, perform step D; Otherwise, perform step e;
D) state of the control module cycle detection electronics lock of gate inhibition's device, when the control module of gate inhibition's device detects that electronics lock enters closing condition by opened condition, returns execution steps A;
E) control module of gate inhibition's device starts the graphic information outside described camera capture gate, and generates the alarm command including gate inhibition ID, and graphic information and alarm command are sent to server; The user ID that the gate inhibition ID of server searching alarm command is corresponding, is sent to user terminal corresponding to user ID by graphic information and alarm command.
Time the pattern of setting up defences in the present invention is mainly used in night or unmanned office is lived, when the current operating mode of gate inhibition's device for set up defences pattern time, any unlocking action all thinks error state (ERST), all can perform alarm operation. When the operating mode that gate inhibition's device is current is general mode, electronics is locked in gate inhibition's device and does not respond unlatching when unblanking request, and gate inhibition's device judges that current electronics lock is opened extremely, performs alarm operation. The present invention is equipped with warning function at general mode and the pattern of setting up defences, and enhances the security of gate control system. Owing to the quantity of information of image is bigger, use internet to transmit image and can spend more flow, therefore, camera does not need captured in real-time image outdoors, only when electronics lock is opened extremely, just perform shooting action, picture information is passed to user terminal, when ensureing safety, the flow transmitting graphic information cost can be reduced.
If obligee can not process in time in the very first time that gate inhibition's device is reported to the police, alarm message can also be sent to estate management terminal by gate inhibition's device, estate management terminal is provided with property ID, described step D is: the control module of gate inhibition's device starts the graphic information outside described camera capture gate, and generate the alarm command including gate inhibition ID and property ID, graphic information and alarm command are sent to server; Server finds the user ID corresponding to gate inhibition ID and property ID of alarm command, and graphic information and alarm command are sent to user terminal corresponding to user ID and estate management terminal corresponding to property ID. Like this, camera is photographed by gate inhibition's device graphic information and alarm command are sent to user terminal and estate management terminal so that gate control system can be monitored by user terminal or estate management terminal in time, it is to increase the security of system.
Owing to gate inhibition's device in the present invention has two kinds of operating mode: general mode and pattern of setting up defences. In order to complete the monitor procedure of gate control system better, the present invention proposes the switching method of following two kinds of operating mode:
The first switches mode, the switching mode of the general mode of the control module of described gate inhibition's device and pattern of setting up defences is artificial switching, artificial switching concrete grammar is: be preset with the switching cipher that each gate inhibition ID is corresponding on described server, described user terminal sends the handover request including user ID, gate inhibition ID, switching cipher and request switching working mode to server, and request switching working mode comprises general mode and pattern of setting up defences; When server receives the handover request of user terminal, perform following steps:
A) server judges whether the user ID in handover request and gate inhibition ID is consistent with default gate inhibition ID and corresponding user ID thereof, if it does, perform step b, otherwise performs steps d;
B) server judges that the switching cipher whether switching cipher in handover request is preset with this gate inhibition ID is consistent, if it does, perform step c, otherwise performs steps d;
C) handover request is sent to gate inhibition's device by server, the request switching working mode that current operating mode is arranged in handover request by the control module of gate inhibition's device;
D) server terminates this operating mode blocked operation.
When specifically implementing, handover request can use following form " user's ID+ gate inhibition ID+ switching cipher+request switching working mode ", such as, the handover request of " 123+501+78256+ set up defences pattern " represents: user ID be 123 user terminal requests the operating mode that gate inhibition ID is 501 gate inhibition's devices is switched to the pattern of setting up defences, the switching cipher of this user input is 78256. At this moment, server first judges whether ID users 123 and gate inhibition No. ID 501 are consistent with default gate inhibition ID and corresponding user ID thereof, if not, illustrates that ID users 123 is illegal, and gate inhibition's device does not perform operating mode blocked operation. If it does, illustrate that ID users 123 is legal, then judge that whether the switching cipher that user terminal inputs is correct, if correctly, allow gate inhibition's device to perform operating mode blocked operation. Otherwise, gate inhibition's device does not perform operating mode blocked operation. The operating mode of gate inhibition's device artificially can be switched by mobile terminal, the operating mode of gate inhibition's device can be switched by obligee at any time, then security alarm service can be provided by the operating mode of setting up defences of gate inhibition's device in unmanned period on duty, enhance the security of gate control system, also make the operation of gate control system more flexible.
2nd kind of switching mode, the switching mode of the general mode of the control module of described gate inhibition's device and pattern of setting up defences is exchange-column shift, exchange-column shift concrete grammar is: the request switching working mode being preset with switching time and correspondence thereof in described gate inhibition's device, and request switching working mode comprises general mode and pattern of setting up defences; When the control module of gate inhibition's device judges that gate inhibition's device current time arrives switching time, current operating mode is arranged to the request switching working mode preset by the control module of gate inhibition's device. Such as, the control module of gate inhibition's device can set " 9:00+ general mode ", " 18:00+ set up defences pattern ", and like this, when gate inhibition's device current time arrives 9:00, gate inhibition's device automatically switches to general mode; When gate inhibition's device current time arrives 18:00, gate inhibition's device automatically switches to the pattern of setting up defences.Under normal circumstances, time the pattern of setting up defences is arranged on evening or unmanned work inhabitation. The operating mode of gate inhibition's device adopts exchange-column shift mode, and it achieves the automatic switching function of gate control system operating mode.
In addition, gate inhibition's device can also use in conjunction with above two kinds of switching methods, under normal circumstances, gate inhibition's device adopts exchange-column shift mode to realize the blocked operation of operating mode, under Special Circumstances, obligee also adopts the method for manual switchover, and the operating mode of gate inhibition's device switches to the operating mode specified.
In sum, set up defences supervisory system and the method for gate control system provided by the invention, gate inhibition's device and user terminal are bound. When gate inhibition's device works in the normal mode, the unlock command that the user terminal only specified sends just can open corresponding electronics lock, and when gate inhibition's device is operated under the pattern of setting up defences, arbitrary unlocking action all can perform alarm operation, it is to increase the security of gate control system. Obligee does not need to carry out at scene on duty, and obligee can be opened by user terminal remote control electronic lock, facilitates obligee to the management of gate control system.
What finally illustrate is, above embodiment is only in order to illustrate the technical scheme of the present invention and unrestricted, although with reference to better embodiment to invention has been detailed explanation, it will be understood by those within the art that, the technical scheme of the present invention can be modified or equivalent replacement, and not departing from objective and the scope of technical solution of the present invention, it all should be encompassed in the middle of the right of the present invention.