Summary of the invention
The object of the invention is to propose a kind of community guard method and system thereof, can prevent from losing and being chosen by other people or information leakage is copied the safety problem causing by other people because of gate inhibition's magnetic card.
For reaching this object, the present invention by the following technical solutions:
A kind of community guard method, the method realizes with the system of the multiple access control equipments that are distributed in each unit, community based on comprising server, described server is connected by network mutually with each access control equipment, each access control equipment all comprises corresponding IC-card authority list, it is characterized in that, when receiving IC-card, a certain access control equipment swipes the card when request, if there are not described IC card numbers in IC-card authority list corresponding to described access control equipment, to other each access control equipments broadcast mistakes message of swiping the card, the described mistake message of swiping the card comprises described IC card numbers.
Further, in the time that a certain access control equipment receives mistake and swipes the card message, judge the IC card numbers that whether exist described mistake to swipe the card in message in the IC-card authority list that this access control equipment is corresponding, if, judge that described IC card numbers are whether in error message corresponding to this access control equipment, if, the accumulative total errors number of error items corresponding in described error message is added to 1, otherwise newly-built error items, judge whether described error message meets default magnetic card forbidding condition, if, this card number in IC-card authority list is made as to illegal state, wherein said error message comprises mistake card number, wrong time for the first time, accumulative total errors number.
Further, in the time that a certain access control equipment receives mistake and swipes the card message, judge the IC card numbers that whether exist described mistake to swipe the card in message in the IC-card authority list that this access control equipment is corresponding, if, record described error message, check all error messages of this access control equipment, the error message that wrong time is greater than Preset Time apart from the difference of current time is deleted, add up the error message number identical with the card number of this error message, judge whether described error message number is greater than default errors number threshold value, if, this card number in IC-card authority list is made as to illegal state, wherein said error message comprises card number and wrong brush time, or comprise card number and current time.
Further, described this card number in IC-card authority list is made as after illegal state and is also comprised: further judge whether described error message meets preset alarm condition, if so, send alerting signal or to other each access control equipments broadcast alerting signals to server.
Further, IC-card authority list corresponding each access control equipment is all stored in the storer of corresponding each access control equipment, or IC-card authority list corresponding each access control equipment is all stored in described server.
According to same design of the present invention, the present invention also provides a kind of community gate control system, this system realizes with the system of the multiple access control equipments that are distributed in each unit, community based on comprising server, described server is connected by network mutually with each access control equipment, each access control equipment all comprises corresponding IC-card authority list, it is characterized in that, each access control equipment includes wrong brush broadcast module, when swipe the card request for receive IC-card when access control equipment, if there are not described IC card numbers in the IC-card authority list of described access control equipment, to other each access control equipments broadcast mistakes message of swiping the card, the described mistake message of swiping the card comprises described IC card numbers.
Further, each access control equipment includes the mistake message processing module (MPM) of swiping the card, when swipe the card message for receiving mistake when a certain access control equipment, judge the IC card numbers that whether exist described mistake to swipe the card in message in the IC-card authority list that this access control equipment is corresponding, if, judge that described IC card numbers are whether in error message corresponding to this access control equipment, if, the accumulative total errors number of error items corresponding in described error message is added to 1, otherwise newly-built error items, judge whether described error message meets default magnetic card forbidding condition, if, this card number in IC-card authority list is made as to illegal state, wherein said error message comprises mistake card number, wrong time for the first time, accumulative total errors number.
Further, each access control equipment includes the mistake message processing module (MPM) of swiping the card, when swipe the card message for receiving mistake when a certain access control equipment, judge the IC card numbers that whether exist described mistake to swipe the card in message in the IC-card authority list that this access control equipment is corresponding, if, record described error message, check all error messages of this access control equipment, the error message that wrong time is greater than Preset Time apart from the difference of current time is deleted, add up the error message number identical with the card number of this error message, judge whether described error message number is greater than default errors number threshold value, if, this card number in IC-card authority list is made as to illegal state, wherein said error message comprises card number and wrong brush time, or comprise card number and current time.
Further, the described mistake message processing module (MPM) of swiping the card also comprises alarm module, swipe the card after this card number of IC-card authority list is made as illegal state by message processing module (MPM) for mistake, further judge whether described error message meets preset alarm condition, if so, send alerting signal or broadcast alerting signal to other each access control equipments to server.
Further, each access control equipment includes authority list memory module, and for storing corresponding IC-card authority list, or described server comprises authority list memory module, for storing respectively each access control equipment by corresponding IC-card authority list.
Technical scheme of the present invention can be avoided losing and being chosen by other people or information leakage is copied the safety problem causing by other people because of gate inhibition's magnetic card.
Embodiment
Further illustrate technical scheme of the present invention below in conjunction with accompanying drawing and by embodiment.
Embodiment mono-
Community's guard method described in the present embodiment is realized with the system of the multiple access control equipments that are distributed in each unit, community based on comprising server, described server is connected by network mutually with each access control equipment, respectively IC-card authority list corresponding each access control equipment is stored.
Fig. 1 is the release guard method process flow diagram in the community's guard method described in the specific embodiment of the invention one, and as described in Figure 1, in the community's guard method described in the present embodiment, in the time that a certain access control equipment receives IC-card and swipes the card request, release guard method is as follows:
S101, owner swipe the card;
S102, judge that whether card number is legal, if perform step S103, otherwise execution step S104;
Judge in the IC-card authority list that described access control equipment is corresponding whether have described IC card numbers, if so, continue to judge in this IC card numbers IC-card authority list whether be authority illegal state, if perform step S103, finish.
Further, this step can proceed to forge early warning detection.For example, after this step, when there are not described IC card numbers in IC-card authority list corresponding to described access control equipment, can further judge that these IC card numbers are whether within the card number scope of Zhe community.Concrete grammar can comprise:
Scheme one: when not having described IC card numbers in IC-card authority list corresponding to described access control equipment, further these IC card numbers are compared in IC-card authority list corresponding to all access control equipments, judge that this IC-card is whether in IC-card authority list corresponding to all access control equipments, if not, determine that this IC-card is probably for forging card, the processing of reporting to the police.
Scheme two: in the time being each access control equipment distribution IC-card authority list, some IC-card number is reserved, for example, can reserve the conventional number of a part, such as first 100 numbers, when not having described IC card numbers in IC-card authority list corresponding to described access control equipment, further by these IC card numbers whether in described reserved IC-card number, if so, determine that this IC-card is probably for forging card, the processing of reporting to the police.
S103, gate inhibition's release, finish;
S104, the broadcast error message of swiping the card;
Because described server is connected by network mutually with each access control equipment, can broadcast this mistake message of swiping the card to other each access control equipments.
S105, the wrong processing of swiping the card.
Fig. 2 is the swipe the card method flow diagram of message of the reception mistake in the community's guard method described in the present embodiment, and in the time that a certain access control equipment receives described mistake and swipes the card message, method as shown in Figure 2, comprising:
S201, receive the magnetic card C error message of swiping the card;
The described mistake message of swiping the card at least comprises described IC card numbers, also can comprise the wrong brush time.
S202, judge that whether card number is legal, if so, perform step S203, otherwise execution step S204;
Be mainly and judge the IC card numbers that whether exist described mistake to swipe the card in message in the IC-card authority list that this access control equipment is corresponding.
S203, do not carry out any operation, finish;
S204, the record error message of swiping the card;
Wherein said error message comprises card number and wrong brush time, or comprises card number and current time.
S205, Delete Expired error message;
Check all error messages of this access control equipment, the error message that wrong time is greater than Preset Time apart from the difference of current time is deleted.
S206, gather this magnetic card card number wrong number of times of swiping the card within the scope of Preset Time;
Whether S207, this magnetic card errors number of the section of sentencing are greater than default errors number threshold value, if perform step S209, otherwise execution step S208;
S208, complete operation, finish;
S209, suspend the authority of opening the door of this magnetic card;
S210, send and suspend the message of this magnetic card authority to server.
This step is inessential step, for further sending to described server the message that suspends described IC-card authority, carries out Information Statistics and warning decision-making for described server.
Further, after this step, can judge whether described error message meets preset alarm condition, if so, send alerting signal or broadcast alerting signal to other each access control equipments to server.
Said method is only a kind of processing mode in the time that a certain access control equipment receives described mistake and swipes the card message; not in order to limit the present invention; within the spirit and principles in the present invention all, any modification of doing, be equal to replacement, improvement etc., within all should being included in protection scope of the present invention.
For example, in the time that a certain access control equipment receives mistake and swipes the card message, also can adopt with the following method:
Judge the IC card numbers that whether exist described mistake to swipe the card in message in the IC-card authority list that this access control equipment is corresponding, if, judge that described IC card numbers are whether in error message corresponding to this access control equipment, if, the accumulative total errors number of error items corresponding in described error message is added to 1, otherwise newly-built error items, judge whether described error message meets default magnetic card forbidding condition, if, this card number in IC-card authority list is made as to illegal state, wherein said error message comprise mistake card number, for the first time wrong time, accumulative total errors number.
Embodiment bis-
According to same design of the present invention, the present invention also provides a kind of community gate control system, Fig. 3 is the community's gate control system structured flowchart described in the specific embodiment of the invention two, as shown in Figure 3, the gate control system described in the present embodiment comprises: server 1 and N is distributed in multiple access control equipments of each unit, community, is respectively access control equipment 1-N, wherein said N is not less than 2 integer, between described server 1 and each access control equipment, and between each access control equipment, mutually connect by network.
Each access control equipment includes authority list memory module 201, for storing corresponding IC-card authority list.
Each access control equipment includes wrong brush broadcast module 202, when swipe the card request for receive IC-card when access control equipment, if there are not described IC card numbers in the IC-card authority list of described access control equipment, to other each access control equipments broadcast mistakes message of swiping the card, the described mistake message of swiping the card comprises described IC card numbers.
Each access control equipment includes the mistake message processing module (MPM) 203 of swiping the card, when swipe the card message for receiving mistake when a certain access control equipment, judge the IC card numbers that whether exist described mistake to swipe the card in message in the IC-card authority list that this access control equipment is corresponding, if, judge that described IC card numbers are whether in error message corresponding to this access control equipment, if, the accumulative total errors number of error items corresponding in described error message is added to 1, otherwise newly-built error items, judge whether described error message meets default magnetic card forbidding condition, if, this card number in IC-card authority list is made as to illegal state, wherein said error message comprises mistake card number, wrong time for the first time, accumulative total errors number.
Or, described mistake is swiped the card message processing module (MPM) 203 while swiping the card message for receiving mistake when a certain access control equipment, judge the IC card numbers that whether exist described mistake to swipe the card in message in the IC-card authority list that this access control equipment is corresponding, if, record described error message, check all error messages of this access control equipment, the error message that wrong time is greater than Preset Time apart from the difference of current time is deleted, add up the error message number identical with the card number of this error message, judge whether described error message number is greater than default errors number threshold value, if, this card number in IC-card authority list is made as to illegal state, wherein said error message comprises card number and wrong brush time, or comprise card number and current time.
Embodiment tri-
According to same design of the present invention, the present invention also provides a kind of community gate control system, Fig. 4 is the community's gate control system structured flowchart described in the specific embodiment of the invention three, as shown in Figure 4, the gate control system described in the present embodiment comprises: server 1 and N is distributed in multiple access control equipments of each unit, community, is respectively access control equipment 1-N, wherein said N is not less than 2 integer, between described server 1 and each access control equipment, and between each access control equipment, mutually connect by network.
Server comprises IC-card authority list memory module 101, for storing the IC-card authority list of each access control equipment.
Each access control equipment includes wrong brush broadcast module 202, when swipe the card request for receive IC-card when access control equipment, if there are not described IC card numbers in the IC-card authority list of described access control equipment, to other each access control equipments broadcast mistakes message of swiping the card, the described mistake message of swiping the card comprises described IC card numbers.
Each access control equipment includes the mistake message processing module (MPM) 203 of swiping the card, when swipe the card message for receiving mistake when a certain access control equipment, judge the IC card numbers that whether exist described mistake to swipe the card in message in the IC-card authority list that this access control equipment is corresponding, if, judge that described IC card numbers are whether in error message corresponding to this access control equipment, if, the accumulative total errors number of error items corresponding in described error message is added to 1, otherwise newly-built error items, judge whether described error message meets default magnetic card forbidding condition, if, this card number in IC-card authority list is made as to illegal state, wherein said error message comprises mistake card number, wrong time for the first time, accumulative total errors number.
Or, described mistake is swiped the card message processing module (MPM) 203 while swiping the card message for receiving mistake when a certain access control equipment, judge the IC card numbers that whether exist described mistake to swipe the card in message in the IC-card authority list that this access control equipment is corresponding, if, record described error message, check all error messages of this access control equipment, the error message that wrong time is greater than Preset Time apart from the difference of current time is deleted, add up the error message number identical with the card number of this error message, judge whether described error message number is greater than default errors number threshold value, if, this card number in IC-card authority list is made as to illegal state, wherein said error message comprises card number and wrong brush time, or comprise card number and current time.
Method described in above embodiment, can avoid losing and being chosen by other people or information leakage is copied the safety problem causing by other people because of gate inhibition's magnetic card.
All or part of content in the technical scheme that above embodiment provides can realize by software programming, and its software program is stored in the storage medium can read, storage medium for example: hard disk, CD or floppy disk in computing machine.
The foregoing is only preferred embodiment of the present invention, in order to limit the present invention, within the spirit and principles in the present invention not all, any modification of doing, be equal to replacement, improvement etc., within all should being included in protection scope of the present invention.