Access management system and access management method
By using QR code recognition technology in the entry and exit management system, and using random numbers to generate and embed QR code images, the problem of wireless communication instability affecting the convenience of entry and exit management system is solved, and stable and instantaneous authentication processing is achieved. Improves the security and convenience of the system.
Patent Information
- Application Number
- CN202210103009.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2021-03-04
- Filing Date
- 2022-01-27
- Publication Date
- 2024-11-26
- Estimated Expiration
- 2042-01-27
AI Technical Summary
The existing wireless communication technology has greatly damaged the convenience of the entry and exit management system in an unstable environment, and it is impossible to perform authentication processing stably and instantly.
The QR code recognition technology between the control terminal and the personal terminal is adopted to generate and embed QR code images through random numbers, and authenticate through the QR code reader to ensure that information transmission and reception do not depend on the stability of wireless communication.
The information transmission and reception between the control terminal and the personal terminal is realized without relying on unstable wireless communication, ensuring the stability and instantaneousness of the authentication processing, and improving the security and convenience of the entry and exit management system.
Smart Images

Figure CN115035633B_ABST
Abstract
Description
Technical Field
[0001] The invention relates to an access management system and an access management method. Background Art
[0002] When entering or exiting a building, for the sake of security and access management, an authentication device and an unlocking device that operates according to the authentication result are sometimes installed at the entrance. Usually, an authentication medium such as an IC card is placed on the authentication device, and information such as a unique number registered in the corresponding authentication medium is read. When it is determined that permission to pass through the door or the like is granted, the unlocking device operates to enable entry and exit.
[0003] Patent Document 1 discloses a technology for controlling the access device by using wireless communication technology between a personal terminal and an access device to send and receive authentication information when entering and leaving the device.
[0004] Patent Document 1: Japanese Patent Application Publication No. 2013-204233 Summary of the invention
[0005] Problems to be solved by the invention
[0006] The convenience of the technology described in Patent Document 1 is affected by the stability of wireless communication. If the wireless communication is unstable depending on the installation location or environment, the convenience is greatly impaired.
[0007] The present invention has been made in view of the above-mentioned situation, and an object of the present invention is to enable the transmission and reception of information between the access control device and the personal terminal to be performed stably and instantly without relying on unstable wireless communication.
[0008] Means for solving problems
[0009] In order to solve the above-mentioned problems, an entry and exit management system of one embodiment of the present invention includes: a control terminal, which has a management function of the connected entry and exit equipment and an authentication function of the entry and exit personnel; and a personal terminal, which maintains identification information of a QR code that determines the entry and exit personnel and has a QR code reading and generation function.
[0010] The control terminal has:
[0011] A random number generation unit that generates and issues a random number that can uniquely determine a two-dimensional code at a predetermined period;
[0012] a two-dimensional code output unit that generates a two-dimensional code image in which the random number issued by the random number generating unit is embedded as information, and displays the image on a screen of a two-dimensional code reader connected to the control terminal; and
[0013] The two-dimensional code authentication unit determines whether a random number read from a two-dimensional code image for entry and exit authentication displayed on a screen of a personal terminal is a random number generated by a two-dimensional code reader.
[0014] The personal terminal has:
[0015] The two-dimensional code generating unit generates a two-dimensional code image for entry and exit authentication in which a random number read from a two-dimensional code image displayed on a two-dimensional code reader is embedded as information, and displays the two-dimensional code image on a screen.
[0016] Effects of the Invention
[0017] According to at least one aspect of the present invention, it is possible to perform authentication processing stably and instantly without relying on unstable wireless communication for transmission and reception of information between a control terminal for controlling entry and exit and a personal terminal.
[0018] Other problems, structures, and effects than those described above will become apparent from the following description of the embodiments. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] Figure 1 This is a schematic diagram showing an example of the overall configuration of an access management system including a control terminal, a personal terminal, and an information management device in a building according to an embodiment of the present invention.
[0020] Figure 2 This is a diagram showing a schematic configuration of a QR code reader and a schematic configuration of a personal terminal according to an embodiment of the present invention.
[0021] Figure 3 This is a block diagram showing a hardware configuration example of a control terminal according to one embodiment of the present invention.
[0022] Figure 4 This is a block diagram showing a hardware configuration example of an information management device (data center) according to one embodiment of the present invention.
[0023] Figure 5 This is a block diagram showing a hardware configuration example of a personal terminal according to one embodiment of the present invention.
[0024] Figure 6 This is a diagram showing an example of the data structure of the random number issuance history area of the control terminal according to one embodiment of the present invention.
[0025] Figure 7 It is a diagram showing an example of the data structure of the pass permission list recording area of the control terminal according to one embodiment of the present invention.
[0026] Figure 8 This is a diagram showing an example of the data structure of a personal information recording area of an information management device (data center) according to one embodiment of the present invention.
[0027] Fig. 9 This is a diagram showing an example of the data structure of a pass permission list recording area of the information management device (data center) according to one embodiment of the present invention.
[0028] Fig.10 This is a diagram showing an example of the data structure of the QR code information area of the personal terminal according to one embodiment of the present invention.
[0029] Fig.11 This is a sequence diagram showing an example of the overall operation of the access management system according to one embodiment of the present invention.
[0030] Fig.12 This is a flowchart showing a processing example of the pass permission list creation unit of the information management device according to one embodiment of the present invention.
[0031] Fig.13 This is a flowchart showing a processing example of the personal terminal communication unit of the information management device according to one embodiment of the present invention.
[0032] Fig.14 This is a flowchart showing a processing example of a random number generator of a control terminal according to one embodiment of the present invention.
[0033] Fig.15 This is a flowchart showing a processing example of a QR code generating unit of a personal terminal according to one embodiment of the present invention.
[0034] Fig.16 This is a flowchart showing a processing example of a QR code authentication unit of a control terminal according to one embodiment of the present invention.
[0035] Description of Reference Numerals
[0036] 1…Building (building facilities), 2…Control terminal, 3…Communication device, 4…Control device, 5…Random number generation unit, 6…QR code output unit, 7…QR code authentication unit, 8…Control terminal DB, 8A…Random number issuance history area, 8B…Pass permission list recording area, 9…Proprietary unit (1), 9A…QR code reader, 9B…Electronic lock, 10…Proprietary unit (2), 10A…QR code reader, 10B…Electronic lock, 20…Information management device (data center), 21…Communication device, 22…Control device, 23…Pass permission list creation unit, 24…Personal terminal communication unit, 25…Enterer information storage area, 25A…Enterer master information area, 25B…Personal information recording area , 25C…Pass permission list recording area, 30…Personal terminal, 31…Communication device, 32…Control device, 33…Dedicated application, 34…QR code generation unit, 35…Personal terminal DB, 35A…QR code information area, 40…Entry and exit personnel information registration PC, 41…Communication device, 50…Entry and exit management system, N…Network line, PA1~PA2…QR code reader schematic structure, PB1~PB2…Personal terminal schematic structure, MA1~MA5…Random number issuance history area, MB1~MB5…Pass permission list recording area, MC1~MC6…Personal information recording area, MD1~MD7…Pass permission list recording area, ME1~ME5…QR code information area. DETAILED DESCRIPTION
[0037] Hereinafter, examples of the mode for implementing the present invention will be described with reference to the drawings. In this specification and the drawings, components having substantially the same function or structure are denoted by the same reference numerals, and repeated descriptions are omitted.
[0038] [Overall structure of access management system]
[0039] First, refer to Figure 1 The overall configuration of an access management system according to an embodiment of the present invention will be described.
[0040] Figure 1 This is a schematic diagram showing an overall configuration example of an access management system including control terminals and personal terminals in a building according to one embodiment of the present invention. The access management system 50 manages access to facilities (buildings, management areas, etc.) through the cooperation of control terminals 2 installed in facilities (buildings, management areas, etc.) where users enter and exit, personal terminals 30 carried by users, and information management devices 20 installed in data centers.
[0041] In the access management system 50, the access personnel information registration personnel register the access personnel information using the access equipment (e.g., QR code reader 9A, electronic lock 9B) managed by the facility 1 equipped with the access management equipment (hereinafter referred to as "building facility 1"). Thus, the access management system 50 allows the exit of the exclusive part of the building facility 1 only with the permission of the access personnel information registration personnel. Figure 1 In the example of FIG. 1 , an arbitrary floor (nth floor) of Building A is shown as Building Facility 1 .
[0042] The access management system 50 of the present embodiment can stably and instantly transmit information indicating that access is permitted to the QR code reader, and prevent a third party who is not permitted from entering or leaving from entering.
[0043] like Figure 1 As shown, in the access management system 50, each device in the building facility 1 in which the access device is installed is connected to the information management device 20 via the communication device 3 and the network line N forming a wide area network. For example, the access device is a control terminal 2, a dedicated part 9, and a dedicated part 10. The control terminal 2 installed in the common part includes a control device 4, a random number generation part 5, a QR code output part 6, a QR code authentication part 7, and a control terminal storage area 8 ("control terminal DB8" in the figure).
[0044] A QR code reader 9A and an electronic lock 9B connected to the control device 4 are provided on the door for entering and exiting the private section 9 (hereinafter, also referred to as "private section (1)") serving as the management partition. A QR code reader 10A and an electronic lock 10B connected to the control device 4 are provided on the door for entering and exiting the private section 10 (hereinafter, also referred to as "private section (2)").
[0045] The QR code reader 9A, 10A is a device that reads the QR code (registered trademark) held by the person entering and exiting the exclusive section 9, 10 and converts it into binary data. The QR code reader is an example of a two-dimensional code reader. In this embodiment, the QR code is used as the two-dimensional code, but a matrix type two-dimensional code or a stacked type two-dimensional code other than the QR code may also be applied.
[0046] The electronic locks 9B and 10B are locks installed at the boundaries of each management zone of the building facility 1. The electronic locks 9B and 10B are unlocked and locked according to unlocking and locking commands from the control terminal 2, thereby opening and closing the door and controlling the passage of people entering and leaving the management zone.
[0047] In addition, in the entry and exit management system 50 , the information management device 20 and the personal terminal 30 are connected via the network line N.
[0048] In addition, as for the access devices, a plurality of devices can be set in the building facility 1, such as 2 devices on the first floor of Building A and 6 devices on the second floor, and the number of access devices to be targeted varies depending on the system structure, the structure of the access devices, etc. In addition, as for the personal terminal 30, any personal terminal 30 that meets the requirements for importing an application corresponding to the access management system 50 can be set, and it is not restricted by the manufacturer, model, etc.
[0049] The building facility 1 has an access facility. In addition, the building facility 1 has a control terminal 2 for managing each device of the access facility and a communication device 3 connected to a network line N. The communication device 3 is used as a routing device.
[0050] The information management device 20 includes a communication device 21 connected to the network line N, a pass permission list creation unit 23, a personal terminal communication unit 24, and an entry and exit person information storage area 25 (hereinafter referred to as "entry and exit person information DB 25").
[0051] The personal terminal 30 includes a communication device 31 connected to the network line N, a dedicated application 33 , a QR code generation unit 34 , and a personal terminal storage area 35 (hereinafter referred to as “personal terminal DB 35 ”).
[0052] The entry and exit personnel information registration PC 40 is a client computer used by a registrant who registers the entry and exit personnel information to register the entry and exit personnel information in the information management device 20. The entry and exit personnel information registration PC 40 uses a personal computer or the like. The entry and exit personnel information input by the entry and exit personnel information registration PC 40 is sent to the information management device 20 via the communication device 41 and registered in the entry and exit personnel information DB 25. The communication device 41 has the same structure as the communication device 3.
[0053] [Control terminal]
[0054] Next, the control terminal 2 will be described in more detail.
[0055] The control device 4 in the control terminal 2 stores the permission list created by the pass permission list creation unit 23 of the information management device 20 in the control terminal DB 8 via the network line N and the communication device 3. In addition, the random number generated by the random number generation unit 5 is stored in the random number issuance history area 8A. In addition, the QR code image generated by the QR code output unit 6 is output to the screen of the QR code reader 9A. In addition, the built-in camera ( Figure 2 The QR code image obtained by the QR code reading camera PA2 is sent to the QR code authentication unit 7. In addition, when the electronic lock 9B is unlocked by accepting the result of the authentication judgment in the QR code authentication unit 7, an unlocking command is sent to the electronic lock 9B.
[0056] The random number generator 5 in the control terminal 2 generates a random number for each QR code reader to uniquely determine the QR code reader. The random number generator 5 compares the generated random number with the past issuance history in the random number issuance history area 8A, and if it is a random number that has not been used in the past, it is newly stored in the random number issuance history area 8A. If the same random number has already been stored in the random number issuance history area 8A, the random number generator 5 performs random number generation processing again.
[0057] The QR code output unit 6 (an example of a two-dimensional code output unit) in the control terminal 2 obtains the latest random number from the random number stored in the random number issuance history area 8A, and generates a QR code embedded with the random number information. The generated QR code image is output to the screen of the QR code reader 9A. The processing of the QR code output unit 6 is performed regularly to determine whether the number of times the random number used in the currently displayed QR code stored in the random number issuance history area 8A is used is 1, or whether the QR code is displayed for more than a specified time. Then, when it is determined that the number of times the random number used in the currently displayed QR code is used is 1 or the QR code is continuously displayed for more than a specified time, the QR code output unit 6 generates a QR code embedded with a new random number and displays it again on the QR code reader 9A.
[0058] The QR code authentication unit 7 (an example of a two-dimensional code authentication unit) in the control terminal 2 obtains the QR code displayed on the personal terminal 30 via the QR code reader 9A, and obtains the QR code generation date and time, the random number, and the QRID (details will be described later). Then, the QR code authentication unit 7 compares the QR code generation date and time with the current time, and determines whether the elapsed time from the QR code generation date and time is within the fixed time set in the access management system 50.
[0059] If the determination condition is satisfied in this time determination, the QR code authentication unit 7 compares the acquired random number with the random number issuance history area 8A to determine whether there is a history of issuance as a random number for the QR code reader 9A and whether the number of uses is 0.
[0060] When the determination condition is satisfied in the random number determination, the QR code authentication unit 7 next determines whether the acquired QRID permits the passage of the QR code reader 9A in the passage permission list recording area 8B.
[0061] If the determination condition is satisfied in the QR ID determination, the QR code authentication unit 7 permits the passage of the QR code reader 9A and transmits an unlock command to the electronic lock 9B.
[0062] The control terminal DB 8 has a random number issuance history area 8A and a pass permission list recording area 8B. For details of the random number issuance history area 8A and the pass permission list recording area 8B, refer to Figure 6 as well as Figure 7 This will be described later.
[0063] [Information management device]
[0064] Next, the information management device 20 will be described in more detail.
[0065] The control device 22 in the information management device 20 stores the information of the person entering and leaving the room input by the person entering and leaving information registration PC 40 in the person entering and leaving main information area 25A via the network line N and the communication device 21. In addition, after the person entering and leaving the room information is stored in the person entering and leaving main information area 25A, the pass list created by the pass list creation unit 23 is stored in the pass list recording area 25C. In addition, after the pass list is stored in the pass list recording area 25C, the personal terminal is determined from the personal information recording area 25B, and the personal terminal communication unit 24 sends the QRID stored in the pass list recording area 25C to the target personal terminal 30 via the network line N and the communication device 21.
[0066] The pass list creation unit 23 associates the information of the person entering and leaving the entry and exit (e.g., name) with the entry and exit information (e.g., entry and exit date and time) for the entry and exit information registered from the entry and exit information registration PC 40, and issues a unique random number as a QRID in the entry and exit management system 50 in order to uniquely retrieve the information. The information in which the issued QRID is associated with the entry and exit information is stored in the pass list recording area 25C.
[0067] The personal terminal communication unit 24 transmits the QRID recorded in the pass permission list recording area 25C to the target personal terminal.
[0068] The entry and exit personnel information DB 25 includes an entry and exit personnel main information area 25A, a personal information recording area 25B, and a pass permission list recording area 25C. In the entry and exit personnel main information area 25A, information related to the entry and exit personnel, information related to the entry and exit plan, information related to the building facilities, etc. are registered and stored as the entry and exit personnel main information. In addition, for details of the personal information recording area 25B and the pass permission list recording area 25C, refer to Figure 8 and Fig. 9 This will be described later.
[0069] [Personal Terminal]
[0070] Next, the personal terminal 30 will be described in more detail.
[0071] The personal terminal 30 includes a communication device 31, a control device 32, a dedicated application 33, a QR code generation unit 34, and a personal terminal storage area 35 ("personal terminal storage area 35" in the figure). Hereinafter, the dedicated application is simply referred to as a dedicated application.
[0072] The control device 32 in the personal terminal 30 stores the QRID information sent from the information management device 20 in the QR code information area 35A via the network line N and the communication device 21. In addition, the control device 32 obtains a random number from the QR code image displayed by the QR code reader of the building facility 1 read by the QR code generation unit 34. Then, the control device 32 generates a QR code with a random number embedded based on the QR code image, and displays it on the screen PB2 of the personal terminal 30.
[0073] The QR code generation unit 34 (an example of a two-dimensional code generation unit) obtains a random number from a QR code image displayed on a QR code reader of the building facility 1. Then, the QR code generation unit 34 generates a QR code using the obtained random number, the QRID stored in the QR code information area 35A, and the current time obtained from the personal terminal 30, and displays it on the screen PB2 of the personal terminal 30.
[0074] The personal terminal DB 35 has a QR code information area 35A that stores the QR ID as QR code information. Fig.10 This will be described later.
[0075] [Schematic structure of QR code reader and personal terminal]
[0076] Next, refer to Figure 2 The schematic configuration of a QR code reader and a personal terminal will be described.
[0077] Figure 2 The schematic configuration of the QR code readers 9A and 10A and the schematic configuration of the personal terminal 30 are shown. Figure 2 The QR code reader 9A, 10A shown on the left is configured to include a QR code display unit PA1 and a QR code reading camera PA2. The QR code display unit PA1 displays a QR code image embedded with a random number for uniquely identifying the QR code reader. In addition, the QR code reading camera PA2 is located at the lower part of the QR code display unit PA1 and is adjusted so that the screen PB2 of the personal terminal 30 can be within the field of view of the QR code reading camera PA2 when facing a normal personal terminal 30 (such as a smart phone).
[0078] Figure 2The personal terminal 30 shown on the right is configured to include a camera PB1 and a screen PB2. The camera PB1 is a so-called built-in camera and is provided on the same surface as the screen PB2. When the QR code reader 9A, 10A is placed directly opposite the personal terminal 30, the camera PB1 is generally opposite to the QR code display unit PA1, and the screen PB2 is opposite to the QR code reading camera PA2. Figure 2 The example on the right is a common mobile terminal (e.g., a smartphone, a tablet terminal), but any structure having a camera PB1 and a screen PB2 is acceptable, and the up-down relationship is not limited. For example, even if the camera PB1 is provided below the screen PB2, the terminal can be viewed as the same as the mobile terminal by turning the terminal upside down. Figure 2 Same as the right picture.
[0079] Next, refer to Figure 3 to Figure 5 The hardware configurations of the control terminal 2 , the information management device 20 , and the personal terminal 30 will be described.
[0080] [Hardware structure of control terminal]
[0081] Figure 3 Yes means Figure 1 A block diagram of an example of the hardware configuration of the control terminal 2 is shown. Figure 2 The hardware configuration example of the control terminal 2 shown corresponds to a computer and can be realized using a personal computer or the like.
[0082] The control terminal 2 includes a CPU (Central Processing Unit) 110 connected to a system bus, a ROM (Read Only Memory) 120, a RAM (Random Access Memory) 130, and a nonvolatile storage device 140. In addition, it includes a network interface (referred to as "network IF" in the figure) 150 for communicating with external devices.
[0083] The CPU 110 reads the program code of the software that realizes the functions of each part of the control terminal 2 from the ROM 120 and executes it. Variables generated during the operation process performed in the control terminal 2 are temporarily written to the RAM 130. The CPU 110 realizes various functions of the control terminal 2 by executing the program code recorded in the ROM 120.
[0084] The network interface 150 may be a NIC (Network Interface Card), for example, and various data can be transmitted and received between devices via a LAN (Local Area Network) or a dedicated line connected to a terminal of the NIC. The network interface 150 is connected to the communication device 3 in the building facility 1 .
[0085] The nonvolatile storage device 140 is composed of a nonvolatile storage device such as a hard disk or an SSD (Solid State Drive), and semi-permanently stores and saves programs and data required for the CPU 110 to operate. Figure 1 Control terminal DB8.
[0086] The control terminal 2 is provided with an input unit 160 and an output unit 170 as needed. The reading results of the corresponding QR code readers 9A and 10A, the sensor signals indicating the opening and closing states of the electronic locks 9B and 10B, etc. are input to each input unit 160. In addition, the output unit 170 outputs control signals for the corresponding QR code readers 9A and 10A and the electronic locks 9B and 10B, respectively.
[0087] [Hardware structure of information management device (data center)]
[0088] Figure 4 Yes means Figure 1 2 is a block diagram of an example of a hardware configuration of the information management device 20 (data center) shown. Figure 4 The hardware configuration of the information management device 20 shown is an example of a computer, and can be realized using a personal computer or the like.
[0089] The information management device 20 also includes a CPU 210, a ROM 220, a RAM 230, and a nonvolatile storage device 240 (equivalent to a memory card) connected to the system bus. Figure 1 In addition, the information management device 20 has a network interface (represented as "network IF" in the figure) 250 for communicating with external devices. The communication device 21 is implemented through the network interface 250. These structures and functions are similar to those in Figure 3 The hardware structure and function of the control terminal 2 described in the above are the same, so the description is omitted. However, the information management device 20 can delete the same Figure 3 The input unit 160 and the output unit 170 shown have equivalent structures.
[0090] [Personal terminal hardware structure]
[0091] Figure 5 Yes means Figure 12 is a block diagram of an example of a hardware configuration of the personal terminal 30 shown in FIG. Figure 5 The hardware configuration of the personal terminal 30 shown is an example of a computer and can be realized using a personal computer or the like.
[0092] The personal terminal 30 also includes a CPU 310, a ROM 320, a RAM 330 and a non-volatile storage device 360 (equivalent to Figure 1 The personal terminal DB 35 is a personal terminal of the personal terminal. The CPU 310 executes the program code of the dedicated application 33 recorded in the ROM 320 to realize various functions of the personal terminal 30. In addition, the personal terminal 30 has a network interface (represented as "network IF" in the figure) 370 for communicating with external devices. The communication device 31 is realized by the network interface 370. These structures and functions are similar to those in Figure 3 The hardware structure and function of the control terminal 2 described in are the same as those of the control terminal 2 described in , so the description is omitted.
[0093] Furthermore, the personal terminal 30 includes a display device 340 and an input device 350. The display device 340 is a display panel such as a liquid crystal display, and displays a GUI (Graphical User Interface) screen, the result of processing performed by the CPU 310, and the like. The input device 350 uses a touch panel, a pointing device such as a mouse, a keyboard, and the like, and the user can operate the input device 350 to input information and instructions. The input device 350 generates an input signal corresponding to the user's operation and supplies it to the CPU 310. In addition, the control terminal 2 and the information management device 20 may also include a display device 340 and an input device 350.
[0094] Next, information (table) stored in the storage area (DB) included in each of the control terminal 2 , the information management device 20 , and the personal terminal 30 will be described.
[0095] [Random number issuance history area]
[0096] Figure 6 The following is an example of the data structure of the random number issuance history area 8A of the control terminal 2. The random number issuance history area 8A is a table structure, and its components include a number (No.) MA1, issuing QR code reader MA2, random number MA3, issuance time MA4, and usage count MA5. Figure 6 The table shown is called an entry and exit time recording area table.
[0097] The number (No.) MA1 indicates the order of the records in the entry and exit time recording area table.
[0098] The issuing QR code reader MA2 indicates information (identifier or name) that uniquely identifies the QR code reader that issued the random number. For example, QR1 in the figure indicates the QR code reader 9A, and QR2 indicates the QR code reader 10A.
[0099] The random number MA3 is composed of characters, symbols, etc., and indicates the content of the random number. The information contained in the random number, such as the number of digits and the type of characters, is arbitrary. In addition, the random number is unique within the facility where the access device is installed.
[0100] The issuance time MA4 indicates the date and time when the random number was issued.
[0101] The number of uses MA5 indicates the number of times the random number has been used.
[0102] When the random number generation unit 5 issues a random number, the issued QR code reader MA2, the random number MA3, the issue time MA4, and the number of times of use MA5 are newly stored.
[0103] [Pass Permit List Record Area]
[0104] Figure 7 The data structure example of the pass list recording area 8B of the control terminal 2 is shown. The pass list recording area 8B is a table structure, and as its components, a number (No.) MB1, a QRID MB2, a pass QR reader MB3, an entry start date and time MB4, and an entry end date and time MB5 are set. Figure 7 The table shown is called the Pass List Record Area Table.
[0105] Number (No.) MB1 indicates the order of recording the records in the pass permission list recording area table.
[0106] QRID MB2 indicates information (identifier) for uniquely identifying the QR code.
[0107] The pass-permitted QR reader MB3 indicates information (identifier or name) that uniquely identifies the QR code reader that has permitted the pass.
[0108] The entry and exit start date and time MB4 indicates the date and time when the person entering and exiting starts entering and exiting.
[0109] The entry and exit end date and time MB5 indicates the date and time when the person entering and exiting ends his or her entry and exit.
[0110] When the pass list recording area 25C of the information management device 20 is updated, the QRID MB2, the pass QR reader MB3, the entry / exit start date and time MB4, and the entry / exit end date and time MB5 are newly stored in the pass list recording area 8B.
[0111] [Personal information recording area]
[0112] Figure 8 The following is an example of the data structure of the personal information recording area 25B of the information management device 20 (data center). The personal information recording area 25B is a table structure, and its components include a number (No.) MC1, a name MC2, a QRID MC3, a personal terminal IP address MC4, an email address MC5, and a personal terminal ID MC6. Figure 8 The form shown is called the Personal Information Record Area Form.
[0113] The number (No.) MC1 indicates the order in which the records in the personal information recording area table are recorded.
[0114] The name MC2 indicates the name of the person entering or leaving.
[0115] QRID MC 3 indicates information (identifier) for uniquely identifying a QR code.
[0116] The personal terminal IP address MC4 indicates an IP address used by the personal terminal 30 for communication.
[0117] The mail address MC5 indicates the address of the electronic mail used by the personal terminal 30. The mail address MC5 is not an essential component.
[0118] The personal terminal ID MC 6 indicates information (identifier) for uniquely identifying the personal terminal 30. For example, a unique MAC (Media Access Control) address assigned to each network interface is used as the personal terminal ID.
[0119] The personal terminal IP address MC4, the mail address MC5, and the personal terminal ID MC6 are stored in advance in the personal information recording area 25B, and the QRID MC3 is newly stored after being registered as the in-and-out person information.
[0120] [Pass Permit List Record Area]
[0121] Fig. 9 This is an example of the data structure of the access permission list recording area 25C of the information management device 20 (data center). The access permission list recording area 25C is a table structure, and its components include the number (No.) MD1, access permission building MD2, building IP address MD3, QRID MD4, access permission QR reader MD5, entry and exit start date and time MD6, and entry and exit end date and time MD7. Fig. 9 The table shown is called the Pass List Record Area Table.
[0122] After the entry and exit personnel information is registered, the corresponding access permit building MD2, building IP address MD3, QRID MD4, access permit QR reader MD5, entry and exit start date and time MD6, and entry and exit end date and time MD7 are newly stored.
[0123] [QR code information area]
[0124] Fig.10 The data structure example of the QR code information area 35A of the personal terminal 30 is shown. The QR code information area 35A is a table structure, and as its components, a number (No.) ME1, a QRID ME2, a pass permission QR reader ME3, an entry start date and time ME4, and an entry end date and time ME5 are set. Fig.10 The form shown is called the QR Code Information Area Form.
[0125] The QR code information area table number (No.) ME1, QRID ME 2, access permission QR reader ME3, access start date and time ME4 and access end date and time ME5 and the access permission list record area table ( Figure 7 ) are the same, so their description is omitted.
[0126] In this way, the number (No.) ME1, QRID ME2, access permission QR reader ME3, entry and exit start date and time ME4, and entry and exit end date and time ME5 are newly stored.
[0127] [Overall operation of the access control system]
[0128] Next, refer to Fig.11 The overall operation of the entry and exit management system 50 will be described.
[0129] Fig.11 1 is a sequence diagram showing an example of the overall operation of the access management system 50. Fig.11 The content of the description is an outline of the overall operation of the access management system 50 .
[0130] First, as a prerequisite, the person registering the information of people entering and leaving operates the PC 40 for registering the information of people entering and leaving to send information such as the people entering and leaving and the reservation of passage to the information management device 20 of the data center, so as to authorize the authentication result in advance in the control terminal 2 (authentication device) installed at the door where the person wants to enter and exit.
[0131] The information management device 20 associates the information of the person entering and exiting, the entry and exit equipment allowed to enter and exit, the date and time information of the permitted entry and exit (valid date and time), etc., and sets them into a pass list table, and stores them in the entry and exit information DB25. At this time, the information management device 20 assigns an ID (hereinafter referred to as "QRID") that can uniquely identify a series of information (marked as "pass mode" in the figure) stored in the pass list table, and saves it in the pass list table (S1). At the same time, the information of the pass list table (QRID, pass mode) is also sent to the control terminal 2 set in the building facility 1 where the person entering and exiting enters and exits (S2), and is stored in the control terminal DB8 in the control terminal 2 (S3). The information of the building facility 1 where the entry and exit equipment is set is stored in advance in the information management device 20. The control terminal 2 generates random numbers regularly (S4).
[0132] After confirming that the above-mentioned entry and exit personnel information is stored, the information management device 20 takes action and sends the information (pass mode) of the pass permission list table including the QRID, etc. to the dedicated application 33 of the personal terminal 30 (S5). The information notified from the information management device 20 to the personal terminal 30 includes at least the information of the QRID and the effective date and time. The dedicated application 33 of the personal terminal 30 stores the above-mentioned information sent in the personal terminal DB 35 in the personal terminal 30 (S6). At this time, it is assumed that the user of the personal terminal 30 has registered the user of the dedicated application 33 in advance.
[0133] If the dedicated application 33 is activated before the person entering or leaving enters, the camera PB1 built into the personal terminal 30 waits in an activated state. At this time, a QR code embedded with a random number that can uniquely identify the QR code reader is displayed on the screen of the QR code reader (e.g., QR code reader 9A) installed in the door of the object (S8). After the person entering or leaving activates the dedicated application 33 and confirms that the camera PB1 is activated, the person performing the random number acquisition operation on the personal terminal 30 can read the QR code displayed on the QR code reader through the camera PB1 (S7). That is, the personal terminal 30 is directly facing the QR code reader.
[0134] After facing each other, the personal terminal 30 uses the camera PB1 to read the QR code displayed on the QR code reader and obtain a random number (S9). In addition, the control terminal 2 may also display the QR code on the QR code reader after detecting that the personal terminal 30 faces each other.
[0135] The dedicated application 33 generates a QR code for entry and exit authentication based on information obtained by combining the random number obtained from the QR code of the QR code reader, the QRID received in advance from the information management device 20, and the QR code generation time (current time), and displays it on the screen of the personal terminal 30 (S10). Next, the QR code reader reads the QR code displayed on the personal terminal and obtains the random number, QRID, and QR code generation time (S11).
[0136] Finally, the QR code reader obtains information such as a random number and QRID by reading the QR code displayed on the personal terminal 30, and compares it with the access permission list table pre-stored in the control terminal 2 of the building facility 1. If it is determined that access is permitted, the electronic lock 9B of the target door is unlocked (S12).
[0137] For example, the control terminal 2 compares the current time with the obtained QR code generation time to determine whether the time difference between the two is within a predetermined time. If it is within a certain time, the control terminal 2 will then compare the random number obtained from the QR code with the issuance history of the random number recorded in the control terminal 2 to determine whether it is consistent with the random number displayed by the QR code reader and has not been used. If the random number is consistent and has not been used, the obtained QRID is compared with the access permission list table recorded in the control terminal 2 to determine whether the QRID permits access to the object's access device. If access is permitted, the door is unlocked. At this time, the random number stores the number of times it has been used. The same random number is used twice and cannot be used.
[0138] In the above series of authentication actions, by using the random number that determines the QR code reader, the authentication information such as the QR ID that determines the person entering and leaving, when sending and receiving between the control terminal 2 and the personal terminal 30, it can be performed stably and instantly while ensuring security. In this embodiment, since the authentication process is completed during the passage when the person entering and leaving holds the personal terminal 30 showing the QR code to the QR code reader, the authentication operation of entering and leaving is relatively easy.
[0139] Below, refer to Figure 12 to Figure 16 Each process of the information management device 20, the control terminal 2, and the personal terminal 30 constituting the entry and exit management system 50 will be described.
[0140] [Registration and processing of information of people entering and leaving]
[0141] Here, a description will be given of a process flow in which a registrant who registers arbitrary in-and-out person information registers the in-and-out person information through an arbitrary in-and-out person information registration PC 40 connected to the network line N and transmits necessary information to the personal terminal 30 .
[0142] (Processing by the Pass Permit List Creation Department)
[0143] Fig.12 It is a flowchart showing a processing example of the permission list creation unit 23 of the information management device 20.
[0144] according to Fig.12 The personal information (such as name) of the person entering and leaving and the information of the destination (such as the information of the card reader (CR) corresponding to the door to be passed) are stored in advance (step SA1). When the above-mentioned information of the person entering and leaving is stored, the processing of the pass permission list making unit 23 is started.
[0145] The pass list creation unit 23 determines whether the entry and exit person information to be stored in the entry and exit person information DB 25 is complete (step SA2). Here, if the entry and exit person information is complete ("Yes" in step SA2), the pass list creation unit 23 issues a unique random number, i.e., QRID, to each data of one entry and exit person (step SA3), and stores the entry and exit person information and QRID in MD2 to MD7 of the pass list recording area 25C and MC3 of the personal information recording area 25B (step SA4).
[0146] At this time, if the entry and exit information is defective, such as the entry and exit information is not complete ("No" in step SA2), the pass list creation unit 23 performs a predetermined error notification (step SA5). The issuance of the QRID and the storage of the entry and exit information and the QRID information after step SA2 (steps SA3 and SA4) are not performed.
[0147] In addition, the QRID issued in step SA3 becomes a unique value in the entry and exit management system 50. By using the QRID, it is possible to uniquely determine when and who is allowed to enter and exit where. In addition, MC2, MC4 to MC6 of the personal information recording area 25B are pre-entered by performing user registration from the dedicated application 33 installed in the personal terminal 30 in the personal terminal registration operation.
[0148] The permission list creating unit 23 notifies the personal terminal communication unit 24 that step SA4 or SA5 has been completed.
[0149] (Processing of the personal terminal communication unit)
[0150] Fig.13 This is a flowchart showing a processing example of the personal terminal communication unit 24 of the information management device 20.
[0151] exist Fig.12After the processing of step SA4, the personal terminal communication unit 24 of the information management device 20 determines whether the same QRID exists in the pass permission list recording area 25C and the personal information recording area 25B (step SB1).
[0152] Then, if the same QRID exists ("Yes" in step SB1), the personal terminal communication unit 24 determines whether the personal terminal IP address MC4 and the personal terminal ID MC6 are stored in the record of the target QRID in the personal information recording area 25B (step SB2). Then, if the above information is stored ("Yes" in step SB2), the personal terminal communication unit 24 sends the QRID and other information to the personal terminal IP address MC4 (step SB3).
[0153] At this time, in step SB1, when the same QRID does not exist in the pass permission list recording area 25C and the personal information recording area 25B ("No" in step SB1), the personal terminal communication unit 24 performs a predetermined error notification and does not execute subsequent processing (here steps SB2 to SB3) (step SB5).
[0154] In step SB2, when the personal terminal IP address MC4 and the personal terminal ID MC6 do not exist in the personal information recording area 25B (No in step SB2), the personal terminal communication unit 24 performs a predetermined error notification and does not execute the subsequent processing (here, step SB3) (step SB4).
[0155] [Processing of the random number generation unit]
[0156] Here, the flow of processing from generating a QR code using a random number issued for each QR code reader connected to the control terminal 2 to displaying the QR code on the screen of the QR code reader will be described.
[0157] Fig.14 This is a flowchart showing a processing example of the random number generator 5 of the control terminal 2.
[0158] First, the random number generator 5 starts the random number generation process when a predetermined period (e.g., 1 minute) is reached ("Yes" in step SC1) or when the random number has been used ("Yes" in step SC2) (details will be described later). That is, even when the specified period is not reached ("No" in step SC1), the random number generation process is started when the random number has been used ("Yes" in step SC2). On the other hand, when the specified period is not reached ("No" in step SC1) or when the random number has not been used up ("No" in step SC2), the random number generation process is not started.
[0159] After the processing of steps SC1 and SC2, the random number generating unit 5 issues a new random number to each QR code reader (step SC3). The random number generated in step SC3 is compared with the random number issuance history area 8A (step SC4). If the same random number exists in the random number issuance history area 8A ("No" in step SC4), the processing returns to step SC3.
[0160] Then, if there is no identical random number ("Yes" in step SC4), the random number generator 5 stores the newly generated random number and associated information (issuing QR code reader, issuing time) in MA2 to MA4 of the random number issuance history area 8A, and stores "0" in the number of times used MA5 (step SC5). Next, the random number generator 5 generates a QR code using the newly generated random number, sends it to the target QR code reader (here, the QR code reader 9A), and outputs it to the screen (step SC6).
[0161] [QR code generation and authentication]
[0162] Next, refer to Fig.15 and Fig.16 Here, the process flow of the personal terminal 30 and the control terminal 2 is described, which obtains a random number from a QR code displayed by a QR code reader on site (building facility 1) and generates an entry and exit QR code that can only be authenticated by the target QR code reader.
[0163] (Processing of QR code generation unit)
[0164] Fig.15 This is a flowchart showing a processing example of the QR code generation unit 34 of the personal terminal 30 .
[0165] First, in order to read the QR code on the screen of the QR code reader (here, QR code reader 9A) installed at the door of the facility to be entered or exited, the QR code generating unit 34 executes the dedicated application 33 and confirms that the camera PB1 is activated, and then faces the personal terminal 30 to the QR code reader 9A (step SD1).
[0166] After the alignment, the QR code generation unit 34 reads the QR code of the QR code reader 9A through the camera PB1 and obtains a random number (step SD2). Then, the QRID stored in the QR code information area 35A in advance, the random number obtained in step SD2, and the current time obtained from the personal terminal 30 (hereinafter also referred to as "QR code generation time") are combined to generate a QR code for entry and exit authentication (step SD3).
[0167] The QR code generation unit 34 immediately displays the QR code generated in step SD3 on the screen of the personal terminal 30 (step SD4). Next, when the QR code generation unit 34 detects that a preset fixed time (e.g., 30 seconds) has passed since the QR code was generated, or a manual end operation (e.g., end of the dedicated application) is performed, the display of the QR code is terminated (step SD6).
[0168] After the processing of step SD4, the person entering or leaving lifts the personal terminal 30 toward the QR code reader (SD5). The processing of steps SD2 to SD4 is performed while the personal terminal 30 is facing the QR code reader 9A. In essence, the personal terminal 30 remains facing the QR code reader 9A (lifted state).
[0169] (Processing of QR code authentication unit)
[0170] Fig.16 1 is a flowchart showing a processing example of the QR code authentication unit 7 of the control terminal 2.
[0171] In passing Fig.15 While the QR code for entry and exit authentication is displayed on the screen of the personal terminal 30 in step SD4, when it is read by the QR code reader 9A (step SE1), the QR code authentication unit 7 obtains the QR code generation time, random number, and QRID from the QR code for entry and exit authentication (step SE2).
[0172] Next, the QR code authentication unit 7 determines the QR code generation time (step SE3 ), and when it is determined that the QR code generation time is within a preset time (eg, 30 seconds) (“Yes” in step SE3 ), the process proceeds to step SE4 .
[0173] Next, the QR code authentication unit 7 determines whether the random number obtained from the portable terminal 60 exists in the random number issuance history area 8A (random number MA3) and whether the number of times MA5 is used is "0" (step SE4). Then, if it is determined that the obtained random number exists and has not been used ("Yes" in step SE4), the process proceeds to step SE6.
[0174] Next, the QR code authentication unit 7 determines whether the QRID acquired from the mobile terminal 60 exists in the pass permission list recording area 8B (QRID MB2) and whether the pass permission to pass through the target gate is obtained (pass permission QR reader MB3) (step SE6).
[0175] In addition, if it is determined to be "yes" in step SE4, that is, if it is determined that the obtained random number has been used, the QR code authentication unit 7 updates the number of uses MA5 of the random number issuance history area 8A to "1", and processes in a manner such that the random number generation unit 5 issues a random number again (step SE5). As a result, the QR code output unit 6 of the QR code reader 9A updates the QR code displayed in the QR code reader 9A.
[0176] Next, when the obtained QRID is permitted to pass through the door connected to the QR code reader 9A where the personal terminal 30 is raised ("Yes" in step SE6), the QR code authentication unit 7 unlocks the electronic lock (here, the electronic lock 9B) connected to the target door (step SE7).
[0177] On the other hand, if more than a certain time has passed since the QR code was generated ("No" in step SE3), or the obtained random number is illegal or has been used ("No" in step SE4), or the QRID is illegal or not allowed to pass ("No" in step SE6), a predetermined error notification is performed and the QR code authentication unit 7 does not unlock the electronic lock 9B (step SE8).
[0178] Thus, the QR code authentication unit 7 of this embodiment determines whether a random number has been issued and not used, has not been issued, or has been issued and used by referring to the random number issuance history recording the number of times the random number has been used.
[0179] In this way, the QR code authentication unit 7 assumes the judgment results of multiple modes, and when it is judged that the random number has been used, it instructs the random number generation unit 5 to reissue the random number. Therefore, the random number is reissued, and the QR code embedded with the random number is also updated. Therefore, it is possible to prevent a reduction in security.
[0180] [Specific example]
[0181] Next, refer to Figure 1 as well as Figure 6 to Figure 10 , a specific example is given to illustrate the operation of the entry and exit management system 50.
[0182] For example, it is assumed that there is a person A who wants to enter and exit the private part (1) of the building facility 1 from "09:00 on 2021 / 02 / 01" to "18:00 on 2021 / 02 / 01". At this time, it is assumed that the person A has completed the pre-registration operation of the personal terminal 30 (such as a smartphone) in advance. In addition, in order to grant the person A access permission to the private part (1), the person information registration personnel registers the personal information and access information of the person A from the person information registration PC 40 in the information management device 20 in advance. After completing the above-mentioned person information registration, in the pass permission list creation unit 23 of the information management device 20, a new unique QRID (here 789789789) is issued for the information of the newly registered person A. Then, the pass list creation unit 23 stores the entry and exit person information and the QRID (789789789) in the personal information recording area 25B (MC2 to MC6) and the pass list recording area 25C (MD2 to MD7).
[0183] At this time, part of the information (MD4 to MD7) of the pass list recording area 25C is also stored in the pass list recording area 8B (MB2 to MB5) in the control terminal 2 of the building facility 1. Next, in the personal terminal communication unit 24, information such as QRID (789789789) is sent to the personal terminal IP address (here, 789.789.789.789) of the personal information recording area 25B.
[0184] Next, assume that the person A enters the dedicated section (1) at 10:00 on 2021 / 02 / 01. First, the person A sets the dedicated application 33 of the personal terminal 30 to the execution state, confirms that the camera PB1 is activated, and makes the QR code reader 9A face the personal terminal 30.
[0185] The personal terminal 30 obtains a random number (here, aBc789) dedicated to the QR code reader 9A by reading the QR code displayed on the QR code reader 9A. Then, the QR code generation unit 34 of the personal terminal 30 uses the random number (aBc789), the QR code generation time (here, 2021 / 02 / 01_10:00:30) not shown, and the QRID (789789789) to generate a QR code for entry and exit authentication at the personal terminal 30 and display it on the screen.
[0186] Next, it is assumed that the QR code reader 9A reads the QR code for entry and exit authentication displayed by the personal terminal 30 held in front of it at "2021 / 02 / 01_10:00:40". At this time, in the QR code authentication unit 7 of the control terminal 2, since it is within the preset reading period for the QR code for entry and exit authentication (here set to 30 seconds), the QR code is determined to be valid.
[0187] Next, in the QR code authentication unit 7, the obtained random number (aBc789) exists in the random number issuance history area 8A, and the number of times used MA5 is also "0", so it is determined that the random number of the QR code displayed on the QR code reader 9A is read. Finally, the obtained QRID (789789789) exists in the pass permission list recording area 8B, and the pass permission to the QR code reader 9A was obtained within the reading time of "2021 / 02 / 01 10:00:40", so it is determined that the pass is permitted, and the electronic lock 9B is unlocked.
[0188] As described above, an entry and exit management system (entry and exit management system 50) involved in one embodiment of the present invention is a system that includes a control terminal (control terminal 2) having a management function for connected entry and exit equipment and an authentication function for entry and exit personnel, and a personal terminal (personal terminal 30) that maintains identification information of a QR code that identifies the entry and exit personnel and has a QR code reading and generation function.
[0189] The above-mentioned control terminal (control terminal 2) comprises: a random number generating unit (random number generating unit 5), which generates and issues a random number that can uniquely determine a two-dimensional code at a predetermined period; a two-dimensional code output unit (QR code output unit 6), which generates a two-dimensional code image embedded with the random number issued by the random number generating unit as information, and displays it on the screen of a two-dimensional code reader (QR code reader 9A, 10A) connected to the control terminal; and a two-dimensional code authentication unit (QR code authentication unit 7), which determines whether the random number read from the two-dimensional code image for entry and exit authentication displayed on the screen of the personal terminal is a random number generated by the two-dimensional code reader.
[0190] The personal terminal (personal terminal 30) includes a two-dimensional code generating unit (QR code generating unit 34) that generates a two-dimensional code image for entry and exit authentication in which a random number read from a two-dimensional code image displayed on a two-dimensional code reader is embedded as information, and displays the image on a screen.
[0191] In the access management system 50 of the present embodiment configured as above, the transmission and reception of information does not rely on unstable wireless communication, and the QR code reader and the personal terminal 30 facing each other transmit and receive information to each other via the QR code image. As a result, the control terminal 2 connected to the QR code reader can perform the authentication process of entry and exit stably and instantly.
[0192] Generally, QR code images are characterized by the ease of duplication, so there is a concern that the security of the QR code image used for access authentication may be reduced due to duplication. In contrast, in this embodiment, by reading the QR code image displayed on the QR code reader and the personal terminal respectively, the concern that the QR code image can be easily copied is overcome.
[0193] Only when the person entering or leaving the door actually performs the authentication operation in front of the target door, a QR code that can be used only once for the target door can be issued stably and instantly. Therefore, the authentication operation for entering or leaving is easy, and the security of entry and exit management when using QR codes can be ensured.
[0194] Furthermore, the present invention is not limited to the above-described embodiment, and various other application examples and modified examples are of course possible without departing from the gist of the present invention described in the scope of claims.
[0195] For example, the above-mentioned one embodiment is to explain the structure of the access management system in detail and specifically for easy understanding of the present invention, and is not limited to having all the structural elements described. In addition, other structural elements can also be added, replaced, or deleted for a part of the structure of each embodiment.
[0196] In addition, part or all of the above-mentioned structures, functions, processing units, etc. may be implemented by hardware, for example, by integrated circuit design, etc. As hardware, a broad processor device such as FPGA (Field Programmable Gate Array) or ASIC (Application Specific Integrated Circuit) may be used.
[0197] In addition, Figures 11 to 16 In the sequence diagrams and flowcharts shown, a plurality of processes may be executed in parallel or the order of the processes may be changed within a range that does not affect the process results.
Claims
1. An access management system, comprising: A control terminal having a management function for the connected access equipment and an authentication function for the access personnel; and a personal terminal having a QR code identification information for the access personnel and having a QR code reading and generating function, characterized in that: The control terminal has: A random number generation unit that generates and issues a random number that can uniquely determine the two-dimensional code at a predetermined period; a two-dimensional code output unit that generates a two-dimensional code image in which the random number issued by the random number generating unit is embedded as information, and displays the image on a screen of a two-dimensional code reader connected to the control terminal; and a two-dimensional code authentication unit that performs authentication using information read from a two-dimensional code image for entry and exit authentication displayed on a screen of the personal terminal, The personal terminal has: a two-dimensional code generating unit, which generates the two-dimensional code image for access authentication using a random number read from the two-dimensional code image displayed on the two-dimensional code reader, identification information of the two-dimensional code, and a time when the two-dimensional code image is generated, and displays the two-dimensional code image on a screen, The two-dimensional code authentication unit determines whether the time difference between the time when the two-dimensional code image for entry and exit authentication is generated and the current time is within a predetermined time, whether the random number read from the two-dimensional code image for entry and exit authentication is a random number generated for the two-dimensional code reader, and whether the identification information of the two-dimensional code read from the two-dimensional code image for entry and exit authentication is permitted to pass to the entry and exit device, thereby performing authentication.
2. The access management system according to claim 1, characterized in that: The random number that can uniquely determine the two-dimensional code is unique within a facility where an access device is installed.
3. The access management system according to claim 1, characterized in that: The two-dimensional code authentication unit instructs the random number generation unit to reissue a random number when determining that the random number has been used.
4. The access management system according to claim 1, characterized in that: The two-dimensional code authentication unit determines whether the random number is issued in the past and not used, not issued in the past, or issued in the past and used, by referring to the random number issuance history recording the number of times the random number has been used.
5. The access management system according to claim 1, characterized in that: When the person entering and exiting enters the facility where the entry and exit device is installed, the personal terminal obtains the random number generated by the control terminal by making the two-dimensional code reader face the personal terminal, and the two-dimensional code reader reads the two-dimensional code image generated by the personal terminal.
6. An access management method of an access management system, the access management system comprising: A control terminal, which has the management function of the connected access equipment and the authentication function of the access personnel; And a personal terminal, which holds identification information of a two-dimensional code for identifying people entering and leaving, and has a function of reading and generating a two-dimensional code, characterized in that: The access management method comprises: In the control terminal: A random number generation unit generates and issues a random number that can uniquely determine the two-dimensional code at a predetermined period; a process in which a two-dimensional code output unit generates a two-dimensional code image in which the random number issued by the random number generation unit is embedded as information, and displays the image on a screen of a two-dimensional code reader connected to the control terminal; and The two-dimensional code authentication unit performs authentication processing using information read from a two-dimensional code image for entry and exit authentication displayed on a screen of the personal terminal. In the personal terminal: The two-dimensional code generation unit generates the two-dimensional code image for access authentication using a random number read from the two-dimensional code image displayed on the two-dimensional code reader, identification information of the two-dimensional code, and the time when the two-dimensional code image is generated, and displays the two-dimensional code image on the screen. The two-dimensional code authentication unit determines whether the time difference between the time when the two-dimensional code image for entry and exit authentication is generated and the current time is within a predetermined time, whether the random number read from the two-dimensional code image for entry and exit authentication is a random number generated for the two-dimensional code reader, and whether the identification information of the two-dimensional code read from the two-dimensional code image for entry and exit authentication is permitted to pass through the entry and exit device, thereby performing authentication.
