JP7738318B2 - Lock control system - Google Patents
Lock control systemInfo
- Publication number
- JP7738318B2 JP7738318B2 JP2021167644A JP2021167644A JP7738318B2 JP 7738318 B2 JP7738318 B2 JP 7738318B2 JP 2021167644 A JP2021167644 A JP 2021167644A JP 2021167644 A JP2021167644 A JP 2021167644A JP 7738318 B2 JP7738318 B2 JP 7738318B2
- Authority
- JP
- Japan
- Prior art keywords
- reservation
- information
- control device
- reservation information
- unit
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Landscapes
- Lock And Its Accessories (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Description
本発明は、錠の制御システムに関する。 The present invention relates to a lock control system.
貸会議室、貸倉庫、ホテル等において、利用者の予約に応じて鍵を利用者に提供し、鍵に対応する錠を用いて管理される場所等を利用可能とするサービスが行われている。このようなサービスとして、例えば、部屋の貸し出しや、隠れ家店舗の入退店管理等のサービス等がある。 In rental conference rooms, rental warehouses, hotels, etc., services are available in which users are provided with a key upon reservation, allowing them to use the space, which is managed with a corresponding lock. Examples of such services include room rentals and access management for hideaway stores.
このようなサービスでは、利用者が紛失等した鍵の不正利用を防ぐために、鍵を予約ごとに使い捨てとすることが好ましい。しかし、ディンプル鍵、電子鍵、カードキー等によって例示される物理鍵の場合、予約ごとに鍵を使い捨てとすると、使い捨ての物理鍵を用意するための労力及び/又は費用が多大なものとなり得る。 In such services, it is preferable to use disposable keys for each reservation to prevent unauthorized use of keys that have been lost by the user. However, in the case of physical keys such as dimple keys, electronic keys, and card keys, if the keys are used disposably for each reservation, the effort and/or cost required to prepare disposable physical keys can be significant.
鍵に関し、印刷されたバーコードを用いる鍵及び/又は端末に表示されたバーコードを用いる鍵等によって例示される、光学的な手段で読み取り可能な情報を用いる鍵が利用されている。このような鍵を使い捨ての鍵として利用することにより、使い捨ての鍵を用意するための労力及び/又は費用が使い捨ての物理鍵を用いる場合より軽減され得る。 Keys that use optically readable information, such as keys that use printed barcodes and/or keys that use barcodes displayed on a terminal, are being used. By using such keys as disposable keys, the effort and/or cost required to prepare disposable keys can be reduced compared to using disposable physical keys.
錠で管理される場所等を、予約に応じて発行されたバーコード等を用いて利用可能とする技術に関し、特許文献1は、バーコード符号化が設けられたバーコード搭乗券を乗客に発行し、乗客が提示したバーコード搭乗券を読み取って中央データベースの航空便に関するデータと突合せ、データの突合せが上手くいった場合に通過場所の施錠手段を一時的に開放してバーコード搭乗券を提示した乗客が所定の通過場所を通過可能とする技術を開示している。特許文献1の技術によれば、搭乗券の確認を自動化し、偽造された搭乗券の利用を防ぎ得る。 Patent Document 1 discloses technology that allows passengers to use locked areas using barcodes issued in response to reservations. This technology issues barcode boarding passes with barcode encoding to passengers, reads the barcode boarding pass presented by the passenger and compares it with flight-related data in a central database, and, if the data comparison is successful, temporarily releases the locking means at the transit area, allowing the passenger who presented the barcode boarding pass to pass through the designated transit area. The technology in Patent Document 1 automates boarding pass verification and can prevent the use of counterfeit boarding passes.
ところで、予約に応じた貸し出しを管理可能な錠を既存の設備に後付けすることで、錠を後付けした設備を利用者の予約に応じて利用可能とするサービスを提供するという要望がある。既存の設備に錠を後付けする場合、設備の場所において、通信の安定性、通信の秘匿性、及び/又は電力の供給が制限されている場合があり得る。 However, there is a demand for a service that retrofits existing equipment with locks that can manage rentals based on reservations, allowing users to use the equipment with the locks retrofitted upon reservation. When retrofitting locks to existing equipment, there may be cases where the location of the equipment has limitations on communication stability, communication confidentiality, and/or power supply.
特許文献1の技術は、バーコード搭乗券を読み取って中央データベースの航空便に関するデータと逐一突合せることで、バーコード搭乗券を提示した乗客が所定の通過場所を通過可能となる。したがって、特許文献1の技術は、中央データベースと安定した通信を行うことが可能な通信の安定性を確保することに困難がある場所の設備に後付け可能な、予約に応じた錠の制御を実現可能な手段を提供する点において、改善の余地がある。 The technology in Patent Document 1 reads the barcode boarding pass and checks it against flight data in a central database, allowing passengers who present their barcode boarding pass to pass through designated transit points. Therefore, the technology in Patent Document 1 has room for improvement in that it provides a means of controlling locks according to reservations that can be retrofitted to equipment in locations where it is difficult to ensure stable communication with a central database.
無線通信である場合等の通信の秘匿性が制限されている場合、予約が行われるごとに逐一情報が錠へ送信されると、送信される情報が傍受等されて不正に利用され得る。特許文献1の技術は、通信の秘匿性が制限されている場所の設備に後付けした錠へ送信される情報が傍受等されて不正に利用されるリスクを軽減する点において、なおいっそう改良の余地がある。 When communication confidentiality is limited, such as in the case of wireless communication, if information is sent to the lock each time a reservation is made, the transmitted information may be intercepted and used fraudulently. The technology in Patent Document 1 leaves room for further improvement in terms of reducing the risk of information transmitted to a lock retrofitted to equipment in a location where communication confidentiality is limited being intercepted and used fraudulently.
電力の供給が制限されている場合、錠は、電池等の小電力を提供可能な電源によって動作可能であることが求められる。錠の制御を行う手段は、より少ない電力で動作可能であることにより、電源の保守(例えば、電池の交換)の頻度を低減できる。これにより、ほぼ無人の管理で錠の制御を行うことが可能となり、予約を管理する管理者は、錠の制御にかかる労力及び/又は負担を少なくし得る。 When the power supply is limited, the lock is required to be able to operate using a power source that can provide a small amount of power, such as a battery. By being able to operate the means for controlling the lock with less power, the frequency of power supply maintenance (e.g., battery replacement) can be reduced. This makes it possible to control the lock with almost unattended management, and the administrator who manages reservations can reduce the effort and/or burden involved in controlling the lock.
特許文献1の技術は、読み取ったバーコード搭乗券を中央データベースの航空便に関するデータと突合せるための通信において、バーコード搭乗券を読み取るたびに通信のための電力を消費し得る。したがって、特許文献1の技術は、錠の制御をより少ない電力で行い、電力の供給が制限されている場所の設備に後付け可能な、予約に応じた錠の制御を実現可能な手段を提供する点において、よりいっそう改善の余地がある。 The technology of Patent Document 1 may consume power for communication each time a barcode boarding pass is read, in order to compare the scanned barcode boarding pass with flight data in a central database. Therefore, there is room for further improvement in the technology of Patent Document 1 in terms of providing a means for controlling locks using less power, which can be retrofitted to equipment in locations with limited power supply, and which enables lock control according to reservations.
本発明は、上述のような従来技術の問題点を解決すべくなされたものであり、通信の安定性、通信の秘匿性、及び/又は電力の供給が制限されている場所の設備に後付け可能な、予約に応じた錠の制御を実現可能な錠の制御システムを提供することを目的とする。 The present invention was made to solve the problems of the prior art described above, and aims to provide a lock control system that can achieve reservation-based lock control, while maintaining communication stability, confidentiality, and/or can be retrofitted to equipment in locations where power supply is limited.
本発明者らは、上記課題を解決するために鋭意検討した結果、予約時間帯等を含む大容量予約情報を指定の時間以上の間隔を空けたタイミングでまとめて送信し、大容量予約情報と対応する小容量情報を公開暗号鍵方式の秘密鍵で暗号化した暗号化小容量情報を含む二次元コードを発行すること等によって上述の課題を解決可能であることを見出し、本発明を完成させるに至った。具体的に、本発明は以下のものを提供する。 After extensive research into how to solve the above-mentioned problems, the inventors discovered that the above-mentioned problems could be solved by transmitting large amounts of reservation information, including reservation time slots, collectively at intervals of at least a specified time, and issuing a two-dimensional code containing encrypted small-volume information obtained by encrypting the large-volume reservation information and the corresponding small-volume information with a private key using a public encryption key system, thereby completing the present invention. Specifically, the present invention provides the following:
第1の特徴に係る発明は、施錠状態と解錠状態との間で切り換え可能なロック装置、二次元コードを読み取り可能な読取装置、及び前記ロック装置及び前記読取装置を制御可能な制御装置を含んで構成される、電気式及び/又は電子式の錠と、前記錠とネットワークを介して接続されており、利用者が予約した予約時間帯に前記ロック装置を解錠可能とする予約時間帯を管理可能な予約管理装置と、を備え、前記予約管理装置は、前記予約時間帯に関する予約時間帯情報、及び前記予約時間帯情報よりもデータ量が小さい識別情報を少なくとも含む大容量予約情報を生成可能な大容量予約情報生成部と、1以上の前記大容量予約情報を、0.5時間以上の間隔を空けたタイミングでまとめて前記制御装置に送信可能な大容量予約情報送信部と、前記識別情報を含み、前記予約時間帯情報を含まない小容量情報が公開暗号鍵方式の秘密鍵で暗号化されている暗号化小容量情報を含む二次元コードを前記利用者に発行可能な二次元コード発行部と、を有し、前記錠の前記制御装置は、前記1以上の大容量予約情報を前記予約管理装置から受信可能な大容量予約情報受信部と、前記読取部によって読み取られた前記二次元コードに含まれる前記暗号化小容量情報を前記秘密鍵に対応する公開鍵を用いて復号し、復号後小容量情報を得る復号部と、前記復号後小容量情報に対応する対応大容量予約情報を用いて、現在時刻が前記予約時間帯に該当するかを判別可能な判別部と、現在時刻が前記予約時間帯に該当する場合に、前記ロック装置に前記解錠状態への切り換えを指令可能な解錠指令部と、を有し、前記大容量予約情報受信部は、前記復号後小容量情報に対応する前記対応大容量予約情報が前記予約情報受信部によって受信された前記1以上の前記大容量予約情報に含まれていない場合に、前記対応大容量予約情報に相当する特定大容量予約情報を前記予約管理装置から受信可能である、錠の制御システムを提供する。 The invention according to a first aspect comprises an electric and/or electronic lock comprising a locking device switchable between a locked state and an unlocked state, a reading device capable of reading a two-dimensional code, and a control device capable of controlling the locking device and the reading device; and a reservation management device connected to the lock via a network and capable of managing reservation time slots during which the locking device can be unlocked during a reservation time slot reserved by a user. The reservation management device comprises a large-capacity reservation information generation unit capable of generating large-capacity reservation information including at least reservation time slot information related to the reservation time slot and identification information having a smaller data volume than the reservation time slot information; a large-capacity reservation information transmission unit capable of transmitting one or more pieces of large-capacity reservation information to the control device at intervals of 0.5 hours or more; and a two-dimensional code including encrypted small-capacity information in which small-capacity information including the identification information but not the reservation time slot information is encrypted with a private key using a public encryption key system to the user. and a two-dimensional code issuing unit capable of issuing a two-dimensional code, wherein the control device of the lock has a large-capacity reservation information receiving unit capable of receiving the one or more large-capacity reservation information from the reservation management device, a decoding unit that decrypts the encrypted small-capacity information included in the two-dimensional code read by the reading unit using a public key corresponding to the private key to obtain decoded small-capacity information, a determination unit that determines whether the current time falls within the reservation time slot using corresponding large-capacity reservation information corresponding to the decoded small-capacity information, and an unlock command unit that can command the lock device to switch to the unlocked state if the current time falls within the reservation time slot, and the large-capacity reservation information receiving unit is capable of receiving specific large-capacity reservation information equivalent to the corresponding large-capacity reservation information from the reservation management device if the corresponding large-capacity reservation information corresponding to the decoded small-capacity information is not included in the one or more large-capacity reservation information received by the reservation information receiving unit.
第1の特徴に係る発明によれば、予約管理装置は、予約時間帯等を含む大容量予約情報を生成し、1以上の大容量予約情報を、指定の時間以上の間隔を空けたタイミングでまとめて制御装置に送信できる。これにより、予約管理装置は、通信の安定性が制限されている場所であっても、通信が安定しているタイミングで大容量予約情報を制御装置に送信できる。 According to the first aspect of the invention, the reservation management device generates large-volume reservation information including reservation time slots, etc., and can transmit one or more large-volume reservation information items collectively to the control device at intervals of at least a specified time. This allows the reservation management device to transmit large-volume reservation information to the control device at times when communication is stable, even in locations where communication stability is limited.
第1の特徴に係る発明によれば、予約管理装置は、指定の時間以上の間隔を空けて大容量予約情報をまとめて送信する。これにより、予約管理装置は、予約が行われるごとに逐一大容量予約情報が送信される場合より大容量予約情報が送信される頻度を少なくできる。したがって、制御システムは、通信の秘匿性が制限されている場所であっても、大容量予約情報が傍受等されて不正に利用されるリスクを低減できる。また、大容量予約情報が送信される頻度を少なくすることにより、制御装置は、遠距離間での通信にかかる消費電力の増大を低減できる。 According to the first aspect of the invention, the reservation management device transmits large amounts of reservation information in batches at intervals of at least a specified time. This allows the reservation management device to transmit large amounts of reservation information less frequently than if large amounts of reservation information were transmitted each time a reservation was made. Therefore, the control system can reduce the risk of large amounts of reservation information being intercepted and used fraudulently, even in locations where communication confidentiality is restricted. Furthermore, by reducing the frequency with which large amounts of reservation information are transmitted, the control device can reduce the increase in power consumption required for long-distance communications.
第1の特徴に係る発明によれば、対応大容量予約情報が受信された大容量予約情報に含まれていない場合に、対応大容量予約情報に相当する特定大容量予約情報を予約管理装置から受信できる。したがって、制御システムは、予約が行われるごとに制御装置が予約情報を逐一送信して傍受されるリスク及び消費電力を低減することと、電子錠側の制御装置が、復号後小容量情報に対応する対応大容量予約情報を確実に受信して、予約時間帯の妥当性を迅速に判別可能にすることとを両立できる。 According to the first aspect of the invention, if the received large-volume reservation information does not contain corresponding large-volume reservation information, specific large-volume reservation information equivalent to the corresponding large-volume reservation information can be received from the reservation management device. Therefore, the control system can simultaneously reduce the risk of interception and power consumption by having the control device transmit reservation information one by one each time a reservation is made, and enable the control device on the electronic lock side to reliably receive corresponding large-volume reservation information that corresponds to the small-volume information after decryption, enabling the validity of the reserved time slot to be quickly determined.
共通鍵方式では、復号に用いる鍵(共通鍵)が秘密でない場合、利用者が予約した予約時間帯以外の時間帯にロック装置を解錠状態とすることを可能とする、偽造された小容量情報が共通鍵を用いて暗号化され得る。これにより、利用者が予約した予約時間帯以外の時間帯にロック装置を解錠状態とすることを可能とする偽造二次元コードが生成され得る。 In the common key method, if the key (common key) used for decryption is not secret, forged small amounts of information can be encrypted using the common key, which allows the lock device to be unlocked outside of the reserved time slot. This can generate a forged two-dimensional code that allows the lock device to be unlocked outside of the reserved time slot.
第1の特徴に係る発明によれば、暗号化小容量情報が公開暗号鍵方式の秘密鍵で暗号化され、秘密鍵に対応する公開鍵を用いて復号されることにより、復号に用いる鍵(公開鍵)が秘密でない場合であっても利用者が予約した予約時間帯以外の時間帯にロック装置を解錠状態とすることを可能とする偽造二次元コードの生成を防ぐことができる。 According to the first aspect of the invention, encrypted small-volume information is encrypted using a private key in a public encryption key system and decrypted using a public key corresponding to the private key. This prevents the generation of counterfeit two-dimensional codes that allow a lock device to be unlocked outside of the reserved time slot reserved by the user, even if the key (public key) used for decryption is not secret.
ところで、公開暗号鍵方式は、共通鍵方式より暗号強度が高い一方、暗号化処理及び復号処理にかかる負荷が、共通鍵方式に比べて大きいことが知られている。これにより、公開暗号鍵方式を用いる場合に、制御装置における消費電力が共通鍵方式より高くなり得る。 However, while public encryption key systems offer stronger encryption than symmetric key systems, they are known to impose a greater load on encryption and decryption processes than symmetric key systems. As a result, when using public encryption key systems, the power consumption of control devices may be higher than with symmetric key systems.
第1の特徴に係る発明によれば、復号部が暗号化小容量情報を復号し、復号された復号後小容量情報に対応する対応大容量予約情報を用いて、現在時刻が予約時間帯に該当するかを判別できる。これにより、制御装置は、復号する情報を、暗号化小容量情報のみにとどめ、公開暗号鍵方式の復号処理にかかる負荷を軽減することと、偽造二次元コードの生成を防ぐこととを両立できる。 According to the first aspect of the invention, the decryption unit decrypts the encrypted small-capacity information and uses the corresponding large-capacity reservation information that corresponds to the decrypted small-capacity information to determine whether the current time falls within a reserved time slot. This allows the control device to limit the information to be decrypted to the encrypted small-capacity information, thereby reducing the load on the decryption process using the public encryption key method and preventing the generation of counterfeit two-dimensional codes.
したがって、第1の特徴に係る発明によれば、偽造二次元コードの生成を防ぎつつ、大容量予約情報すべてが公開暗号鍵方式で暗号化されている場合より、復号処理にかかる負荷がもたらす制御装置の消費電力を低減できる。 Therefore, according to the first aspect of the invention, it is possible to prevent the generation of counterfeit two-dimensional codes while reducing the power consumption of the control device caused by the load imposed by the decryption process compared to when all large-volume reservation information is encrypted using a public encryption key method.
したがって、第1の特徴に係る発明によれば、大容量予約情報が傍受等されて不正に利用されるリスクを低減することと、消費電力を低減することと、復号に用いる鍵が秘密でない場合であっても利用者が予約した予約時間帯以外の時間帯にロック装置を解錠状態とすることを可能とする偽造二次元コードの生成を防ぐことと、を両立できる。これにより、通信の秘匿性及び/又は電力の供給が制限されている場所であっても、電気式及び/又は電子式の錠を取り付けた部屋の貸し出し等をほぼ無人の管理で実現することができる。 Therefore, the invention relating to the first feature can simultaneously reduce the risk of large-volume reservation information being intercepted and used fraudulently, reduce power consumption, and prevent the generation of counterfeit two-dimensional codes that allow a lock device to be unlocked outside of the reserved time slot, even if the key used for decryption is not secret. This makes it possible to rent out rooms equipped with electric and/or electronic locks with almost unattended management, even in places where confidentiality of communications and/or power supply are limited.
したがって、第1の特徴に係る発明によれば、通信の安定性、通信の秘匿性、及び/又は電力の供給が制限されている場所の設備に後付け可能な、予約に応じた錠の制御を実現可能な錠の制御システムを提供できる。 Therefore, according to the first aspect of the invention, it is possible to provide a lock control system that can achieve stable communication, confidential communication, and/or reservation-based lock control that can be retrofitted to equipment in locations where power supply is limited.
第2の特徴に係る発明は、第1の特徴に係る発明であって、前記錠は、前記ロック装置、前記読取装置及び前記制御装置に、商用電源が供給可能な電力より小さな電力を供給可能な電源部をさらに含んで構成される、制御システムを提供する。 The second aspect of the invention is the first aspect of the invention, and provides a control system in which the lock further includes a power supply unit capable of supplying less power than that which can be supplied by commercial power to the lock device, the reading device, and the control device.
第2の特徴に係る発明によれば、商用電源が供給可能な電力より小さな電力を供給可能な電源部を備えることにより、ロック装置、読取装置、及び制御装置は、電力の供給が制限されている場所であっても、錠の制御を提供し得る。したがって、第2の特徴に係る発明によれば、電力の供給が制限されている場所であっても、制御システムは、電気式及び/又は電子式の錠を取り付けた部屋の貸し出し等をほぼ無人の管理で実現することができる。また、外部との通信を行わないことで錠の消費電力を軽減できるため、電源部の保守にかかる頻度を低減することも見込まれうる。 According to the second aspect of the invention, by providing a power supply unit capable of supplying less power than that available from commercial power sources, the locking device, reading device, and control device can provide lock control even in locations where power supply is limited. Therefore, according to the second aspect of the invention, even in locations where power supply is limited, the control system can realize almost unattended management of rooms equipped with electric and/or electronic locks. Furthermore, since the power consumption of the lock can be reduced by not communicating with the outside world, it is expected that the frequency of maintenance of the power supply unit will also be reduced.
したがって、第2の特徴に係る発明によれば、通信の安定性、通信の秘匿性、及び/又は電力の供給が制限されている場所の設備に後付け可能な、予約に応じた錠の制御を実現可能な錠の制御システムを提供できる。 Therefore, the second aspect of the invention provides a lock control system that can achieve stable communication, confidential communication, and/or reservation-based lock control that can be retrofitted to equipment in locations where power supply is limited.
本発明によれば、通信の安定性、通信の秘匿性、及び/又は電力の供給が制限されている場所の設備に後付け可能な、予約に応じた錠の制御を実現可能な錠の制御システムを提供できる。 The present invention provides a lock control system that can achieve stable communication, confidential communication, and/or reservation-based lock control that can be retrofitted to equipment in locations where power supply is limited.
以下、本発明の実施形態の一例について、図面を参照しながら詳細に説明する。 An example of an embodiment of the present invention will be described in detail below with reference to the drawings.
<<制御システムS>>
図1は、本発明の実施形態に係る制御システムSのハードウェア構成及びソフトウェア構成の一例を示すブロック図である。制御システムS(錠の制御システム)は、少なくとも、利用者端末1、利用者が予約した予約時間帯に管理対象Mを利用可能とする二次元コードBを発行可能な予約管理装置2、管理対象Mを管理可能な錠3を含んで構成される。また、予約管理装置2は、利用者端末1及び錠3とネットワークNを介して通信可能に構成されている。
<<Control System S>>
1 is a block diagram showing an example of the hardware and software configurations of a control system S according to an embodiment of the present invention. The control system S (lock control system) includes at least a user terminal 1, a reservation management device 2 capable of issuing a two-dimensional code B that enables a managed object M to be used during a reserved time slot reserved by the user, and a lock 3 capable of managing the managed object M. The reservation management device 2 is also configured to be able to communicate with the user terminal 1 and the lock 3 via a network N.
利用者端末1の数は、特に限定されない。錠3の数は、1以上であれば特に限定されない。 The number of user terminals 1 is not particularly limited. The number of locks 3 is also not particularly limited, as long as it is one or more.
<利用者端末1>
利用者端末1は、ネットワークNを介して予約管理装置2に予約時間帯の予約を要求可能であれば、特に限定されない。利用者端末1は、例えば、スマートフォン及びタブレット端末によって例示される携帯端末、パーソナルコンピュータ、ノートパソコン等によって例示されるコンピュータ等でよい。
<User terminal 1>
The user terminal 1 is not particularly limited as long as it can request a reservation for a reservation time slot from the reservation management device 2 via the network N. The user terminal 1 may be, for example, a mobile terminal such as a smartphone or a tablet terminal, or a computer such as a personal computer or a laptop computer.
利用者端末1が携帯端末である場合、利用者端末1は、予約管理装置2が発行した二次元コードを表示可能であることが好ましい。これにより、利用者端末1を利用する利用者は、利用者端末1に表示された二次元コードBを用いて予約時間帯に錠3で管理された管理対象Mを利用できる。 If the user terminal 1 is a mobile terminal, it is preferable that the user terminal 1 be able to display the two-dimensional code issued by the reservation management device 2. This allows a user using the user terminal 1 to use the two-dimensional code B displayed on the user terminal 1 to access the managed object M managed by the lock 3 during the reserved time slot.
利用者端末1が携帯端末である場合、利用者端末1は、無線ネットワークを介して予約管理装置2と通信可能であることが好ましい。これにより、利用者端末1は、予約管理装置2が錠3から離れた場所にある場合であっても、錠3の近傍で予約管理装置2に二次元コードBの発行を要求し、発行された二次元コードBを表示して、錠3で管理された管理対象Mを利用できる。 If the user terminal 1 is a mobile terminal, it is preferable that the user terminal 1 be able to communicate with the reservation management device 2 via a wireless network. This allows the user terminal 1 to request the reservation management device 2 to issue a two-dimensional code B when in the vicinity of the lock 3, even if the reservation management device 2 is located far away from the lock 3, and then display the issued two-dimensional code B to use the managed object M managed by the lock 3.
<予約管理装置2>
予約管理装置2は、管理装置制御部21と、管理装置記憶部22と、管理装置通信部23と、を含んで構成される。予約管理装置2の構成は、特に限定されず、例えば、サーバ装置、ネットワークNを介して接続された複数のコンピュータを含むクラウドサーバ、等でよい。
<Reservation management device 2>
The reservation management device 2 includes a management device control unit 21, a management device storage unit 22, and a management device communication unit 23. The configuration of the reservation management device 2 is not particularly limited, and may be, for example, a server device, a cloud server including multiple computers connected via a network N, or the like.
なかでも、予約管理装置2の構成は、クラウドサーバを含むことが好ましい。これにより、予約管理装置2は、利用者端末1及び/又は錠3の数が多い場合であっても、複数のコンピュータに処理を分散することで、予約管理を遅滞なく行い得る。また、クラウドサーバが含むコンピュータのいずれかに障害が発生した場合であっても、他のコンピュータが予約管理を行い得る。 In particular, it is preferable that the configuration of the reservation management device 2 includes a cloud server. This allows the reservation management device 2 to distribute processing across multiple computers and perform reservation management without delay, even when there are a large number of user terminals 1 and/or locks 3. Furthermore, even if a failure occurs in one of the computers included in the cloud server, another computer can continue to manage reservations.
〔管理装置制御部21〕
管理装置制御部21は、CPU(Central Processing Unit)、RAM(Random Access Memory)、及びROM(Read Only Memory)等を備える。
[Management device control unit 21]
The management device control unit 21 includes a CPU (Central Processing Unit), a RAM (Random Access Memory), a ROM (Read Only Memory), and the like.
管理装置制御部21は、所定のプログラムを読み込み、必要に応じて管理装置記憶部22及び/又は管理装置通信部23と協働することで、予約管理装置2におけるソフトウェア構成の要素である、大容量予約情報生成部211、大容量予約情報送信部212、二次元コード発行部213、利用終了情報受信部214等を実現する。 The management device control unit 21 loads a specified program and, as necessary, cooperates with the management device storage unit 22 and/or management device communication unit 23 to realize the software configuration elements of the reservation management device 2, such as the large-capacity reservation information generation unit 211, the large-capacity reservation information transmission unit 212, the two-dimensional code issuance unit 213, and the usage end information reception unit 214.
予約管理装置2において実行される予約管理処理の流れについては、後に図4を用いて詳細に説明する。 The flow of the reservation management process executed by the reservation management device 2 will be explained in detail later using Figure 4.
〔管理装置記憶部22〕
管理装置記憶部22は、データ及び/又はファイルが記憶される装置であって、ハードディスク、半導体メモリ、記録媒体、及びメモリカード等によるデータのストレージ部を有する。管理装置記憶部22は、ネットワークNを介してNAS(Network Attached Storage)、SAN(Storage Area Network)、クラウドストレージ、ファイルサーバ及び/又は分散ファイルシステム等の記憶装置又は記憶システムとの接続を可能にする仕組みを有してもよい。
[Management device storage unit 22]
The management device storage unit 22 is a device in which data and/or files are stored, and has a data storage unit such as a hard disk, semiconductor memory, recording medium, memory card, etc. The management device storage unit 22 may have a mechanism that enables connection to a storage device or storage system such as a NAS (Network Attached Storage), a SAN (Storage Area Network), cloud storage, a file server, and/or a distributed file system via the network N.
管理装置記憶部22には、マイクロコンピューターで実行される制御プログラム、予約テーブル221、秘密鍵222等が記憶されている。 The management device memory unit 22 stores the control program executed by the microcomputer, the reservation table 221, the private key 222, etc.
[予約テーブル221]
図2は、予約テーブル221の一例である。予約テーブル221は、予約時間帯、予約の対象となる管理対象Mの管理に用いられる錠3を識別可能な錠ID、予約の対象となる管理対象Mの管理に用いられるロック装置4を識別可能なロック装置ID等を含む予約情報を格納する。
[Reservation Table 221]
2 is an example of the reservation table 221. The reservation table 221 stores reservation information including a reservation time slot, a lock ID that can identify the lock 3 used to manage the managed object M that is the subject of the reservation, a lock device ID that can identify the lock device 4 used to manage the managed object M that is the subject of the reservation, and the like.
予約テーブル221は、予約を識別可能な予約情報IDと予約情報とを関連付けて格納可能であることが好ましい。これにより、予約管理装置2は、予約IDを用いて予約情報を格納及び/又は取得できる。 The reservation table 221 is preferably capable of storing reservation information in association with a reservation information ID that can identify a reservation. This allows the reservation management device 2 to store and/or retrieve reservation information using the reservation ID.
必須の態様ではないが、予約情報は、錠3において予約情報を識別可能であり、予約情報をよりデータ量が小さい識別情報を含むことが好ましい。これにより、予約情報を受信し、二次元コードBを介して識別情報を取得した錠3は、識別情報を用いて予約情報を識別し、予約情報に応じて錠3を制御できる。 Although not a required feature, it is preferable that the reservation information includes identification information that allows the lock 3 to identify the reservation information and has a smaller data volume than the reservation information. This allows the lock 3, which receives the reservation information and obtains the identification information via the two-dimensional code B, to identify the reservation information using the identification information and control the lock 3 according to the reservation information.
識別情報は、特に限定されない。識別情報は、予約時間帯に関する情報であって暗号化されていない情報を含まないことが好ましい。これにより、識別情報の秘密が保たれていない場合に、予約時間帯以外の時間帯に錠3を解錠可能とする偽造二次元コードが識別情報を用いて生成されることを防ぎ得る。識別情報として、例えば、予約情報と対応する暗証番号が挙げられる。 The identification information is not particularly limited. It is preferable that the identification information does not include unencrypted information related to the reserved time slot. This prevents the identification information from being used to generate a counterfeit two-dimensional code that can unlock the lock 3 outside the reserved time slot if the confidentiality of the identification information is not maintained. An example of the identification information is a PIN number that corresponds to the reservation information.
必須の態様ではないが、予約情報は、当該予約情報が錠3に送信済であるかの情報と関連付けられて格納されることが好ましい。これにより、送信済の予約情報が繰り返し送信されることを防ぎ得る。 Although not a required feature, it is preferable that reservation information be stored in association with information on whether the reservation information has already been sent to lock 3. This can prevent reservation information that has already been sent from being sent repeatedly.
必須の態様ではないが、予約情報は、当該予約情報の利用が終了したかの情報と関連付けられて格納されることが好ましい。これにより、利用が終了した予約情報が繰り返し送信されることを防ぎ得る。 Although not a required feature, it is preferable that reservation information be stored in association with information on whether the use of that reservation information has ended. This can prevent reservation information whose use has ended from being repeatedly sent.
図2に示す予約テーブル221は、予約情報IDと関連付けられた予約情報を格納している。図2に示す予約テーブル221が格納する予約情報は、予約について、「予約時間帯」、「錠ID」、「ロック装置ID」、予約情報を識別可能な「識別情報」を含み、予約情報が「送信済」であるかの情報、予約情報と対応する管理対象Mの予約時間帯における利用が「利用終了」したかの情報、と関連付けられている。 The reservation table 221 shown in Figure 2 stores reservation information associated with a reservation information ID. The reservation information stored in the reservation table 221 shown in Figure 2 includes, for a reservation, a "reservation time slot," a "lock ID," a "lock device ID," and "identification information" that can identify the reservation information, and is associated with information on whether the reservation information has been "sent" and whether use of the managed object M corresponding to the reservation information during the reserved time slot has "ended."
図2の予約情報ID「R0001」と関連付けられた予約情報は、以下の情報を含んでいる:
開始日時が「7月7日 16:00」で終了日時が「7月7日 18:00」である予約時間帯。
錠3を識別可能な錠ID「3a」。
錠ID「3a」によって識別される錠3が制御可能なロック装置4を識別可能なロック装置ID「4aa」。
予約時間帯に関する情報であって暗号化されていない情報を含まず、予約情報を識別可能な識別情報「0626・・・」。
The reservation information associated with reservation information ID "R0001" in FIG. 2 includes the following information:
A reservation time period with a start date and time of "July 7th, 16:00" and an end date and time of "July 7th, 18:00".
Lock ID "3a" that can identify lock 3.
A lock device ID "4aa" that can identify a lock device 4 that can be controlled by the lock 3 identified by the lock ID "3a".
Identification information "0626..." that is information relating to the reserved time slot and does not include unencrypted information, and that can identify the reservation information.
また、図2の予約情報ID「R0001」と関連付けられた予約情報は、以下の情報と関連付けられている:
予約情報が送信済であることを示す送信済情報「Yes」。
予約情報と対応する予約の利用が終了していることを示す利用終了情報「Yes」。
The reservation information associated with the reservation information ID "R0001" in FIG. 2 is associated with the following information:
Transmitted information "Yes" indicating that the reservation information has been transmitted.
Use end information "Yes" indicates that the use of the reservation corresponding to the reservation information has ended.
これにより、予約管理装置2は、錠ID「3a」によって識別される錠3によって制御されるロック装置4であって、ロック装置ID「4aa」によって識別されるロック装置4によって管理される管理対象Mを、開始日時が「7月7日 16:00」で終了日時が「7月7日 18:00」である予約時間帯に利用する予約に関する大容量予約情報を錠3に送信できる。また、予約管理装置2は、送信された大容量予約情報を識別可能な識別情報「0626・・・」を含む二次元コードBを発行できる。 As a result, the reservation management device 2 can send to the lock 3 large-volume reservation information regarding a reservation for the use of managed object M, which is controlled by lock 3 identified by lock ID "3a" and managed by lock device 4 identified by lock device ID "4aa", during a reservation time period starting at "July 7th, 16:00" and ending at "July 7th, 18:00". The reservation management device 2 can also issue a two-dimensional code B containing identification information "0626...", which can identify the transmitted large-volume reservation information.
[秘密鍵222]
秘密鍵222は、公開暗号鍵方式の秘密鍵であれば、特に限定されない。秘密鍵222は、例えば、素因数分解に基づく公開暗号鍵方式(RSA(Rivest-Shamir-Adleman)暗号、Paillier暗号、Rabin暗号等)、離散対数に基づく公開暗号鍵方式(Cramer-Shoup暗号、ElGamal暗号等)、格子暗号に基づく公開暗号鍵方式(NTRU暗号等)、確率的暗号に基づく公開暗号鍵方式(マックエリス暗号、EPOC(Efficient Probabilistic Public Key Encryption)等)、等の公開暗号鍵方式の秘密鍵でよい。
[Private key 222]
The private key 222 is not particularly limited as long as it is a private key of a public encryption key system, and may be, for example, a public encryption key system based on prime factorization (such as RSA (Rivest-Shamir-Adleman) encryption, Paillier encryption, or Rabin encryption), a public encryption key system based on discrete logarithms (such as Cramer-Shoup encryption or ElGamal encryption), a public encryption key system based on lattice encryption (such as NTRU encryption), or a public encryption key system based on probabilistic encryption (such as McEllis encryption or EPOC (Efficient Probabilistic Public Key Encryption)).
なかでも、秘密鍵222は、素因数分解に基づく公開暗号鍵方式の秘密鍵を含むことが好ましい。RSA暗号等によって例示される素因数分解に基づく公開暗号鍵方式は、暗号化及び復号が比較的容易であることが知られている。したがって、秘密鍵222が素因数分解に基づく公開暗号鍵方式の秘密鍵を含むことにより、暗号化及び/又は復号における負荷を軽減し得る。 In particular, it is preferable that the private key 222 include a private key of a public encryption key system based on prime factorization. Public encryption key systems based on prime factorization, such as the RSA encryption system, are known to be relatively easy to encrypt and decrypt. Therefore, by having the private key 222 include a private key of a public encryption key system based on prime factorization, the load of encryption and/or decryption can be reduced.
管理装置記憶部22が秘密鍵222を記憶することにより、予約管理装置2は、予約時間帯を含む予約情報を秘密鍵222で暗号化し、暗号化予約情報を生成できる。これにより、予約管理装置2は、暗号化予約情報を含む二次元コードを発行できる。二次元コードが秘密鍵222で暗号化された暗号化予約情報を含むため、制御システムSは、復号に用いる鍵(公開鍵)が秘密でない場合であっても利用者が予約した予約時間帯以外の時間帯にロック装置を解錠状態とすることを可能とする偽造二次元コードの生成を防ぐことができる。 By storing the private key 222 in the management device storage unit 22, the reservation management device 2 can encrypt reservation information, including the reservation time slot, with the private key 222 to generate encrypted reservation information. This allows the reservation management device 2 to issue a two-dimensional code that includes the encrypted reservation information. Because the two-dimensional code includes encrypted reservation information encrypted with the private key 222, the control system S can prevent the generation of counterfeit two-dimensional codes that allow the lock device to be unlocked outside the reservation time slot reserved by the user, even if the key (public key) used for decryption is not secret.
また、管理装置記憶部22が秘密鍵222を記憶することにより、予約管理装置2は、識別情報を含み、予約時間帯を含まない情報を秘密鍵222で暗号化し、暗号化小容量情報を生成できる。これにより、復号に用いる鍵(公開鍵)が秘密でない場合であっても利用者が予約した予約時間帯以外の時間帯にロック装置を解錠状態とすることを可能とする偽造二次元コードの生成を防ぐことができる。 Furthermore, by storing the private key 222 in the management device storage unit 22, the reservation management device 2 can encrypt information that includes identification information but does not include the reservation time slot using the private key 222, thereby generating encrypted small-volume information. This prevents the generation of counterfeit two-dimensional codes that allow the lock device to be unlocked outside of the reservation time slot reserved by the user, even if the key (public key) used for decryption is not secret.
〔管理装置通信部23〕
管理装置通信部23は、予約管理装置2をネットワークNに接続して利用者端末1、錠3等と通信可能にする通信部であれば特に限定されず、例えば、携帯電話ネットワークに対応した無線装置、IEEE802.11に準拠したWi-Fi(Wireless Fidelity)対応デバイス、及びイーサネット規格に対応したネットワークカード等が挙げられる。
[Management device communication section 23]
The management device communication unit 23 is not particularly limited to any communication unit that connects the reservation management device 2 to the network N and enables communication with the user terminal 1, lock 3, etc., and examples include a wireless device compatible with a mobile phone network, a Wi-Fi (Wireless Fidelity) compatible device that complies with IEEE 802.11, and a network card that complies with the Ethernet standard.
管理装置通信部23は、なかでも、携帯電話ネットワークに対応した無線装置、IEEE802.11に準拠したWi-Fi(Wireless Fidelity)対応デバイス等によって例示される無線ネットワークに接続可能な通信部を含むことが好ましい。これにより、利用者端末1及び/又は錠3の場所において有線通信が制限されている場合であっても、予約管理装置2は、利用者端末1及び/又は錠3と通信し得る。 The management device communication unit 23 preferably includes a communication unit that can connect to a wireless network, such as a wireless device compatible with a mobile phone network or a Wi-Fi (Wireless Fidelity) compatible device that complies with IEEE 802.11. This allows the reservation management device 2 to communicate with the user terminal 1 and/or lock 3 even if wired communication is restricted at the location of the user terminal 1 and/or lock 3.
<錠3>
錠3は、管理対象Mを管理可能なロック装置4、二次元コードBを読み取り可能な読取装置5、ロック装置4及び読取装置5と有線及び/又は近距離無線で電気的に接続された制御装置6、を含む。
<Tablet 3>
The lock 3 includes a locking device 4 capable of managing the managed object M, a reading device 5 capable of reading the two-dimensional code B, and a control device 6 electrically connected to the locking device 4 and the reading device 5 via wire and/or short-range wireless communication.
ロック装置4の数は、1以上であれば特に限定されない。管理対象Mの数が2以上である場合、ロック装置4の数は、管理対象Mの数以上であることが好ましい。これにより、錠3は、2以上の管理対象Mそれぞれとロック装置4とを対応付けて、管理対象Mそれぞれの予約に応じた利用を管理できる。 The number of locking devices 4 is not particularly limited as long as it is one or more. If the number of managed objects M is two or more, it is preferable that the number of locking devices 4 be equal to or greater than the number of managed objects M. This allows the lock 3 to associate each of the two or more managed objects M with a locking device 4 and manage usage according to the reservations for each managed object M.
ロック装置4の数の上限は、特に限定されない。 There is no particular upper limit on the number of locking devices 4.
〔ロック装置4〕
ロック装置4は、施錠状態と解錠状態との間で切り換え可能なロック装置であれば、特に限定されない。ロック装置4は、例えば、電気錠、マグネット錠、自動ドア等によって例示される商用電源で動作する電気式のロック装置、スマートロックによって例示される商用電源が供給可能な電力より小さな電力を供給可能な電源で動作する電子式のロック装置、等でよい。
[Locking device 4]
The locking device 4 is not particularly limited as long as it is a locking device that can be switched between a locked state and an unlocked state. The locking device 4 may be, for example, an electric locking device that operates on a commercial power source, such as an electric lock, a magnetic lock, or an automatic door, or an electronic locking device that operates on a power source that can supply less power than that supplied by a commercial power source, such as a smart lock.
なかでも、ロック装置4は、商用電源が供給可能な電力より小さな電力を供給可能な電源部で動作する電子式のロック装置を含むことが好ましい。これにより、錠3は、電力の供給が制限されている場所であっても、管理対象Mの管理を提供し得る。したがって、電力の供給が制限されている場所であっても、錠3は、電気式及び/又は電子式の錠を取り付けた部屋の貸し出し等をほぼ無人の管理で実現することができる。 In particular, it is preferable that the locking device 4 includes an electronic locking device that operates on a power supply that can supply less power than that available from a commercial power source. This allows the lock 3 to provide management of the managed object M even in places where the power supply is limited. Therefore, even in places where the power supply is limited, the lock 3 can realize the rental of rooms equipped with electric and/or electronic locks with almost unattended management.
ロック装置4は、近距離無線通信によって制御装置6と接続可能なロック装置4であることが好ましい。これにより、制御装置6は、ロック装置4と有線で接続されることなく構成され得る。制御装置6がロック装置4と有線で接続されることなく構成可能であることにより、管理対象Mへの錠3の後付けをよりいっそう容易とし得る。 The locking device 4 is preferably a locking device 4 that can be connected to the control device 6 via short-range wireless communication. This allows the control device 6 to be configured without being connected to the locking device 4 via a wire. Because the control device 6 can be configured without being connected to the locking device 4 via a wire, it can be made even easier to retrofit a lock 3 to the managed object M.
近距離無線通信は、特に限定されず、例えば、Bluetooth(登録商標)、ZigBee(登録商標)等に準拠した近距離無線通信等でよい。 The short-range wireless communication is not particularly limited, and may be, for example, short-range wireless communication compliant with Bluetooth (registered trademark), ZigBee (registered trademark), etc.
近距離無線通信は、なかでも、Bluetooth(登録商標)のうち、Bluetooth Low Energy(Bluetooth LE、BLE)に準拠した近距離無線通信を含むことが好ましい。近距離無線通信がBluetooth LEに準拠した近距離無線通信を含むことにより、制御装置6は、ロック装置4との通信に係る消費電力をよりいっそう低減できる。 The short-range wireless communication preferably includes short-range wireless communication that complies with Bluetooth Low Energy (Bluetooth LE, BLE), a standard within Bluetooth (registered trademark). By including short-range wireless communication that complies with Bluetooth LE, the control device 6 can further reduce the power consumption associated with communication with the lock device 4.
[電源部]
必須の態様ではないが、ロック装置4は、商用電源が供給可能な電力より小さな電力を供給可能な電源部を含むことが好ましい。これにより、錠3は、電力の供給が制限されている場所であっても、管理対象Mの管理を提供し得る。したがって、電力の供給が制限されている場所であっても、錠3は、電気式及び/又は電子式の錠を取り付けた部屋の貸し出し等をほぼ無人の管理で実現することができる。
[Power supply section]
Although not a required feature, it is preferable that the lock device 4 includes a power supply unit capable of supplying less power than that which can be supplied by a commercial power source. This allows the lock 3 to manage the managed objects M even in places where the supply of power is limited. Therefore, even in places where the supply of power is limited, the lock 3 can realize the rental of rooms equipped with electric and/or electronic locks with almost unattended management.
電源部は、商用電源が供給可能な電力より小さな電力を供給可能であれば、特に限定されない。電源部は、例えば、電池、ACアダプタ、USB給電、非接触給電等の1以上を用いて電力を供給可能な電源部でよい。 The power supply unit is not particularly limited as long as it can supply less power than that supplied by a commercial power source. The power supply unit may be capable of supplying power using, for example, one or more of a battery, an AC adapter, a USB power supply, a wireless power supply, etc.
電源部は、なかでも、電池を用いて電力を供給可能な電源部を含むことが好ましい。これにより、ロック装置4を管理する管理者は、電池を交換する比較的簡便な管理によって電源部を保守できる。これにより、電源部の保守にかかる労力が低減され得る。 It is preferable that the power supply unit includes a power supply unit that can supply power using a battery. This allows the administrator who manages the lock device 4 to maintain the power supply unit by the relatively simple task of replacing the battery. This reduces the effort required to maintain the power supply unit.
〔読取装置5〕
読取装置5は、二次元コードBを読み取り可能であれば、特に限定されない。
[Reading device 5]
The reader 5 is not particularly limited as long as it can read the two-dimensional code B.
必須の態様ではないが、読取装置5は、管理対象Mを予約した予約者が管理対象Mの利用を終了するときに二次元コードBを読み取らせる利用終了読取装置を含んでもよい。これにより、予約者は、利用終了読取装置に二次元コードBを読み取らせることによって、管理対象Mの利用を終了できる。 Although not a required feature, the reading device 5 may include a usage termination reading device that reads the two-dimensional code B when the person who reserved the managed object M ends their use of the managed object M. This allows the person who reserved the managed object M to end their use of the managed object M by having the usage termination reading device read the two-dimensional code B.
必須の態様ではないが、読取装置5は、制御装置6が錠3に含まれるロック装置4と近距離無線通信を行うための情報を読み取ることが可能であることが好ましい。これにより、管理対象Mを管理する管理者は、既存のロック装置4に読取装置5及び制御装置6を後付けすることを容易に行い得る。また、既存の錠3にロック装置4を後付けすることを容易に行い得る。 Although not a required feature, it is preferable that the reading device 5 be capable of reading information that allows the control device 6 to communicate with the locking device 4 included in the lock 3 via short-range wireless communication. This allows the administrator who manages the managed object M to easily retrofit the reading device 5 and control device 6 to an existing locking device 4. It also makes it easy to retrofit a locking device 4 to an existing lock 3.
[検知部]
必須の態様ではないが、読取装置5は、二次元コードB、利用者端末1、及び/又は利用者端末1を利用する利用者等の検知対象が読取装置5の周辺に存在するか等を検知可能な検知部を含むことが好ましい。読取装置5が検知部を含むことにより、読取装置5は、検知対象が検知されない場合に読み取りを行わないことで、消費電力を低減することができる。
[Detection unit]
Although not an essential aspect, it is preferable that the reading device 5 includes a detection unit capable of detecting whether a detection target, such as the two-dimensional code B, the user terminal 1, and/or a user using the user terminal 1, is present in the vicinity of the reading device 5. By including the detection unit in the reading device 5, the reading device 5 can reduce power consumption by not reading when a detection target is not detected.
検知部は、利用者端末1、及び/又は利用者端末1を利用する利用者等が読取装置5の周辺に存在するか等を検知可能であれば、特に限定されない。検知部は、例えば、読取装置5周辺にある動くものを検知可能な動体識別センサ、読取装置5周辺にいる人を検知可能な人感センサ等を含む検知部でよい。 The detection unit is not particularly limited as long as it can detect whether the user terminal 1 and/or a user using the user terminal 1 is present in the vicinity of the reading device 5. The detection unit may include, for example, a moving object identification sensor capable of detecting moving objects in the vicinity of the reading device 5, a human presence sensor capable of detecting people in the vicinity of the reading device 5, etc.
検知部は、なかでも、動体識別センサを含む検知部であることが好ましい。これにより、検知部は、予約を行った予約者が読取装置5に二次元コードBを提示する動きを検知できる。したがって、予約者が単に読取装置5周辺にいて二次元コードBを提示していない場合に読み取りを行わずに消費電力を低減することと、予約者が読取装置5に二次元コードBを提示したときに読み取りを行うこととを両立できる。 The detection unit is preferably a detection unit that includes a motion identification sensor. This allows the detection unit to detect the movement of the reservation holder presenting two-dimensional code B to the reading device 5. This makes it possible to both reduce power consumption by not reading when the reservation holder is simply near the reading device 5 but does not present two-dimensional code B, and to read two-dimensional code B when the reservation holder presents it to the reading device 5.
検知部は、検知対象が一定時間検知されない場合に読取装置5及び/又は制御装置6を待機状態に制御することが可能であり、検知対象が検知された場合に読取装置5及び制御装置6の待機状態を終了させることが可能な検知部であることが好ましい。これにより、検知部は、検知対象が一定時間検知されない場合に読取装置5及び/又は制御装置6を待機状態とし、消費電力を低減することができる。 The detection unit is preferably capable of controlling the reading device 5 and/or the control device 6 to a standby state if the detection target is not detected for a certain period of time, and of ending the standby state of the reading device 5 and the control device 6 when the detection target is detected. This allows the detection unit to put the reading device 5 and/or the control device 6 into a standby state if the detection target is not detected for a certain period of time, thereby reducing power consumption.
[電源部]
必須の態様ではないが、読取装置5は、商用電源が供給可能な電力より小さな電力を供給可能な電源部を含むことが好ましい。これにより、錠3は、電力の供給が制限されている場所であっても、管理対象Mの管理を提供し得る。したがって、電力の供給が制限されている場所であっても、錠3は、電気式及び/又は電子式の錠を取り付けた部屋の貸し出し等をほぼ無人の管理で実現することができる。
[Power supply section]
Although not essential, it is preferable that the reading device 5 includes a power supply unit capable of supplying less power than that which can be supplied by a commercial power source. This allows the lock 3 to provide management of the managed objects M even in places where the supply of power is limited. Therefore, even in places where the supply of power is limited, the lock 3 can realize the rental of rooms equipped with electric and/or electronic locks with almost unattended management.
電源部は、商用電源が供給可能な電力より小さな電力を供給可能であれば、特に限定されない。電源部は、例えば、電池、ACアダプタ、USB給電、非接触給電等の1以上を用いて電力を供給可能な電源部でよい。 The power supply unit is not particularly limited as long as it can supply less power than that supplied by a commercial power source. The power supply unit may be capable of supplying power using, for example, one or more of a battery, an AC adapter, a USB power supply, a wireless power supply, etc.
電源部は、なかでも、電池を用いて電力を供給可能な電源部を含むことが好ましい。これにより、錠3を管理する管理者は、電池を交換する比較的簡便な管理によって電源部を保守できる。これにより、電源部の保守にかかる労力が低減され得る。 It is preferable that the power supply unit includes a power supply unit that can supply power using a battery. This allows the administrator who manages the lock 3 to maintain the power supply unit by relatively simply replacing the battery. This reduces the effort required to maintain the power supply unit.
〔制御装置6〕
制御装置6は、少なくとも、制御装置制御部61と、制御装置記憶部62と、制御装置通信部63と、タイマー部64と、を含んで構成される。
[Control device 6]
The control device 6 includes at least a control device control unit 61 , a control device storage unit 62 , a control device communication unit 63 , and a timer unit 64 .
[制御装置制御部61]
制御装置制御部61は、CPU(Central Processing Unit)、RAM(Random Access Memory)、及びROM(Read Only Memory)等を備える。
[Control device control unit 61]
The control device control unit 61 includes a CPU (Central Processing Unit), a RAM (Random Access Memory), a ROM (Read Only Memory), and the like.
制御装置制御部61は、所定のプログラムを読み込み、必要に応じて制御装置記憶部62及び/又は制御装置通信部63等の制御装置6が含む各部材と協働することで、制御装置6におけるソフトウェア構成の要素である、動作判別部611、大容量予約情報受信部612、読取部613、復号部614、判別部615、解錠指令部616、時刻合わせ部617、利用終了情報送信部618等を実現する。 The control device control unit 61 loads a specified program and, as necessary, cooperates with each component included in the control device 6, such as the control device storage unit 62 and/or the control device communication unit 63, to realize the software configuration elements of the control device 6, such as the operation determination unit 611, large-capacity reservation information receiving unit 612, reading unit 613, decoding unit 614, determination unit 615, unlock command unit 616, time setting unit 617, and usage end information sending unit 618.
制御装置6において実行される制御処理の流れについては、後に図6を用いて詳細に説明する。 The flow of control processing executed by the control device 6 will be explained in detail later using Figure 6.
[制御装置記憶部62]
制御装置記憶部62は、データ及び/又はファイルが記憶される装置であって、ハードディスク、半導体メモリ、記録媒体、及びメモリカード等によるデータのストレージ部を有する。制御装置記憶部62は、ネットワークNを介してNAS(Network Attached Storage)、SAN(Storage Area Network)、クラウドストレージ、ファイルサーバ及び/又は分散ファイルシステム等の記憶装置又は記憶システムとの接続を可能にする仕組みを有してもよい。
[Control device storage unit 62]
The control device storage unit 62 is a device in which data and/or files are stored, and has a data storage unit such as a hard disk, semiconductor memory, recording medium, memory card, etc. The control device storage unit 62 may have a mechanism that enables connection to a storage device or storage system such as a NAS (Network Attached Storage), a SAN (Storage Area Network), cloud storage, a file server, and/or a distributed file system via the network N.
制御装置記憶部62には、マイクロコンピューターで実行される制御プログラム、大容量予約情報テーブル621、公開鍵622等が記憶されている。制御装置6が外部との通信を行うオンライン制御処理を実行する場合、制御装置記憶部62は、制御装置6が制御処理を行わないスリープ状態となるスリープ時間帯及び制御装置6が大容量予約情報を受信する受信タイミングを記憶可能であることが好ましい。 The control device storage unit 62 stores a control program executed by the microcomputer, a large-capacity reservation information table 621, a public key 622, etc. When the control device 6 performs online control processing that communicates with the outside, it is preferable that the control device storage unit 62 be able to store the sleep time period during which the control device 6 enters a sleep state in which it does not perform control processing, and the reception timing at which the control device 6 receives large-capacity reservation information.
(大容量予約情報テーブル621)
図3は、大容量予約情報テーブル621の一例である。大容量予約情報テーブル621は、予約時間帯、予約の対象となる管理対象Mの管理に用いられるロック装置4を識別可能なロック装置ID、予約情報を識別可能であり、予約情報をよりデータ量が小さい識別情報等を含む大容量予約情報を格納する。
(Large Capacity Reservation Information Table 621)
3 is an example of the large-capacity reservation information table 621. The large-capacity reservation information table 621 stores large-capacity reservation information including a reservation time slot, a lock device ID capable of identifying the lock device 4 used to manage the managed object M that is the target of the reservation, and identification information capable of identifying the reservation information and having a smaller data volume than the reservation information.
識別情報は、特に限定されず、予約テーブル221に格納される識別情報と同じでよい。大容量予約情報テーブル621に格納可能な大容量予約情報の数は、特に限定されないが、1000件以下であることが好ましい。これにより、大容量予約情報テーブル621が制御装置記憶部62において使用する記憶領域及び制御装置記憶部62の記憶容量を抑え、制御装置記憶部62の消費電力を低減し得る。 The identification information is not particularly limited and may be the same as the identification information stored in the reservation table 221. The number of large-capacity reservation information items that can be stored in the large-capacity reservation information table 621 is not particularly limited, but it is preferable that it be 1,000 or less. This reduces the storage area used by the large-capacity reservation information table 621 in the control device storage unit 62 and the storage capacity of the control device storage unit 62, and can reduce the power consumption of the control device storage unit 62.
大容量予約情報テーブル621は、大容量予約情報を識別可能な大容量予約情報IDと大容量予約情報とを関連付けて格納可能であることが好ましい。これにより、制御装置6は、大容量予約情報IDを用いて大容量予約情報を格納及び/又は取得できる。 The large-volume reservation information table 621 is preferably capable of storing large-volume reservation information in association with a large-volume reservation information ID that can identify the large-volume reservation information. This allows the control device 6 to store and/or retrieve large-volume reservation information using the large-volume reservation information ID.
必須の態様ではないが、大容量予約情報は、当該大容量予約情報に対応する管理対象Mが利用中であるかの情報と関連付けられて格納されることが好ましい。これにより、管理対象Mが利用中であるかの情報を予約管理装置2に送信し得る。 Although not a required feature, it is preferable that large-volume reservation information be stored in association with information on whether the managed object M corresponding to the large-volume reservation information is in use. This makes it possible to send information on whether the managed object M is in use to the reservation management device 2.
必須の態様ではないが、予約情報は、当該大容量予約情報に対応する管理対象Mの予約時間帯における利用が終了したかの情報と関連付けられて格納されることが好ましい。これにより、予約時間帯における利用が終了した場合に管理対象Mに後付けされたロック装置4を解錠状態にすることを防ぎ得る。 Although not a required feature, it is preferable that the reservation information be stored in association with information on whether use of the managed object M corresponding to the large-volume reservation information during the reserved time period has ended. This makes it possible to prevent the lock device 4 retrofitted to the managed object M from being unlocked when use during the reserved time period has ended.
図3に示す大容量予約情報テーブル621は、大容量予約情報IDと関連付けられた大容量予約情報を格納している。図3に示す大容量予約情報テーブル621が格納する大容量予約情報は、予約について、「予約時間帯」、「錠ID」、「ロック装置ID」、予約情報を識別可能な「識別情報」を含み、大容量予約情報に対応する管理対象Mが「利用中」であるかの情報、大容量予約情報に対応する管理対象Mの予約時間帯における利用が「利用終了」したかの情報、と関連付けられている。 The large-capacity reservation information table 621 shown in Figure 3 stores large-capacity reservation information associated with large-capacity reservation information IDs. The large-capacity reservation information stored in the large-capacity reservation information table 621 shown in Figure 3 includes, for reservations, "reservation time period," "lock ID," "lock device ID," and "identification information" that can identify the reservation information, and is associated with information on whether the managed object M corresponding to the large-capacity reservation information is "in use," and information on whether use of the managed object M corresponding to the large-capacity reservation information during the reserved time period has "ended."
図3の大容量予約情報ID「M0001」と関連付けられた予約情報は、以下の情報を含んでいる:
開始日時が「7月7日 16:00」で終了日時が「7月7日 18:00」である予約時間帯。
ロック装置4を識別可能なロック装置ID「4aa」。
予約時間帯に関する情報であって暗号化されていない情報を含まず、予約情報を識別可能な識別情報「0626・・・」。
The reservation information associated with the large-volume reservation information ID "M0001" in FIG. 3 includes the following information:
A reservation time period with a start date and time of "July 7th, 16:00" and an end date and time of "July 7th, 18:00".
The lock device ID "4aa" is used to identify the lock device 4.
Identification information "0626..." that is information relating to the reserved time slot and does not include unencrypted information, and that can identify the reservation information.
また、図3の大容量予約情報ID「M0001」と関連付けられた予約情報は、以下の情報と関連付けられている:
大容量予約情報に対応する管理対象Mが利用中でないことを示す利用中情報「No」。
大容量予約情報に対応する管理対象Mの予約時間帯における利用が終了していることを示す利用終了情報「Yes」。
Furthermore, the reservation information associated with the large-volume reservation information ID "M0001" in FIG. 3 is associated with the following information:
In-use information "No" indicates that the managed object M corresponding to the large-volume reservation information is not in use.
Usage end information "Yes" indicates that usage of the managed object M corresponding to the large-volume reservation information in the reserved time period has ended.
これにより、制御装置6は、識別情報「0626・・・」を含む二次元コードBの読み取りに応じて、当該識別情報と対応する大容量予約情報が示す、ロック装置ID「4aa」によって識別されるロック装置4によって管理される管理対象Mを、開始日時が「7月7日 16:00」で終了日時が「7月7日 18:00」である予約時間帯に利用する予約に基づいて、ロック装置4を制御できる。 As a result, in response to reading two-dimensional code B containing identification information "0626...", the control device 6 can control lock device 4 based on a reservation to use managed object M, which is managed by lock device 4 identified by lock device ID "4aa" and indicated by the large-capacity reservation information corresponding to that identification information, during a reservation time period starting at "July 7th, 16:00" and ending at "July 7th, 18:00".
(公開鍵622)
公開鍵622は、秘密鍵222と対応する公開鍵であれば、特に限定されない。公開鍵622は、対応する秘密鍵222と同じ公開鍵暗号方式の公開鍵でよい。
(Public key 622)
There are no particular limitations on the public key 622, as long as it is a public key that corresponds to the private key 222. The public key 622 may be a public key of the same public key cryptosystem as the corresponding private key 222.
制御装置記憶部62が公開鍵622を記憶することにより、制御装置6は、秘密鍵222で暗号化された暗号化予約情報を復号できる。また、制御装置記憶部62が公開鍵622を記憶することにより、制御装置6は、秘密鍵222で暗号化された暗号化小容量情報を復号できる。 By storing the public key 622 in the control device storage unit 62, the control device 6 can decrypt encrypted reservation information encrypted with the private key 222. Also, by storing the public key 622 in the control device storage unit 62, the control device 6 can decrypt encrypted small-volume information encrypted with the private key 222.
公開鍵622が公開鍵暗号方式の公開鍵であるため、錠3がリバースエンジニアリングされる等して公開鍵622の秘密が保たれなくなった場合であっても、秘密鍵222の秘密が保たれる。これにより、公開鍵622の秘密が保たれなくなった場合であっても、利用者が予約した予約時間帯以外の時間帯にロック装置4を解錠状態とすることを可能とする偽造二次元コードの生成を防ぐことができる。 Because public key 622 is a public key used in public key cryptography, the secrecy of private key 222 is maintained even if the secrecy of public key 622 is compromised due to reverse engineering of lock 3, etc. This prevents the generation of counterfeit two-dimensional codes that allow lock device 4 to be unlocked outside of the reserved time slot reserved by the user, even if the secrecy of public key 622 is compromised.
[制御装置通信部63]
制御装置通信部63は、制御装置6とロック装置4及び読取装置5とを有線及び/又は近距離無線通信によって電気的に接続可能であれば、特に限定されない。
[Control device communication unit 63]
The control device communication unit 63 is not particularly limited as long as it can electrically connect the control device 6 to the lock device 4 and the reading device 5 via wired and/or near-field wireless communication.
制御装置通信部63が制御装置6とロック装置4及び読取装置5とを有線及び/又は近距離無線通信によって電気的に接続可能であることにより、既存のロック装置4に読取装置5及び制御装置6を後付けして、既存のロック装置4、読取装置5、及び制御装置6を含む錠3を構成することができる。 Because the control device communication unit 63 can electrically connect the control device 6 to the lock device 4 and the reading device 5 via wired and/or short-range wireless communication, the reading device 5 and control device 6 can be retrofitted to an existing lock device 4 to create a lock 3 that includes the existing lock device 4, reading device 5, and control device 6.
制御装置通信部63は、制御装置6とロック装置4とを近距離無線通信によって電気的に接続可能であることが好ましい。これにより、制御装置6は、ロック装置4と有線で接続されることなく構成され得る。制御装置6がロック装置4と有線で接続されることなく構成可能であることにより、管理対象Mへの錠3の後付けをよりいっそう容易とし得る。 The control device communication unit 63 is preferably capable of electrically connecting the control device 6 and the lock device 4 via short-range wireless communication. This allows the control device 6 to be configured without being connected to the lock device 4 via a wire. Because the control device 6 can be configured without being connected to the lock device 4 via a wire, it can be made even easier to retrofit a lock 3 to the managed object M.
近距離無線通信は、特に限定されず、例えば、Bluetooth(登録商標)、ZigBee(登録商標)等に準拠した近距離無線通信等でよい。 The short-range wireless communication is not particularly limited, and may be, for example, short-range wireless communication compliant with Bluetooth (registered trademark), ZigBee (registered trademark), etc.
近距離無線通信は、なかでも、Bluetooth(登録商標)のうち、Bluetooth Low Energy(Bluetooth LE、BLE)に準拠した近距離無線通信を含むことが好ましい。近距離無線通信がBluetooth LEに準拠した近距離無線通信を含むことにより、制御装置6は、ロック装置4との通信に係る消費電力をよりいっそう低減できる。 The short-range wireless communication preferably includes short-range wireless communication that complies with Bluetooth Low Energy (Bluetooth LE, BLE), a standard within Bluetooth (registered trademark). By including short-range wireless communication that complies with Bluetooth LE, the control device 6 can further reduce the power consumption associated with communication with the lock device 4.
制御装置通信部63は、制御装置6をネットワークNに接続して予約管理装置2と通信可能であることが好ましい。これにより、制御装置6は、予約管理装置2から大容量予約情報等を受信するオンライン制御処理を実行できる。 It is preferable that the control device communication unit 63 connects the control device 6 to the network N so that it can communicate with the reservation management device 2. This allows the control device 6 to perform online control processing to receive large amounts of reservation information, etc. from the reservation management device 2.
制御装置通信部63が含む制御装置6をネットワークNに接続して予約管理装置2と通信可能とする部材は、特に限定されず、例えば、携帯電話ネットワークに対応した無線装置、IEEE802.11に準拠したWi-Fi(Wireless Fidelity)対応デバイス、及びイーサネット規格に対応したネットワークカード等が挙げられる。 The components that connect the control device 6 included in the control device communication unit 63 to the network N and enable communication with the reservation management device 2 are not particularly limited, and examples include wireless devices compatible with mobile phone networks, Wi-Fi (Wireless Fidelity) compatible devices compliant with IEEE 802.11, and network cards compatible with the Ethernet standard.
[タイマー部64]
制御装置6は、現在時刻を計時可能なタイマー部64を含む。これにより、制御装置6は、外部との通信を行わずに現在時刻が予約時間帯に該当するかを判別できる。これにより、制御装置6は、外部との通信を行わないオフライン制御処理を行うことができる。
[Timer section 64]
The control device 6 includes a timer unit 64 that can measure the current time. This allows the control device 6 to determine whether the current time falls within a reserved time slot without communicating with the outside. This allows the control device 6 to perform offline control processing without communicating with the outside.
タイマー部64は、現在時刻を計時可能であれば特に限定されず、従来技術の現在時刻を計時可能な各種の手段(クオーツ時計、計時回路、電波時計等)を含むタイマー部でよい。 The timer unit 64 is not particularly limited as long as it is capable of measuring the current time, and may be a timer unit including various conventional means for measuring the current time (such as a quartz clock, a timing circuit, or a radio-controlled clock).
制御装置6が外部との通信を行わないオフライン制御処理を行うことにより、制御装置6及び錠3の消費電力を軽減できる。したがって、電力の供給が制限されている場所であっても、制御装置6は、錠3を制御できる。 By performing offline control processing without external communication, the control device 6 can reduce power consumption by the control device 6 and lock 3. Therefore, the control device 6 can control the lock 3 even in places where power supply is limited.
また、制御装置6が外部との通信を行わないオフライン制御処理を行うことにより、外部との通信において予約情報等が傍受等されるリスクを軽減し得る。これにより、制御システムSは、傍受等された予約情報を用いて、利用者が予約した予約時間帯以外の時間帯にロック装置4を解錠状態とすることを可能とする偽造二次元コードが生成されることを防ぐことができる。 Furthermore, by having the control device 6 perform offline control processing that does not involve external communication, the risk of reservation information and the like being intercepted during external communications can be reduced. This allows the control system S to prevent intercepted reservation information from being used to generate a counterfeit two-dimensional code that would allow the lock device 4 to be unlocked during a time slot other than the one reserved by the user.
[制御装置電源部65]
必須の態様ではないが、制御装置6は、商用電源が供給可能な電力より小さな電力を供給可能な制御装置電源部65を含むことが好ましい。これにより、錠3は、電力の供給が制限されている場所であっても、管理対象Mの管理を提供し得る。したがって、電力の供給が制限されている場所であっても、錠3は、電気式及び/又は電子式の錠を取り付けた部屋の貸し出し等をほぼ無人の管理で実現することができる。
[Control device power supply unit 65]
Although not a required feature, it is preferable that the control device 6 includes a control device power supply unit 65 that can supply less power than that which can be supplied by a commercial power source. This allows the lock 3 to manage the managed objects M even in places where the power supply is limited. Therefore, even in places where the power supply is limited, the lock 3 can realize the rental of rooms equipped with electric and/or electronic locks with almost unattended management.
制御装置電源部65は、商用電源が供給可能な電力より小さな電力を供給可能であれば、特に限定されない。制御装置電源部65は、例えば、電池、ACアダプタ、USB給電、非接触給電等の1以上を用いて電力を供給可能な電源部でよい。 The control device power supply unit 65 is not particularly limited as long as it can supply less power than that supplied by a commercial power source. The control device power supply unit 65 may be a power supply unit that can supply power using, for example, one or more of a battery, an AC adapter, a USB power supply, a wireless power supply, etc.
制御装置電源部65は、なかでも、電池を用いて電力を供給可能な電源部を含むことが好ましい。これにより、錠3を管理する管理者は、電池を交換する比較的簡便な管理によって制御装置電源部65を保守できる。これにより、制御装置電源部65の保守にかかる労力が低減され得る。 It is preferable that the control device power supply unit 65 includes a power supply unit capable of supplying power using a battery. This allows the administrator in charge of the lock 3 to maintain the control device power supply unit 65 through the relatively simple task of replacing the battery. This reduces the effort required to maintain the control device power supply unit 65.
制御装置電源部65は、読取装置5に電力を供給可能であることが好ましい。これにより、読取装置5と制御装置6との両方に電源部を設けることなく、読取装置5と制御装置6との両方が電力を供給され得る。これにより、錠3の保守にかかる労力が低減され得る。 It is preferable that the control device power supply unit 65 be able to supply power to the reading device 5. This allows both the reading device 5 and the control device 6 to be supplied with power without having to provide power supplies for both. This reduces the effort required to maintain the lock 3.
[動作指定部66]
必須の態様ではないが、制御装置6は、オフライン制御処理を行う動作及びオンライン制御処理を行う動作を少なくとも含む2以上の動作から制御装置6の動作を指定可能な動作指定部66を含むことが好ましい。これにより、制御装置6は、外部との通信を行わないオフライン制御処理を行う動作と、外部との通信を行うオンライン制御処理を行う動作とを錠3を管理する管理者の指定に基づいて切り替え得る。これにより、管理者は、動作が異なる複数の錠3及び/又は制御装置6を付け替えることなく、制御装置6の動作を切り替えることができる。
[Action designation unit 66]
Although not a required feature, it is preferable that the control device 6 include an operation designation unit 66 that can designate the operation of the control device 6 from two or more operations including at least an operation for performing offline control processing and an operation for performing online control processing. This allows the control device 6 to switch between an operation for performing offline control processing that does not communicate with the outside world and an operation for performing online control processing that does communicate with the outside world based on the designation of the administrator who manages the locks 3. This allows the administrator to switch the operation of the control device 6 without having to change multiple locks 3 and/or control devices 6 that operate differently.
動作指定部66は、特に限定されない。動作指定部66は、例えば、読取装置5がオフライン制御処理を行う動作を指定する二次元コードを読み取った場合にオフライン制御処理を行う動作を指定し、読取装置5がオンライン制御処理を行う動作を指定する二次元コードを読み取った場合にオンライン制御処理を行う動作を指定する動作指定部等でよい。 The operation designation unit 66 is not particularly limited. For example, the operation designation unit 66 may be an operation designation unit that designates an operation to perform offline control processing when the reading device 5 reads a two-dimensional code that designates an operation to perform offline control processing, or an operation designation unit that designates an operation to perform online control processing when the reading device 5 reads a two-dimensional code that designates an operation to perform online control processing.
動作指定部66は、制御装置6が利用終了処理を行う利用終了動作を指定可能であることが好ましい。これにより、制御装置6は、当該指定に基づいて管理対象Mの利用を終了する利用終了処理を実行できる。 It is preferable that the operation specification unit 66 be able to specify a usage termination operation that the control device 6 will use to perform usage termination processing. This allows the control device 6 to execute usage termination processing that terminates the use of the managed object M based on the specification.
[装置識別標識67]
必須の態様ではないが、制御装置6は、制御装置6を識別可能な装置識別標識67を含むことが好ましい。これにより、利用者端末1は、装置識別標識67を読み取り、読み取った装置識別標識67が含む情報を予約管理装置2に送信して、制御装置6を含む錠3によって管理される管理対象Mに関する二次元コードを取得する要求、予約の要求、及び/又は予約を取り消す要求を、制御装置6及び/又は管理対象Mに関する情報を手入力することなく行い得る。
[Device Identification Mark 67]
Although not an essential aspect, it is preferable that the control device 6 includes a device identification mark 67 that can identify the control device 6. This allows the user terminal 1 to read the device identification mark 67 and transmit the information included in the read device identification mark 67 to the reservation management device 2, thereby making a request to obtain a two-dimensional code related to the managed object M managed by the lock 3 including the control device 6, a reservation request, and/or a reservation cancellation request without manually inputting information related to the control device 6 and/or the managed object M.
装置識別標識67は、特に限定されず、例えば、制御装置6を識別可能な情報を含む二次元コード等でよい。 The device identification mark 67 is not particularly limited and may be, for example, a two-dimensional code containing information that can identify the control device 6.
[入力部]
制御装置6が外部との通信を行うオンライン制御処理を行う場合、制御装置6は、予約情報を識別可能な識別情報を入力可能な入力部(図示せず)を含むことが好ましい。これにより、二次元コードだけでなく、予約者の入力によっても錠3を制御するハイブリッド制御を実現し得る。入力部は、特に限定されず、例えば、識別情報を入力可能なキーパッド等でよい。
[Input section]
When the control device 6 performs online control processing that communicates with the outside, it is preferable that the control device 6 include an input unit (not shown) that can input identification information that can identify reservation information. This makes it possible to realize hybrid control that controls the lock 3 not only by the two-dimensional code but also by input from the person who made the reservation. The input unit is not particularly limited, and may be, for example, a keypad that can input identification information.
<ネットワークN>
ネットワークNの種類は、予約管理装置2と利用者端末1及び錠3とを通信可能にするネットワークであれば特に限定されず、例えば、パーソナルエリアネットワーク、ローカルエリアネットワーク、イントラネット、エクストラネット、インターネット、Wi-Fiネットワーク、携帯電話ネットワーク、あるいはこれらのネットワークを複数組み合わせたネットワーク等が挙げられる。
<Network N>
The type of network N is not particularly limited as long as it is a network that enables communication between the reservation management device 2, the user terminal 1, and the lock 3, and examples include a personal area network, a local area network, an intranet, an extranet, the Internet, a Wi-Fi network, a mobile phone network, or a network that combines multiple of these networks.
ネットワークNは、なかでも、携帯電話ネットワーク、IEEE802.11に準拠したWi-Fi(Wireless Fidelity)ス等によって例示される無線ネットワークを含むことが好ましい。これにより、利用者端末1及び/又は錠3の場所において有線通信が制限されている場合であっても、予約管理装置2は、利用者端末1及び/又は錠3と通信し得る。 The network N preferably includes a wireless network, such as a mobile phone network or an IEEE 802.11-compliant Wi-Fi (Wireless Fidelity) network. This allows the reservation management device 2 to communicate with the user terminal 1 and/or lock 3 even if wired communication is restricted at the location of the user terminal 1 and/or lock 3.
<管理対象M>
管理対象Mは、錠3によって管理可能な管理対象であれば、特に限定されない。管理対象Mは、例えば、錠3によって施錠可能な扉等を備える部屋(例えば、貸会議室、貸しオフィス、ホテルの部屋等)、錠3によって施錠可能な扉等を備える建物(例えば、隠れ家店舗等の店舗等)、錠3によって施錠可能な扉等を備える収納装置(例えば、貸金庫、貸しロッカー、レンタルサイクルの車庫等)を含む管理対象でよい。
<Management target M>
The managed object M is not particularly limited as long as it can be managed by the lock 3. The managed object M may be, for example, a room equipped with a door or the like that can be locked by the lock 3 (for example, a rental conference room, a rental office, a hotel room, etc.), a building equipped with a door or the like that can be locked by the lock 3 (for example, a store such as a hideaway store), or a storage device equipped with a door or the like that can be locked by the lock 3 (for example, a safe deposit box, a rental locker, a rental bicycle garage, etc.).
管理対象Mの数は、特に限定されない。 The number of managed objects M is not particularly limited.
〔予約管理装置2で実行される予約処理のメインフローチャート〕
図4は、予約管理装置2で実行される予約処理の一例を示すメインフローチャートである。以下、図4を用いて、予約管理装置2で実行される予約処理の好ましい流れの一例を説明する。
[Main Flowchart of Reservation Processing Executed by the Reservation Management Device 2]
4 is a main flowchart showing an example of reservation processing executed by the reservation management device 2. An example of a preferable flow of reservation processing executed by the reservation management device 2 will be described below with reference to FIG.
[ステップS1:予約を要求されたか判別]
管理装置制御部21は、管理装置記憶部22及び管理装置通信部23と協働して大容量予約情報生成部211を実行し、予約時間帯に管理対象Mを利用する予約を利用者端末1に要求されたか判別する処理を行う(ステップS1)。予約を要求されたならば、管理装置制御部21は、処理をステップS2に移す。予約を要求されていないならば、管理装置制御部21は、処理をステップS4に移す。
[Step S1: Determine whether a reservation has been requested]
The management device control unit 21 executes the large-capacity reservation information generation unit 211 in cooperation with the management device storage unit 22 and the management device communication unit 23, and performs processing to determine whether a reservation for using the managed object M during the reserved time period has been requested by the user terminal 1 (step S1). If a reservation has been requested, the management device control unit 21 proceeds to step S2. If a reservation has not been requested, the management device control unit 21 proceeds to step S4.
[ステップS2:大容量予約情報を生成]
管理装置制御部21は、管理装置記憶部22と協働して大容量予約情報生成部211を実行し、予約時間帯に管理対象Mを利用する予約に関する大容量予約情報(予約情報)を生成する処理を行う(ステップS2)。管理装置制御部21は、処理をステップS3に移す。
[Step S2: Generate large-volume reservation information]
The management device control unit 21 executes the large-capacity reservation information generation unit 211 in cooperation with the management device storage unit 22, and performs processing to generate large-capacity reservation information (reservation information) regarding reservations for using the managed object M during the reserved time period (step S2). The management device control unit 21 then proceeds to step S3.
ステップS2で実行される大容量予約情報(予約情報)を生成する処理は、生成した予約情報を予約テーブル221に格納する処理を含むことが好ましい。これにより、予約管理装置2は、予約テーブル221に格納された予約情報を用いて大容量予約情報を送信できる。 The process of generating large-volume reservation information (reservation information) executed in step S2 preferably includes a process of storing the generated reservation information in the reservation table 221. This allows the reservation management device 2 to transmit large-volume reservation information using the reservation information stored in the reservation table 221.
[ステップS3:二次元コードを発行]
管理装置制御部21は、管理装置記憶部22と協働して二次元コード発行部213を実行し、ステップS2で生成した予約情報の少なくとも一部を含む二次元コードBをステップS1で予約を要求した利用者端末1を利用する利用者に発行する処理を行う(ステップS3)。管理装置制御部21は、処理をステップS4に移す。
[Step S3: Issue a two-dimensional code]
The management device control unit 21 executes the two-dimensional code issuing unit 213 in cooperation with the management device storage unit 22, and executes a process of issuing a two-dimensional code B including at least a part of the reservation information generated in step S2 to the user who uses the user terminal 1 that requested the reservation in step S1 (step S3). The management device control unit 21 proceeds to step S4.
二次元コードBを発行する処理は、特に限定されない。二次元コードBを発行する処理は、例えば、二次元コードBを表示可能な情報をステップS1で予約を要求した利用者端末1に送信する方法、二次元コードBを印刷可能な情報をステップS1で予約を要求した利用者端末1に送信する方法、二次元コードBを印刷したものをステップS1で予約を要求した利用者端末1を利用する利用者に送付する方法等の1以上を含む処理でよい。 The process for issuing two-dimensional code B is not particularly limited. The process for issuing two-dimensional code B may include, for example, one or more of the following: sending information capable of displaying two-dimensional code B to the user terminal 1 that requested the reservation in step S1; sending information capable of printing two-dimensional code B to the user terminal 1 that requested the reservation in step S1; or sending a printout of two-dimensional code B to the user using the user terminal 1 that requested the reservation in step S1.
必須の態様ではないが、ステップS3で実行される処理は、予約を特定可能な情報(例えば、予約情報ID、識別情報、予約時間帯と管理対象Mとを特定可能な情報、利用者端末1を利用する利用者を特定可能な情報と予約時間帯とを含む情報等)と二次元コードを発行可能な情報とを関連付けて外部のデータベース(例えば、予定を管理可能なカレンダーを提供するサービスのデータベース。)に登録する処理を含むことが好ましい。これにより、利用者端末1は、予約を特定可能な情報を用いて二次元コードを発行可能な情報を外部のデータベースから取得し、二次元コードを発行できる。 Although not a required feature, it is preferable that the processing executed in step S3 includes processing to associate information capable of identifying the reservation (e.g., reservation information ID, identification information, information capable of identifying the reservation time slot and managed object M, information including information capable of identifying the user using the user terminal 1 and the reservation time slot) with information capable of issuing a two-dimensional code, and register this in an external database (e.g., a database of a service that provides a calendar capable of managing schedules). This enables the user terminal 1 to use the information capable of identifying the reservation to obtain information capable of issuing a two-dimensional code from the external database, and issue the two-dimensional code.
(二次元コードB)
二次元コードBは、特に限定されず、例えば、QRコード(登録商標)等によって例示される二次元コードでよい。二次元コードBは、利用者端末1に表示可能であることが好ましい。これにより、利用者端末1は、発行された二次元コードBを表示して、錠3で管理された管理対象Mを利用できる。
(Two-dimensional code B)
The two-dimensional code B is not particularly limited and may be, for example, a two-dimensional code exemplified by a QR code (registered trademark) or the like. The two-dimensional code B is preferably displayable on the user terminal 1. This allows the user terminal 1 to display the issued two-dimensional code B and use the managed object M managed by the lock 3.
管理対象Mが後述するオフライン制御処理を行う制御装置6が制御するロック装置4によって管理される予約と対応する二次元コードBが含むオフライン予約情報は、管理対象Mを特定可能な特定情報(例えば、ロック装置4を識別可能なロック装置ID。)及び予約時間帯に関する予約時間帯情報を有することが好ましい。これにより、制御装置6は、外部との通信を行うことなく、特定情報を用いて特定された管理対象Mと対応するロック装置4を予約時間帯にオフラインで解錠できる。 The offline reservation information contained in the two-dimensional code B corresponding to a reservation managed by a lock device 4 controlled by a control device 6 that performs offline control processing for a managed object M (described below) preferably includes specific information that can identify the managed object M (for example, a lock device ID that can identify the lock device 4) and reservation time slot information regarding the reservation time slot. This allows the control device 6 to unlock the lock device 4 corresponding to the managed object M identified using the specific information offline during the reservation time slot without communicating with the outside world.
必須の態様ではないが、オフライン予約情報は、発行された二次元コードBの通し番号を含むことが好ましい。これにより、通し番号を用いて偽造された偽造二次元コードを判別し得る。 Although not a required feature, it is preferable that the offline reservation information include the serial number of the issued two-dimensional code B. This makes it possible to identify forged two-dimensional codes using the serial number.
必須の態様ではないが、オフライン予約情報が含む情報のうち、少なくとも予約時間帯情報は、秘密鍵222で暗号化されていることが好ましい。これにより、公開鍵622が秘密でない場合であっても、利用者が予約した予約時間帯以外の時間帯にロック装置4を解錠状態とすることを可能とする偽造二次元コードの生成を防ぐことができる。 Although not a required feature, it is preferable that at least the reservation time slot information included in the offline reservation information is encrypted with the private key 222. This prevents the generation of counterfeit two-dimensional codes that allow the lock device 4 to be unlocked outside the reserved time slot reserved by the user, even if the public key 622 is not secret.
必須の態様ではないが、オフライン予約情報は、秘密鍵222で暗号化された暗号化予約情報であることが好ましい。これにより、公開鍵622が秘密でない場合であっても、利用者が予約した予約時間帯以外の時間帯にロック装置4を解錠状態とすることを可能とする偽造二次元コードの生成を防ぐことができる。 Although not a required feature, it is preferable that the offline reservation information be encrypted reservation information encrypted with the private key 222. This prevents the generation of counterfeit two-dimensional codes that allow the lock device 4 to be unlocked outside the reserved time slot reserved by the user, even if the public key 622 is not secret.
管理対象Mが後述するオンライン制御処理を行う制御装置6が制御するロック装置4によって管理される予約と対応する二次元コードBが含むオンライン予約情報(小容量情報)は、大容量予約情報と対応する識別情報を含み、予約時間帯情報を含まないことが好ましい。これにより、二次元コードBを用いて利用者が予約した予約時間帯以外の時間帯にロック装置4を解錠状態とすることを可能とする偽造二次元コードが生成されることを防ぐことができる。 The online reservation information (small-volume information) contained in two-dimensional code B corresponding to a reservation managed by lock device 4 controlled by control device 6, which performs online control processing for managed item M (described below), preferably includes identification information corresponding to large-volume reservation information, but does not include reservation time slot information. This prevents the creation of a counterfeit two-dimensional code that allows the lock device 4 to be unlocked during a time slot other than the one reserved by the user using two-dimensional code B.
必須の態様ではないが、小容量情報は、秘密鍵222で暗号化されている暗号化小容量情報であることが好ましい。 Although not a required feature, it is preferable that the small-capacity information be encrypted small-capacity information encrypted with the private key 222.
小容量情報が秘密鍵222で暗号化されている暗号化小容量情報であることにより、公開鍵622が秘密でない場合であっても、利用者が予約した予約時間帯以外の時間帯にロック装置4を解錠状態とすることを可能とする偽造二次元コードの生成を防ぐことができる。 By encrypting the small-capacity information with the private key 222, it is possible to prevent the generation of counterfeit two-dimensional codes that allow the lock device 4 to be unlocked outside of the reserved time slots reserved by the user, even if the public key 622 is not secret.
ところで、公開暗号鍵方式は、共通鍵方式より暗号強度が高い一方、暗号化処理及び復号処理にかかる負荷が、共通鍵方式に比べて大きいことが知られている。これにより、公開暗号鍵方式を用いる場合に、制御装置6における消費電力が共通鍵方式より高くなり得る。 While the public encryption key system provides stronger encryption than the common key system, it is known that the load on the encryption and decryption processes is greater than that of the common key system. As a result, when using the public encryption key system, the power consumption of the control device 6 may be higher than when using the common key system.
また、暗号化小容量情報が大容量予約情報と対応する識別情報を含み、予約時間帯情報を含まない小容量情報を秘密鍵222で暗号化した暗号化小容量情報であることにより、制御装置6は、復号する情報を、暗号化小容量情報のみにとどめ、公開暗号鍵方式の復号処理にかかる負荷を軽減することと、偽造二次元コードの生成を防ぐこととを両立できる。 Furthermore, since the encrypted small-capacity information contains identification information corresponding to the large-capacity reservation information and is small-capacity information that does not contain reservation time slot information, encrypted with the private key 222, the control device 6 can limit the information to be decrypted to the encrypted small-capacity information, thereby reducing the load on the decryption process using the public encryption key method and preventing the generation of counterfeit two-dimensional codes.
必須の態様ではないが、予約処理は、ステップS4からS5で実行される二次元コード発行処理を含むことが好ましい。 Although not a required feature, it is preferable that the reservation process include the two-dimensional code issuance process executed in steps S4 and S5.
[ステップS4:二次元コードの発行を要求されたか判別]
管理装置制御部21は、管理装置記憶部22と協働して二次元コード発行部213を実行し、二次元コードの発行を利用者端末1に要求されたか判別する処理を行う(ステップS4)。二次元コードの発行を要求されたのであれば、管理装置制御部21は、処理をステップS5に移す。二次元コードの発行を要求されていないのであれば、管理装置制御部21は、処理をステップS6に移す。
[Step S4: Determine whether issuance of a two-dimensional code has been requested]
The management device control unit 21 executes the two-dimensional code issuing unit 213 in cooperation with the management device storage unit 22, and performs processing to determine whether issuance of a two-dimensional code has been requested by the user terminal 1 (step S4). If issuance of a two-dimensional code has been requested, the management device control unit 21 proceeds to step S5. If issuance of a two-dimensional code has not been requested, the management device control unit 21 proceeds to step S6.
[ステップS5:二次元コードを発行]
管理装置制御部21は、管理装置記憶部22と協働して二次元コード発行部213を実行し、ステップS4で二次元コードの発行を要求した利用者端末1を利用する利用者に二次元コードBを発行する処理を行う(ステップS5)。管理装置制御部21は、処理をステップS6に移す。
[Step S5: Issue a two-dimensional code]
The management device control unit 21 executes the two-dimensional code issuing unit 213 in cooperation with the management device storage unit 22, and performs processing to issue a two-dimensional code B to the user using the user terminal 1 that requested the issuance of a two-dimensional code in step S4 (step S5). The management device control unit 21 proceeds to step S6.
ステップS5で発行する二次元コードBが、管理対象Mが後述するオフライン制御処理を行う制御装置6が制御するロック装置4によって管理される予約と対応する二次元コードBである場合、ステップS5で発行する二次元コードBは、ステップS2で生成した予約情報の少なくとも一部を含み、発行時刻付二次元コードを発行する時刻に関する発行時刻情報をさらに含む発行時刻付二次元コードであることが好ましい。 If the two-dimensional code B issued in step S5 is a two-dimensional code B corresponding to a reservation managed by a lock device 4 controlled by a control device 6 that performs offline control processing, as described below, where the managed object M is managed by the lock device 4, it is preferable that the two-dimensional code B issued in step S5 is an issued time-stamped two-dimensional code that includes at least a portion of the reservation information generated in step S2 and further includes issue time information regarding the time at which the issued time-stamped two-dimensional code is issued.
これにより、制御装置6は、発行時刻付二次元コードを用いてタイマー部64の時刻合わせを行うことができる。発行時刻付二次元コードを用いたタイマー部64の時刻合わせは、後に図7を用いてより詳細に説明される。 This allows the control device 6 to set the time on the timer unit 64 using the time-issued two-dimensional code. Setting the time on the timer unit 64 using the time-issued two-dimensional code will be explained in more detail later using Figure 7.
予約処理がステップS4-S5で実行される二次元コード発行処理を含むことにより、利用者端末1を利用する利用者は、二次元コードBを紛失等した場合であっても、二次元コードBの発行を要求し、発行された二次元コードBを利用できる。 By including the two-dimensional code issuance process executed in steps S4-S5 in the reservation process, a user using user terminal 1 can request the issuance of two-dimensional code B and use the issued two-dimensional code B even if the user loses the two-dimensional code B.
また、予約処理がステップS4-S5で実行される二次元コード発行処理を含むことにより、利用者端末1のうち無線ネットワークと接続可能な利用者端末1は、予約管理装置2が錠3から離れた場所にある場合であっても、錠3の近傍で予約管理装置2に二次元コードBの発行を要求し、発行された二次元コードBを表示して、錠3で管理された管理対象Mを利用できる。 Furthermore, since the reservation process includes the two-dimensional code issuance process executed in steps S4-S5, a user terminal 1 that can connect to a wireless network can request the reservation management device 2 to issue a two-dimensional code B near the lock 3, even if the reservation management device 2 is located far from the lock 3, and can display the issued two-dimensional code B to use the managed object M managed by the lock 3.
必須の態様ではないが、予約管理装置2は、ステップS6からS7の予約終了処理を実行可能であることが好ましい。予約終了処理は、ステップS1からS5の予約処理と別の処理として実行されてもよい。 Although not a required feature, it is preferable that the reservation management device 2 be able to execute the reservation termination process of steps S6 to S7. The reservation termination process may be executed as a separate process from the reservation process of steps S1 to S5.
[ステップS6:利用終了情報を受信したか判別]
管理装置制御部21は、管理装置記憶部22と協働して利用終了情報受信部214を実行し、利用終了情報を制御装置6から受信したか判別する処理を行う(ステップS6)。利用終了情報を受信したのであれば、管理装置制御部21は、処理をステップS7に移す。利用終了情報を受信していないのであれば、管理装置制御部21は、処理をステップS8に移す。
[Step S6: Determine whether usage termination information has been received]
The management device control unit 21, in cooperation with the management device storage unit 22, executes the usage end information receiving unit 214 and performs processing to determine whether usage end information has been received from the control device 6 (step S6). If usage end information has been received, the management device control unit 21 proceeds to step S7. If usage end information has not been received, the management device control unit 21 proceeds to step S8.
[ステップS7:予約を終了]
管理装置制御部21は、管理装置記憶部22と協働して利用終了情報受信部214を実行し、ステップS6で受信した利用終了情報と対応する予約を終了する処理を行う(ステップS7)。管理装置制御部21は、処理をステップS8に移す。
[Step S7: End reservation]
The management device control unit 21, in cooperation with the management device storage unit 22, executes the usage end information receiving unit 214, and performs processing to end the reservation corresponding to the usage end information received in step S6 (step S7). The management device control unit 21 then proceeds to step S8.
予約を終了する処理は、特に限定されない。予約を終了する処理は、ステップS6で受信した利用終了情報と対応する予約情報と当該予約情報と対応する予約時間帯における管理対象Mの利用を終了する情報とを予約テーブル221において関連付ける処理を含むことが好ましい。これにより、利用が終了した予約時間帯における管理対象Mに関する予約情報が繰り返し送信されることが防がれ得る。 The process for terminating a reservation is not particularly limited. The process for terminating a reservation preferably includes a process for associating, in the reservation table 221, the reservation information corresponding to the usage termination information received in step S6 and information for terminating the usage of the managed object M during the reservation time slot corresponding to the reservation information. This can prevent repeated transmission of reservation information for the managed object M during the reservation time slot whose usage has ended.
予約を終了する処理は、ステップS6で受信した利用終了情報と対応する予約の利用を終了する情報を、ステップS6で利用終了情報を送信した制御装置6以外の制御装置6に送信する処理を含むことが好ましい。これにより、利用が終了した予約情報と対応する二次元コードBを用いて錠3が解錠されることが防がれ得る。 The process of ending a reservation preferably includes a process of transmitting information for ending the use of the reservation corresponding to the use end information received in step S6 to a control device 6 other than the control device 6 that transmitted the use end information in step S6. This can prevent the lock 3 from being unlocked using the two-dimensional code B corresponding to the reservation information whose use has been ended.
錠3が後述するオンライン制御処理を行う錠3を含む場合、予約処理は、ステップS8で実行される大容量予約情報送信処理を含むことが好ましい。 If Lock 3 includes Lock 3 that performs the online control processing described below, the reservation processing preferably includes the large-volume reservation information transmission processing executed in step S8.
[ステップS8:大容量予約情報送信処理]
管理装置制御部21は、管理装置記憶部22及び管理装置通信部23と協働して大容量予約情報送信部212を実行し、ステップS2で生成された大容量予約情報を送信する大容量予約情報送信処理を行う(ステップS8)。管理装置制御部21は、予約処理を終了し、処理をステップS1に移す。
[Step S8: Large-volume reservation information transmission process]
The management device control unit 21 executes the large-volume reservation information transmission unit 212 in cooperation with the management device storage unit 22 and the management device communication unit 23, and performs a large-volume reservation information transmission process to transmit the large-volume reservation information generated in step S2 (step S8). The management device control unit 21 ends the reservation process and returns to step S1.
ステップS8で実行される大容量予約情報送信処理は、図5を用いて詳細に説明される。 The large-volume reservation information transmission process performed in step S8 will be explained in detail using Figure 5.
〔大容量予約情報送信処理のフローチャート〕
図5は、図4のステップS8で実行される大容量予約情報送信処理の一例を示すフローチャートである。以下、図5を用いて、ステップS8で実行される大容量予約情報送信処理の好ましい流れの一例を説明する。
[Flowchart of large-volume reservation information transmission process]
Fig. 5 is a flowchart showing an example of the large-volume reservation information transmission process executed in step S8 of Fig. 4. Hereinafter, an example of a preferable flow of the large-volume reservation information transmission process executed in step S8 will be described with reference to Fig. 5.
[ステップS11:大容量予約情報を送信するタイミングであるか判別]
管理装置制御部21は、管理装置記憶部22及び管理装置通信部23と協働して大容量予約情報送信部212を実行し、大容量予約情報を送信するタイミングであるか判別する処理を行う(ステップS11)。大容量予約情報を送信するタイミングであれば、管理装置制御部21は、処理をステップS12に移す。大容量予約情報を送信するタイミングでなければ、管理装置制御部21は、処理をステップS13に移す。
[Step S11: Determine whether it is time to transmit large-volume reservation information]
The management device control unit 21 executes the large-capacity reservation information transmission unit 212 in cooperation with the management device storage unit 22 and management device communication unit 23, and performs processing to determine whether it is time to transmit large-capacity reservation information (step S11). If it is time to transmit large-capacity reservation information, the management device control unit 21 proceeds to step S12. If it is not time to transmit large-capacity reservation information, the management device control unit 21 proceeds to step S13.
大容量予約情報を送信するタイミングであるか判別する方法は、特に限定されない。 There are no particular limitations on the method for determining whether it is time to send large-volume reservation information.
大容量予約情報を送信するタイミングであるか判別する方法は、例えば、ステップS12において大容量予約情報を送信した直前のタイミングから指定の時間以上の間隔を空けたタイミングである場合に大容量予約情報を送信するタイミングであると判別する方法、制御装置6から大容量予約情報の送信を指令された場合に大容量予約情報を送信するタイミングであると判別する方法等でよい。 The method for determining whether it is time to send large-volume reservation information may be, for example, a method for determining that it is time to send large-volume reservation information if an interval of at least a specified time has elapsed since the timing immediately before the large-volume reservation information was sent in step S12, or a method for determining that it is time to send large-volume reservation information when a command to send large-volume reservation information is received from the control device 6.
指定の時間は、特に限定されない。指定の時間の下限は、0.5時間以上であることが好ましく、1時間以上であることがより好ましい。指定の時間の下限を上述のとおり定めることにより、予約管理装置2は、予約が行われるごとに逐一大容量予約情報が送信される場合より大容量予約情報が送信される頻度を少なくできる。したがって、制御システムSは、通信の秘匿性が制限されている場所であっても、大容量予約情報が傍受等されて不正に利用されるリスクを低減できる。また、大容量予約情報が送信される頻度を少なくすることにより、制御装置6は、遠距離間での通信にかかる消費電力の増大を低減できる。 The specified time is not particularly limited. The lower limit of the specified time is preferably 0.5 hours or more, and more preferably 1 hour or more. By setting the lower limit of the specified time as described above, the reservation management device 2 can transmit large amounts of reservation information less frequently than if large amounts of reservation information were transmitted each time a reservation was made. Therefore, the control system S can reduce the risk of large amounts of reservation information being intercepted and used fraudulently, even in locations where communication confidentiality is restricted. Furthermore, by reducing the frequency with which large amounts of reservation information are transmitted, the control device 6 can reduce the increase in power consumption required for long-distance communications.
指定の時間の上限は、168時間以下であることが好ましく、72時間以下であることが好ましく、24時間以下であることがより好ましい。指定の時間の上限を上述のとおり定めることにより、予約時間帯が現在時刻を含む大容量予約情報を制御装置6が受信していない頻度を低減し得る。 The upper limit of the specified time is preferably 168 hours or less, more preferably 72 hours or less, and even more preferably 24 hours or less. By setting the upper limit of the specified time as described above, the frequency with which the control device 6 does not receive large-volume reservation information for a reserved time slot that includes the current time can be reduced.
[ステップS12:大容量予約情報を送信]
管理装置制御部21は、管理装置記憶部22及び管理装置通信部23と協働して大容量予約情報送信部212を実行し、制御装置6に大容量予約情報をまとめて送信する処理を行う(ステップS12)。管理装置制御部21は、処理をステップS13に移す。
[Step S12: Transmit large-volume reservation information]
The management device control unit 21 executes the large-capacity reservation information transmission unit 212 in cooperation with the management device storage unit 22 and the management device communication unit 23, and performs processing to transmit large-capacity reservation information collectively to the control device 6 (step S12). The management device control unit 21 proceeds to step S13.
制御装置6に大容量予約情報をまとめて送信する処理は、特に限定されず、例えば、未送信の予約情報をまとめて送信する処理を含む処理等でよい。制御装置6に大容量予約情報をまとめて送信する処理が未送信の予約情報をまとめて送信する処理を含む場合、ステップS12の処理は、予約テーブル221が格納する予約情報のうち、ステップS12で送信した大容量予約情報と対応する予約情報に送信済であるとの情報を関連付ける処理を含むことが好ましい。これにより、予約管理装置2は、ステップS12において、予約情報が未送信であるかを予約テーブル221が格納する予約情報を用いて判別できる。 The process of collectively transmitting large amounts of reservation information to the control device 6 is not particularly limited, and may be, for example, a process that includes a process of collectively transmitting unsent reservation information. If the process of collectively transmitting large amounts of reservation information to the control device 6 includes a process of collectively transmitting unsent reservation information, the process of step S12 preferably includes a process of associating information stored in the reservation table 221 that corresponds to the large amount of reservation information transmitted in step S12 with information that the information has been transmitted. This allows the reservation management device 2 to determine in step S12 whether reservation information has not been transmitted, using the reservation information stored in the reservation table 221.
制御装置6に大容量予約情報をまとめて送信する処理は、まとめて送信する対象となる大容量予約情報のすべてが送信されたときに、送信する対象となるすべての大容量予約情報が送信されたことを制御装置6に通知する処理を含むことが好ましい。これにより、制御装置6は、送信する対象となるすべての大容量予約情報を受信したときに、ネットワークNとの接続を終了し、ネットワークNと接続することによって消費される消費電力を低減できる。 The process of transmitting large-volume reservation information to the control device 6 in a lump preferably includes a process of notifying the control device 6 that all of the large-volume reservation information to be transmitted has been transmitted when all of the large-volume reservation information to be transmitted in a lump has been transmitted. This allows the control device 6 to terminate its connection to the network N when it has received all of the large-volume reservation information to be transmitted, thereby reducing the power consumption consumed by connecting to the network N.
[ステップS13:特定大容量予約情報の送信を指令されたか判別]
管理装置制御部21は、管理装置記憶部22及び管理装置通信部23と協働して大容量予約情報送信部212を実行し、特定大容量予約情報の送信を指令されたか判別する処理を行う(ステップS13)。特定大容量予約情報の送信を指令されていれば、管理装置制御部21は、処理をステップS14に移す。特定大容量予約情報の送信を指令されていなければ、管理装置制御部21は、予約処理を終了し、処理をステップS1に移す。
[Step S13: Determine whether transmission of specific large-volume reservation information has been instructed]
The management device control unit 21 executes the large-capacity reservation information transmission unit 212 in cooperation with the management device storage unit 22 and the management device communication unit 23, and performs processing to determine whether a command to transmit specific large-capacity reservation information has been issued (step S13). If a command to transmit specific large-capacity reservation information has been issued, the management device control unit 21 proceeds to step S14. If a command to transmit specific large-capacity reservation information has not been issued, the management device control unit 21 ends the reservation processing and proceeds to step S1.
[ステップS14:特定大容量予約情報を送信]
管理装置制御部21は、管理装置記憶部22及び管理装置通信部23と協働して大容量予約情報送信部212を実行し、ステップS13で特定大容量情報の送信を指令した利用者端末1に特定大容量予約情報を送信する処理を行う(ステップS14)。管理装置制御部21は、予約処理を終了し、処理をステップS1に移す。
[Step S14: Transmit specific large-volume reservation information]
The management device control unit 21 executes the large-capacity reservation information transmission unit 212 in cooperation with the management device storage unit 22 and the management device communication unit 23, and performs processing to transmit the specific large-capacity reservation information to the user terminal 1 that instructed the transmission of the specific large-capacity information in step S13 (step S14). The management device control unit 21 ends the reservation processing and moves the processing to step S1.
ステップS11-S14の大容量予約情報送信処理を行うことにより、予約管理装置2は、指定の時間以上の間隔を空けて大容量予約情報をまとめて送信する。これにより、予約管理装置2は、予約が行われるごとに逐一大容量予約情報が送信される場合より大容量予約情報が送信される頻度を少なくできる。したがって、制御システムSは、通信の秘匿性が制限されている場所であっても、大容量予約情報が傍受等されて不正に利用されるリスクを低減できる。また、大容量予約情報が送信される頻度を少なくすることにより、制御装置6は、遠距離間での通信にかかる消費電力の増大を低減できる。 By performing the large-volume reservation information transmission process of steps S11-S14, the reservation management device 2 transmits large-volume reservation information in batches at intervals of at least the specified time. This allows the reservation management device 2 to transmit large-volume reservation information less frequently than if large-volume reservation information were transmitted each time a reservation was made. Therefore, the control system S can reduce the risk of large-volume reservation information being intercepted and used fraudulently, even in locations where communication confidentiality is restricted. Furthermore, by reducing the frequency with which large-volume reservation information is transmitted, the control device 6 can reduce the increase in power consumption required for long-distance communication.
ステップS11-S14の大容量予約情報送信処理を行うことにより、制御装置6は、対応大容量予約情報が受信された大容量予約情報に含まれていない場合に、対応大容量予約情報に相当する特定大容量予約情報を予約管理装置2から受信できる。したがって、制御システムSは、予約が行われるごとに制御装置6が予約情報を逐一送信して傍受されるリスク及び消費電力を低減することと、錠3側の制御装置6が、復号後小容量情報に対応する対応大容量予約情報を確実に受信して、予約時間帯の妥当性を迅速に判別可能にすることとを両立できる。 By performing the large-volume reservation information transmission process of steps S11-S14, the control device 6 can receive specific large-volume reservation information equivalent to the corresponding large-volume reservation information from the reservation management device 2 if the corresponding large-volume reservation information is not included in the received large-volume reservation information. Therefore, the control system S can simultaneously reduce the risk of interception and power consumption by having the control device 6 transmit reservation information one by one each time a reservation is made, and enable the control device 6 on the lock 3 side to reliably receive the corresponding large-volume reservation information that corresponds to the small-volume information after decryption, allowing it to quickly determine the validity of the reserved time slot.
〔制御装置6で実行される制御処理のメインフローチャート〕
図6は、制御装置6で実行される制御処理の一例を示すメインフローチャートである。以下、図6を用いて、制御装置6で実行される制御処理の好ましい流れの一例を説明する。
[Main Flowchart of Control Processing Executed by the Control Device 6]
6 is a main flowchart showing an example of the control process executed by the control device 6. Hereinafter, an example of a preferable flow of the control process executed by the control device 6 will be described with reference to FIG.
[ステップS41:オフライン動作を行うか判別]
制御装置制御部61は、制御装置記憶部62及び動作指定部66と協働して動作判別部611を実行し、オフライン動作を行うか判別する処理を行う(ステップS41)。オフライン動作を行うのであれば、制御装置制御部61は、処理をステップS42に移す。オフライン動作を行わないのであれば、制御装置制御部61は、処理をステップS43に移す。
[Step S41: Determine whether to perform offline operation]
The control device control unit 61 executes the operation determination unit 611 in cooperation with the control device storage unit 62 and the operation designation unit 66 to determine whether to perform offline operation (step S41). If offline operation is to be performed, the control device control unit 61 proceeds to step S42. If offline operation is not to be performed, the control device control unit 61 proceeds to step S43.
オフライン動作を行うか判別する処理は、特に限定されない。オフライン動作を行うか判別する処理は、動作指定部66がオフライン制御処理を行う動作を指定する場合にオフライン動作を行うと判別する処理及び/又は動作指定部66がオンライン制御処理を行う動作を指定する場合にオフライン動作を行わないと判別する処理を含むことが好ましい。これにより、制御装置6を管理する管理者は、動作指定部66を用いて制御装置6の動作を指定できる。 The process for determining whether to perform offline operation is not particularly limited. The process for determining whether to perform offline operation preferably includes a process for determining that offline operation will be performed when the operation designation unit 66 designates an operation for performing offline control processing, and/or a process for determining that offline operation will not be performed when the operation designation unit 66 designates an operation for performing online control processing. This allows the administrator managing the control device 6 to designate the operation of the control device 6 using the operation designation unit 66.
[ステップS42:オフライン制御処理]
制御装置制御部61は、必要に応じて制御装置記憶部62、制御装置通信部63、及び/又はタイマー部64と協働して読取部613、復号部614、判別部615、解錠指令部616、時刻合わせ部617等を実行し、外部との通信を行うことなくロック装置4を制御するオフライン制御処理を行う(ステップS42)。制御装置制御部61は、制御処理を終了し、処理をステップS41に移す。
[Step S42: Offline control process]
The control device control unit 61 cooperates with the control device storage unit 62, control device communication unit 63, and/or timer unit 64 as necessary to execute the reading unit 613, decoding unit 614, discrimination unit 615, unlock command unit 616, time setting unit 617, etc., and performs offline control processing to control the lock device 4 without communicating with the outside (step S42). The control device control unit 61 ends the control processing and proceeds to step S41.
ステップS42で実行されるオフライン制御処理は、後に図7を用いて詳細に説明される。 The offline control process performed in step S42 will be explained in detail later using Figure 7.
[ステップS43:利用終了動作を行うか判別]
制御装置制御部61は、制御装置記憶部62及び動作指定部66と協働して動作判別部611を実行し、利用終了動作を行うか判別を行う(ステップS43)。利用終了動作を行うのであれば、制御装置制御部61は、処理をステップS44に移す。利用終了動作を行わないのであれば、制御装置制御部61は、処理をステップS45に移す。
[Step S43: Determine whether to perform usage termination operation]
The control device control unit 61 executes the operation determination unit 611 in cooperation with the control device storage unit 62 and the operation designation unit 66 to determine whether to perform a usage termination operation (step S43). If a usage termination operation is to be performed, the control device control unit 61 proceeds to step S44. If a usage termination operation is not to be performed, the control device control unit 61 proceeds to step S45.
[ステップS44:利用終了処理]
制御装置制御部61は、必要に応じて制御装置記憶部62、制御装置通信部63、及び/又はタイマー部64と協働して利用終了情報送信部618を実行し、予約した管理対象Mの利用を終了する利用終了処理を行う(ステップS44)。制御装置制御部61は、制御処理を終了し、処理をステップS41に移す。
[Step S44: Usage termination process]
The control device control unit 61 executes the usage termination information transmission unit 618 in cooperation with the control device storage unit 62, the control device communication unit 63, and/or the timer unit 64 as necessary, and performs usage termination processing to terminate the usage of the reserved managed object M (step S44). The control device control unit 61 ends the control processing and moves the processing to step S41.
ステップS44で実行される利用終了処理は、後に図10を用いて詳細に説明される。 The usage termination process executed in step S44 will be explained in detail later using Figure 10.
[ステップS45:オンライン制御処理]
制御装置制御部61は、必要に応じて制御装置記憶部62、制御装置通信部63、及び/又はタイマー部64と協働して大容量予約情報受信部612、読取部613、復号部614、判別部615、解錠指令部616等を実行し、ロック装置4を制御するオンライン制御処理を行う(ステップS45)。制御装置制御部61は、制御処理を終了し、処理をステップS41に移す。
[Step S45: Online control processing]
The control device control unit 61 cooperates with the control device storage unit 62, control device communication unit 63, and/or timer unit 64 as necessary to execute the large-capacity reservation information receiving unit 612, reading unit 613, decoding unit 614, discrimination unit 615, unlock command unit 616, etc., and performs online control processing to control the lock device 4 (step S45). The control device control unit 61 ends the control processing and moves the processing to step S41.
ステップS45で実行されるオンライン制御処理は、後に図8を用いて詳細に説明される。 The online control process performed in step S45 will be explained in detail later using Figure 8.
必須の態様ではないが、制御処理は、現在時刻が制御装置記憶部62に記憶されたスリープ時間帯に含まれる場合に、制御処理を行わないスリープ状態となるスリープ処理と、現在時刻が制御装置記憶部62に記憶されたスリープ時間帯に含まれない場合に、制御処理を行わないスリープ状態を解除するスリープ解除処理と、を含むことが好ましい。制御処理がこれらの処理を含むことにより、制御システムSが利用されない時間帯の一部又は全部をスリープ時間帯に含める等して、制御システムSが利用される時間帯において制御処理を行うことと、制御装置6の消費電力をよりいっそう低減することとを両立できる。 Although not a required feature, the control processing preferably includes a sleep processing that enters a sleep state in which control processing is not performed when the current time is within a sleep time period stored in the control device storage unit 62, and a sleep release processing that releases the sleep state in which control processing is not performed when the current time is not within a sleep time period stored in the control device storage unit 62. By including these processes in the control processing, it is possible to perform control processing during times when the control system S is in use while further reducing the power consumption of the control device 6, for example by including some or all of the times when the control system S is not in use within the sleep time period.
〔オフライン制御処理のフローチャート〕
図7は、図6のステップS42で実行されるオフライン制御処理の一例を示すフローチャートである。以下、図7を用いて、ステップS42で実行されるオフライン制御処理の好ましい流れの一例を説明する。
[Flowchart of Offline Control Processing]
Fig. 7 is a flowchart showing an example of the offline control process executed in step S42 of Fig. 6. Hereinafter, an example of a preferable flow of the offline control process executed in step S42 will be described with reference to Fig. 7.
読取装置5が検知部を有する場合、オフライン制御処理は、ステップS51の読取可能判別処理を含むことが好ましい。 If the reading device 5 has a detection unit, the offline control process preferably includes a readability determination process in step S51.
[ステップS51:二次元コードの読み取りが可能か判別]
制御装置制御部61は、制御装置記憶部62及び制御装置通信部63と協働して読取部613を実行し、二次元コードの読み取りが可能か判別する処理を行う(ステップS51)。二次元コードの読み取りが可能であれば、制御装置制御部61は、処理をステップS52に移す。二次元コードの読み取りが可能でなければ、制御装置制御部61は、処理をステップS51に移す。
[Step S51: Determine whether the two-dimensional code can be read]
The control device control unit 61 executes the reading unit 613 in cooperation with the control device storage unit 62 and the control device communication unit 63 to perform processing to determine whether the two-dimensional code can be read (step S51). If the two-dimensional code can be read, the control device control unit 61 proceeds to step S52. If the two-dimensional code cannot be read, the control device control unit 61 proceeds to step S51.
二次元コードの読み取りが可能か判別する方法は、特に限定されず、例えば、読取装置5の検知部が二次元コードB、利用者端末1、及び/又は利用者端末1を利用する利用者等が読取装置5の周辺に存在すると検知した場合に二次元コードの読み取りが可能であると判別する方法でよい。 The method for determining whether a two-dimensional code can be read is not particularly limited, and may be, for example, a method in which it is determined that a two-dimensional code can be read when the detection unit of the reading device 5 detects that two-dimensional code B, user terminal 1, and/or a user using user terminal 1 is present in the vicinity of the reading device 5.
読取装置5の検知部が動体識別センサを含む検知部である場合、二次元コードの読み取りが可能か判別する方法は、予約を行った予約者が読取装置5に二次元コードBを提示する動きを検知部が検知した場合に二次元コードの読み取りが可能であると判別する方法を含むことが好ましい。これにより、予約者が単に読取装置5周辺にいて二次元コードBを提示していない場合に読み取りを行わずに消費電力を低減することと、予約者が読取装置5に二次元コードBを提示したときに読み取りを行うこととを両立できる。 If the detection unit of the reading device 5 is a detection unit that includes a motion identification sensor, the method of determining whether the two-dimensional code can be read preferably includes a method of determining that the two-dimensional code can be read when the detection unit detects the movement of the person who made the reservation presenting two-dimensional code B to the reading device 5. This makes it possible to both reduce power consumption by not reading when the person who made the reservation is simply near the reading device 5 but has not presented two-dimensional code B, and to read two-dimensional code B when the person who made the reservation presents it to the reading device 5.
オフライン制御処理がステップS51の読取可能判別処理を含むことにより、二次元コードの読み取りが可能でない場合に読取装置5が二次元コードの読み取りを試みて消費電力を増大させることを防ぎ得る。 By including the readability determination process in step S51 in the offline control process, it is possible to prevent the reading device 5 from attempting to read a two-dimensional code when it is not possible to read the two-dimensional code, which would increase power consumption.
[ステップS52:二次元コードを読み取る]
制御装置制御部61は、制御装置記憶部62及び制御装置通信部63と協働して読取部613を実行し、読取装置5を用いて二次元コードBを読み取る処理を行う(ステップS52)。制御装置制御部61は、処理をステップS53に移す。
[Step S52: Read the two-dimensional code]
The control device control unit 61 executes the reading unit 613 in cooperation with the control device storage unit 62 and the control device communication unit 63, and performs processing to read the two-dimensional code B using the reading device 5 (step S52). The control device control unit 61 proceeds to step S53.
二次元コードBが秘密鍵222で暗号化された暗号化予約情報及び/又は秘密鍵222で暗号化された予約時間帯情報を含む場合、オフライン制御処理は、ステップS53の予約情報復号処理を含むことが好ましい。 If two-dimensional code B includes encrypted reservation information encrypted with private key 222 and/or reservation time slot information encrypted with private key 222, the offline control process preferably includes reservation information decryption processing in step S53.
[ステップS53:予約情報を復号]
制御装置制御部61は、制御装置記憶部62と協働して復号部614を実行し、ステップS52で読み取った二次元コードBに含まれる情報であって、秘密鍵222で暗号化された情報を、公開鍵622を用いて復号する処理を行う(ステップS53)。制御装置制御部61は、処理をステップS54に移す。
[Step S53: Decrypt reservation information]
The control device control unit 61 executes the decryption unit 614 in cooperation with the control device storage unit 62, and performs a process of decrypting the information contained in the two-dimensional code B read in step S52, which information has been encrypted with the private key 222, using the public key 622 (step S53). The control device control unit 61 proceeds to step S54.
ステップS52で読み取った二次元コードBが含むオフライン予約情報が有する予約時間帯情報が秘密鍵222で暗号化されている場合、ステップS53の秘密鍵222で暗号化された情報を復号する処理は、暗号化された予約時間帯情報を復号して復号後予約時間帯情報を得る処理を含むことが好ましい。これにより、制御装置6は、復号後予約時間帯情報を用いて、現在時刻が予約時間帯に該当するか判別できる。 If the reservation time slot information contained in the offline reservation information included in the two-dimensional code B read in step S52 is encrypted with the private key 222, the process of decrypting the information encrypted with the private key 222 in step S53 preferably includes a process of decrypting the encrypted reservation time slot information to obtain the decrypted reservation time slot information. This allows the control device 6 to use the decrypted reservation time slot information to determine whether the current time falls within the reservation time slot.
ステップS52で読み取った二次元コードBが含むオフライン予約情報が秘密鍵222で暗号化された暗号化予約情報である場合、ステップS53の秘密鍵222で暗号化された情報を復号する処理は、暗号化予約情報を復号して復号化予約情報を得る処理を含むことが好ましい。これにより、制御装置6は、復号化予約情報を用いて、現在時刻が予約時間帯に該当するか判別できる。 If the offline reservation information contained in the two-dimensional code B read in step S52 is encrypted reservation information encrypted with the private key 222, the process of decrypting the information encrypted with the private key 222 in step S53 preferably includes a process of decrypting the encrypted reservation information to obtain decrypted reservation information. This allows the control device 6 to use the decrypted reservation information to determine whether the current time falls within the reserved time slot.
予約管理装置2で実行される予約処理が発行時刻付二次元コードを発行可能な二次元コード発行処理を含む場合、オフライン制御処理は、ステップS54からステップS56の時刻合わせ処理を含むことが好ましい。 If the reservation process executed by the reservation management device 2 includes a two-dimensional code issuance process capable of issuing a two-dimensional code with an issuance time, it is preferable that the offline control process includes the time adjustment process of steps S54 to S56.
[ステップS54:二次元コードBが発行時刻情報を含むか判別]
制御装置制御部61は、制御装置記憶部62及びタイマー部64と協働して時刻合わせ部617を実行し、ステップS52で読み取った二次元コードBが発行時刻情報を含むか判別する処理を行う(ステップS54)。二次元コードBが発行時刻情報を含むのであれば、制御装置制御部61は、処理をステップS55に移す。二次元コードBが発行時刻情報を含まないのであれば、制御装置制御部61は、処理をステップS57に移す。
[Step S54: Determine whether two-dimensional code B includes issue time information]
The control device control unit 61, in cooperation with the control device storage unit 62 and timer unit 64, executes the time setting unit 617 and performs processing to determine whether the two-dimensional code B read in step S52 contains issue time information (step S54). If the two-dimensional code B contains issue time information, the control device control unit 61 proceeds to step S55. If the two-dimensional code B does not contain issue time information, the control device control unit 61 proceeds to step S57.
[ステップS55:経過した時間が所定時間以下であるか判別]
制御装置制御部61は、制御装置記憶部62及びタイマー部64と協働して時刻合わせ部617を実行し、ステップS52で読み取った二次元コードBに含まれる発行時刻情報が示す発行時刻から経過した時間が所定時間以下であるか判別する処理を行う(ステップS55)。所定時間以下であれば、制御装置制御部61は、処理をステップS56に移す。所定時間以下でなければ、制御装置制御部61は、処理をステップS57に移す。
[Step S55: Determine whether the elapsed time is less than or equal to a predetermined time]
The control device control unit 61, in cooperation with the control device storage unit 62 and the timer unit 64, executes the time setting unit 617 and performs a process of determining whether the time elapsed since the issue time indicated by the issue time information contained in the two-dimensional code B read in step S52 is equal to or less than a predetermined time (step S55). If it is equal to or less than the predetermined time, the control device control unit 61 proceeds to step S56. If it is not equal to or less than the predetermined time, the control device control unit 61 proceeds to step S57.
所定時間の下限は、特に限定されない。所定時間の下限は、0.5分以上であることが好ましく、1分以上であることがより好ましい。所定時間の下限を上述のとおり定めることにより、制御装置6は、時刻合わせの機会を増やし得る。 There is no particular limit on the lower limit of the specified time. The lower limit of the specified time is preferably 0.5 minutes or more, and more preferably 1 minute or more. By setting the lower limit of the specified time as described above, the control device 6 can increase the number of opportunities to set the time.
所定時間の上限は、特に限定されない。所定時間の上限は、3分以下であることが好ましく、2分以下であることがより好ましく、1分以下であることがさらに好ましい。所定時間の上限を上述のとおり定めることにより、制御装置6は、タイマー部64が計時する現在時刻と標準時における現在時刻との差が時刻合わせによって増大することを防ぎ得る。 There is no particular limit to the upper limit of the specified time. The upper limit of the specified time is preferably 3 minutes or less, more preferably 2 minutes or less, and even more preferably 1 minute or less. By setting the upper limit of the specified time as described above, the control device 6 can prevent the difference between the current time measured by the timer unit 64 and the current time in standard time from increasing due to time adjustment.
[ステップS56:時刻合わせを行う]
制御装置制御部61は、制御装置記憶部62及びタイマー部64と協働して時刻合わせ部617を実行し、ステップS52で読み取った二次元コードBに含まれる発行時刻情報が示す発行時刻を用いてタイマー部64の時刻合わせを行う処理を行う(ステップS56)。制御装置制御部61は、処理をステップS57に移す。
[Step S56: Set the time]
The control device control unit 61 executes the time setting unit 617 in cooperation with the control device storage unit 62 and the timer unit 64, and performs processing to set the time on the timer unit 64 using the issue time indicated by the issue time information included in the two-dimensional code B read in step S52 (step S56). The control device control unit 61 proceeds to step S57.
発行時刻情報が示す発行時刻を用いてタイマー部64の時刻合わせを行う処理は、特に限定されない。発行時刻情報が示す発行時刻を用いてタイマー部64の時刻合わせを行う処理は、タイマー部64が示す現在時刻を発行時刻に特定時間を加えた時刻にする時刻合わせを含むことが好ましい。特定時間を加えた時刻にすることにより、二次元コードBが発行されてから読取装置5が当該二次元コードBを読み取るまでの時間を考慮した時刻合わせを行える。 The process of setting the time on the timer unit 64 using the issue time indicated by the issue time information is not particularly limited. The process of setting the time on the timer unit 64 using the issue time indicated by the issue time information preferably includes setting the current time indicated by the timer unit 64 to the issue time plus a specific time. By setting the time to the issue time plus a specific time, the time can be set taking into account the time from when two-dimensional code B is issued until the reader 5 reads that two-dimensional code B.
特定時間の下限は、特に限定されない。特定時間の下限は、5秒以上であることが好ましく、10秒以上であることがより好ましい。特定時間の下限を上述のとおり定めることにより、制御装置6は、タイマー部64が計時する時刻が遅れることを防ぎ得る。 There is no particular limit on the lower limit of the specific time. The lower limit of the specific time is preferably 5 seconds or more, and more preferably 10 seconds or more. By setting the lower limit of the specific time as described above, the control device 6 can prevent delays in the time measured by the timer unit 64.
特定時間の上限は、特に限定されない。特定時間の上限は、30秒以下であることが好ましく、20秒以下であることがより好ましく、10秒以下であることがさらに好ましい。特定時間の上限を上述のとおり定めることにより、制御装置6は、タイマー部64が計時する時刻が進みすぎることを防ぎ得る。 There is no particular limit to the upper limit of the specific time. The upper limit of the specific time is preferably 30 seconds or less, more preferably 20 seconds or less, and even more preferably 10 seconds or less. By setting the upper limit of the specific time as described above, the control device 6 can prevent the time measured by the timer unit 64 from being too fast.
発行時刻情報が示す発行時刻を用いてタイマー部64の時刻合わせを行う処理は、時刻合わせに用いた二次元コードBを記憶し、一度時刻合わせに用いた二次元コードBを用いた再度の時刻合わせを行わない処理であることが好ましい。これにより、再度の時刻合わせによってタイマー部64が計時する時刻が遅れることを防ぎ得る。 The process of setting the time on the timer unit 64 using the issue time indicated by the issue time information preferably stores the two-dimensional code B used to set the time, and does not use the two-dimensional code B that was used once to set the time again. This prevents the time measured by the timer unit 64 from being delayed due to re-setting the time.
タイマー部64は、外部から提供された正確な現在時刻に基づく時刻合わせを行うことにより、実質的に正確な計時を行い続けることができる。しかし、通信手段及び/又は電力の供給が制限されている場所では、公開NTP(Network Time Protocol)サービス等によって例示される正確な現在時刻を提供する外部の手段を利用することに困難があり得る。時刻合わせを行えないことによってタイマー部64における計時が不正確となった場合、予約に応じた錠の制御が行われないリスクが生じ得る。 The timer unit 64 can continue to keep accurate timekeeping by adjusting the time based on the accurate current time provided externally. However, in locations where communication means and/or power supply are limited, it may be difficult to use external means that provide accurate current time, such as public NTP (Network Time Protocol) services. If the timer unit 64's timekeeping becomes inaccurate due to an inability to adjust the time, there is a risk that the lock will not be controlled according to the reservation.
オフライン制御処理がステップS54からステップS56の時刻合わせ処理を含むことにより、制御装置6は、利用者端末1からの要求信号が送信された場合(利用者端末1が二次元コードの発行を要求した場合)に発行された二次元コードBに含まれる発行時刻情報が示す発行時刻を用いて、タイマー部64の時刻合わせを行うことができる。これにより、制御装置6は、時刻合わせを提供する外部の手段を利用できない場所であっても、タイマー部64の時刻合わせを行い、予約に応じた錠3の制御を提供し続けることができる。 By including the time setting process in steps S54 to S56 in the offline control process, the control device 6 can set the time on the timer unit 64 using the issue time indicated by the issue time information included in the two-dimensional code B issued when a request signal is sent from the user terminal 1 (when the user terminal 1 requests the issuance of a two-dimensional code). This allows the control device 6 to set the time on the timer unit 64 and continue to provide control of the lock 3 according to the reservation, even in locations where external means for providing time setting are not available.
オフライン制御処理がステップS54からステップS56の時刻合わせ処理を含むことにより、発行時刻からタイマー部64において計時した現在時刻までの間に経過した時間が所定時間以下である場合に時刻合わせを行うため、制御装置6は、発行時刻からの経過時間が短く、発行時刻を実質的に正確な現在時刻とみなせる場合に時刻合わせを行える。 By including the time adjustment process of steps S54 to S56 in the offline control process, the time is adjusted if the time elapsed from the issue time to the current time measured by the timer unit 64 is less than a predetermined time. This allows the control device 6 to adjust the time if the time elapsed since the issue time is short and the issue time can be considered to be substantially the accurate current time.
[ステップS57:予約時間帯に該当するか判別]
制御装置制御部61は、制御装置記憶部62及びタイマー部64と協働して判別部615を実行し、タイマー部64が計時した現在時刻がステップS52で読み取った二次元コードBに含まれる予約時間帯に該当するか判別する処理を行う(ステップS57)。予約時間帯に該当するのであれば、制御装置制御部61は、処理をステップS58に移す。予約時間帯に該当しないのであれば、制御装置制御部61は、オフライン制御処理を終了し、処理をステップS41に移す。
[Step S57: Determine whether it is within the reserved time slot]
The control device control unit 61, in cooperation with the control device storage unit 62 and the timer unit 64, executes the determination unit 615 and performs processing to determine whether the current time measured by the timer unit 64 corresponds to the reserved time slot included in the two-dimensional code B read in step S52 (step S57). If it corresponds to the reserved time slot, the control device control unit 61 proceeds to step S58. If it does not correspond to the reserved time slot, the control device control unit 61 ends the offline control processing and proceeds to step S41.
[ステップS58:解錠を指令]
制御装置制御部61は、制御装置記憶部62及び制御装置通信部63と協働して解錠指令部616を実行し、ステップS52で読み取った二次元コードBに含まれる予約情報と対応するロック装置4に解錠を指令する処理を行う(ステップS58)。制御装置制御部61は、オフライン制御処理を終了し、処理をステップS41に移す。
[Step S58: Command to unlock]
The control device control unit 61 cooperates with the control device storage unit 62 and the control device communication unit 63 to execute the unlock command unit 616, and performs processing to command the lock device 4 corresponding to the reservation information contained in the two-dimensional code B read in step S52 to unlock (step S58). The control device control unit 61 ends the offline control processing, and proceeds to step S41.
オフライン制御処理がステップS57からステップS58の処理を含むことにより、制御装置6は、二次元コードBに含まれる予約情報に記録されている予約時間帯に該当するかを、内蔵のタイマー部64を参照して外部との通信を行うことなく判別できる。これにより、制御装置6は、外部との通信を行うことなくロック装置4をオフラインで解錠できる。 By including steps S57 and S58 in the offline control process, the control device 6 can determine whether the reservation time slot recorded in the reservation information contained in the two-dimensional code B corresponds to the reservation time slot by referencing the built-in timer unit 64 without communicating with the outside. This allows the control device 6 to unlock the lock device 4 offline without communicating with the outside.
したがって、錠3は、通信手段が制限されている場所であっても、電気式及び/又は電子式の錠3を取り付けた部屋の貸し出し等をほぼ無人の管理で実現することができる。また、錠3は、判別部615が外部との通信を行わないことにより、錠3の消費電力を軽減できる。したがって、電力の供給が制限されている場所であっても、制御装置6は、錠3を制御できる。 As a result, even in locations where communication means are limited, the lock 3 allows for the rental of a room equipped with an electric and/or electronic lock 3 with almost unattended management. Furthermore, since the discrimination unit 615 does not communicate with the outside world, the power consumption of the lock 3 can be reduced. Therefore, the control device 6 can control the lock 3 even in locations where power supply is limited.
〔オンライン制御処理のフローチャート〕
図8は、図6のステップS45で実行されるオンライン制御処理の一例を示すフローチャートである。以下、図7を用いて、ステップS45で実行されるオンライン制御処理の好ましい流れの一例を説明する。
[Online control processing flowchart]
Fig. 8 is a flowchart showing an example of the online control process executed in step S45 of Fig. 6. Hereinafter, an example of a preferable flow of the online control process executed in step S45 will be described with reference to Fig. 7.
[ステップS61:二次元コードの読み取りが可能か判別]
制御装置制御部61は、制御装置記憶部62及び制御装置通信部63と協働して読取部613を実行し、二次元コードBの読み取りが可能か判別する処理を行う(ステップS61)。二次元コードBの読み取りが可能であれば、制御装置制御部61は、処理をステップS62に移す。二次元コードBの読み取りが可能でなければ、制御装置制御部61は、処理をステップS69に移す。
[Step S61: Determine whether the two-dimensional code can be read]
The control device control unit 61 executes the reading unit 613 in cooperation with the control device storage unit 62 and the control device communication unit 63 to perform processing to determine whether the two-dimensional code B can be read (step S61). If the two-dimensional code B can be read, the control device control unit 61 proceeds to step S62. If the two-dimensional code B cannot be read, the control device control unit 61 proceeds to step S69.
二次元コードBの読み取りが可能か判別する方法は、特に限定されず、例えば、読取装置5の検知部が二次元コードB、利用者端末1、及び/又は利用者端末1を利用する利用者等が読取装置5の周辺に存在すると検知した場合に二次元コードBの読み取りが可能であると判別する方法でよい。 The method for determining whether two-dimensional code B can be read is not particularly limited, and may be, for example, a method in which it is determined that two-dimensional code B can be read when the detection unit of the reading device 5 detects that two-dimensional code B, user terminal 1, and/or a user using user terminal 1 are present in the vicinity of the reading device 5.
読取装置5の検知部が動体識別センサを含む検知部である場合、二次元コードBの読み取りが可能か判別する方法は、予約を行った予約者が読取装置5に二次元コードBを提示する動きを検知部が検知した場合に二次元コードBの読み取りが可能であると判別する方法を含むことが好ましい。これにより、予約者が単に読取装置5周辺にいて二次元コードBを提示していない場合に読み取りを行わずに消費電力を低減することと、予約者が読取装置5に二次元コードBを提示したときに読み取りを行うこととを両立できる。 If the detection unit of the reading device 5 is a detection unit that includes a motion identification sensor, the method of determining whether two-dimensional code B can be read preferably includes a method of determining that two-dimensional code B can be read when the detection unit detects the movement of the person who made the reservation presenting two-dimensional code B to the reading device 5. This makes it possible to both reduce power consumption by not reading when the person who made the reservation is simply near the reading device 5 but does not present two-dimensional code B, and to read two-dimensional code B when the person who made the reservation presents it to the reading device 5.
オンライン制御処理がステップS61の読取可能判別処理を含むことにより、二次元コードの読み取りが可能でない場合に読取装置5が二次元コードBの読み取りを試みて消費電力を増大させることを防ぎ得る。 By including the readability determination process in step S61 in the online control process, it is possible to prevent the reader 5 from attempting to read two-dimensional code B when it is not possible to read the two-dimensional code, which would increase power consumption.
[ステップS62:二次元コードを読み取る]
制御装置制御部61は、制御装置記憶部62及び制御装置通信部63と協働して読取部613を実行し、読取装置5を用いて二次元コードBを読み取る処理を行う(ステップS62)。制御装置制御部61は、処理をステップS63に移す。
[Step S62: Read the two-dimensional code]
The control device control unit 61 cooperates with the control device storage unit 62 and the control device communication unit 63 to execute the reading unit 613, and performs processing to read the two-dimensional code B using the reading device 5 (step S62). The control device control unit 61 proceeds to step S63.
制御装置6が入力部を含む場合、ステップS61からS62の二次元コードBを読み取る処理は、二次元コードBに含まれる暗号化小容量情報に相当する情報が入力部を介して入力されたときに、当該情報を取得する処理を含むことが好ましい。これにより、二次元コードだけでなく、予約者の入力によっても錠3を制御するハイブリッド制御を実現し得る。 If the control device 6 includes an input unit, the process of reading the two-dimensional code B in steps S61 to S62 preferably includes a process of acquiring information corresponding to the encrypted small-volume information contained in the two-dimensional code B when that information is input via the input unit. This makes it possible to realize hybrid control in which the lock 3 is controlled not only by the two-dimensional code but also by input from the reservation user.
二次元コードBが秘密鍵222で暗号化された暗号化小容量情報を含む場合、オンライン制御処理は、ステップS63の暗号化小容量情報復号処理を含むことが好ましい。 If two-dimensional code B includes encrypted small-volume information encrypted with private key 222, the online control process preferably includes encrypted small-volume information decryption processing in step S63.
[ステップS63:暗号化小容量情報を復号]
制御装置制御部61は、制御装置記憶部62と協働して復号部614を実行し、ステップS62で読み取った二次元コードBに含まれる暗号化小容量情報を、公開鍵622を用いて復号し、復号後小容量情報を得る処理を行う(ステップS63)。制御装置制御部61は、処理をステップS64に移す。
[Step S63: Decrypt the encrypted small-volume information]
The control device control unit 61 executes the decryption unit 614 in cooperation with the control device storage unit 62, and performs processing to decrypt the encrypted small-capacity information included in the two-dimensional code B read in step S62 using the public key 622 and obtain the decrypted small-capacity information (step S63). The control device control unit 61 proceeds to step S64.
[ステップS64:特定大容量情報を受信しているか判別]
制御装置制御部61は、制御装置記憶部62と協働して判別部615を実行し、大容量予約情報テーブル621を用いて、ステップS63で得た復号後小容量情報に対応する特定大容量情報(対応大容量予約情報)を受信しているか判別する処理を行う(ステップS64)。特定大容量情報を受信しているのであれば、制御装置制御部61は、処理をステップS67に移す。特定大容量情報を受信していないのであれば、制御装置制御部61は、処理をステップS65に移す。
[Step S64: Determine whether specific large-capacity information is being received]
The control device control unit 61 executes the determination unit 615 in cooperation with the control device storage unit 62, and performs processing to determine whether specific large-capacity information (corresponding large-capacity reservation information) corresponding to the decoded small-capacity information obtained in step S63 has been received, using the large-capacity reservation information table 621 (step S64). If specific large-capacity information has been received, the control device control unit 61 proceeds to step S67. If specific large-capacity information has not been received, the control device control unit 61 proceeds to step S65.
大容量予約情報テーブル621を用いて、ステップS63で得た復号後小容量情報に対応する特定大容量情報(対応大容量予約情報)を受信しているか判別する処理は、特に限定されず、例えば、復号後小容量情報に含まれる識別情報に対応する大容量予約情報を大容量予約情報テーブル621から取得可能である場合に対応大容量情報を受信していると判別する処理でよい。 The process of using the large-capacity reservation information table 621 to determine whether specific large-capacity information (corresponding large-capacity reservation information) corresponding to the decoded small-capacity information obtained in step S63 has been received is not particularly limited, and may be, for example, a process of determining that corresponding large-capacity information has been received if large-capacity reservation information corresponding to the identification information included in the decoded small-capacity information can be obtained from the large-capacity reservation information table 621.
[ステップS65:特定大容量情報の送信を指令]
制御装置制御部61は、制御装置記憶部62及び制御装置通信部63と協働して大容量予約情報受信部612を実行し、ステップS63で得た復号後小容量情報に対応する特定大容量情報(対応大容量予約情報)の送信を予約管理装置2に指令する処理を行う(ステップS65)制御装置制御部61は、処理をステップS66に移す。
[Step S65: Command to transmit specific large volume information]
The control device control unit 61 operates in cooperation with the control device memory unit 62 and the control device communication unit 63 to execute the large-capacity reservation information receiving unit 612, and performs processing to instruct the reservation management device 2 to transmit specific large-capacity information (corresponding large-capacity reservation information) corresponding to the decoded small-capacity information obtained in step S63 (step S65).The control device control unit 61 then transfers processing to step S66.
[ステップS66:特定大容量情報を受信]
制御装置制御部61は、制御装置記憶部62及び制御装置通信部63と協働して大容量予約情報受信部612を実行し、ステップS65で送信を指令した特定大容量情報(対応大容量予約情報)を受信する処理を行う(ステップS66)制御装置制御部61は、処理をステップS67に移す。
[Step S66: Receiving specific large-volume information]
The control device control unit 61 executes the large-capacity reservation information receiving unit 612 in cooperation with the control device memory unit 62 and the control device communication unit 63, and performs processing to receive the specific large-capacity information (corresponding large-capacity reservation information) that was instructed to be sent in step S65 (step S66).The control device control unit 61 then transfers processing to step S67.
[ステップS67:予約時間帯に該当するか判別]
制御装置制御部61は、制御装置記憶部62及びタイマー部64と協働して判別部615を実行し、タイマー部64が計時した現在時刻が特定大容量情報(対応大容量予約情報)に含まれる予約時間帯に該当するか判別する処理を行う(ステップS67)。予約時間帯に該当するのであれば、制御装置制御部61は、処理をステップS68に移す。予約時間帯に該当しないのであれば、制御装置制御部61は、処理をステップS69に移す。
[Step S67: Determine whether it is within the reserved time slot]
The control device control unit 61, in cooperation with the control device storage unit 62 and the timer unit 64, executes the determination unit 615 and performs processing to determine whether the current time measured by the timer unit 64 corresponds to the reserved time slot included in the specific large-capacity information (corresponding large-capacity reservation information) (step S67). If it corresponds to the reserved time slot, the control device control unit 61 proceeds to step S68. If it does not correspond to the reserved time slot, the control device control unit 61 proceeds to step S69.
[ステップS68:解錠を指令]
制御装置制御部61は、制御装置記憶部62及び制御装置通信部63と協働して解錠指令部616を実行し、特定大容量情報(対応大容量予約情報)と対応するロック装置4に解錠を指令する処理を行う(ステップS68)。制御装置制御部61は、処理をステップS69に移す。
[Step S68: Command to unlock]
The control device control unit 61 cooperates with the control device storage unit 62 and the control device communication unit 63 to execute the unlock command unit 616, and performs processing to command the lock device 4 corresponding to the specific large-capacity information (corresponding large-capacity reservation information) to unlock (step S68). The control device control unit 61 proceeds to step S69.
必須の態様ではないが、ステップS68の解錠を指令する処理は、大容量予約情報テーブル621において、特定大容量情報が予約を終了する情報と関連付けられていない場合に、ロック装置4に解錠を指令する処理であることが好ましい。これにより、制御装置6は、まだ終了していない予約に限って、ロック装置4に解錠を指令できる。 Although not a required feature, it is preferable that the process of issuing an unlock command in step S68 be a process of issuing an unlock command to the lock device 4 if the specific large-volume information is not associated with information that ends a reservation in the large-volume reservation information table 621. This allows the control device 6 to issue an unlock command to the lock device 4 only for reservations that have not yet ended.
オンライン制御処理がステップS64からステップS68の処理を含むことにより、制御装置6は、対応大容量予約情報が受信された大容量予約情報に含まれていない場合に、対応大容量予約情報に相当する特定大容量予約情報を予約管理装置2から受信できる。したがって、制御システムSは、予約が行われるごとに制御装置6が予約情報を逐一送信して傍受されるリスク及び消費電力を低減することと、錠3側の制御装置6が、復号後小容量情報に対応する対応大容量予約情報を確実に受信して、予約時間帯の妥当性を迅速に判別可能にすることとを両立できる。 By including the processes of steps S64 to S68 in the online control process, the control device 6 can receive specific large-volume reservation information equivalent to the corresponding large-volume reservation information from the reservation management device 2 when the corresponding large-volume reservation information is not included in the received large-volume reservation information. Therefore, the control system S can simultaneously reduce the risk of interception and power consumption by having the control device 6 transmit reservation information one by one each time a reservation is made, and enable the control device 6 on the lock 3 side to reliably receive the corresponding large-volume reservation information that corresponds to the small-volume information after decryption, enabling the validity of the reservation time slot to be quickly determined.
共通鍵方式では、復号に用いる鍵(共通鍵)が秘密でない場合、利用者が予約した予約時間帯以外の時間帯にロック装置4を解錠状態とすることを可能とする、偽造された小容量情報が共通鍵を用いて暗号化され得る。これにより、利用者が予約した予約時間帯以外の時間帯にロック装置4を解錠状態とすることを可能とする偽造二次元コードが生成され得る。 In the common key method, if the key (common key) used for decryption is not secret, forged small amounts of information can be encrypted using the common key, which allows the lock device 4 to be unlocked outside of the reserved time slot reserved by the user. This makes it possible to generate a forged two-dimensional code that allows the lock device 4 to be unlocked outside of the reserved time slot reserved by the user.
オンライン制御処理がステップS63の処理を含むことにより、制御システムSは、復号に用いる鍵(公開鍵)が秘密でない場合であっても利用者が予約した予約時間帯以外の時間帯にロック装置4を解錠状態とすることを可能とする偽造二次元コードの生成を防ぐことができる。 By including the processing of step S63 in the online control processing, the control system S can prevent the generation of counterfeit two-dimensional codes that allow the lock device 4 to be unlocked outside the reserved time slot reserved by the user, even if the key (public key) used for decryption is not secret.
ところで、公開暗号鍵方式は、共通鍵方式より暗号強度が高い一方、暗号化処理及び復号処理にかかる負荷が、共通鍵方式に比べて大きいことが知られている。これにより、公開暗号鍵方式を用いる場合に、制御装置6における消費電力が共通鍵方式より高くなり得る。 While the public encryption key system provides stronger encryption than the common key system, it is known that the load on the encryption and decryption processes is greater than that of the common key system. As a result, when using the public encryption key system, the power consumption of the control device 6 may be higher than when using the common key system.
オンライン制御処理がステップS63からステップS68の処理を含むことにより、制御装置6は、復号部614によって暗号化小容量情報を復号し、復号された復号後小容量情報に対応する対応大容量予約情報を用いて、現在時刻が予約時間帯に該当するかを判別できる。これにより、制御装置6は、復号する情報を、暗号化小容量情報のみにとどめ、公開暗号鍵方式の復号処理にかかる負荷を軽減することと、偽造二次元コードの生成を防ぐこととを両立できる。 By including steps S63 to S68 in the online control process, the control device 6 can decrypt the encrypted small-capacity information using the decryption unit 614 and determine whether the current time falls within the reserved time slot using the corresponding large-capacity reservation information that corresponds to the decrypted small-capacity information. This allows the control device 6 to limit the information to be decrypted to the encrypted small-capacity information, thereby reducing the load on the decryption process using the public encryption key method and preventing the generation of counterfeit two-dimensional codes.
[ステップS69:大容量予約情報受信処理]
制御装置制御部61は、必要に応じて制御装置記憶部62及び/又は制御装置通信部63と協働して大容量予約情報受信部612を実行し、大容量予約情報を受信する大容量予約情報受信処理を行う(ステップS69)。制御装置制御部61は、オンライン制御処理を終了し、処理をステップS41に移す。
[Step S69: Large-volume reservation information reception process]
The control device control unit 61 executes the large-volume reservation information receiving unit 612 in cooperation with the control device storage unit 62 and/or the control device communication unit 63 as necessary, and performs large-volume reservation information receiving processing to receive large-volume reservation information (step S69). The control device control unit 61 ends the online control processing, and proceeds to step S41.
ステップS69で実行される大容量予約情報受信処理は、図9を用いて詳細に説明される。 The large-volume reservation information reception process executed in step S69 will be explained in detail using Figure 9.
〔大容量予約情報受信処理のフローチャート〕
図9は、図8のステップS69で実行される大容量予約情報受信処理の一例を示すフローチャートである。以下、図9を用いて、ステップS69で実行される大容量予約情報受信処理の好ましい流れの一例を説明する。
[Flowchart of large-volume reservation information reception processing]
Fig. 9 is a flowchart showing an example of the large-volume reservation information receiving process executed in step S69 of Fig. 8. Hereinafter, an example of a preferable flow of the large-volume reservation information receiving process executed in step S69 will be described with reference to Fig. 9.
[ステップS71:大容量予約情報を受信するタイミングか判別](No→戻る)
制御装置制御部61は、制御装置記憶部62及び制御装置通信部63と協働して大容量予約情報受信部612を実行し、大容量予約情報を受信するタイミングであるか判別する処理を行う(ステップS71)。大容量予約情報を受信するタイミングであれば、制御装置制御部61は、処理をステップS72に移す。大容量予約情報を送信するタイミングでなければ、制御装置制御部61は、大容量予約情報受信処理を終了し、処理をステップS41に移す。
[Step S71: Determine whether it is time to receive large-volume reservation information] (No → Return)
The control device control unit 61 executes the large-volume reservation information receiving unit 612 in cooperation with the control device storage unit 62 and the control device communication unit 63, and performs processing to determine whether it is time to receive large-volume reservation information (step S71). If it is time to receive large-volume reservation information, the control device control unit 61 proceeds to step S72. If it is not time to transmit large-volume reservation information, the control device control unit 61 ends the large-volume reservation information receiving processing and proceeds to step S41.
大容量予約情報を受信するタイミングであるか判別する方法は、特に限定されない。 There are no particular limitations on the method for determining whether it is time to receive large-volume reservation information.
大容量予約情報を受信するタイミングであるか判別する方法は、例えば、ステップS72において大容量予約情報の受信を開始した直前のタイミングから指定の時間以上の間隔を空けたタイミングである場合に大容量予約情報を受信するタイミングであると判別する方法等でよい。 One method for determining whether it is time to receive large-volume reservation information is, for example, to determine that it is time to receive large-volume reservation information if an interval of at least a specified time has elapsed since the timing immediately before the start of reception of large-volume reservation information in step S72.
指定の時間は、特に限定されない。指定の時間の下限は、0.5時間以上であることが好ましく、1時間以上であることがより好ましい。指定の時間の下限を上述のとおり定めることにより、制御装置6は、予約が行われるごとに逐一大容量予約情報が受信される場合より大容量予約情報が受信される頻度を少なくできる。したがって、制御システムSは、通信の秘匿性が制限されている場所であっても、大容量予約情報が傍受等されて不正に利用されるリスクを低減できる。また、大容量予約情報が受信される頻度を少なくすることにより、制御装置6は、遠距離間での通信にかかる消費電力の増大を低減できる。 The specified time is not particularly limited. The lower limit of the specified time is preferably 0.5 hours or more, and more preferably 1 hour or more. By setting the lower limit of the specified time as described above, the control device 6 can reduce the frequency with which large-volume reservation information is received compared to when large-volume reservation information is received each time a reservation is made. Therefore, the control system S can reduce the risk of large-volume reservation information being intercepted and used fraudulently, even in locations where communication confidentiality is restricted. Furthermore, by reducing the frequency with which large-volume reservation information is received, the control device 6 can reduce the increase in power consumption required for long-distance communication.
指定の時間の上限は、168時間以下であることが好ましく、72時間以下であることが好ましく、24時間以下であることがより好ましい。指定の時間の上限を上述のとおり定めることにより、予約時間帯が現在時刻を含む大容量予約情報を制御装置6が受信していない頻度を低減し得る。 The upper limit of the specified time is preferably 168 hours or less, more preferably 72 hours or less, and even more preferably 24 hours or less. By setting the upper limit of the specified time as described above, the frequency with which the control device 6 does not receive large-volume reservation information for a reserved time slot that includes the current time can be reduced.
大容量予約情報を受信するタイミングであるか判別する方法は、指定の時間以上の間隔を空けて指定された1以上の指定の日時であれば大容量予約情報を受信するタイミングであるか判別する方法を含むことが好ましい。1以上の指定の日時は、特に限定されず、例えば、毎日の6時、12時、18時のそれぞれを指定する日時等でよい。これにより、直前に大容量予約情報を受信したタイミングを記憶することなく、大容量予約情報を受信するタイミングであるか判別できる。 The method for determining whether it is the right time to receive large-volume reservation information preferably includes a method for determining whether it is the right time to receive large-volume reservation information if it is one or more specified dates and times that are spaced apart by an interval of at least a specified time. The one or more specified dates and times are not particularly limited, and may be, for example, dates and times that specify 6:00, 12:00, and 18:00 each day. This makes it possible to determine whether it is the right time to receive large-volume reservation information without having to remember the timing of the most recent reception of large-volume reservation information.
大容量予約情報を受信するタイミングであるか判別する方法は、指定された時間帯以外の時間帯に大容量予約情報を受信するタイミングであるか判別する方法を含むことが好ましい。これにより、予約管理装置2の保守が行われる時間帯等の大容量予約情報を受信できないタイミングに遠距離間での通信を試みることを防ぎ得る。 The method for determining whether it is time to receive large-volume reservation information preferably includes a method for determining whether it is time to receive large-volume reservation information during a time period other than the specified time period. This prevents attempts at long-distance communication during times when large-volume reservation information cannot be received, such as when maintenance is being performed on the reservation management device 2.
[ステップS72:大容量予約情報の受信を開始]
制御装置制御部61は、制御装置記憶部62及び/又は制御装置通信部63と協働して大容量予約情報受信部612を実行し、大容量予約情報の受信を開始する処理を行う(ステップS72)。制御装置制御部61は、処理をステップS73に移す。
[Step S72: Start receiving large-volume reservation information]
The control device control unit 61 cooperates with the control device storage unit 62 and/or the control device communication unit 63 to execute the large-volume reservation information receiving unit 612, and performs processing to start receiving large-volume reservation information (step S72). The control device control unit 61 then proceeds to step S73.
大容量予約情報の受信を開始する処理は、制御装置6をネットワークNと接続する処理を含むことが好ましい。これにより、大容量予約情報の受信を行う間において、制御装置6は、ネットワークNを介して予約管理装置2と通信し得る。 The process of starting to receive large-volume reservation information preferably includes a process of connecting the control device 6 to the network N. This allows the control device 6 to communicate with the reservation management device 2 via the network N while receiving the large-volume reservation information.
大容量予約情報の受信を開始する処理は、予約管理装置2に大容量予約情報の送信を要求する処理を含むことが好ましい。これにより、制御装置6が大容量予約情報の受信を開始するタイミングと、予約管理装置2が大容量予約情報の送信を開始するタイミングとの間の時間差をよりいっそう小さくできる。これにより、制御装置6が上述の時間差の間においてネットワークNと接続されることを防ぎ、遠距離間での通信にかかる消費電力の増大を低減できる。 The process of starting to receive large-volume reservation information preferably includes a process of requesting the reservation management device 2 to send large-volume reservation information. This further reduces the time difference between when the control device 6 starts to receive large-volume reservation information and when the reservation management device 2 starts to send large-volume reservation information. This prevents the control device 6 from being connected to the network N during the aforementioned time difference, reducing the increase in power consumption required for long-distance communication.
[ステップS73:すべての大容量予約情報を受信したか判別]
制御装置制御部61は、制御装置記憶部62及び制御装置通信部63と協働して大容量予約情報受信部612を実行し、すべての大容量予約情報を受信したか判別する処理を行う(ステップS73)。すべての大容量予約情報を受信したのであれば、制御装置制御部61は、処理をステップS76に移す。すべての大容量予約情報を受信したのでなければ、制御装置制御部61は、処理をステップS74に移す。
[Step S73: Determine whether all large-volume reservation information has been received]
The control device control unit 61 executes the large-volume reservation information receiving unit 612 in cooperation with the control device storage unit 62 and the control device communication unit 63, and performs processing to determine whether all large-volume reservation information has been received (step S73). If all large-volume reservation information has been received, the control device control unit 61 proceeds to step S76. If all large-volume reservation information has not been received, the control device control unit 61 proceeds to step S74.
すべての大容量予約情報を受信したか判別する処理は、特に限定されず、例えば、予約管理装置2からすべての大容量予約情報を受信したことを通知する情報を受信した場合にすべての大容量予約情報を受信したと判別する処理等を含む処理でよい。 The process for determining whether all large-volume reservation information has been received is not particularly limited, and may include, for example, a process for determining that all large-volume reservation information has been received when information notifying that all large-volume reservation information has been received from the reservation management device 2.
[ステップS74:大容量予約情報を受信したか判別]
制御装置制御部61は、制御装置記憶部62及び制御装置通信部63と協働して大容量予約情報受信部612を実行し、大容量予約情報を受信したか判別する処理を行う(ステップS74)。大容量予約情報を受信したのであれば、制御装置制御部61は、処理をステップS75に移す。大容量予約情報を受信したのでなければ、制御装置制御部61は、処理をステップS73に移す。
[Step S74: Determine whether large-volume reservation information has been received]
The control device control unit 61 executes the large-volume reservation information receiving unit 612 in cooperation with the control device storage unit 62 and the control device communication unit 63, and performs processing to determine whether large-volume reservation information has been received (step S74). If large-volume reservation information has been received, the control device control unit 61 proceeds to step S75. If large-volume reservation information has not been received, the control device control unit 61 proceeds to step S73.
[ステップS75:大容量予約情報を格納]
制御装置制御部61は、制御装置記憶部62及び制御装置通信部63と協働して大容量予約情報受信部612を実行し、ステップS74で受信した大容量予約情報を格納する処理を行う(ステップS75)。制御装置制御部61は、処理をステップS73に移す。
[Step S75: Store large-volume reservation information]
The control device control unit 61 executes the large-volume reservation information receiving unit 612 in cooperation with the control device storage unit 62 and the control device communication unit 63, and performs processing to store the large-volume reservation information received in step S74 (step S75). The control device control unit 61 then proceeds to step S73.
[ステップS76:大容量予約情報の受信を終了]
制御装置制御部61は、制御装置記憶部62及び制御装置通信部63と協働して大容量予約情報受信部612を実行し、大容量予約情報の受信を終了する処理を行う(ステップS76)。制御装置制御部61は、大容量予約情報受信処理を終了し、処理をステップS44に移す。
[Step S76: End of reception of large-volume reservation information]
The control device control unit 61 cooperates with the control device storage unit 62 and the control device communication unit 63 to execute the large-volume reservation information receiving unit 612, and performs processing to end reception of the large-volume reservation information (step S76). The control device control unit 61 ends the large-volume reservation information receiving processing, and proceeds to step S44.
制御装置6は、ネットワークNと接続した状態において、ネットワークNを介してデータを受信したかを判別する処理等のための電力を消費する。とりわけ、制御装置通信部63が無線ネットワークを含むネットワークNと接続する場合において、このような消費電力は、制御装置通信部63が有線ネットワークのみを含むネットワークNと接続する場合より増大する。 When connected to network N, the control device 6 consumes power for processes such as determining whether data has been received via network N. In particular, when the control device communication unit 63 is connected to a network N that includes a wireless network, this power consumption increases compared to when the control device communication unit 63 is connected to a network N that includes only a wired network.
大容量予約情報の受信を終了する処理は、制御装置6とネットワークNとの接続を終了する処理を含むことが好ましい。これにより、制御装置6は、大容量予約情報を受信しないタイミングにおいて、ネットワークNと接続することによって消費される消費電力を低減できる。 The process of terminating reception of large-volume reservation information preferably includes a process of terminating the connection between the control device 6 and the network N. This allows the control device 6 to reduce the power consumption consumed by connecting to the network N when large-volume reservation information is not being received.
大容量予約情報受信処理を行うことにより、制御装置6は、指定の時間以上の間隔を空けたタイミングでまとめて送信される1以上の大容量予約情報を受信できる。これにより、制御装置6は、通信の安定性が制限されている場所であっても、通信が安定しているタイミングで大容量予約情報を受信できる。 By performing the large-volume reservation information reception process, the control device 6 can receive one or more large-volume reservation information pieces that are sent collectively at intervals of at least a specified time. This allows the control device 6 to receive large-volume reservation information pieces when communication is stable, even in locations where communication stability is limited.
大容量予約情報受信処理を行うことにより、制御装置6は、予約が行われるごとに逐一大容量予約情報が送信される場合より大容量予約情報を受信される頻度を少なくできる。したがって、制御システムSは、通信の秘匿性が制限されている場所であっても、大容量予約情報が傍受等されて不正に利用されるリスクを低減できる。また、大容量予約情報を受信する頻度を少なくすることにより、制御装置6は、遠距離間での通信にかかる消費電力の増大を低減できる。 By performing the large-volume reservation information reception process, the control device 6 can receive large-volume reservation information less frequently than if large-volume reservation information were transmitted each time a reservation was made. Therefore, the control system S can reduce the risk of large-volume reservation information being intercepted and used fraudulently, even in locations where communication confidentiality is restricted. Furthermore, by receiving large-volume reservation information less frequently, the control device 6 can reduce the increase in power consumption required for long-distance communication.
大容量予約情報受信処理を行うことにより、制御装置6は、対応大容量予約情報が受信された大容量予約情報に含まれていない場合に、対応大容量予約情報に相当する特定大容量予約情報を予約管理装置2から受信できる。したがって、制御システムSは、予約が行われるごとに制御装置6が予約情報を逐一送信して傍受されるリスク及び消費電力を低減することと、制御装置6が、復号後小容量情報に対応する対応大容量予約情報を確実に受信して、予約時間帯の妥当性を迅速に判別可能にすることとを両立できる。 By performing the large-volume reservation information reception process, the control device 6 can receive specific large-volume reservation information equivalent to the corresponding large-volume reservation information from the reservation management device 2 when the corresponding large-volume reservation information is not included in the received large-volume reservation information. Therefore, the control system S can simultaneously reduce the risk of interception and power consumption by having the control device 6 transmit reservation information one by one each time a reservation is made, and enable the control device 6 to reliably receive the corresponding large-volume reservation information that corresponds to the small-volume information after decryption, enabling the validity of the reservation time slot to be quickly determined.
〔利用終了処理のフローチャート〕
図10は、図6のステップS44で実行される利用終了処理の一例を示すフローチャートである。以下、図10を用いて、ステップS44で実行される利用終了処理の好ましい流れの一例を説明する。
[Flowchart of usage termination process]
Fig. 10 is a flowchart showing an example of the usage termination process executed in step S44 of Fig. 6. Hereinafter, an example of a preferable flow of the usage termination process executed in step S44 will be described with reference to Fig. 10.
[ステップS81:二次元コードの読み取りが可能か判別]
制御装置制御部61は、制御装置記憶部62及び制御装置通信部63と協働して利用終了情報送信部618を実行し、管理対象Mの利用終了に関する二次元コードの読み取りが可能か判別する処理を行う(ステップS81)。読み取りが可能であれば、制御装置制御部61は、処理をステップS52に移す。読み取りが可能でなければ、制御装置制御部61は、利用終了処理を終了し、処理をステップS41に移す。
[Step S81: Determine whether the two-dimensional code can be read]
The control device control unit 61 executes the usage termination information transmission unit 618 in cooperation with the control device storage unit 62 and the control device communication unit 63, and performs processing to determine whether the two-dimensional code related to the termination of usage of the managed object M can be read (step S81). If the code can be read, the control device control unit 61 proceeds to step S52. If the code cannot be read, the control device control unit 61 terminates the usage termination processing and proceeds to step S41.
読取装置5が管理対象Mの利用を終了する二次元コードBを読み取る利用終了読取装置を含む場合、ステップS81の二次元コードBの読み取りが可能か判別する処理は、利用終了読取装置において二次元コードBの読み取りが可能である場合に二次元コードBの読み取りが可能であると判別する処理を含むことが好ましい。これにより、予約を行った予約者は、利用終了読取装置に二次元コードBを読み取らせることによって、予約した管理対象Mの利用を終了できる。 If the reading device 5 includes a usage termination reading device that reads two-dimensional code B to terminate the use of the managed object M, the process of determining whether two-dimensional code B can be read in step S81 preferably includes a process of determining that two-dimensional code B can be read if two-dimensional code B can be read by the usage termination reading device. This allows the person who made the reservation to terminate the use of the reserved managed object M by having the usage termination reading device read two-dimensional code B.
[ステップS82:二次元コードを読み取る]
制御装置制御部61は、制御装置記憶部62及び制御装置通信部63と協働して利用終了情報送信部618を実行し、読取装置5を用いて二次元コードBを読み取る処理を行う(ステップS82)。制御装置制御部61は、処理をステップS83に移す。
[Step S82: Read the two-dimensional code]
The control device control unit 61 executes the usage end information transmission unit 618 in cooperation with the control device storage unit 62 and the control device communication unit 63, and performs processing to read the two-dimensional code B using the reading device 5 (step S82). The control device control unit 61 proceeds to step S83.
[ステップS83:予約を終了]
制御装置制御部61は、制御装置記憶部62及び制御装置通信部63と協働して利用終了情報送信部618を実行し、ステップS82で読み取った二次元コードBと対応する予約を終了する処理を行う(ステップS83)。制御装置制御部61は、処理をステップS84に移す。
[Step S83: End reservation]
The control device control unit 61, in cooperation with the control device storage unit 62 and the control device communication unit 63, executes the usage termination information transmission unit 618, and performs processing to terminate the reservation corresponding to the two-dimensional code B read in step S82 (step S83). The control device control unit 61 proceeds to step S84.
予約を終了する処理は、特に限定されない。予約を終了する処理は、大容量予約情報テーブル621に格納された大容量予約情報であって、ステップS82で読み取った二次元コードBと対応する大容量予約情報に予約を終了する情報を関連付ける処理を含むことが好ましい。これにより、制御装置6は、予約を終了する情報が関連付けられていない大容量予約情報と対応する二次元コードBが読み取られた場合に、ロック装置4を解錠状態にする制御を行える。 The process for terminating a reservation is not particularly limited. The process for terminating a reservation preferably includes a process for associating reservation termination information with the large-volume reservation information stored in the large-volume reservation information table 621 and corresponding to the two-dimensional code B read in step S82. This allows the control device 6 to control the lock device 4 to an unlocked state when two-dimensional code B corresponding to large-volume reservation information that is not associated with reservation termination information is read.
[ステップS84:利用終了情報を送信]
制御装置制御部61は、制御装置記憶部62及び制御装置通信部63と協働して利用終了情報送信部618を実行し、ステップS82で読み取った二次元コードBと対応する管理対象Mの予約時間帯における利用を終了することに関する利用終了情報を予約管理装置2に送信する処理を行う(ステップS84)。制御装置制御部61は、利用終了処理を終了し、処理をステップS41に移す。
[Step S84: Send usage termination information]
The control device control unit 61, in cooperation with the control device storage unit 62 and the control device communication unit 63, executes the usage end information sending unit 618, and performs processing to send usage end information regarding the end of usage during the reservation time slot of the managed object M corresponding to the two-dimensional code B read in step S82 to the reservation management device 2 (step S84). The control device control unit 61 ends the usage end processing, and proceeds to step S41.
制御装置6が利用終了処理を実行することにより、管理対象Mを予約した予約者は、管理対象Mの利用を予約時間帯の終了日時を待たずに終了できる。これにより、管理対象Mを管理する管理者は、予約時間帯の終了日時を待たずに管理対象Mを他の予約者に利用させ得る。 By having the control device 6 execute the usage termination process, the person who reserved the managed object M can terminate their use of the managed object M without waiting for the end date and time of the reserved time slot. This allows the administrator who manages the managed object M to allow another person who reserved the managed object M to use the managed object M without waiting for the end date and time of the reserved time slot.
<<制御システムSの使用例>>
続いて、本実施形態における制御システムSの使用例を説明する。
<<Example of use of control system S>>
Next, an example of how the control system S of this embodiment is used will be described.
<管理対象Mへの錠3の後付け>
図11は、管理対象Mへの錠3の後付けの一例を示す図である。管理対象M(貸出対象となる部屋)を管理する管理者は、管理対象Mへの出入りを管理可能なロック装置4を管理対象Mに設置する。そして、管理者は、読取装置5及び制御装置6を管理対象Mの周辺に後付けして、錠3を構成する。
<Adding Lock 3 to Managed Object M>
11 is a diagram showing an example of retrofitting a lock 3 to a management target M. An administrator who manages the management target M (a room to be rented out) installs a lock device 4 that can control entry and exit to the management target M in the management target M. Then, the administrator retrofits a reading device 5 and a control device 6 around the management target M to configure the lock 3.
図11に示す例では、管理対象Mの外部に後付けされた制御装置6は、制御装置通信部63が行う近距離無線通信によって管理対象Mの内部に設けられたロック装置4と電気的に接続されている。制御装置6が近距離無線通信によってロック装置4と電気的に接続可能であることにより、管理者は、ロック装置4を管理対象Mの外部に設けることなく、錠3を構成できる。これにより、管理者は、ロック装置4が管理対象Mの外部にいる者によって破壊等されることを防ぎ得る。 In the example shown in FIG. 11, the control device 6, which is retrofitted outside the managed object M, is electrically connected to the lock device 4 installed inside the managed object M via short-range wireless communication performed by the control device communication unit 63. Because the control device 6 can be electrically connected to the lock device 4 via short-range wireless communication, the administrator can configure the lock 3 without installing the lock device 4 outside the managed object M. This allows the administrator to prevent the lock device 4 from being destroyed by someone outside the managed object M.
図11に示す例では、制御装置6は、制御装置電源部65(電池によって電力を供給可能な電源部)を含んでいる。これにより、管理者は、管理対象Mの周辺において電力の供給が制限されている場合であっても、錠3を用いて管理対象Mの利用を管理できる。また、管理者は、電池を交換する比較的簡便な手順で、制御装置電源部65を保守し得る。 In the example shown in FIG. 11, the control device 6 includes a control device power supply unit 65 (a power supply unit capable of supplying power from a battery). This allows the administrator to use the lock 3 to manage the use of the managed object M even if the supply of power is limited in the vicinity of the managed object M. In addition, the administrator can maintain the control device power supply unit 65 by the relatively simple procedure of replacing the battery.
<オフライン制御を行う錠3で管理された管理対象Mの貸出>
続いて、外部との通信を行わないオフライン制御を行う錠3で管理された管理対象Mの貸出について説明する。
<Lending of managed object M managed by lock 3 with offline control>
Next, the lending of the managed object M managed by the lock 3 that performs offline control without communicating with the outside will be explained.
〔管理対象Mの利用を予約〕
管理対象Mの利用を予約する予約者は、利用者端末1を介して予約管理装置2に予約時間帯における管理対象Mの利用の予約を要求する。予約管理装置2は、予約時間帯及び管理対象Mを特定可能な情報を含む大容量予約情報(予約情報)を生成する。
[Reserve use of managed object M]
A reserving user who reserves the use of a managed object M requests a reservation for the use of the managed object M during a reserved time period from the reservation management device 2 via a user terminal 1. The reservation management device 2 generates large-capacity reservation information (reservation information) including information that can identify the reserved time period and the managed object M.
〔二次元コードを発行〕
予約管理装置2は、予約時間帯及び管理対象Mを特定可能な情報を含む予約情報を秘密鍵222で暗号化した暗号化予約情報を含むオフライン制御用の二次元コードBを表示可能なオフライン二次元コード表示情報を利用者端末1に送信する。利用者端末1は、オフライン二次元コード表示情報を受信する。
[Issue a two-dimensional code]
The reservation management device 2 transmits to the user terminal 1 offline two-dimensional code display information capable of displaying a two-dimensional code B for offline control, the encrypted reservation information being reservation information including information capable of identifying the reservation time slot and the management target M, encrypted with a private key 222. The user terminal 1 receives the offline two-dimensional code display information.
〔二次元コードの読み取り〕
予約者は、オフライン二次元コード表示情報を用いて利用者端末1にオフライン制御用の二次元コードBを表示し、表示したオフライン制御用の二次元コードBを管理対象Mの周辺に設置された錠3の読取装置5に読み取らせる。動き識別センサを備える読取装置5は、予約者が二次元コードBを読み取らせる動きを検知し、二次元コードBを読み取る。
[Reading two-dimensional codes]
The reserving person uses the offline two-dimensional code display information to display the two-dimensional code B for offline control on the user terminal 1, and has the displayed two-dimensional code B for offline control read by the reading device 5 of the lock 3 installed in the vicinity of the managed object M. The reading device 5, which is equipped with a motion identification sensor, detects the movement of the reserving person to read the two-dimensional code B, and reads the two-dimensional code B.
〔予約時間帯に該当するか判別〕
制御装置6は、暗号化予約情報を公開鍵622で復号して復号後予約情報を得る。制御装置6は、外部との通信を行うことなく、タイマー部64が計時する現在時刻が復号後予約情報に含まれる予約時間帯に含まれるか判別する。
[Determine whether it is within the reserved time slot]
The control device 6 decrypts the encrypted reservation information with the public key 622 to obtain the decrypted reservation information. The control device 6 determines whether the current time measured by the timer unit 64 is included in the reservation time slot included in the decrypted reservation information, without communicating with an external device.
〔ロック装置4を解錠状態に制御〕
現在時刻が予約時間帯に含まれる場合、制御装置6は、管理対象Mへの出入りを管理可能なロック装置4を解錠状態に制御する。これにより、予約者は、予約時間帯に管理対象Mを利用できる。
[Controlling the lock device 4 to the unlocked state]
If the current time is included in the reserved time period, the control device 6 controls the lock device 4, which can control entry and exit to the managed object M, to an unlocked state. This allows the person who makes the reservation to use the managed object M during the reserved time period.
〔ロック装置4を施錠状態に維持〕
現在時刻が予約時間帯に含まれない場合、制御装置6は、管理対象Mへの出入りを管理可能なロック装置4を施錠状態に維持する。これにより、予約者は、予約時間帯外に管理対象Mを利用できない。
[Keeping the locking device 4 in the locked state]
If the current time is not included in the reserved time period, the control device 6 keeps the lock device 4, which can control entry and exit to the managed object M, in a locked state. This prevents the reserving user from using the managed object M outside the reserved time period.
<オフライン制御を行う錠3の時刻合わせ>
外部との通信を行わないオフライン制御を行う錠3の時刻合わせを説明する。
<Time setting for lock 3 with offline control>
The time setting of the lock 3, which is controlled offline and does not communicate with the outside, will now be described.
〔生成時刻付二次元コードを発行〕
予約者は、管理対象Mの周辺において、利用者端末1を介して予約管理装置2に二次元コードBの発行を要求する。予約管理装置2は、二次元コードBを生成した生成時刻情報、予約時間帯及び管理対象Mを特定可能な情報を含む生成時刻付予約情報を秘密鍵222で暗号化した暗号化生成時刻付予約情報を含むオフライン制御用の生成時刻付二次元コードBを表示可能な生成時刻付オフライン二次元コード表示情報を利用者端末1に送信する。利用者端末1は、生成時刻付二次元コード表示情報を受信する。
[Issuing a two-dimensional code with the time of generation]
A reserving person, in the vicinity of the managed object M, requests the reservation management device 2 to issue a two-dimensional code B via a user terminal 1. The reservation management device 2 transmits to the user terminal 1 generated time-attached offline two-dimensional code display information capable of displaying a generated time-attached two-dimensional code B for offline control, which includes encrypted generated time-attached reservation information obtained by encrypting generated time-attached reservation information, including generation time information when the two-dimensional code B was generated, the reservation time slot, and information that can identify the managed object M, with a private key 222. The user terminal 1 receives the generated time-attached two-dimensional code display information.
〔二次元コードの読み取り〕
予約者は、オフライン二次元コード表示情報を用いて利用者端末1にオフライン制御用の二次元コードBを表示し、表示したオフライン制御用の二次元コードBを管理対象Mの周辺に設置された錠3の読取装置5に読み取らせる。動き識別センサを備える読取装置5は、予約者が二次元コードBを読み取らせる動きを検知し、二次元コードBを読み取る。
[Reading two-dimensional codes]
The reserving person uses the offline two-dimensional code display information to display the two-dimensional code B for offline control on the user terminal 1, and has the displayed two-dimensional code B for offline control read by the reading device 5 of the lock 3 installed in the vicinity of the managed object M. The reading device 5, which is equipped with a motion identification sensor, detects the movement of the reserving person to read the two-dimensional code B, and reads the two-dimensional code B.
〔時刻合わせ〕
制御装置6は、生成時刻情報に対応する生成時刻からタイマー部64が計時する現在時刻までに経過した時間が所定時間以下であるか判別する。所定時間以下であれば、制御装置6は、生成時刻に特定時間を加えた時刻に現在時刻を時刻合わせする。これにより、制御装置6は、ネットワークNを介して時刻合わせに用いる時刻を提供する外部の手段を用いることなく、タイマー部64の時刻合わせを行うことができる。
[Time setting]
The control device 6 determines whether the time elapsed from the generation time corresponding to the generation time information to the current time measured by the timer unit 64 is less than or equal to a predetermined time. If it is less than or equal to the predetermined time, the control device 6 sets the current time to a time obtained by adding a specific time to the generation time. This allows the control device 6 to set the time on the timer unit 64 without using an external means for providing the time used for time setting via the network N.
<オンライン制御を行う錠3で管理された管理対象Mの貸出>
予約管理装置2と通信を行うオンライン制御を行う錠3で管理された管理対象Mの貸出について説明する。
<Lending of managed object M managed by lock 3 that performs online control>
The lending of the managed object M managed by the lock 3 that performs online control and communicates with the reservation management device 2 will be described.
〔管理対象Mの利用を予約〕
管理対象Mの利用を予約する予約者は、利用者端末1を介して予約管理装置2に予約時間帯における管理対象Mの利用の予約を要求する。予約管理装置2は、予約時間帯及び管理対象Mを特定可能な情報を含む大容量予約情報(予約情報)を生成する。
[Reserve use of managed object M]
A reserving user who reserves the use of a managed object M requests the reservation management device 2 to reserve the use of the managed object M during a reserved time period via a user terminal 1. The reservation management device 2 generates large-capacity reservation information (reservation information) including information that can identify the reserved time period and the managed object M.
〔二次元コードを発行〕
予約管理装置2は、大容量予約情報と対応する識別情報を含み、予約時間帯を含まない小容量情報を秘密鍵222で暗号化した暗号化小容量情報を含むオンライン制御用の二次元コードBを表示可能なオンライン二次元コード表示情報を利用者端末1に送信する。利用者端末1は、オンライン二次元コード表示情報を受信する。
[Issue a two-dimensional code]
The reservation management device 2 transmits to the user terminal 1 online two-dimensional code display information capable of displaying a two-dimensional code B for online control, which includes identification information corresponding to the large-capacity reservation information and encrypted small-capacity information obtained by encrypting small-capacity information not including the reservation time slot with a private key 222. The user terminal 1 receives the online two-dimensional code display information.
〔大容量予約情報の送信〕
予約管理装置2は、予約時間帯、識別情報、及び管理対象Mを特定可能な1以上の大容量予約情報を指定の時間以上の間隔を空けたタイミングでまとめて送信する。制御装置6は、まとめて送信された1以上の大容量予約情報を受信する。
[Sending large volume reservation information]
The reservation management device 2 collectively transmits one or more large-volume reservation information items that can identify a reservation time slot, identification information, and a management target M at intervals of at least a specified time. The control device 6 receives the one or more large-volume reservation information items that have been collectively transmitted.
〔二次元コードの読み取り〕
予約者は、オンライン二次元コード表示情報を用いて利用者端末1にオンライン制御用の二次元コードBを表示し、表示したオンライン制御用の二次元コードBを管理対象Mの周辺に設置された錠3の読取装置5に読み取らせる。動き識別センサを備える読取装置5は、予約者が二次元コードBを読み取らせる動きを検知し、二次元コードBを読み取る。
[Reading two-dimensional codes]
The reserving person uses the online two-dimensional code display information to display the two-dimensional code B for online control on the user terminal 1, and has the displayed two-dimensional code B for online control read by the reading device 5 of the lock 3 installed in the vicinity of the managed object M. The reading device 5, which is equipped with a motion identification sensor, detects the movement of the reserving person to read the two-dimensional code B, and reads the two-dimensional code B.
〔対応大容量予約情報を受信しているか判別〕
制御装置6は、暗号化小容量情報を公開鍵622で復号して復号後小容量情報を得る。制御装置6は、復号後小容量情報に対応する対応大容量予約情報を受信しているか判別する。
[Determine whether corresponding large-volume reservation information has been received]
The control device 6 obtains the decrypted small-capacity information by decrypting the encrypted small-capacity information with the public key 622. The control device 6 determines whether or not it has received corresponding large-capacity reservation information that corresponds to the decrypted small-capacity information.
〔特定大容量予約情報を受信〕
対応大容量予約情報を受信していない場合、制御装置6は、対応大容量予約情報に相当する特定大容量予約情報の送信を予約管理装置2に指令し、特定大容量予約情報を受信する。
[Receive specific large-volume reservation information]
If the corresponding large-volume reservation information has not been received, the control device 6 instructs the reservation management device 2 to transmit specific large-volume reservation information equivalent to the corresponding large-volume reservation information, and receives the specific large-volume reservation information.
〔予約時間帯に該当するか判別〕
制御装置6は、現在時刻が対応大容量予約情報に含まれる予約時間帯に該当するか判別する。
[Determine whether it is within the reserved time slot]
The control device 6 determines whether the current time falls within the reservation time slot included in the corresponding large-volume reservation information.
〔ロック装置4を解錠状態に制御〕
現在時刻が予約時間帯に含まれる場合、制御装置6は、管理対象Mへの出入りを管理可能なロック装置4を解錠状態に制御する。これにより、予約者は、予約時間帯に管理対象Mを利用できる。
[Controlling the lock device 4 to the unlocked state]
If the current time is included in the reserved time period, the control device 6 controls the lock device 4, which can control entry and exit to the managed object M, to an unlocked state. This allows the person who makes the reservation to use the managed object M during the reserved time period.
〔ロック装置4を施錠状態に維持〕
現在時刻が予約時間帯に含まれない場合、制御装置6は、管理対象Mへの出入りを管理可能なロック装置4を施錠状態に維持する。これにより、予約者は、予約時間帯外に管理対象Mを利用できない。
[Keeping the locking device 4 in the locked state]
If the current time is not included in the reserved time period, the control device 6 keeps the lock device 4, which can control entry and exit to the managed object M, in a locked state. This prevents the reserving user from using the managed object M outside the reserved time period.
<オンライン制御を行う錠3で管理された管理対象Mの貸出を終了>
予約管理装置2と通信を行うオンライン制御を行う錠3で管理された管理対象Mの貸出の終了について説明する。
<Ending the lending of managed object M managed by lock 3 that performs online control>
The end of lending of the managed object M managed by the lock 3 that performs online control and communicates with the reservation management device 2 will be described.
〔二次元コードの読み取り〕
予約者は、オンライン二次元コード表示情報を用いて利用者端末1にオンライン制御用の二次元コードBを表示し、表示したオンライン制御用の二次元コードBを管理対象Mの周辺に設置された錠3の読取装置5のうち、利用終了に関する利用終了読取装置に読み取らせる。動き識別センサを備える利用終了読取装置は、予約者が二次元コードBを読み取らせる動きを検知し、二次元コードBを読み取る。
[Reading two-dimensional codes]
The reserving person uses the online two-dimensional code display information to display the two-dimensional code B for online control on the user terminal 1, and has the displayed two-dimensional code B for online control read by a usage termination reading device related to the end of use, among the reading devices 5 of the locks 3 installed in the vicinity of the managed object M. The usage termination reading device equipped with a motion identification sensor detects the movement of the reserving person to read the two-dimensional code B, and reads the two-dimensional code B.
〔予約の終了〕
制御装置6は、読み取った二次元コードBと対応する大容量予約情報に利用終了を示す情報を関連付ける。制御装置6は、読み取った二次元コードBと対応する予約の終了に関する利用終了情報を予約管理装置2に送信する。予約管理装置2は、利用終了情報を受信し、当該予約に関する大容量予約情報に利用終了を示す情報を関連付ける。これにより、予約時間帯に該当する時刻であっても、二次元コードBによる錠3の解錠を行えなくなる。また、予約管理装置2は、当該予約に関する大容量予約情報の送信を終了する。
[End of reservation]
The control device 6 associates information indicating the end of use with the large-capacity reservation information corresponding to the read two-dimensional code B. The control device 6 transmits usage end information regarding the end of the reservation corresponding to the read two-dimensional code B to the reservation management device 2. The reservation management device 2 receives the usage end information and associates the information indicating the end of use with the large-capacity reservation information regarding the reservation. This makes it impossible to unlock the lock 3 using the two-dimensional code B even at a time that falls within the reserved time slot. The reservation management device 2 also terminates transmission of the large-capacity reservation information regarding the reservation.
以下、実施例により本発明を具体的に説明するが、本発明はこれらに限定されるもので
はない。
The present invention will be specifically explained below with reference to examples, but the present invention is not limited to these examples.
<実施例及び比較例に係る制御システムSの構築>
〔実施例1〕 オフライン動作を行う錠3の制御システムS
まず、本発明の実施形態にかかる予約管理装置2を用意した。そして、管理対象Mの利用を管理可能であり、BLEによって制御装置6と電気的に接続可能である電子式のロック装置4に読取装置5及び制御装置6を後付けして実施形態にかかる錠3を構成した。錠3が外部との通信を行わないオフライン動作を行うよう指定し、22時から6時までの時間帯に制御処理を行わないスリープ状態となるよう指定して、実施例1の制御システムSを構成した。
<Construction of control system S according to examples and comparative examples>
[Example 1] Control system S for lock 3 that operates offline
First, a reservation management device 2 according to an embodiment of the present invention was prepared. Then, a reading device 5 and a control device 6 were retrofitted to an electronic locking device 4 capable of managing the use of the managed object M and electrically connecting to the control device 6 via BLE to configure a lock 3 according to the embodiment. The lock 3 was specified to operate offline without communicating with the outside world, and to enter a sleep state in which no control processing is performed between 10:00 PM and 6:00 AM, thereby configuring a control system S according to Example 1.
実施例1の読取装置5及び制御装置6は、動作電圧が3.3[V]のものを用いた。実施例の制御装置電源部65は、公称電圧5[V]で容量2200[mA]の電池が供給する電力を変換効率0.9で出力電圧3.3[V]に変換して読取装置5及び制御装置6に供給可能であるものを用いた。 The reading device 5 and control device 6 used in Example 1 had an operating voltage of 3.3 V. The control device power supply unit 65 used in this example was capable of converting power supplied by a battery with a nominal voltage of 5 V and a capacity of 2200 mA with a conversion efficiency of 0.9 to an output voltage of 3.3 V and supplying it to the reading device 5 and control device 6.
〔実施例2〕 オンライン動作を行う錠3の制御システムS
制御装置通信部63がWi-Fiネットワークに接続可能である錠3に、Wi-Fiネットワークを介した外部との通信を行うオンライン動作を行うよう指定したこと以外は、実施例1と同様にして実施例2の制御システムSを構成した。
[Example 2] Control system S for lock 3 that operates online
The control system S of Example 2 was configured in the same manner as Example 1, except that the control device communication unit 63 specified that the lock 3, which is connectable to a Wi-Fi network, should perform online operation to communicate with the outside world via the Wi-Fi network.
〔比較例〕 大容量予約情報を逐一受信する錠3の制御システム
比較対象として、実施例2と同じ予約管理装置2を用意し、実施例2と同じロック装置4、読取装置5、制御装置6、及び制御装置電源部65で構成された錠3に大容量予約情報を逐一受信させる動作を行うよう指定して、比較例の制御システムSを構成した。
[Comparative Example] Control system for lock 3 that receives large amounts of reservation information one by one As a comparison example, a reservation management device 2 similar to that of Example 2 was prepared, and a control system S for the comparative example was constructed by instructing a lock 3 composed of the same lock device 4, reading device 5, control device 6, and control device power supply unit 65 as in Example 2 to receive large amounts of reservation information one by one.
<試験内容>
〔消費電流〕
実施例1、実施例2、及び比較例のそれぞれについて、市販の電流計を用いて、二次元コードBの読み取り、大容量予約情報の受信、及びロック装置4の制御のいずれも行わない待機状態において読取装置5と制御装置6とが消費する消費電流の合計である待機状態消費電流、二次元コードを読み取る読取状態において読取装置5が消費する読取消費電流、大容量予約情報を受信する受信状態において制御装置通信部63が消費する受信消費電流、並びにロック装置4を制御する制御状態において制御装置通信部63が消費する制御消費電流を測定した。結果を表1に示す。
[Current consumption]
For each of Example 1, Example 2, and the comparative example, a commercially available ammeter was used to measure the standby state current consumption, which is the total current consumption by the reader 5 and the control device 6 in a standby state in which neither reading of the two-dimensional code B, receiving of large-volume reservation information, nor control of the lock device 4 is performed; the reading current consumption by the reader 5 in a reading state in which the two-dimensional code is read; the receiving current consumption by the control device communication unit 63 in a receiving state in which large-volume reservation information is received; and the control current consumption by the control device communication unit 63 in a control state in which the lock device 4 is controlled. The results are shown in Table 1.
〔動作試験〕
実施例1、実施例2、及び比較例の制御システムSを6時から翌日6時までの1日間動作させる試験を行った。当該試験において、実施例1及び実施例2の制御システムSは、スリープ状態に関する指定に基づき、22時から6時までスリープ状態であった。当該試験において、実施例2の制御システムSは、大容量予約情報を送信するタイミングの指定に基づき、6時、12時、18時に大容量予約情報を送信した。
[Operation test]
A test was conducted in which the control systems S of Example 1, Example 2, and Comparative Example were operated for one day from 6:00 to 6:00 the next day. In this test, the control systems S of Example 1 and Example 2 were in a sleep state from 10:00 PM to 6:00 AM based on a specification regarding the sleep state. In this test, the control system S of Example 2 transmitted large-volume reservation information at 6:00 AM, 12:00 PM, and 6:00 PM based on a specification of the timing for transmitting large-volume reservation information.
[平均動作時間〕
動作試験中に発生した読取状態のそれぞれについて読取状態が継続した読取時間を測定し、その平均である平均読取時間を算出した。また、動作試験中に発生した受信状態のそれぞれについて受信状態が継続した受信時間を測定し、その平均である平均受信時間を算出した。また、動作試験中に発生した制御状態のそれぞれについて制御状態が継続した制御時間を測定し、その平均である平均制御時間を算出した。結果を表2に示す。
For each reading state that occurred during the operation test, the reading time during which the reading state continued was measured, and the average reading time was calculated as the average.In addition, for each receiving state that occurred during the operation test, the receiving time during which the receiving state continued was measured, and the average receiving time was calculated as the average.In addition, for each control state that occurred during the operation test, the control time during which the control state continued was measured, and the average control time was calculated as the average.The results are shown in Table 2.
[消費電力]
1日間の動作試験中において、実施例1、実施例2、及び比較例のそれぞれについて、錠3が読取装置5と制御装置6とにおいて消費した消費電力を測定した。結果を表3に示す。
During the one-day operation test, the power consumption of the lock 3 in the reading device 5 and the control device 6 was measured for each of Example 1, Example 2, and the comparative example. The results are shown in Table 3.
<試験結果の考察と検討>
待機状態、読取状態、及び制御状態における消費電流は、実施例1、実施例2、比較例のいずれにおいても同じであった。また、平均読取時間及び平均制御時間は、実施例1、実施例2、比較例のいずれにおいても同じであった。
<Discussion and consideration of test results>
The current consumption in the standby state, reading state, and control state was the same in Example 1, Example 2, and Comparative Example. The average reading time and average control time were also the same in Example 1, Example 2, and Comparative Example.
外部との通信を行わず、受信状態にならない実施例1は、実施例2及び比較例より消費電力が少なかった。外部との通信を行う実施例2と比較例は、待機状態、読取状態、受信状態、及び制御状態における消費電流、平均読取時間、並びに平均制御時間が同じであったにもかかわらず、試験を行った1日間における消費電力に大きな開きがあった。実施例2と比較例との消費電力の違いは、実施例2が動作試験中に3回あった受信状態にならなかったのに対し、比較例は、常時受信状態であったためであると考えられる。また、実施例1及び実施例2は、指定された時間帯にスリープ状態となることによっても、消費電力を低減していたものと考えられる。 Example 1, which does not communicate with the outside world and is not in a receiving state, consumed less power than Example 2 and the comparative example. Although Example 2, which does communicate with the outside world, and the comparative example had the same current consumption, average reading time, and average control time in the standby, reading, receiving, and control states, there was a large difference in power consumption over the one day of testing. The difference in power consumption between Example 2 and the comparative example is thought to be because Example 2 did not enter a receiving state, which occurred three times during the operational test, while the comparative example was in a receiving state at all times. It is also thought that Examples 1 and 2 reduced power consumption by entering a sleep state during designated time periods.
上述のとおり、実施例1、実施例2、及び比較例において用いた制御装置電源部65は、公称電圧5[V]で容量2200[mA]の電池が供給する電力を変換効率0.9で出力電圧3.3[V]に変換して読取装置5及び制御装置6に供給可能である電源部である。 As described above, the control device power supply unit 65 used in Example 1, Example 2, and the comparative example is a power supply unit that can convert the power supplied by a battery with a nominal voltage of 5 V and a capacity of 2200 mA into an output voltage of 3.3 V with a conversion efficiency of 0.9 and supply it to the reading device 5 and control device 6.
したがって、実施例1の錠3は、試験中と同様の制御を、電池を交換することなく324日間(約10ヶ月)以上継続可能であると考えられる。また、実施例2の錠3は、試験中と同様の制御を、電池を交換することなく275日間(約9ヶ月)以上継続可能であると考えられる。一方、比較例の錠3は、電池を交換しない場合、試験中と同様の制御を9-10日間程度しか継続できないと考えられる。 Therefore, it is believed that Lock 3 of Example 1 can maintain the same control as during the test for more than 324 days (approximately 10 months) without changing the battery. Furthermore, Lock 3 of Example 2 can maintain the same control as during the test for more than 275 days (approximately 9 months) without changing the battery. On the other hand, Lock 3 of the Comparative Example can maintain the same control as during the test for only about 9-10 days without changing the battery.
すなわち、実施例1及び実施例2の錠3は、1年間における電池の交換が1-2回程度であると見込まれるのに対し、比較例の錠3は、1年間における電池の交換が36-41回程度であると見込まれる。 In other words, while the locks 3 of Examples 1 and 2 are expected to require battery replacement approximately 1-2 times per year, the lock 3 of the comparative example is expected to require battery replacement approximately 36-41 times per year.
したがって、オフライン制御を行う実施例1の錠3及びオンライン制御を行う実施例2の錠3は、いずれも比較例より消費電力を低減できる。よって、実施例1及び実施例2の制御システムSは、電源部の保守にかかる頻度を大幅に低減可能であることが確かめられた。 Therefore, both the lock 3 of Example 1, which performs offline control, and the lock 3 of Example 2, which performs online control, can reduce power consumption compared to the comparative example. Therefore, it was confirmed that the control systems S of Examples 1 and 2 can significantly reduce the frequency of maintenance required for the power supply unit.
なお、本発明の思想の範疇において、当業者であれば各種の変更例及び修正例に想到し得るものであり、それら変更例及び修正例についても本発明の範囲に属するものと了解される。例えば、前述の実施の形態に対して、当業者が適宜、構成要素の追加、削除若しくは設計変更を行ったもの、又は、工程の追加、省略若しくは条件変更を行ったものも、本発明の要旨を備えている限り、本発明の範囲に含まれる。 It should be noted that within the spirit of the present invention, a person skilled in the art may conceive of various modifications and alterations, and it is understood that these modifications and alterations also fall within the scope of the present invention. For example, even if a person skilled in the art appropriately adds, deletes, or modifies the design of the above-described embodiment, or adds, omits, or modifies processes, these modifications will also fall within the scope of the present invention, as long as they maintain the essence of the present invention.
S 制御システム
1 利用者端末
2 予約管理装置
21 管理装置制御部
211 大容量予約情報生成部
212 大容量予約情報送信部
213 二次元コード発行部
214 利用終了情報受信部
22 管理装置記憶部
221 予約テーブル
222 秘密鍵
23 管理装置通信部
3 錠
4 ロック装置
5 読取装置
6 制御装置
61 制御装置制御部
611 動作判別部
612 大容量予約情報受信部
613 読取部
614 復号部
615 判別部
616 解錠指令部
617 時刻合わせ部
618 利用終了情報送信部
62 制御装置記憶部
621 大容量予約情報テーブル
622 公開鍵
63 制御装置通信部
64 タイマー部
65 制御装置電源部
66 動作指定部
67 装置識別標識
B 二次元コード
M 管理対象
N ネットワーク
S Control system 1 User terminal 2 Reservation management device 21 Management device control unit 211 Large-capacity reservation information generation unit 212 Large-capacity reservation information transmission unit 213 Two-dimensional code issuing unit 214 Usage end information reception unit 22 Management device storage unit 221 Reservation table 222 Private key 23 Management device communication unit 3 Lock 4 Lock device 5 Reading device 6 Control device 61 Control device control unit 611 Operation determination unit 612 Large-capacity reservation information reception unit 613 Reading unit 614 Decryption unit 615 Determination unit 616 Unlock command unit 617 Time setting unit 618 Usage end information transmission unit 62 Control device storage unit 621 Large-capacity reservation information table 622 Public key 63 Control device communication unit 64 Timer unit 65 Control device power supply unit 66 Operation designation unit 67 Device identification mark B Two-dimensional code M Managed object N Network
Claims (2)
前記錠とネットワークを介して接続されており、利用者が予約した予約時間帯に前記ロック装置を解錠可能とする予約時間帯を管理可能な予約管理装置と、
を備え、
前記予約管理装置は、
前記予約時間帯に関する予約時間帯情報、及び前記予約時間帯情報よりもデータ量が小さい識別情報を少なくとも含む大容量予約情報を生成可能な大容量予約情報生成部と、
1以上の前記大容量予約情報を、0.5時間以上の間隔を空けたタイミングでまとめて前記制御装置に送信可能な大容量予約情報送信部と、
前記識別情報を含み、前記予約時間帯情報を含まない小容量情報が公開暗号鍵方式の秘密鍵で暗号化されている暗号化小容量情報を含む二次元コードを前記利用者に発行可能な二次元コード発行部と、
を有し、
前記錠の前記制御装置は、
前記1以上の大容量予約情報を前記予約管理装置から受信可能な大容量予約情報受信部と、
前記読取装置によって読み取られた前記二次元コードに含まれる前記暗号化小容量情報を前記秘密鍵に対応する公開鍵を用いて復号し、復号後小容量情報を得る復号部と、
前記復号後小容量情報に対応する対応大容量予約情報を用いて、現在時刻が前記予約時間帯に該当するかを判別可能な判別部と、
現在時刻が前記予約時間帯に該当する場合に、前記ロック装置に前記解錠状態への切り換えを指令可能な解錠指令部と、
を有し、
前記大容量予約情報受信部は、前記復号後小容量情報に対応する前記対応大容量予約情報が前記大容量予約情報受信部によって受信された前記1以上の前記大容量予約情報に含まれていない場合に、前記対応大容量予約情報に相当する特定大容量予約情報を前記予約管理装置から受信可能である、錠の制御システム。 An electric and/or electronic lock including a locking device that can be switched between a locked state and an unlocked state, a reading device that can read a two-dimensional code, and a control device that can control the locking device and the reading device;
a reservation management device connected to the lock via a network and capable of managing a reservation time slot during which the lock device can be unlocked by a user;
Equipped with
The reservation management device
a large-volume reservation information generating unit capable of generating large-volume reservation information including at least reservation time slot information relating to the reservation time slot and identification information having a data amount smaller than that of the reservation time slot information;
a large-capacity reservation information transmitting unit capable of transmitting one or more pieces of large-capacity reservation information to the control device at intervals of 0.5 hours or more;
a two-dimensional code issuing unit capable of issuing to the user a two-dimensional code including encrypted small-volume information, in which small-volume information including the identification information but not the reservation time slot information is encrypted with a private key of a public encryption key system;
and
The control device of the lock
a large-volume reservation information receiving unit capable of receiving the one or more large-volume reservation information from the reservation management device;
a decoding unit that decodes the encrypted small-capacity information included in the two-dimensional code read by the reading device using a public key corresponding to the private key, and obtains the decoded small-capacity information;
a determination unit that can determine whether a current time falls within the reserved time slot by using corresponding large-capacity reservation information corresponding to the decoded small-capacity information;
an unlock command unit that can command the lock device to switch to the unlocked state when the current time falls within the reserved time period;
and
A lock control system in which the large-capacity reservation information receiving unit is capable of receiving specific large-capacity reservation information equivalent to the corresponding large-capacity reservation information from the reservation management device when the corresponding large-capacity reservation information corresponding to the decoded small-capacity information is not included in the one or more large-capacity reservation information received by the large-capacity reservation information receiving unit.
Priority Applications (3)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2021167644A JP7738318B2 (en) | 2021-10-12 | 2021-10-12 | Lock control system |
| PCT/JP2022/037435 WO2023063209A1 (en) | 2021-10-12 | 2022-10-06 | Electrical/electronic lock and lock control system |
| JP2025140119A JP2025169975A (en) | 2021-10-12 | 2025-08-26 | Lock control device and lock control system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2021167644A JP7738318B2 (en) | 2021-10-12 | 2021-10-12 | Lock control system |
Related Child Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2025140119A Division JP2025169975A (en) | 2021-10-12 | 2025-08-26 | Lock control device and lock control system |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2023057895A JP2023057895A (en) | 2023-04-24 |
| JP7738318B2 true JP7738318B2 (en) | 2025-09-12 |
Family
ID=86054488
Family Applications (2)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2021167644A Active JP7738318B2 (en) | 2021-10-12 | 2021-10-12 | Lock control system |
| JP2025140119A Pending JP2025169975A (en) | 2021-10-12 | 2025-08-26 | Lock control device and lock control system |
Family Applications After (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2025140119A Pending JP2025169975A (en) | 2021-10-12 | 2025-08-26 | Lock control device and lock control system |
Country Status (1)
| Country | Link |
|---|---|
| JP (2) | JP7738318B2 (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP7717415B1 (en) * | 2025-01-29 | 2025-08-04 | ブロックチェーンロック株式会社 | Storage equipment group management device and management system |
Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP4040959B2 (en) | 2002-11-19 | 2008-01-30 | 株式会社山武 | Entrance / exit management system using mobile terminal |
| JP2019124022A (en) | 2018-01-15 | 2019-07-25 | トッパン・フォームズ株式会社 | Unlocking system |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP6678802B1 (en) * | 2019-07-29 | 2020-04-08 | 株式会社Robot Home | Lock device, lock system, program, and unlocking method |
-
2021
- 2021-10-12 JP JP2021167644A patent/JP7738318B2/en active Active
-
2025
- 2025-08-26 JP JP2025140119A patent/JP2025169975A/en active Pending
Patent Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP4040959B2 (en) | 2002-11-19 | 2008-01-30 | 株式会社山武 | Entrance / exit management system using mobile terminal |
| JP2019124022A (en) | 2018-01-15 | 2019-07-25 | トッパン・フォームズ株式会社 | Unlocking system |
Also Published As
| Publication number | Publication date |
|---|---|
| JP2023057895A (en) | 2023-04-24 |
| JP2025169975A (en) | 2025-11-14 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US11017623B2 (en) | Access control system with virtual card data | |
| CN109272606B (en) | Intelligent lock supervision equipment and method based on block chain and storage medium | |
| US20110001603A1 (en) | Methods and apparatus relating to a security system | |
| JP6009783B2 (en) | Access control system | |
| US20120213362A1 (en) | Distribution Of Lock Access Data For Electromechanical Locks In An Access Control System | |
| JP2025169975A (en) | Lock control device and lock control system | |
| CN105900148A (en) | Time synchronization | |
| AU2022287614A1 (en) | Cloud door lock control system with identification of time varied 2d codes and images | |
| CN108961475A (en) | A kind of gate inhibition's dispositions method and gate inhibition's deployment services device | |
| JP7717372B2 (en) | Electric and electronic locks and lock control systems | |
| KR100422377B1 (en) | System and method for maintenance of public security and exit and entrance control using bar code displayed liquid crystal display | |
| JP7364223B2 (en) | Electronic lock system, method implemented on electronic lock system, mobile terminal, method implemented on mobile terminal, and computer program | |
| JP7792698B2 (en) | Locking device control device and control system | |
| CN118901090A (en) | Use your credentials as a key to securely control locks connected to your wireless network | |
| JP5785013B2 (en) | Lock system | |
| JP2008282299A (en) | Entrance / exit management system, information terminal, authentication information communication method and program | |
| WO2023063209A1 (en) | Electrical/electronic lock and lock control system | |
| JP2002304667A (en) | System and method for managing electronic locker, information processor, electronic locker device and program | |
| JP7717415B1 (en) | Storage equipment group management device and management system | |
| JP2023164279A (en) | Control devices and systems for electronic locks, etc. | |
| JP6675672B1 (en) | Rental space inventory management system | |
| JP6675675B1 (en) | Rental space inventory management system | |
| CN111355680B (en) | Key distribution method, key receiving method, electronic terminal and storage medium | |
| TWI742748B (en) | Storage system and method | |
| Parab et al. | Smart Locker Management System Using IoT |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20240903 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20250627 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20250627 |
|
| TRDD | Decision of grant or rejection written | ||
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20250818 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20250826 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 7738318 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |