Management system and management method
The IoT-based management system for rental spaces uses cryptographic keys to manage appliance use, preventing unauthorized access and enabling simultaneous activation upon authorization, addressing the challenge of improper account timing in rental scenarios.
Patent Information
- Application Number
- JP2023083634
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-05-22
- Publication Date
- 2024-12-04
AI Technical Summary
In rental scenarios such as hotels and inns, there is a need for a system to appropriately manage the use of electrical appliances installed in rented spaces, as existing systems may allow for unauthorized use before or after the rental period due to improper timing of account issuance.
A management system utilizing IoT devices and cryptographic keys to manage the operation of rental objects, where a key generation unit generates cryptographic information in response to a usage request, which is validated before allowing operation, and a key distribution unit ensures the IoT device performs the operation only when authorized.
This system effectively prevents unauthorized use of electrical appliances before or after the rental period by ensuring cryptographic keys are validated, allowing all appliances to be activated simultaneously upon authorized use, enhancing convenience and security.
Smart Images

Figure 2024167513000001_ABST
Abstract
Description
[Technical field]
[0001] The present invention relates to a management system and a management method. [Background technology]
[0002] In the field of IoT (Internet of Things), electronic equipment that can be operated via the Internet, such as smart home appliances, is becoming widespread. For example, the electronic equipment can be remotely controlled by operating it from a smartphone using an account issued to the electronic equipment. In addition, locks that can be electronically unlocked and locked, such as electronic locks, are becoming widespread as locks installed at the entrances of rooms (for example, Patent Document 1). [Prior art documents] [Patent documents]
[0003] [Patent Document 1] JP 2023-944 A Summary of the Invention [Problem to be solved by the invention]
[0004] As IoT becomes more widespread, it is expected that in rental situations where rooms are rented temporarily, such as hotels, inns, and rental offices, the practice of using electrical appliances installed in rented rooms for a set period of time will become more common.
[0005] When applied to rental scenarios, a mechanism for managing electrical appliances individually may be considered, such as issuing new accounts for the electrical appliances each time the user of the room changes. However, depending on the timing of issuing the account, the electrical appliances may be available before the period during which the room can be used has arrived or even after the period has passed. For this reason, a mechanism for appropriately managing electrical appliances installed in a room has been required in rental scenarios.
[0006] The present invention has been made in consideration of the above-mentioned circumstances, and its purpose is to provide a management system and management method that can appropriately manage the use of electrical appliances installed in a rental space. [Means for solving the problem]
[0007] The management system of the present invention comprises an IoT device provided on a rental object and capable of operating the rental object, a key generation unit that generates encryption information for using the rental object in response to a usage request notified from a user terminal, and a key distribution unit that transmits the encryption information generated by the key generation unit to the user terminal and the IoT device, and the IoT device determines to follow the usage operation when a usage operation by the user terminal to use the rental object is executed using the encryption information generated by the key generation unit and the encryption information is enabled.
[0008] The management method of the present invention is a management method performed by a computer, in which an IoT device is provided on a rental object and enables operation of the rental object, a key generation unit generates encryption information for using the rental object in response to a usage request notified from a user terminal, a key distribution unit transmits the encryption information generated by the key generation unit to the user terminal and the IoT device, and the IoT device determines to follow the usage operation when a usage operation by the user terminal to use the rental object is executed using the encryption information generated by the key generation unit and the encryption information is enabled. Effect of the Invention
[0009] According to the present invention, the use of electrical appliances installed in a rental space can be appropriately managed. [Brief description of the drawings]
[0010] [Figure 1]1 is a block diagram showing an example of the configuration of a management system 1 according to an embodiment. [Diagram 2] 4 is a diagram showing an example of information stored in a key management information storage unit 14 in the embodiment. FIG. [Diagram 3] 4 is a sequence diagram showing a flow of processing performed by the management system 1 of the embodiment. FIG. [Figure 4] 4 is a sequence diagram showing a flow of processing performed by the management system 1 of the embodiment. FIG. [Diagram 5] FIG. 13 is a block diagram showing an example of the configuration of a management system 1 according to a modified example of the embodiment. [Figure 6] FIG. 11 is a sequence diagram showing a flow of processing performed by a management system 1 in a modified example of the embodiment. [Figure 7] FIG. 11 is a sequence diagram showing a flow of processing performed by a management system 1 in a modified example of the embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0011] Hereinafter, an embodiment of the present invention will be described with reference to the drawings. In the following, a rental scene in which a room is temporarily rented for use will be described as an example, but the present invention is not limited to this. The present invention can also be applied to a case in which an outdoor venue such as a park or a square is rented.
[0012] (Regarding Management System 1) The management system 1 is a system for managing the use of rental objects. The rental object in this embodiment is configured to be available only to the user during a pre-reserved usage period using IoT (Internet of Things) technology. Specifically, the rental object is equipped with an IoT device 50 (see FIG. 1), and is configured to enable or disable operations on the rental object via the IoT device 50. The operations on the rental object here are, for example, operations to unlock or lock the electronic lock if the rental object is an electronic lock, or operations to turn on or off the lights if the rental object is a lighting fixture. A method in which the IoT device 50 controls operations on the rental object to be enabled or disabled will be described in detail later.
[0013] The rental object is, for example, an electrical appliance equipped with an IoT device 50. The electrical appliance as the rental object may be any product, but is, for example, an electronic device or electronic equipment installed in a rented room, more specifically, an electronic lock, lighting, a refrigerator, a vacuum cleaner, a coffee maker, an air conditioning device, etc. In the following description, the rental object equipped with an IoT device 50 may be simply referred to as the IoT device 50.
[0014] 1 is a block diagram showing an example of the configuration of a management system 1 according to an embodiment. The management system 1 includes, for example, a key distribution server 10, a user terminal 20, a rental management server 30, an electronic lock 40, an IoT device 50, and a device management server 60.
[0015] The key distribution server 10, the user terminal 20, the rental management server 30, and the device management server 60 are communicatively connected via a communication network such as the Internet. The user terminal 20, the electronic lock 40, the IoT device 50, and the device management server 60 are communicatively connected and have functions related to short-range wireless communication such as BLE (Bluetooth (registered trademark) Low Energy), WiFi, and NFC (Near field communication). The IoT device 50 may be configured to be connectable to a communication network such as the Internet via a repeater or the like.
[0016] The key distribution server 10 is a computer that manages the use of rental objects. As the key distribution server 10, a server device, a cloud, a PC (personal computer), etc. can be applied. The user terminal 20 is a computer operated by a user who uses the rental object. The user terminal 20 may be a smartphone, a tablet terminal, a PC, or the like. The rental management server 30 is a computer that accepts reservations for rental items. A server device, a cloud, a PC, etc. can be applied as the rental management server 30. For example, when the management system 1 is a system that manages accommodation reservations, the rental management server 30 is a server device that accepts accommodation reservations. The electronic lock 40 is a lock that can be locked and unlocked electronically. The electronic lock 40 is an example of a rental object. The electronic lock 40 is, for example, a lock installed at the entrance of a rented room. The IoT device 50 is a device provided in the rental object. The IoT device 50 receives an operation instruction via a communication network. The operation instruction is an instruction to operate the rental object, for example, to turn on a light or operate an air conditioning device. The IoT device 50 operates the rental object based on the received operation instruction. For example, the IoT device 50 is called an SE (Secure Element) or the like, and is a dedicated IC chip or the like that has a function of enhancing the security of communication and performs specialized processing such as mutual authentication and encryption / decryption processing. The device management server 60 is a computer that manages the IoT device 50. A server device, a cloud, a PC, or the like can be applied as the device management server 60. The device management server 60 stores the operation status of the IoT device 50. For example, when the IoT device 50 is activated or deactivated, the device management server 60 receives information indicating this from the IoT device 50 and updates the operation status based on the received information.
[0017] In this embodiment, for convenience of explanation, the electronic lock 40 and the IoT device 50 are described as separate components, but the electronic lock 40 is an example of a rental object. Specifically, the electronic lock 40 is a rental object provided with an IoT device 50 as an opening / closing control unit 41 described later.
[0018] (About the key distribution server 10) As shown in FIG. 1, the key distribution server 10 includes, for example, a key generation unit 11, a key distribution unit 12, an activation control unit 13, and a key management information storage unit 14.
[0019] The key generation unit 11 generates a "key." Here, the "key" is cryptographic information for using the rental object. Any cryptographic information may be used as the "key," but for example, the key may be an electronic certificate and key pair (hereinafter sometimes simply referred to as an "electronic certificate") used for authentication (mutual authentication or one-way authentication), a common key used for cryptographic communication, a password, etc. The key generation unit 11 generates a key in response to a request from the rental management server 30 that has received a reservation for use of the rental object.
[0020] The key generation unit 11 generates a key for each rental object, for example. For example, assume that the rental objects are an electronic lock 40 and an IoT device 50. In this case, the key generation unit 11 generates an electronic key for unlocking or locking the electronic lock 40, and cryptographic information used as a key for operating the IoT device 50. The key generation unit 11 may generate all of the keys for each rental object different from each other, or may generate the same keys. In addition, when there are three or more rental objects, some of the keys generated for each rental object may be the same. The key generation unit 11 outputs the generated keys to the key distribution unit 12.
[0021] The key distribution unit 12 distributes the key. The key distribution unit 12 distributes the key by transmitting the key to the user terminal 20 of the user who has made a reservation to use the rental object. The key distribution unit 12 also distributes the key by transmitting the key to the IoT device 50 corresponding to the rental object reserved for use by the user. Here, the key distribution unit 12 may also transmit the key to the rental management server 30 and the device management server 60 that have accepted the reservation for use.
[0022] The activation control unit 13 controls to activate or inactivate operations on rental objects. Any specific method can be adopted as a specific method for activating or inactivating operations on rental objects. For example, the activation control unit 13 transmits to the IoT device 50 a command to logically activate or deactivate a key stored in the IoT device 50. This makes it possible to activate or deactivate operations on rental objects. Alternatively, the key distribution server 10 assigns a key ID to the generated (or distributed) key when the key generation unit 11 generates a key or when the key distribution unit 12 distributes a key. After that, the rental management server 30 or the activation control unit 13 of the key distribution server 10 may be configured to manage whether the key ID associated with each key is valid or invalid. The activation control unit 13 communicates with the IoT device 50 and enables operations on the rental object by validating the key previously distributed by the key distribution server 10 to the IoT device 50. On the other hand, the activation control unit 13 disables operations on the rental object by invalidating the key previously distributed by the key distribution server 10 to the IoT device 50.
[0023] In this embodiment, the key is set to be invalid when the key is delivered to the IoT device 50. Then, when a "start operation" described later is performed correctly, the activation control unit 13 activates the key of the IoT device 50. This enables operations on the rental object corresponding to the IoT device 50.
[0024] The start operation is an operation that triggers the start of use of the rental object. The start operation is, for example, an operation of unlocking an electronic lock of a room to be rented. When the start operation is performed using a correct key, the activation control unit 13 determines that the terminal that performed the start operation is the correct user terminal 20. The correct key here is a key that is distributed from the key distribution server 10 to the user terminal 20 when the user terminal 20 makes a reservation to use the rental object. The correct user terminal 20 is a terminal device that has made a reservation to use the rental object. In this way, the activation control unit 13 prevents the operation of the rental object corresponding to the IoT device 50 from being enabled when an operation to unlock the rental object is performed illegally by a terminal device of a third party who has not made a reservation. Therefore, it is possible to prevent the rental object from being used illegally. On the other hand, when the start operation is performed using the correct key, the operation of the rental object is enabled. This can improve convenience by eliminating the trouble of individually executing an operation to enable each rental object even when a large number of rental objects are provided in a room to be rented.
[0025] It should be noted that the type of operation to be the start operation may be determined arbitrarily. As described above, the operation of unlocking the electronic lock 40 may be used as the trigger, or the keys held by the IoT devices 50 may be activated all at once using an operation of checking in to a hotel or accommodation facility, an operation of turning on a specific lighting device, an operation of operating a specific air conditioning device, or the like as the trigger. The trigger may also be the arrival of a certain time, for example, the start time of the usage period.
[0026] Furthermore, the activation control unit 13 disables the key of the IoT device 50 when a predetermined end operation is performed after activation by a start operation. The end operation is an operation that triggers the end of the use of the rental object, for example, an operation of checking out. The trigger may be the arrival of the end time of the usage period.
[0027] The key management information storage unit 14 stores key management information. The key management information is information used to manage keys.
[0028] Fig. 2 is a diagram showing an example of information stored in the key management information storage unit 14 in the embodiment. Fig. 2 shows, as key management information, an example of information for managing rental objects when renting a room in a hotel, a rental office, a rental conference room, a shared house, etc.
[0029] As shown in FIG. 2, for example, information corresponding to items such as room number, device, classification, expiration date, user ID, and status is stored as key management information. The room number indicates a number serving as identification information for specifying the room to be rented. The device indicates the fixtures and equipment installed in the room specified by the room number, which are to be managed as rental items. In the example of this figure, it is shown that the electronic lock on the door, IoT device X, and IoT device Y installed in room number 101 are to be managed as rental items.
[0030] In the classification, keys (encryption information) for operating rental objects such as electronic locks and IoT devices are shown for each entity that owns the key. For example, in this example, the entities that own the keys corresponding to the electronic locks are shown as the management key 101, the master key, the guest 101SA, the guest 101SB, ..., the employee 101JA, and the employee 101JB.
[0031] The management key 101 is a key used by the key distribution server 10. For example, the key distribution server 10 uses the management key 101 to generate a key to be individually distributed to the user terminal 20 or the like in response to a usage reservation. A master key is an electronic key that can open the electronic locks of multiple rooms in a hotel or other facility. Lodging guest 101SA and lodging guest 101SB are keys used by lodging guests, and are electronic keys capable of unlocking the electronic lock of the room (room number 101) in which the lodging guest is staying. Employee 101JA and employee 101JB are keys used by employees, and are electronic keys capable of unlocking the electronic lock of the room (room number 101) that the employee enters and exits.
[0032] The expiration date indicates the period during which the key shown in the classification column can be used. For example, in the example in this figure, it is shown that the master key can be used for six months from the first day of January to the last day of June 2023. It is shown that the guest 101SA and the guest 101SB can be used from 15:00 on February 7, 2023, which is the check-in time, until 13:00 on February 8, 2023, which is the check-out time. It is shown that the employee 101JA and the employee 101JB can be used from 14:00 on February 8, 2023, after check-out, until 9:00 on February 9, 2023, before the next check-in time.
[0033] The User ID indicates the identification information of the user who uses the key shown in the Category column. The Status indicates whether the key shown in the Category column is active or not.
[0034] As shown in FIG. 2, the key management information storage unit 14 stores rental objects to be managed based on user reservations in association with keys for operating the rental objects.
[0035] The storage unit (including the key management information storage unit 14) of the key distribution server 10 is configured with a storage medium such as a hard disk drive (HDD), a flash memory, an electrically erasable programmable read only memory (EEPROM), a random access read / write memory (RAM), a read only memory (ROM), or a combination of these. The storage unit of the key distribution server 10 stores programs for executing various processes in the key distribution server 10 and temporary data used when performing various processes.
[0036] Furthermore, the functional units (key generation unit 11, key distribution unit 12, and activation control unit 13) of the key distribution server 10 are realized by causing a CPU (Central Processing Unit) provided as hardware in the key distribution server 10 to execute a program.
[0037] (Regarding user terminal 20) As shown in FIG. 1, the user terminal 20 includes, for example, a reservation app execution unit 21 and a key information storage unit 22. The reservation app execution unit 21 executes the function of a reservation app. The reservation app is an application program that accepts reservations for use of a rental object. The reservation app is provided, for example, by a business operator that operates the management system 1. When reserving a rental object, the reservation app is installed in the user terminal 20 by a user, etc., so that the reservation app execution unit 21 can execute the function of the reservation app.
[0038] The reservation application execution unit 21 displays, for example, a reservation screen for accepting reservations as a screen corresponding to the function of the reservation application. The reservation application execution unit 21 acquires information related to the use reservation inputted according to the reservation screen, such as attribute information such as the user's name and address, the name of the rental object to be used, the use period, and the like, and transmits the acquired information to the rental management server 30. As a result, the rental management server 30 is notified of the information related to the use reservation for the rental object.
[0039] Furthermore, the reservation application execution unit 21 acquires the key generated by the key distribution server 10 via a communication unit (not shown) of the user terminal 20. The reservation application execution unit 21 stores the acquired key in the key information storage unit 22.
[0040] The reservation app execution unit 21 displays, as a screen according to the function of the reservation app, for example, an operation screen for performing operations on rental items. In this embodiment, the rental items include an electronic lock 40 and an IoT device 50. The same method can be adopted to operate these rental items. For this reason, the case where the user terminal 20 operates the electronic lock 40 will be described below, and a description of the method for operating the IoT device 50 will be omitted. Note that it is assumed here that the keys distributed to the rental items (electronic lock 40 and IoT device 50) have already been activated.
[0041] For example, the reservation application execution unit 21 displays an operation button labeled "unlock electronic lock" together with the room number of the room to be rented. When the user taps the operation button, the reservation application execution unit 21 communicates with the electronic lock 40 using the key notified from the key distribution server 10, and executes an operation to unlock the electronic lock 40.
[0042] For example, if the key notified from the key distribution server 10 is an electronic certificate used for authentication (mutual authentication or one-way authentication), the reservation application execution unit 21 transmits the electronic certificate for authenticating the user terminal 20 in response to a request from the electronic lock 40, etc., and has the electronic lock 40 authenticate that the user terminal 20 is a legitimate device and not an imitation. The reservation application execution unit 21 also requests an electronic certificate for authenticating the electronic lock 40 from the electronic lock 40, and authenticates that the electronic lock 40 is a legitimate device, that is, the electronic lock for the room reserved for use by the user terminal 20. If mutual authentication is performed and it can be determined that each device is a legitimate device, the electronic lock 40 unlocks in response to an operation by the user terminal 20.
[0043] Alternatively, if the key notified from the key distribution server 10 is a common key used for encrypted communication, the reservation application execution unit 21 encrypts the notification instructing the electronic lock 40 to open the lock with the common key, and sends the encrypted notification to the electronic lock 40. The electronic lock 40 receives the notification from the user terminal 20, and decrypts the received notification with the common key. If the electronic lock 40 is able to decrypt the notification, it executes an operation according to the notification. As a result, the electronic lock 40 unlocks the lock in response to the operation by the user terminal 20.
[0044] Alternatively, if the key notified from the key distribution server 10 is a password, the reservation application execution unit 21 transmits the password in response to a request from the electronic lock 40. The electronic lock 40 determines whether the password notified from the user terminal 20 matches a password notified in advance by the key distribution server 10. If the passwords match, the electronic lock 40 executes an operation in response to an operation instruction from the user terminal 20. As a result, the electronic lock 40 unlocks in response to the operation by the user terminal 20.
[0045] The reservation application execution unit 21 displays, as a screen corresponding to the function of the reservation application, for example, a check-out screen for accepting the return of the rental object. The reservation application execution unit 21 acquires information related to the reservation for use inputted according to the input screen, for example, information indicating user information such as the user's name and address, the name of the rental object to be used, the period of use, etc., and transmits the acquired information to the rental management server 30. As a result, the rental management server 30 is notified of the information related to the reservation for use of the rental object.
[0046] The key information storage unit 22 stores the key notified from the key distribution server 10.
[0047] The storage unit (including the key information storage unit 22) included in the user terminal 20 is configured with a storage medium such as a HDD, a flash memory, an EEPROM, a RAM, a ROM, or a combination of these. The storage unit included in the user terminal 20 stores programs for executing various processes in the user terminal 20 and temporary data used when performing various processes.
[0048] Furthermore, the functional unit (reservation application execution unit 21) included in the user terminal 20 is realized by causing a CPU included as hardware in the user terminal 20 to execute a program.
[0049] (About Rental Management Server 30) As shown in Fig. 1, the rental management server 30 includes a reservation management unit 31 and a user information storage unit 32. The reservation management unit 31 manages usage reservations for rental objects. When the rental management server 30 receives a usage reservation from the user terminal 20, the reservation management unit 31 transmits the received usage reservation to the key distribution server 10 and requests that the key corresponding to the usage reservation be distributed. In addition, the reservation management unit 31 stores user information based on the usage reservation received from the user terminal 20 in the user information storage unit 32.
[0050] The user information is information about a user who has made a reservation for use, and indicates who made the reservation, when, and what kind of reservation, as well as the status of the reservation. The status of the reservation for use is information indicating the process in which the rental object is used, such as whether a key has been generated by the key distribution server 10 for the rental object, whether the rental object has been operated using the generated key, and whether the rental object has been activated as a result of the operation. When the status of the reservation for use changes, for example because a key generated by the key distribution server 10 has been distributed to the user terminal 20, the reservation management unit 31 updates the user information in response to the change.
[0051] The user information storage unit 32 stores user information. The storage unit (including the user information storage unit 32) of the rental management server 30 is configured with a storage medium such as a HDD, a flash memory, an EEPROM, a RAM, a ROM, or a combination of these. The storage unit of the rental management server 30 stores programs for executing various processes in the rental management server 30, and temporary data used when performing various processes.
[0052] Furthermore, the functional unit (reservation management unit 31) of the rental management server 30 is realized by causing a CPU provided as hardware in the rental management server 30 to execute a program.
[0053] (About Electronic Lock 40) 1, the electronic lock 40 includes an opening / closing control unit 41 and a key information storage unit 42. The opening / closing control unit 41 acquires the key generated by the key distribution server 10 via a communication unit (not shown) of the electronic lock 40. The opening / closing control unit 41 stores the acquired key in the key information storage unit 42.
[0054] The opening / closing control unit 41 controls the opening and closing of the electronic lock, that is, the unlocking and locking. When the opening / closing control unit 41 receives a notification from the user terminal 20 or the like instructing to unlock the electronic lock, it determines whether or not to unlock based on the received notification, and unlocks the electronic lock if the received notification satisfies a predetermined unlocking condition. It is possible to apply a method equivalent to the unlocking condition when locking the electronic lock 40. Here, the opening / closing control unit 41 is an example of an IoT device 50. The electronic lock 40 is also an example of a rental object equipped with an IoT device 50.
[0055] The unlocking condition here is at least as long as it uses a key generated by the key distribution server 10. As described above, for example, if the key is an electronic certificate used for authentication (mutual authentication or one-way authentication), the opening / closing control unit 41 unlocks the lock when it is determined that the user terminal 20 and the electronic lock 40 are legitimate devices as a result of mutual authentication between the user terminal 20 and the electronic lock 40. If the key is a common key used for encrypted communication, the opening / closing control unit 41 unlocks the lock when it is able to correctly decrypt a notification related to an unlocking instruction from the user terminal 20 with the common key. If the key is a password, the opening / closing control unit 41 unlocks the lock when the correct password is notified from the user terminal 20.
[0056] The key information storage unit 42 stores the key notified by the key distribution server 10. The storage unit (including the key information storage unit 42) provided in the electronic lock 40 is composed of a storage medium such as a HDD, flash memory, EEPROM, RAM, ROM, or a combination of these. The storage unit provided in the electronic lock 40 stores programs for executing various processes in the electronic lock 40, and temporary data used when performing various processes. In addition, the functional unit provided in the electronic lock 40 (opening / closing control unit 41) is realized by having a CPU provided as hardware in the electronic lock 40 execute a program.
[0057] (About IoT Device 50) As shown in FIG. 1, the IoT device 50 includes an operation control unit 51 and a key information storage unit 52. The operation control unit 51 acquires the key generated by the key distribution server 10 via a communication unit (not shown) of the IoT device 50. The operation control unit 51 stores the acquired key in the key information storage unit 52. When the IoT device 50 has a highly secure storage area, such as when the IoT device 50 is an SE, it is desirable for the operation control unit 51 to store the key in the highly secure area. Storing the key in the highly secure area can prevent the key from leaking to the outside.
[0058] The operation control unit 51 performs operations on the rental object. When the IoT device 50 receives a notification to perform an operation on the rental object from the user terminal 20 or the like, it judges whether or not to perform the operation based on the received notification, and executes the operation if the received notification satisfies a predetermined operation condition. The operation condition here is the same as the unlocking condition of the electronic lock 40 described above, so a description thereof will be omitted.
[0059] Furthermore, when the key held by the IoT device 50 is invalidated by the key distribution server 10 or the like, the operation control unit 51 makes the key information stored in the key information storage unit 52 in an overwritable state. This makes it possible to store the newly generated key in the key information storage unit 52 when a new key is generated and distributed in order for another user to use a rental object.
[0060] The key information storage unit 52 stores the key notified from the key distribution server 10. The storage unit (including the key information storage unit 52) of the IoT device 50 is configured with a storage medium such as a HDD, a flash memory, an EEPROM, a RAM, a ROM, or a combination of these. The storage unit of the IoT device 50 stores programs for executing various processes in the IoT device 50 and temporary data used when performing the various processes. In addition, the functional unit (operation control unit 51) of the IoT device 50 is realized by causing a CPU provided as hardware in the IoT device 50 to execute a program.
[0061] (About device management server 60) 1, the device management server 60 includes a device management unit 61 and a device information storage unit 62. The device management unit 61 manages the IoT devices 50. The device management unit 61 stores device information in the device information storage unit 62 based on, for example, the operation status of the IoT device.
[0062] The device information is information on the operating status of the IoT device 50. The operating status is information indicating whether or not a key generated by the key distribution server 10 has been distributed to the IoT device 50, whether or not the key has been activated, etc. When the operating status changes due to, for example, a key generated by the key distribution server 10 being distributed to the IoT device 50, the device management unit 61 updates the device information in response to the change.
[0063] The device information storage unit 62 stores device information. The storage unit (including the device information storage unit 62) provided in the device management server 60 is configured with a storage medium such as a HDD, a flash memory, an EEPROM, a RAM, a ROM, or a combination of these. The storage unit provided in the device management server 60 stores programs for executing various processes in the device management server 60, and temporary data used when performing various processes. In addition, the functional unit (device management unit 61) provided in the device management server 60 is realized by having a CPU provided as the device management server 60 execute a program.
[0064] Here, the flow of processing performed by the management system 1 will be described with reference to Fig. 3 and Fig. 4. Fig. 3 and Fig. 4 are sequence diagrams showing the flow of processing performed by the management system 1 of the embodiment.
[0065] In this sequence diagram, an example is described in which an electronic certificate used for authentication (mutual authentication or one-way authentication) and its key pair are generated as the key distributed by the key distribution server 10. The key pair here is a pair of a private key and a public key. The electronic certificate includes an electronic signature generated using the private key. Depending on whether the electronic signature can be correctly decrypted using the public key, it can be verified whether the device that has notified the electronic certificate is a legitimate device.
[0066] FIG. 3 shows the flow of processing when a reservation for use of a rental object is made.
[0067] First, in response to an operation to make a reservation for use, the user terminal 20 transmits information related to the reservation for use, such as attribute information such as the user's name and address, the name of the rental item to be used, the period of use, etc., to the rental management server 30 (step S10).
[0068] The rental management server 30 generates user information based on the information related to the usage reservation received from the user terminal 20, and stores the user information in the user information storage unit 32. The rental management server 30 also transmits the information related to the usage reservation to the key distribution server 10, thereby requesting distribution of a key corresponding to the usage reservation (step S11).
[0069] Based on a request from the rental management server 30, the key distribution server 10 generates a key corresponding to the usage reservation, and distributes the generated key (step S12).
[0070] Here, the key distribution server 10 generates an electronic certificate and a key pair as the keys. For example, the key distribution server 10 first generates a key pair and generates an electronic signature using the private key of the generated key pair. Then, the key distribution server 10 generates an electronic certificate with the electronic signature attached. In this case, the key distribution server 10 transmits at least the private key of the key pair and the electronic certificate with the electronic signature to the owner of the electronic certificate. On the other hand, the key distribution server 10 transmits only the electronic certificate or the public key of the key pair to the other party that verifies the electronic certificate.
[0071] Specifically, the key distribution server 10 generates a key pair (first key pair) as authentication information for authenticating the user terminal 20, and generates an electronic certificate (first certificate) using the first key pair. The key distribution server 10 transmits the first certificate and at least the private key of the first key pair to the user terminal 20. In addition, the key distribution server 10 transmits only the first certificate or the public key of the first key pair to the electronic lock 40 and the IoT device 50.
[0072] The key distribution server 10 also generates a key pair (second key pair) as authentication information for authenticating the electronic lock 40, and generates an electronic certificate (second certificate) using the second key pair. The key distribution server 10 transmits the second certificate and at least the private key of the second key pair to the electronic lock 40. The key distribution server 10 also transmits only the second certificate or the public key of the second key pair to the user terminal 20 and the IoT device 50.
[0073] The key distribution server 10 also generates a key pair (third key pair) as authentication information for authenticating the IoT device 50, and generates an electronic certificate (third certificate) using the third key pair. The key distribution server 10 transmits the third certificate and at least the private key of the third key pair to the IoT device 50. The key distribution server 10 also transmits only the third certificate or the public key of the third key pair to the user terminal 20 and the electronic lock 40.
[0074] The key distribution server 10 may cause a destination device to generate a key pair and generate an electronic certificate using the key pair generated by the destination device. For example, when generating authentication information for authenticating the user terminal 20, the key distribution server 10 first instructs the user terminal 20 to generate a key pair (first key pair). The user terminal 20 generates the key pair (first key pair) in response to the instruction from the key distribution server 10 and transmits the public key of the generated key pair (first key pair) to the key distribution server 10. The key distribution server 10 generates an electronic certificate (first certificate) using the public key of the first key pair received from the user terminal 20.
[0075] Furthermore, the key distribution server 10 responds to the request from the rental management server 30 to the rental management server 30. The response may be any response, but may be, for example, a notification that the key has been distributed, or a notification of the electronic certificate or public key issued to the user terminal 20.
[0076] The user terminal 20 receives the key distributed from the key distribution server 10 and stores the received key in the key information storage unit 22 (step S13). The rental management server 30 receives a response to the key distribution request from the key distribution server 10, updates the user information based on the received response, and stores the updated information in the user information storage unit 32 (step S14). The electronic lock 40 receives the key distributed from the key distribution server 10 and stores the received key in the key information storage unit 42 (step S15). The IoT device 50 receives the key distributed from the key distribution server 10 and stores the received key in the key information storage unit 52 (step S16). As the IoT device 50 receives the key from the key distribution server 10, the device management server 60 updates the device information and stores the updated information in the device information storage unit 62 (step S17).
[0077] FIG. 4 shows a process flow when a rental object is used.
[0078] In response to an operation to unlock the electronic lock 40, the user terminal 20 transmits to the electronic lock 40 a notification indicating an instruction to unlock the electronic lock 40 together with an electronic certificate (step S20).
[0079] The electronic lock 40 authenticates the user terminal 20, and unlocks it if successful (step S21). For example, the electronic lock 40 obtains an electronic signature from the electronic certificate notified by the user terminal 20. The electronic lock 40 decrypts the electronic signature using a public key, and if the decryption is successful, it determines that the user terminal 20 is a legitimate device and has been authenticated. On the other hand, if the electronic signature cannot be correctly decrypted using the public key, it determines that the user terminal 20 is not a legitimate device and cannot be authenticated. If the electronic lock 40 is able to authenticate the user terminal 20, it notifies the rental management server 30 that it has been unlocked.
[0080] When the rental management server 30 receives a notification from the electronic lock 40 that the electronic lock 40 has been unlocked, it updates the user information and transmits to the key distribution server 10 a notification that the electronic lock 40 has been unlocked (step S22). When the key distribution server 10 receives a notification from the rental management server 30 that the electronic lock 40 has been unlocked, it transmits to the IoT device 50 a notification requesting the IoT device 50 to activate the key that has already been distributed to the IoT device 50 (step S23). The IoT device 50 activates the key in accordance with the request from the key distribution server 10 (step S24). As the IoT device 50 has been activated, the device management server 60 updates the device information and stores the updated information in the device information storage unit 62 (step S25).
[0081] On the other hand, when the IoT device 50 activates the key in step S24, it notifies the rental management server 30 to that effect. The rental management server 30 updates the user information based on the response received from the IoT device 50, stores the updated information in the user information storage unit 32, and cooperates by transmitting to the user terminal 20 a notification that the key of the IoT device 50 has been activated (step S26).
[0082] The user terminal 20 displays the IoT device 50, whose key has been activated based on the link with the rental management server 30, as an available IoT device 50 on the reservation application screen (step S27).
[0083] Thereafter, when the period during which the rental object can be used has ended, and a check-out operation is performed, the user terminal 20 transmits information related to the check-out, such as information indicating the user's attribute information and the name of the rental object to be terminated, to the rental management server 30 (step S30). The rental management server 30 updates the user information based on the information related to the check-out received from the user terminal 20, and stores the updated information in the user information storage unit 32. The rental management server 30 also transmits information related to the check-out to the key distribution server 10 (step S31). Based on the information related to the check-out received from the rental management server 30, the key distribution server 10 requests the electronic lock 40 and the IoT device 50 to be checked out to disable the activated key (step S32). When the electronic lock 40 receives a notification from the key distribution server 10 requesting that the key be disabled, the electronic lock 40 disables the key according to the received notification (step S33). When the IoT device 50 receives a notification from the key distribution server 10 requesting that the key be disabled, the IoT device 50 disables the key according to the received notification (step S34). As a result of the IoT device 50 being revoked, the device management server 60 updates the device information and stores the updated information in the device information storage unit 62 (step S35).
[0084] As described above, the management system 1 of the embodiment includes an IoT device 50, a key generation unit 11, and a key distribution unit 12. The IoT device 50 is provided on a rental object and is capable of operating the rental object. The key generation unit 11 generates a key (an example of encryption information) for using the rental object in response to a usage request notified from the user terminal 20. The key distribution unit 12 transmits the key generated by the key generation unit 11 to the user terminal 20 and the IoT device 50. When a usage operation for using the rental object by the user terminal 20 is executed using a key generated by the key generation unit 11 and the key is enabled, the IoT device 50 determines to follow the usage operation.
[0085] As a result, in the management system 1 of the embodiment, when a rental object is reserved for use, a key is issued in advance to the rental object so that the object cannot be used until the key is activated, and the key can be activated at an appropriate timing. Therefore, even if a key is issued in advance, it is possible to prevent an electrical appliance from being illegally used before the period during which the room can be used arrives or after the period has elapsed. Therefore, the use of electrical appliances installed in the rental space can be appropriately managed.
[0086] Moreover, the management system 1 of the embodiment further includes an activation control unit 13. When a check-in operation (an example of a specific start operation) by the user terminal 20 or an operation to unlock the electronic lock 40 (an example of a specific start operation) is performed using a key generated by the key generation unit 11, the activation control unit 13 activates the key transmitted to the IoT device 50 by the key distribution unit 12. As a result, in the management system 1 of the embodiment, a specific operation is used as a trigger to simultaneously make available all the electrical appliances installed in a space such as a rented room. Since the user does not need to individually activate many electrical appliances installed in the rented room, convenience can be improved.
[0087] In the management system 1 of the embodiment, the rental objects include an electronic lock 40 (an example of a first object) and an IoT device 50 (an example of a second object). When an operation to unlock the electronic lock 40 (an example of a use operation for the first object) is performed as a specific start operation, and the activation control unit 13 determines that the opening / closing control unit 41 (an example of an IoT device of the first object) of the electronic lock 40 complies with the use operation, the activation control unit 13 activates the key issued to the IoT device 50. As a result, in the management system 1 of the embodiment, the electrical appliances installed in a space such as a rented room can be made available for use all at once, triggered by the user's entry into the room.
[0088] Furthermore, in the management system 1 of the embodiment, the key generation unit 11 generates, as a key, an electronic certificate and a key pair (an example of authentication information) for authenticating the user terminal 20. The IoT device 50 authenticates the user terminal 20 using the electronic certificate and the public key of the key pair (an example of authentication information) notified from the user terminal 20. If the IoT device 50 determines that the user terminal 20 is a legitimate device as a result of the authentication, it determines to follow the usage operation. As a result, in the management system 1 of the embodiment, it is possible to prevent rental objects from being illegally operated by illegal terminals by using an authentication mechanism using an electronic certificate or the like.
[0089] Furthermore, in the management system 1 of the embodiment, when a check-out operation (an example of an end operation for ending the use of a rental object) is performed, the activation control unit 13 invalidates the key transmitted to the IoT device 50 by the key distribution unit 12. As a result, in the management system 1 of the embodiment, a specific operation can be used as a trigger to simultaneously disable all electrical appliances installed in a space such as a rented room. This improves convenience and makes it possible to prevent unauthorized remote operation after check-out.
[0090] (Modification of the embodiment) Here, a modified example of the embodiment will be described. This modified example differs from the above-mentioned embodiment in that the electronic lock 40 generates a key to be distributed to the IoT device 50. Below, the configuration different from the above-mentioned embodiment will be mainly described, and the same reference numerals will be used to denote the same configuration as the above-mentioned embodiment, and the description thereof will be omitted.
[0091] 5 is a block diagram showing an example of the configuration of a management system 1 in a modified example of the embodiment. An electronic lock 40 of the management system 1 includes a key generation unit 43 and a key distribution unit 44. The key generation unit 43 has a function equivalent to that of the key generation unit 11. The key distribution unit 44 has a function equivalent to that of the key distribution unit 12. Therefore, a description of the functions of the key generation unit 43 and the key distribution unit 44 will be omitted.
[0092] The start operation is used as a trigger for the key generation unit 43 to generate a key for each IoT device 50. The key generated here may use any encryption information, and may be, for example, an electronic certificate and key pair used for authentication (mutual authentication or one-way authentication), a common key used for encrypted communication, a password, or the like.
[0093] The key distribution unit 44 transmits the key generated by the key generation unit 43 to the IoT device 50 and the user terminal 20. In this modification, when the key is distributed to the IoT device 50, the key is set to be valid.
[0094] For example, when the key is a digital certificate and a key pair, the key distributor 44 transmits at least the private key of the key pair and the digital certificate with a digital signature to the owner of the digital certificate (e.g., the IoT device 50). On the other hand, the key distributor 44 transmits only the digital certificate or the public key of the key pair to the other party (e.g., the user terminal 20) that verifies the digital certificate.
[0095] For example, if the key is a common key, the key distribution unit 44 transmits the common key to each of the IoT device 50 and the user terminal 20. For example, if the key is a password, the key distribution unit 44 transmits the password to each of the IoT device 50 and the user terminal 20.
[0096] For example, assume that an operation to unlock the electronic lock 40 is performed by the user terminal 20 as a start operation. In this case, the user, for example, holds the user terminal 20 close to the electronic lock 40 and performs an operation to unlock the electronic lock 40 via short-range wireless communication such as BLE. The electronic lock 40 performs short-range wireless communication with the user terminal 20, and unlocks the electronic lock 40 when it is determined that the user terminal 20 is a legitimate device by means of authentication, encrypted communication, or a password. At this time, the user terminal 20, the electronic lock 40, and the IoT device 50 are present within a range where short-range wireless communication is possible with each other. Therefore, the key distribution unit 44 can transmit a valid key to the IoT device 50 and the user terminal 20 offline via short-range wireless communication such as BLE.
[0097] 6 and 7 are sequence diagrams showing the flow of processing performed by the management system 1 in the modified example of the embodiment.
[0098] In this sequence diagram, an electronic certificate and key pair used for authentication (mutual authentication or one-way authentication) are generated as a key, and an example is given of the case where the electronic lock 40 generates the electronic certificate for authenticating the IoT device 50.
[0099] Fig. 6 shows the flow of processing when a reservation for use of a rental object is made. Steps S40-S41 and S43-S47 in Fig. 6 are equivalent to steps S10-S11 and S13-S17 in Fig. 3, so their explanation will be omitted.
[0100] In step S42, the key distribution server 10 generates information excluding the electronic certificate for authenticating the IoT device 50 from the electronic certificate as the key and the key pair, and distributes the generated information.
[0101] Specifically, the key distribution server 10 generates a key pair (first key pair) as authentication information for authenticating the user terminal 20, and generates an electronic certificate (first certificate) using the first key pair. The key distribution server 10 transmits the first certificate and at least the private key of the first key pair to the user terminal 20. In addition, the key distribution server 10 transmits only the first certificate or the public key of the first key pair to the electronic lock 40 and the IoT device 50.
[0102] The key distribution server 10 also generates a key pair (second key pair) as authentication information for authenticating the electronic lock 40, and generates an electronic certificate (second certificate) using the second key pair. The key distribution server 10 transmits the second certificate and at least the private key of the second key pair to the electronic lock 40. The key distribution server 10 also transmits only the second certificate or the public key of the second key pair to the user terminal 20 and the IoT device 50.
[0103] Moreover, the key distribution server 10 generates only a key pair (a third key pair) as authentication information for authenticating the IoT device 50. The key distribution server 10 transmits the third key pair to the electronic lock 40.
[0104] A process flow for using a rental object is shown in Fig. 7. Steps S50-S51, S57-S59, and S60-S65 in Fig. 7 are equivalent to steps S20-S21, S25-S27, and S30-S35 in Fig. 4, so their explanation will be omitted.
[0105] In step S52, the electronic lock 40 uses the key pair (third key pair) to generate an electronic certificate (third certificate) for authenticating the IoT device 50. The electronic lock 40 transmits the third certificate and at least the private key of the third key pair to the IoT device 50. In addition, the key distribution server 10 transmits only the third certificate or the public key of the third key pair to the user terminal 20.
[0106] The IoT device 50 receives the key (the third certificate and at least the private key of the third key pair) distributed from the electronic lock 40, and stores the received key in the key information storage unit 52 (step S53). The user terminal 20 receives the key (the public key of the third key pair) distributed from the electronic lock 40, and stores the received key in the key information storage unit 22 (step S54).
[0107] The user terminal 20 performs an operation to activate the IoT device 50 using the electronic certificate (step S55), and the IoT device 50 is activated (step S56). When the user terminal 20 and the IoT device 50 perform mutual authentication and it is determined that each device is a legitimate device, the user terminal 20 operates the rental object corresponding to the IoT device 50. The IoT device 50 follows the operation from the user terminal 20. As a result, the IoT device 50 is activated.
[0108] Note that the process is not limited to the flow of the process shown in the sequence diagrams of Figures 6 and 7. In step S42, the key distribution server 10 may generate and distribute a first certificate and a first key pair, and a second certificate and a second key pair, and in step S52, the electronic lock 40 may generate and distribute a third certificate and a third key pair.
[0109] In addition, in step S42, the key distribution server 10 may be configured to generate and distribute a common key (first common key) used to encrypt and decrypt communications between the user terminal 20 and the electronic lock 40, and in step S52, to generate and distribute a common key (second common key) used by the electronic lock 40 to encrypt and decrypt communications between the user terminal 20 and the IoT device 50.
[0110] In addition, in step S42, the key distribution server 10 may be configured to generate and distribute a password (first password) to be used for communication between the user terminal 20 and the electronic lock 40, and in step S52, the electronic lock 40 may be configured to generate and distribute a password (second password) to be used for communication between the user terminal 20 and the IoT device 50.
[0111] As described above, in the management system 1 according to the modified embodiment, the rental objects include the electronic lock 40 (an example of the first object) and the IoT device 50 (an example of the second object). When the opening / closing control unit 41 (an example of the IoT device of the first object) determines that the usage operation is to be followed, it generates a third certificate (an example of the second encryption information) for using the IoT device 50. The opening / closing control unit 41 transmits the generated third certificate to the IoT device 50. The opening / closing control unit 41 transmits the public key of the third key pair to the user terminal 20. When the operation on the IoT device 50 by the user terminal 20 is executed using the third certificate (an example of the second encryption information generated by the electronic lock 40), the IoT device 50 (an example of the IoT device of the second object) determines that the usage operation is to be followed. As a result, in the management system 1 according to the modified embodiment, an operation on a specific rental object, for example, the unlocking of the electronic lock 40, is used as a trigger to simultaneously activate other rental objects, for example, rental objects provided with the IoT device 50. Furthermore, since it is assumed that at the time a specific rental item is operated, the user terminal 20, the specific rental item, and other rental items are within a range where short-range wireless communication is possible, it is possible to activate the other rental items offline.
[0112] The management system 1 and the key distribution server 10 in the above-mentioned embodiment may be realized in whole or in part by a computer. In that case, a program for realizing this function may be recorded in a computer-readable recording medium, and the program recorded in the recording medium may be read into a computer system and executed to realize the function. The term "computer system" as used herein includes hardware such as an OS and peripheral devices. The term "computer-readable recording medium" refers to portable media such as flexible disks, optical magnetic disks, ROMs, and CD-ROMs, and storage devices such as hard disks built into a computer system. The term "computer-readable recording medium" may also include a medium that dynamically holds a program for a short period of time, such as a communication line when a program is transmitted via a network such as the Internet or a communication line such as a telephone line, and a medium that holds a program for a certain period of time, such as a volatile memory inside a computer system that is a server or client in that case. The above-mentioned program may be a program for realizing a part of the above-mentioned function, or may be a program that can realize the above-mentioned function in combination with a program already recorded in the computer system, or may be a program that is realized using a programmable logic device such as an FPGA.
[0113] Although an embodiment of the present invention has been described in detail above with reference to the drawings, the specific configuration is not limited to this embodiment, and designs that do not deviate from the gist of the present invention are also included. [Explanation of symbols]
[0114] 1. Management system 10…Key distribution server 11...Key generation section 12...Key distribution section 13…Activation control section 20...User terminal 30…Rental management server 40...Electronic lock 50…IoT devices 60...Device management server
Claims
1. An IoT device provided on a rental object and capable of operating the rental object; a key generating unit that generates encryption information for using the rental object in response to a usage request notified from a user terminal; A key distribution unit that transmits the cryptographic information generated by the key generation unit to the user terminal and the IoT device; Equipped with The IoT device determines that the usage operation of the user terminal to use the rental object is performed using the encryption information generated by the key generation unit and the encryption information is enabled, Management system.
2. Further, an activation control unit that activates the cryptographic information transmitted to the IoT device by the key distribution unit when a specific start operation by the user terminal is executed using the cryptographic information generated by the key generation unit. The management system according to claim 1 .
3. The rental objects include a first object and a second object; The activation control unit, when it is determined that the IoT device of the first object complies with the use operation as the start operation performed on the first object, activates the encryption information generated for the second object. The management system according to claim 2.
4. the first object is an electronic lock installed in a rental room; The second object is an electronic device installed in the room. The management system according to claim 3.
5. the key generation unit generates, as the encryption information, authentication information for authenticating the user terminal; The IoT device authenticates the user terminal using the authentication information, and when it determines that the user terminal is a legitimate device, it determines to follow the usage operation. The management system according to claim 1 .
6. The rental object includes a first object and a second object, When the IoT device of the first object determines to follow the usage operation, the IoT device generates second encryption information for using the second object, and transmits the generated second encryption information to the user terminal and the second object; The IoT device of the second object determines that the usage operation is in accordance with the user terminal when the operation on the second object by the user terminal is performed using the second encryption information generated by the first object. The management system according to claim 1 .
7. the key generation unit generates, as the encryption information, first authentication information for authenticating the user terminal, and generates second authentication information for authenticating the first object; The IoT device of the first object performs mutual authentication with the user terminal based on the first authentication information and the second authentication information, and when it is determined that each device is a legitimate device through the mutual authentication, generates third authentication information for authenticating the second object, and transmits the generated third authentication information to the user terminal and the second object; The IoT device of the second object performs mutual authentication with the user terminal based on the first authentication information and the third authentication information, and when it is determined that each device is a legitimate device through the mutual authentication, it determines to follow the usage operation. The management system according to claim 6.
8. The activation control unit invalidates the encryption information transmitted to the IoT device by the key distribution unit when a termination operation for terminating the use of the rental object is executed. The management system according to claim 2.
9. A management method performed by a computer, comprising: An IoT device is provided on the rental object and enables the rental object to be operated; a key generating unit generating encryption information for using the rental object in response to a usage request notified from a user terminal; A key distribution unit transmits the encryption information generated by the key generation unit to the user terminal and the IoT device; The IoT device determines that the usage operation of the user terminal to use the rental object is performed using the encryption information generated by the key generation unit and the encryption information is enabled, Management method.
Citation Information
Patent Citations
Apparatus, method, and program for transmitting lock operation record to server
JP2023000944A
