CN113297864A - Address setting device and method for access control card reader - Google Patents

Address setting device and method for access control card reader Download PDF

Info

Publication number
CN113297864A
CN113297864A CN202110551986.1A CN202110551986A CN113297864A CN 113297864 A CN113297864 A CN 113297864A CN 202110551986 A CN202110551986 A CN 202110551986A CN 113297864 A CN113297864 A CN 113297864A
Authority
CN
China
Prior art keywords
address
card reader
emitting diodes
port
switch
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.)
Granted
Application number
CN202110551986.1A
Other languages
Chinese (zh)
Other versions
CN113297864B (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.)
Shanghai Yixiong Electronics Co ltd
Original Assignee
Shanghai Yixiong Electronics 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 Shanghai Yixiong Electronics Co ltd filed Critical Shanghai Yixiong Electronics Co ltd
Priority to CN202110551986.1A priority Critical patent/CN113297864B/en
Publication of CN113297864A publication Critical patent/CN113297864A/en
Application granted granted Critical
Publication of CN113297864B publication Critical patent/CN113297864B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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
    • G06K7/10009Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation sensing by radiation using wavelengths larger than 0.1 mm, e.g. radio-waves or microwaves
    • G06K7/10366Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation sensing by radiation using wavelengths larger than 0.1 mm, e.g. radio-waves or microwaves the interrogation device being adapted for miscellaneous applications
    • G06K7/10415Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation sensing by radiation using wavelengths larger than 0.1 mm, e.g. radio-waves or microwaves the interrogation device being adapted for miscellaneous applications the interrogation device being fixed in its position, such as an access control device for reading wireless access cards, or a wireless ATM
    • G06K7/10425Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation sensing by radiation using wavelengths larger than 0.1 mm, e.g. radio-waves or microwaves the interrogation device being adapted for miscellaneous applications the interrogation device being fixed in its position, such as an access control device for reading wireless access cards, or a wireless ATM the interrogation device being arranged for interrogation of record carriers passing by the interrogation device
    • 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/28Individual registration on entry or exit involving the use of a pass the pass enabling tracking or indicating presence
    • 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/29Individual registration on entry or exit involving the use of a pass the pass containing active electronic elements, e.g. smartcards

Abstract

The invention relates to an address setting device and method of an access control card reader, wherein the device comprises a singlechip, the singlechip comprises a setting I/O port for entering an address setting state, and the singlechip is connected with an anti-dismounting switch and a plurality of light-emitting diodes; the set I/O port is grounded, the entrance guard card reader enters an address setting state, the anti-disassembly switch is used for setting an address, and the plurality of light emitting diodes are used for displaying the currently set address; the set I/O port is disconnected, the entrance guard card reader is in a non-address setting state, and the anti-disassembly switch is used for anti-disassembly alarming. The device of the invention has waterproof and dustproof performance because only one I/O port and a plurality of light-emitting diodes are added in the card reader.

Description

