CN112820007B - Method and system for distinguishing two-dimensional code and IC card signal based on Wiegand protocol - Google Patents

Method and system for distinguishing two-dimensional code and IC card signal based on Wiegand protocol Download PDF

Info

Publication number
CN112820007B
CN112820007B CN202011627289.1A CN202011627289A CN112820007B CN 112820007 B CN112820007 B CN 112820007B CN 202011627289 A CN202011627289 A CN 202011627289A CN 112820007 B CN112820007 B CN 112820007B
Authority
CN
China
Prior art keywords
dimensional code
card
wiegand
protocol
server
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202011627289.1A
Other languages
Chinese (zh)
Other versions
CN112820007A (en
Inventor
黄林彬
汪劲松
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Cirrus Sci Tech Dev Co ltd
Original Assignee
Guangdong Cirrus Sci Tech Dev Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Cirrus Sci Tech Dev Co ltd filed Critical Guangdong Cirrus Sci Tech Dev Co ltd
Priority to CN202011627289.1A priority Critical patent/CN112820007B/en
Publication of CN112820007A publication Critical patent/CN112820007A/en
Application granted granted Critical
Publication of CN112820007B publication Critical patent/CN112820007B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C9/00Individual registration on entry or exit
    • G07C9/20Individual registration on entry or exit involving the use of a pass
    • G07C9/22Individual registration on entry or exit involving the use of a pass in combination with an identity check of the pass holder
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C9/00Individual registration on entry or exit
    • G07C9/20Individual registration on entry or exit involving the use of a pass
    • G07C9/22Individual registration on entry or exit involving the use of a pass in combination with an identity check of the pass holder
    • G07C9/23Individual registration on entry or exit involving the use of a pass in combination with an identity check of the pass holder by means of a password
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C9/00Individual registration on entry or exit
    • G07C9/20Individual registration on entry or exit involving the use of a pass
    • G07C9/22Individual registration on entry or exit involving the use of a pass in combination with an identity check of the pass holder
    • G07C9/25Individual registration on entry or exit involving the use of a pass in combination with an identity check of the pass holder using biometric data, e.g. fingerprints, iris scans or voice recognition
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C9/00Individual registration on entry or exit
    • G07C9/20Individual registration on entry or exit involving the use of a pass
    • G07C9/27Individual registration on entry or exit involving the use of a pass with central registration

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Electromagnetism (AREA)
  • Human Computer Interaction (AREA)
  • Toxicology (AREA)
  • Artificial Intelligence (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Theoretical Computer Science (AREA)
  • Lock And Its Accessories (AREA)
  • Time Recorders, Dirve Recorders, Access Control (AREA)

Abstract

The invention discloses a method and a system for distinguishing two-dimension codes and IC card signals based on a Wiegand protocol, when a visitor accesses an entrance guard through a two-dimension code image, when the condition of the two-dimension code is triggered, the generated two-dimension code is scanned and decoded into an identity recognition signal, the identity recognition signal is transmitted to a server through the Wiegand protocol to carry out identity matching recognition, and when the identity recognition signal is matched with visitor information prestored in a database of the server, the entrance guard is opened; when a visitor accesses the entrance guard through the IC card, and the visitor uses the IC card to swipe the IC card reader arranged on the entrance guard, the IC card reader reads the identification signal in the IC card, the two-dimensional code is effectively prevented from being stolen, the existing equipment can be modified, the two-dimensional code and the IC card can be easily used in a mixed manner, the waste of the equipment is avoided, the modification of the entrance guard equipment is greatly facilitated, and two different entrance guard modes can be conveniently compatible; the invention is applied to the technical field of access control.

Description

Method and system for distinguishing two-dimensional code and IC card signal based on Wiegand protocol
Technical Field
The invention belongs to the technical field of network data communication and Internet of things, and particularly relates to a method and a system for distinguishing two-dimensional codes and IC card signals based on a Wiegand protocol.
Background
The wiegand protocol is also called as a wiegand code, and the wiegand code only needs two DATA lines in DATA transmission, wherein one DATA line is DATA0, and the other DATA line is DATA 1. The Wiegand protocol states that both DATA lines are high when there is no DATA, and if DATA0 is low to represent DATA0 and DATA1 is low to represent DATA1, the middle pulse width of the DATA signal waveform is between 20 mus and 200 mus, and the time interval between the two pulses is between 200 mus and 20 ms.
Along with the rapid development of smart mobile phones and access control systems, two-dimensional code access control is more and more popular in many districts, schools and factories, in two-dimensional code access control, because in order to prevent the two-dimensional code from being stolen, generally, the two-dimensional code is accompanied by an expiration date when being generated, the two-dimensional code is invalid after the expiration date, but because most people do not have the cell phone or the old man and the child do not fit the reason of the cell phone, some districts are that two-dimensional code and IC card are used in mixture, therefore, two sets of equipment are sometimes needed to satisfy the mixed use of two-dimensional code and IC card, the waste of equipment is caused, and because the position of swiping the card is in different equipment, great inconvenience may be caused.
Disclosure of Invention
The invention aims to provide a method and a system for distinguishing two-dimensional codes and IC card signals based on a Wiegand protocol, which are used for solving one or more technical problems in the prior art and at least providing a beneficial selection or creation condition.
In order to achieve the above object, according to an aspect of the present invention, there is provided a method for distinguishing a two-dimensional code from an IC card signal based on a wiegand protocol, the method including the steps of:
when the visitor is through two-dimensional code image access entrance guard:
step 1, a visitor selects a two-dimensional code generating button displayed in a touch screen arranged on an entrance guard or presses a button arranged beside the entrance guard to trigger a two-dimensional code condition, or a camera arranged on the entrance guard shoots a face image to trigger the two-dimensional code condition;
step 2, when the condition of the two-dimensional code is triggered, scanning the generated two-dimensional code and decoding the two-dimensional code into an identity recognition signal;
the method for generating the two-dimensional code comprises the following steps: obtaining the identity of the visitor according to the result of face recognition, the fingerprint recognition result of the touch screen or the NFC card recognition result of the mobile phone, and generating a two-dimensional code by the identity of the visitor, the current time and the validity period of the two-dimensional code;
step 3, transmitting an identity recognition signal to the server through the Wiegand protocol for identity matching recognition, and opening the access control when the identity recognition signal is matched with visitor information prestored in a database of the server;
when the visitor accesses the entrance guard through the IC card:
and 4, when the visitor uses the IC card to swipe the IC card reader arranged on the entrance guard, reading the identity recognition signal in the IC card by using the IC card reader, transmitting the identity recognition signal to the server through the Wiegand protocol to perform identity matching recognition, and opening the entrance guard when the identity recognition signal is matched with the visitor information prestored in the database of the server.
Further, in step 3 and step 4, whether the two-dimensional code or the IC card number is distinguished according to the difference of the wiegand protocol, for example, the IC card number is transmitted by using the wiegand 26 protocol, the wiegand 34 protocol transmits the two-dimensional code, the server judges whether the number transmitted by the front end is the two-dimensional code or the IC card number according to the protocol type, then a database is searched according to the classification, including whether a corresponding number exists in a "two-dimensional code library" or an "IC card number library", the client transmits a string of numbers in an "ffffffffff" 16-system through the wiegand 34 protocol, and the server judges whether the number should be the two-dimensional code according to the protocol type, so that whether the number exists or whether the identity is matched can be checked in the two-dimensional code dynamic library, and the purpose is to avoid that someone steals the IC access control card after converting the IC card number into the two-dimensional code.
Further, in step 1, the access control device at least comprises: the system comprises an IC card reader, a CR02R dynamic two-dimensional code reader, a two-dimensional code scanner, a camera, a touch screen or a liquid crystal screen; the camera is used for acquiring two-dimensional code image information or face image information; the liquid crystal display is used for displaying face image information and two-dimensional codes of the visitors.
Further, in step 2, when the two-dimensional code condition is triggered, the two-dimensional code encryption value is converted to generate 8-10 digits of a Wiegand 26 protocol or a Wiegand 34 protocol, when the Wiegand is output, the scanned two-dimensional code conforms to a 16-forbidden card number principle of a 0-9/A-F combination, and the two-dimensional code conforms to the card number principle, and the controller can receive card number data; and the controller cannot receive the card number data of the two-dimensional code which does not conform to the card number principle, recognizes the scanned two-dimensional code as 10-system output by default, and transmits the converted two-dimensional code number to the server.
Further, the method for generating the two-dimensional code comprises the following steps: the dynamic two-dimensional code with timeliness is generated through a CR02R dynamic two-dimensional code reader, after the two-dimensional code is read, whether the two-dimensional code is legal or not (the two-dimensional code comprises a unique ID number) is analyzed, the legal code outputs the unique ID number through a Wiegand 26 protocol or a Wiegand 34 protocol, the illegal code is not output, if the IC card does not judge, the illegal code is directly output through the Wiegand 26 protocol or the Wiegand 34 protocol.
Further, in step 3, the server is any one of a tower server, a rack server, or a blade server, and is powered by a 220V household ac power supply.
The invention also provides a system for distinguishing the two-dimensional code and the IC card signal based on the Wiegand protocol, which comprises: a memory, a processor, and a computer program stored in the memory and executable on the processor, the processor executing the computer program to run in the units of the system:
the visitor selects a two-dimensional code generating button displayed in a touch screen arranged on the entrance guard or presses a button arranged beside the visitor to trigger the two-dimensional code condition, or the visitor triggers the two-dimensional code condition when a face image is shot by a camera arranged on the entrance guard;
the two-dimensional code decoding unit is used for scanning the generated two-dimensional code and decoding the two-dimensional code into an identity recognition signal when the two-dimensional code condition is triggered;
the system comprises a Wiegand protocol transmission unit, a server and a door access control unit, wherein the Wiegand protocol transmission unit is used for transmitting an identity recognition signal to the server through a Wiegand protocol for identity matching recognition, and opening the door access control unit when the identity recognition signal is matched with visitor information prestored in a database of the server;
the IC card condition triggering unit is used for reading an identity recognition signal in an IC card by the IC card reader when a visitor uses the IC card to swipe the IC card reader arranged on the entrance guard, transmitting the identity recognition signal to the server through the Wiegand protocol to perform identity matching recognition, and opening the entrance guard when the identity recognition signal is matched with visitor information prestored in a database of the server.
The invention has the beneficial effects that: the invention provides a method and a system for distinguishing two-dimension codes and IC card signals based on a Wiegand protocol, which effectively prevent the two-dimension codes from being stolen, can modify the existing equipment so as to easily mix the two-dimension codes and the IC cards, avoids the waste of the equipment, greatly facilitates the modification of firstly using access control equipment, and can be conveniently compatible with two different access control modes.
Drawings
The above and other features of the present invention will become more apparent by describing in detail embodiments thereof with reference to the attached drawings in which like reference numerals designate the same or similar elements, it being apparent that the drawings in the following description are merely exemplary of the present invention and other drawings can be obtained by those skilled in the art without inventive effort, wherein:
FIG. 1 is a flow chart of a method for distinguishing two-dimensional codes from IC card signals based on the Wiegand protocol;
fig. 2 is a system structure diagram for distinguishing two-dimensional codes from IC card signals based on the wiegand protocol.
Detailed Description
The conception, the specific structure and the technical effects produced by the present invention will be clearly and completely described in conjunction with the embodiments and the attached drawings, so as to fully understand the objects, the schemes and the effects of the present invention. It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict.
Fig. 1 is a flowchart illustrating a method for distinguishing two-dimensional codes from IC card signals based on a wiegand protocol according to the present invention, and the following describes a method for distinguishing two-dimensional codes from IC card signals based on a wiegand protocol according to an embodiment of the present invention with reference to fig. 1.
The invention provides a method for distinguishing two-dimensional codes and IC card signals based on a Wiegand protocol, which specifically comprises the following steps:
when the visitor is through two-dimensional code image access entrance guard:
step 1, a visitor selects a two-dimensional code generating button displayed in a touch screen arranged on an entrance guard or presses a button arranged beside the entrance guard to trigger a two-dimensional code condition, or a camera arranged on the entrance guard shoots a face image to trigger the two-dimensional code condition;
step 2, when the condition of the two-dimensional code is triggered, scanning the generated two-dimensional code and decoding the two-dimensional code into an identity recognition signal;
the method for generating the two-dimensional code comprises the following steps: obtaining the identity of the visitor according to any one of the face recognition result, the fingerprint recognition result of the touch screen or the NFC card recognition result of the mobile phone, and generating a two-dimensional code according to the identity of the visitor, the current time and the validity period of the two-dimensional code;
step 3, transmitting an identity recognition signal to the server through the Wiegand protocol for identity matching recognition, and opening the access control when the identity recognition signal is matched with visitor information prestored in a database of the server;
when the visitor accesses the entrance guard through the IC card:
and 4, when the visitor uses the IC card to swipe the IC card reader arranged on the entrance guard, the IC card reader reads the identity recognition signal in the IC card, transmits the identity recognition signal to the server through the Wiegand protocol to perform identity matching recognition, and opens the entrance guard when the identity recognition signal is matched with the visitor information prestored in the database of the server.
Further, in step 3 and step 4, whether the two-dimensional code or the IC card number is distinguished according to the difference of the wiegand protocol, for example, the IC card number is transmitted by using the wiegand 26 protocol, the wiegand 34 protocol transmits the two-dimensional code, the server judges whether the number transmitted by the front end is the two-dimensional code or the IC card number according to the protocol type, then searches a database including whether a corresponding number exists in a two-dimensional code library or an IC card library according to the classification, the client transmits a string of numbers in the ffffffffff 16 system through the wiegand 34 protocol, and the server judges whether the number is the two-dimensional code according to the protocol type, so that whether the number exists or whether the identity is matched can be checked in a two-dimensional code dynamic library, and the purpose is to avoid embezzleing the IC access control card after some people convert the IC card number into the two-dimensional code.
Further, in step 1, the access control device at least comprises: the system comprises an IC card reader, a CR02R dynamic two-dimensional code reader, a two-dimensional code scanner, a camera, a touch screen or a liquid crystal screen; the camera is used for acquiring two-dimensional code image information or face image information; the liquid crystal display is used for displaying face image information and two-dimensional codes of the visitors.
Further, in step 2, when the two-dimension code condition is triggered, the two-dimension code encryption value is converted to generate 8-10 digits of a Wiegand 26 protocol or a Wiegand 34 protocol, when the Wiegand is output, the scanned two-dimension code accords with a 16-forbidden card number principle of a 0-9/A-F combination and a two-dimension code according with the card number principle, and the controller can receive card number data; and the controller cannot receive the card number data of the two-dimensional code which does not conform to the card number principle, recognizes the scanned two-dimensional code as 10-system output by default, and transmits the converted two-dimensional code number to the server.
Further, the method for generating the two-dimensional code comprises the following steps: the dynamic two-dimensional code with timeliness is generated through a CR02R dynamic two-dimensional code reader, after the two-dimensional code is read, whether the two-dimensional code is legal or not (the two-dimensional code comprises a unique ID number) is analyzed, the legal code outputs the unique ID number through a Wiegand 26 protocol or a Wiegand 34 protocol, the illegal code is not output, if the IC card does not judge, the illegal code is directly output through the Wiegand 26 protocol or the Wiegand 34 protocol.
Further, in step 3, the server is any one of a tower server, a rack server or a blade server, and is powered by a 220V household ac power supply.
An embodiment of the present invention provides a system for distinguishing two-dimensional codes and IC card signals based on a wiegand protocol, as shown in fig. 2, which is a structure diagram of the system for distinguishing two-dimensional codes and IC card signals based on the wiegand protocol, and the system for distinguishing two-dimensional codes and IC card signals based on the wiegand protocol of the embodiment includes: the system comprises a processor, a memory and a computer program which is stored in the memory and can run on the processor, wherein the processor executes the computer program to realize the steps in the system embodiment for distinguishing the two-dimensional code and the IC card signal based on the Wiegand protocol.
The system comprises: a memory, a processor, and a computer program stored in the memory and executable on the processor, the processor executing the computer program to run in the units of the following system:
the visitor selects a two-dimensional code generating button displayed in a touch screen arranged on the entrance guard or presses a button arranged beside the visitor to trigger the two-dimensional code condition, or the visitor triggers the two-dimensional code condition when a face image is shot by a camera arranged on the entrance guard;
the two-dimensional code decoding unit is used for scanning the generated two-dimensional code and decoding the two-dimensional code into an identity recognition signal when the two-dimensional code condition is triggered;
the system comprises a Wiegand protocol transmission unit, a server and a door access control unit, wherein the Wiegand protocol transmission unit is used for transmitting an identity recognition signal to the server through a Wiegand protocol for identity matching recognition, and opening the door access control unit when the identity recognition signal is matched with visitor information prestored in a database of the server;
the IC card condition triggering unit is used for reading an identity recognition signal in an IC card by the IC card reader when a visitor uses the IC card to swipe the IC card reader arranged on the entrance guard, transmitting the identity recognition signal to the server through the Wiegand protocol to perform identity matching recognition, and opening the entrance guard when the identity recognition signal is matched with visitor information prestored in a database of the server.
The system for distinguishing the two-dimensional code and the IC card signal based on the Wiegand protocol can be operated in computing equipment such as desktop computers, notebooks, palm computers, cloud servers and the like. The system for distinguishing the two-dimension code and the IC card signal based on the Wiegand protocol can be operated by comprising a processor and a memory. Those skilled in the art will appreciate that the example is only an example of a system for distinguishing two-dimensional code signals from IC card signals based on the wiegand protocol, and does not constitute a limitation of a system for distinguishing two-dimensional code signals from IC card signals based on the wiegand protocol, and may include more or less components than a certain proportion, or combine certain components, or different components, for example, the system for distinguishing two-dimensional code signals from IC card signals based on the wiegand protocol may further include input-output devices, network access devices, buses, and the like.
The Processor may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic device, discrete hardware component, or the like. The general processor can be a microprocessor or the processor can be any conventional processor and the like, the processor is a control center of the system operation system for distinguishing the two-dimension code and the IC card signal based on the Wiegand protocol, and various interfaces and lines are utilized to connect all parts of the whole system operable system for distinguishing the two-dimension code and the IC card signal based on the Wiegand protocol.
The memory can be used for storing the computer program and/or the module, and the processor realizes various functions of the system for distinguishing the two-dimensional code and the IC card signal based on the Wiegand protocol by operating or executing the computer program and/or the module stored in the memory and calling the data stored in the memory. The memory may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, etc. In addition, the memory may include high-speed random access memory, and may also include non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), at least one magnetic disk storage device, a Flash memory device, or other volatile solid state storage device.
While the present invention has been described in considerable detail and with particular reference to a few illustrative embodiments thereof, it is not intended to be limited to any such details or embodiments or any particular embodiments, but it is to be construed as effectively covering the intended scope of the invention by providing a broad, potential interpretation of such claims in view of the prior art with reference to the appended claims. Furthermore, the foregoing describes the invention in terms of embodiments foreseen by the inventor for which an enabling description was available, notwithstanding that insubstantial modifications of the invention, not presently foreseen, may nonetheless represent equivalent modifications thereto.

Claims (6)

1. A method for distinguishing two-dimensional codes and IC card signals based on a Wiegand protocol is characterized by comprising the following steps:
when the visitor is through two-dimensional code image access entrance guard:
step 1, a visitor selects a two-dimensional code generating button displayed in a touch screen arranged on an entrance guard or presses a button arranged beside to trigger a two-dimensional code condition, or a camera arranged on the entrance guard shoots a face image to trigger the two-dimensional code condition;
step 2, when the condition of the two-dimensional code is triggered, scanning the generated two-dimensional code and decoding the two-dimensional code into an identity recognition signal; the method for generating the two-dimensional code comprises the following steps: obtaining the identity of the visitor according to any one of the face recognition result, the fingerprint recognition result of the touch screen or the NFC card recognition result of the mobile phone, and generating a two-dimensional code according to the identity of the visitor, the current time and the validity period of the two-dimensional code;
step 3, transmitting an identity recognition signal to the server through the Wiegand protocol for identity matching recognition, and opening the access control when the identity recognition signal is matched with visitor information prestored in a database of the server;
when the visitor accesses the entrance guard through the IC card:
step 4, when a visitor uses the IC card to swipe the IC card reader arranged on the entrance guard, the IC card reader reads the identity recognition signal in the IC card, transmits the identity recognition signal to the server through the Wiegand protocol to perform identity matching recognition, and opens the entrance guard when the identity recognition signal is matched with visitor information prestored in a database of the server;
in the step 3 and the step 4, whether the two-dimensional code or the IC card number is distinguished according to different Wiegand protocols, the IC card number is transmitted by using a Wiegand 26 protocol, the Wiegand 34 protocol transmits the two-dimensional code, the server judges whether the number transmitted by the front end is the two-dimensional code or the IC card number according to the protocol type, then a database is searched according to the classification, whether a corresponding number exists in a two-dimensional code dynamic library or an IC card number library, the client transmits a string of numbers with 16 system of FFFFFF through the Wiegand 34 protocol, the server judges that the number is the two-dimensional code according to the protocol type, whether the number exists or whether the identity is matched is checked in the two-dimensional code dynamic library, and therefore the phenomenon that the IC access control card is stolen after some people convert the IC card number into the two-dimensional code is avoided.
2. The method for distinguishing the two-dimensional code from the IC card signal based on the wiegand protocol according to claim 1, wherein in step 1, the access control includes at least: the system comprises an IC card reader, a CR02R dynamic two-dimensional code reader, a two-dimensional code scanner, a camera, a touch screen or a liquid crystal screen; the camera is used for acquiring two-dimensional code image information or face image information; the liquid crystal display is used for displaying face image information and two-dimensional codes of the visitors.
3. The method for distinguishing the two-dimension code and the IC card signal based on the wiegand protocol according to claim 1, wherein in the step 2, when the two-dimension code condition is triggered, the two-dimension code encryption value is converted to generate 8-10 digits of the wiegand 26 protocol or the wiegand 34 protocol, when the wiegand is output, the scanned two-dimension code accords with a 16-forbidden card number principle of 0-9/A-F combination, the two-dimension code accords with the card number principle, and the controller can receive the card number data; and the controller cannot receive the card number data of the two-dimensional code which does not conform to the card number principle, recognizes the scanned two-dimensional code as 10-system output by default, and transmits the converted two-dimensional code number to the server.
4. The method for distinguishing the two-dimensional code from the IC card signal based on the Wiegand protocol according to claim 1, wherein the method for generating the two-dimensional code is as follows: the CR02R dynamic two-dimensional code reader is used for generating a dynamic two-dimensional code with timeliness, after the two-dimensional code is read, whether the two-dimensional code is legal or not is analyzed, the legal code outputs a unique ID number by a Wiegand 26 protocol or a Wiegand 34 protocol, the illegal code is not output, if the IC card does not judge, the code is directly output by the Wiegand 26 protocol or the Wiegand 34 protocol.
5. The method for distinguishing the two-dimensional code from the IC card signal based on the Wiegand protocol as claimed in claim 1, wherein in step 3, the server is any one of a tower server, a rack server or a blade server and is powered by a 220V household alternating current power supply.
6. A system for distinguishing two-dimensional codes and IC card signals based on a Wiegand protocol is characterized by comprising the following components: a memory, a processor, and a computer program stored in the memory and executable on the processor, the processor executing the computer program to run in the units of the following system:
the visitor selects a two-dimensional code generating button displayed in a touch screen arranged on the entrance guard or presses a button arranged beside the visitor to trigger the two-dimensional code condition, or the visitor triggers the two-dimensional code condition when a face image is shot by a camera arranged on the entrance guard;
the two-dimensional code decoding unit is used for scanning the generated two-dimensional code and decoding the two-dimensional code into an identity recognition signal when the two-dimensional code condition is triggered;
the system comprises a Wiegand protocol transmission unit, a server and a door access control unit, wherein the Wiegand protocol transmission unit is used for transmitting an identity recognition signal to the server through a Wiegand protocol for identity matching recognition, and opening the door access control unit when the identity recognition signal is matched with visitor information prestored in a database of the server;
the IC card condition triggering unit is used for reading an identity recognition signal in an IC card by the IC card reader when a visitor uses the IC card to swipe the IC card reader arranged on the entrance guard, transmitting the identity recognition signal to the server through the Wiegand protocol to perform identity matching recognition, and opening the entrance guard when the identity recognition signal is matched with visitor information prestored in a database of the server;
the method comprises the steps of distinguishing two-dimensional codes or IC card numbers according to different Wiegand protocols, transmitting the IC card numbers by using a Wiegand 26 protocol, transmitting the two-dimensional codes by using a Wiegand 34 protocol, judging whether the numbers transmitted by a front end are the two-dimensional codes or the IC card numbers by a server according to protocol types, searching a database according to classification, wherein the database comprises a two-dimensional code dynamic library or an IC card number library whether corresponding numbers exist or not, transmitting a string of numbers with a 16-system FFFFFF (fast Fourier transform function) by a client through the Wiegand 34 protocol, judging whether the numbers are the two-dimensional codes according to the protocol types, and checking whether the numbers exist or are matched in the two-dimensional code dynamic library to avoid embezzlement of IC access cards after certain people convert the IC card numbers into the two-dimensional codes.
CN202011627289.1A 2020-12-30 2020-12-30 Method and system for distinguishing two-dimensional code and IC card signal based on Wiegand protocol Active CN112820007B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011627289.1A CN112820007B (en) 2020-12-30 2020-12-30 Method and system for distinguishing two-dimensional code and IC card signal based on Wiegand protocol

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011627289.1A CN112820007B (en) 2020-12-30 2020-12-30 Method and system for distinguishing two-dimensional code and IC card signal based on Wiegand protocol

Publications (2)

Publication Number Publication Date
CN112820007A CN112820007A (en) 2021-05-18
CN112820007B true CN112820007B (en) 2022-07-22

Family

ID=75856286

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011627289.1A Active CN112820007B (en) 2020-12-30 2020-12-30 Method and system for distinguishing two-dimensional code and IC card signal based on Wiegand protocol

Country Status (1)

Country Link
CN (1) CN112820007B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113810157A (en) * 2021-09-13 2021-12-17 上海偕云信息技术有限公司 RS485 protocol-based access control data transmission processing method and system
CN116844266B (en) * 2023-09-01 2023-11-24 鼎铉商用密码测评技术(深圳)有限公司 Access control method, access control system and storage medium

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2840194Y (en) * 2005-06-29 2006-11-22 宏霸数码(深圳)有限公司 Long-distance wireless radio frequency inductor and wireless radio frequency inductive signal receiving device
CN105303664A (en) * 2015-11-10 2016-02-03 清华大学 Intelligent access control system based on two dimensional code technology and control method thereof
CN105551122A (en) * 2015-12-11 2016-05-04 北京无线电计量测试研究所 Gate system based on iris recognition
CN109767535A (en) * 2019-01-17 2019-05-17 福州符号信息科技有限公司 A kind of access control system and method for the adaptive bar code based on Wiegand protocol
CN109544769A (en) * 2019-01-17 2019-03-29 福州符号信息科技有限公司 A kind of access control system and control method based on Wiegand protocol
CN110136310A (en) * 2019-05-18 2019-08-16 深圳智云镖科技有限公司 A kind of intelligent unlocking method and system of cell
CN210515408U (en) * 2019-10-12 2020-05-12 深圳市双盈科技有限公司 Access control system based on two-dimensional code recognition

Also Published As

Publication number Publication date
CN112820007A (en) 2021-05-18

Similar Documents

Publication Publication Date Title
Jansen Authenticating users on handheld devices
US6125192A (en) Fingerprint recognition system
CN101197665B (en) Dynamic password generation method and device thereof
CN112820007B (en) Method and system for distinguishing two-dimensional code and IC card signal based on Wiegand protocol
RU2008146049A (en) DEVICE AND METHOD FOR IDENTIFICATION AND AUTHENTICATION
TW201642183A (en) An open method and system
TW200306499A (en) Fingerprint authenticating system for carrying out a fingerprint authentication by using a small fingerprint sensor
JP2013506210A (en) Improve system biometric security
US10186101B2 (en) Method, device and system for controlling opening of A-B doors
CN104050406A (en) Method and terminal equipment for carrying out authentication through fingerprint combinations
Thakur et al. Wireless Fingerprint Based Security System Using ZigBee Technology
US11886952B2 (en) Systems and methods for point of sale age verification
CN211015673U (en) Entrance guard terminal of finger vein discernment
CN112446704A (en) Safe transaction management method and safe transaction management device
US20050039015A1 (en) Electronic writing device and method for generating an electronic signature
Naveen et al. Bank locker security system using QR code
CN114896483A (en) Data acquisition method, system and storage medium
CN208781260U (en) A kind of communication system based on RFID
CN104675275A (en) Intelligent embedded control system of secrecy case
EP3270313A1 (en) Optical authorization method for programs and files
CN204390256U (en) A kind of authentication security system based on fingerprint characteristic
El Beqqal et al. A Novel Approach for an Interoperable Biometric Verification.
CN110766842B (en) Passing equipment control method and device, machine readable medium and equipment
Dwivedi et al. Android based flat security system-the digital unlocking and locking system based on android for smart phone
CN111445227B (en) Payment method, device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant