Entry and exit management system and its authentication device, management device, portable terminal or mobile body, storage medium, and construction method
By using P2P network and blockchain technology to share and verify authentication information in the entry and exit management system, the problem that verification information in the existing system is easily tampered with is solved, and the security and reliability of the entry and exit management system are improved.
Patent Information
- Application Number
- CN202080028305.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2019-04-18
- Filing Date
- 2020-04-09
- Publication Date
- 2024-09-17
- Estimated Expiration
- 2040-04-09
AI Technical Summary
In the existing access management system, the permitted verification information and verification results are easily tampered with, leading to the possibility of illegal access.
Multiple nodes connected by P2P network are used to share and verify certification information through the blockchain, generate and record certification conditions, and ensure the validity and non-tamperability of certification information.
Through blockchain technology, the possibility of illegal access is suppressed and the security and reliability of authentication information are ensured.
Smart Images

Figure CN113748421B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to an entry-exit management system, an authentication device of the entry-exit management system, a management device of the entry-exit management system, a portable terminal of the entry-exit management system, a mobile body of the entry-exit management system, a data structure of entry-exit management data, an entry-exit management program, and a construction method of the entry-exit management system. Background Art
[0002] Patent document 1 discloses an example of an entry-exit management system. The entry-exit management system includes an electronic lock, an electronic lock control device, and an entry-exit management device. The electronic lock control device checks whether the verification information obtained from the storage medium in the entry-exit management device is the permitted verification information. The electronic lock control device stores the verification result. When the electronic lock control device stores the verification result of the verification information obtained from the storage medium, it controls the electronic lock based on the result.
[0003] Prior art literature
[0004] Patent Literature
[0005] Patent Document 1: Japanese Patent Application Publication No. 2013-91964 Summary of the invention
[0006] Problem that the invention aims to solve
[0007] However, in the access management system of Patent Document 1, the permitted verification information is separately maintained by the access management device. In addition, the verification results are separately maintained by a plurality of electronic lock control devices. Therefore, the permitted verification information and the verification results and other information used for verification may be tampered with. If the information used for verification is tampered with, illegal access may be made to the area where the access management system manages the access area.
[0008] The present disclosure is used to solve such a problem. The present disclosure provides an entry-exit management system that suppresses the possibility of illegal access, an authentication device, a management device, a portable terminal and a mobile body constituting the entry-exit management system, a data structure of entry-exit management data used in the entry-exit management system, an entry-exit management program executed in the entry-exit management system, and a construction method of the entry-exit management system.
[0009] Means used to solve problems
[0010] The entry and exit management system disclosed in the present invention includes a plurality of nodes connected via a P2P network, each of the plurality of nodes including: a storage unit storing a blockchain shared among the plurality of nodes; and a verification unit verifying the validity of a block added to the blockchain, at least any one of the plurality of nodes including a generation unit generating a block added to the blockchain, a management node that is any of the plurality of nodes including a registration unit recording an authentication condition including authentication information of an authentic passer-by in a block of the blockchain, an authentication node that is any of the plurality of nodes and is disposed in an area for passers-by to pass including: a reading unit reading the authentication information of the passer-by, and an authentication unit authenticating the passer-by when the node is designated as a node to be authenticated in the authentication condition recorded in the block of the blockchain and the authentication information read by the reading unit is included in the authentication condition.
[0011] The entry and exit management system disclosed in the present invention includes a plurality of nodes connected via a P2P network, each of the plurality of nodes including: a storage unit storing a blockchain shared between the plurality of nodes; and a verification unit verifying the validity of a block added to the blockchain, at least any one of the plurality of nodes including a generation unit generating a block added to the blockchain, a management node that is any of the plurality of nodes including a registration unit recording an authentication condition including authentication information of an authenticatable mobile body in a block of the blockchain, an authentication node that is any of the plurality of nodes and is disposed in an area for mobile bodies to pass includes: a reading unit reading the authentication information of the mobile body, and an authentication unit authenticating the mobile body when the node is designated as a node to be authenticated in the authentication condition recorded in the block of the blockchain and the authentication information read by the reading unit is included in the authentication condition.
[0012] The authentication device of the entry and exit management system disclosed in the present invention comprises: a storage unit, which stores a blockchain shared between multiple nodes connected through a P2P network; a verification unit, which verifies the validity of a block added to the blockchain; a reading unit, which reads authentication information of a passer-by; and an authentication unit, which authenticates the passer-by when a node is designated as a node to be authenticated in the authentication conditions of a block recorded in the blockchain by a management node that is any node among multiple nodes, and the authentication information read by the reading unit is included in the authentication conditions as authentication information of an authentic passer-by.
[0013] The authentication device of the entry and exit management system disclosed in the present invention comprises: a storage unit, which stores a blockchain shared between multiple nodes connected through a P2P network; a verification unit, which verifies the validity of a block added to the blockchain; a reading unit, which reads authentication information of a mobile body; and an authentication unit, which authenticates the mobile body when a management node, which is any node among multiple nodes, is designated as a node to be authenticated in the authentication conditions of a block recorded in the blockchain and the authentication information read by the reading unit is included in the authentication conditions as authentication information of an authenticatable mobile body.
[0014] The management device of the entry and exit management system disclosed in the present invention comprises: a storage unit, which stores a blockchain shared between multiple nodes connected through a P2P network; a verification unit, which verifies the validity of blocks added to the blockchain; and a registration unit, which records authentication conditions including authentication information of authenticated passers-by in blocks of the blockchain, and the authentication conditions specify an authentication node set in an area for passers-by to pass from any node among multiple nodes as a node that reads the authentication information and performs authentication.
[0015] The management device of the entry and exit management system disclosed in the present invention comprises: a storage unit, which stores a blockchain shared between multiple nodes connected through a P2P network; a verification unit, which verifies the validity of a block added to the blockchain; and a registration unit, which records an authentication condition containing authentication information of an authentic mobile body in a block of the blockchain, wherein the authentication condition specifies an authentication node set in an area for the mobile body to pass from any node among multiple nodes as a node that reads the authentication information and performs authentication.
[0016] The portable terminal of the access management system disclosed in the present invention has:
[0017] A storage unit that stores a blockchain shared among a plurality of nodes connected via a P2P network;
[0018] a verification unit that verifies the validity of the block added to the blockchain; and
[0019] A sending unit that sends authentication information read from an authentication condition to an authentication node via a wireless signal, wherein the authentication condition includes authentication information of a passer-by who can be authenticated, and the authentication condition specifies an authentication node set in an area for passers-by to pass from any node among a plurality of nodes as a node that reads the authentication information and performs authentication, and the authentication condition is recorded in a block of the blockchain by a management node that is any node among a plurality of nodes.
[0020] The mobile body of the access management system disclosed in the present invention comprises:
[0021] A storage unit that stores a blockchain shared among a plurality of nodes connected via a P2P network;
[0022] a verification unit that verifies the validity of the block added to the blockchain; and
[0023] A sending unit, which sends authentication information read from an authentication condition to an authentication node via a wireless signal, wherein the authentication condition includes its own authentication information, and the authentication condition specifies an authentication node set in an area for its own passage from any node among a plurality of nodes as a node for reading the authentication information and performing authentication, and the authentication condition is recorded in a block of the blockchain by a management node that is any node among a plurality of nodes.
[0024] The data structure of the entry and exit management data disclosed in the present invention includes a plurality of blocks linked in sequence, each of which includes data of a hash value calculated based on information of a block linked immediately before, and at least any one of the plurality of blocks includes authentication condition data, the authentication condition data having authentication information of a passer-by who can be authenticated, the authentication condition data specifying an authentication node set in an area for passers-by to pass through from a plurality of nodes connected through a P2P network as a node for reading the authentication information and performing authentication, the entry and exit management data is shared among the plurality of nodes and used for authentication of the passer-by by the authentication node based on the authentication condition data, wherein the authentication condition data is recorded in any block among the plurality of blocks by a management node which is any node among the plurality of nodes.
[0025] The data structure of the entry and exit management data disclosed in the present invention includes a plurality of blocks linked in sequence, each of which includes data of a hash value calculated based on information of a block linked immediately before, and at least any one of the plurality of blocks includes authentication condition data, the authentication condition data having authentication information of a mobile body that can be authenticated, the authentication condition data specifying an authentication node set in an area for the mobile body to pass through from a plurality of nodes connected via a P2P network as a node that reads the authentication information and performs authentication, the entry and exit management data is shared among the plurality of nodes and used for authentication of the mobile body by the authentication node based on the authentication condition data, wherein the authentication condition data is recorded in any block among the plurality of blocks by a management node that is any node among the plurality of nodes.
[0026] The entry and exit management program disclosed in the present invention enables the authentication device to perform the following steps: storing a blockchain shared between multiple nodes connected through a P2P network; verifying the appropriateness of a block added to the blockchain; reading authentication information of a passer-by; and authenticating the passer-by when the passer-by is designated as a node to be authenticated in the authentication conditions of a block recorded in the blockchain by a management node that is any of the multiple nodes, and the read authentication information is included in the authentication conditions as authentication information of a passer-by who can be authenticated.
[0027] The entry and exit management program disclosed in the present invention enables the authentication device to perform the following steps: storing a blockchain shared between multiple nodes connected through a P2P network; verifying the appropriateness of a block added to the blockchain; reading authentication information of a mobile body; and authenticating the mobile body when the mobile body is designated as a node to be authenticated in the authentication conditions of a block recorded in the blockchain by a management node that is any node among multiple nodes, and the read authentication information is included in the authentication conditions as authentication information of a mobile body that can be authenticated.
[0028] The entry and exit management program disclosed in the present invention enables the management device to perform the following steps: storing a blockchain shared between multiple nodes connected through a P2P network; verifying the appropriateness of a block added to the blockchain; and recording authentication conditions in a block of the blockchain, the authentication conditions including authentication information of a passer-by who can be authenticated, and specifying an authentication node set in an area for passers-by to pass from any node among multiple nodes as a node that reads the authentication information and performs authentication.
[0029] The entry and exit management program disclosed in the present invention enables the management device to perform the following steps: storing a blockchain shared between multiple nodes connected through a P2P network; verifying the appropriateness of a block added to the blockchain; and recording authentication conditions in a block of the blockchain, the authentication conditions including authentication information of an authenticatable mobile body, and specifying an authentication node set in an area for the mobile body to pass from any node among the multiple nodes as a node that reads the authentication information and performs authentication.
[0030] The entry and exit management program disclosed in the present invention enables the portable terminal to perform the following steps: storing a blockchain shared between multiple nodes connected through a P2P network; verifying the appropriateness of a block added to the blockchain; and sending authentication information read from an authentication condition to an authentication node via a wireless signal, wherein the authentication condition includes authentication information of a passer-by who can be authenticated, and the authentication condition specifies an authentication node set in an area for passers-by to pass through from any node among multiple nodes as a node that reads the authentication information and performs authentication, and the authentication condition is recorded in a block of the blockchain by a management node that is any node among multiple nodes.
[0031] The entry and exit management program disclosed in the present invention enables the mobile body to perform the following steps: storing a blockchain shared between multiple nodes connected through a P2P network; verifying the appropriateness of blocks added to the blockchain; and sending authentication information read from authentication conditions to the authentication node through a wireless signal, the authentication conditions including the authentication information of the mobile body, the authentication conditions specifying an authentication node set in the area for the mobile body to pass through from any node among the multiple nodes as a node that reads the authentication information and performs authentication, and the authentication conditions are recorded in a block of the blockchain by the management node as any node among the multiple nodes.
[0032] The construction method of the entry and exit management system disclosed in the present invention includes the following steps: distributing a first program to an authentication device set in an area for passers-by to pass and setting it as an authentication node, which is any node among a plurality of nodes; and distributing a second program to a management device and setting it as a management node, which is any node among a plurality of nodes, the first program executing the following steps: storing in a blockchain shared among a plurality of nodes connected via a P2P network; verifying the validity of a block added to the blockchain; reading authentication information of the passer-by; and authenticating the passer-by when the passer-by is designated as a node to be authenticated in an authentication condition of a block of the blockchain recorded by a management node which is any node among a plurality of nodes and the authentication information read is included in the authentication condition as authentication information of an authenticable passer-by, the second program executing the following steps: storing in a blockchain shared among a plurality of nodes; verifying the validity of a block added to the blockchain; and recording the authentication condition in a block of the blockchain.
[0033] The construction method of the entry and exit management system disclosed in the present invention has the following steps: distributing a first program to an authentication device set in an area for mobile bodies to pass through and setting it as an authentication node, which is any node among multiple nodes; and distributing a second program to a management device and setting it as a management node, which is any node among multiple nodes, the first program executes the following steps: storing in a blockchain shared among multiple nodes connected via a P2P network; verifying the validity of a block added to the blockchain; reading authentication information of the mobile body; and authenticating the mobile body when the node is designated as a node to be authenticated in the authentication conditions of a block of the blockchain recorded by a management node that is any node among multiple nodes, and the read authentication information is included in the authentication conditions as authentication information of a mobile body that can be authenticated, the second program executes the following steps: storing in a blockchain shared among multiple nodes; verifying the validity of a block added to the blockchain; and recording the authentication conditions in a block of the blockchain.
[0034] Effects of the Invention
[0035] According to the present disclosure, multiple nodes connected through a P2P network share a blockchain. The authentication condition is recorded in a block of the blockchain by a management node that is any of the multiple nodes. The authentication condition includes authentication information of an authenticated object that can be authenticated. The authentication condition specifies an authentication node that is any of the multiple nodes as a node for authentication. When the authentication information of the authenticated object read by the authentication node specified in the authentication condition is included in the authentication condition, the authenticated object is authenticated by the authentication node. Thus, the possibility of illegal access is suppressed. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] Figure 1This is a structural diagram of the entry and exit management system according to the first implementation mode.
[0037] Figure 2 This is a diagram showing an example of the data structure of entry and exit management data according to the first embodiment.
[0038] Figure 3 This is a diagram showing an authentication example based on the entry and exit management system according to the first embodiment.
[0039] Figure 4 This is a sequence diagram showing an operation example of the entry and exit management system according to the first embodiment.
[0040] Figure 5 This is a diagram showing the hardware configuration of a node of the entry and exit management system according to the first embodiment.
[0041] Figure 6 This is a structural diagram of the entry and exit management system of implementation mode 2.
[0042] Figure 7 This is a diagram showing an authentication example of the entry and exit management system according to the second embodiment.
[0043] Figure 8 This is a sequence diagram showing an operation example of the entry and exit management system according to the second embodiment. DETAILED DESCRIPTION
[0044] The embodiment of the present disclosure will be described with reference to the accompanying drawings. In each of the drawings, the same reference numerals are given to the same or corresponding parts, and repeated descriptions are appropriately simplified or omitted.
[0045] Implementation method 1.
[0046] Figure 1 This is a structural diagram of the entry and exit management system according to the first implementation mode.
[0047] The entry and exit management system 1 is a system for managing the entry and exit of a passerby to a management target area. The area managed by the entry and exit management system 1 is, for example, the internal space of a building. The passerby is, for example, a person who enters and exits the management target area.
[0048] The access management system 1 includes a plurality of nodes. The plurality of nodes are directly or indirectly connected to each other via a P2P network 2 (P2P: Peer to Peer). The plurality of nodes of the access management system 1 are, for example, a portable terminal 3, an elevator 4, a door device 5, or a control terminal 6.
[0049] The entry and exit management system 1 manages the entry and exit zone based on the entry and exit management data. The entry and exit management data is shared between each of the multiple nodes as a blockchain. The blockchain is a data structure having multiple blocks linked in a chain. In the blockchain, multiple blocks are linked in order. The entry and exit management data is stored in multiple blocks of the blockchain.
[0050] The portable terminal 3 is a portable information terminal carried by a passer-by, and is, for example, a smartphone, a tablet PC (PC: Personal Computer), or a notebook PC.
[0051] The elevator 4 is a device for transporting passengers and the like between multiple floors of a building. The elevator 4 includes an elevator car 7 and a control panel 8. The elevator car 7 is a device for passengers and the like to board. The control panel 8 is a device for controlling the equipment of the elevator 4 including the elevator car 7. The control panel 8 is equipped with a function for registering calls of the elevator car 7. The calls registered by the control panel 8 include, for example, car calls, floor calls, or floor calls that specify a destination floor. The elevator car 7 goes up and down between multiple floors of the building based on the registered calls. The call of the elevator car 7 can also be registered by a control signal input from the outside of the elevator 4.
[0052] The door device 5 is, for example, installed on a path of a passer-by passing through an area managed by the entry and exit management system 1. The door device 5 includes an electronic lock 9 and a control unit 10. The electronic lock 9 is a device for locking and unlocking the door device 5. The control unit 10 is a part that controls the operation of the electronic lock 9. The electronic lock 9 can also be operated by a control signal input from the outside of the door device 5.
[0053] The control terminal 6 is a device that controls the operation of the entry and exit management device by outputting a control signal. The entry and exit management device is a device that restricts or assists the passage of passers-by. The entry and exit management device is, for example, an elevator 4 or a door device 5.
[0054] The multiple nodes of the entry and exit management system 1 are respectively equipped with a communication unit 11, a storage unit 12, a generation unit 13, and a verification unit 14. The communication unit 11 is a part that communicates with other nodes in the P2P network 2. The storage unit 12 is a part that stores the blockchain shared between multiple nodes. The generation unit 13 is a part that generates blocks added to the blockchain. The verification unit 14 is a part that verifies the validity of the blocks added to the blockchain. Here, the blockchain can also be a generalized blockchain including a data structure that recognizes the addition of blocks through a large number of specific nodes. In addition, some of the multiple nodes in the entry and exit management system 1 may not have the generation unit 13.
[0055] A part of the multiple nodes of the entry and exit management system 1 is a permission node. The permission node is, for example, a portable terminal 3, a desktop PC, or other information terminals. The permission node is a management device of the entry and exit management system 1. For example, the actions of the management device are performed based on the installed entry and exit management program. The permission node has a registration unit 15. The registration unit 15 is a part that registers by recording the authentication conditions in a block of the blockchain. The authentication conditions are conditions for authenticating a passerby. The authentication conditions include authentication information of a passerby who can be authenticated. Here, the authentication information of the passerby includes, for example, the ID (Identification) of the passerby.
[0056] Some of the multiple nodes of the entry and exit management system 1 are access nodes. The access node is, for example, a portable terminal 3. The access node is a device held by a passer. For example, the actions of the portable terminal 3 as a access node are performed based on the installed entry and exit management program. The access node has a sending unit 16. The sending unit 16 is a part that sends authentication information through wireless communication. The sending unit 16 may also have, for example, an RF antenna (RF: Radio Frequency) or an LF antenna (LF: Low Frequency), etc. The authentication information is information used to authenticate the passer. The authentication information includes, for example, the ID of the passer who holds the access node.
[0057] A part of the multiple nodes of the access management system 1 is an authentication node. The authentication node is, for example, an elevator 4, a door device 5, a control terminal 6, or other access management devices. In the case where the authentication node is an elevator 4, the function of the node of the access management system 1 is realized by, for example, a control panel 8. In the case where the authentication node is a door device 5, the function of the node of the access management system 1 is realized by, for example, a control unit 10. The authentication node is set in an area for passers-by to pass through. The authentication node is an authentication device of the access management system 1. For example, the action of the authentication device is performed based on the installed access management program. The authentication node has a reading unit 17 and an authentication unit 18. The reading unit 17 is a part that reads authentication information sent, for example, by wireless communication from a pass node. The reading unit 17 may also have, for example, an RF antenna or a LF antenna. The authentication unit 18 is a part that authenticates the passer-by based on the authentication conditions recorded in the blockchain.
[0058] The authentication unit 18 performs authentication when the authentication node having the authentication unit 18 is designated as the node to be authenticated in the authentication condition. The authentication unit 18 performs authentication based on whether the authentication information read by the reader 17 from the pass node held by the passer is included in the authentication condition as authenticatable authentication information.
[0059] The authentication unit 18 performs an authentication response action when authenticating a passerby. When the authentication node is the elevator 4, the authentication response action is, for example, the registration of the elevator call of the elevator car 7. Here, the authentication response action may also be an action in which the authentication unit 18 directly registers the elevator call. Alternatively, the authentication response action may also be an action that is indirectly performed by the authentication unit 18 outputting a control signal to the control panel 8 to register the elevator call. Furthermore, when the authentication node is the door device 5, the authentication response action is, for example, the unlocking of the electronic lock 9. Here, the authentication response action may also be any one of the direct actions or indirect actions performed by the authentication unit 18. Furthermore, when the authentication node is the control terminal 6, the authentication response action is, for example, the output of a control signal.
[0060] When authenticating a passerby, the authentication unit 18 registers the authentication history by recording it in a block of the blockchain. The authentication history is information indicating the history of authentication. The authentication history includes, for example, information identifying the authentication node that authenticated the passerby, information identifying the passerby, and information on the time when the passerby was authenticated.
[0061] The entry and exit management system 1 is constructed by distributing the entry and exit management program to each of the plurality of nodes and installing the program. The entry and exit management program is distributed, for example, from a distribution server via a network such as the Internet. Alternatively, the entry and exit management program may be distributed offline via a storage medium, for example. In addition, the entry and exit management program may be a program of different types corresponding to the types of nodes. Alternatively, the entry and exit management program may be a single type of program that switches actions according to the types of nodes.
[0062] Next, use Figure 2 An example of the data structure of the blockchain shared in the entry and exit management system 1 is described below.
[0063] Figure 2 This is a diagram showing an example of the data structure of entry and exit management data according to the first embodiment.
[0064] The entry and exit management data has a data structure of a blockchain. In this example, the blockchain has a block Ba and a block Bb. Block Ba is the block immediately preceding block Bb.
[0065] The multiple blocks respectively include a block header and block data.
[0066] The block header includes the hash of the immediately preceding block, a nonce, a difficulty, and a data hash. The hash of the immediately preceding block is the hash value of the block header of the immediately preceding block. In this example, the block header of block Bb includes the hash of the block header of block Ba as the hash of the immediately preceding block. In the blockchain, multiple blocks are chained by including the hash of the immediately preceding block. The nonce is a value of a fixed length used to specify a block that is valid as a block added to the blockchain. The difficulty is the reciprocal of a threshold value that sets the difficulty of calculating the value of the random number of a valid block. Here, a valid block is a block whose hash of the block header is smaller than the threshold. Therefore, the greater the value of the difficulty, the more difficult it is to calculate the value of the random number of a valid block. The verification of the validity of the block includes, for example, confirmation whether the hash of the block header containing the random number is smaller than the reciprocal of the difficulty. The data hash is the hash value of the block data contained in the same block. The block header may also include a timestamp.
[0067] Block data is information recorded in the blockchain. Block data includes authentication condition data and authentication history data.
[0068] Authentication condition data is data representing authentication conditions. Authentication condition data includes, for example, authentication condition ID, permission node ID, access node ID, authentication node ID, valid times, and valid period. Authentication condition ID is information identifying the authentication condition. Permission node ID is information identifying the permission node registered with the authentication condition. Access node ID is information identifying the access node held by a passer-by who can be authenticated. Authentication node ID is information identifying the authentication node designated as the node to perform authentication. The valid times is information about the upper limit of the number of times the authentication node can authenticate the access node based on the authentication condition. The valid period is information about the period during which the authentication node can authenticate the access node based on the authentication condition. Here, in the entry and exit management system 1, an upper limit may also be set for the valid period.
[0069] Authentication history data is data indicating authentication history. Authentication history data includes, for example, authentication condition ID, pass node ID, authentication node ID, authentication time, and response action code. Authentication condition ID is information identifying authentication conditions for authentication based on the authentication history. Pass node ID is information identifying a pass node held by a passer authenticated by an authentication node. Authentication node ID is information identifying an authentication node that authenticated a passer. Authentication time is information of the time when the authentication node authenticated the passer. Response action code is information indicating an authentication response action performed by the authentication node when authenticating the passer.
[0070] Next, use Figure 3 An example of authentication based on the entry and exit management system 1 will be described.
[0071] Figure 3 This is a diagram showing an authentication example based on the entry and exit management system according to the first embodiment.
[0072] In this example, a case is shown where user A permits user B to pass through gate device 5C. User A holds portable terminal 3A. Portable terminal 3A is an example of a permission node. User B holds portable terminal 3B. Portable terminal 3B is an example of a pass node. Gate device 5C is provided on a path through which user B passes. Gate device 5C is an example of an authentication node.
[0073] User A inputs authentication conditions from the portable terminal 3A. The registration unit 15 of the portable terminal 3A encrypts the input authentication conditions. The registration unit 15 sends the encrypted authentication conditions to multiple nodes connected to the P2P network 2. When sending the authentication conditions, the registration unit 15 may also add the electronic signature of user A. Here, the encryption of the authentication conditions is performed in a manner that can be decrypted in the portable terminal 3B and the gate device 5C. The registration unit 15, for example, sends both the authentication conditions encrypted by the public key of the portable terminal 3B and the authentication conditions encrypted by the public key of the gate device 5C to other nodes. Alternatively, when the portable terminal 3B and the gate device 5C have common attributes, the registration unit 15 may also send the authentication conditions encrypted by a password based on the attribute to other nodes.
[0074] The multiple nodes of the entry and exit management system 1 temporarily retain the authentication conditions received from the portable terminal 3A as record candidate data. The record candidate data can also be retained in the storage unit 12. The node that does not have the generation unit 13 may not retain the record candidate data. The node equipped with the generation unit 13 attempts to generate a block containing the record candidate data. The generation unit 13 searches for the value of the random number that becomes a block with validity. After that, the generation unit 13 of any node among the multiple nodes successfully generates a block with validity. The node equipped with the generation unit 13 that successfully generates a block sends the generated block to the multiple nodes connected to the P2P network 2.
[0075] The verification unit 14 of each of the multiple nodes of the entry and exit management system 1 verifies the validity of the received block. The verification unit 14 verifies based on a consensus algorithm predetermined in the entry and exit management system 1. Here, the consensus algorithm is, for example, an algorithm based on PoW (Proof of Work). As part of the verification of the validity of the block, the verification unit 14 confirms whether the hash of the block header is smaller than the inverse of the difficulty of the block. The verification unit 14 determines that the block is inappropriate when the hash of the block header is greater than the inverse of the difficulty of the block. At this time, the block determined to be inappropriate is not added to the blockchain. On the other hand, the block determined to be valid by the verification unit 14 is added to the blockchain stored in the storage unit 12. In this way, the verification of the block is performed in the verification unit 14 of each of the multiple nodes by a predetermined consensus algorithm, thereby synchronizing the blockchain stored in the storage unit 12 of each of the multiple nodes. In this example, the authentication conditions input from the portable terminal 3A are recorded in the block Bb of the blockchain.
[0076] The portable terminal 3B reads the authentication condition from the block Bb of the blockchain stored in the storage unit 12. The portable terminal 3B decrypts the encrypted authentication condition. The portable terminal 3B obtains the authentication information contained in the decrypted authentication condition. As the authentication information, the portable terminal 3B obtains, for example, the authentication condition ID, the pass node ID, and the authentication node ID. Alternatively, the authentication condition may also include the ID of the passerby. At this time, as the authentication information, the portable terminal 3B may also obtain the authentication condition ID, the passerby ID, and the authentication node ID.
[0077] The gate device 5C reads the authentication conditions from the block Bb of the blockchain stored in the storage unit 12. The gate device 5C decrypts the encrypted authentication conditions. Here, in the case where the electronic signature of user A is added to the authentication conditions, the gate device 5C may also discard the authentication conditions when the electronic signature of user A is not valid. In addition, the gate device 5C may also discard the authentication conditions when the validity period included in the authentication conditions expires. In the case where an upper limit is set for the validity period in the entry and exit management system 1, the gate device 5C may also only retrieve the authentication conditions recorded in the blocks generated during the following period, which is the period from the moment of tracing back to the time equivalent to the upper limit of the validity period to the present. At this time, the gate device 5C authenticates the passer-by based on the authentication conditions obtained by retrieval.
[0078] User B holds a portable terminal 3B and passes through a path where a gate device 5C is installed. For example, the gate device 5C transmits a wireless signal including the authentication node ID of the gate device 5C. When the authentication node ID included in the wireless signal transmitted by the gate device 5C is the authentication node ID included in the authentication information obtained from the block Bb, the portable terminal 3B determines that the authentication node of the gate device 5C is designated. The transmission unit 16 of the portable terminal 3B transmits an authentication request including the authentication information obtained from the block Bb via a wireless signal so that the reading unit 17 of the designated authentication node can receive it.
[0079] The reading unit 17 of the gate device 5C receives the authentication request sent by the portable terminal 3B. The reading unit 17 reads the authentication information from the received authentication request. The authentication unit 18 determines whether the authentication information read by the reading unit 17 includes the authentication node ID of the gate device 5C. When the authentication node ID of the gate device 5C is included in the authentication information, the authentication unit 18 determines that it is a node designated as the node to be authenticated in the authentication condition. At this time, the authentication unit 18 determines whether the pass node ID included in the authentication information read by the reading unit 17 is included in the authentication condition obtained from the block Bb as the authentication information of the passer-by who can be authenticated. When the read pass node ID is included in the authentication condition as the authentication information of the passer-by who can be authenticated, the authentication unit 18 authenticates the user B. User B as a passer-by is an example of the object of authentication.
[0080] The authentication unit 18 of the door device 5C performs an authentication response operation when authenticating the user B. As the authentication response operation, the door device 5C unlocks the electric lock 9. The user B passes through the path where the door device 5C with the electric lock 9 unlocked is installed.
[0081] The authentication unit 18 of the gate device 5C generates an authentication history when authenticating the user B. The authentication unit 18 transmits the generated authentication history to a plurality of nodes connected to the P2P network 2. When transmitting the authentication history, the authentication unit 18 may add an electronic signature of the gate device 5C.
[0082] The plurality of nodes of the access management system 1 temporarily retain the authentication history received from the gate device 5C as the record candidate data. The node having the generation unit 13 attempts to generate a block including the record candidate data. After that, the generation unit 13 of any of the plurality of nodes successfully generates a block with validity. The node having the generation unit 13 that successfully generates a block sends the generated block to the plurality of nodes connected to the P2P network 2.
[0083] The verification unit 14 of each of the plurality of nodes of the access management system 1 verifies the validity of the received block. The block determined to be valid by the verification unit 14 is added to the blockchain stored in the storage unit 12. In this example, the authentication history generated by the gate device 5C is recorded in the block Bc of the blockchain.
[0084] In the entry and exit management system 1, verification of the authentication history is performed, for example, as follows.
[0085] The verifier who verifies the authentication history verifies the authentication history using an information terminal (not shown). The information terminal retrieves block data from the latest block to the previous block for the blockchain shared by a plurality of nodes in the entry and exit management system 1 .
[0086] Each time the information terminal detects an authentication history of a block recorded in the blockchain, the number of authentications for the authentication condition ID included in the authentication history is increased by 1. When the information terminal detects an authentication condition recorded in a block traced back from the block, if the number of authentications for the authentication condition ID of the authentication condition exceeds the valid number of authentications included in the authentication condition, illegal access is detected.
[0087] When the information terminal detects the authentication history of a block recorded in the blockchain, the authentication condition ID included in the authentication history is associated with the authentication time and stored. When the information terminal detects the authentication condition recorded in a block traced back from the block, if the authentication time associated with the authentication condition ID of the authentication condition exceeds the validity period included in the authentication condition, illegal access is detected.
[0088] When an upper limit is set for the effective period in the entry and exit management system 1, the information terminal may also retrieve only the authentication conditions recorded in the block generated during the period from the authentication time of the authentication history to the time traced back to the time equivalent to the upper limit of the effective period. In this case, the information terminal verifies the authentication history based on the authentication conditions obtained by the search.
[0089] Next, use Figure 4 An operation example of the entry and exit management system 1 is shown.
[0090] Figure 4 This is a sequence diagram showing an operation example of the entry and exit management system according to the first embodiment.
[0091] The registration unit 15 of the portable terminal 3A transmits the input authentication conditions to each of the plurality of nodes.
[0092] Afterwards, for example, the generation unit 13 of the elevator 4 successfully generates a block containing the authentication condition. The generation unit 13 of the elevator 4 sends the generated block to multiple nodes respectively. The verification unit 14 of each of the multiple nodes that received the generated block verifies the validity of the block. When the validity of the block is verified, the storage unit 12 adds it to the blockchain storing the block. In this example, the block is added as the next block Bb of the block Ba. On the other hand, when the validity of the block is not verified, the storage unit 12 does not add the block set as inappropriate to the blockchain.
[0093] Thereafter, the portable terminal 3B acquires the authentication information from the block Bb stored in the storage unit 12. Furthermore, the door device 5C acquires the authentication conditions from the block Bb stored in the storage unit 12.
[0094] Thereafter, the transmission unit 16 of the portable terminal 3B transmits an authentication request including the authentication information to the door device 5C.
[0095] Then, the reading unit 17 of the gate device 5C reads the authentication information from the received authentication request. The authentication unit 18 authenticates the user B based on the authentication information read by the reading unit 17 and the authentication condition obtained from the block Bb. When authenticating the user B, the authentication unit 18 performs an authentication response operation.
[0096] After that, the authentication unit 18 of the gate device 5C generates an authentication history. The authentication unit 18 transmits the generated authentication history to each of the plurality of nodes.
[0097] Afterwards, for example, the generation unit 13 of the control terminal 6 successfully generates a block containing the authentication history. The generation unit 13 of the control terminal 6 sends the generated block to multiple nodes respectively. The verification unit 14 of each of the multiple nodes that received the generated block verifies the validity of the block. When the validity of the block is verified, the storage unit 12 adds it to the blockchain storing the block. In this example, the block is added as block Bc. On the other hand, when the validity of the block is not verified, the storage unit 12 does not add the block set as inappropriate to the blockchain.
[0098] As described above, the entry and exit management system 1 of embodiment 1 includes a plurality of nodes connected through a P2P network 2. The plurality of nodes are respectively provided with a storage unit 12 and a verification unit 14. The storage unit 12 stores a blockchain shared between the plurality of nodes. The verification unit 14 verifies the validity of a block added to the blockchain. At least any one of the plurality of nodes includes a generation unit 13. The generation unit 13 generates a block added to the blockchain. The management node as any of the plurality of nodes includes a registration unit 15. The registration unit 15 records the authentication conditions in a block of the blockchain. The authentication conditions include authentication information of a passer-by who can be authenticated. The authentication node as any of the plurality of nodes includes a reading unit 17. The authentication node is set in an area for passers-by to pass through. The reading unit 17 reads the authentication information of the passer-by. When the node designated as the node to be authenticated in the authentication conditions of the block recorded in the blockchain and the authentication information read by the reading unit 17 is included in the authentication conditions, the authentication unit 18 authenticates the passer-by.
[0099] In addition, the authentication device of the entry and exit management system 1 of embodiment 1 includes a storage unit 12, a verification unit 14, a reading unit 17, and an authentication unit 18. The storage unit 12 stores a blockchain shared between multiple nodes. Multiple nodes are connected via a P2P network 2. The verification unit 14 verifies the validity of the block added to the blockchain. The reading unit 17 reads the authentication information of the passer-by. The management node is any node among the multiple nodes. The authentication conditions are recorded in the block of the blockchain by the management node. When the node designated as the node to be authenticated in the authentication condition and the authentication information read by the reading unit 17 is included in the authentication condition as the authentication information of the passer-by who can be authenticated, the authentication unit 18 authenticates the passer-by.
[0100] In addition, the management device of the entry and exit management system 1 of embodiment 1 includes a storage unit 12, a verification unit 14, and a registration unit 15. The storage unit 12 stores a blockchain shared between multiple nodes. Multiple nodes are connected through a P2P network 2. The verification unit 14 verifies the validity of the block added to the blockchain. The registration unit 15 records the authentication conditions in the block of the blockchain. The authentication conditions include authentication information of the passer-by who can be authenticated. The authentication conditions specify an authentication node set in the area where the passer-by passes from any node among the multiple nodes as a node that reads the authentication information and performs authentication.
[0101] In addition, the portable terminal 3 of the entry and exit management system 1 of embodiment 1 has a storage unit 12, a verification unit 14 and a sending unit 16. The storage unit 12 stores a blockchain shared between multiple nodes. Multiple nodes are connected through a P2P network 2. The verification unit 14 verifies the validity of the block added to the blockchain. The sending unit 16 sends the authentication information read from the authentication condition to the authentication node via a wireless signal. The authentication condition includes the authentication information of the passer-by who can be authenticated. The authentication condition specifies the authentication node from any node among the multiple nodes as a node that reads the authentication information and performs authentication. The authentication node is set in an area for passers-by to pass through. The authentication condition is recorded in the block of the blockchain by the management node as any node among the multiple nodes.
[0102] In addition, the data structure of the entry and exit management data of implementation mode 1 includes a plurality of blocks linked in sequence. The plurality of blocks respectively include data of a hash value calculated based on information of the block linked immediately before. At least any one of the plurality of blocks includes authentication condition data. The authentication condition data has authentication information of a passer-by that can be authenticated. The authentication condition data specifies an authentication node from a plurality of nodes as a node that reads the authentication information and performs authentication. The authentication node is set in an area for passers-by to pass. The plurality of nodes are connected via a P2P network 2. The entry and exit management data is shared among a plurality of nodes and used for authentication of the passer-by by the authentication node. The authentication of the passer-by by the authentication node is performed based on the authentication condition data of any block among the plurality of blocks recorded by the management node. The management node is any node among the plurality of nodes.
[0103] In addition, the entry and exit management program of implementation mode 1 causes the authentication device to execute a storage step, a verification step, a reading step, and an authentication step. The storage step is a step of storing a blockchain shared between multiple nodes connected through the P2P network 2. The verification step is a step of verifying the validity of the block added to the blockchain. The reading step is a step of reading the authentication information of the passer-by. The authentication step is a step of authenticating the passer-by when the node designated as the node to be authenticated in the authentication condition and the read authentication information is included in the authentication condition as the authentication information of the passer-by who can be authenticated. The authentication condition is recorded in the block of the blockchain by the management node. The management node is any node among the multiple nodes.
[0104] In addition, the entry and exit management program of implementation mode 1 causes the management device to execute a storage step, a verification step, and a registration step. The storage step is a step of storing a blockchain shared between multiple nodes connected through the P2P network 2. The verification step is a step of verifying the validity of the block added to the blockchain. The registration step is a step of recording the authentication conditions in the block of the blockchain. The authentication conditions include authentication information of the passer-by who can be authenticated. The authentication conditions specify an authentication node from any node among the multiple nodes as a node that reads the authentication information and performs authentication. The authentication node is set in an area for passers-by to pass through.
[0105] In addition, the entry and exit management program of implementation mode 1 causes the portable terminal 3 to execute a storage step, a verification step, and a sending step. The storage step is a step of storing a blockchain shared between multiple nodes connected through the P2P network 2. The verification step is a step of verifying the validity of the block added to the blockchain. The sending step is a step of sending the authentication information read from the authentication condition to the authentication node via a wireless signal. The authentication condition includes the authentication information of the passer-by who can be authenticated. The authentication condition specifies the authentication node from any node among the multiple nodes as a node that reads the authentication information and performs authentication. The authentication node is set in an area for passers-by to pass through. The authentication condition is recorded in the block of the blockchain by the management node. The management node is any node among the multiple nodes.
[0106] In addition, the construction method of the entry and exit management system 1 of embodiment 1 includes an authentication node construction process and a management node construction process. The authentication node construction process is a process of distributing the first program to the authentication device and setting it as an authentication node, which is any node among multiple nodes. The authentication device is set in an area for passers-by to pass through. The first program causes the authentication device to execute a storage step, a verification step, a reading step, and an authentication step. The storage step is a step of storing a blockchain shared between multiple nodes connected through the P2P network 2. The verification step is a step of verifying the validity of the block added to the blockchain. The reading step is a step of reading the authentication information of the passer-by. The authentication step is a step of authenticating the passer-by when the node is specified as the node to be authenticated in the authentication condition and the read authentication information is included in the authentication condition as the authentication information of the passer-by who can be authenticated. The authentication condition is recorded in the block of the blockchain by the management node. The management node is any node among multiple nodes. The management node construction process is a process of distributing the second program to the management device and setting it as a management node, which is any node among multiple nodes. The second program causes the management device to execute a storage step, a verification step, and a registration step. The registration step is a step of recording the authentication condition in a block of the blockchain.
[0107] Multiple nodes connected through the P2P network 2 share the blockchain. The authentication conditions are recorded in the block of the blockchain by the management node as any node among the multiple nodes. The authentication conditions include authentication information of the passer-by who can be authenticated. The authentication conditions specify the authentication node as any node among the multiple nodes as the node for authentication. When the authentication information of the passer-by read by the authentication node specified in the authentication condition is included in the authentication condition, the passer-by is authenticated by the authentication node. In this way, the authentication of the passer-by who accesses the area where the entry and exit are managed is based on the authentication conditions recorded in the blockchain. The blockchain is a distributed ledger that is managed in a dispersed manner among multiple nodes, and therefore, it is difficult to be tampered with. Thus, the possibility of illegal access is suppressed. In addition, the authentication node stores the blockchain in its own storage unit 12. Therefore, there is no need to inquire about the authentication conditions from, for example, a server, etc. each time an authentication is performed. Thus, even if a large number of authentications are required at the same time, the communication load will not increase.
[0108] Furthermore, a pass node, which is any node among the plurality of nodes, includes a transmitter 16. The pass node is held by a passer. The transmitter 16 transmits authentication information of the passer via a wireless signal. The reader 17 of the authentication node reads the authentication information transmitted by the transmitter 16 via a wireless signal.
[0109] As nodes of the shared blockchain, information terminals held by passers-by can be included. This can increase the types and number of nodes. In addition, the entities that manage the nodes are also diverse. Therefore, it is more difficult to tamper with the information recorded in the blockchain.
[0110] In addition, the registration unit 15 records the authentication condition encrypted so as to be decryptable by the access node and the authentication node in the block of the blockchain. The access node is held by a passer who can be authenticated in the authentication condition. The authentication node is specified in the authentication condition.
[0111] As a result, the authentication conditions recorded in the blockchain are prevented from being known by a third party. Therefore, illegal authentication by a third party who has read the authentication conditions is prevented. Here, the verification unit 14 may not verify the validity of the authentication condition data itself in the verification of the validity of the block. That is, the authentication condition data may not be data that needs to be verified in the verification of the validity of the block, such as the transaction data of the token. At this time, even if the data is in an encrypted state, multiple nodes can verify and append the generated blocks separately.
[0112] Furthermore, when the hash value calculated from the block generated by the generation unit 13 of any node among the plurality of nodes is greater than a set threshold, the verification unit 14 determines that the block is invalid. The storage unit 12 does not add the invalid block to the blockchain.
[0113] The verification unit 14 of each of the plurality of nodes verifies the generated block by a consensus algorithm based on PoW. Since tampering with the blockchain requires a large computational cost, it is difficult to tamper with the information recorded in the blockchain.
[0114] In addition, the authentication node may be a gate device 5. The gate device 5 is installed on a path for a passer-by to pass through. The gate device 5 has an electronic lock 9. The electronic lock 9 is unlocked or locked when the authentication unit 18 authenticates the passer-by.
[0115] In addition, the authentication node may be the control terminal 6. When the authentication unit 18 authenticates a traveler, the control terminal 6 unlocks or locks the electronic lock 9 of the door device 5 installed on the path through which the traveler passes.
[0116] Furthermore, the authentication node may be the elevator 4. The elevator 4 has an elevator car 7 for the passerby to board. When authenticating the passerby, the elevator 4 registers the call of the elevator car 7 boarded by the passerby.
[0117] As nodes of the shared blockchain, devices such as the door device 5, the control terminal 6, and the elevator 4 can be included. As a result, the types and number of nodes can be increased. Therefore, it is more difficult to tamper with the information recorded in the blockchain.
[0118] In addition, the verification unit 14 may verify the validity of the block added to the blockchain by setting the threshold set in the verification of the block generated by the generation unit 13 of the authentication node to a value larger than the threshold set in the verification of the block generated by the generation unit 13 of the node that is not the authentication node.
[0119] The verification unit 14 may perform verification by setting the verification threshold to a value that is different depending on the type of the node having the generation unit 13 that generates the block. The verification unit 14 may perform verification by setting the verification threshold to a value obtained by multiplying the inverse of the difficulty by a coefficient corresponding to the type of the node having the generation unit 13 that generates the block. In this case, the coefficient for the authentication node is set to a value larger than the coefficient for the node that is not the authentication node.
[0120] Furthermore, the verification unit 14 may determine that a block generated by the generation unit 13 of a node that is not an authentication node is invalid.
[0121] The storage unit 12 does not add a block that is deemed inappropriate to the blockchain.
[0122] For example, the authentication node sometimes controls the door device 5 or the elevator 4. Therefore, the information processing resources of the authentication node are sometimes less than those of other nodes. Even if the authentication node has less processing resources, as long as it has the generation unit 13, it can contribute to the generation of blocks. Generally, the subject that manages the authentication node is mostly motivated to improve the reliability of the access management system 1. The nodes managed by such a subject can contribute to the generation of blocks, and therefore, illegal access is more effectively suppressed.
[0123] Furthermore, the authentication unit 18 searches for authentication conditions recorded in a block generated during a period from a time traced back to a preset time. The authentication unit 18 authenticates the passer-by based on the searched authentication conditions.
[0124] Here, the preset time is, for example, a time equivalent to the upper limit of the valid period.
[0125] The authentication unit 18 does not need to scan all the blocks to search for the authentication conditions. Therefore, even when the information processing resources of the authentication node are limited, authentication of the passer-by becomes easy.
[0126] Furthermore, when authenticating a passerby, the authentication unit 18 records the authentication history information in a block of the blockchain. The authentication history includes information identifying the authentication node having the authentication unit 18, information identifying the passerby, and information on the time of authentication.
[0127] In addition, in the blockchain, at least one of the plurality of blocks includes authentication history data. The authentication history data includes information identifying an authentication node that authenticated a passerby, information identifying the passerby, and information on the time when the passerby was authenticated.
[0128] The authentication history of passers-by is recorded in a blockchain shared by multiple nodes, so that even if illegal access occurs, the record of the access is difficult to be tampered with.
[0129] In addition, the blockchain may also include other data in the block data such as the management data in the block data. The blockchain may also include, for example, the transaction data of the token or the balance data of the token in the block data.
[0130] In addition, the verification unit 14 may verify the block by an algorithm other than the consensus algorithm based on PoW. For example, the verification unit 14 may verify the block by a consensus algorithm based on the PoS (Proof of Stake) of the number of tokens held. For example, the verification unit 14 may verify the block by a consensus algorithm in which the authentication nodes that have performed more authentication are more likely to successfully generate blocks. In addition, the authentication node may also obtain a token when authenticating a passerby.
[0131] Furthermore, the portable terminal 3 may not be a node of the P2P network 2. In this case, the portable terminal 3 may transmit a unique ID held as authentication information via a wireless signal. The portable terminal 3 may be, for example, a hands-free tag.
[0132] In addition, the reading unit 17 may also read the authentication information through a coded image such as a two-dimensional code displayed on the pass node. The authentication information may also be displayed on the screen of the pass node as a coded image, for example. In addition, the reading unit 17 may also read the authentication information from the pass node, for example, through visible light communication, etc. At this time, the authentication information may also be sent from the sending unit 16 of the pass node, for example, through visible light communication.
[0133] In addition, the P2P network 2 in the access management system 1 may also be connected to nodes outside the access management system 1 .
[0134] Next, use Figure 5 An example of the hardware structure of the node in and out of the management system 1 is described
[0135] Figure 5 This is a diagram showing the hardware configuration of a node of the entry and exit management system according to the first embodiment.
[0136] Each function of the node of the access management system 1 can be realized by a processing circuit. The processing circuit has at least one processor Nb and at least one memory Nc. The processing circuit can also have a processor Nb and a memory Nc and at least one dedicated hardware Na, or can also replace the processor Nb and the memory Nc with at least one dedicated hardware Na.
[0137] When the processing circuit has a processor Nb and a memory Nc, each function of the node is implemented by software, firmware, or a combination of software and firmware. At least one of the software and firmware is described in the form of a program. The program is stored in the memory Nc. The processor Nb implements each function of the node by reading and executing the program stored in the memory Nc.
[0138] The processor Nb is also called a CPU (Central Processing Unit), a processing device, an arithmetic device, a microprocessor, a microcomputer, or a DSP. The memory Nc is composed of, for example, a RAM, a ROM, a flash memory, an EPROM, an EEPROM, or other non-volatile or volatile semiconductor memory, a magnetic disk, a floppy disk, an optical disk, a high-density disk, a mini disk, a DVD, or the like.
[0139] When the processing circuit has dedicated hardware Na, the processing circuit is implemented by, for example, a single circuit, a complex circuit, a programmed processor, a parallel programmed processor, an ASIC, an FPGA, or a combination thereof.
[0140] Each function of the node can be implemented by a processing circuit respectively. Alternatively, each function of the node can also be implemented uniformly by a processing circuit. Regarding each function of the node, a part can also be implemented by dedicated hardware Na, and the other part can be implemented by software or firmware. In this way, the processing circuit implements each function of the node through dedicated hardware Na, software, firmware, or a combination thereof.
[0141] Implementation method 2.
[0142] In the second embodiment, the differences from the example disclosed in the first embodiment are particularly described in detail. For features not described in the second embodiment, any features of the example disclosed in the first embodiment may be adopted.
[0143] Figure 6 This is a structural diagram of the entry and exit management system of implementation mode 2.
[0144] The entry and exit management system 1 manages the entry and exit of a passerby relative to an area to be managed. A passerby is a person or device that enters and exits an area to be managed. The entry and exit management system 1 includes a plurality of nodes that are directly or indirectly connected to each other via a P2P network 2. Each of the plurality of nodes is, for example, a portable terminal 3, an elevator 4, a door device 5, a control terminal 6, a mobile body 19, or a management server 20. The passerby includes a passerby holding a portable terminal 3 and a mobile body 19. In this example, the elevator 4 includes a plurality of elevator cars 7.
[0145] The entry and exit management system 1 of the second embodiment performs entry and exit management for the passer-by in the same manner as the entry and exit management system of the first embodiment performs entry and exit management for the passer-by, etc. The entry and exit management system 1 of the second embodiment performs authentication and authentication response for the passer-by in the same manner as the entry and exit management system of the first embodiment for the passer-by. That is, the entry and exit management, authentication, and authentication response operations in the entry and exit management system 1 of the second embodiment are performed based on the entry and exit management data shared between each of the multiple nodes as a blockchain. The entry and exit management data of the second embodiment has the same structure as the entry and exit management data of the first embodiment.
[0146] The entry / exit management system 1 of the second embodiment is constructed in the same manner as the entry / exit management system of the first embodiment. That is, the entry / exit management system 1 is constructed by distributing the entry / exit management program to each of a plurality of nodes and installing the program.
[0147] The mobile body 19 is a device that moves in a place including an area to be managed. The mobile body 19 includes, for example, an autonomous mobile robot, a mobile robot controlled remotely, or a mobile device for a person to ride.
[0148] The management server 20 is a server that manages the mobile body 19. The management server 20 may also be equipped with a function of remotely controlling the movement of the mobile body 19. In this case, the management server 20 is connected to the mobile body 19 through, for example, the P2P network 2 or other networks such as the Internet. The management server 20 is, for example, a server computer. The management server 20 may also be a virtual server on a cloud service.
[0149] The permission node in the entry and exit management system 1 is, for example, a portable terminal 3, a desktop PC, a management server 20, or other information terminals. The authentication conditions registered by the registration unit 15 of the permission node to the block of the blockchain are conditions for authenticating a passer-by or a passer-by such as a mobile body 19. The authentication conditions include authentication information of the passer-by that can be authenticated. Here, the authentication information of the passer-by includes, for example, the ID of the passer-by, the ID of the mobile body 19, etc.
[0150] The mobile body 19 is a mobile body node of the entry and exit management system 1. The mobile body node is included in the plurality of nodes of the entry and exit management system 1. The action of the mobile body 19 as a mobile body node is performed, for example, based on the installed entry and exit management program. The mobile body node includes a transmitting unit 16. The transmitting unit 16 transmits authentication information for authentication of the mobile body 19 through wireless communication. The transmitting unit 16 may also include, for example, an RF antenna or an LF antenna. The authentication information includes, for example, the ID of the mobile body 19 as a mobile body node.
[0151] Next, an example of the data structure of the entry and exit management data shared as a blockchain in the entry and exit management system 1 is described. The block data included in the block of the entry and exit management data includes authentication condition data and authentication history data.
[0152] The authentication condition data includes, for example, an authentication condition ID, a permission node ID, a passer ID, an authentication node ID, a valid number of times, a valid period, and attribute information of the passer. The passer ID is, for example, information for identifying a passer node held by an authentic passer, or information for identifying a mobile body 19 as an authentic mobile body node. The attribute information of the passer is information indicating the attributes of the passer. The attributes of the passer include, for example, information on whether or not to use a wheelchair or other mobility aid, or information on whether or not to ride with the mobile body 19 in the elevator car 7. The attributes of the mobile body 19 include, for example, information on the category of use of the mobile body 19, the scale of the mobile body 19, and whether or not the mobile body 19 has functions. The category of use of the mobile body 19 indicates, for example, the classification of services provided by the mobile body 19, such as "first aid", "security" or "catering services". The scale of the mobile body 19 includes, for example, the size or weight of the mobile body 19. The functions of the mobile body 19 include, for example, the function of riding with people in the elevator car 7.
[0153] The authentication history data includes, for example, an authentication condition ID, a passer ID, an authentication node ID, an authentication time, and a response action code. The authentication condition ID is information for identifying the authentication condition for the authentication based on the authentication history. The passer ID is information for identifying the passer node held by the passer authenticated by the authentication node, or information for identifying the mobile node authenticated by the authentication node. The authentication node ID is information for identifying the authentication node that authenticated the passer. The authentication time is information for the time when the authentication node authenticated the passer. The response action code is information indicating the authentication response action performed by the authentication node when authenticating the passer.
[0154] Next, use Figure 7 An example of authentication using the entry and exit management system 1 will be described.
[0155] Figure 7 This is a diagram showing an authentication example of the entry and exit management system according to the second embodiment.
[0156] In this example, a situation is shown where the management server 20A permits the moving body 19B to use the elevator 4C. The management server 20A is an example of a permission node. The management server 20A remotely controls the movement of the moving body 19B. The management server 20A remotely controls the moving body 19B to move on a path using the elevator 4C. The moving body 19B is an example of a moving body node. The elevator 4C is an example of an authentication node. The elevator 4C has a plurality of elevator cars 7. The elevator 4C has a group management device for selecting an elevator car 7 to which a call is allocated from among the plurality of elevator cars 7.
[0157] The registration unit 15 of the management server 20A encrypts the authentication conditions. Here, the authentication nodes specified in the authentication conditions include the elevator 4C specified based on the path that the management server 20A causes the moving body 19B to move. The registration unit 15 sends the encrypted authentication conditions to multiple nodes connected to the P2P network 2. When sending the authentication conditions, the registration unit 15 may also add the electronic signature of the management server 20A. Here, the encryption of the authentication conditions is performed in a manner that can be decrypted in the moving body 19B and the elevator 4C. The registration unit 15, for example, sends both the authentication conditions encrypted by the public key of the moving body 19B and the authentication conditions encrypted by the public key of the elevator 4C to other nodes. Alternatively, when the moving body 19B and the elevator 4C have common attributes, the registration unit 15 may also send the authentication conditions encrypted by an attribute-based password to other nodes.
[0158] The multiple nodes entering and exiting the management system 1 respectively temporarily maintain the authentication conditions received from the management server 20A as record candidate data. The record candidate data can also be maintained in the storage unit 12. The node that does not have the generation unit 13 may not maintain the record candidate data. The node equipped with the generation unit 13 attempts to generate a block containing the record candidate data. The generation unit 13 searches for the value of the random number that becomes a block with appropriateness. After that, the generation unit 13 of any node among the multiple nodes successfully generates a block with appropriateness. The node equipped with the generation unit 13 that successfully generates a block sends the generated block to the multiple nodes connected to the P2P network 2.
[0159] The verification unit 14 of each of the multiple nodes of the entry and exit management system 1 verifies the validity of the received block. The verification unit 14 performs verification based on a consensus algorithm such as PoW that is predetermined in the entry and exit management system 1. At this time, the block determined to be inappropriate is not added to the blockchain. On the other hand, the block determined by the verification unit 14 to have validity is added to the blockchain stored in the storage unit 12. In this way, the verification of the block is performed in the verification unit 14 of each of the multiple nodes through a predetermined consensus algorithm, thereby synchronizing the blockchain stored in the storage unit 12 of each of the multiple nodes. In this example, the authentication conditions input from the management server 20A are recorded in the block Bb of the blockchain.
[0160] The mobile body 19B reads the authentication condition from the block Bb of the blockchain stored in the storage unit 12. The mobile body 19B decrypts the encrypted authentication condition. The mobile body 19B obtains the authentication information included in the decrypted authentication condition. As the authentication information, the mobile body 19B obtains, for example, the authentication condition ID, the ID of the mobile body 19B as the pass ID, and the authentication node ID.
[0161] The elevator 4C reads the authentication conditions from the block Bb of the blockchain stored in the storage unit 12. The elevator 4C decrypts the encrypted authentication conditions. Here, in the case where the electronic signature of the management server 20A is added to the authentication conditions, the elevator 4C may also discard the authentication conditions when the electronic signature of the management server 20A is not valid. In addition, the elevator 4C may also discard the authentication conditions when the validity period included in the authentication conditions expires. In the case where an upper limit is set for the validity period in the entry and exit management system 1, the elevator 4C may also only retrieve the authentication conditions recorded in the blocks generated during the following period, which is the period from the moment of tracing back to the time equivalent to the upper limit of the validity period to the present. At this time, the elevator 4C authenticates the movable body 19B based on the authentication conditions obtained by retrieval.
[0162] The management server 20A moves the moving body 19B to the landing of the elevator 4C. When the moving body 19B enters the landing of the elevator 4C, the management server 20A transmits an authentication request including authentication information acquired from the block Bb to the transmission unit 16 of the moving body 19B via a wireless signal.
[0163] The reading unit 17 of the elevator 4C receives the authentication request sent by the moving body 19B. The reading unit 17 reads the authentication information from the received authentication request. The authentication unit 18 determines whether the authentication information read by the reading unit 17 includes the authentication node ID of the elevator 4C. When the authentication node ID of the elevator 4C is included in the authentication information, the authentication unit 18 determines that it is a node designated as the node to be authenticated in the authentication condition. At this time, the authentication unit 18 determines whether the passer ID included in the authentication information read by the reading unit 17 is included in the authentication condition obtained from the block Bb as the authentication information of the passer-by that can be authenticated. When the read passer-by ID is included in the authentication condition as the authentication information of the passer-by that can be authenticated, the authentication unit 18 authenticates the moving body 19B. The moving body 19B as a passer-by is an example of an object of authentication.
[0164] The authentication unit 18 of the elevator 4C performs an authentication response operation when authenticating the moving body 19B. As the authentication response operation, the elevator 4C selects the elevator car 7 to which the call of the moving body 19B is assigned from among the plurality of elevator cars 7 .
[0165] At this time, the elevator 4C allocates the calls based on, for example, the priority corresponding to the attribute of the mobile body 19B to be authenticated. For example, when the utilization category of the mobile body 19B is "first aid" with a high priority, the calls of the mobile body 19B are allocated with priority over the calls of the mobile body 19 with a utilization category of "catering service" with a low priority. The elevator 4C allocates the calls in such a way that, for example, the higher the priority of the call, the shorter the time until the call reaches the destination floor.
[0166] Alternatively, the elevator 4C allocates the call of the moving body 19B to any elevator car 7 based on the attribute of the moving body 19B to be authenticated. For example, the elevator 4C determines whether it is possible to ride in the same elevator car 7 with other passing bodies based on the size of the moving body 19B or whether the moving body 19B has functions, etc. The elevator 4C allocates the call of the moving body 19B to any elevator car 7 based on the determination result of whether it is possible to ride in the same elevator car 7.
[0167] The management server 20A causes the moving body 19B to board the elevator car 7 to which the call is assigned. Thereafter, the management server 20A causes the moving body 19B to get off the elevator car 7 at the destination floor.
[0168] The authentication unit 18 of the elevator 4C generates an authentication history when authenticating the moving body 19B. The authentication unit 18 transmits the generated authentication history to a plurality of nodes connected to the P2P network 2. When transmitting the authentication history, the authentication unit 18 may add the electronic signature of the elevator 4C.
[0169] The plurality of nodes of the entry and exit management system 1 respectively temporarily retain the authentication history received from the elevator 4C as the record candidate data. The node having the generation unit 13 attempts to generate a block including the record candidate data. After that, the generation unit 13 of any of the plurality of nodes successfully generates a block with validity. The node having the generation unit 13 that successfully generates a block sends the generated block to the plurality of nodes connected to the P2P network 2.
[0170] The verification unit 14 of each of the plurality of nodes of the entry and exit management system 1 verifies the validity of the received block. The block determined to be valid by the verification unit 14 is added to the blockchain stored in the storage unit 12. In this example, the authentication history generated by the elevator 4C is recorded in the block Bc of the blockchain.
[0171] Next, use Figure 8 An operation example of the entry and exit management system 1 is shown.
[0172] Figure 8 This is a sequence diagram showing an operation example of the entry and exit management system according to the second embodiment.
[0173] The registration unit 15 of the management server 20A transmits the authentication conditions generated based on the route through which the moving body 19B travels to each of the plurality of nodes.
[0174] Afterwards, for example, the generation unit 13 of the control terminal 6 successfully generates a block containing the authentication condition. The generation unit 13 of the control terminal 6 sends the generated block to multiple nodes respectively. The verification unit 14 of each of the multiple nodes that receive the generated block verifies the validity of the block. When the validity of the block is verified, the storage unit 12 adds it to the blockchain storing the block. In this example, the block is added as the next block Bb of the block Ba. On the other hand, when the validity of the block is not verified, the storage unit 12 does not add the block set as inappropriate to the blockchain.
[0175] Thereafter, the moving body 19B acquires the authentication information from the block Bb stored in the storage unit 12. Furthermore, the lift 4C acquires the authentication conditions from the block Bb stored in the storage unit 12.
[0176] Thereafter, the transmission unit 16 of the moving body 19B transmits an authentication request including the authentication information to the elevator 4C.
[0177] Then, the reader 17 of the lift 4C reads the authentication information from the received authentication request. The authentication unit 18 authenticates the moving body 19B based on the authentication information read by the reader 17 and the authentication condition obtained from the block Bb. When authenticating the moving body 19B, the authentication unit 18 performs an authentication response operation.
[0178] After that, the authentication unit 18 of the elevator 4C generates an authentication history. The authentication unit 18 transmits the generated authentication history to each of the plurality of nodes.
[0179] Afterwards, for example, the generation unit 13 of the gate device 5 successfully generates a block containing the authentication history. The generation unit 13 of the gate device 5 sends the generated block to multiple nodes respectively. The verification units 14 of each of the multiple nodes that receive the generated block verify the validity of the block. When the validity of the block is verified, the storage unit 12 adds it to the blockchain storing the block. In this example, the block is added as block Bc. On the other hand, when the validity of the block is not verified, the storage unit 12 does not add the block set as inappropriate to the blockchain.
[0180] As described above, the entry and exit management system 1 of embodiment 2 includes a plurality of nodes connected through a P2P network 2. The plurality of nodes are respectively provided with a storage unit 12 and a verification unit 14. The storage unit 12 stores a blockchain shared between the plurality of nodes. The verification unit 14 verifies the validity of a block added to the blockchain. At least one of the plurality of nodes includes a generation unit 13. The generation unit 13 generates a block added to the blockchain. A management node as any of the plurality of nodes includes a registration unit 15. The registration unit 15 records the authentication conditions in a block of the blockchain. The authentication conditions include authentication information of a mobile body 19 that can be authenticated. An authentication node as any of the plurality of nodes includes a reading unit 17. The authentication node is set in an area for the mobile body 19 to pass through. The reading unit 17 reads the authentication information of the mobile body 19. When the node designated as the node to be authenticated in the authentication conditions of the block recorded in the blockchain and the authentication information read by the reading unit 17 is included in the authentication conditions, the authentication unit 18 authenticates the mobile body 19.
[0181] In addition, the authentication device of the entry and exit management system 1 of embodiment 2 includes a storage unit 12, a verification unit 14, a reading unit 17, and an authentication unit 18. The storage unit 12 stores a blockchain shared between multiple nodes. Multiple nodes are connected via a P2P network 2. The verification unit 14 verifies the validity of the block added to the blockchain. The reading unit 17 reads the authentication information of the mobile body 19. The management node is any node among the multiple nodes. The authentication conditions are recorded in the block of the blockchain by the management node. When the node designated as the node to be authenticated in the authentication condition and the authentication information read by the reading unit 17 is included in the authentication condition as the authentication information of the mobile body 19 that can be authenticated, the authentication unit 18 authenticates the mobile body 19.
[0182] In addition, the management device of the entry and exit management system 1 of embodiment 2 includes a storage unit 12, a verification unit 14, and a registration unit 15. The storage unit 12 stores a blockchain shared between multiple nodes. Multiple nodes are connected through a P2P network 2. The verification unit 14 verifies the validity of the block added to the blockchain. The registration unit 15 records the authentication conditions in the block of the blockchain. The authentication conditions include authentication information of the mobile body 19 that can be authenticated. The authentication conditions specify an authentication node set in the area where the mobile body 19 passes from any node among the multiple nodes as a node that reads the authentication information and performs authentication.
[0183] In addition, the mobile body 19 of the entry and exit management system 1 of embodiment 2 includes a storage unit 12, a verification unit 14, and a sending unit 16. The storage unit 12 stores a blockchain shared between multiple nodes. Multiple nodes are connected through a P2P network 2. The verification unit 14 verifies the validity of the block added to the blockchain. The sending unit 16 sends the authentication information read from the authentication condition to the authentication node via a wireless signal. The authentication condition includes the authentication information of the mobile body 19 itself. The authentication condition specifies the authentication node from any node among the multiple nodes as a node that reads the authentication information and performs authentication. The authentication node is set in an area for the mobile body 19 itself to pass. The authentication condition is recorded in a block of the blockchain by a management node that is any node among the multiple nodes.
[0184] In addition, the data structure of the entry and exit management data of Implementation Method 2 includes a plurality of blocks linked in sequence. The plurality of blocks respectively include data of a hash value calculated based on information of the block linked immediately before. At least any one of the plurality of blocks includes authentication condition data. The authentication condition data has authentication information of the mobile body 19 that can be authenticated. The authentication condition data specifies an authentication node from a plurality of nodes as a node that reads the authentication information and performs authentication. The authentication node is set in an area for the mobile body 19 to pass. The plurality of nodes are connected through the P2P network 2. The entry and exit management data is shared among a plurality of nodes and used for the authentication node to authenticate the mobile body 19. The authentication node to authenticate the mobile body 19 is performed based on the authentication condition data recorded by the management node in any block among the plurality of blocks. The management node is any node among the plurality of nodes.
[0185] In addition, the entry and exit management program of embodiment 2 causes the authentication device to execute a storage step, a verification step, a reading step, and an authentication step. The storage step is a step of storing a blockchain shared between multiple nodes connected through the P2P network 2. The verification step is a step of verifying the validity of the block added to the blockchain. The reading step is a step of reading the authentication information of the mobile body 19. The authentication step is a step of authenticating the mobile body 19 when the node designated as the node to be authenticated in the authentication condition and the read authentication information is included in the authentication condition as the authentication information of the mobile body 19 that can be authenticated. The authentication condition is recorded in the block of the blockchain by the management node. The management node is any node among the multiple nodes.
[0186] In addition, the entry and exit management program of implementation mode 2 causes the management device to execute a storage step, a verification step, and a registration step. The storage step is a step of storing a blockchain shared between multiple nodes connected through the P2P network 2. The verification step is a step of verifying the validity of the block added to the blockchain. The registration step is a step of recording the authentication condition in the block of the blockchain. The authentication condition includes authentication information of the mobile body 19 that can be authenticated. The authentication condition specifies an authentication node from any node among the multiple nodes as a node that reads the authentication information and performs authentication. The authentication node is set in an area for the mobile body 19 to pass.
[0187] In addition, the entry and exit management program of implementation mode 2 causes the mobile body 19 to perform a storage step, a verification step, and a sending step. The storage step is a step of storing a blockchain shared between multiple nodes connected through the P2P network 2. The verification step is a step of verifying the validity of the block added to the blockchain. The sending step is a step of sending the authentication information read from the authentication condition to the authentication node via a wireless signal. The authentication condition includes the authentication information of the mobile body 19 itself that can be authenticated. The authentication condition specifies the authentication node from any node among the multiple nodes as a node that reads the authentication information and performs authentication. The authentication node is set in an area for the mobile body 19 itself to pass. The authentication condition is recorded in a block of the blockchain by the management node. The management node is any node among the multiple nodes.
[0188] In addition, the construction method of the entry and exit management system 1 of embodiment 2 includes an authentication node construction process and a management node construction process. The authentication node construction process is a process of distributing the first program to the authentication device and setting it as an authentication node, which is any node among multiple nodes. The authentication device is set in an area for the mobile body 19 to pass. The first program causes the authentication device to perform a storage step, a verification step, a reading step, and an authentication step. The storage step is a step of storing a blockchain shared between multiple nodes connected through the P2P network 2. The verification step is a step of verifying the validity of the block added to the blockchain. The reading step is a step of reading the authentication information of the mobile body 19. The authentication step is a step of authenticating the mobile body 19 when it is specified as a node to be authenticated in the authentication condition and the read authentication information is included in the authentication condition as the authentication information of the mobile body 19 that can be authenticated. The authentication condition is recorded in the block of the blockchain by the management node. The management node is any node among multiple nodes. The management node construction step is a step of distributing the second program to the management device and setting it as a management node, which is any node among the plurality of nodes. The second program causes the management device to execute a storage step, a verification step, and a registration step. The registration step is a step of recording the authentication conditions in a block of the blockchain.
[0189] The blockchain is shared by multiple nodes connected through the P2P network 2. The authentication condition is recorded in the block of the blockchain by the management node as any node among the multiple nodes. The authentication condition includes the authentication information of the mobile body 19 that can be authenticated. The authentication condition specifies the authentication node as any node among the multiple nodes as the node for authentication. When the authentication information of the mobile body 19 read by the authentication node specified in the authentication condition is included in the authentication condition, the mobile body 19 is authenticated by the authentication node. In this way, the authentication of the mobile body 19 accessing the area of the managed entry and exit zone is based on the authentication condition recorded in the blockchain. The blockchain is a distributed ledger managed in a dispersed manner among multiple nodes, and therefore, it is difficult to be tampered with. Thus, the possibility of illegal access is suppressed. In addition, the authentication node stores the blockchain in its own storage unit 12. Therefore, at each authentication, there is no need to inquire about the authentication conditions, such as from a server. Thus, even if a large number of authentications are required at the same time, the communication load will not increase.
[0190] Furthermore, a mobile node, which is any one of the plurality of nodes, includes a transmitter 16. The mobile node is a mobile 19. The transmitter 16 transmits authentication information of the mobile 19 itself via a wireless signal. The reader 17 of the authentication node reads the authentication information transmitted by the transmitter 16 via a wireless signal.
[0191] Furthermore, the management node is a management server 20 that remotely controls the movement of the mobile body 19 .
[0192] As a node of the shared blockchain, the mobile body 19 itself can be included. As a node of the shared blockchain, the management server 20 that remotely controls the movement of the mobile body 19 can be included. As a result, the types and number of nodes can be increased. In addition, the subjects of the management nodes are also diverse. Therefore, it is more difficult to tamper with the information recorded in the blockchain. In addition, the management server 20 can easily determine the authentication node on the path where the mobile body 19 moves. As a result, the registration of authentication conditions becomes smoother.
[0193] Furthermore, the registration unit 15 records the authentication condition encrypted so as to be decryptable by the mobile node and the authentication node in the block of the blockchain. The mobile node is the mobile body 19 that can be authenticated in the authentication condition. The authentication node is specified in the authentication condition.
[0194] As a result, the authentication conditions recorded in the blockchain are prevented from being known by a third party. Therefore, illegal authentication by a third party who has read the authentication conditions is prevented. Here, the verification unit 14 may not verify the validity of the authentication condition data itself in the verification of the validity of the block. That is, the authentication condition data may not be data that needs to be verified in the verification of the validity of the block, such as the transaction data of the token. At this time, even if the data is in an encrypted state, multiple nodes can verify and append the generated blocks separately.
[0195] In addition, the registration unit 15 records the attributes of the authenticated object that can be authenticated in the authentication condition in the block of the blockchain. The authentication node as the elevator 4 registers the elevator call of the object based on the priority corresponding to the attribute of the authenticated object. In addition, the authentication node as the elevator 4 has a plurality of elevator cars 7. The authentication node assigns the call of the authenticated object to any elevator car based on the attribute of the object.
[0196] Thus, the elevator 4 is operated according to the attributes of the mobile body 19, etc., which is the authentication object. The mobile body 19 can move between multiple floors according to the speed required for the service provided. In addition, it is difficult for other users of the elevator 4 to feel uncomfortable riding with the mobile body 19. In addition, the elevator 4 can also allocate elevator calls based on the priority corresponding to the attributes of the passerby. For example, in the case where the passerby uses a mobility aid such as a wheelchair, the elevator call can be allocated with a higher priority. In addition, the elevator 4 can also allocate the call of the authenticated passerby to any elevator car 7 based on the attributes of the passerby. For example, the elevator 4 determines whether it is possible to ride in the same elevator car 7 with the mobile body 19, etc. based on the passerby's willingness to use it. The elevator 4 allocates the call of the passerby to any elevator car 7 based on the result of the determination of whether it is possible to ride together.
[0197] Furthermore, the mobile object 19 may not be a node of the P2P network 2. In this case, the mobile object 19 may transmit a unique ID held as authentication information via a wireless signal.
[0198] In addition, the reading unit 17 may also read the authentication information through a coded image such as a two-dimensional code displayed on the pass node. The authentication information may also be displayed, for example, as a coded image on a screen of the mobile node. In addition, the reading unit 17 may also read the authentication information from the mobile node, for example, through visible light communication. At this time, the authentication information may also be sent from the sending unit 16 of the mobile node, for example, through visible light communication.
[0199] In addition, the entry and exit management system 1 may manage only the authentication and authentication response, etc., and entry and exit, etc. of a person who passes through as a passer-by. The entry and exit management system 1 may manage only the authentication and authentication response, etc., and entry and exit, etc. of a mobile body 19 as a device as a passer-by. The entry and exit management system 1 may manage both the authentication and authentication response, etc., and entry and exit, etc., of a person who passes through and the mobile body 19 as a device as a passer-by.
[0200] Industrial Applicability
[0201] The access management system disclosed in the present invention can be applied to, for example, a building with an area to be accessed and controlled. The authentication device, management device, portable terminal and mobile body, data structure, and access management program disclosed in the present invention can be applied to the access management system. The construction method disclosed in the present invention can be applied to the construction of the access management system.
[0202] Description of symbols
[0203] 1 Access management system, 2 P2P network, 3, 3A, 3B portable terminal, 4, 4C elevator, 5, 5C door device, 6 control terminal, 7 elevator car, 8 control panel, 9 electronic lock, 10 control unit, 11 communication unit, 12 storage unit, 13 generation unit, 14 verification unit, 15 registration unit, 16 sending unit, 17 reading unit, 18 authentication unit, 19, 19B moving body, 20, 20A management server, Ba, Bb, Bc blocks, Na hardware, Nb processor, Nc memory.
Claims
1. An entry and exit management system, in, The entry and exit management system includes a plurality of nodes connected via a P2P network. The multiple nodes respectively include: a storage unit that stores a blockchain shared among the plurality of nodes; and a verification unit that verifies the validity of the block added to the blockchain, At least one of the plurality of nodes includes a generation unit that generates a block to be added to the blockchain, A management node as any of the plurality of nodes includes a registration unit, the registration unit recording an authentication condition including authentication information of an authenticatable pass in a block of the blockchain, An authentication node which is any node among the plurality of nodes and is provided in an area where the passable body passes has: a reading unit configured to read the authentication information of the pass; and The authentication unit authenticates the pass when the node is designated as the node to be authenticated in the authentication condition recorded in the block of the blockchain and the authentication information read by the reading unit is included in the authentication condition.
2. The access management system according to claim 1, in, A pass node, which is any node among the plurality of nodes and is held by a passer as the passer, includes a transmission unit that transmits the authentication information of the passer via a wireless signal. The reading unit of the authentication node reads the authentication information transmitted by the transmitting unit of the pass node through a wireless signal.
3. The access management system according to claim 2, in, The registration unit records the authentication condition, which is encrypted in a manner that can be decrypted by the pass node held by the passer who can be authenticated in the authentication condition and the authentication node specified in the authentication condition, in a block of the blockchain.
4. The access management system according to claim 1, in, A mobile node that is any node among the plurality of nodes and is the passable body includes a transmitting unit that transmits the authentication information of the mobile node via a wireless signal. The reading unit of the authentication node reads the authentication information transmitted by the transmitting unit of the mobile node through a wireless signal.
5. The access management system according to claim 4, in, The registration unit records the authentication condition, which is encrypted in a manner that can be decrypted by the mobile node that is the passable body that can be authenticated in the authentication condition and the authentication node specified in the authentication condition, in a block of the blockchain.
6. The access management system according to claim 1, in, The management node is a management server that remotely controls the movement of the moving body as the passing body.
7. The access management system according to claim 1, in, When a hash value calculated based on a block generated by the generation unit of any node among the plurality of nodes is greater than a set threshold, the verification unit determines the block as invalid. The storage unit does not add a block that is deemed inappropriate to the blockchain.
8. The access management system according to claim 7, in, The verification unit verifies the validity of the block added to the blockchain by setting the threshold set in the verification of the block generated by the generation unit of the authentication node to a value larger than the threshold set in the verification of the block generated by the generation unit of the node that is not the authentication node.
9. The access management system according to claim 1, in, The verification unit determines that a block generated by the generation unit of the node that is not the authentication node is invalid, The storage unit does not add a block that is deemed inappropriate to the blockchain.
10. The access management system according to any one of claims 1 to 9, in, The authentication unit searches for the authentication condition recorded in the block generated during a period from a time traced back to a preset time until now, and performs authentication based on the searched authentication condition.
11. The access management system according to any one of claims 1 to 9, in, When performing authentication, the authentication unit records authentication history information in the block of the blockchain, wherein the authentication history information includes information identifying the authentication node having the authentication unit, information identifying the object of authentication, and information on the time of authentication.
12. The access management system according to any one of claims 1 to 9, in, The authentication node is a gate device having an electronic lock that is unlocked or locked when the authentication unit performs authentication, and the gate device is provided on a path through which the object of authentication passes.
13. The access management system according to any one of claims 1 to 9, in, The authentication node is a control terminal that, when the authentication unit performs authentication, unlocks or locks an electronic lock provided on a door device on a path through which the authenticated object passes.
14. The access management system according to any one of claims 1 to 9, in, The authentication node is an elevator having an elevator car in which the authentication target of the authentication unit gets on board, and registers a call of the elevator car in which the authentication target gets on board when performing authentication.
15. The access management system according to claim 14, in, The registration unit records the attributes of the authentication object that can be authenticated in the authentication condition in the block of the blockchain, The authentication node registers a call of the object to be authenticated based on a priority according to an attribute of the object.
16. The access management system according to claim 14, in, The registration unit records the attributes of the authentication object that can be authenticated in the authentication condition in the block of the blockchain, The authentication node includes a plurality of the elevator cars, and allocates a call of an authenticated object to any of the elevator cars based on an attribute of the object.
17. An authentication device for entering and exiting a management system, in, The authentication device comprises: A storage unit that stores a blockchain shared among a plurality of nodes connected via a P2P network; a verification unit that verifies the validity of the block added to the blockchain; A reading unit that reads authentication information of a pass; as well as An authentication unit that authenticates a pass when a node is designated as a node to be authenticated in an authentication condition recorded in a block of the blockchain by a management node that is any of the multiple nodes, and when the authentication information read by the reading unit is included in the authentication condition as authentication information of an authenticatable pass.
18. A management device for access management system, in, The management device comprises: A storage unit that stores a blockchain shared among a plurality of nodes connected via a P2P network; a verification unit that verifies the validity of the block added to the blockchain; as well as A registration unit records authentication conditions including authentication information of an authenticatable pass in a block of the blockchain, wherein the authentication conditions specify an authentication node set in an area for the pass to pass from any node among the multiple nodes as a node for reading the authentication information and performing authentication.
19. A portable terminal or mobile device for accessing and exiting a management system, in, The portable terminal or the mobile object comprises: A storage unit that stores a blockchain shared among a plurality of nodes connected via a P2P network; a verification unit that verifies the validity of the block added to the blockchain; as well as A sending unit that sends authentication information read from an authentication condition to an authentication node via a wireless signal, wherein the authentication condition includes the authentication information of an authenticatable object corresponding to the portable terminal or the mobile object, i.e., a passer-by or a mobile object, respectively, and the authentication condition specifies, from any node among the multiple nodes, the authentication node set in an area for the authenticated object to pass through as a node that reads the authentication information and performs authentication, and the authentication condition is recorded in a block of the blockchain by a management node that is any node among the multiple nodes.
20. A storage medium storing access management data, in, The entry and exit management data includes a plurality of blocks linked in sequence. The plurality of blocks each contain data of a hash value calculated based on information of a block connected immediately before, At least one of the plurality of blocks includes authentication condition data, the authentication condition data having authentication information of a passable body that can be authenticated, the authentication condition data specifying an authentication node set in an area where the passable body passes from a plurality of nodes connected via a P2P network as a node that reads the authentication information and performs authentication, The entry and exit management data is shared among the multiple nodes and is used for the authentication node to authenticate the passer-by based on the following authentication condition data, wherein the authentication condition data is recorded in any block among the multiple blocks by the management node which is any node among the multiple nodes.
21. The storage medium according to claim 20, in, At least any one of the plurality of blocks includes authentication history data having information identifying an authentication node that performed authentication, information identifying an object of the authentication, and information at a time when the object of the authentication was authenticated.
22. A storage medium storing an entry and exit management program, in, The access management program causes the authentication device to perform the following steps: A blockchain that is stored and shared among multiple nodes connected via a P2P network; Verifying the validity of the block added to the blockchain; Read the authentication information of the pass; as well as When a node is designated as a node to be authenticated in the authentication conditions recorded in a block of the blockchain by a management node that is any of the multiple nodes, and the authentication information read is included in the authentication conditions as authentication information of an authenticatable pass, the pass is authenticated.
23. A storage medium storing an entry and exit management program, in, The entry and exit management program causes the management device to perform the following steps: A blockchain that is stored and shared among multiple nodes connected via a P2P network; Verifying the validity of the block added to the blockchain; as well as The authentication conditions are recorded in a block of the blockchain, the authentication conditions including authentication information of an authenticatable pass-through body, and an authentication node set in an area for the pass-through body to pass is designated from any node among the multiple nodes as a node that reads the authentication information and performs authentication.
24. A storage medium storing an entry and exit management program, in, The entry and exit management program causes the portable terminal or mobile body corresponding to the authenticated object to execute the following steps: A blockchain that is stored and shared among multiple nodes connected via a P2P network; Verifying the validity of blocks added to the blockchain; and The authentication information read from the authentication condition is sent to the authentication node via a wireless signal, and the authentication condition includes the authentication information of at least one of the authenticated object, i.e., the passer-by and the mobile body, which corresponds to the portable terminal or the mobile body respectively and can be authenticated. The authentication condition specifies the authentication node set in the area for the authenticated object to pass from any node among the multiple nodes as a node that reads the authentication information and performs authentication, and the authentication condition is recorded in the block of the blockchain by the management node that is any node among the multiple nodes.
25. A method for constructing an access management system. in, The construction method comprises the following steps: The first program is distributed to an authentication device installed in an area where a passable body passes and is set as an authentication node, the authentication node being any node among a plurality of nodes; as well as The second program is distributed to the management device and set as a management node, the management node being any node among the plurality of nodes. The first program performs the following steps: A blockchain stored in a shared manner among the plurality of nodes connected via a P2P network; Verifying the validity of the block added to the blockchain; Read the authentication information of the pass; as well as When a node is designated as a node to be authenticated in an authentication condition recorded in a block of the blockchain by a management node that is any of the plurality of nodes, and the authentication information read is included in the authentication condition as authentication information of an authenticatable pass, the pass is authenticated, The second program performs the following steps: storing the blockchain shared among the plurality of nodes; Verifying the validity of blocks added to the blockchain; and The authentication condition is recorded in a block of the blockchain.