Address setting device and method for access control card reader
Technical Field
The invention relates to the field of card readers, in particular to an address setting device and method of an entrance guard card reader.
Background
Since the card reader may be used in a harsh environment, there is a high demand for water and dust resistance. The method that current entrance guard card reader generally adopted in market sets up extra dial switch and realizes the address setting, however the dial switch is generally not waterproof, and the dial switch is installed on the encapsulating face at the card reader plastic casing back, and the card reader that consequently forms is not waterproof, if want the card reader waterproof, then needs purchase waterproof dial switch, and the cost can be than higher, and the card reader that constitutes by this kind of dial switch can not satisfy dustproof demand certainly moreover. Therefore, in the prior art, the problems of high cost, water and dust resistance exist when the dial switch is used for realizing address setting, and the invention provides the address setting device and the address setting method of the access control card reader aiming at the problems.
Disclosure of Invention
The invention aims to provide an address setting method and device of an entrance guard card reader, which are used for realizing bus address allocation of the entrance guard card reader under the condition of ensuring water resistance and dust resistance.
In order to achieve the purpose, the invention provides the following scheme:
an address setting device of an access control card reader comprises a singlechip;
the single chip microcomputer comprises a setting I/O port for entering an address setting state, and is connected with the anti-dismantling switch and the plurality of light emitting diodes;
the set I/O port is grounded, the entrance guard card reader enters an address setting state, the anti-disassembly switch is used for setting an address, and the plurality of light emitting diodes are used for displaying the currently set address;
the I/O port is set to be in ground disconnection, the entrance guard card reader is in a non-address setting state, and the anti-dismantling switch is used for anti-dismantling alarm.
The invention also provides an address setting method of the access control card reader, which comprises the following steps:
when the I/O port is grounded, the anti-disassembly switch is pressed to enable the plurality of light emitting diodes to emit light to display the set address of the entrance guard card reader.
According to the specific embodiment provided by the invention, the invention discloses the following technical effects:
the invention only adds one set I/O port and a plurality of light emitting diodes on the basis of the original card reader, judges the set state by grounding or ungrounded the set I/O port, enters the address set state when the set I/O port is grounded, realizes the address alternation by utilizing the pressing and releasing processes of the original anti-disassembly switch of the card reader, and displays the current address by utilizing the on-off of the light emitting diodes. The method of the invention adds an I/O port and a plurality of light emitting diodes in the card reader, thus having no influence on the waterproof and dustproof performance of the original card reader.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings needed in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings without creative efforts.
Fig. 1 is a schematic structural diagram of an address setting device of an access control card reader according to embodiment 1 of the present invention;
fig. 2 is a schematic view of a light-emitting form of a diode in an address setting device of an access card reader according to embodiment 1 of the present invention;
fig. 3 is a flowchart of a method for displaying a setting address of an entrance guard card reader by a plurality of light emitting diodes by pressing an anti-tamper switch according to embodiment 2 of the present invention.
Description of the symbols: 1-a single chip microcomputer; 2-setting an I/O port; 3-anti-disassembly switch; 4-light emitting diode.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The invention aims to provide a waterproof and dustproof address setting device and method for an entrance guard card reader.
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in further detail below.
Example 1
When the server communicates with the devices (card readers) below the bus of the server, the address of the card reader below the server needs to be acquired, so that each card reader needs to be provided with an address which is set by each card reader independently. For example, when a server is connected with 5 card readers, addresses of the 5 card readers are all different, and if addresses of two card readers are the same (for example, both addresses are 3 addresses), when the server communicates with the card reader with the 3 address, the two card readers with the 3 addresses send instruction information to the server at the same time, so that instructions sent by the two card readers are mixed together, the server cannot identify the card readers, and a fault occurs.
It should be noted that, when the address setting is performed once when the card reader is installed/initialized, the address of the card reader is fixedly stored in the memory of the card reader. Therefore, address setting is not needed when the follow-up server communicates with the card reader.
Based on the above, the present embodiment provides an address setting device of an access control card reader, please refer to fig. 1, where the device includes a single chip 1;
the single chip microcomputer 1 comprises a setting I/O port 2 for entering an address setting state, and the single chip microcomputer 1 is connected with an anti-dismantling switch 3 and a plurality of light emitting diodes 4;
the setting I/O port 2 can be the setting I/O port 2 defined by the original I/O port of the single chip microcomputer 1, or the setting I/O port 2 can be added to the single chip microcomputer 1 for setting.
The I/O port 2 is set to be grounded, the entrance guard card reader enters an address setting state, the anti-dismounting switch 3 is used for setting an address, and the light-emitting diodes 4 are used for displaying the currently set address;
the I/O port 2 is set to be disconnected, the entrance guard card reader is in a non-address setting state, and the anti-disassembly switch 3 is used for anti-disassembly alarming.
It should be noted that the premise that the tamper switch 3 is used for adjusting the address setting is that the I/O port 2 is short-circuited to the ground, and if the I/O port is not short-circuited, the tamper switch 3 has a tamper alarm function. The anti-disassembly alarm principle is that the anti-disassembly switch 3 is provided with a base and a switch button, the button is in a conducting state when being pressed down, and the button is in a disconnecting state when being loosened. The card reader is arranged on a wall, after the card reader is arranged on the wall, a switch button of the card reader is abutted against the wall and is in a conducting state, when the equipment is detached from the wall, the button is released, the connection is in a disconnecting state, and the card reader gives an alarm.
In this embodiment, the number of the corresponding light emitting diodes 4 may be set according to the number of the addresses of the card reader, where the relationship between the number of the light emitting diodes 4 and the number of the addresses of the card reader that needs to be set is: number of addresses 2Number of light emitting diodes
The form of the display address of the plurality of light emitting diodes 4 may be selected as an address of a light display setting in a binary form. Please refer to fig. 2.
For example, when the number of the addresses of the card readers required to be set is 4, the number of the light emitting diodes 4 required is 2, and the addresses of the 4 card readers are respectively: 0, 1, 2 and 3. The plurality of light emitting diodes 4 display the set address in a binary manner, and when the last light emitting diode 4 of the 2 light emitting diodes 4 is on and the rest light emitting diodes 4 are off, the address displayed by the light emitting diode 4 is 1, that is: 201. When the penultimate led 4 of the 2 leds 4 is on and the rest of the leds 4 are off, the led 4 displays an address of 2, that is: 212. When 2 leds 4 are fully on, the address displayed by the led 4 is 3, that is: 20+213. The address value represented by each light-emitting diode is marked for the corresponding light-emitting diode, the address of the card reader is equal to the marked value of the lighted light-emitting diodes, and the identification is very simple.
The card reader address setting device provided by the embodiment is simple in structure and low in cost compared with the existing address setting device for installing the waterproof dial switch on the card reader, and only one I/O port 2 and the plurality of light emitting diodes 4 are arranged on the basis of the original card reader. Because the added light-emitting diodes 4 are all arranged in the card reader, compared with the arrangement mode that a dial switch is additionally arranged on the glue filling surface outside the plastic shell of the card reader in the prior art, the address setting device of the card reader in the embodiment has the waterproof and dustproof performance.
Example 2
The embodiment provides an address setting method of an access control card reader, which comprises the following steps:
when the I/O port 2 is set to be grounded, the anti-disassembly switch 3 is pressed to enable the plurality of light emitting diodes 4 to emit light to display the set address of the entrance guard card reader.
Wherein, whether the set I/O port 2 is grounded is judged by the singlechip 1.
In the setting address of the entrance guard card reader of this embodiment: minimum address is 0 and maximum address is 2Number of light emitting diodes-1。
When the number of the light emitting diodes 4 is 4, according to the formula: maximum address of 2Number of light emitting diodes 41, when the maximum address is 15, i.e. 4 leds 4 are fully lit, there are: 20+21+22+23=15。
Optionally, as shown in fig. 3, when the I/O port 2 is set to be grounded, the setting address of the door access card reader is displayed by pressing the tamper switch 3 to allow the plurality of light emitting diodes 4 to emit light includes:
s11, grounding the set I/O port 2, triggering the anti-disassembly switch 3 to enable the current set address displayed by the plurality of light emitting diodes 4 to be 0;
it should be noted that, only during initialization, the I/O port 2 is set to be grounded, the current address displayed by the plurality of light emitting diodes 4 is 0, after address setting is performed, whether the set address is correct is checked, the I/O port 2 is set to be grounded, and the address displayed by the plurality of light emitting diodes 4 is the address of the card reader set last time.
The operation program needs to be triggered, the short circuit is triggered, and when the short circuit occurs, the operation program displays the current address and receives the key signal of the anti-dismounting switch 3.
When the current setting address is 0, the plurality of light emitting diodes 4 are in a complete off state, as shown in fig. 2 where the first row of light emitting diodes 4 is located.
S12, pressing the anti-dismantling switch 3 according to the address of the entrance guard card reader which needs to be set, and enabling a plurality of light emitting diodes 4 to emit light according to the pressing times of the anti-dismantling switch 3 so as to display the set address;
in this embodiment, the relationship between the number of times of pressing the tamper switch 3 and the address displayed by the light emitting diode 4 may be set such that, when the tamper switch 3 is pressed once, one is added to a plurality of addresses displayed by the light emitting diode 4, the tamper switch 3 is stopped being pressed until the plurality of light emitting diodes 4 display the address to be set, and the connection between the setting I/O port 2 and the ground is disconnected.
When the addresses displayed by the plurality of light-emitting diodes 4 are the maximum addresses, the anti-dismounting switch 3 is pressed once again, and the addresses displayed by the plurality of light-emitting diodes 4 are the minimum addresses.
Considering that in actual operation, the anti-tamper switch 3 is pressed once more due to an operation error, the anti-tamper switch 3 can be pressed towards the display address with the maximum display address, when the display address with the maximum display address is displayed, the anti-tamper switch 3 is pressed once more, the display address returns to the minimum address 0, and then the anti-tamper switch 3 is pressed according to the address required to be set.
And S13, disconnecting the set I/O port 2 from the ground, and storing the currently set address by the singlechip 1.
The short circuit to non-short circuit is also one-time trigger, so when the short circuit is disconnected, the key is not responded any more, and the singlechip 1 stores the currently set address.
The conventional method for setting the address of the card reader needs to install a dial switch, and because the dial switch is easy to be dialed by mistake, one more dial or one less dial needs to be calculated, misoperation is easy to cause, and under the condition of misoperation, whether the data is correct or not cannot be ensured, so that the data is unsafe. According to the method for setting the address of the card reader, the function can be achieved only by pressing the anti-dismounting switch 3 after the I/O port 2 needs to be set to be in short circuit with the ground, so that misoperation is not easy to occur, and data safety is guaranteed.
The embodiments in the present description are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
The principles and embodiments of the present invention have been described herein using specific examples, which are provided only to help understand the method and the core concept of the present invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, the specific embodiments and the application range may be changed. In view of the above, the present disclosure should not be construed as limiting the invention.

