System and using method thereof that a kind of wireless discrepancy detects
Technical field
The present invention relates to a kind of wireless discrepancy detection system, relate in particular to a kind of wireless discrepancy detection system in work attendance, gate control system, in addition, the invention still further relates to the using method of above-mentioned wireless discrepancy detection system.
Background technology
At present, electronic technology in the application of work attendance, access control system more and more widely, assemblies such as electronic attendance card (identification card or gate inhibition's card), electronic card reader have appearred, electronic card reader can read the information of electronic attendance card wirelessly, but the card reader that present work attendance, gate control system are used all is to be connected with management system by wired mode, installs very inconvenient; What have can only read the information of identification card in very near distance, and once can only read the information of an identification card, and efficient is very low, causes obstruction when flow of the people is big easily; Though the card reader that has can read the information of a plurality of identification cards in larger distance, cause the problem of leaking card when flow of the people is big easily, the discrimination of card is lower, and does not have effective way to improve.In addition, present card reader just is used to read the information of identification card, can't judge the personnel's that wear identification card route, promptly can't judge to enter or go out.
Therefore, be necessary existing discrepancy detection system is done further improvement in fact.
Summary of the invention
Technical matters to be solved by this invention is: provide a kind of wireless discrepancy detection system to be used to improve discrimination on the one hand and prevent the Lou phenomenon of card, can effectively judge the identification card moving direction on the other hand.
In addition, the present invention also provides a kind of using method of wireless discrepancy detection system.
For solving the problems of the technologies described above, the present invention adopts following technical scheme:
Scheme one
A kind of wireless discrepancy detection system, be used to improve discrimination and judge the identification card moving direction, it comprises identification card and card reader, wherein, described wireless discrepancy detection system further comprises the gateway of being with functions of card reader, discrepancy detection system that this is wireless comprises a card reader at least, and the identification range of gateway of this card reader and band functions of card reader is close and all adopt wireless communication mode.
As a preferred embodiment of the present invention, described gateway has wireless communication function.
As a preferred embodiment of the present invention, described card reader has relay function, the information on the card reader of far-end can be delivered to gateway.
As a preferred embodiment of the present invention, described wireless discrepancy detection system comprises that further gathering identification card information arrives the upper management system.
As a preferred embodiment of the present invention, described gateway and card reader are supported powered battery and power supply power supply simultaneously.
As a preferred embodiment of the present invention, described wireless discrepancy detection system improves discrimination by the mode of card reader redundancy.
Utilize the using method of above-mentioned wireless discrepancy detection system, be used to improve discrimination and judge the identification card moving direction, comprise the steps:
Step 1, card reader detects the existence of identification card by wireless mode, and obtains the relevant information of identification card, simultaneously by wireless mode and gateway communication, the identification card information of reading is aggregated into gateway;
Step 2, also by the wireless mode communication, card reader is discerned the existence and the relevant information of identification card by the signal that detects identification card between card reader and the identification card;
Step 3, the identification card information that gateway is read card reader gathers, from morning to night corresponding card reader is sorted by the initial time of reading identification card information, card reader numbered sequence and its installation site sequence after the ordering are compared, promptly know the moving direction of identification card.
Scheme two
A kind of wireless discrepancy detection system, be used to improve discrimination and judge the identification card moving direction, it comprises identification card and card reader, it is characterized in that: described wireless discrepancy detection system further comprises the gateway of not being with functions of card reader, discrepancy detection system that this is wireless comprises two above card reader, and this reader identification scope is close and all adopt wireless communication mode.
As a preferred embodiment of the present invention, described gateway has wireless communication function.
As a preferred embodiment of the present invention, described card reader has relay function, the information on the card reader of far-end can be delivered to gateway.
As a preferred embodiment of the present invention, described wireless discrepancy detection system further comprises the upper management system that gathers identification card information.
As a preferred embodiment of the present invention, described gateway and card reader are supported powered battery and power supply power supply simultaneously.
As a preferred embodiment of the present invention, described wireless discrepancy detection system improves discrimination by the mode of card reader redundancy.
Utilize the using method of above-mentioned wireless discrepancy detection system, be used to improve discrimination and judge the identification card moving direction, comprise the steps:
Step 1, card reader detects the existence of identification card by wireless mode, and obtains the relevant information of identification card, simultaneously by wireless mode and gateway communication, the identification card information of reading is aggregated into gateway;
Step 2, also by the wireless mode communication, card reader is discerned the existence and the relevant information of identification card by the signal that detects identification card between card reader and the identification card;
Step 3, the identification card information that gateway is read card reader gathers, from morning to night corresponding card reader is sorted by the initial time of reading identification card information, card reader numbered sequence and its installation site sequence after the ordering are compared, promptly know the moving direction of identification card.
Compared with prior art, beneficial effect of the present invention is: the card reader of described wireless discrepancy monitoring system adopts wireless communication mode, and is easier for installation; Adopt plural card reader, can differentiate the moving direction of identification card; Simultaneously, can improve discrimination with Louing, guarantee the reliability of system by the method for increase card reader in that environmental interference is very big when causing card.
Description of drawings
Fig. 1 is the discrepancy detection system synoptic diagram at place, gateway, campus
Fig. 2 is the discrepancy detection system synoptic diagram at place, gateway, tunnel under the coal mine
Embodiment
Be described in further detail below in conjunction with the enforcement of accompanying drawing technical scheme:
See also first embodiment shown in Figure 1, the work attendance that wireless discrepancy detection system of the present invention is used for the school gateway detects.
Wireless discrepancy detection system of the present invention consists of the following components: gateway A, card reader B, some identification cards (being attendance card) C1 of a band functions of card reader ..., Cn.Gateway can be used as card reader identification card is detected, gateway has wireless communication function simultaneously, can carry out wireless telecommunications with card reader, collect the information of the detected identification card of card reader, then the detected identification card information of all card reader is gathered, and carry out preliminary processing (as the moving direction of differentiating identification card etc.) back and information is reported the upper management system by LAN (Local Area Network).Card reader detects the existence of identification card by wireless mode, and obtains the relevant information of identification card; Close communication by the wireless mode calcaneus rete simultaneously, the identification card information of reading is aggregated into gateway.Also by the wireless mode communication, the existence of the signal perception identification card of card reader by detecting identification card is also obtained the relevant information (as identity code etc.) of identification card between card reader and the identification card.All adopt the Zigbee technology as the short-distance wireless communication mode between gateway and the card reader and between card reader and the identification card.Here, because Environmental security, fixing, so gateway, card reader sampling power supply power supply.Identification card adopts powered battery.
During installation, regulating earlier the power of two card reader, make its identification range roughly the same, is 30 meters (error+/-3 meter) here.In order to make two card reader can successively detect identification card in order, their spacing must be 6 meters greater than their maximum difference of identification range here.To be on the safe side, our spacing that makes them is 10 meters.
If identification card C1 is arranged through this gateway, two card reader can successively detect the information of identification card, and record detects the initial time of identification card simultaneously.Card reader sends to gateway with the information obtained (numbering of identification card, initial detection time) together with the numbering of card reader oneself.
Gateway sends to higher level's Work attendance management system after the identification card information aggregation process that will receive.
Higher level's Work attendance management system sorts by initial detection time after the information of receiving two card reader, if card reader A reads time that the time ratio card reader B of the information of identification card C1 reads early, then explanation be into, otherwise then go out.
See also second embodiment shown in Figure 2, the work attendance that wireless discrepancy detection system of the present invention is used for gateway, tunnel under the coal mine detects.
Wireless discrepancy detection system of the present invention consists of the following components: one with the gateway A of functions of card reader, 3 card reader B1, B2, and B3, some identification cards (being attendance card) C1 ..., Cn.Here, gateway does not have the function of card reader, and gateway mainly is that the identification card information that card reader is read is gathered, and carries out preliminary processing (as the moving direction of differentiating identification card etc.), by LAN (Local Area Network) information is reported the upper management system then; Gateway has wireless communication function simultaneously, can carry out wireless telecommunications with card reader, collects the information of the detected identification card of card reader.Card reader detects the existence of identification card by wireless mode, and obtains the relevant information of identification card; Close communication by the wireless mode calcaneus rete simultaneously, the identification card information of reading is aggregated into gateway.Also by the wireless mode communication, the existence of the signal perception identification card of card reader by detecting identification card is also obtained the relevant information (as identity code etc.) of identification card between card reader and the identification card.All adopt the Zigbee technology as the short-distance wireless communication mode between gateway and the card reader and between card reader and the identification card.Here, gateway is in the porch in tunnel, and environment is comparatively safe, stable, so the power supply of gateway sampling cable power.Card reader, identification card adopt powered battery.
During installation, gateway is installed in the porch in tunnel, by identical spacing three card reader is installed inward successively then.Regulating earlier the power of card reader, make its identification range roughly the same, is 30 meters (error+/-3 meter) here.In order to make card reader can successively detect identification card in order, their spacing must be 6 meters greater than their maximum difference of identification range here.To be on the safe side, our spacing that makes them is 10 meters.
If identification card C1 is arranged through this sense channel, three card reader can successively detect the information of identification card, and record detects the initial time of identification card simultaneously.Card reader sends to gateway with the information obtained (numbering of identification card, initial detection time) together with the numbering of card reader oneself.Gateway sorts by initial detection time after the information of receiving three card reader, if the card reader sequence is B1, B2, B3 successively, then the explanation be into, otherwise then go out.
For the situation of leaking card is arranged, if there are two card reader to detect identification card information, if then according to time sequence back card reader sequence be B1, B2 or B1, B3 or B2, B3, then explanation be into, otherwise then go out.If have only a card reader to detect identification card, then can only write down the detected initial time of identification card, moving direction is unknown.
Gateway sends to higher level's Work attendance management system after the identification card information aggregation process that will receive.
Here, if continue to install inward card reader X1, X2.., Xn, then these card reader can be used for identification card is carried out zone location, if promptly certain identification card C1 is detected by card reader X2 recently, then can know present C1 near X2, setting accuracy is the identification range of card reader.
Above embodiment is the unrestricted technical scheme of the present invention in order to explanation only.As, described wireless discrepancy detection system can improve discrimination by the mode of card reader redundancy (promptly many increases by 1 or several card reader), short-distance wireless communication technology includes but not limited to that features such as technology such as Zigbee, WiFi, Ant all do not break away from spirit and scope of the invention, all should be encompassed in the middle of the claim scope of the present invention.