CN110956724A - Compatible method of multi-type card number verification equipment - Google Patents
Compatible method of multi-type card number verification equipment Download PDFInfo
- Publication number
- CN110956724A CN110956724A CN201911267217.8A CN201911267217A CN110956724A CN 110956724 A CN110956724 A CN 110956724A CN 201911267217 A CN201911267217 A CN 201911267217A CN 110956724 A CN110956724 A CN 110956724A
- Authority
- CN
- China
- Prior art keywords
- card
- door opening
- card number
- server
- compatible
- 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.)
- Pending
Links
Images
Classifications
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07C—TIME 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/00—Individual registration on entry or exit
- G07C9/00174—Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
- G07C9/00309—Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys operated with bidirectional data transmission between data carrier and locks
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07C—TIME 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/00—Individual registration on entry or exit
- G07C9/00174—Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
- G07C9/00571—Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys operated by interacting with a central unit
Abstract
The disclosure provides a compatible method of multi-type card number verification equipment, which comprises a card reader, a card number information compatible module and a server. The method comprises the following steps: the card reader obtains card type parameters and card numbers, sends the card type parameters and the card numbers to the card number information compatible module and the server side, the server side sends the corresponding target card number length to the card number information compatible module according to the card type parameters, and the card number information compatible module converts the card numbers into the target card numbers with the same length as the target card numbers.
Description
Technical Field
The present disclosure relates to an ID compatible method of a multi-type authentication device.
Background
Modern access control systems have evolved from traditional mechanical door locks. By its own features, the safety of conventional mechanical door locks is always unsatisfactory. The management of keys in a passage with a lot of people going in and out (such as office buildings and hotel rooms) is troublesome, and the lock and the key are replaced together when the keys are lost or the people are replaced.
With the development of the technology, an electronic magnetic card lock and an electronic coded lock become the first two locks, so that the management degree of people on the passageway of the entrance is improved to a certain extent, and the passageway management enters the electronic era. However, magnetic card locks have the problems of easy copying, high failure rate and the like, and coded locks have the potential safety hazard that codes are easy to leak.
With the development of the induction card technology, the entrance guard system is developed in a leap way, enters the mature period and appears as the induction card type entrance guard system. The safety, convenience, manageability and the like of the access control system are remarkably improved, and the application field of the access control system is wider and wider.
The variety of the induction cards is various, and different card readers are usually required to be equipped for different induction cards. After the access control system changes the card reader, the user can not continue to use the original IC card, the card number database of the server must be cleared, and the user must re-enter a new card number for authorization. When the number of users in a building reaches thousands of people, the replacement of other types of card readers brings huge workload to access control managers.
Disclosure of Invention
In order to solve at least one of the above technical problems, the present disclosure provides a compatible method for a multi-type card number verification device, which includes a card reader, a card number information compatible module, and a server. The method comprises the following steps: the card reader obtains card type parameters and card numbers, sends the card type parameters and the card numbers to the card number information compatible module and the server side, the server side sends the corresponding target card number length to the card number information compatible module according to the card type parameters, and the card number information compatible module converts the card numbers into the target card numbers with the same length as the target card numbers.
According to at least one embodiment of the disclosure, the server side comprises a database, and the database is used for storing personnel information, and the personnel information comprises door opening permission.
According to at least one embodiment of the disclosure, the card number information compatibility module is further used for sending the target card number to the server, and the server searches the personnel information according to the target card number and obtains the door opening authority of the personnel information.
According to at least one embodiment of the present disclosure, the door opening authority is to allow or prohibit door opening.
According to at least one embodiment of the present disclosure, the person information is stored in a hash table.
According to at least one embodiment of the present disclosure, the server further includes a hash value calculation module, and the target card number is split into an array and sent to the hash value calculation module.
According to at least one embodiment of the disclosure, the hash value calculation module calculates the address of the hash table according to the array, and the server side acquires the door opening permission according to the address of the hash table.
According to at least one embodiment of the present disclosure, the card reader compatible system further includes an access control device and a lock actuator.
According to at least one embodiment of the present disclosure, the server sends the door opening permission to the access control device, and the access control device controls the lock execution mechanism to complete corresponding actions according to the door opening permission.
According to at least one embodiment of the disclosure, when the door opening permission is allowed, the lock execution mechanism completes the door opening action; and when the door opening authority is that the door opening is forbidden, the lock execution mechanism keeps the door locking state and sends the reason for forbidding the door opening to the server side.
Drawings
The accompanying drawings, which are included to provide a further understanding of the disclosure and are incorporated in and constitute a part of this specification, illustrate exemplary embodiments of the disclosure and together with the description serve to explain the principles of the disclosure.
Fig. 1 is a topological diagram of the structure of a multi-type card number verification device according to at least one embodiment of the present disclosure.
Detailed Description
The present disclosure will be described in further detail with reference to the drawings and embodiments. It is to be understood that the specific embodiments described herein are for purposes of illustration only and are not to be construed as limitations of the present disclosure. It should be further noted that, for the convenience of description, only the portions relevant to the present disclosure are shown in the drawings.
It should be noted that the embodiments and features of the embodiments in the present disclosure may be combined with each other without conflict. The present disclosure will be described in detail below with reference to the accompanying drawings in conjunction with embodiments.
In a modern access control system, if a card reader is replaced, because the number of the card numbers read by different card readers is different, the card number information stored by the original server is no longer suitable for a new card reader, and an access control manager needs to re-enter the card number for authorization, thereby bringing huge workload. For example, the card number information digits of the HID card information and the IC information are different, the data personnel stores the HID card format, and the user wants to replace the IC card, which results in that the user authentication cannot realize the door opening.
In at least one embodiment of the disclosure, the disclosure provides a compatible method of a multi-type card number verification device, and when the card reader types are different, the card number compatibility module is used for processing to make the information of the card number compatible module consistent with the database of the original server side. As shown in fig. 1, the multi-type card number verification device comprises a card reader, a card number information compatible module and a server. The method comprises the following steps: the card reader obtains card type parameters and card numbers, sends the card type parameters and the card numbers to the card number information compatible module and the server side, the server side sends the corresponding target card number length to the card number information compatible module according to the card type parameters, and the card number information compatible module converts the card numbers into the target card numbers with the same length as the target card numbers.
The server side comprises a database, the database is used for storing personnel information, and the personnel information comprises door opening permission.
The card number information compatible module is also used for sending the target card number to the server side, and the server side searches the personnel information according to the target card number and obtains the door opening authority of the personnel information. The door opening authority is to allow the door to be opened or forbid the door to be opened. The person information is stored in a hash table.
The server also comprises a hash value calculation module, and the target card number is divided into arrays and sent to the hash value calculation module.
The hash value calculation module calculates the address of the hash table according to the array, and the server side acquires the personnel information stored in the hash table according to the address of the hash table and acquires whether the personnel information has the door opening permission.
The card reader compatible system also includes an access control device and a lock actuator.
The server sends the door opening permission to the access control equipment, and the access control equipment controls the lock execution mechanism to complete corresponding actions according to the door opening permission.
When the door opening authority is allowed to open the door, the lock actuating mechanism completes the door opening action; when the door opening authority is that the door is forbidden to open, the lock execution mechanism keeps the door locked state, sends the reason for forbidding opening the door to the server side, and also can return the reason for forbidding opening the door to the card reader, and informs the card reader that the door cannot be opened through a text display or voice broadcast mode.
The operation of the reader compatible system provided by the present disclosure is described in detail below in a specific preferred embodiment. However, the examples selected are merely illustrative of the present disclosure and do not limit the scope of the present disclosure.
The front-end verification device, namely the card reader, detects card verification information including the card type and the card number, transmits the information to the card number information compatible module, and compares the information with the card type parameter set by the server. The server side tells the verification equipment that the length of the card number is within 4 digits, if the verification equipment actually reads that the card number is 8 digits, the 8 digits are converted into effective 4 digits, the data of the card number is consistent with the card number in the database, and therefore the compatible function of different card reader types is achieved. The server splits the read card number and divides the card number into an array with the length of 4. This array is issued 3 times to the interface CreatHash (uint8 id, uint32dwHashType) that calculates the hash value of the string. And when dwHashType is 0, the calculated hash value is used for determining the position of the character string in the hash table, when dwHashType is 1, when dwHashType is 2, the calculated hash value is used for verifying the character string, the returned character string is used for calculating the address of the hash table, and finally the node value of the hash table of the user is inquired. And reading corresponding personnel information in the hash table according to the node, judging whether the personnel has the door opening authority, if so, executing door opening, if not, forbidding door opening, and reporting the reason for forbidding door opening to the server.
And the server sends a command to the access control equipment to issue an instruction for allowing or forbidding opening the door to the lock execution mechanism according to the verification result.
The compatible method of the multi-type card number verification equipment provided by the disclosure has the compatible function and the card type conversion function of different entrance guard card types. When different card readers are replaced, the entrance guard host dynamically configures the types of different entrance guard cards, starts the compatible function, solves the problem of card number compatibility rules, and card numbers of terminals with different lengths and sizes can be compatible according to the configuration rules. Therefore, after the card reader type is changed, the problem that the user repeatedly inputs the card number again can be solved, and the user experience is improved; the entrance guard does not need to be authorized again, and the entrance guard can be replaced noninductively.
It will be understood by those skilled in the art that the foregoing embodiments are merely for clarity of illustration of the disclosure and are not intended to limit the scope of the disclosure. Other variations or modifications may occur to those skilled in the art, based on the foregoing disclosure, and are still within the scope of the present disclosure.
Claims (10)
1. A compatible method of a multi-type card number verification device, the multi-type card number verification device comprising: the card reader, the card number information compatible module and the server side;
the method comprises the following steps: the card reader obtains card type parameters and card numbers, and sends the card type parameters and the card numbers to the card number information compatible module and the server side, the server side sends corresponding target card number lengths to the card number information compatible module according to the card type parameters, and the card number information compatible module converts the card numbers into target card numbers with the same length as the target card numbers.
2. The method of claim 1, wherein the server comprises a database for storing personnel information, and the personnel information comprises door opening authority.
3. The method of claim 2, wherein the card number information compatibility module is further configured to send the target card number to the server, and the server searches the personnel information according to the target card number and obtains the door opening authority of the personnel information.
4. The method of claim 3, wherein the door opening authority is to allow or prohibit door opening.
5. The method of claim 4, wherein the person information is stored in a hash table.
6. The method of claim 5, wherein the server further comprises a hash value calculation module, and wherein the target card number is split into an array and sent to the hash value calculation module.
7. The method according to claim 6, wherein the hash value calculation module calculates an address of a hash table according to the array, and the server obtains the door opening authority according to the address of the hash table.
8. The method of claim 7, wherein the card reader compatible system further comprises an access control device and a lock actuator.
9. The method of claim 8, wherein the server sends the door opening permission to the access control device, and the access control device controls the lock actuator to complete a corresponding action according to the door opening permission.
10. The method of claim 9, wherein the door opening authority is that when door opening is allowed, the lock actuator completes the door opening action; and when the door opening authority is that the door opening is forbidden, the lock execution mechanism keeps the door locking state and sends the reason for forbidding the door opening to the server side.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911267217.8A CN110956724A (en) | 2019-12-11 | 2019-12-11 | Compatible method of multi-type card number verification equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911267217.8A CN110956724A (en) | 2019-12-11 | 2019-12-11 | Compatible method of multi-type card number verification equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110956724A true CN110956724A (en) | 2020-04-03 |
Family
ID=69981003
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911267217.8A Pending CN110956724A (en) | 2019-12-11 | 2019-12-11 | Compatible method of multi-type card number verification equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110956724A (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103544746A (en) * | 2012-07-08 | 2014-01-29 | 上海博路信息技术有限公司 | Electronic access control system of dynamic bar code |
CN106656990A (en) * | 2016-10-28 | 2017-05-10 | 北汽福田汽车股份有限公司 | Internet-of-vehicle data processing method, terminal device, vehicle and internet-of-vehicle system |
CN107293019A (en) * | 2017-07-12 | 2017-10-24 | 合肥信亚达智能科技有限公司 | A kind of cell access control system and its application method |
CN109002875A (en) * | 2018-06-04 | 2018-12-14 | 上海德必创新科技发展有限公司 | Two dimensional code encryption method, two dimensional code Transmission system and storage medium |
CN109887134A (en) * | 2019-01-31 | 2019-06-14 | 南京亿数信息科技有限公司 | A kind of cell legal power safety control system |
US20190304222A1 (en) * | 2018-03-30 | 2019-10-03 | Denso Wave Incorporated | Wireless card reader system |
-
2019
- 2019-12-11 CN CN201911267217.8A patent/CN110956724A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103544746A (en) * | 2012-07-08 | 2014-01-29 | 上海博路信息技术有限公司 | Electronic access control system of dynamic bar code |
CN106656990A (en) * | 2016-10-28 | 2017-05-10 | 北汽福田汽车股份有限公司 | Internet-of-vehicle data processing method, terminal device, vehicle and internet-of-vehicle system |
CN107293019A (en) * | 2017-07-12 | 2017-10-24 | 合肥信亚达智能科技有限公司 | A kind of cell access control system and its application method |
US20190304222A1 (en) * | 2018-03-30 | 2019-10-03 | Denso Wave Incorporated | Wireless card reader system |
CN109002875A (en) * | 2018-06-04 | 2018-12-14 | 上海德必创新科技发展有限公司 | Two dimensional code encryption method, two dimensional code Transmission system and storage medium |
CN109887134A (en) * | 2019-01-31 | 2019-06-14 | 南京亿数信息科技有限公司 | A kind of cell legal power safety control system |
Non-Patent Citations (1)
Title |
---|
周立功: "《面向AWorks框架和接口的C编程 上》", 30 November 2018 * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
AU2002257249B2 (en) | Smart card access control system | |
US10127751B2 (en) | Controlling physical access to secure areas via client devices in a networked environment | |
KR100419957B1 (en) | Information Security System Inter-working with Entrance Control System and Control Method Thereof | |
US7475812B1 (en) | Security system for access control using smart cards | |
US10572645B2 (en) | Systems and methods for a credential including multiple access privileges | |
US20100011212A1 (en) | Radio frequency identification (rfid) based authentication methodology using standard and private frequency rfid tags | |
AU2002257249A1 (en) | Smart card access control system | |
US20090050697A1 (en) | Apparatus for distributed data storage of security identification and security access system and method of use thereof | |
JPS63575A (en) | Improved keying system | |
CN108734813A (en) | The distribution method and device of Temporary Access Control Card | |
KR20160050841A (en) | System, apparatus and method for managing entrance and exit | |
KR100439891B1 (en) | Authentication method using biometric information | |
CN110956724A (en) | Compatible method of multi-type card number verification equipment | |
JP5175606B2 (en) | Cooperation control system and cooperation control apparatus | |
JP2009060231A (en) | Security system, management device, mobile terminal, and program | |
CN107070663B (en) | Mobile terminal-based field authentication method and field authentication system | |
CN104394173A (en) | Finger vein information security management platform | |
KR20200025304A (en) | System and method for access management using face recognition | |
CN102800138A (en) | Method and device for realizing entrance guard control | |
JP4462911B2 (en) | Access control system | |
CN110766840A (en) | Access control password setting method and device | |
CN111582421A (en) | Method and system for preventing smart card from being copied | |
KR102563455B1 (en) | Method for controlling access for facilities and computer readable recording medium for the same | |
KR20230161160A (en) | Access control method, device and system using mobile id | |
KR200299271Y1 (en) | Integrated information security system |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20200403 |
|
RJ01 | Rejection of invention patent application after publication |