Claims (10)

1. An address setting device of an access control card reader is characterized by comprising a singlechip;
the single chip microcomputer comprises a setting I/O port for entering an address setting state, and is connected with the anti-dismantling switch and the plurality of light emitting diodes;
the set I/O port is grounded, the entrance guard card reader enters an address setting state, the anti-disassembly switch is used for setting an address, and the plurality of light emitting diodes are used for displaying the currently set address;
the set I/O port is disconnected, the entrance guard card reader is in a non-address setting state, and the anti-disassembly switch is used for anti-disassembly alarming.
2. The device according to claim 1, wherein the relationship between the number of the light emitting diodes and the number of the addresses of the card reader required to be set is as follows: number of addresses 2Number of light emitting diodes
3. The apparatus of claim 1, wherein a number of said light emitting diodes emit light in binary form to display a set address.
4. An address setting method of an access control card reader, the method being implemented based on the apparatus of any one of claims 1 to 3, the method comprising:
when the I/O port is grounded, the anti-disassembly switch is pressed to enable the plurality of light emitting diodes to emit light to display the set address of the entrance guard card reader.
5. The method of claim 4, wherein whether the set I/O port is grounded is determined by a single chip microcomputer.
6. The method of claim 4, wherein the set address of the access card reader is: minimum address is 0 and maximum address is 2Number of light emitting diodes-1。
7. The method of claim 4, wherein the step of enabling the plurality of light emitting diodes to display the set address of the entrance guard reader by pressing the tamper switch when the set I/O port is grounded comprises:
grounding the set I/O port, and triggering the anti-disassembly switch to enable the current set address displayed by the plurality of light emitting diodes to be 0;
pressing the anti-dismantling switch according to the address of the entrance guard card reader to be set, so that the plurality of light-emitting diodes emit light according to the pressing times of the anti-dismantling switch to display the set address;
and disconnecting the set I/O port from the ground, and storing the currently set address by the singlechip.
8. The method of claim 7, wherein a number of the LEDs are in a fully off state when the current set address is 0.
9. The method of claim 7, wherein the plurality of light emitting diodes emitting light according to the number of times the tamper switch is pressed to display a set address comprises:
and when the anti-disassembly switch is pressed once, adding one to the address displayed by the plurality of light-emitting diodes, stopping pressing the anti-disassembly switch until the plurality of light-emitting diodes display the address required to be set, and disconnecting the set I/O port from the ground.
10. The method of claim 5, wherein the tamper switch is pressed once more when the plurality of LEDs display the address of the largest address, and the plurality of LEDs display the address of the smallest address.
CN202110551986.1A 2021-05-20 2021-05-20 Address setting device and method for entrance guard card reader Active CN113297864B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110551986.1A CN113297864B (en) 2021-05-20 2021-05-20 Address setting device and method for entrance guard card reader

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110551986.1A CN113297864B (en) 2021-05-20 2021-05-20 Address setting device and method for entrance guard card reader

