Use permission device, method, and program
The usage permission device with a processor that changes modes based on input information addresses the limited flexibility in conventional systems by enabling automatic mode transitions, enhancing user access control and system efficiency.
Patent Information
- Application Number
- PCT/JP2024/022133
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-04-21
- Filing Date
- 2024-06-18
- Publication Date
- 2024-10-24
AI Technical Summary
Conventional usage permission systems for electric locks have limited flexibility in changing modes, requiring manual registration of authentication information after a one-time password is used, restricting the degree of freedom in mode transitions.
A usage permission device equipped with a processor that allows mode changes based on input information, comparing mode identification information with the current mode and changing it to a different mode if they match, enabling flexible mode transitions without manual registration.
Enhances the flexibility of mode changes in usage permission systems, allowing for seamless transitions between modes without the need for manual authentication information registration, improving user access control and system efficiency.
Smart Images

Figure JP2024022133_24102024_PF_FP_ABST
Abstract
Description
Permission device, method, and program
[0001] The present disclosure relates to a usage permission device, method, and program.
[0002] 2. Description of the Related Art Conventionally, for example, a technique has been known for unlocking a door of an electric lock attached to a property for preview use using a one-time password issued by a management device.
[0003] Patent Document 1 describes an "electric lock that can transition between a vacant mode, in which the lock is unlocked on the condition that a one-time password is authenticated by an authentication unit and transitions to a locked state after a predetermined time has passed, and an occupied mode, in which authentication by the one-time password is stopped and entry is only possible with electronic resident authentication information dedicated to the resident, and the transition from the vacant mode to the occupied mode is executed by registering authentication information in the registration unit after an unlocking operation using the one-time password." In other words, when transitioning from vacant mode to occupied mode, it is necessary to register authentication information in the registration unit after an unlocking operation using a one-time password, which results in a problem of low flexibility in changing modes.
[0004] Japanese Patent Application Laid-Open No. 2020-159112
[0005] The embodiments of the present disclosure have been made in light of the above-mentioned background, and have an object to suitably change the mode of a usage-permitted device.
[0006] The usage permission device of the present disclosure is configured to "have at least one processor capable of restricting at least the use of a usage object by a user, wherein the at least one processor, upon receiving input information from the user, identifies mode identification information corresponding to the input information based on the input information, compares the mode identification information with the current mode of the usage permission device, and, if the mode identification information matches the current mode, executes processing to change the current mode to another mode different from the current mode identified by the input information."
[0007] The usage permission device of the present disclosure is configured to "have at least one processor capable of restricting at least the use of a usage object by a user, wherein when the at least one processor receives mode change information for determining whether to change the current mode of the usage permission device, it identifies mode identification information corresponding to the mode change information based on the mode change information, compares the mode identification information with the current mode of the usage permission device, and if the mode identification information matches the current mode, executes processing to change the current mode to another mode different from the current mode identified by the mode change information."
[0008] Furthermore, the method disclosed herein is configured as "a method carried out in a usage permission device including at least one processor capable of restricting at least the use of a usage object by a user by causing the at least one processor to execute a predetermined instruction command, and includes the steps of, upon receiving input information from the user, identifying mode identification information corresponding to the input information based on the input information, and comparing the mode identification information with the current mode of the usage permission device, and if the mode identification information matches the current mode, changing the current mode to another mode different from the current mode identified by the input information."
[0009] Furthermore, the method disclosed herein is configured as "a method carried out in a usage permission device including at least one processor capable of restricting at least the user's use of a usage object by the at least one processor executing a predetermined instruction command, the method including the steps of: upon receiving mode change information for determining whether to change the current mode of the usage permission device, identifying mode identification information corresponding to the mode change information based on the mode change information; and, if the mode identification information matches the current mode, changing the current mode to another mode different from the current mode identified by the mode change information."
[0010] The program of the present disclosure is configured to "cause a usage permission device including at least one processor to function as a processor configured to, upon receiving input information from the user, identify mode identification information corresponding to the input information based on the input information, compare the mode identification information with the current mode of the usage permission device, and if the mode identification information matches the current mode, change the current mode to another mode different from the current mode identified by the input information."
[0011] The program disclosed herein is configured to "cause a usage permission device capable of restricting at least a user's use of a usage object to function as a processor configured to: accept input information from the user; accept mode change information for determining whether to change the current mode of the usage permission device; identify mode identification information corresponding to the mode change information based on the mode change information; compare the mode identification information with the current mode of the usage permission device; and, if the mode identification information matches the current mode, change the current mode to another mode different from the current mode identified by the mode change information."
[0012] According to the usage permission device, method, and program of the present disclosure, the mode of the usage permission device can be suitably changed.
[0013] It should be noted that the above effects are merely illustrative for the sake of convenience and are not limiting. In addition to or instead of the above effects, any effect described in this disclosure or an effect obvious to a person skilled in the art may be achieved.
[0014] FIG. 1 is a diagram illustrating the configuration of a processing system 1 according to the first embodiment. FIG. 2 is a diagram illustrating an example of the configuration of a locking / unlocking device 100 according to the first embodiment. FIG. 3 is a diagram illustrating an example of the configuration of a usage permission device 200 according to the first embodiment. FIG. 4 is a diagram illustrating an example of the configuration of a terminal device 300 according to the first embodiment. FIG. 5 is a diagram illustrating an example of the configuration of a server device 400 according to the first embodiment. FIG. 6A is a diagram illustrating a code management table 500 stored in the memory 213 of the usage permission device 200 according to the first embodiment. FIG. 6B is a diagram illustrating modes corresponding to operation codes and operations corresponding to the operation codes. FIG. 7A is a diagram illustrating a communication sequence in the processing system 1 according to the first embodiment. FIG. 7B is a flowchart illustrating an example of updating the code management table 500 by the processor 212 of the usage permission device 200 according to the first embodiment. FIG. 7C is a flowchart illustrating an example of a control procedure using the code management table 500 in the processor 212 of the usage permission device 200 according to the first embodiment. FIG. 7D is a flowchart illustrating an example of a control procedure using the code management table 500 in the processor 212 of the usage permission device 200 according to the first embodiment. FIG. 8 is a table showing the correspondence between the names of the third flag and the fourth flag and the identification number. FIG. 9 is a diagram illustrating the configuration of a usage permission device 200 according to another example of the first embodiment. FIG. 10 is a diagram showing a code management table 500 stored in the memory 213 of the usage permission device 200 according to the second embodiment. FIG. 11 is a diagram showing the code management table 500 stored in the memory 213 of the usage permission device 200 according to the third embodiment. FIG. 12A is a diagram showing the code management table 500 stored in the memory 213 of the usage permission device 200 according to the fourth embodiment. FIG. 12B is a flowchart showing an example of a control procedure using the code management table 500 in the processor 212 of the usage permission device 200 according to the fourth embodiment. FIG. 12C is a table showing the correspondence between the names of the third flag, the fourth flag, and the fifth flag according to the fourth embodiment and the identification number. FIG. 13 is a flowchart showing a procedure for setting an operation code according to the fifth embodiment. FIG. 14 is a diagram showing a code management table 500 stored in the memory 213 of the utilization permission device 200 according to the sixth embodiment.Fig. 15 is a diagram showing a code management table 500 stored in the memory 213 of the usage permission device 200 according to the seventh embodiment. Fig. 16A is a diagram showing a communication sequence in the processing system 1 according to the eighth embodiment. Fig. 16B is a flowchart showing the control procedure for a duplication confirmation process, described later, in the server device 400 according to the eighth embodiment. Fig. 17 is a diagram showing a code management table 500 stored in the memory 213 of the usage permission device 200 according to the tenth embodiment.
[0015] First Embodiment 1. Configuration of the Processing System 1 According to the First Embodiment The processing system 1 according to the present disclosure is capable of lifting restrictions on an object whose use by a user is restricted by a usage permission device. The processing system 1 is typically used in a house where at least one of entry and exit is restricted by a locked door, for example, to unlock the door using a usage permission device installed on the door to allow a user to enter. Note that while a house is cited here as an example of an object whose use is restricted, other objects may also be used. Examples of other objects include hotels, inns, private lodging facilities, warehouses, residences, apartment buildings (including entire buildings and individual rooms in apartment buildings), buildings (including entire buildings and individual rooms within buildings), areas spatially separated by walls such as safes, mobile objects such as automobiles, bicycles, and motorcycles, public transportation such as airplanes, ships, trains, and buses, electronic data such as electronic medical records, e-books, video content, and game content, and electronic devices such as smartphones, PCs, and game consoles. For ease of explanation, the following describes the case of a house as an object whose use is restricted. Fig. 1 is a diagram showing the configuration of a processing system 1 according to the first embodiment. As shown in Fig. 1, the processing system 1 includes a locking / unlocking device 100 (unlocking device), a usage permission device 200, a terminal device 300, and a server device 400. In the processing system 1, the usage permission device 200 and the server device 400 are connected to each other via the terminal device 300 and a communication network 11 so as to be able to communicate information and data with each other.
[0016] The locking / unlocking device 100 is installed near the lock 15 of a door 13 of a house, such as a rental property, and is capable of locking and unlocking the door 13 by operating the lock 15. The usage permission device 200 is a control device installed near the locking / unlocking device 100 and capable of controlling the locking / unlocking device 100. That is, the usage permission device 200 can operate the lock 15 to lock and unlock the door 13 by controlling the locking / unlocking device 100. The usage permission device 200 also has an input interface 215 through which a user can input a code such as a personal identification number. That is, when a user inputs a predetermined code (input information) via the input interface 215, the usage permission device 200 can control the locking / unlocking device 100 to operate the lock 15. The terminal device 300 is operated by, for example, the owner of the rental property in which the door 13 is installed, and is capable of wirelessly communicating with the usage permission device 200. The server device 400 is a device for managing codes such as PIN numbers by the owner of a rental property or the like that has a door 13 installed, and is capable of communicating with the terminal device 300 via the communication network 11 using a wideband wireless communication method such as the 5G method.
[0017] Here, in the processing system 1 according to the first embodiment, when a user inputs a predetermined code (input information), the usage permission device 200 identifies a mode corresponding to the input information and changes the current mode to another mode different from the current mode. Therefore, the processing system 1 according to the first embodiment changes the current mode based on the input information input by the user, thereby enabling the usage permission device 200 to perform control in the changed mode, and ultimately enabling the control mode of the usage permission device 200 to be switched depending on the mode changed based on the input information input by the user.
[0018] Here, in the present disclosure, the processing system 1 includes, as an example, a locking / unlocking device 100 capable of locking and unlocking the door 13 by operating the lock 15 of the door 13 (locking / unlocking), a usage permission device 200 capable of controlling the locking / unlocking device 100, a terminal device 300 capable of communicating with the usage permission device 200 via a narrowband wireless communication method such as Bluetooth (registered trademark), and a server device 400 capable of communicating with the terminal device 300 via a communication network 11 using a wideband wireless communication method such as 5G. This disclosure will focus on the operations performed by the usage permission device 200 that controls the locking / unlocking device 100. However, in this disclosure, the names given to each device are merely used to distinguish each device from each other, and other names may be used depending on the function of each device. Note that in this disclosure, "operation" merely means an operation performed as a result of a calculation process or the like, and includes any operation, such as controlling a physical operation or performing a control process.
[0019] In addition, in the present disclosure, the processing system 1 includes, as an example, a terminal device 300 and a server device 400. However, in the present disclosure, the terminal device 300 and the server device 400 may not be included in the processing system 1, and the use permission device 200 may control the locking / unlocking device 100 in a situation where communication via the communication network 11 is not possible. In addition, in the present disclosure, the processing system 1 includes, as an example, the locking / unlocking device 100 and the use permission device 200. However, in the present disclosure, the locking / unlocking device 100 and the use permission device 200 may be configured as a single device.
[0020] Furthermore, in this disclosure, the usage permission device 200 is described as a device, but it may also be, for example, an application stored in the terminal device 300. Furthermore, in this disclosure, the term "user" merely refers to a person who operates the usage permission device 200, and may include any person, such as the owner of the facility or storage unit in which the door 13 is installed, the administrator of the usage permission device 200, the user of the terminal device 300, and the administrator of the server device 400. Furthermore, in this disclosure, the locking / unlocking device 100 merely refers to an object controlled by the usage permission device 200, and may include any device, such as a light. Furthermore, in this disclosure, the door 13 simply refers to an object that opens and closes an opening in an object that forms a space, and may include any door, such as a door in a house or locker, or a car door.
[0021] 2. Components of the Processing System 1 The following describes each component of the processing system 1. Specifically, the configurations of the locking / unlocking device 100, the usage permission device 200, the terminal device 300, and the server device 400 shown in FIG.
[0022] (A) Configuration of the locking / unlocking device 100 Fig. 2 is a diagram illustrating the configuration of the locking / unlocking device 100 according to the first embodiment. The locking / unlocking device 100 does not need to include all of the components shown in Fig. 2, and some of the components may be omitted. Furthermore, the locking / unlocking device 100 may include components other than those shown in Fig. 2.
[0023] 2, the locking / unlocking device 100 includes an output interface (output IF) 111, a processor 112, a memory 113, and a communication interface (communication IF) 114. These components are electrically connected via a bus and control lines to transmit and receive data and information to and from each other.
[0024] The output interface 111 may be, for example, an output device such as an actuator, or a connection terminal that serves as an interface for connecting to such an output device. The output interface 111 functions as an output unit that receives instructions from the processor 112 and outputs various information. The actuator serving as the output interface 111 functions as an operating unit that operates the lock 15 to lock or unlock the door 13 in accordance with instructions from the processor 112. Note that the output interface 111 may use a motor that operates in a rotational direction instead of an actuator that operates in a linear direction, as long as it is possible to operate the lock 15 to lock or unlock the door 13.
[0025] The processor 112 is composed of at least one CPU (microprocessor) and its peripheral circuits. The processor 112 functions as a control unit that controls other connected components based on various programs stored in the memory 113. Specifically, the processor 112 of the locking / unlocking device 100 executes a program for operating the lock 15 and locking / unlocking the door 13 based on instructions from the usage permission device 200 according to this embodiment.
[0026] The memory 113 is composed of a ROM, a RAM, a non-volatile memory, an HDD, etc., and functions as a storage unit. A storage medium, a database, etc. that is detachable from the locking / unlocking device 100 may be connected to the memory 113.
[0027] The ROM stores predetermined instructions and commands as a program for executing the application and OS according to this embodiment. The RAM is a memory into which data required for processing is written and read while the program stored in the ROM is being processed by the processor 112. The non-volatile memory is a memory that retains written data without a power supply. The processor 112 writes data obtained by executing the program into the non-volatile memory and reads written data from the non-volatile memory.
[0028] The communication interface 114 includes a communication processing circuit and an antenna (not shown). The communication interface 114 is connected to the communication network 11 via the communication processing circuit and the antenna, and functions as a communication unit that transmits and receives data to and from other devices connected to the communication network 11.
[0029] Specifically, the communication interface 114 performs processing to send and receive the information and data required to operate the lock 15 and lock / unlock the door 13 based on instructions from the usage permission device 200 of this embodiment between other components of the processing system 1.
[0030] The communication interface 114 performs communication processing for communicating information via an antenna using narrowband wireless communication methods such as IEEE 802.11 and Bluetooth (registered trademark). Note that the communication interface 114 may perform wired communication instead of or in addition to the above-mentioned wireless communication, or may communicate information with the communication network 11 using a wideband wireless communication method such as a 5G method. (B) Configuration of the usage permission device 200
[0031] Fig. 3 is a diagram illustrating an example of the configuration of the usage permission device 200 according to the first embodiment. The usage permission device 200 does not need to include all of the components shown in Fig. 3, and some of the components may be omitted. Furthermore, the usage permission device 200 may include components other than those shown in Fig. 3.
[0032] 3, the permission device 200 includes an output interface (output IF) 211, a processor 212, a memory 213, a communication interface (communication IF) 214, and an input interface (input IF) 215. These components are electrically connected via a bus and control lines, and transmit and receive data and information to and from each other.
[0033] The output interface 211 may be, for example, an output device such as a speaker and a backlight (not shown), or a connection terminal that serves as an interface for connecting to these output devices. The output interface 211 functions as an output unit that receives instructions from the processor 212 and outputs various information. The backlight serving as the output interface 211 functions as a fluorescent unit that emits light inside the usage permission device 200 according to instructions from the processor 212, thereby causing the dial face of the input interface 215 of the usage permission device 200 (see FIG. 1 ) to fluoresce. The speaker serving as the output interface 211 functions as an audio output unit that outputs an audio signal.
[0034] The processor 212 is composed of at least one CPU (microprocessor) or a combination of at least one CPU and a GPU specialized for image processing, etc., and its peripheral circuits. The processor 212 functions as a control unit that controls other connected components based on various programs stored in the memory 213.
[0035] Specifically, when processor 212 of usage permitting device 200 accepts input information from a user, it identifies mode identification information corresponding to the input information based on the input information, compares the mode identification information with the current mode of usage permitting device 200, and if the mode identification information matches the current mode, executes processing to change the current mode to another mode different from the current mode identified by the input information. In other words, these processors 212 execute programs that perform processing to realize each function described in detail below.
[0036] The memory 213 is composed of a ROM, a RAM, a non-volatile memory, an HDD, etc., and functions as a storage unit. A storage medium, a database, etc. that is detachable from the usage permission device 200 may be connected to the memory 213.
[0037] Specifically, when memory 213 receives input information from a user, it identifies mode identification information corresponding to the input information based on the input information, compares the mode identification information with the current mode of usage permission device 200, and if the mode identification information matches the current mode, stores processing for changing the current mode to another mode different from the current mode identified by the input information.
[0038] The ROM stores predetermined instructions and commands as a program for executing the application and OS according to this embodiment. The RAM is a memory into which data required for processing is written and read while the program stored in the ROM is being processed by the processor 212. The non-volatile memory is a memory that retains written data without a power supply. The processor 212 writes data obtained by executing the program into the non-volatile memory and reads written data from the non-volatile memory.
[0039] For example, the memory 213 of the usage permission device 200 stores modes according to this embodiment, which will be described later, and programs for executing controls corresponding to those modes.
[0040] The communication interface 214 includes a communication processing circuit and an antenna (not shown). The communication interface 214 is connected to the communication network 11 via the communication processing circuit and the antenna, and functions as a communication unit that transmits and receives data to and from other devices connected to the communication network 11.
[0041] Specifically, the communication interface 214 performs processing to send and receive information and data required to change modes and execute controls corresponding to operation codes, which will be described later in this embodiment, between the terminal device 300 and the communication interface 214 .
[0042] The communication interface 214 performs communication processing for communicating information via an antenna using narrowband wireless communication methods such as IEEE 802.11 and Bluetooth (registered trademark). Note that the communication interface 214 may perform wired communication instead of or in addition to the above-mentioned wireless communication, or may communicate information with the communication network 11 using a wideband wireless communication method such as a 5G method.
[0043] The input interface 215 includes an input device such as a touch panel, for example, and functions as an input unit that accepts operation input from a person who unlocks the door 13. (C) Configuration of the terminal device 300
[0044] Fig. 4 is a diagram illustrating the configuration of a terminal device 300 according to the first embodiment. The terminal device 300 does not need to include all of the components shown in Fig. 4, and some of the components may be omitted. Furthermore, components other than those shown in Fig. 4 may be added to the terminal device 300.
[0045] 4, the terminal device 300 includes an output interface (output IF) 311, a processor 312, a memory 313, a communication interface (communication IF) 314, and an input interface (input IF) 315. These components are electrically connected via a bus and control lines, and transmit and receive data and information to and from each other.
[0046] The output interface 311 may be, for example, an output device such as a speaker or a display (not shown), or a connection terminal that serves as an interface for connecting to these output devices. The output interface 311 functions as an output unit that receives instructions from the processor 312 and outputs various information. If the output interface 311 is a display, it functions as a display unit that displays various information for managing usage restrictions on restricted objects according to the present embodiment in accordance with instructions from the processor 312. Such a display may be, for example, a liquid crystal display or an organic EL display. If the output interface 311 is a speaker, it functions as an audio output unit that outputs audio signals for executing the modes described below according to the present embodiment and the control corresponding to those modes.
[0047] The processor 312 is composed of at least one CPU (microprocessor) or a combination of at least one CPU and a GPU specialized for image processing, etc., and its peripheral circuits. The processor 312 functions as a control unit that controls other connected components based on various programs stored in the memory 313.
[0048] The memory 313 is composed of a ROM, a RAM, a non-volatile memory, an HDD, etc., and functions as a storage unit. A storage medium, a database, etc. that is detachable from the terminal device 300 may be connected to the memory 313.
[0049] The ROM stores predetermined instructions and commands as a program for executing the application and OS according to this embodiment. The RAM is a memory into which data required for processing is written and read while the program stored in the ROM is being processed by the processor 312. The non-volatile memory is a memory that retains written data without a power supply. The processor 312 writes data obtained by executing the program into the non-volatile memory and reads written data from the non-volatile memory.
[0050] The communication interface 314 includes a communication processing circuit and an antenna (not shown). The communication interface 314 is connected to the communication network 11 via the communication processing circuit and the antenna, and functions as a communication unit that transmits and receives data to and from other devices connected to the communication network 11.
[0051] Specifically, the communication interface 314 performs processing to send and receive the information and data required to execute the modes described below in this embodiment and the control corresponding to those modes, between other components of the processing system 1.
[0052] The communication interface 314 performs communication processing for communicating information via an antenna with the communication network 11 using a wideband wireless communication method such as the 5G method, or using narrowband wireless communication methods such as IEEE802.11 and Bluetooth (registered trademark). Note that the communication interface 314 may perform wired communication instead of or in addition to the above-mentioned wireless communication.
[0053] The input interface 316 includes, for example, input devices such as a touch panel and hard keys, and functions as an input unit that accepts operational inputs from the owner (for example, an administrator) of the terminal device 300 .
[0054] (D) Configuration of Server Device 400 The configuration of the server device 400 shown in FIG. 1 will now be described.
[0055] 5 is a diagram illustrating an example of the configuration of a server device 400 according to the first embodiment. The server device 400 does not need to include all of the components shown in FIG. 4, and some components may be omitted. Furthermore, components other than those shown in FIG. 4 may be added to the server device 400. Furthermore, the server device 400 may have a configuration in which processing and storage are distributed across multiple processing devices and storage devices, and in some cases, these devices may be collectively referred to as the server device 400.
[0056] 4, the server device 400 includes a processor 412, a memory 413, and a communication interface (communication IF) 414. These components are electrically connected via a bus and control lines to transmit and receive data and information to and from each other.
[0057] The processor 412 is composed of at least one CPU (microprocessor) or a combination of at least one CPU and a GPU specialized for image processing, etc., and its peripheral circuits. The processor 412 functions as a control unit that controls other connected components based on various programs stored in the memory 413.
[0058] The memory 413 is composed of RAM, ROM, non-volatile memory, HDD, etc., and functions as a storage unit. The memory 413 stores a program for managing usage restrictions on the restricted object 3 according to this embodiment. The ROM stores predetermined instructions and commands for executing the processing according to this embodiment as a program. The RAM is a memory into which data required for processing is written and read while the program stored in the ROM is being processed by the processor 412. The non-volatile memory is a memory that retains written data without a power supply. The processor 412 writes data obtained by executing the program to the non-volatile memory, and reads written data from the non-volatile memory.
[0059] The communication interface 414 includes a communication processing circuit and an antenna (not shown). The communication interface 414 is connected to the communication network 11 via the communication processing circuit and the antenna, and functions as a communication unit that transmits and receives data to and from other devices connected to the communication network 11.
[0060] The communication interface 414 performs communication processing for communicating information via an antenna with the communication network 11 using a wideband wireless communication method such as the 5G method, or a narrowband wireless communication method such as IEEE802.11 and Bluetooth (registered trademark). Note that the communication interface 414 may perform wired communication instead of or in addition to the above-mentioned wireless communication.
[0061] 3. Functions of Each Component of Processing System 1 The locking / unlocking device 100, usage permission device 200, terminal device 300, server device 400, etc. that make up the processing system 1 have the above-mentioned components. Each of these devices executes the following functions by reading out a program stored in its own memory, processing it with a processor, and controlling the other components.
[0062] (A) Locking / Unlocking Device 100 The locking / unlocking device 100 is an output device that receives instructions from at least the usage permission device 200 and operates the lock 15 to lock or unlock the door 13. Preferably, the locking / unlocking device 100 may be configured to receive instructions from the terminal device 300 via a narrowband wireless communication method and operate the lock 15 to lock or unlock the door 13.
[0063] (B) Usage permission device 200 The usage permission device 200 is a control device that controls the locking / unlocking device 100 by receiving instructions from, for example, a user. Preferably, the usage permission device 200 may receive a code management table (described later) from the terminal device 300 via a narrowband wireless communication method. More preferably, the usage permission device 200 may be configured to be able to control the locking / unlocking device 100 by receiving instructions from the terminal device 300 via a narrowband wireless communication method.
[0064] (C) Terminal Device 300 Examples of the terminal device 300 include a portable terminal device such as a smartphone, a tablet personal computer (PC), a notebook PC, or a desktop PC that can communicate with the communication network 11. The terminal device 300 is used to mediate a communication connection between the usage permission device 200 and the server device 400, and transmits a code management table 500 (described later) to the usage permission device 200. Preferably, the terminal device 300 may transmit instructions to the locking / unlocking device 100 via a narrowband wireless communication method to operate the lock 15 and lock / unlock the door 13, or may be configured to be able to control the locking / unlocking device 100 by transmitting instructions to the usage permission device 200 via a narrowband wireless communication method.
[0065] (D) Server Device 400 The server device 400 is a device capable of communicating with the communication network 11, and is a server managed by an administrator who manages the code management table 500. That is, the server device 400 transmits the code management table 500 to the usage permission device 200 via the terminal device 300 connected to the communication network 11.
[0066] 5. Information stored in memory 213 of usage permission device 200 Fig. 6A is a diagram showing a code management table 500 stored in memory 213 of the usage permission device 200 according to the first embodiment. Fig. 6B is a diagram showing modes corresponding to operation codes and operations corresponding to the operation codes. According to Fig. 6A, the code management table 500 has a mode management section 511 and a code management table 513. The mode management section 511 includes a plurality of modes (first mode, second mode, ... Nth mode).
[0067] Here, each mode according to this embodiment is associated with one or more executable operations. The usage permission device 200, for which a mode has been set, performs an operation identified by an operation code among the operations associated with the mode. More specifically, as shown in FIG. 6B , when input information corresponding to an operation code is input, the usage permission device 200 performs an operation based on the operation code among the operations associated with the set mode. In other words, if an operation code that does not correspond to the set mode is input, the usage permission device 200 will not operate.
[0068] The code management table 513 includes a management code column 521, an operation code column 523, and a plurality of flags column 525. The management code column 521 is a column in which consecutive numbers are stored for each row of the code management table 513. The numbers (management codes) stored in this management code column 521 are immutable. In other words, even if the operation codes stored in the operation code column 523 and the plurality of flags column 525 are changed, deleted, etc., the management codes will not change.
[0069] The operation code column 523 is a column storing numbers serving as operation codes used by the processor 212 when verifying numbers (input information) entered into the input interface 215. This allows the processor 212 to verify the input information against the operation codes and output the corresponding management code. The flags column 525 includes, for example, four flag columns, such as a first flag column 531 to a fourth flag column 534. Each row of each flag column stores a number serving as a flag. Here, a flag is information indicating a source file for the processor 212 to execute various controls, and is used to check whether preset conditions are met or the state of data. The meaning and effects of each flag in this embodiment will be explained later.
[0070] 6. Processing sequence executed by processing system 1 (A) Processing related to updating the code management table 500 Fig. 7A is a diagram showing a communication sequence in the processing system 1 according to the first embodiment. Specifically, it is a diagram showing a processing sequence executed between the usage permitting device 200, the terminal device 300, and the server device 400 from the time the terminal device 300 logs in to an application managed by the server device 400 until the usage permitting device 200 updates the code management table 500 and terminates the connection with the terminal device 300.
[0071] First, in response to a user operation (U11), the terminal device 300 transmits a login request to the server device 400 via the communication network 11 (T11) for logging in to an application managed by the server device 400. Although not shown, it is preferable that the terminal device 300 stores the application in advance, and that the user's identification information and password are registered with the server device 400 as a user who will use the application. Upon receiving the login request, the server device 400 performs authentication processing, for example, to determine whether the user's identification information included in the login request is registered with the server device 400 and whether the password included in the login request matches the password associated with the registered user's identification information (S11). That is, if the user's identification information included in the login request is registered with the server device 400 and the password included in the login request matches the password associated with the registered user's identification information, the server device 400 transmits a login permission notification to the terminal device 300 via the communication network 11, which is a notification that the user is permitted to log in to the application (T12). Through such communication processing, the terminal device 300 can log in to an application managed by the server device 400 and receive information about the code management table 500 from the server device 400 via the communication network 11 .
[0072] Next, the terminal device 300, in response to a user operation (U12), transmits a connection request to the usage-permitted device 200 (T13), requesting connection to the usage-permitted device 200. The usage-permitted device 200, which has received the connection request, performs connection processing to communicate data with the terminal device 300 (S12), and transmits a connection response to the terminal device 300 indicating that the connection processing has been completed (T14). Here, communication between the usage-permitted device 200 and the terminal device 300 is performed using a narrowband wireless communication method such as Bluetooth (registered trademark). Through this communication processing, the terminal device 300 can transmit information related to the code management table 500 to the usage-permitted device 200.
[0073] Next, the terminal device 300, in response to a user operation (U13), transmits an update request, which is a request to update the code management table 500 stored in the usage permission device 200, to the server device 400 via the communication network 11 (T15). Upon receiving the update request, the server device 400 generates update information, which is information related to the update of the code management table 500 (S13), and transmits the update information to the terminal device 300 via the communication network 11 (T16). Note that the update information may be information indicating differences from the code management table 500 before the update, or may be the code management table 500 after the update.
[0074] The terminal device 300 that has received the update information transmits the update information to the usage permission device 200 (T17). The usage permission device 200 that has received the update information performs a table update process (S14) that updates the code management table 500. This allows the usage permission device 200 to receive the update information from the server device 400 via the terminal device 300 and update the code management table 500. In particular, by receiving the update information from the server device 400 via the terminal device 300, the usage permission device 200 can update the code management table 500 without directly connecting to the communication network 11. Thereafter, the usage permission device 200 terminates the connection with the terminal device 300, for example, due to a user operation on the terminal device 300 (T18).
[0075] In the above description, the server device 400 transmits update information, which is information related to updating the code management table 500, to the usage permission device 200 via the terminal device 300 (T16, T17). However, the server device 400 may transmit update information directly to the usage permission device 200 via the communication network 11, or the administrator of the server device 400 may perform various operations, such as the update operation (U13), currently performed on the terminal device 300, directly on the server device 400. Furthermore, the condition for transmitting update information directly from the server device 400 to the usage permission device 200 may be that the mode of the usage permission device 200 is a specific mode that allows communication with the server device 400 via the communication network 11.
[0076] 7B is a flowchart showing the process of updating the code management table 500 by the processor 212 of the usage permission device 200 according to the first embodiment. Specifically, this flowchart shows the process of updating the code management table 500 after the usage permission device 200 connects to the terminal device 300 so as to be able to communicate information, and before updating the code management table 500 and terminating the connection with the terminal device 300.
[0077] First, in step S21, the processor 212 of the usage permitting device 200 receives a connection request from the terminal device 300 via the communication interface 214, and then performs connection processing to communicate data with the terminal device 300. Next, in step S22, the processor 212 of the usage permitting device 200 receives, via the communication interface 214, update information transmitted by the server device 400 via the terminal device 300. Then, in step S23, the processor 212 of the usage permitting device 200 updates the code management table 500 stored in the memory 213 based on the update information received from the server device 400, and then terminates the connection with the terminal device 300 in step S24. This allows the processor 212 of the usage permitting device 200 to update the code management table 500 stored in the memory 213 based on the update information received from the server device 400 via the terminal device 300. The above description focuses on the processing procedure performed by the processor 212 of the usage permission device 200 when updating the code management table 500. However, if the code management table 500 is not stored in the memory 213, the latest code management table 500 can be received from the server device 400 and stored in the memory 213. (C) Control Procedure Using the Code Management Table 500 by the Processor 212 FIGS. 7C and 7D are flowcharts illustrating an example of a control procedure using the code management table 500 by the processor 212 of the usage permission device 200 according to the first embodiment. Specifically, FIGS. 7C and 7D are flowcharts illustrating information processing performed by the processor 212 to control the output interface 211, memory 213, and communication interface 214 in accordance with the code management table 500 when input information is input to the processor 212 from the input interface 215. FIG. 8 is a table showing the correspondence between the names of the third and fourth flags (described later) and their identification numbers. The control procedure by the processor 212 will be described below with reference to FIGS. 6 to 8.
[0078] 7C, first, in step S100, as described above with reference to Figures 7A and 7B, the code management table 500 is updated or the latest code management table 500 is received. Thereafter, in the processing from step S101 onwards, the code management table 500 is updated (step S23), the connection with the terminal device 300 is terminated (step S24), and then the processing is carried out offline.
[0079] In step S101, it is determined whether or not input information has been input from the input interface 215. That is, step S101 is repeated until the input interface 215 is operated by the user and input information is entered (N). If input information is entered (Y), the process proceeds to step S102. The determination of whether or not input information has been entered may be performed, for example, by storing the entered numbers in the memory 213 until a certain time has elapsed since the first character of the input information was entered, while determining that no input information has been entered (N). The determination of whether or not input information has been entered may also be performed by storing the entered numbers in the memory 213 until a button indicating completion of input of the input information (e.g., the complete button 215a in FIG. 1) is operated, while determining that no input information has been entered (N), or a combination of these may be used. Furthermore, if a button indicating cancellation of input (e.g., the cancel button 215b in FIG. 1) is operated while it is determined that no input information has been entered since the first character of the input information was entered (N), the numbers stored in the memory 213 may be reset.
[0080] Next, in step S102, it is determined whether or not an operation code with the same value as the input information is found in the operation code column 523 of the code management table 513. If the determination result in step S102 is false (N), that is, if an operation code with the same value as the input information is not found in the operation code column 523, the process proceeds to step S104, where notification control is executed and this routine is terminated. Here, notification control refers to control that notifies the user that an operation code with the same value as the input information was not found in the operation code column 523 by, for example, activating the speaker of the output interface 211 to emit a buzzer sound and intermittently activating the backlight to flash the dial of the input interface 215.
[0081] On the other hand, if the determination result is true (Y) and an operation code with the same value as the input information is found in the operation code column 523, the process proceeds to step S103. In step S103, the flag in the first flag column 531 in the row of the management code corresponding to the operation code found in step S102 (hereinafter simply referred to as the first flag; the number indicated as the first flag is used as a mode identification number) is compared with the current mode number (mode identification number indicating the current mode), which is a number for identifying the current mode, to determine whether the current mode number is included in the first flag column 531. Hereinafter, in steps from step S103 onwards, the operation code found in step S102 is referred to as the target operation code, and the management code in the same row as the target operation code is referred to as the target management code. Here, the current mode refers to the mode in which the usage-permitting device 200 is set at the time of step S103, among the multiple modes described above. The current mode number is a preset identification number for identifying each mode by number. As a specific example of the current mode number, the number for the first mode, which is the occupancy mode, is "1," and the identification number for mode 2, which is the vacant mode, is "2." For ease of explanation, the following explanation will be given on the assumption that the same numbers are used for the "1 to N" portions of the first to Nth modes and the current mode number, but different identification numbers may be assigned, and characters other than numbers, such as alphabetic characters, may also be set.
[0082] If the determination result in step S103 is false (N) and the first flag does not contain the same number as the current mode number, the routine proceeds to step S104, where the notification control described above is executed, and the routine ends. On the other hand, if the determination result in step S103 is true (Y) and the current mode number is contained in the first flag column 532, the routine proceeds to step S105. Here, the reason why step S103 determines whether the current mode number is "contained" in the first flag is that, in a case where multiple numbers are stored as the first flag, even if the current mode number corresponds to one of the multiple numbers, the determination result is treated as true (Y). Note that the notification control executed when the routine proceeds from step S102 to step S104 and the notification control executed when the routine proceeds from step S103 to step S104 may have different notification modes.
[0083] Thus, in steps S101 to S103, the input interface 215 is operated to input input information ("Y" in S101), an operation code with the same value as the input information is found in the operation code column 523 ("Y" in S102), and if the first flag corresponding to the target operation code and target management code contains a mode number ("Y" in S103), the process proceeds to step S105. On the other hand, in steps S101 to S103, if an operation code with the same value as the input information is not found in the operation code column 523 ("N" in S102), or if the first flag does not contain the same number as the mode number ("N" in S103), the process proceeds to step S104, the notification control described above is executed, and this routine is terminated.
[0084] As a result, in steps S101 to S103, if, for example, the user inputs the wrong operation code ("N" in S102) or if the first flag related to the operation code input by the user does not correspond to the current mode ("N" in S103), it is possible to prevent the control from step S105 onwards from being carried out. In addition, in such cases, by executing the notification control described above, it is possible to notify the user, for example, that the user may have input the wrong operation code, or that the user is mistakenly trying to unlock a door other than the door 13 that the user intended to unlock.
[0085] On the other hand, in steps S101 to S103, for example, if the user correctly inputs an appropriate operation code ("Y" in both S102 and S103), control is executed according to the flag in the same row as the target management code in code management table 513. That is, in steps S101 to S103, a mode (first flag) corresponding to the input information is identified based on the input information entered by the user (steps S102 to S103), and the mode (first flag) is compared with the current mode of usage permission device 200. If the mode (first flag) matches the current mode, operations related to the second, third, and fourth flags, which are operations identified by the input information, are performed.
[0086] 7D, in step S105, it is determined whether the flag (hereinafter simply referred to as the second flag; mode identification information indicating the mode to which the change is to be made among the multiple modes) in the second flag column 532 (multiple types of information) in the row of the target management code is "0." If the determination result in step S105 is false (N) and the second flag is other than "0," the process proceeds to step S106, where the current mode number is changed to the number of the second flag (mode identification information indicating the mode to which the change is to be made among the multiple modes), and the process proceeds to step S107. On the other hand, if the determination result in step S105 is true (Y) and the second flag is "0," the process proceeds to step S107 without proceeding to step S106.
[0087] Here, the second flag column 532 indicates the current mode identification information, which indicates the mode to which the mode is to be changed from among the multiple modes. Specifically, a second flag of "1" indicates that the current mode number (current mode) is to be changed to the first mode (occupancy mode). A second flag of "2" indicates that the current mode number (current mode) is to be changed to the second mode (vacant mode). A second flag of "0" indicates that the current mode number (current mode) is not to be changed. Therefore, in steps S106 to S107, after determining whether or not the current mode number (current mode) should be changed according to the second flag (step S106), the current mode number (current mode) can be changed to the mode to which the second flag indicates. In other words, the processor 212 of the usage permission device 200 can change the current mode to a mode different from the current mode identified by the input information.
[0088] Next, in step S107, it is determined whether the flag in the third flag column 533 in the row of the target management code (hereinafter simply referred to as the third flag) is "0." If the determination result in step S107 is false (N) and the third flag is other than "0," the process proceeds to step S108, where the PIN is deleted, and the process proceeds to step S109. On the other hand, if the determination result in step S107 is true (Y) and the second flag is "0," the process proceeds to step S109 without proceeding to step S108.
[0089] Next, in step S109, it is determined whether the flag in the fourth flag column 534 in the row of the target management code (hereinafter simply referred to as the fourth flag) is "0." If the determination result in step S109 is false (N) and the fourth flag is other than "0," the process proceeds to step S110, where the locking / unlocking device 100 is controlled to operate the lock 15, thereby unlocking the door 13, and the routine ends. On the other hand, if the determination result in step S109 is true (Y) and the fourth flag is "0," the process does not proceed to step S110 and ends the routine.
[0090] 8, in step S107, which is control related to the third flag, an operation code, for example, a preset arbitrary PIN number, is deleted if the third flag is "1," and is not deleted if the third flag is "0." In addition, in step S108, which is control related to the fourth flag, if the fourth flag is "1," the locking / unlocking device 100 is controlled to operate the lock 15 to unlock the door 13, and if the fourth flag is "0," the door 13 is not unlocked.
[0091] That is, in steps S105 to S108, the current mode can be changed, the operation code serving as a PIN can be deleted, and the door 13 can be unlocked according to the second to fourth flags in the row of the target management code. While FIG. 6A shows that all of the first to fourth flags, the management codes, and the operation codes are managed in the same table, the code management table 500, some of the flags and some of the management codes and the operation codes may be managed in separate tables. As a specific example, the management codes "00003" and "00004" and the fourth flag may be managed in a separate table, and when the user enters "5678" or "3456" as the operation code, the control of steps S103 and S105 to S107 is not executed. In other words, the first to third flags in the code management table 500 are not executed, and the fourth flag is executed based on the separate table.
[0092] 6A, the current mode is changed, the operation code as a PIN is deleted, and the door 13 is unlocked based on the first to fourth flags, but the usage permission device 200 may be configured to execute preset operations such as changing the current mode, deleting the PIN and the operation code as a PIN, and unlocking the door 13 based on the first and second flags, in other words, without setting the third and fourth flags. As a specific example, when the second flag is "0" (Y in step S105), such as when the operation code input to the input interface 215 of the usage permission device 200 is "5678" or "3456," the usage permission device 200 may perform a preset operation such as unlocking the door 13.
[0093] (D) Example of Use of the Usage Permitting Device 200 and Effects Thereof The effects of the control by the processor 212 according to the first embodiment will be described below using an example in which the usage permitting device 200 is installed in a door at the entrance of a rental property. Naturally, this is just one example, and the usage of the usage permitting device 200 is not limited to this example.
[0094] (D-1) Use by Tenant First, we will explain the case where a tenant of the rental property unlocks the door 13 and enters the rental property. In such a case, the tenant inputs, for example, an operation code "5678" as a preset arbitrary personal identification number into the input interface 215 of the usage permission device 200. Here, the operation code "5678" as a personal identification number is, for example, the operation code that the tenant initially set when moving into the rental property.
[0095] When the operation code "5678" is input to the input interface 215 of the usage permitting device 200 in this manner, the processor 212 of the usage permitting device 200 finds the operation code "5678" from the operation code column 523 (Y in S102), and compares the first flag in the row of the corresponding management code, target management code "00003," with the current mode number (S103). Here, since the rental property is currently occupied by a tenant, the current mode is "occupancy mode" and the current mode number is "1."
[0096] That is, when the first flag and the current mode number are compared, they are both "1" and match (Y in S103), so the door 13 is unlocked according to the fourth flag (S107). Here, since the second flag and the third flag are both "0", the current mode number is not changed (Y in S105), and the operation code as a secret number is not deleted (S107).
[0097] This allows the resident to unlock the door 13 using the operation code as a personal identification number while keeping the current mode as "occupancy mode."
[0098] (D-2) Moving Out Next, we will explain the case where a resident of the rental property as a user moves out, for example, due to moving, etc. In such a case, once the resident has completed all the tasks required to move out of the rental property, such as moving, they input the operation code "1234," which has been notified in advance by a manager, such as a real estate company, that manages the rental property, into the input interface 215 of the usage permission device 200.
[0099] When the operation code "1234" is input to the input interface 215 of the usage permitting device 200 in this way, the processor 212 of the usage permitting device 200 finds the operation code "1234" from the operation code column 523 (Y in S102), and compares the first flag in the row of the corresponding management code, the target management code "00001," with the current mode number (S103). Here, because the tenant of the rental property is moving out, the current mode, which is the mode immediately before the tenant moves out, is the "move-in mode," and the current mode number is "1."
[0100] That is, when the first flag and the current mode number are compared, they both match at "1" (Y in S103), so in accordance with the second flag, the current mode number "1" is changed to "2" (S105, S1016), and in accordance with the third flag, "5678" in column 523 of the operation code in the row of management code "00003", which is an operation code as a preset arbitrary PIN, is deleted (S108).
[0101] By changing the current mode from "occupancy mode" to "vacant mode" while deleting "5678" from operation code column 523 in the row of management code "00003", the usage permission device 200 can prevent a resident who has input operation code "1234" into the input interface 215 of the usage permission device 200, i.e., a resident moving out, from unlocking door 13 using operation code "5678" to enter the rental property.
[0102] Specifically, as in the above-mentioned "(D-1) Use by Tenant," when a departing person inputs operation code "5678" into input interface 215 of usage permission device 200, processor 212 of usage permission device 200 cannot find operation code "5678" from operation code column 523 because "5678" has been deleted from operation code column 523 in the row of management code "00003" (N in S102). This allows usage permission device 200 to prevent the departing person from breaking into the rental property. Furthermore, compared to, for example, inserting a key into a cylinder and turning it to unlock a lock, the departing person can leave without returning the key to the manager.
[0103] Preferably, when the operation code "1234" is input into the input interface 215 of the usage permission device 200, the device waits until "1234" is input again, and only when "1234" is input again, the processing from step S103 onward is performed. This prevents the user from accidentally changing the current mode from "occupancy mode" to "vacant mode." Note that the operation code "5678" may be a number arbitrarily set by the resident when they begin occupancy, and is preferably set so that it is unique from other operation codes.
[0104] (D-3) Maintenance / Viewing Next, we will explain the case where the manager of the rental property, who is a user, enters the rental property to perform maintenance such as cleaning and repairs after a resident has moved out, or the case where the manager allows a person (customer) who is considering whether to move into the rental property to view the rental property. In such cases, the manager inputs the operation code "3456" into the input interface 215 of the usage permission device 200.
[0105] When the operation code "3456" is input to the input interface 215 of the usage permitting device 200 in this way, the processor 212 of the usage permitting device 200 finds the operation code "3456" from the operation code column 523 (Y in S102), and compares the first flag in the row of the corresponding management code, the target management code "00004," with the current mode number (S103). Here, since the tenant of the rental property has already moved out, the current mode, which is the mode after the move-out, is "vacant mode," and the current mode number is "2."
[0106] That is, when the first flag and the current mode number are compared, they both match at "2" (Y in S103), so the door 13 is unlocked according to the fourth flag (S107). Here, the second flag and the third flag are both "0," so the current mode number is not changed (Y in S105), and the operation code as a PIN is not deleted (S107). This allows the manager to unlock the door 13 using the operation code "3456" while keeping the current mode as "vacant mode."
[0107] Incidentally, when performing maintenance such as cleaning or repairs on the rental property after a resident has moved out, it is conceivable that a person from a cooperating company, such as a cleaning company, will enter the rental property alone instead of the manager. Furthermore, when the manager allows a customer to view the rental property, for example, if the manager is located far away, it is conceivable that the customer will view the property alone, i.e., the customer will enter the rental property alone. In such a case, the manager can communicate the operation code "3456" in advance to the cooperating company employee or customer as a user, allowing the cooperating company employee or customer to unlock the door 13 even when the manager is not present.
[0108] On the other hand, there may be a case where a person from the cooperating company or a customer mistakenly attempts to enter a rental property that is occupied by someone other than the person they are supposed to enter. In such a case, when the operation code "3456" is input to the input interface 215 of the usage permission device 200, the processor 212 of the usage permission device 200 finds the operation code "3456" from the operation code column 523 (Y in S102), and compares the first flag in the row of the corresponding management code, target management code "00004," with the current mode number (S103).
[0109] Here, since the rental property is currently occupied by a tenant, the current mode is "occupied mode" and the current mode number is "1." Meanwhile, the first flag in the row of the target management code "00004" is "2," which is different from the current mode number. In other words, since the determination result in step S103 is false (N), the process does not proceed to step S105 and subsequent steps, and the door 13 is not unlocked. This allows the usage permission device 200 to prevent anyone other than the tenant from entering the rental property.
[0110] (D-4) New Occupant Next, we will explain the case where a new occupant (hereinafter referred to as the new occupant) of the vacant rental property operates usage permission device 200. In such a case, the new occupant as a user inputs into input interface 215 of usage permission device 200 the operation code "2468" that has been notified in advance by, for example, a manager such as a real estate company that manages the rental property.
[0111] When the operation code "2468" is input to the input interface 215 of the usage permitting device 200 in this way, the processor 212 of the usage permitting device 200 finds the operation code "2468" from the operation code column 523 (Y in S102), and compares the first flag in the row of the corresponding management code, the target management code "00002," with the current mode number (S103). Here, because a new tenant is moving into the rental property (new occupancy), the current mode, which is the mode immediately before the new occupancy, is "vacant mode," and the current mode number is "2."
[0112] That is, when the first flag and the current mode number are compared, they both match at "2" (Y in S103), so the current mode number "2" is changed to "1" in accordance with the second flag (S105, S106).
[0113] By changing the current mode from "vacant mode" to "occupancy mode," the usage permission device 200 can prevent operations such as unlocking by operating an operation code with the first flag set to "2," such as the case described above where "a person from the cooperating company or a customer mistakenly attempts to enter a rental property occupied by someone else, rather than the rental property they are supposed to enter."
[0114] As described above, in the first embodiment, when the mode specified by the user's input information matches the current mode of the usage permitting device 200, the current mode is changed, thereby making it possible to restrict the operation of the usage permitting device 200 when the user's input information is the information before the current mode was changed. That is, the mode of the usage permitting device 200 can be suitably changed based on the user's input information. In particular, in the first embodiment, the usage permitting device 200 can perform the control from step S101 onwards (see FIGS. 7C and 7D) even offline, which simplifies the construction work required, for example, when installing the usage permitting device 200 on the door 13.
[0115] The operations for the first to fourth flags described above are merely examples, and other operations may be performed, or the flags may be increased or decreased. Also, in the above description, different operation codes are used, but it is also possible to use the same code and determine the operations for the second flag and thereafter by distinguishing based on the first flag.
[0116] 7. Another Example of the First Embodiment Another example of the first embodiment will be described below. Below, a description of the same configuration as the first embodiment will be omitted, and differences from the another example will be mainly described.
[0117] FIG. 9 is a diagram illustrating the configuration of a usage permission device 200 according to another example of the first embodiment. The input interface 215 of the usage permission device 200 according to this example includes, for example, a touch panel, an IC card reader, and a camera. The IC (integrated circuit) card reader is a device capable of reading information written on, for example, an IC card, which is a card-type information medium, when the IC card is brought into contact with the device. This IC card has an integrated circuit built in, and information such as identification information is written in advance using a so-called card writer. In other words, the IC card reader can read information such as identification information from an IC card that is brought into contact with the IC card. The camera is, for example, an imaging device capable of capturing an image of an object facing the usage permission device 200.
[0118] Here, the processor 212 of the usage permission device 200 according to another embodiment stores information read from the IC card by the IC card reader as an operation code in advance, and when the IC card reader reads information such as identification information from the IC card, the information read from the IC card reader is compared with the operation code. This allows the user to input information by touching the IC card to the IC card reader instead of inputting numbers into the touch panel.
[0119] In addition, the processor 212 of the usage permission device 200 according to another embodiment reads code information from a two-dimensional barcode captured by a camera and compares this code information as input information with the operation code. That is, by storing the code information read from the two-dimensional barcode in advance in the memory 213 as the operation code, the user can input input information by capturing the two-dimensional barcode with a camera instead of inputting numbers into the touch panel.
[0120] Furthermore, the processor 212 of the usage permission device 200 according to another embodiment extracts features from image information of the user's face captured by a camera and compares these features as input information with the operation code. That is, by storing the features extracted from the image information of the user's face in advance as operation codes in the memory 213, the user can input input information by capturing an image of the user's face with the camera instead of inputting numbers into the touch panel. Note that the features extracted from the image information of the user's face may be managed in a different manner from the information read by an IC card reader or the code information read from a two-dimensional barcode, such as by managing them in a separate table.
[0121] In other words, the processor 212 of the usage permission device 200 in another embodiment processes information read from the IC card by the IC card reader, code information read from the two-dimensional barcode, and features extracted from image information of the user's face as input information from the input interface 215 including the IC card reader and camera, thereby reducing the effort required for the user to input numbers into the touch panel.
[0122] <Second Embodiment> 8. Code Management Table 500 According to the Second Embodiment In the first embodiment described above, the code management table 500 was used to change the current mode from occupancy mode to vacant mode, or from vacant mode to occupancy mode, by inputting input information corresponding to an operation code. However, it is also possible to change the current mode from occupancy mode to mode change mode first, and then change it to vacant mode. This type of configuration will be described below as the second embodiment. Below, a description of the same configuration as in the first embodiment described above will be omitted, and differences from the first embodiment will be mainly described.
[0123] Fig. 10 is a diagram showing a code management table 500 stored in the memory 213 of the usage permission device 200 according to the second embodiment. According to Fig. 10, the mode management unit 511 further includes a mode change mode (third mode). Also, according to Fig. 10, the code management table 513 according to the second embodiment stores management codes "00011" to "00016".
[0124] The management code "00011" indicates that when the current mode of the usage permission device 200 is "occupancy mode" or "vacant mode," if the user inputs the operation code "9999" into the input interface 215 of the usage permission device 200, the current mode of the usage permission device 200 will be changed to "mode change mode."
[0125] The management code "00012" indicates that when the current mode of the usage permission device 200 is "mode change mode," if the user inputs the operation code "1234" into the input interface 215 of the usage permission device 200, the current mode of the usage permission device 200 will be changed to "vacant mode."
[0126] Like management code "00012," management code "00013" indicates that when the current mode of usage permission device 200 is "mode change mode," and operation code "1235" is input into input interface 215 of usage permission device 200 by user operation, the current mode of usage permission device 200 is changed to "vacant mode," while the operation code of management code "00015," for example, is deleted.
[0127] The management code "00014" indicates that when the current mode of the usage permission device 200 is "mode change mode," if the user inputs the operation code "7321" into the input interface 215 of the usage permission device 200, the current mode of the usage permission device 200 will be changed to "occupancy mode."
[0128] The management code "00015" and the management code "00016" are similar to the management code "00003" and the management code "00004" in the code management table 500 according to the first embodiment, and therefore a description thereof will be omitted here.
[0129] With this configuration, the user can input input information, and the current mode of the usage permission device 200 can be changed, for example, from occupancy mode to vacant mode when other input information different from the input information is input. As a specific example, when changing the current mode from "occupancy mode" to "vacant mode," the user first inputs the operation code "9999" as another input information, rather than inputting the operation code "1234" or the operation code "1235" whose second flag is "2" as input information. Then, the user inputs the operation code "1234" or the operation code "1235" whose second flag is "2" as input information, changing the current mode from "occupancy mode" to "vacant mode." With this configuration, the usage permission device 200 changes the current mode to the mode change mode, and then inputs an operation code indicating the destination mode to change the current mode. Therefore, even if the user inputs an incorrect operation code, the current mode can be prevented from being changed. In the second embodiment, the "mode change mode" is used as an example, but when input information is input, the current mode does not have to be directly changed from "occupancy mode" to "vacant mode," and the configuration may require re-input of information, and the "mode change mode" may not be used.
[0130] <Third Embodiment> 9. Code Management Table 500 According to the Third Embodiment In the first and second embodiments described above, the code management table 500 was used to change the current mode of the usage permission device 200 from "mode change mode" to "vacant room mode" when the operation code "1235" is input, while deleting the operation code with the management code "00015," for example. However, TOTP may also be used as the operation code. This embodiment will be described below as the third embodiment. Below, explanations of configurations similar to those of the first and second embodiments described above will be omitted, and differences from the second embodiment will be mainly described.
[0131] 11 is a diagram showing a code management table 500 stored in the memory 213 of the usage permission device 200 according to the third embodiment. As shown in Fig. 11, in the code management table 513 according to the third embodiment, the management code "00017" is stored in place of the management code "00013".
[0132] The management code "00017" uses "TOTP" instead of the operation code "1235" in the management code "00013." TOTP (Time-based One-time Password) is a one-time passcode generated as input information corresponding to interval time information and an operation code. Information related to TOTP includes information for generating a one-time passcode, such as seed information, interval time information, and number of digits information.
[0133] The usage permission device 200 according to the third embodiment receives information about the TOTP from the server device 400, for example, when updating the code management table 500. Furthermore, the terminal device 300 according to the third embodiment receives in advance from the server device 400 the same information about the TOTP as that received by the usage permission device 200. Note that the usage permission device 200 and the terminal device 300 do not necessarily need to receive the information about the TOTP from the server device 400 at the same time, and may receive the information about the TOTP at different times as long as the information matches.
[0134] Here, when a user uses the "TOTP" to change the current mode of the usage permission device 200 from "mode change mode" to "vacant mode" and delete an operation code, for example, management code "00015," the terminal device 300 generates input information based on information related to the TOTP previously received from the server device 400. Specifically, the terminal device 300 first extracts seed information associated with interval time information that corresponds to the time at which the user performed the operation. Next, the terminal device 300 extracts a number of digits based on the digit count information from the extracted seed information. As a result, the extracted number is generated as input information. The input information generated in this manner is displayed on the display, which is the output interface 311 of the terminal device 300. Furthermore, when a predetermined time has elapsed since the display, the terminal device 300 first extracts seed information associated with interval time information related to the time after the predetermined time. Next, the terminal device 300 extracts a number of digits based on the digit count information from the extracted seed information. As a result, the extracted numbers are regenerated (regenerated) as input information. The regenerated input information is displayed on the display, which is the output interface 311 of the terminal device 300. That is, the user inputs the input information displayed on the display of the terminal device 300 into the input interface 215 of the usage permitting device 200 within a predetermined time after the terminal device 300 generates the input information and displays it on the display. Even if the predetermined time has passed, the user inputs the input information that is regenerated according to the time information of the interval and displayed on the display into the input interface 215 of the usage permitting device 200.
[0135] Meanwhile, when the processor 212 of the usage permission device 200 receives input information generated by the terminal device 300 through a user operation, the processor 212 generates an operation code based on information related to the TOTP previously received from the server device 400. Specifically, similar to the terminal device 300, the processor 212 of the usage permission device 200 first extracts seed information associated with time information representing the interval at which the user performed the operation (e.g., the time at which the user selected the Complete button 215a in FIG. 1 ). Next, the processor 212 generates an operation code by extracting a number of digits based on the digit number information from the extracted seed information. The processor 212 of the usage permission device 200 then executes the control of step S102 ( FIG. 7C ) using the input information input through the user operation and the operation code generated in accordance with the information related to the TOTP previously received from the server device 400. As a result, the processor 212 of the usage permission device 200 can perform control such as changing the current mode of the usage permission device 200 from "mode change mode" to "vacant room mode" using information regarding the TOTP previously received from the server device 400, and ultimately, when a user inputs input information into the input interface 215 of the usage permission device 200, a temporarily usable passcode such as a one-time passcode can be used even if the usage permission device 200 and the terminal device 300 do not communicate via the communication network 11.
[0136] In the above description, the terminal device 300 generates the input information based on information relating to the TOTP received in advance from the server device 400, but it is also possible for the server device 400 to generate and transmit the input information when a user performs an operation to obtain the input information, and for the input information to be received by the terminal device 300. In this way, by having the terminal device 300 receive the input information, it is possible to implement control by the usage permission device 200 using authentication relating to the TOTP without having the terminal device 300 receive information relating to the TOTP, and it is therefore possible to prevent information relating to the TOTP from leaking from the terminal device 300.
[0137] In addition, in the above explanation, an example of the generation of input information and an operation code in TOTP-related authentication has been described, but any input information may be generated based on the time when the user performed the operation, seed information, and number of digits information, and is not limited to the above explanation. In addition, in the above explanation, authentication using TOTP has been described as an example of authentication using a one-time passcode, but HOTP (HMAC-based One-Time Password) may also be used, and any format may be used as long as a passcode that can be used temporarily is generated and used for authentication.
[0138] <Fourth Embodiment> 10. Code Management Table 500 According to the Fourth Embodiment In the first to third embodiments described above, one of the device controls by the usage permission device 200 is described as unlocking the door 13 by controlling the locking / unlocking device 100 according to the fourth flag to operate the lock 15. However, the device control by the usage permission device 200 is not limited to control of the locking / unlocking device 100, and the device may also be control of a camera. This embodiment will be described below as the fourth embodiment. Below, a description of the same configuration as the first embodiment and the other examples of the first embodiment described above will be omitted, and the differences from the first embodiment and the other examples of the first embodiment will be mainly described.
[0139] FIG. 12A is a diagram showing a code management table 500 stored in the memory 213 of the usage permission device 200 according to the fourth embodiment. FIG. 12B is a flowchart showing an example of a control procedure using the code management table 500 in the processor 212 of the usage permission device 200 according to the fourth embodiment. FIG. 12C is a table showing the correspondence between the names and identification numbers of the third flag, the fourth flag, and a fifth flag (described later) according to the fourth embodiment. According to FIG. 12A , the mode management unit 511 sets the security mode as the third mode. In addition, in the code management table 513, the operation code in the row of the management code "00005" is set to "1357" input from the input interface 215. In addition, in the code management table 513, the operation code in the row of the management code "00006" is set to a feature extracted from image information of the user's face captured by a camera. In addition, in code management table 513, "7531" input from input interface 215 is set as the operation code in the row of management code "00007." Furthermore, in column 525 of multiple flags in code management table 513, column 535 of a fifth flag is set.
[0140] 12B, in the control procedure by the processor 212 according to the fourth embodiment, after executing control related to the fourth flag in steps S109 and S110, step S121 determines whether the flag in the fifth flag column 535 in the row of the target management code (hereinafter simply referred to as the fifth flag) is "0." If the determination result in step S121 is false (N) and the fifth flag is other than "0," the process proceeds to step S122, where the camera is turned on and the routine is terminated. On the other hand, if the determination result in step S121 is true (Y) and the fifth flag is "0," the process does not proceed to step S122 and the routine is terminated.
[0141] Here, according to FIG. 12C, in step S122, which is the control related to the fifth flag, if the fifth flag is "1", the camera of the input interface 215 is turned ON to capture an image of, for example, an object facing the usage permission device 200, and if the fifth flag is "0", the camera is turned OFF.
[0142] Next, the effect of the control by the processor 212 according to the fourth embodiment will be described using an example in which the usage permission device 200 is installed at a door at the entrance of a rental property, as in the first embodiment. Of course, this is just one example, and the usage of the usage permission device 200 is not limited to this example.
[0143] (A) Changing from "Occupancy Mode" to "Security Mode" First, we will explain how a resident of the rental property, as a user, changes the mode of the usage permission device 200 from occupancy mode to security mode. The resident inputs, for example, the operation code "1357" obtained in advance from the administrator into the input interface 215 of the usage permission device 200.
[0144] When the operation code "1357" is input to the input interface 215 of the usage permitting device 200 in this manner, the processor 212 of the usage permitting device 200 finds the operation code "1357" from the operation code column 523 (Y in S102), and compares the first flag in the row of the corresponding management code, the target management code "00005," with the current mode number (S103). Here, since the resident of the rental property is changing the mode of the usage permitting device 200 from occupancy mode to security mode, the current mode before the operation code is input is "occupancy mode," and the current mode number is "1."
[0145] That is, when the first flag and the current mode number are compared, they both match at "1" (Y in S103), so the current mode number "1" is changed to "3" in accordance with the second flag (S105, S016), and the camera is turned on in accordance with the fifth flag (S122).
[0146] As a result, by changing the current mode from "occupancy mode" to "security mode" and turning on the camera, the usage-permitting device 200 can capture an image of an object facing the usage-permitting device 200. Therefore, in the "security mode," if, for example, someone other than the resident attempts to break into the usage-permitting device 200 while the resident is away, the usage-permitting device 200 can capture an image of the person other than the resident using the camera and store the image in the memory 213. The captured image information can be transmitted to the terminal device 300 using, for example, Bluetooth (registered trademark), to notify the resident after they return home. Note that, although the above description has been given of the usage-permitting device 200 turning on its camera in the "security mode," the camera need not be always on. For example, the camera may be turned on when someone approaches the usage-permitting device 200 using a proximity sensor, or when there is an input to the input interface 215, or may be turned on intermittently.
[0147] (B) Unlocking in "Anti-theft Mode" Next, we will explain how a resident can unlock the door 13 when the usage permission device 200 is in anti-theft mode. For example, the resident can have features extracted from image information of the resident's face stored in advance in memory 213 as an operation code, and then have the camera capture an image of the resident's face and input the features as input information.
[0148] When the image information of the resident's face is input to the input interface 215 of the usage permitting device 200 in this manner, the processor 212 of the usage permitting device 200 finds the resident's facial feature (hereinafter simply referred to as feature) as an operation code from the operation code column 523 (Y in S102), and compares the first flag in the row of the corresponding management code, target management code "00006," with the current mode number (S103). Here, since the usage permitting device 200 is in the security mode and the resident of the rental property is unlocking the door 13, the current mode before the operation code is input is "security mode," and the current mode number is "3."
[0149] That is, when the first flag and the current mode number are compared, they both match at "3" (Y in S103), so the door 13 is unlocked in accordance with the fourth flag (S107), and the camera is kept ON in accordance with the fifth flag (S122).
[0150] As a result, when the usage permission device 200 in "security mode" turns on its camera, the resident can have the camera capture an image of their face, thereby unlocking the door 13. Therefore, even if a person other than the resident has the camera of the usage permission device 200 capture an image of their face when the resident is not present, the usage permission device 200 in "security mode" can prevent the door 13 from being unlocked because the feature value, which is the operation code, is different. Also, even if a person other than the resident inputs "1234," which is the operation code used by the usage permission device 200 to unlock the door 13 in "occupancy mode," into the input interface 215, the first flag and the current mode number are different (N in S103), so the door 13 can be prevented from being unlocked.
[0151] (C) Changing from "Security Mode" to "Move-in Mode" Next, we will explain how a resident of the rental property, as a user, can change the mode of the usage permission device 200 from security mode to occupancy mode. The resident, for example, inputs the operation code "7531" obtained in advance from the administrator into the input interface 215 of the usage permission device 200. Furthermore, the resident has a camera capture an image of their face and inputs the feature values as input information.
[0152] When the operation code "7531" and the image information of the resident's face as the operation code are input to the input interface 215 of the usage permitting device 200 in this way, the processor 212 of the usage permitting device 200 finds the operation code "7531" and the feature as the operation code from the operation code column 523 (Y in S102), and compares the first flag in the row of the corresponding management code, the target management code "00007," with the current mode number (S103). Here, since the resident of the rental property is changing the mode of the usage permitting device 200 from security mode to occupancy mode, the current mode before the operation code is input is "security mode," and the current mode number is "3."
[0153] That is, when the first flag and the current mode number are compared, they both match at "3" (Y in S103), so the current mode number "3" is changed to "1" in accordance with the second flag (S105, S016), and the camera is turned off in accordance with the fifth flag (S122).
[0154] In this way, when changing the mode of the usage permission device 200 from security mode to occupancy mode, not only is it necessary to input the operation code "7531" into the input interface 215, but also image information of the resident's face as the operation code is required, so it is possible to prevent the mode of the usage permission device 200 from being changed from security mode to occupancy mode by someone other than the resident, for example.
[0155] Fifth Embodiment 11. Setting of Operation Codes According to the Fifth Embodiment In the first to fourth embodiments described above, a touch panel (a means for the user to input numbers), an IC card reader, and a camera were used as examples of the input interface 215, and the operation codes were determined to include input values entered by operating the touch panel, identification information read from an IC card, code information read from a two-dimensional barcode captured by a camera, and features extracted from image information of the user's face captured by a camera. In other words, the usage permission device 200 used multiple authentication methods (means for inputting input information). Furthermore, the user may optionally set and change the mode of the usage permission device 200 using these multiple authentication methods. This embodiment will be described below as the fifth embodiment. Below, a description of the same configuration as that of the alternative embodiment of the first embodiment will be omitted, and differences from the alternative embodiment of the first embodiment will be mainly described.
[0156] 13 is a flowchart showing the procedure for setting an operation code according to the fifth embodiment. Specifically, the flowchart shows the processing performed from when the usage permission device 200 connects to the terminal device 300 so as to be able to communicate information, to when the usage permission device 200 sets an operation code and terminates the connection with the terminal device 300.
[0157] First, in step S31, when the processor 212 of the usage permission device 200 receives a connection request from the terminal device 300 via the communication interface 214, the processor 212 performs connection processing to communicate data with the terminal device 300. Next, in step S32, the user operates the terminal device 300 to select a management code for setting an operation code.
[0158] Next, in step S33, a new operation code is input for the operation code in the management code selected in step S32. As a specific example, when setting the operation code "5678" in code management table 500 in Fig. 6A to be changed to identification information stored in the IC card, management code "00003" is selected in step S32, and the IC card is held over the IC card reader included in input interface 215 of usage permission device 200. Thereafter, in step S35, the connection with terminal device 300 is terminated.
[0159] This allows the user as a resident, for example, to arbitrarily set the control related to the management code "00003," i.e., the operation code required to unlock the door 13 when the usage permission device 200 is in occupancy mode, to be input by IC card. Similarly, by selecting the operation mode of the management code arbitrarily selected by the user from the plurality of authentication methods described above, the operation mode can be set to suit the user's intended use and preferences.
[0160] In the above explanation, as an example, the operation code related to the management code "00003" is set to be changed from the operation code "5678" to the identification information stored in the IC card. However, the user may set both "5678" and the identification information stored in the IC card as the operation code related to the management code "00003", and set it at his / her discretion so that even if only one of them is input, it is determined that the operation code has been found in the operation code column 523 (Y in S102 in FIG. 7C). Alternatively, the user may set it at his / her discretion so that it is determined that the operation code has been found in the operation code column 523 (Y in S102) only when both "5678" and the identification information stored in the IC card are input as the operation code related to the management code "00003".
[0161] In the above description, the tenant as a user sets the operation mode as an example, but the property manager as a user may set the operation mode as desired. In the above description, the terminal device 300 is used to set the operation mode, but the operation mode may be set by operating the usage permission device 200, or may be set from the server device 400 via the communication interface 214.
[0162] As examples of authentication methods, authentication using an IC card with an IC card reader, authentication using a two-dimensional barcode with a camera, and authentication using image information of the user's face with a camera have been described, but authentication information of the terminal device 300 using Bluetooth (registered trademark) and biometric information such as fingerprints, veins, voiceprints, and retina may also be stored in advance in the memory 213 of the usage permission device 200 and used.
[0163] <Sixth Embodiment> 12. Code Management Table 500 According to the Sixth Embodiment In the first to fifth embodiments described above, the use permission device 200 that locks and unlocks the doors of a house has been mainly described. However, it may also be configured to lock and unlock the doors of lockers that are temporarily loaned to users to store luggage. This embodiment will be described below as the sixth embodiment. Below, a description of the same configuration as the first embodiment described above will be omitted, and differences from the first embodiment will be mainly described.
[0164] 14 is a diagram showing a code management table 500 stored in the memory 213 of the usage permission device 200 according to the sixth embodiment. According to FIG. 14, the mode management unit 511 is set to the normal usage mode as the first mode. Furthermore, the mode management unit 511 is set to the maintenance mode as the second mode. Furthermore, in the code management table 513, the operation code in the row of the management code "00001" is set to identification information read from the IC card by the IC card reader.
[0165] That is, in the usage permission device 200 according to the sixth embodiment, for example, when a locker manager holds an IC card owned by the locker manager over an IC card reader, the IC card reader reads identification information from the IC card, and if this identification information matches the identification information stored as an operation code in the row of management code "00001" in code management table 513, the mode of usage permission device 200 is changed from "normal use mode" to "maintenance mode." As a result, for example, when a locker needs maintenance due to damage or deterioration, the locker manager can hold his / her IC card over the IC card reader to change the mode of usage permission device 200 from "normal use mode," in which the locker is rented out to a user, to "maintenance mode," in which the user is prevented from using the locker.
[0166] On the other hand, the operation code in the row of the management code "00002" in the code management table 513 is "2468." That is, similar to the usage permission device 200 according to the first embodiment, when "2468" is input into the input interface 215, the usage permission device 200 that has been changed to the "maintenance mode" changes its mode from the "maintenance mode" to the "normal use mode." This allows, for example, a worker who has completed maintenance on a locker to change the mode of the usage permission device 200 from the "maintenance mode" back to the "normal use mode" by inputting "2468" into the input interface 215 in order to rent the locker out to a user again.
[0167] Therefore, the usage permission device 200 according to the sixth embodiment can only permit authentication using an IC card owned by the administrator to change the mode of the usage permission device 200 from "normal use mode" to "maintenance mode," thereby preventing anyone other than the administrator from changing the mode of the usage permission device 200 from "normal use mode" to "maintenance mode." Furthermore, the usage permission device 200 according to the fourth embodiment can change the mode of the usage permission device 200 from "maintenance mode" to "normal use mode" by a worker who has completed maintenance of a locker entering "2468" into the input interface 215, thereby enabling the mode of the usage permission device 200 to be changed from "maintenance mode" to "normal use mode" without using an IC card owned by the administrator. In the sixth embodiment, the operation code in the row with management code "00002" is left as "2468", but by adding identification information for the IC card, the mode of the usage permission device 200 can be changed from "maintenance mode" to "normal usage mode" by entering "2468" into the input interface 215 or by holding the IC card over an IC card reader.It is also possible to store different identification information for the "identification information" of the operation code in the row with management code "00001" and the "identification information" of the operation code in the row with management code "00002", and change the mode of the usage permission device 200 using different IC cards.
[0168] <Seventh Embodiment> 13. Code Management Table 500 According to the Seventh Embodiment In the first to sixth embodiments described above, the use permission device 200 that locks and unlocks the doors of a house and the use permission device 200 that locks and unlocks the doors of a locker that is temporarily rented out to a user to store luggage has been mainly described. However, it may also be configured to lock and unlock the doors of a room (a so-called shared office) that is temporarily allowed for user entry. This embodiment will be described below as the seventh embodiment. Below, a description of the same configuration as the first embodiment described above will be omitted, and differences from the first embodiment will be mainly described.
[0169] FIG. 15 is a diagram showing a code management table 500 stored in the memory 213 of the usage permission device 200 according to the seventh embodiment. According to FIG. 15 , the mode management unit 511 sets the normal usage mode as the first mode. The mode management unit 511 also sets the limited usage mode as the second mode. In the code management table 513, the operation code for the management code "00001" is set to "9999" input from the input interface 215, as well as the first identification information read by the IC card reader from the first IC card and the second identification information read from the second IC card. In the code management table 513, the operation code in the row for the management code "00002" is set to a feature extracted from image information of a specific user's face captured by a camera. In the code management table 513, the operation code in the row for the management code "00003" is set to the first identification information and the second identification information. In addition, in the code management table 513, the second identification information read from the second IC card by the IC card reader is set in the operation code in the row of management code "00004".
[0170] Here, the "first identification information and second identification information" in the operation codes of the management codes "00001" and "00003" means either the first identification information or the second identification information. That is, for the operation code of the management code "00001", a combination of "9999" input from the input interface 215 and the first identification information, and a combination of "9999" input from the input interface 215 and the second identification information are set as the operation code.
[0171] In other words, when the usage permission device 200 of the seventh embodiment is in the "normal usage mode," it is possible to unlock the door 13 by holding a first IC card owned by a general member, for example, among the members of the shared office, over the IC card reader, and it is also possible to unlock the door 13 by holding a second IC card owned by a limited member, who is a limited subset of the general members, over the IC card reader.
[0172] On the other hand, the usage permission device 200 according to the seventh embodiment unlocks the door 13 by holding the second IC card over the IC card reader when the usage permission device 200 is in the "limited use mode," but does not unlock the door 13 when the first IC card is held over the IC card reader. Therefore, the usage permission device 200 according to the seventh embodiment can unlock the door 13 for, for example, a limited member who possesses the second IC card regardless of whether the "normal use mode" or the "limited use mode" is set, and can unlock the door 13 for a general member who possesses the first IC card only in the "normal use mode."
[0173] Furthermore, when the usage permission device 200 of the seventh embodiment is in the "normal usage mode," the mode of the usage permission device 200 can be changed from the "normal usage mode" to the "limited usage mode" by, for example, a general member inputting "9999" from the input interface 215 and then holding their first IC card over the IC card reader, or by, for example, a limited member inputting "9999" from the input interface 215 and then holding their second IC card over the IC card reader.
[0174] On the other hand, in the seventh embodiment, when the mode of the usage permission device 200 is the "limited use mode", any combination of "9999", the first identification information, and the second identification information input from the input interface 215 does not change the mode of the usage permission device 200 from the "limited use mode" to the "normal use mode", and the mode of the usage permission device 200 can be changed from the "limited use mode" to the "normal use mode" only when the face of a specific user is captured by the camera.
[0175] As a result, for example, if the above-mentioned feature is extracted from image information of the face of the manager of the shared office captured by a camera, only the manager can change the mode of the usage-permitting device 200 from the "limited use mode" to the "normal use mode." On the other hand, the manager cannot change the mode of the usage-permitting device 200 from the "normal use mode" to the "limited use mode," or unlock the door 13 whether the "normal use mode" or the "limited use mode" is set.
[0176] Therefore, in the seventh embodiment, for example, in the case of a meeting where all members gather in a shared office, the mode of the usage permission device 200 can be set to "normal use mode" so that only members can unlock the door 13, and in the case where, for example, information that should only be disclosed to limited members is contained in the shared office, the mode of the usage permission device 200 can be set to "limited use mode" so that only limited members can unlock the door 13.In either mode, it is possible to prevent the shared office administrator from unlocking the door 13, and ultimately to realize the unlocking of the door 13 that conforms to the security level and the permission to change the mode of the usage permission device 200.
[0177] Eighth Embodiment 14. Setting of Operation Codes According to the Eighth Embodiment In the first embodiment described above, as an example, the operation code "5678" is used as a PIN number when a resident unlocks the door 13. It was also described that the operation code "5678" is the operation code that a resident initially sets when moving into the rental property. When a resident arbitrarily sets an operation code in this way, it is also possible to restrict the setting of an operation code that is the same as a specific operation code. This embodiment will be described below as the eighth embodiment. Below, a description of the same configuration as the first embodiment described above will be omitted, and differences from the first embodiment will be mainly described.
[0178] 16A is a diagram showing a communication sequence in the processing system 1 according to the eighth embodiment. Also, FIG. 16B is a flowchart showing a control procedure for a duplication confirmation process, which will be described later, in the server device 400 according to the eighth embodiment. The user sets the operation code by communicating with the server device 400 via the communication interface 314 from the terminal device 300, and the setting value of the operation code, which is the control result, is stored in the memory 413 of the server device 400. For example, the usage permission device 200 stores the setting value of the operation code in the memory 213 by receiving update information for the code management table 500 from the server device 400 as described above (S14).
[0179] The control procedure may be performed by the processor 212 of the usage permission device 200. As a specific example, the control procedure may be started when the current mode is changed from "vacant mode" to "occupancy mode" in the processor 212 of the usage permission device 200, and may be performed based on input information entered into the input interface 215.
[0180] 16A , the terminal device 300, in response to a user operation (U14), transmits a change request to the server device 400 via the communication network 11 (T20), which is a request to change the operation code "5678" stored in the server device 400. The change request includes a setting code arbitrarily set by the user. Upon receiving the change request, the server device 400 performs a duplication check process (S31) and transmits the processing result to the terminal device 300 via the communication network 11 (T21).
[0181] 16B , in step S131, the server device 400 determines whether the setting code matches a specific operation code. If the determination result in step S131 is false (N), meaning the setting code does not match the specific operation code, the server device 400 proceeds to step S133. In step S133, the value of the setting code is stored in memory 413 as the operation code for the row with management code "00003," and the routine ends. On the other hand, if the determination result is true (Y), meaning an operation code with the same value as the setting code is found in the operation code column 523, the server device 400 proceeds to step S132. In step S132, the server device 400 generates, for example, information in the output interface 311 of the terminal device 300 to notify the user that the setting code will not be set as the operation code, and then the routine ends. Specific examples of the notification in step S132 include displaying a message such as "This code cannot be set" on the display of the output interface 311 of the terminal device 300 and emitting a sound from the speaker. The notification information thus generated is transmitted to the terminal device 300 when the processing result is transmitted to the terminal device 300 via the communication network 11 (T21).
[0182] Here, the specific operation code is, for example, operation code "1234." This makes it possible to prevent the same value as operation code "1234," which is set in advance as the operation code in the row with management code "00001," from being stored as the operation code in the row with management code "00003," thereby preventing mode changes unintentional by the user.
[0183] Another example of a specific operation code is the operation code in the operation code column 523 of the code management table 513. Such a specific operation code can prevent the operation code stored as the operation code in the row of the management code "00003" from matching with other operation codes. Another example of a specific operation code is an operation code in the operation code column 523 of the code management table 513 whose first flag matches the first flag in the row of the management code "00003". Even if the input information matches other operation codes, such a specific operation code can be stored as the operation code in the row of the management code "00003" as long as the first flag does not match, i.e., the value does not cause an operation unintended by the user.
[0184] <Ninth Embodiment> 15. Changing the Current Mode According to the Ninth Embodiment In the first to eighth embodiments described above, as an example, the current mode is changed based on input information entered by the user. However, the current mode may also be changed based on mode change information that is different from the input information entered by the user. In particular, the usage permission device 200 may change the current mode based on information related to time (elapsed time). This type of embodiment will be described below as the ninth embodiment. Below, a description of the same configuration as the first embodiment described above will be omitted, and differences from the first embodiment will be mainly described.
[0185] In the first embodiment, steps S105 and S106 were described as proceeding to step S106 when the second flag is other than "0," changing the current mode number to the number of the second flag, and then proceeding to step S107. In contrast, in the ninth embodiment, step S106 is not executed immediately after proceeding to step S106, but proceeds to step S107. After a predetermined time (e.g., one hour) has elapsed since the user entered the input information, the current mode number in step S106 is changed to the number of the second flag. In other words, the current mode is changed not only when the user inputs input information, but also when a predetermined time set as time information has elapsed since the user entered the input information. As a result, for example, if the administrator inputs the operation code "1234" into the input interface 215 of the usage-permitting device 200 in advance, the current mode of the usage-permitting device 200 can be changed from "vacant mode" to "occupancy mode" a predetermined time after the input information was entered.
[0186] Furthermore, the usage permitting device 200 according to the ninth embodiment changes the current mode number, for example, from "vacant mode" to "occupied mode" after a predetermined time (e.g., three weeks) has elapsed since installation. In other words, the current mode is changed based on the detection of not only the elapsed time since the input information was entered but also the elapsed time since the installation of the usage permitting device 200. Thus, for example, after an administrator installs the usage permitting device 200, the current mode of the usage permitting device 200 can be changed from "vacant mode" to "occupied mode" after a predetermined time. Therefore, until the predetermined time has elapsed, only a specific person, such as the administrator, who knows the operation code "3456" can unlock the door 13, and after the predetermined time has elapsed, the current mode can be changed from "vacant mode" to "occupied mode." The time when the usage permitting device 200 is installed may be, for example, the time when the power of the usage permitting device 200 is turned on or the time when the power is input. Furthermore, although it has been explained that the usage permission device 200 of the ninth embodiment changes the current mode based on input related to time, if the current mode is changed by user input or the like before a predetermined time has elapsed, it is not necessary to change the current mode after the predetermined time has elapsed.
[0187] In this embodiment, the current mode is changed based on information about time (elapsed time) instead of information input by the user. However, the present invention is not limited to this, and the current mode may be changed based on information about time (elapsed time) in addition to information input by the user.
[0188] <Tenth Embodiment> 16. Changing the Current Mode According to the Tenth Embodiment In the ninth embodiment described above, as an example of changing the current mode based on mode change information (information about time), changing the current mode after a predetermined time has elapsed since input information was entered and changing the current mode after a predetermined time has elapsed since the use-permitting device 200 was installed were described. However, the use-permitting device 200 may change the current mode based on mode change information (information about the current time (time)) instead of input information in order to determine whether to change the current mode of the use-permitting device 200. This embodiment will be described below as the tenth embodiment. Below, a description of the same configuration as the first embodiment described above will be omitted, and differences from the first embodiment will be mainly described.
[0189] 17 is a diagram showing a code management table 500 stored in the memory 213 of the usage permission device 200 according to the tenth embodiment. According to FIG. 17 , the mode management unit 511 sets the normal usage mode as the first mode. The mode management unit 511 also sets the night mode as the second mode. The code management table 513 also sets a first time for the operation code of management code "00001." The code management table 513 also sets a second time for the operation code in the row of management code "00002." The code management table 513 also sets first identification information read from an IC card by an IC card reader in the operation code in the row of management code "00003."
[0190] Here, the "first time" and "second time" in the operation codes of the management codes "00001" and "00002" respectively refer to specific times of day. The first time is, for example, 8:00 PM. The second time is, for example, 7:00 AM. The processor 212 of the usage permission device 200 according to the tenth embodiment receives information (time) related to the current time as mode change information. That is, when the current mode of the usage permission device 200 is the "normal use mode," the processor 212 of the usage permission device 200 according to the tenth embodiment changes the current mode from the "normal use mode" to the "night mode" when the current time reaches 8:00 PM. Similarly, when the current mode of the usage permission device 200 is the "night mode," the processor 212 changes the current mode from the "night mode" to the "normal use mode" when the current time reaches 7:00 AM.
[0191] As a result, for example, if the installation location of the usage permission device 200 is near the locking / unlocking device 100 that locks and unlocks the office door 13, the usage permission device 200 according to the tenth embodiment can unlock the office door 13 when the IC card reader reads the first identification information from the IC card during the period from 7:00 to 20:00, and can not unlock the office door 13 during the period from 20:00 to 7:00, even if the IC card reader reads the first identification information from the IC card. Therefore, the processor 212 of the usage permission device 200 according to the tenth embodiment can include the time as an input related to time, and change the current mode based on the time.
[0192] In this embodiment, the current mode is changed based on information about time (time) instead of information input by the user. However, the present invention is not limited to this, and the current mode may be changed based on information about time (time) in addition to information input by the user.
[0193] <Eleventh Embodiment> 17. Setting of Operation Codes According to the Eleventh Embodiment In the first to tenth embodiments described above, as an example, the current mode is changed based on user input and mode change information (information related to time). However, when changing the current mode, in order to determine whether to change the current mode of the usage-permitted device 200, the change may be made based on mode change information (status information of the usage-permitted device 200) instead of input information. This embodiment will be described below as the eleventh embodiment. Below, a description of the same configuration as the first embodiment described above will be omitted, and differences from the first embodiment will be mainly described.
[0194] In the eleventh embodiment, the usage permission device 200 includes, for example, an IC in the output interface 211 that detects a malfunction of the usage permission device 200. That is, the processor 212 of the usage permission device 200 detects a malfunction of the usage permission device 200 detected by the IC. Note that a malfunction of the locking / unlocking device 100 may also be detected. Furthermore, the detection of a malfunction of the locking / unlocking device 100 and the usage permission device 200 is not limited to the detection of a malfunction of the locking / unlocking device 100 and the usage permission device 200. For example, by detecting an abnormality in the communication state between the locking / unlocking device 100 and the usage permission device 200, it may be determined that the installation state of the locking / unlocking device 100 and the usage permission device 200 is inappropriate. It is sufficient to be able to detect the state of the locking / unlocking device 100, the usage permission device 200, etc.
[0195] When the processor 212 of the permitted device 200 receives status information indicating that a failure of the permitted device 200 has been detected, the processor 212 of the permitted device 200 changes the current mode of the permitted device 200 to a communication mode. Here, the communication mode refers to a mode in which the permitted device 200 can communicate with the server device 400 using a wideband wireless communication method, such as 5G. This allows the processor 212 of the permitted device 200 to notify the server device 400 of information regarding the status of the permitted device 200, such as the fact that the permitted device 200 has failed, via the communication interface 214. At this time, the permitted device 200 may limit the devices with which it can communicate to only specific devices. In particular, the permitted device 200 may limit the devices with which it can communicate to the server device 400. This prevents information stored in the memory 213 of the permitted device 200 from leaking.
[0196] Therefore, the processor 212 of the usage permission device 200 of the eleventh embodiment changes the current mode to the communication mode based on status information of the locking / unlocking device 100 or the usage permission device 200, such as a malfunction of the usage permission device 200. This allows the current mode of the usage permission device 200 to be suitably changed even when a malfunction of the usage permission device 200 occurs that is not noticeable from the user's use of the usage permission device 200. In particular, by changing the current mode to the communication mode, a malfunction of the locking / unlocking of the door 13 due to a malfunction of the usage permission device 200 can be promptly notified to an administrator or the like, allowing for prompt repair. Furthermore, the usage permission device 200 repaired in this manner returns to the normal mode and stops communication via a wideband wireless communication method such as the 5G method, thereby preventing information in the usage permission device 200 from leaking to the outside.
[0197] In this embodiment, the current mode is changed based on the status information of the usage-permitting device 200 instead of the information input by the user. However, the present invention is not limited to this, and the current mode may be changed based on the status information of the usage-permitting device 200 in addition to the information input by the user.
[0198] In addition to the usage permission device 200 that locks and unlocks the doors of houses such as rental properties, and the "entry mode" and "exit mode" as explicitly described in the above embodiment, an "available mode" and a "maintenance mode" may be used as a usage permission device that locks and unlocks locker doors, a "security mode" and an "office mode" may be used as a usage permission device in a security system, a "official vehicle mode" and an "unusable mode" may be used as a usage permission device for doors of automobiles, etc., and three or more modes may be set, and the present invention is not limited to these examples.
[0199] In addition to the input manner of the input information as explicitly described in the above embodiment, the alarm sound emitted by the alarm when a fire occurs around the usage permission device 200 may also be used as input information to unlock the door 13 in the event of a fire, and the invention is not limited to these examples.
[0200] Furthermore, each aspect described in the multiple embodiments may be implemented independently or in appropriate combination, and is not limited to these examples.
[0201] Furthermore, the present invention may be realized not only by the devices explicitly described in the embodiments, but also by software, hardware, or a combination thereof. Specifically, the processes and procedures described herein may be realized by implementing logic corresponding to the processes in a medium such as an integrated circuit, volatile memory, non-volatile memory, magnetic disk, or optical storage. Furthermore, the processes and procedures described herein may be implemented as computer programs and executed by various computers, including terminal devices and server devices.
[0202] Processes and procedures described herein as being performed by a single device, software, component, and / or module may be performed by multiple devices, software, components, and / or modules. Furthermore, various pieces of information described herein as being stored in a single memory or storage device may be stored in multiple memories included in a single device or in multiple memories distributed across multiple devices. Furthermore, the software and hardware described herein may be realized by integrating them into fewer components or by decomposing them into more components.
[0203] Although embodiments of the present invention have been described, these embodiments are presented as examples and are not intended to limit the scope of the invention. These novel embodiments may be embodied in various other forms, and various omissions, substitutions, and modifications may be made without departing from the spirit of the invention. These embodiments and modifications thereof are included within the scope and spirit of the present invention, and are also included in the scope of the inventions described in the claims and their equivalents.
[0204] 1 System 15 Lock 200 Utilization permission device 202 Processor 300 Terminal device 400 Server device
Claims
1. A usage permission device having at least one processor capable of restricting at least the usage of an object by a user, wherein the at least one processor is configured to execute a process of, upon receiving input information from the user, identifying mode identification information corresponding to the input information based on the input information, and comparing the mode identification information with a current mode of the usage permission device, and if the mode identification information matches the current mode, changing the current mode to another mode different from the current mode identified by the input information.
2. The utilization permission device according to claim 1, wherein the current mode and the other mode are associated with one or more executable actions that are different from each other.
3. The utilization permission device according to claim 1, wherein the mode identification information is compared with a current mode of the utilization permission device, and if the mode identification information does not match the current mode, the current mode is not changed.
4. The permission device of claim 1, wherein when the mode identification information matches the current mode upon comparing the mode identification information with the current mode of the permission device, and input information other than input information for changing the current mode is input, another operation other than changing the current mode is performed.
5. The utilization permission device according to claim 1, wherein the input information corresponds to mode identification information indicating one of a plurality of modes, and the changed mode is determined by the mode identification information corresponding to the input information.
6. The utilization permission device according to claim 1, wherein the utilization of the utilization object is restricted by unlocking and locking a lock.
7. The utilization permission device according to claim 1, wherein the acceptance of input information by the user is enabled when input information different from the input information is input.
8. The permission device according to claim 1, wherein the input information is a one-time passcode.
9. The utilization permission device according to claim 1, wherein information for identifying the mode identification information corresponding to the input information based on the input information is input in advance from another device.
10. The utilization permission device according to claim 9, wherein the other devices are input from a server device via a terminal device owned by the user.
11. The utilization permission device according to claim 1, wherein when the current mode is changed to a mode different from the current mode, input of input information that is acceptable in the current mode is made unacceptable.
12. A usage permission device having at least one processor capable of restricting at least the usage of a usage object by a user, wherein the at least one processor is configured to execute a process to, upon receiving mode change information for determining whether or not to change the current mode of the usage permission device, identify mode identification information corresponding to the mode change information based on the mode change information, and compare the mode identification information with the current mode of the usage permission device, and if the mode identification information matches the current mode, change the current mode to another mode different from the current mode identified by the mode change information.
13. A method in a usage permission device including at least one processor capable of restricting at least the usage of a usage object by a user, the method being carried out by the at least one processor executing a predetermined instruction command, the method including: upon receiving input information from the user, identifying mode identification information corresponding to the input information based on the input information; and, if the mode identification information matches the current mode by comparing the mode identification information with the current mode of the usage permission device, changing the current mode to another mode different from the current mode identified by the input information.
14. A method in a usage permission device including at least one processor capable of restricting at least the usage of a user's object of use, which is carried out by the at least one processor executing a predetermined instruction command, the method including: upon receiving mode change information for determining whether to change the current mode of the usage permission device, a step of identifying mode identification information corresponding to the mode change information based on the mode change information; and a step of comparing the mode identification information with the current mode of the usage permission device, and if the mode identification information matches the current mode, changing the current mode to another mode different from the current mode identified by the mode change information.
15. A program that causes a usage permission device capable of restricting at least a user's use of an object to function as a processor configured to perform the following processing: when receiving input information from a user, identify mode identification information corresponding to the input information based on the input information, compare the mode identification information with the current mode of the usage permission device, and if the mode identification information matches the current mode, change the current mode to another mode different from the current mode identified by the input information.
16. A program that causes a usage permission device, capable of restricting at least a user's use of an object to function as a processor configured to perform the following processing: upon receiving mode change information for determining whether or not to change the current mode of the usage permission device, identify mode identification information corresponding to the mode change information based on the mode change information, compare the mode identification information with the current mode of the usage permission device, and if the mode identification information matches the current mode, change the current mode to another mode different from the current mode identified by the mode change information.
Citation Information
Patent Citations
Access management system
JP2009230180A
Security system
JP2017157150A
Electric lock
JP2020159112A
Scheduled temporary rental property access
US20180005143A1
