Summary of the invention
The embodiment of the present invention provides a kind of access control management method and device, by setting up server side, is not subject to the restriction of memory capacity, provides various modes to manage gate control system, has improved security and dirigibility.
A kind of gate inhibition management apparatus that the embodiment of the present invention provides, specifically comprises:
For reading gate inhibition's main control equipment of identity information;
For identity information is resolved to the server that obtains processing instruction;
For carrying out gate inhibition's actuating equipment of processing instruction;
Server receives the identity information that gate inhibition's main control equipment sends;
The processing instruction that gate inhibition's actuating equipment reception server sends.
Optionally,
This device also comprises monitoring unit, for operation condition of server is monitored.
Optionally,
Gate inhibition's main control equipment comprises: card reader, fingerprint input device, face identification device or the identifier input media of supporting M1 card or CPU card.
Optionally,
Server comprises common PC device or private server.
The access control management method that the embodiment of the present invention also provides a kind of gate inhibition management apparatus to implement, specifically comprises:
Server receives the identity information that gate inhibition's main control equipment sends;
Server is resolved and is obtained processing instruction identity information;
The instruction of server transmission processing, to gate inhibition's actuating equipment, makes it carry out processing instruction.
Optionally,
Identity information is resolved and is obtained processing instruction and comprise:
According to presetting rule, identity information is processed and obtained processing instruction.
Optionally,
Identity information is resolved and is obtained processing instruction and comprise:
User Defined rule is processed and is obtained processing instruction identity information.
Optionally,
The method also comprises:
Setting up server is connected with the SOCKET of gate inhibition's main control equipment;
Gate inhibition's main control equipment sends " heartbeat packet " message to server in predetermined time interval;
Server receives " heartbeat packet " message, record time of reception, and whether detect this time of reception over predetermined time interval, if this time of reception surpasses predetermined time interval, server disconnects original SOCKET connection, and new SOCKET of automatic Reconstruction connects.
Optionally,
Method also comprises:
To server, send windows message;
Reception server is according to the response of windows message, and judge that according to response whether server is in normal operating conditions, obtain differentiating result, when differentiating result, be designated as server in abnormal when busy, watchdog routine is ended identification service routine by force, and automatically reopens a new process.
As can be seen from the above technical solutions, the embodiment of the present invention has the following advantages:
The present invention includes for reading gate inhibition's main control equipment of identity information, for identity information being resolved to the server that obtains processing instruction, for carrying out gate inhibition's actuating equipment of processing instruction; Server receives the identity information that gate inhibition's main control equipment sends, the processing instruction that gate inhibition's actuating equipment reception server sends.By setting up server side, be not subject to the restriction of memory capacity, provide various modes to manage gate control system, improved security and dirigibility.By setting up server side, be not subject to the restriction of memory capacity, provide various modes to manage gate control system, improved security and dirigibility.
Embodiment
The embodiment of the present invention provides a kind of access control management method and device, by setting up server side, is not subject to the restriction of memory capacity, provides various modes to manage gate control system, has improved security and dirigibility.
Refer to Fig. 1, a kind of gate inhibition management apparatus embodiment that the embodiment of the present invention provides, specifically comprises:
For reading gate inhibition's main control equipment 101 of identity information;
For identity information is resolved to the server 102 that obtains processing instruction;
For carrying out gate inhibition's actuating equipment 103 of processing instruction;
Server 102 receives the identity information that gate inhibition's main control equipment 101 sends;
The processing instruction that gate inhibition's actuating equipment reception server 102 sends.
In the present embodiment, by setting up server side, be not subject to the restriction of memory capacity, provide various modes to manage gate control system, improved security and dirigibility.
A kind of gate inhibition management apparatus embodiment that the embodiment of the present invention provides further comprises:
Monitoring unit 104, for monitoring operation condition of server.
It should be noted that, gate inhibition's main control equipment can comprise: card reader, fingerprint input device, face identification device or the identifier input media of supporting M1 card or CPU card.Server comprises common PC device or private server.
Refer to Fig. 2, a kind of access control management method the first embodiment that the embodiment of the present invention provides, specifically comprises:
201, server receives the identity information that gate inhibition's main control equipment sends;
In the present embodiment, when having people to ask by gate inhibition, gate inhibition's main control equipment obtains claimant's identity information by identification read head, and wherein identification read head can comprise card reader, fingerprint input device, face identification device or the identifier input media of supporting M1 card or CPU card.
It should be noted that, general, gate inhibition's main control equipment is write IC-card or is downloaded current list, no matter which kind of mode, to the processing procedure of identification, oneself,, through solidifying, can expand not strong in advance, dumb, for switch part identification occasion, can only realize by customized development scheme.By setting up server side, be not subject to the restriction of memory capacity.Server can be computer or private server, and the body processing procedure for complex condition, has greatly improved dirigibility.
202, server is resolved and is obtained processing instruction identity information;
203, the instruction of server transmission processing, to gate inhibition's actuating equipment, makes it carry out processing instruction.
In the present embodiment, server is resolved and is obtained processing instruction identity information, and transmission processing instruction is to gate inhibition's actuating equipment, and making it carry out the above-mentioned gate inhibition's actuating equipment of processing instruction can comprise: gate inhibition's switch, camera, display screen and audio frequency and video module etc.
Refer to Fig. 3, a kind of access control management method the second embodiment that the embodiment of the present invention provides, specifically comprises:
301, server receives the identity information that gate inhibition's main control equipment sends;
In the present embodiment, when having people to ask by gate inhibition, gate inhibition's main control equipment obtains claimant's identity information by identification read head, and wherein identification read head can comprise card reader, fingerprint input device, face identification device or the identifier input media of supporting M1 card or CPU card.
It should be noted that, general, gate inhibition's main control equipment is write IC-card or is downloaded current list, no matter which kind of mode, to the processing procedure of identification, oneself,, through solidifying, can expand not strong in advance, dumb, for switch part identification occasion, can only realize by customized development scheme.By setting up server side, be not subject to the restriction of memory capacity.Server can be computer or private server, and the body processing procedure for complex condition, has greatly improved dirigibility.
302, server is processed and is obtained processing instruction identity information according to presetting rule;
In the present embodiment, server is processed and is obtained processing instruction identity information by presetting rule.For example, in concrete application: locate in buffer memory according to No. ID, use server database personal information to carry out real-time online comparison, if claimant is not mated, be considered as unauthorized person, a series of instructions such as instruction or alarm command that server generates that no through traffic.And for example: with current record time and the current termination time comparison of database, if the time does not mate, no through traffic.
303, the instruction of server transmission processing, to gate inhibition's actuating equipment, makes it carry out processing instruction.
In the present embodiment, server is resolved and is obtained processing instruction identity information, and transmission processing instruction is to gate inhibition's actuating equipment, and making it carry out the above-mentioned gate inhibition's actuating equipment of processing instruction can comprise: gate inhibition's switch, camera, display screen and audio frequency and video module etc.
In the present embodiment, by setting up server side, be not subject to the restriction of memory capacity, provide various modes to manage gate control system, first obtain identity information, then according to presetting rule, identity information is processed and obtained processing instruction, improved security and dirigibility.
Refer to Fig. 4, a kind of access control management method the 3rd embodiment that the embodiment of the present invention provides, specifically comprises:
401, server receives the identity information that gate inhibition's main control equipment sends;
In the present embodiment, when having people to ask by gate inhibition, gate inhibition's main control equipment obtains claimant's identity information by identification read head, and wherein identification read head can comprise card reader, fingerprint input device, face identification device or the identifier input media of supporting M1 card or CPU card.
It should be noted that, general, gate inhibition's main control equipment is write IC-card or is downloaded current list, no matter which kind of mode, to the processing procedure of identification, oneself,, through solidifying, can expand not strong in advance, dumb, for switch part identification occasion, can only realize by customized development scheme.By setting up server side, be not subject to the restriction of memory capacity.Server can be computer or private server, and the body processing procedure for complex condition, has greatly improved dirigibility.
402, server is processed and is obtained processing instruction identity information according to User Defined rule;
In the present embodiment, server is processed and is obtained processing instruction identity information by User Defined rule.
For example, in concrete application: many people are simultaneously on the scene to swipe the card or by fingerprint, for the difference point of coming in and going out, definable is number on the scene (2-N) simultaneously, also the specific a plurality of personnel of definable ability on the scene is current simultaneously.And for example: the turnover of multizone linkage checks, only, from go out in a region, just can enter another one region.Specific rules can adapt to varying environment according to user oneself design, and different mode is provided.
403, the instruction of server transmission processing, to gate inhibition's actuating equipment, makes it carry out processing instruction.
In the present embodiment, server is resolved and is obtained processing instruction identity information, and transmission processing instruction is to gate inhibition's actuating equipment, and making it carry out the above-mentioned gate inhibition's actuating equipment of processing instruction can comprise: gate inhibition's switch, camera, display screen and audio frequency and video module etc.
In the present embodiment, by setting up server side, be not subject to the restriction of memory capacity, provide various modes to manage gate control system, first obtain identity information, then according to User Defined rule, identity information is processed and obtained processing instruction, improved security and dirigibility.
Refer to Fig. 5, a kind of access control management method the 4th embodiment that the embodiment of the present invention provides, specifically comprises:
501, setting up server is connected with the SOCKET of gate inhibition's main control equipment;
502, gate inhibition's main control equipment sends " heartbeat packet " message to server in predetermined time interval;
503, server receives " heartbeat packet " message, record time of reception, and whether detect this time of reception over predetermined time interval, if this time of reception surpasses predetermined time interval, server disconnects original SOCKET connection, and new SOCKET of automatic Reconstruction connects.
Because identification is to realize by PC service routine, but its Event triggered depends on the identity information that gate inhibition's main control equipment is uploaded, once communicating interrupt between the two, whole identifying just cannot normally complete.
In the present embodiment, by SOCKET mechanics of communication, gate inhibition's main control equipment is service end, service routine is client, when connecting after activation between the two, every gate inhibition's main control equipment regularly sends " heartbeat packet " message toward PC service routine, at PC service routine, create a communication main thread, adopt polling mode, whether oneself exceeds to inquire about successively the heartbeat packet time interval that every access control equipment uploads, if exceed setting-up time interval, PC service routine disconnects original connection by force, and new SOCKET of automatic Reconstruction connects.
Refer to Fig. 6, a kind of access control management method the 5th embodiment that the embodiment of the present invention provides, specifically comprises:
601, to server, send windows message;
602, reception server is according to the response of windows message, and judge that according to response whether server is in normal operating conditions, obtain differentiating result, when differentiating result, be designated as server in abnormal when busy, watchdog routine is ended identification service routine by force, and automatically reopens a new process.
In the present embodiment, monitoring unit monitoring server, inner in program, set up a thread, regularly toward identification service routine, send WINDOWS message, according to the current running status of passback message judgement identification service routine, if occur extremely busy without response or the situation of returning in setting-up time, watchdog routine is ended identification service routine by force, and automatically reopens a new process.
Those skilled in the art can be well understood to, for convenience and simplicity of description, the system of foregoing description, the specific works process of device and unit, can, with reference to the corresponding process in preceding method embodiment, not repeat them here.
In the several embodiment that provide in the application, should be understood that, disclosed system, apparatus and method, can realize by another way.For example, device embodiment described above is only schematic, for example, the division of described unit, be only that a kind of logic function is divided, during actual realization, can have other dividing mode, for example a plurality of unit or assembly can in conjunction with or can be integrated into another system, or some features can ignore, or do not carry out.Another point, shown or discussed coupling each other or direct-coupling or communication connection can be by some interfaces, indirect coupling or the communication connection of device or unit can be electrically, machinery or other form.
The described unit as separating component explanation can or can not be also physically to separate, and the parts that show as unit can be or can not be also physical locations, can be positioned at a place, or also can be distributed in a plurality of network element.Can select according to the actual needs some or all of unit wherein to realize the object of the present embodiment scheme.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, can be also that the independent physics of unit exists, and also can be integrated in a unit two or more unit.Above-mentioned integrated unit both can adopt the form of hardware to realize, and also can adopt the form of SFU software functional unit to realize.
If the form of SFU software functional unit of usining described integrated unit realizes and during as production marketing independently or use, can be stored in a computer read/write memory medium.Understanding based on such, the all or part of of the part that technical scheme of the present invention contributes to prior art in essence in other words or this technical scheme can embody with the form of software product, this computer software product is stored in a storage medium, comprise that some instructions are with so that a computer equipment (can be personal computer, server, or the network equipment etc.) carry out all or part of step of method described in each embodiment of the present invention.And aforesaid storage medium comprises: various media that can be program code stored such as USB flash disk, portable hard drive, ROM (read-only memory) (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or CDs.
The above, above embodiment only, in order to technical scheme of the present invention to be described, is not intended to limit; Although the present invention is had been described in detail with reference to previous embodiment, those of ordinary skill in the art is to be understood that: its technical scheme that still can record aforementioned each embodiment is modified, or part technical characterictic is wherein equal to replacement; And these modifications or replacement do not make the essence of appropriate technical solution depart from the spirit and scope of various embodiments of the present invention technical scheme.