Publications (2)

Publication Number Publication Date
CN113297864A true CN113297864A (en) 2021-08-24
CN113297864B CN113297864B (en) 2024-03-08

Family

ID=77323058

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110551986.1A Active CN113297864B (en) 2021-05-20 2021-05-20 Address setting device and method for entrance guard card reader

Country Status (1)

Country Link
CN (1) CN113297864B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1804962A (en) * 2006-01-18 2006-07-19 韦韧丝 Address code controlled LED display system and its control method
CN201464848U (en) * 2009-06-18 2010-05-12 重庆大学 Energy-saving intelligent manager for students' study room
CN206400558U (en) * 2016-11-28 2017-08-11 深圳市华智创科智能科技有限公司 Card reader and gate control system
CN209460611U (en) * 2019-03-06 2019-10-01 铠龙东方汽车有限公司 A kind of address code setting circuit

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1804962A (en) * 2006-01-18 2006-07-19 韦韧丝 Address code controlled LED display system and its control method
CN201464848U (en) * 2009-06-18 2010-05-12 重庆大学 Energy-saving intelligent manager for students' study room
CN206400558U (en) * 2016-11-28 2017-08-11 深圳市华智创科智能科技有限公司 Card reader and gate control system
CN209460611U (en) * 2019-03-06 2019-10-01 铠龙东方汽车有限公司 A kind of address code setting circuit

Also Published As

Publication number Publication date
CN113297864B (en) 2024-03-08

Similar Documents

Publication Publication Date Title
JP6650542B2 (en) Dummy memory board
CN108170245A (en) Control system, method and the server management system of server physical button operation
US20230422381A1 (en) Led display screen and data display control method therefor, and screen system
CN108845763A (en) A kind of system and method for managing disk state concentratedly
CN211653795U (en) Tamper pin extension circuit and POS machine
CN113297864A (en) Address setting device and method for access control card reader
US20130290589A1 (en) Test circuit for memory module
CN103123799A (en) Rate indication circuit, rigid disk backboard and electronic device
CN112526898B (en) Serial port line plug detection circuit and embedded equipment
CN209821822U (en) Control circuit and computer of PCIE equipment hot plug
CN116627729A (en) External connection cable, external connection cable in-place detection device, startup self-checking method and system
CN100407511C (en) Method for preventing veneer misplug and its realizing apparatus
CN108989058A (en) A kind of server operation method and device
TW550996B (en) Circuit board with protection function and method for protecting circuit board
CN103869897A (en) Adapter card and electronic device using same
US8713392B2 (en) Circuitry testing module and circuitry testing device
US8303335B2 (en) Connecting module with optical indication
CN211015332U (en) Server and computing system
CN111005892A (en) Adaptive fan circuit, system, electronic equipment and fan detection method
CN212484222U (en) Intelligent terminal with prevent tearing open self-destruction function
CN212933467U (en) Power button assembly for electronic equipment and electronic equipment
CN220209945U (en) Power consumption protector
CN113505033B (en) Cable misplug prevention system, main board, sub-card assembly and method
CN214670573U (en) BMC SD card bit detection structure
CN219535065U (en) Cable connector and cable with hunting function

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