WO2020013149A1 - Control method, program, mobile terminal, and electric lock control system - Google Patents

Control method, program, mobile terminal, and electric lock control system Download PDF

Info

Publication number
WO2020013149A1
WO2020013149A1 PCT/JP2019/027065 JP2019027065W WO2020013149A1 WO 2020013149 A1 WO2020013149 A1 WO 2020013149A1 JP 2019027065 W JP2019027065 W JP 2019027065W WO 2020013149 A1 WO2020013149 A1 WO 2020013149A1
Authority
WO
WIPO (PCT)
Prior art keywords
electric lock
mobile terminal
key
signal
instruction
Prior art date
Application number
PCT/JP2019/027065
Other languages
French (fr)
Japanese (ja)
Inventor
悠太 鈴木
良介 佐々木
隆行 菅原
昌典 栗田
Original Assignee
パナソニックIpマネジメント株式会社
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by パナソニックIpマネジメント株式会社 filed Critical パナソニックIpマネジメント株式会社
Publication of WO2020013149A1 publication Critical patent/WO2020013149A1/en

Links

Images

Classifications

    • EFIXED CONSTRUCTIONS
    • E05LOCKS; KEYS; WINDOW OR DOOR FITTINGS; SAFES
    • E05BLOCKS; ACCESSORIES THEREFOR; HANDCUFFS
    • E05B41/00Locks with visible indication as to whether the lock is locked or unlocked
    • EFIXED CONSTRUCTIONS
    • E05LOCKS; KEYS; WINDOW OR DOOR FITTINGS; SAFES
    • E05BLOCKS; ACCESSORIES THEREFOR; HANDCUFFS
    • E05B49/00Electric permutation locks; Circuits therefor ; Mechanical aspects of electronic locks; Mechanical keys therefor
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q9/00Arrangements in telecontrol or telemetry systems for selectively calling a substation from a main station, in which substation desired apparatus is selected for applying a control signal thereto or for obtaining measured values therefrom

Abstract

The objective of the present disclosure is to reduce the amount of unnecessary communication data that is communicated. This control method is mobile terminal (1) control method. The control method includes a key transmission step and a history notification step. In the key transmission step, a key signal (K1) including at least key data is transmitted to an authentication system (2) for authenticating key data relating to control for locking or unlocking an electric lock (3). In the history notification step, a prescribed target appliance (5) is notified of historical data, upon execution, with respect to the authentication system (2), of an instruction requesting control for locking or unlocking. The historical data include data relating to at least one of the state on the electric lock (3) side, corresponding to the abovementioned control, and a change in said state.

Description

制御方法、プログラム、携帯端末、及び電気錠制御システムControl method, program, portable terminal, and electric lock control system
 本開示は、一般に、制御方法、プログラム、携帯端末、及び電気錠制御システムに関する。本開示は、より詳細には、携帯端末の制御方法、プログラム、携帯端末、及び電気錠制御システムに関する。 (4) The present disclosure generally relates to a control method, a program, a portable terminal, and an electric lock control system. More specifically, the present disclosure relates to a mobile terminal control method, a program, a mobile terminal, and an electric lock control system.
 特許文献1には、履歴データ通知システムが記載されている。この履歴データ通知システムは、鍵データが記憶された移動端末と、移動端末との間の近距離通信により取得した鍵データを認証する認証装置とを備える。認証装置は、鍵データの認証結果に基づき、例えば錠前を電気的に施解錠制御する電気錠システム、又はゲートの開閉を電気的に制御してゲートの出入を管理する出入管理装置等で構成される。移動端末は、鍵データの認証時における履歴データを、メールサーバを介して予め登録された宛て先の通知対象機器にメール送信する。 Patent Document 1 describes a history data notification system. The history data notification system includes a mobile terminal in which key data is stored, and an authentication device that authenticates key data obtained by short-range communication with the mobile terminal. The authentication device is configured by, for example, an electric lock system that electrically controls locking and unlocking of a lock based on an authentication result of key data, or an access control device that electrically controls opening and closing of a gate to manage entrance and exit of the gate. You. The mobile terminal sends the history data at the time of the authentication of the key data to the notification target device registered in advance by mail via the mail server.
 ところで、特許文献1に記載される移動端末は、鍵データの認証時における履歴データを通知対象機器にメール送信する。言い換えると、履歴データをメール送信する基準が、鍵データの認証である。そのため、例えば、ユーザに錠前を施錠又は解錠する意図がなくても、偶然、移動端末(携帯端末)と認証装置(認証システム)とが通信可能なエリア内に携帯端末が入ることで、不要な履歴データがメール送信されてしまう可能性がある。 By the way, the mobile terminal described in Patent Literature 1 transmits history data at the time of authentication of key data to a notification target device by mail. In other words, the criterion for sending the history data by mail is the authentication of the key data. Therefore, for example, even if the user does not intend to lock or unlock the lock, it is unnecessary because the mobile terminal accidentally enters the area where the mobile terminal (mobile terminal) and the authentication device (authentication system) can communicate. History data may be sent by e-mail.
特開2015-149608号公報JP 2015-149608 A
 本開示は上記事由に鑑みてなされ、不要な通信データの通信量の低減を図ることができる、制御方法、プログラム、携帯端末、及び電気錠制御システムを提供することを目的とする。 The present disclosure has been made in view of the above circumstances, and has as its object to provide a control method, a program, a portable terminal, and an electric lock control system capable of reducing the amount of communication of unnecessary communication data.
 本開示の一態様に係る制御方法は、携帯端末の制御方法である。前記制御方法は、鍵送信ステップと、履歴通知ステップと、を含む。前記鍵送信ステップでは、電気錠の施錠又は解錠の制御に関する鍵データの認証を行う認証システムに対して、少なくとも前記鍵データを含む鍵信号を送信する。前記履歴通知ステップでは、前記制御を要求する指示が前記認証システムに対して実行されたことに伴って、履歴データを所定の対象機器に通知する。前記履歴データは、前記制御に対応する、前記電気錠側の状態及び状態変化のうち少なくとも1つに関するデータを含む。 制 御 The control method according to an aspect of the present disclosure is a control method for a mobile terminal. The control method includes a key transmission step and a history notification step. In the key transmitting step, a key signal including at least the key data is transmitted to an authentication system that authenticates key data related to locking or unlocking of the electric lock. In the history notifying step, the history data is notified to a predetermined target device when the instruction requesting the control is executed for the authentication system. The history data includes data relating to at least one of a state and a state change of the electric lock corresponding to the control.
 本開示の一態様に係るプログラムは、コンピュータシステムに上記制御方法を実行させるためのプログラムである。 プ ロ グ ラ ム A program according to an embodiment of the present disclosure is a program for causing a computer system to execute the control method.
 本開示の一態様に係る携帯端末は、鍵送信部と、履歴通知部と、を備える。前記鍵送信部は、電気錠の施錠又は解錠の制御に関する鍵データの認証を行う認証システムに対して、少なくとも前記鍵データを含む鍵信号を送信する。前記履歴通知部は、前記制御を要求する指示が前記認証システムに対して実行されたことに伴って、履歴データを所定の対象機器に通知する。前記履歴データは、前記制御に対応する、前記電気錠側の状態及び状態変化のうち少なくとも1つに関するデータを含む。 携 帯 A portable terminal according to an aspect of the present disclosure includes a key transmission unit and a history notification unit. The key transmission unit transmits a key signal including at least the key data to an authentication system that authenticates key data related to locking or unlocking of an electric lock. The history notification unit notifies the history data to a predetermined target device in response to the instruction requesting the control being executed for the authentication system. The history data includes data relating to at least one of a state and a state change of the electric lock corresponding to the control.
 本開示の一態様に係る電気錠制御システムは、上記携帯端末を1又は複数と、前記認証システムと、を備える。前記認証システムは、前記鍵信号を前記携帯端末から受信して、前記鍵データの認証を行う。前記認証システムは、前記認証に成功し、かつ前記制御を要求する指示を受け付けると、前記電気錠に対して前記指示に応じた制御を行う。 電 気 An electric lock control system according to an aspect of the present disclosure includes one or more of the portable terminals and the authentication system. The authentication system receives the key signal from the mobile terminal and authenticates the key data. When the authentication system succeeds in the authentication and receives an instruction requesting the control, the authentication system controls the electric lock in accordance with the instruction.
図1は、本開示の一実施形態に係る携帯端末及びそれを備えた電気錠制御システムのシステム構成図である。FIG. 1 is a system configuration diagram of a portable terminal and an electric lock control system including the portable terminal according to an embodiment of the present disclosure. 図2は、同上の電気錠制御システムの使用例を示す概略図である。FIG. 2 is a schematic diagram showing a usage example of the electric lock control system according to the first embodiment. 図3は、同上の電気錠制御システムの動作を説明するシーケンス図である。FIG. 3 is a sequence diagram illustrating an operation of the electric lock control system according to the first embodiment. 図4は、同上の電気錠制御システムの変形例1の動作を説明するシーケンス図である。FIG. 4 is a sequence diagram illustrating an operation of a first modification of the electric lock control system according to the first embodiment.
 (1)概要
 以下の実施形態において説明する図1~4は、模式的な図であり、図1~4中の各構成要素の大きさ及び厚さそれぞれの比が、必ずしも実際の寸法比を反映しているとは限らない。
(1) Outline FIGS. 1 to 4 described in the following embodiments are schematic diagrams, and the ratio of the size and thickness of each component in FIGS. 1 to 4 is not necessarily the actual dimensional ratio. It is not always reflected.
 本実施形態に係る携帯端末(鍵装置)1は、図1に示すように、鍵送信部101と履歴通知部102とを備えている。鍵送信部101は、電気錠3の施錠又は解錠の制御に関する鍵データの認証を行う認証システム2に対して、少なくとも鍵データを含む鍵信号K1を送信する。履歴通知部102は、上記制御を要求する指示が認証システム2に対して実行されたことに伴って、履歴データを所定の対象機器5に通知する。履歴データは、制御に対応する、電気錠3側の状態及び状態変化のうち少なくとも1つに関するデータを含む。 The mobile terminal (key device) 1 according to the present embodiment includes a key transmission unit 101 and a history notification unit 102, as shown in FIG. The key transmission unit 101 transmits a key signal K1 including at least key data to an authentication system 2 that authenticates key data related to locking or unlocking of the electric lock 3. The history notifying unit 102 notifies the predetermined target device 5 of the history data in response to the instruction requesting the control being executed for the authentication system 2. The history data includes data relating to at least one of the state and the state change of the electric lock 3 corresponding to the control.
 電気錠3は、例えば、建物7(図2参照)の開口部70を開閉する扉(開閉部材)71を施錠又は解錠する。以下では、建物7が一例として戸建て住宅であり、扉71は、図2に示すように、玄関扉であることを想定する。ただし、建物7は、戸建て住宅に限定されず、例えば、複数の住戸を有する集合住宅であってもよい。この場合、扉71は、個々の住戸の内側と外側とを隔てる扉であってもよいし、ロビー玄関の扉でもよい。あるいは、建物7は、住宅に限らず、テナントビル、オフィスビル、公共施設、学校、病院、又は工場等の非住宅であってもよい。 The electric lock 3 locks or unlocks a door (opening / closing member) 71 that opens and closes an opening 70 of the building 7 (see FIG. 2), for example. Hereinafter, it is assumed that the building 7 is a detached house as an example, and the door 71 is a front door as shown in FIG. However, the building 7 is not limited to a detached house, and may be, for example, an apartment house having a plurality of dwelling units. In this case, the door 71 may be a door that separates the inside and outside of each dwelling unit, or a door of a lobby entrance. Alternatively, the building 7 is not limited to a house, and may be a non-house such as a tenant building, an office building, a public facility, a school, a hospital, or a factory.
 ここで言う「制御を要求する」要求元(ユーザ操作の受け付け元)は、携帯端末1でもよいし、扉71又はその近傍に設置される操作装置8(図2参照)でもよい。また制御の要求を実際に認証システム2へ「指示」を出す指示元(認証システム2へ指示信号R1を送信する送信元)も、携帯端末1でもよいし、操作装置8でもよい。例えば、要求元及び指示元の両方が携帯端末1でもよいし、要求元が操作装置8で指示元が携帯端末1でもよいし、要求元及び指示元の両方が操作装置8でもよい。 要求 The request source (request source of the user operation) referred to here may be the portable terminal 1 or the operating device 8 (see FIG. 2) installed at the door 71 or in the vicinity thereof. Also, the instruction source (the transmission source that transmits the instruction signal R1 to the authentication system 2) that actually issues the “instruction” to the authentication system 2 for the control request may be the mobile terminal 1 or the operation device 8. For example, both the request source and the instruction source may be the mobile terminal 1, the request source may be the operation device 8 and the instruction source may be the mobile terminal 1, or both the request source and the instruction source may be the operation device 8.
 また指示が実行されたことに「伴う」とは、時間的に「同時」でという意味ではなく「起点となる」という意味である。言い換えると、指示が実行されない限り、履歴通知部102は、履歴データを通知しない。さらに「電気錠3側」の状態とは、電気錠3自体の施解錠の状態でもよいし、電気錠3が設置されている扉71の開閉状態でもよい。 Also, “being associated” with the execution of an instruction does not mean “simultaneously” in terms of time, but means “becomes a starting point”. In other words, the history notifying unit 102 does not notify the history data unless the instruction is executed. Further, the state of the “electric lock 3 side” may be a state in which the electric lock 3 is locked or unlocked, or a state in which the door 71 on which the electric lock 3 is installed is opened and closed.
 本実施形態に係る電気錠制御システムA1は、図1に示すように、携帯端末1を1又は複数(図示例では1つ)と、認証システム2と、を備えている。認証システム2は、鍵信号K1を携帯端末1から受信して、鍵データの認証を行う。認証システム2は、認証に成功し、かつ(施錠又は解錠の制御を要求する)指示を受け付けると、電気錠3に対してその指示に応じた制御を行う。 As shown in FIG. 1, the electric lock control system A1 according to this embodiment includes one or more (one in the illustrated example) portable terminals 1 and an authentication system 2. The authentication system 2 receives the key signal K1 from the mobile terminal 1 and authenticates key data. Upon successful authentication and receiving an instruction (requesting control of locking or unlocking), the authentication system 2 controls the electric lock 3 according to the instruction.
 本実施形態の携帯端末1及び電気錠制御システムA1の構成によれば、要求の指示が認証システム2に対して実行されたことに伴って、履歴データが通知されるので、不要な履歴データが通知される可能性が低減される。したがって、不要な通信データの通信量の低減を図ることができる。 According to the configuration of the mobile terminal 1 and the electric lock control system A1 of the present embodiment, the history data is notified when the request instruction is executed to the authentication system 2, so that unnecessary history data is The possibility of being notified is reduced. Therefore, it is possible to reduce the amount of communication of unnecessary communication data.
 なお、上述した携帯端末1と同様の機能は、制御方法、コンピュータプログラム、又はコンピュータプログラムを記録した非一時的記録媒体等で具現化されてもよい。 Note that functions similar to those of the above-described portable terminal 1 may be embodied by a control method, a computer program, a non-transitory recording medium on which the computer program is recorded, or the like.
 (2)詳細
 次に、本実施形態に係る電気錠制御システムA1の全体構成についてより詳細に説明する。電気錠制御システムA1は、電気錠3と共に、電気錠システムB1を構成する(図1参照)。以下では、戸建て住宅である建物7の住人の一人であり、携帯端末1の所有者を、ユーザX1(図2参照)と呼ぶ。
(2) Details Next, the overall configuration of the electric lock control system A1 according to the present embodiment will be described in more detail. The electric lock control system A1 forms an electric lock system B1 together with the electric lock 3 (see FIG. 1). Hereinafter, one of the residents of the building 7, which is a detached house, and the owner of the mobile terminal 1 will be referred to as a user X1 (see FIG. 2).
 (2.1)全体構成
 本実施形態に係る電気錠制御システムA1は、上の「(1)概要」の欄で説明した通り、携帯端末1と認証システム2とを備えている。ここでは、説明の便宜上、携帯端末1の数は、図1に示すように、1つであることを想定するが、携帯端末1の数は、特に限定されず、2つ以上でもよい。
(2.1) Overall Configuration The electric lock control system A1 according to the present embodiment includes the portable terminal 1 and the authentication system 2 as described in the section “(1) Overview” above. Here, for convenience of explanation, it is assumed that the number of mobile terminals 1 is one as shown in FIG. 1, but the number of mobile terminals 1 is not particularly limited and may be two or more.
 認証システム2は、電気錠制御装置4と操作装置8とを備えている。認証システム2は、電気錠3の施錠又は解錠の制御に関する鍵データを、携帯端末1から受信すると、鍵データの認証を行うように構成されている。 The authentication system 2 includes an electric lock control device 4 and an operation device 8. The authentication system 2 is configured to authenticate the key data when receiving key data relating to locking or unlocking of the electric lock 3 from the portable terminal 1.
 (2.2)電気錠
 電気錠3は、扉(開閉部材)71(ここでは玄関扉)を解錠又は施錠する。電気錠3は、デッドボルトと、駆動部と、駆動回路と、を有している。駆動回路は、電気錠制御装置4(の錠制御部402)から出力される制御信号(解錠信号又は施錠信号)に応じて駆動信号を作成し、この駆動信号を駆動部に出力する。駆動部は、電動モータと、電動モータの駆動力をデッドボルトに伝達する伝達機構と、を備えている。駆動部は、駆動回路から入力される駆動信号に従って駆動モータを駆動する。駆動モータの駆動力が伝達機構を介してデッドボルトに伝達されることによって、デッドボルトが施錠位置又は解錠位置に移動する。ここで、デッドボルトが施錠位置に移動した状態では、デッドボルトの少なくとも一部が、扉71を支持する扉枠に設けられたボルト穴に挿入されており、この状態では扉71が閉じた状態で保持される。つまり、扉71が施錠された状態となる。デッドボルトが解錠位置に移動した状態では、デッドボルトの全体がボルト穴の外に出ており、この状態では扉71の開閉が可能になる。つまり、扉71が解錠された状態となる。
(2.2) Electric Lock The electric lock 3 unlocks or locks a door (opening / closing member) 71 (here, an entrance door). The electric lock 3 has a deadbolt, a drive unit, and a drive circuit. The drive circuit generates a drive signal according to a control signal (unlock signal or lock signal) output from (the lock control unit 402 of) the electric lock control device 4 and outputs the drive signal to the drive unit. The drive unit includes an electric motor and a transmission mechanism that transmits a driving force of the electric motor to the deadbolt. The drive unit drives the drive motor according to a drive signal input from the drive circuit. When the driving force of the drive motor is transmitted to the deadbolt via the transmission mechanism, the deadbolt moves to the locking position or the unlocking position. Here, when the dead bolt is moved to the locking position, at least a part of the dead bolt is inserted into a bolt hole provided in a door frame supporting the door 71, and in this state, the door 71 is closed. Is held. That is, the door 71 is locked. When the dead bolt has moved to the unlocking position, the entire dead bolt is out of the bolt hole, and the door 71 can be opened and closed in this state. That is, the door 71 is unlocked.
 (2.3)電気錠制御装置
 電気錠制御装置4は、図1に示すように、錠側制御部40と、錠側通信部41と、錠側記憶部42とを備えている。錠側制御部40は、認証部401と、錠制御部402と、を有している。言い換えると、錠側制御部40は、認証部401としての機能、及び錠制御部402としての機能を有している。
(2.3) Electric Lock Control Device The electric lock control device 4 includes a lock control unit 40, a lock communication unit 41, and a lock storage unit 42, as shown in FIG. The lock control unit 40 includes an authentication unit 401 and a lock control unit 402. In other words, the lock side control unit 40 has a function as the authentication unit 401 and a function as the lock control unit 402.
 電気錠制御装置4は、建物7の扉71に設けられている。錠側制御部40、錠側通信部41、及び錠側記憶部42は、例えば、1つのケースに収容されて、扉71の内部に埋め込まれている。電気錠制御装置4は、電源ライン(不図示)を通じて電力供給を受けて動作する。また電気錠制御装置4は、電線S1を通じて電気錠3と電気的に接続され、更に、電線S2を通じて操作装置8と電気的に接続されている(図1参照)。 The electric lock control device 4 is provided on the door 71 of the building 7. The lock-side control unit 40, the lock-side communication unit 41, and the lock-side storage unit 42 are housed in, for example, one case and embedded inside the door 71. The electric lock control device 4 operates by receiving power supply through a power supply line (not shown). Further, the electric lock control device 4 is electrically connected to the electric lock 3 through the electric wire S1, and is further electrically connected to the operation device 8 through the electric wire S2 (see FIG. 1).
 錠側制御部40は、例えば、CPU(Central Processing Unit)及びメモリを主構成とするマイクロコントローラにて構成されている。そして、CPUがメモリに格納されているプログラムを実行することにより、マイクロコントローラが錠側制御部40として機能する。CPUが実行するプログラムは、ここではマイクロコントローラのメモリに予め記録されているが、メモリカード等の非一時的な記録媒体に記録されて提供されてもよいし、インターネット等の電気通信回線を通じて提供されてもよい。錠側制御部40は、錠側通信部41及び電気錠3等を制御する。 The lock-side control unit 40 is configured by, for example, a microcontroller having a CPU (Central Processing Unit) and a memory as main components. The microcontroller functions as the lock-side control unit 40 when the CPU executes the program stored in the memory. The program executed by the CPU is pre-recorded in the memory of the microcontroller here, but may be provided by being recorded on a non-temporary recording medium such as a memory card or provided through an electric communication line such as the Internet. May be done. The lock-side control unit 40 controls the lock-side communication unit 41, the electric lock 3, and the like.
 錠側通信部41は、例えば、アンテナと、通信回路と、を有している。錠側通信部41は、携帯端末1との間で電波を媒体とする無線通信を行う。無線通信にて使用する周波数帯域は、例えば、420MHz帯、920MHz帯、2.4GHz帯などである。錠側通信部41は、例えばBLE(Bluetooth(登録商標) Low Energy)の規格に準拠した近距離無線通信を行うように構成されている。ここで、「BLE」とは、無線PAN(Personal Area Network)技術であるBluetooth(登録商標)の仕様における、低消費電力仕様の呼称である。錠側通信部41は、錠側制御部40からの指令に従って、ビーコン信号を送信する。また、錠側通信部41は、ビーコン応答を受信する。ビーコン応答は、ビーコン信号に応答した携帯端末1の(後述の)通信部13から送信される。つまり、錠側通信部41は、信号の送信機能及び受信機能を有しており、携帯端末1の通信部13との間で双方向の通信を行うように構成されている。 The lock-side communication unit 41 has, for example, an antenna and a communication circuit. The lock-side communication unit 41 performs wireless communication with the mobile terminal 1 using a radio wave as a medium. The frequency band used in the wireless communication is, for example, a 420 MHz band, a 920 MHz band, a 2.4 GHz band, or the like. The lock-side communication unit 41 is configured to perform short-range wireless communication conforming to the BLE (Bluetooth (registered trademark) Low Energy) standard, for example. Here, “BLE” is a name of a low power consumption specification in the specification of Bluetooth (registered trademark) which is a wireless PAN (Personal Area Network) technology. The lock side communication unit 41 transmits a beacon signal in accordance with a command from the lock side control unit 40. Further, the lock side communication unit 41 receives the beacon response. The beacon response is transmitted from the communication unit 13 (described later) of the mobile terminal 1 that has responded to the beacon signal. That is, the lock-side communication unit 41 has a signal transmission function and a signal reception function, and is configured to perform bidirectional communication with the communication unit 13 of the mobile terminal 1.
 錠側制御部40は、錠側通信部41を通じて、携帯端末1から、少なくとも鍵データを含む鍵信号K1(図1及び図3参照)を受信するように構成される。錠側制御部40は、鍵信号K1を受信すると、認証処理を実行する。また錠側制御部40は、携帯端末1からのビーコン応答の電波強度値(例えばRSSI値:Received Signal Strength Indication)を監視するように構成される。この監視の開始タイミングは、例えば、鍵信号K1の受信後である。具体的には、電気錠制御装置4は、鍵信号K1の受信後、携帯端末1と定期的に通信を行い、電波強度値が閾値を超えたか否か(言い換えると、携帯端末1が所定の通信エリア内に進入したか否か)を判定する。電波強度値が閾値を超えたと判定すると、錠側制御部40は、錠側通信部41を通じてその旨を示す閾値信号M1(図3参照)を携帯端末1に送信する。また錠側制御部40は、受信した鍵データに関する認証結果を示す認証結果信号N1(図3参照)を携帯端末1に送信する。 The lock control unit 40 is configured to receive a key signal K1 (see FIGS. 1 and 3) including at least key data from the portable terminal 1 through the lock communication unit 41. Upon receiving the key signal K1, the lock-side control unit 40 executes an authentication process. Further, the lock-side control unit 40 is configured to monitor a radio field intensity value (for example, RSSI value: Received Signal Strength Indication) of a beacon response from the mobile terminal 1. The start timing of this monitoring is, for example, after receiving the key signal K1. Specifically, after receiving the key signal K1, the electric lock control device 4 periodically communicates with the mobile terminal 1 and determines whether or not the radio wave intensity value exceeds a threshold (in other words, the mobile terminal 1 To determine whether the vehicle has entered the communication area). When determining that the radio field intensity value has exceeded the threshold value, the lock-side control unit 40 transmits a threshold signal M1 (see FIG. 3) indicating this to the portable terminal 1 through the lock-side communication unit 41. Further, the lock-side control unit 40 transmits an authentication result signal N1 (see FIG. 3) indicating the authentication result regarding the received key data to the mobile terminal 1.
 また錠側制御部40は、錠側通信部41を通じて、携帯端末1から、電気錠3の施錠又は解錠の制御を要求する指示を含む指示信号R1(図3参照)を受信するように構成される。錠側制御部40は、錠側通信部41を通じて、指示信号R1に対する返信として、指示応答信号R2(図3参照)を、携帯端末1に送信する。指示応答信号R2は、正常に指示信号R1を受け取って制御を行ったことを示す信号(制御結果信号)である。 Further, the lock-side control unit 40 is configured to receive, via the lock-side communication unit 41, an instruction signal R1 (see FIG. 3) including an instruction for requesting control of locking or unlocking of the electric lock 3 from the portable terminal 1. Is done. The lock control unit 40 transmits an instruction response signal R2 (see FIG. 3) to the mobile terminal 1 as a reply to the instruction signal R1 through the lock communication unit 41. The instruction response signal R2 is a signal (control result signal) indicating that the instruction signal R1 has been normally received and controlled.
 さらに錠側制御部40は、錠側通信部41を通じて、携帯端末1から、履歴データに関する情報を要求する要求信号V1(図3参照)を受信するように構成される。錠側制御部40は、錠側通信部41を通じて、要求信号V1に対する返信として、要求応答信号V2(図3参照)を、携帯端末1に送信する。要求応答信号V2は、携帯端末1からの履歴データに関する情報の要求に答えるように、例えば、施錠又は解錠を実行した制御時刻、及び制御結果後の現在の電気錠3の状態に関するデータ等を含む。 The lock-side control unit 40 is further configured to receive a request signal V1 (see FIG. 3) for requesting information on history data from the portable terminal 1 through the lock-side communication unit 41. The lock control unit 40 transmits a request response signal V2 (see FIG. 3) to the portable terminal 1 as a reply to the request signal V1 through the lock communication unit 41. The request response signal V2 includes, for example, a control time at which locking or unlocking is performed and data relating to the current state of the electric lock 3 after the control result, so as to respond to a request for information on history data from the mobile terminal 1. Including.
 錠側記憶部42は、例えば、EEPROM(Electrically Erasable Programmable Read-Only Memory)、フラッシュメモリ等の不揮発性メモリにて構成されている。錠側記憶部42は、複数の携帯端末1の登録情報等を記憶可能である。例えば、建物7の住人が、ユーザX1を含めて3人であり、その3人が個々の携帯端末1を携帯する場合、これらの携帯端末1の登録情報が、錠側記憶部42に登録される。登録情報は、各携帯端末1に固有の識別情報、及び認証処理用の「認証情報」を含む。認証情報は、携帯端末1から送信される鍵データと一対一に対応している。なお、錠側記憶部42は、錠側制御部40が有するメモリであってもよい。 The lock-side storage unit 42 is configured by a nonvolatile memory such as an EEPROM (Electrically Erasable Programmable Read-Only Memory) or a flash memory. The lock-side storage unit 42 can store registration information of a plurality of mobile terminals 1 and the like. For example, when the resident of the building 7 is three including the user X1, and the three carry individual mobile terminals 1, the registration information of these mobile terminals 1 is registered in the lock-side storage unit 42. You. The registration information includes identification information unique to each mobile terminal 1 and “authentication information” for authentication processing. The authentication information has one-to-one correspondence with the key data transmitted from the mobile terminal 1. The lock-side storage unit 42 may be a memory included in the lock-side control unit 40.
 錠側制御部40の認証部401は、錠側通信部41が携帯端末1から識別情報及び鍵データを含む鍵信号K1を受信すると、受信した識別情報に対応する認証情報を錠側記憶部42から読み出す。そして、認証部401は、受信した鍵データと、認証情報との照合を行うことで、携帯端末1の認証処理を実行する。具体的には、鍵データに対応する認証情報が錠側記憶部42に記憶されている場合、認証部401による鍵データの認証が成功となる。一方、鍵データに対応する認証情報が錠側記憶部42に記憶されていない場合、認証部401による鍵データの認証が失敗となる。錠側制御部40は、認証が成功か失敗かに関わらず、認証結果信号N1を携帯端末1に返信することが望ましい。また錠側制御部40は、通信エラー等により正常に鍵データを取得出来なかった場合にも、その旨を示す認証結果信号N1を携帯端末1に返信することが望ましい。 When the lock-side communication unit 41 receives the key signal K1 including the identification information and the key data from the mobile terminal 1, the authentication unit 401 of the lock-side control unit 40 stores the authentication information corresponding to the received identification information in the lock-side storage unit 42. Read from Then, the authentication unit 401 performs the authentication process of the mobile terminal 1 by checking the received key data with the authentication information. Specifically, when the authentication information corresponding to the key data is stored in the lock-side storage unit 42, the authentication of the key data by the authentication unit 401 is successful. On the other hand, when the authentication information corresponding to the key data is not stored in the lock-side storage unit 42, the authentication of the key data by the authentication unit 401 fails. It is desirable that the lock control unit 40 returns the authentication result signal N1 to the mobile terminal 1 regardless of whether the authentication is successful or not. It is also desirable that the lock-side control unit 40 returns an authentication result signal N1 to the portable terminal 1 indicating that the key data cannot be normally acquired due to a communication error or the like.
 錠側制御部40の錠制御部402は、認証の成功を示す認証結果信号N1を携帯端末1に返信後に、携帯端末1から指示信号R1を受信すると、指示信号R1が示す内容に応じて電気錠3を制御して扉71の施錠又は解錠を行う。具体的には、認証部401が鍵データの認証に成功し、例えば、錠側通信部41が携帯端末1から解錠制御を要求する指示を含む指示信号R1を受信すると、電気錠3の施錠状態が解錠状態に切り替わるように電気錠3を制御する。このように認証部401によって認証処理が行われることで、建物7におけるセキュリティの低下が抑制される。 When the lock control unit 402 of the lock-side control unit 40 receives the instruction signal R1 from the mobile terminal 1 after returning the authentication result signal N1 indicating the success of the authentication to the mobile terminal 1, the lock control unit 402 generates an electric signal according to the content indicated by the instruction signal R1. The lock 3 is controlled to lock or unlock the door 71. Specifically, when the authentication unit 401 succeeds in the authentication of the key data and, for example, the lock-side communication unit 41 receives an instruction signal R1 including an instruction for requesting unlock control from the portable terminal 1, the locking of the electric lock 3 is performed. The electric lock 3 is controlled so that the state is switched to the unlocked state. By performing the authentication processing by the authentication unit 401 in this manner, a decrease in security in the building 7 is suppressed.
 ところで、電気錠制御装置4は、図1に示すように、扉71の外側に設置された操作装置8と電気的に接続されている。操作装置8は、例えば、0~9までの数字及び記号が表記された複数のタッチキーを有している。ユーザX1等の人によって、複数のタッチキーを通じて、鍵データに相当する数字等が入力されると、その入力情報は、電線S2を通じて、電気錠制御装置4に送信される。認証部401は、その入力情報に対する認証処理を実行し、認証が成功すると、電気錠3に対する解錠、施錠が可能となる。 By the way, the electric lock control device 4 is electrically connected to the operating device 8 installed outside the door 71 as shown in FIG. The operation device 8 has, for example, a plurality of touch keys on which numbers and symbols from 0 to 9 are written. When a number such as key data is input by a person such as the user X1 through a plurality of touch keys, the input information is transmitted to the electric lock control device 4 through the electric wire S2. The authentication unit 401 executes an authentication process for the input information, and when the authentication is successful, the electric lock 3 can be unlocked and locked.
 あるいは、操作装置8は、認証部401が携帯端末1から送信された鍵データの認証に成功した後にユーザX1が指でタッチ操作することで、解錠又は施錠するための簡易タッチキーを備えていてもよい。この場合、電気錠3の施錠又は解錠の制御を要求する要求元(ユーザ操作の受け付け元)は、操作装置8になる。 Alternatively, the operation device 8 includes a simple touch key for unlocking or locking by the user X1 performing a touch operation with a finger after the authentication unit 401 successfully authenticates the key data transmitted from the mobile terminal 1. May be. In this case, the request source (reception source of the user operation) requesting the control of locking or unlocking the electric lock 3 is the operation device 8.
 操作装置8は、複数のタッチキーの代わりに、又は複数のタッチキーに加えて、IC(Integrated Circuit)カード内に記憶されている鍵データを読み取るためのカードリーダー等を有していてもよい。また、操作装置8は、扉71の外側(屋外)ではなく、扉71の内側(屋内)に設置されていてもよい。 The operating device 8 may have a card reader or the like for reading key data stored in an IC (Integrated Circuit) card instead of or in addition to the plurality of touch keys. . Further, the operating device 8 may be installed inside the door 71 (indoor) instead of outside the door 71 (outdoor).
 (2.4)携帯端末
 本実施形態の携帯端末(鍵装置)1は、スマートフォン、タブレット端末等の携帯可能な情報端末であることを想定する。携帯端末1は、図1に示すように、制御部10と、表示部12(操作部11)と、通信部13と、記憶部14と、を備えている。
(2.4) Portable Terminal It is assumed that the portable terminal (key device) 1 of the present embodiment is a portable information terminal such as a smartphone or a tablet terminal. The mobile terminal 1 includes a control unit 10, a display unit 12 (operation unit 11), a communication unit 13, and a storage unit 14, as shown in FIG.
 制御部10は、例えば、CPU(Central Processing Unit)及びメモリを主構成とするマイクロコントローラにて構成されている。そして、CPUがメモリに格納されているプログラムを実行することにより、マイクロコントローラが制御部10として機能する。CPUが実行するプログラムは、ここではマイクロコントローラのメモリに予め記録されているが、メモリカード等の非一時的な記録媒体に記録されて提供されてもよいし、インターネット等の電気通信回線を通じて提供されてもよい。制御部10は、表示部12及び通信部13等を制御する。 The control unit 10 includes, for example, a microcontroller mainly including a CPU (Central Processing Unit) and a memory. The microcontroller functions as the control unit 10 by the CPU executing the program stored in the memory. The program executed by the CPU is pre-recorded in the memory of the microcontroller here, but may be provided by being recorded on a non-temporary recording medium such as a memory card or provided through an electric communication line such as the Internet. May be done. The control unit 10 controls the display unit 12, the communication unit 13, and the like.
 通信部13は、例えば、アンテナと、通信回路と、を有している。通信部13は、錠側通信部41との間で、例えばBLEの規格に準拠した近距離無線通信を行うように構成されている。通信部13は、錠側通信部41から送信されるビーコン信号を受信する。また、通信部13は、ビーコン信号を受信すると、受信したビーコン信号に応答する信号を電気錠制御装置4に送信する。つまり、通信部13は、信号の送信機能及び受信機能を有しており、錠側通信部41との間で双方向の通信を行うように構成されている。 The communication unit 13 has, for example, an antenna and a communication circuit. The communication unit 13 is configured to perform short-range wireless communication with the lock-side communication unit 41, for example, in accordance with the BLE standard. The communication unit 13 receives the beacon signal transmitted from the lock-side communication unit 41. When receiving the beacon signal, the communication unit 13 transmits a signal responsive to the received beacon signal to the electric lock control device 4. That is, the communication unit 13 has a signal transmission function and a signal reception function, and is configured to perform bidirectional communication with the lock-side communication unit 41.
 また通信部13は、図1に示すように、インターネット等の通信ネットワーク60を介して、メールサーバ6と通信可能に構成され、(後述の)履歴データを所定の対象機器5に通知するために、電子メールをメールサーバ6に送出する。図1では、通信ネットワーク60上にあるメールサーバの数は1つであるが、2つ以上でもよい。例えば電子メールを送信する側のメールサーバと、電子メールを受信する側のメールサーバとが存在してもよい。 Further, as shown in FIG. 1, the communication unit 13 is configured to be able to communicate with the mail server 6 via a communication network 60 such as the Internet, and to notify history data (described later) to a predetermined target device 5. The e-mail is sent to the mail server 6. In FIG. 1, the number of mail servers on the communication network 60 is one, but may be two or more. For example, there may be a mail server that sends e-mail and a mail server that receives e-mail.
 ここで言う「所定の対象機器5」は、ユーザX1とは別のユーザが携帯する、スマートフォン、タブレット端末等の携帯可能な情報端末であることを想定する。対象機器5は、ユーザX1が携帯する携帯端末1と同等の機能を有した携帯端末であってもよい。対象機器5に関する情報(メールアドレス情報等)は、ユーザX1の携帯端末1の記憶部14に予め登録されていてもよいし、電気錠制御装置4から受信する要求応答信号V2に含まれてもよい。対象機器5を携帯する別のユーザは、例えば、ユーザX1の家族でもよく、子供であるユーザX1の親でもよい。また対象機器5は、携帯端末に限定されず、据置き型の端末でもよい。 「The“ predetermined target device 5 ”is assumed to be a portable information terminal such as a smartphone or a tablet terminal carried by a user different from the user X1. The target device 5 may be a mobile terminal having the same function as the mobile terminal 1 carried by the user X1. Information about the target device 5 (e.g., mail address information) may be registered in the storage unit 14 of the mobile terminal 1 of the user X1 in advance, or may be included in the request response signal V2 received from the electric lock control device 4. Good. Another user carrying the target device 5 may be, for example, a family of the user X1 or a parent of the user X1 who is a child. The target device 5 is not limited to a mobile terminal, and may be a stationary terminal.
 表示部12は、例えば液晶ディスプレイ、有機EL(Electro Luminescence)ディスプレイ等の薄型ディスプレイ装置である。表示部12は、制御部10によって表示内容が制御される。 The display unit 12 is a thin display device such as a liquid crystal display and an organic EL (Electro Luminescence) display. The display content of the display unit 12 is controlled by the control unit 10.
 操作部11は、例えばユーザX1等の人による操作入力(ユーザ操作)を受け付ける機能を有している。本実施形態では、操作部11は、表示部12を構成するディスプレイ装置に設けられたタッチパネルを有している。タッチパネルは、静電容量方式、感圧式等のタッチセンサを有する。ユーザX1が表示部12のディスプレイ装置に触れる操作(タップ操作、スワイプ操作等)を行うと、操作部11は、操作に応じた信号を制御部10に出力する。要するに、ここでは、表示部12が、操作部11としての機能を兼ね備えている。なお、操作部11は、タッチパネルを有する構成に限定されず、例えば携帯端末1のケースに設けられた押釦スイッチで構成されていてもよいし、携帯端末1のケースに設けられたレバーで構成されていてもよい。 The operation unit 11 has a function of receiving an operation input (user operation) by a person such as the user X1. In the present embodiment, the operation unit 11 has a touch panel provided on a display device constituting the display unit 12. The touch panel has a touch sensor of a capacitance type, a pressure-sensitive type, or the like. When the user X1 performs an operation (a tap operation, a swipe operation, or the like) that touches the display device of the display unit 12, the operation unit 11 outputs a signal corresponding to the operation to the control unit 10. In short, here, the display unit 12 also has a function as the operation unit 11. The operation unit 11 is not limited to a configuration having a touch panel, and may be configured by, for example, a push button switch provided on a case of the mobile terminal 1 or a lever provided on a case of the mobile terminal 1. May be.
 記憶部14は、例えばEEPROM、フラッシュメモリ等の不揮発性メモリにて構成されている。記憶部14は、携帯端末1に割り当てられた個別の識別情報、及び認証システム2から付与された鍵データ等を記憶する。また、記憶部14には、携帯端末1のコンピュータが実行するプログラムが記憶されている。このプログラムは、予めメモリに記憶されていてもよいし、インターネット等の電気通信回線を通じて、又はメモリカード等の非一時的な記録媒体に記録されて提供されてもよい。また、本実施形態のように、携帯端末1がスマートフォン等の情報端末であれば、記憶部14には、ユーザX1が任意にインストールした種々のアプリケーションが記憶されていてもよい。 The storage unit 14 is configured by a nonvolatile memory such as an EEPROM and a flash memory. The storage unit 14 stores individual identification information assigned to the mobile terminal 1, key data assigned from the authentication system 2, and the like. The storage unit 14 stores a program executed by the computer of the mobile terminal 1. The program may be stored in a memory in advance, or may be provided through an electric communication line such as the Internet or recorded on a non-temporary recording medium such as a memory card. Further, as in the present embodiment, if the mobile terminal 1 is an information terminal such as a smartphone, the storage unit 14 may store various applications arbitrarily installed by the user X1.
 本実施形態の制御部10は、図1に示すように、鍵送信部101と、履歴通知部102と、受信部103と、を備えている。言い換えると、制御部10は、鍵送信部101としての機能、履歴通知部102としての機能、及び受信部103としての機能を有している。 The control unit 10 according to the present embodiment includes a key transmission unit 101, a history notification unit 102, and a reception unit 103, as shown in FIG. In other words, the control unit 10 has a function as the key transmission unit 101, a function as the history notification unit 102, and a function as the reception unit 103.
 鍵送信部101は、鍵データの認証を行う認証システム2に対して、少なくとも鍵データを含む鍵信号K1を送信する。鍵信号K1は、鍵データに加えて、携帯端末1に割り当てられた個別の識別情報等を含んでもよい。鍵送信部101は、鍵信号K1を、通信部13を介して、電気錠制御装置4との近距離無線通信により送信する。 The key transmission unit 101 transmits a key signal K1 including at least key data to the authentication system 2 that authenticates key data. The key signal K1 may include individual identification information or the like assigned to the mobile terminal 1 in addition to the key data. The key transmission unit 101 transmits the key signal K1 via the communication unit 13 by short-range wireless communication with the electric lock control device 4.
 また制御部10は、図3に示すように、鍵送信部101による鍵信号K1の送信に加えて、電気錠3の施錠又は解錠の制御を要求する指示を含む指示信号R1、及び履歴データに関する情報を要求する要求信号V1を、電気錠制御装置4に送信する。つまり、本実施形態において、施解錠の制御を要求する指示を出す(指示信号R1を送信する)指示元は、携帯端末1である。 Further, as shown in FIG. 3, the control unit 10 includes, in addition to the transmission of the key signal K1 by the key transmission unit 101, an instruction signal R1 including an instruction for requesting control of locking or unlocking of the electric lock 3, and history data. A request signal V1 for requesting the information about the electronic lock is transmitted to the electric lock control device 4. That is, in the present embodiment, the portable terminal 1 issues an instruction for requesting control of locking and unlocking (transmits the instruction signal R1).
 受信部103は、鍵信号K1の送信以降において、認証システム2から、制御に関する応答信号U1(図1参照)を受信する。ここでは応答信号U1は、一例として、閾値信号M1、認証結果信号N1、指示応答信号R2、及び要求応答信号V2の4つの信号(図3参照)に相当する。受信部103は、これらの応答信号U1を、通信部13を介して、電気錠制御装置4との近距離無線通信により受信する。 The receiving unit 103 receives a response signal U1 (see FIG. 1) related to control from the authentication system 2 after the transmission of the key signal K1. Here, the response signal U1 corresponds to, for example, four signals (see FIG. 3) of a threshold signal M1, an authentication result signal N1, an instruction response signal R2, and a request response signal V2. The receiving unit 103 receives these response signals U1 via the communication unit 13 through short-range wireless communication with the electric lock control device 4.
 履歴通知部102は、(施錠又は解錠の)制御を要求する指示が認証システム2に対して実行されたことに伴って、例えば電子メールにより、履歴データを所定の対象機器5に通知する。ここでは、一例として、鍵信号K1とは別に指示信号R1が送信されるため、指示信号R1が電気錠制御装置4に送信されたことに伴って、履歴通知部102は、履歴データを通知する。言い換えると、制御部10は、指示信号R1を送信しない限り、履歴データを通知する動作を実行しない。 The history notifying unit 102 notifies the history data to a predetermined target device 5 by, for example, an e-mail, in response to the instruction requesting the control (locking or unlocking) being executed for the authentication system 2. Here, as an example, since the instruction signal R1 is transmitted separately from the key signal K1, the history notifying unit 102 notifies the history data in accordance with the transmission of the instruction signal R1 to the electric lock control device 4. . In other words, the control unit 10 does not execute the operation of notifying the history data unless transmitting the instruction signal R1.
 履歴データは、(施錠又は解錠の)制御に対応する、電気錠3側の状態及び状態変化のうち少なくとも1つに関するデータを含む。ここでは、「電気錠3側」とは、電気錠3自体であり、履歴データは、電気錠3の施解錠の状態に関するデータを含むことを想定する。電気錠3の施解錠の状態とは、例えば、電気錠制御装置4が要求信号V1を携帯端末1から受信した時点での状態(施錠又は解錠)である。なお、施解錠の制御を実行後の電気錠3の状態は、扉71の開閉状態とは違って、変化することが前提である(状態が変化しなければ、制御エラーが発生したと言える)。そのため、電気錠3の施解錠の状態を通知するということは、制御エラー等を考慮しなければ、電気錠3の状態変化を通知することと概ね等しい。 The history data includes data relating to at least one of the state and the state change of the electric lock 3 corresponding to the control (locking or unlocking). Here, the “electric lock 3 side” is the electric lock 3 itself, and it is assumed that the history data includes data relating to the locking / unlocking state of the electric lock 3. The locked / unlocked state of the electric lock 3 is, for example, a state (locked or unlocked) when the electric lock control device 4 receives the request signal V1 from the portable terminal 1. It is assumed that the state of the electric lock 3 after execution of the locking / unlocking control is changed, unlike the open / closed state of the door 71 (if the state does not change, it can be said that a control error has occurred). . Therefore, notifying the lock / unlock state of the electric lock 3 is almost the same as notifying a change in the state of the electric lock 3 without considering a control error or the like.
 履歴データは、電気錠3の施解錠の状態に加えて、例えば、制御時刻、電気錠3の名称(固有の識別情報でもよい)、及び、施錠又は解錠を実施したユーザX1の名称等を含む。要求応答信号V2は、上述の通り、制御時刻及び電気錠3の施解錠の状態に関するデータを含む。携帯端末1は、電気錠3の名称及びユーザX1の名称も、要求応答信号V2により電気錠制御装置4から取得してもよいし、これらの情報は、携帯端末1の記憶部14に予め記憶されていてもよい。 The history data includes, for example, the control time, the name of the electric lock 3 (or unique identification information), and the name of the user X1 who has performed the locking or unlocking, in addition to the state of locking and unlocking of the electric lock 3. Including. As described above, the request response signal V2 includes data on the control time and the lock / unlock state of the electric lock 3. The portable terminal 1 may also acquire the name of the electric lock 3 and the name of the user X1 from the electric lock control device 4 by the request response signal V2, and these information are stored in the storage unit 14 of the portable terminal 1 in advance. It may be.
 履歴通知部102は、電気錠制御装置4及び自身の記憶部14から得られた情報に基づき、例えば「XX(例えば子供の名前)が18時30分に玄関扉を解錠しました」という文字情報を作成し、履歴データとして通知してもよい。あるいは履歴通知部102は、例えば「解錠しました」といった電気錠3の施解錠の状態だけを含んだ文字情報を作成し、履歴データとして通知してもよい。また履歴通知部102は、「XXが18時30分に帰宅しました」というように「解錠」を「帰宅」という表現へ置き換えて通知してもよい。また履歴通知部102は、文字だけではなく、例えば、玄関扉の解錠を示していることが直感的に分かるような画像及び記号等の少なくとも1つを含めて、履歴データとして通知してもよい。 The history notifying unit 102, based on the information obtained from the electric lock control device 4 and its own storage unit 14, for example, displays the text "XX (for example, the name of a child) unlocked the entrance door at 18:30." Information may be created and notified as history data. Alternatively, the history notifying unit 102 may create character information including only the locked / unlocked state of the electric lock 3 such as “unlocked”, and notify it as history data. Further, the history notifying unit 102 may replace the word “unlocked” with the expression “returned home” to notify, such as “XX returned home at 18:30”. Also, the history notification unit 102 may notify not only characters but also, for example, at least one of an image and a symbol that intuitively indicate that the door is unlocked as history data. Good.
 ここで本実施形態では、鍵送信部101が鍵信号K1の送信を実行した後(鍵送信ステップの実行後)、制御部10は、所定の条件を満たした場合のみ、指示信号R1を、認証システム2の電気錠制御装置4に送信する。所定の条件は、一例として、携帯端末1に対して所定の操作が行われることである。具体的には、例えば、鍵データの認証に成功した旨を示す認証結果信号N1を受信すると、制御部10は、表示部12(操作部11)に、施錠又は解錠を制御する要求を受け付けるための「施錠」又は「解錠」と表記されたボタン型の操作領域を画像表示する。つまり、要求元(ユーザ操作の受け付け元)も、携帯端末1である。そして、ユーザX1が表示部12上の操作領域へのタッチ操作等(所定の操作)により施錠又は解錠を制御する要求を行うことで、所定の条件は満たされて、指示信号R1が送信される。制御部10は、電波強度値が閾値を超えたことを示す閾値信号M1を電気錠制御装置4から受信するまで、上記操作領域を表示しないことが望ましい。 Here, in the present embodiment, after the key transmission unit 101 executes transmission of the key signal K1 (after execution of the key transmission step), the control unit 10 authenticates the instruction signal R1 only when a predetermined condition is satisfied. This is transmitted to the electric lock control device 4 of the system 2. The predetermined condition is, for example, that a predetermined operation is performed on the mobile terminal 1. Specifically, for example, when receiving the authentication result signal N1 indicating that the authentication of the key data is successful, the control unit 10 receives a request for controlling locking or unlocking on the display unit 12 (the operation unit 11). A button-shaped operation area described as “locked” or “unlocked” is displayed as an image. That is, the request source (the user operation receiving source) is also the mobile terminal 1. When the user X1 makes a request to control locking or unlocking by a touch operation or the like (predetermined operation) on the operation area on the display unit 12, a predetermined condition is satisfied, and the instruction signal R1 is transmitted. You. It is desirable that the control unit 10 does not display the operation area until a threshold signal M1 indicating that the radio field intensity value has exceeded the threshold value is received from the electric lock control device 4.
 要するに、制御部10は、所定の条件を満たさない限り、指示信号R1を送信せず、その結果、履歴通知部102にて履歴データを対象機器5に通知するという動作の実行に移らない。したがって、携帯端末1にて履歴通知が実行された場合、鍵信号K1が送信された後にユーザX1が解錠したい又は施錠したいという意思を持った上で携帯端末1に対して所定の操作を行った可能性が高い。したがって、不要な履歴データが通知される可能性をより低減できる。 In short, the control unit 10 does not transmit the instruction signal R1 unless a predetermined condition is satisfied, and as a result, does not proceed to the operation of notifying the target device 5 of the history data by the history notification unit 102. Therefore, when the history notification is executed in the mobile terminal 1, after the key signal K1 is transmitted, the user X1 performs a predetermined operation on the mobile terminal 1 with an intention to unlock or lock. Likely. Therefore, the possibility that unnecessary history data is notified can be further reduced.
 ところで、携帯端末1には、携帯端末1上で動作する、少なくとも2つのアプリケーション(通信アプリケーションソフト)がインストールされている。2つのアプリケーションとは、例えばBLEの規格に準拠した近距離無線通信を電気錠制御装置4と行うための第1アプリケーションと、インターネット等の通信ネットワーク60を介してメールサーバ6と通信するための第2アプリケーションと、である。 By the way, at least two applications (communication application software) operating on the mobile terminal 1 are installed in the mobile terminal 1. The two applications are, for example, a first application for performing short-range wireless communication with the electric lock control device 4 based on the BLE standard and a first application for communicating with the mail server 6 via a communication network 60 such as the Internet. And two applications.
 第1アプリケーションは、鍵送信部101における鍵信号K1の送信機能(鍵送信ステップ)を実現する。第1アプリケーションは、鍵信号K1の送信に加えて、指示信号R1及び要求信号V1等の送信機能、並びに受信部103における応答信号U1の受信機能を実現する。第1アプリケーションは、携帯端末1の電源が投入されている状態において、例えば、常時起動した状態にあるが、ユーザX1による操作を通じて起動するものでもよい。 The first application implements the function of transmitting the key signal K1 in the key transmission unit 101 (key transmission step). The first application realizes a function of transmitting the instruction signal R1 and the request signal V1 and the like, and a function of receiving the response signal U1 in the receiving unit 103, in addition to transmitting the key signal K1. The first application is, for example, always activated when the power of the mobile terminal 1 is turned on, but may be activated through an operation by the user X1.
 第2アプリケーションは、履歴通知部102における履歴データの通知機能(履歴通知ステップ)を実現する。第2アプリケーションは、2つ以上のアプリケーションにより実現されるサービスを連携させて一連の作業を自動化するサービス連携ツールを用いて、予め第1アプリケーションと連携するように設定されている。サービス連携ツールとは、例えば、IFTTT(IF This Then That)である。つまり、第2アプリケーションは、第1アプリケーションの動作中において、履歴データを通知する履歴通知ステップを実行する際には、自動的に起動するように設定されている。 The second application implements a history data notification function (history notification step) in the history notification unit 102. The second application is set in advance to cooperate with the first application by using a service cooperation tool that automates a series of operations by linking services realized by two or more applications. The service cooperation tool is, for example, IFFTT (IF @ This @ Then @ That). That is, the second application is set to be automatically activated when executing the history notification step of notifying the history data during the operation of the first application.
 このように鍵信号K1の送信機能(鍵送信ステップ)と履歴データの通知機能(履歴通知ステップ)とでアプリケーションが異なることで、例えば、履歴データの送信手段を別の送信手段に、容易に置き換えることができる。 Since the application of the transmission function of the key signal K1 (key transmission step) and the notification function of the history data (history notification step) are different from each other, for example, the transmission means of the history data is easily replaced with another transmission means. be able to.
 ユーザX1は、上述した構成を有する携帯端末1を携帯することで、例えば、帰宅時又は外出時等に、扉71の電気錠制御装置4から一定の距離内に近づくと、携帯端末1は、電気錠制御装置4と自動的に通信する。そして、鍵データの認証に成功後に、ユーザX1が、例えば、携帯端末1の表示部12(操作部11)への所定のタッチ操作を通じて解錠又は施錠の制御要求を行えば、電気錠3の解錠又は施錠を行える。 The user X1 carries the portable terminal 1 having the above-described configuration. For example, when the user approaches within a certain distance from the electric lock control device 4 of the door 71 when returning home or going out, the portable terminal 1 It automatically communicates with the electric lock control device 4. Then, after successful authentication of the key data, if the user X1 issues a control request for unlocking or locking through a predetermined touch operation on the display unit 12 (operation unit 11) of the portable terminal 1, for example, Can be unlocked or locked.
 また電気錠3の施解錠の状態に関するデータを含んだ履歴データが電子メールにて所定の対象機器5に通知される。そのため、対象機器5を所有する別のユーザ(例えばユーザX1の親)は、例えば外出先にて、電子メールに記載されている電気錠3の施解錠の状態を通じて、ユーザX1が帰宅した(又は外出した)ことを知ることができる。特に本実施形態では、施錠又は解錠の制御を要求する指示が認証システム2に対して実行されたことに伴って、履歴データが通知されるので、不要な履歴データが通知される可能性が低減される。したがって、不要な通信データの通信量の低減を図ることができる。 {Circle over (2)} History data including data on the state of locking and unlocking of the electric lock 3 is notified to a predetermined target device 5 by e-mail. Therefore, another user who owns the target device 5 (for example, the parent of the user X1) has returned home (or the user) through the state of the lock / unlock of the electric lock 3 described in the e-mail, for example, when going out. Go out). In particular, in the present embodiment, the history data is notified in response to the instruction requesting the control of locking or unlocking being executed to the authentication system 2, so that unnecessary history data may be notified. Reduced. Therefore, it is possible to reduce the amount of communication of unnecessary communication data.
 (2.5)動作の説明
 以下、上述した電気錠制御システムA1及び電気錠3を備えた電気錠システムB1の動作について、図3を参照しながら説明する。ここでは、携帯端末1を携帯するユーザX1が、建物7(住宅)に外出先から帰宅する場合(つまり電気錠3が施錠状態から解錠状態に切り替わる場合)について説明する。また携帯端末1の電源は投入されており、第1アプリケーションは、バックグラウンドで起動中にあるとする。
(2.5) Description of Operation Hereinafter, the operation of the electric lock system B1 including the electric lock control system A1 and the electric lock 3 described above will be described with reference to FIG. Here, a case where the user X1 who carries the portable terminal 1 returns home to the building 7 (house) from an outside place (that is, a case where the electric lock 3 switches from the locked state to the unlocked state) will be described. Also, it is assumed that the power of the mobile terminal 1 is turned on and the first application is running in the background.
 まず携帯端末1を携帯するユーザX1が、電気錠制御装置4と無線通信可能な第1通信エリア内に進入すると、携帯端末1は、電気錠制御装置4に鍵信号K1を送信する(ST1)。電気錠制御装置4は、鍵信号K1を受信すると、鍵信号K1内の鍵データに対する認証処理を実行する(ST2)。そして電気錠制御装置4は、受信した鍵データに関する認証結果(成功、失敗、及び通信エラー等のうちのいずれか)を示す認証結果信号N1を、携帯端末1に返信する(ST3)。 First, when the user X1 who carries the portable terminal 1 enters the first communication area where the portable terminal 1 can wirelessly communicate with the electric lock control device 4, the portable terminal 1 transmits a key signal K1 to the electric lock control device 4 (ST1). . Upon receiving the key signal K1, the electric lock control device 4 executes an authentication process on the key data in the key signal K1 (ST2). Then, the electric lock control device 4 returns an authentication result signal N1 indicating the authentication result (one of success, failure, communication error, and the like) regarding the received key data to the portable terminal 1 (ST3).
 また電気錠制御装置4は、鍵信号K1の受信後、携帯端末1と定期的に通信を行い、電波強度値が閾値を超えたか否かを判定する閾値処理を実行する(ST4)。なお、鍵データの認証結果が成功以外の場合、電気錠制御装置4は、閾値処理を実行しない、又は実行中の閾値処理を中止してもよい。電波強度値が閾値を超えたと判定すると、つまり、例えば携帯端末1を携帯するユーザX1が上記の第1通信エリアよりも更に範囲の狭い所定の第2通信エリア内に進入すると、電気錠制御装置4は、閾値信号M1を携帯端末1に送信する(ST5)。 After receiving the key signal K1, the electric lock control device 4 periodically communicates with the portable terminal 1 and executes a threshold process for determining whether or not the radio field intensity value has exceeded a threshold value (ST4). If the authentication result of the key data is other than success, the electric lock control device 4 may not execute the threshold processing, or may cancel the threshold processing that is being performed. If it is determined that the radio field intensity value has exceeded the threshold value, that is, for example, when the user X1 who carries the portable terminal 1 enters a predetermined second communication area that is narrower than the first communication area, the electric lock control device 4 transmits the threshold signal M1 to the mobile terminal 1 (ST5).
 一方、携帯端末1は、受信した認証結果信号N1が認証の成功を示し、かつ、閾値信号M1を受信すると、解錠又は施錠の要求を受け付けるための操作領域を画像表示する(ST6)。携帯端末1は、事前に(例えばST1~ST5までの間に)、現在の電気錠3の施解錠の状態に関するデータを受信していれば、その状態とは反対の要求を受け付ける操作領域のみを画像表示してもよい。例えば現在の電気錠3の状態が施錠状態であれば、この時に表示部12に表示される操作領域は、「解錠」の要求のみを受け付けるものでもよい。あるいは、「解錠」及び「施錠」の両方の操作領域が表示されてもよく、現在の電気錠3の状態と同じ状態を要求する操作領域が操作された場合にはエラー表示してもよい。 On the other hand, when the received authentication result signal N1 indicates the success of the authentication and receives the threshold signal M1, the mobile terminal 1 displays an image of an operation area for receiving a request for unlocking or locking (ST6). If the portable terminal 1 has received data on the current state of the lock / unlock of the electric lock 3 in advance (for example, during ST1 to ST5), only the operation area for receiving a request opposite to the state is set. Images may be displayed. For example, if the current state of the electric lock 3 is the locked state, the operation area displayed on the display unit 12 at this time may be one that accepts only the request for “unlock”. Alternatively, both the operation areas of “unlock” and “lock” may be displayed, and an error may be displayed if the operation area requiring the same state as the current state of the electric lock 3 is operated. .
 なお、電気錠制御装置4は、閾値信号M1を携帯端末1に送信した後も電波強度値を監視しており、電波強度値が閾値以下になると(つまりユーザX1が上記の第2通信エリアの外に出ると)、その旨を携帯端末1に送信する。その場合には、携帯端末1は、操作領域の画像表示を中止する。 The electric lock control device 4 monitors the radio field intensity value even after transmitting the threshold signal M1 to the portable terminal 1, and when the radio field intensity value becomes equal to or less than the threshold value (that is, when the user X1 is in the second communication area). When the user goes outside), the fact is transmitted to the portable terminal 1. In that case, the mobile terminal 1 stops displaying the image of the operation area.
 ユーザX1は、表示部12に表示された「解錠」を示す操作領域にタッチ操作(所定の操作)すると、携帯端末1は、電気錠制御装置4に、解錠を要求する指示を含む指示信号R1を送信する(ST7)。電気錠制御装置4は、指示信号R1を受信すると、受信した指示信号R1における解錠の要求に従って、電気錠3の解錠制御を行うために制御信号を電気錠3に送信する(ST8)。そして、電気錠制御装置4は、正常に指示信号R1を受信して制御を行ったことを示す指示応答信号R2を返信する(ST9)。その結果、電気錠3の状態は、施錠状態から解錠状態に切り替わる(ST10)。この時、電気錠制御装置4は、制御信号を電気錠3に送信した制御時刻を錠側記憶部42に記憶する。なお、図3では図示を省略しているが、電気錠制御装置4は、電気錠3の状態を、定期的に監視することが望ましい。 When the user X1 performs a touch operation (predetermined operation) on the operation area indicating “unlock” displayed on the display unit 12, the mobile terminal 1 causes the electric lock control device 4 to issue an instruction including an instruction to request unlocking. The signal R1 is transmitted (ST7). Upon receiving the instruction signal R1, the electric lock control device 4 transmits a control signal to the electric lock 3 to perform the unlock control of the electric lock 3 according to the unlock request in the received instruction signal R1 (ST8). Then, the electric lock control device 4 returns an instruction response signal R2 indicating that the instruction signal R1 has been normally received and control has been performed (ST9). As a result, the state of the electric lock 3 switches from the locked state to the unlocked state (ST10). At this time, the electric lock control device 4 stores the control time at which the control signal was transmitted to the electric lock 3 in the lock storage unit 42. Although not shown in FIG. 3, it is desirable that the electric lock control device 4 periodically monitors the state of the electric lock 3.
 そして、携帯端末1は、例えば指示信号R1を送信してから一定の期間P1が経過すると、履歴データに関する情報を要求する要求信号V1を、電気錠制御装置4に送信する(ST11)。携帯端末1は、内蔵されるタイマを用いて、一定の期間P1を計時する。なお、一定の期間P1の開始は、指示応答信号R2の受信時点でもよい。あるいは、一定の期間P1の設定は、無くてもよく、要求信号V1は、指示信号R1の送信に連続して、又は指示応答信号R2の受信後に直ちに送信されてもよい。 {Circle around (2)} After a certain period P1 has elapsed since the transmission of the instruction signal R1, for example, the portable terminal 1 transmits a request signal V1 requesting information on history data to the electric lock control device 4 (ST11). The portable terminal 1 uses a built-in timer to measure a certain period P1. Note that the start of the certain period P1 may be at the time of receiving the instruction response signal R2. Alternatively, the setting of the fixed period P1 may not be necessary, and the request signal V1 may be transmitted immediately after the transmission of the instruction signal R1 or immediately after the reception of the instruction response signal R2.
 電気錠制御装置4は、要求信号V1を受信すると、施錠を実行した制御時刻と、制御結果後の現在の電気錠3の状態(この場合、解錠状態)とに関するデータを含む要求応答信号V2を、携帯端末1に返信する(ST12)。 When receiving the request signal V1, the electric lock control device 4 receives a request response signal V2 including data relating to the control time at which the locking was executed and the current state of the electric lock 3 after the control result (in this case, the unlocked state). Is returned to the portable terminal 1 (ST12).
 電気錠制御装置4は、要求信号V1を受信したときに、電気錠3に確認信号を送信して、電気錠3の状態を確認してから要求応答信号V2を返信してもよい。あるいは、電気錠制御装置4は、錠側記憶部42に制御時刻と共に電気錠3の状態(制御結果)に関する情報を記憶していれば、その記憶している情報を読み込んで要求応答信号V2を返信してもよい。ただし、確認信号で電気錠3に状態を確認する方が、制御エラーが発生していて正常に施錠から解錠に切り替わらなかった場合、より正確な状態の情報を携帯端末1に送信できる。 (4) When receiving the request signal V1, the electric lock control device 4 may transmit a confirmation signal to the electric lock 3, confirm the state of the electric lock 3, and return a request response signal V2. Alternatively, if the lock-side storage unit 42 stores information on the state (control result) of the electric lock 3 together with the control time in the lock-side storage unit 42, the electric lock control unit 4 reads the stored information and transmits the request response signal V2. You may reply. However, confirming the state of the electric lock 3 with the confirmation signal can transmit more accurate state information to the portable terminal 1 when a control error has occurred and the lock is not normally switched to the unlock state.
 一方、携帯端末1では、要求応答信号V2を受信すると、第1アプリケーションと連携するように設定されている第2アプリケーションが起動する(ST13)。そして、携帯端末1は、第2アプリケーションの動作の下で、対象機器5に対して、電子メールによって履歴データの通知を行う(ST14)。携帯端末1は、要求応答信号V2が示す電気錠3の状態に変化が無かった場合、つまり解錠の要求を指示したにも関わらず要求応答信号V2が示す電気錠3の状態が施錠状態であった場合、制御エラーが生じた旨を表示部12に表示する。更に、携帯端末1は、制御エラーが生じた旨を、対象機器5に対しても通知してもよい。 On the other hand, when the portable terminal 1 receives the request response signal V2, the second application set to cooperate with the first application starts (ST13). Then, under the operation of the second application, the portable terminal 1 notifies the target device 5 of the history data by e-mail (ST14). When there is no change in the state of the electric lock 3 indicated by the request response signal V2, that is, the state of the electric lock 3 indicated by the request response signal V2 is locked even though the unlock request is instructed. If there is, a message that a control error has occurred is displayed on the display unit 12. Further, the mobile terminal 1 may notify the target device 5 that a control error has occurred.
 なお、上の動作説明では「解錠」が要求された場合を例に挙げたが、「施錠」が要求された場合も同様に、携帯端末1にて要求応答信号V2を受信すると、第2アプリケーションが起動して履歴データの通知が行われる。 In the above description of the operation, the case where “unlocking” is requested is described as an example. Similarly, when “locking” is requested, when the mobile terminal 1 receives the request response signal V2, the second The application is started and the history data is notified.
 このようにして対象機器5を携帯するユーザにとっては、電気錠3の施解錠に関するデータを含む、履歴データの通知を受ける(ST15)ことで、電気錠3の状況を把握(遠隔監視)することができる。また、施錠又は解錠の制御を要求する指示が認証システム2に対して実行されたことに伴って、履歴データが通知されるので、例えば、ユーザX1に施錠又は解錠する意図がなくても不要な履歴データが通知されてしまう可能性が低減される。したがって、不要な通信データの通信量の低減を図ることができる。 In this way, the user who carries the target device 5 receives the notification of the history data including the data related to the locking and unlocking of the electric lock 3 (ST15) to grasp the state of the electric lock 3 (remote monitoring). Can be. In addition, since the history data is notified in response to the instruction requesting the control of locking or unlocking being executed to the authentication system 2, for example, even if the user X1 does not intend to lock or unlock. The possibility that unnecessary history data is notified is reduced. Therefore, it is possible to reduce the amount of communication of unnecessary communication data.
 特に、携帯端末1から対象機器5に電子メールによりそのまま通知できる。そのため、例えば携帯端末1から電気錠制御装置4又はHEMS(Home Energy Management System)に履歴データを送信し、ネットワークに接続されているゲートウェイより対象機器5に履歴データを送信する必要がない。要するに、建物7においてIOT(Internet of Things)が整っていなくても、携帯端末1から対象機器5への通知が容易に実現可能(対象機器5による遠隔監視が容易に実現可能)である。 Particularly, the portable terminal 1 can directly notify the target device 5 by e-mail. Therefore, for example, it is not necessary to transmit the history data from the portable terminal 1 to the electric lock control device 4 or the HEMS (Home Energy Management System) and transmit the history data to the target device 5 from the gateway connected to the network. In short, even if the building 7 does not have an Internet of Things (IOT), notification from the portable terminal 1 to the target device 5 can be easily realized (remote monitoring by the target device 5 can be easily realized).
 ところで、上述した第1通信エリアとは、鍵信号K1を送信可能なエリア、つまり鍵データの認証可能なエリアに相当し、比較的広いエリアである。例えば、第1通信エリアは、電気錠制御装置4を中心に建物7の敷地の外側も含むエリアである。一方、上述した第2通信エリアは、電波強度値が閾値を超え得るエリア、つまり施解錠の要求を受け付け可能なエリアに相当し、第1通信エリアよりも狭い範囲のエリアである。例えば、第2通信エリアは、電気錠制御装置4を中心に建物7の敷地内の扉71の周辺のみを含むエリアである。本実施形態のように通信エリアが複数設定されている場合、もし鍵データの認証を基準に履歴データが通知されると、携帯端末1を携帯したユーザX1が、偶然に第1通信エリア内に入るだけで、履歴データが通知されてしまうことになる。この点において、本実施形態では施錠又は解錠制御を要求する指示が認証システム2に対して実行されたことに伴って履歴データが通知されるため、ユーザX1に施錠又は解錠する意図がなくても不要な履歴データが通知されてしまう可能性が低減される。言い換えると、不要な履歴データの通知を減らしつつ、第1通信エリアの範囲をより広く設定することが可能となる。 By the way, the above-mentioned first communication area corresponds to an area in which the key signal K1 can be transmitted, that is, an area in which key data can be authenticated, and is a relatively large area. For example, the first communication area is an area including the outside of the site of the building 7 around the electric lock control device 4. On the other hand, the above-mentioned second communication area corresponds to an area where the radio field intensity value can exceed the threshold, that is, an area in which a lock / unlock request can be accepted, and is a smaller area than the first communication area. For example, the second communication area is an area including only the periphery of the door 71 in the site of the building 7 with the electric lock control device 4 as the center. In the case where a plurality of communication areas are set as in the present embodiment, if the history data is notified based on the authentication of the key data, the user X1 carrying the mobile terminal 1 accidentally enters the first communication area. Just entering, history data will be notified. In this regard, in the present embodiment, since the history data is notified in response to the instruction requesting the locking or unlocking control being executed to the authentication system 2, the user X1 has no intention to lock or unlock. However, the possibility that unnecessary history data is notified is reduced. In other words, it is possible to set the range of the first communication area wider while reducing unnecessary notification of history data.
 (3)変形例
 上記実施形態は、本開示の様々な実施形態の一つに過ぎない。上記実施形態は、本開示の目的を達成できれば、設計等に応じて種々の変更が可能である。また、上記実施形態に係る携帯端末1と同様の機能は、携帯端末1の制御方法、コンピュータプログラム、又はコンピュータプログラムを記録した非一時的記録媒体等で具現化されてもよい。
(3) Modifications The above embodiment is merely one of various embodiments of the present disclosure. The above embodiment can be variously modified according to the design and the like as long as the object of the present disclosure can be achieved. Further, functions similar to those of the mobile terminal 1 according to the above-described embodiment may be embodied by a control method of the mobile terminal 1, a computer program, a non-transitory recording medium storing the computer program, or the like.
 以下、上記実施形態の変形例を列挙する。以下に説明する変形例は、適宜組み合わせて適用可能である。なお、以下では、上記実施形態を「基本例」と呼ぶこともある。 変 形 Hereinafter, modifications of the above embodiment will be listed. The modifications described below can be applied in appropriate combinations. In the following, the above embodiment may be referred to as a “basic example”.
 本開示における携帯端末1は、コンピュータシステムを含んでいる。コンピュータシステムは、ハードウェアとしてのプロセッサ及びメモリを主構成とする。コンピュータシステムのメモリに記録されたプログラムをプロセッサが実行することによって、本開示における携帯端末1としての機能が実現される。プログラムは、コンピュータシステムのメモリに予め記録されてもよく、電気通信回線を通じて提供されてもよく、コンピュータシステムで読み取り可能なメモリカード、光学ディスク、ハードディスクドライブ等の非一時的記録媒体に記録されて提供されてもよい。コンピュータシステムのプロセッサは、半導体集積回路(IC)又は大規模集積回路(LSI)を含む1ないし複数の電子回路で構成される。ここでいうIC又はLSI等の集積回路は、集積の度合いによって呼び方が異なっており、システムLSI、VLSI(Very Large Scale Integration)、又はULSI(Ultra Large Scale Integration)と呼ばれる集積回路を含む。さらに、LSIの製造後にプログラムされる、FPGA(Field-Programmable Gate Array)、又はLSI内部の接合関係の再構成若しくはLSI内部の回路区画の再構成が可能な論理デバイスについても、プロセッサとして採用することができる。複数の電子回路は、1つのチップに集約されていてもよいし、複数のチップに分散して設けられていてもよい。複数のチップは、1つの装置に集約されていてもよいし、複数の装置に分散して設けられていてもよい。 携 帯 The mobile terminal 1 according to the present disclosure includes a computer system. The computer system mainly has a processor and a memory as hardware. The functions of the mobile terminal 1 according to the present disclosure are realized by the processor executing the program recorded in the memory of the computer system. The program may be pre-recorded in a memory of the computer system, may be provided through an electric communication line, or may be recorded in a non-transitory recording medium such as a memory card, an optical disk, and a hard disk drive that can be read by the computer system. May be provided. A processor of a computer system is composed of one or more electronic circuits including a semiconductor integrated circuit (IC) or a large-scale integrated circuit (LSI). An integrated circuit such as an IC or an LSI here is called differently depending on the degree of integration, and includes an integrated circuit called a system LSI, a VLSI (Very Large Scale Integration), or an ULSI (Ultra Large Scale Integration). Furthermore, an FPGA (Field-Programmable Gate Array), which is programmed after the manufacture of the LSI, or a logic device capable of reconfiguring the connection relation inside the LSI or reconfiguring the circuit section inside the LSI, is also adopted as the processor. Can be. A plurality of electronic circuits may be integrated on one chip, or may be provided separately on a plurality of chips. A plurality of chips may be integrated in one device, or may be provided separately in a plurality of devices.
 また、携帯端末1及び電気錠制御装置4の各々における複数の機能が、1つの筐体に集約されていることは携帯端末1及び電気錠制御装置4に必須の構成ではない。例えば、携帯端末1及び電気錠制御装置4の各々の構成要素は、複数の筐体に分散して設けられていてもよい。さらに、制御部10等、携帯端末1の少なくとも一部の機能は、例えば、クラウド(クラウドコンピューティング)等によって実現されてもよい。反対に、上記実施形態のように、携帯端末1の全ての機能が、1つの筐体に集約されていてもよい。同様に、電気錠制御装置4の少なくとも一部の機能は、例えば、クラウド等によって実現されてもよい。 The fact that a plurality of functions in each of the mobile terminal 1 and the electric lock control device 4 are integrated in one housing is not an essential configuration for the mobile terminal 1 and the electric lock control device 4. For example, each component of the portable terminal 1 and the electric lock control device 4 may be provided separately in a plurality of housings. Furthermore, at least a part of the functions of the mobile terminal 1 such as the control unit 10 may be realized by, for example, a cloud (cloud computing). Conversely, as in the above embodiment, all functions of the mobile terminal 1 may be integrated in one housing. Similarly, at least a part of the function of the electric lock control device 4 may be realized by, for example, a cloud.
 (3.1)変形例1
 以下、図4を参照しながら本変形例(変形例1)の電気錠制御システムA1について説明する。図4は、変形例1の電気錠制御システムA1の動作を説明するシーケンス図である。なお、図4は、説明の便宜上、基本例の図3のシーケンス図に対して異なる要部だけを示す。
(3.1) Modification 1
Hereinafter, the electric lock control system A1 of the present modification (Modification 1) will be described with reference to FIG. FIG. 4 is a sequence diagram illustrating the operation of the electric lock control system A1 according to the first modification. Note that FIG. 4 shows only main parts different from the sequence diagram of FIG. 3 of the basic example for convenience of explanation.
 基本例では、鍵送信部101が鍵信号K1の送信を実行した後(鍵送信ステップの実行後)、指示信号R1を認証システム2の電気錠制御装置4に送信するための所定の条件が、携帯端末1に対して所定の操作が行われることである。しかし、変形例1では、所定の条件とは、鍵信号K1の送信を実行した以降において(鍵送信ステップから)規定の時間T1(図4参照)が経過することである。携帯端末1は、内蔵されるタイマを用いて、規定の時間T1を計時する。 In the basic example, after the key transmission unit 101 executes transmission of the key signal K1 (after execution of the key transmission step), a predetermined condition for transmitting the instruction signal R1 to the electric lock control device 4 of the authentication system 2 is as follows. That is, a predetermined operation is performed on the mobile terminal 1. However, in the first modified example, the predetermined condition is that a specified time T1 (see FIG. 4) elapses after the transmission of the key signal K1 (from the key transmission step). The mobile terminal 1 uses a built-in timer to measure a specified time T1.
 変形例1では、規定の時間T1の開始タイミングは、例えば、鍵データの認証が完了(成功)したタイミングとする。言い換えると、規定の時間T1の開始タイミングは、認証の成功を示す認証結果信号N1を受信したタイミングとする。ただし、規定の時間T1の開始タイミングは、認証結果信号N1を受信したタイミングではなく、例えば、鍵信号K1を送信したタイミングでもよい。 In the first modification, the start timing of the prescribed time T1 is, for example, a timing at which the authentication of the key data is completed (successful). In other words, the start timing of the prescribed time T1 is a timing at which the authentication result signal N1 indicating the success of the authentication is received. However, the start timing of the prescribed time T1 may be, for example, the timing of transmitting the key signal K1, instead of the timing of receiving the authentication result signal N1.
 変形例1の携帯端末1は、解錠又は施錠の要求を受け付ける操作領域を表示し(ST6)、例えば、ユーザX1が操作領域にタッチ操作した時点で規定の時間T1が既に経過していれば、そのまま指示信号R1を送信する(ST7)。一方、ユーザX1が当該操作領域にタッチ操作した時点で規定の時間T1が経過していなければ、携帯端末1は、規定の時間T1が経過するまで指示信号R1の送信を保留する。そして、携帯端末1は、規定の時間T1が経過した時点で指示信号R1を送信する。 The mobile terminal 1 according to the first modification displays an operation area for receiving a request for unlocking or locking (ST6). For example, if the specified time T1 has already elapsed when the user X1 performs a touch operation on the operation area. Then, the instruction signal R1 is transmitted as it is (ST7). On the other hand, if the specified time T1 has not elapsed when the user X1 touches the operation area, the portable terminal 1 suspends transmission of the instruction signal R1 until the specified time T1 has elapsed. Then, the portable terminal 1 transmits the instruction signal R1 when the prescribed time T1 has elapsed.
 この構成によれば、規定の時間T1が設定されておらず鍵信号K1と指示信号R1とが連なって送信される場合に比べて、不要な履歴データが通知される可能性をより低減できる。 According to this configuration, it is possible to further reduce the possibility that unnecessary history data is notified as compared with the case where the specified time T1 is not set and the key signal K1 and the instruction signal R1 are transmitted in succession.
 (3.2)変形例2
 あるいは、指示信号R1を認証システム2の電気錠制御装置4に送信するための所定の条件は、携帯端末1が「特定の信号」を認証システム2から受信することであってもよい。特定の信号とは、例えば、基本例における電波強度値が閾値を超えたことを示す閾値信号M1であってもよい。
(3.2) Modification 2
Alternatively, the predetermined condition for transmitting the instruction signal R1 to the electric lock control device 4 of the authentication system 2 may be that the mobile terminal 1 receives a “specific signal” from the authentication system 2. The specific signal may be, for example, a threshold signal M1 indicating that the radio wave intensity value in the basic example has exceeded a threshold.
 また基本例では、携帯端末1の制御部10は、閾値信号M1を電気錠制御装置4から受信するまでは、解錠又は施錠の要求を受け付ける操作領域を表示しなかった。しかし、鍵信号K1の送信後、閾値信号M1の受信に関わらず、操作領域が表示されてもよい。 In addition, in the basic example, the control unit 10 of the mobile terminal 1 did not display the operation area for receiving the unlocking or locking request until the threshold signal M1 was received from the electric lock control device 4. However, after the transmission of the key signal K1, the operation area may be displayed regardless of the reception of the threshold signal M1.
 その代わりに、本変形例(変形例2)の携帯端末1は、電気錠制御装置4から閾値信号M1を受信するまでは、指示信号R1を送信しない。要するに、例えば、ユーザX1が操作領域にタッチ操作した時点で、既に閾値信号M1を受信していれば、そのまま指示信号R1を送信する。一方、ユーザX1が当該操作領域にタッチ操作した時点で、閾値信号M1を受信していなければ、携帯端末1は、閾値信号M1を受信するまで指示信号R1の送信を保留する。そして、携帯端末1は、閾値信号M1を受信した時点で指示信号R1を送信する。ただし、この場合、携帯端末1は、電気錠制御装置4のある扉71に近づくように催促する旨を表示部12に表示することが望ましい。 Instead, the portable terminal 1 of the present modification (Modification 2) does not transmit the instruction signal R1 until receiving the threshold signal M1 from the electric lock control device 4. In short, for example, if the threshold signal M1 has already been received when the user X1 touches the operation area, the instruction signal R1 is transmitted as it is. On the other hand, if the threshold signal M1 is not received when the user X1 touches the operation area, the portable terminal 1 suspends the transmission of the instruction signal R1 until the threshold signal M1 is received. Then, the portable terminal 1 transmits the instruction signal R1 when receiving the threshold signal M1. However, in this case, it is desirable that the portable terminal 1 display on the display unit 12 a message that prompts the user to approach the door 71 where the electric lock control device 4 is located.
 この構成によれば、特定の信号(例えば閾値信号M1)を受信した場合に、指示信号R1が認証システム2に送信されるため、不要な履歴データが通知される可能性をより低減できる。 According to this configuration, when a specific signal (for example, the threshold signal M1) is received, the instruction signal R1 is transmitted to the authentication system 2, so that the possibility of notifying unnecessary history data can be further reduced.
 ところで、基本例では、ユーザX1が携帯端末1の表示部12に表示される操作領域にタッチ操作することで、携帯端末1が、解錠又は施錠の要求を受け付けて指示を出すものである。しかし、携帯端末1が鍵信号K1の送信を行う一方で、解錠又は施錠の要求は、扉71の外側に設置された操作装置8に対する操作により受け付けられてもよい。この場合、認証システム2から受信する「特定の信号」とは、操作装置8から無線通信により直接携帯端末1が受信する、解錠又は施錠の要求を含む操作信号であってもよい。携帯端末1は、操作装置8から受信する操作信号に基づいて、指示信号R1を電気錠制御装置4に送信してもよい。この場合、要求元は操作装置8で、指示元は携帯端末1となる。なお、操作装置8から出力される操作信号は、一旦電気錠制御装置4を経由して、電気錠制御装置4から携帯端末1に送信されてもよい。 By the way, in the basic example, when the user X1 touches the operation area displayed on the display unit 12 of the mobile terminal 1, the mobile terminal 1 receives an unlocking or locking request and issues an instruction. However, while the portable terminal 1 transmits the key signal K1, the unlocking or locking request may be accepted by operating the operation device 8 installed outside the door 71. In this case, the “specific signal” received from the authentication system 2 may be an operation signal including a request for unlocking or locking, which is received by the mobile terminal 1 directly from the operating device 8 by wireless communication. The portable terminal 1 may transmit the instruction signal R1 to the electric lock control device 4 based on the operation signal received from the operation device 8. In this case, the request source is the operation device 8, and the instruction source is the mobile terminal 1. Note that the operation signal output from the operation device 8 may be transmitted from the electric lock control device 4 to the portable terminal 1 via the electric lock control device 4 once.
 (3.3)変形例3
 指示信号R1を送信するための所定の条件は、認証システム2の電気錠制御装置4が受信した携帯端末1の電波強度値が、閾値を超えることであってもよい。これは、基本例及び変形例2のように閾値信号M1を受信する場合も含むが、それだけではなく、閾値処理を実行する装置が、電気錠制御装置4に限定されないという意味も含む。
(3.3) Modification 3
The predetermined condition for transmitting the instruction signal R1 may be that the radio field intensity value of the portable terminal 1 received by the electric lock control device 4 of the authentication system 2 exceeds a threshold value. This includes the case where the threshold signal M1 is received as in the basic example and the modified example 2, but also includes the meaning that the device that executes the threshold processing is not limited to the electric lock control device 4.
 つまり、基本例及び変形例2では、電気錠制御装置4が携帯端末1の電波強度値を計測し、更に、閾値と比較する閾値処理(図3のST4)も、電気錠制御装置4が行なっている。しかし、閾値処理は、携帯端末1で行われてもよい。比較する閾値は、携帯端末1の記憶部14に予め記憶されていてもよい。要するに、電気錠制御装置4が携帯端末1に送信する閾値信号M1は、電波強度値が閾値を超えたという判定結果ではなく、計測された電波強度値を含んでもよい。この場合、電気錠制御装置4は、鍵信号K1の受信以降、閾値信号M1を継続的に送信することが望ましい。 That is, in the basic example and the modified example 2, the electric lock control device 4 measures the radio field intensity value of the portable terminal 1 and further performs a threshold process (ST4 in FIG. 3) for comparing with the threshold value. ing. However, the threshold processing may be performed by the mobile terminal 1. The threshold to be compared may be stored in the storage unit 14 of the mobile terminal 1 in advance. In short, the threshold signal M1 transmitted from the electric lock control device 4 to the portable terminal 1 may include the measured radio field intensity value, not the determination result that the radio field intensity value has exceeded the threshold value. In this case, it is desirable that the electric lock control device 4 continuously transmits the threshold signal M1 after receiving the key signal K1.
 また所定の条件は、携帯端末1が受信した電気錠制御装置4の電波強度値が、閾値を超えることであることであってもよい。つまり、携帯端末1が、電気錠制御装置4の電波強度値を計測し、更に、閾値と比較する閾値処理も携帯端末1が行なってもよい。 The predetermined condition may be that the radio field intensity value of the electric lock control device 4 received by the mobile terminal 1 exceeds a threshold value. That is, the mobile terminal 1 may measure the radio wave intensity value of the electric lock control device 4 and perform a threshold process for comparing with the threshold value.
 (3.4)その他の変形例
 基本例では、携帯端末1は、スマートフォン、タブレット端末等の携帯可能な情報端末であるが、情報端末でなくてもよい。携帯端末1は、例えばユーザX1が所持する鞄などに収容又は取付可能な電子タグ等であってもよい。
(3.4) Other Modifications In the basic example, the mobile terminal 1 is a portable information terminal such as a smartphone or a tablet terminal, but need not be an information terminal. The mobile terminal 1 may be, for example, an electronic tag or the like that can be housed or attached to a bag or the like carried by the user X1.
 携帯端末1が電子タグ等である場合、変形例2で説明したように、解錠又は施錠の要求は、扉71の外側に設置された操作装置8への操作入力等により受け付けられてもよい。 When the mobile terminal 1 is an electronic tag or the like, as described in the second modification, the unlocking or locking request may be received by an operation input or the like to the operating device 8 installed outside the door 71. .
 基本例では、履歴データは、電気錠3の施解錠の状態に関するデータを含むことを想定していた。しかし、履歴データは、施解錠の状態ではなく、電気錠3の施解錠の状態変化に関するデータを含んでもよい。要するに、履歴データは、電気錠3の状態が施錠から解錠に変化したとき、又は、解錠から施錠に変化したときだけ、通知されてもよい。この場合、例えば、解錠の要求を指示したにも関わらず、制御エラー等により、電気錠3の状態が解錠に変化していなければ、携帯端末1は、履歴データを通知しない。 (4) In the basic example, it is assumed that the history data includes data relating to the locking / unlocking state of the electric lock 3. However, the history data may include data relating to a change in the lock / unlock state of the electric lock 3 instead of the lock / unlock state. In short, the history data may be notified only when the state of the electric lock 3 changes from locked to unlocked, or when the state changes from unlocked to locked. In this case, for example, the mobile terminal 1 does not notify the history data unless the state of the electric lock 3 has been changed to unlocked due to a control error or the like even though the unlock request has been instructed.
 また履歴データは、電気錠3の施解錠の状態又は状態変化だけではく、電気錠3、電気錠制御装置4、又は鍵として機能する携帯端末1に関する状態又は状態変化を含んでもよい。具体的には、履歴データは、例えば、携帯端末1の鍵情報又はメールアドレス情報等の新規登録、登録内容の変更(削除も含む)に関する情報を含んでもよい。また履歴データは、電気錠3、電気錠制御装置4、及び携帯端末1等の電源状態又は電源状態の変化、これらで発生する異常の有無、異常の内容等を含んでもよい。 The history data may include not only the state or state change of the lock / unlock of the electric lock 3 but also the state or state change of the electric lock 3, the electric lock control device 4, or the portable terminal 1 functioning as a key. Specifically, the history data may include, for example, information on new registration such as key information or mail address information of the mobile terminal 1 and change (including deletion) of registered content. In addition, the history data may include the power state of the electric lock 3, the electric lock control device 4, and the portable terminal 1 or a change in the power state, the presence or absence of an abnormality generated thereby, the content of the abnormality, and the like.
 基本例では、「電気錠3側の状態」とは、電気錠3自体の状態であった。しかし、「電気錠3側の状態」とは、電気錠3の施解錠状態ではなく、扉71の開閉状態又は開閉の状態変化に相当してもよい。この場合、電気錠制御システムA1は、例えば、扉71の開閉状態を監視する開閉センサ(不図示)を更に備えることが望ましい。電気錠制御装置4は、開閉センサと電気的に接続されていて、開閉センサから受信する開閉状態(又は状態変化)に関する信号に基づき、扉71の開閉状態(又は状態変化)に関する情報とのその時刻とを要求応答信号V2に含めて送信する。そして、携帯端末1が対象機器5に通知する履歴データは、扉71の開閉状態(又は状態変化)に関するデータを含む。 で は In the basic example, “the state of the electric lock 3” is the state of the electric lock 3 itself. However, the “state on the electric lock 3 side” may correspond to the open / closed state of the door 71 or a change in the open / closed state instead of the locked / unlocked state of the electric lock 3. In this case, the electric lock control system A1 preferably further includes, for example, an open / close sensor (not shown) that monitors the open / close state of the door 71. The electric lock control device 4 is electrically connected to the opening / closing sensor and, based on a signal about the opening / closing state (or state change) received from the opening / closing sensor, generates information on the opening / closing state (or state change) of the door 71 and the information thereof. The time is transmitted in the request response signal V2. The history data notified by the mobile terminal 1 to the target device 5 includes data on the open / closed state (or state change) of the door 71.
 また履歴データが、扉71の開閉状態又は状態変化を含む場合、更に、電気錠3の施解錠状態又は状態変化も含んでもよい。具体的には、履歴データは、複数のデータから構成されてもよい。履歴データは、例えば、「18時30分00秒:玄関扉の錠が解錠されました」という第1データと「18時30分10秒:玄関扉が開かれました」という第2データとから構成されてもよい。第1データと第2データとは、1通の電子メールで送信されてもよいし、異なる2通の電子メールで順次送信されてもよい。 When the history data includes the open / closed state of the door 71 or the state change, the history data may further include the locked / unlocked state or the state change of the electric lock 3. Specifically, the history data may be composed of a plurality of data. The history data includes, for example, first data “18:30:00: The door has been unlocked” and second data “18:30:10: The door has been opened”. And may be composed of The first data and the second data may be transmitted by one e-mail, or may be sequentially transmitted by two different e-mails.
 基本例の携帯端末1では、鍵信号K1の送信後に、指示信号R1を送信している。しかし、この順は逆でもよく、指示信号R1を先に送信してから、鍵信号K1を送信してもよい。この場合、電気錠制御装置4は、指示信号R1を受信しても、その要求をプールしておき、鍵信号K1を受信して鍵データの認証に成功してから、プールしていた指示信号R1の要求に従ってもよい。 In the portable terminal 1 of the basic example, after transmitting the key signal K1, the instruction signal R1 is transmitted. However, the order may be reversed, and the key signal K1 may be transmitted after transmitting the instruction signal R1 first. In this case, even if the electric lock control device 4 receives the instruction signal R1, the request is pooled, the key signal K1 is received, and the key data is successfully authenticated. The request of R1 may be followed.
 基本例では、携帯端末1が、解錠又は施錠の要求を受け付けて指示を出すものである(要求元及び指示元が携帯端末1)。また変形例2では、要求元は操作装置8で、指示元は携帯端末1となる場合を説明した。しかし、携帯端末1が鍵信号K1の送信を行う一方で、解錠又は施錠の要求は、操作装置8に対する操作により受け付けられ、指示(指示信号)も、操作装置8が、直接電気錠制御装置4に出してもよい。つまり、要求元及び指示元の両方が、操作装置8であってもよい。 In the basic example, the mobile terminal 1 receives an unlocking or locking request and issues an instruction (the requesting source and the instruction source are the mobile terminal 1). In the second modification, the case where the request source is the operation device 8 and the instruction source is the mobile terminal 1 has been described. However, while the mobile terminal 1 transmits the key signal K1, a request for unlocking or locking is received by operating the operation device 8, and an instruction (instruction signal) is also transmitted directly to the electric lock control device by the operation device 8. 4 That is, both the request source and the instruction source may be the operation device 8.
 基本例の携帯端末1では、指示信号R1と要求信号V1とが互いに別に送信される。しかし、指示信号R1の送信が、施錠又は解錠の制御を要求する指示だけでなく、履歴データに関する情報の要求も兼ねていてもよい。この場合、電気錠制御装置4は、指示信号R1を受信することで、電気錠3の制御後に、履歴データに関する情報の送信も兼ねた指示応答信号R2を送信する。 In the portable terminal 1 of the basic example, the instruction signal R1 and the request signal V1 are transmitted separately from each other. However, the transmission of the instruction signal R1 may serve not only as an instruction requesting control of locking or unlocking but also as a request for information regarding history data. In this case, after receiving the instruction signal R1, the electric lock control device 4 transmits an instruction response signal R2 which also serves to transmit information on history data after controlling the electric lock 3.
 また携帯端末1においては、履歴データに関する情報を電気錠制御装置4に要求して受信すること自体も、必須の構成ではない。つまり、携帯端末1の側では、指示信号R1を送信した時点で、施解錠の状態が変わることは推定されるため、携帯端末1は、送信した指示信号R1の内容に基づいて履歴データを生成し、対象機器5に通知してもよい。また携帯端末1は、予め保持している履歴データを対象機器5に通知してもよい。 Also, in the portable terminal 1, requesting and receiving information related to the history data from the electric lock control device 4 is not an essential configuration. That is, it is estimated that the state of locking and unlocking changes at the time of transmitting the instruction signal R1 on the side of the mobile terminal 1, and therefore the mobile terminal 1 generates history data based on the content of the transmitted instruction signal R1. Then, the target device 5 may be notified. Further, the mobile terminal 1 may notify the target device 5 of the history data stored in advance.
 基本例では、電気錠制御装置4は、鍵信号K1の受信をトリガーとして閾値処理を行なっているが、鍵信号K1の受信とは無関係に閾値処理を開始してもよい。 In the basic example, the electric lock control device 4 performs the threshold processing with the reception of the key signal K1 as a trigger, but may start the threshold processing irrespective of the reception of the key signal K1.
 基本例では、電気錠制御装置4が操作装置8と別体となっているが、互いに一体となっていてもよい。すなわち、認証システム2は、1つの筐体内に電気錠制御装置4及び操作装置8の機能が収まった認証装置でもよい。 In the basic example, the electric lock control device 4 is separate from the operation device 8, but may be integrated with each other. That is, the authentication system 2 may be an authentication device in which the functions of the electric lock control device 4 and the operation device 8 are contained in one housing.
 また基本例では、電気錠制御装置4が、鍵データの認証処理と電気錠3の施解錠制御の両方を行なっている。しかし、認証処理は、電気錠制御装置4とは別体に設けられて電気錠制御装置4と通信可能な認証サーバ装置で行われてもよい。 In the basic example, the electric lock control device 4 performs both the authentication processing of the key data and the locking / unlocking control of the electric lock 3. However, the authentication process may be performed by an authentication server device provided separately from the electric lock control device 4 and capable of communicating with the electric lock control device 4.
 基本例では、履歴データが、電子メールにより対象機器5に通知される。しかし、履歴データは、電子メールに限らず、例えば対象機器5を携帯するユーザの能動的な操作を必要とすることなく情報を通知させるプッシュ型情報配信、いわゆる「プッシュ通知」により通知されてもよい。 In the basic example, the history data is notified to the target device 5 by e-mail. However, the history data is not limited to e-mail, and may be notified, for example, by push-type information distribution for notifying information without requiring an active operation of the user carrying the target device 5, that is, so-called “push notification”. Good.
 (4)利点
 以上説明したように、第1の態様に係る制御方法は、携帯端末(1)の制御方法である。制御方法は、鍵送信ステップと、履歴通知ステップと、を含む。鍵送信ステップでは、電気錠(3)の施錠又は解錠の制御に関する鍵データの認証を行う認証システム(2)に対して、少なくとも鍵データを含む鍵信号(K1)を送信する。履歴通知ステップでは、上記制御を要求する指示が認証システム(2)に対して実行されたことに伴って、履歴データを所定の対象機器(5)に通知する。履歴データは、上記制御に対応する、電気錠(3)側の状態及び状態変化のうち少なくとも1つに関するデータを含む。第1の態様によれば、上記制御を要求する指示が認証システム(2)に対して実行されたことに伴って、履歴データが通知されるので、不要な履歴データが通知される可能性が低減される。したがって、不要な通信データの通信量の低減を図ることが可能な制御方法を提供できる。
(4) Advantage As described above, the control method according to the first aspect is a control method for the mobile terminal (1). The control method includes a key transmission step and a history notification step. In the key transmission step, a key signal (K1) including at least the key data is transmitted to an authentication system (2) that authenticates key data relating to locking or unlocking of the electric lock (3). In the history notification step, the history data is notified to a predetermined target device (5) in response to the instruction requesting the control being executed for the authentication system (2). The history data includes data relating to at least one of a state and a state change on the side of the electric lock (3) corresponding to the above control. According to the first aspect, since the history data is notified when the instruction requesting the control is executed to the authentication system (2), there is a possibility that unnecessary history data is notified. Reduced. Therefore, it is possible to provide a control method capable of reducing the communication amount of unnecessary communication data.
 第2の態様に係る制御方法に関して、第1の態様において、認証システム(2)に対して上記指示を含む指示信号(R1)を送信する、指示送信ステップを、更に含むことが好ましい。第2の態様によれば、指示信号(R1)が認証システム(2)に送信されたことに伴って、履歴データが通知されるので、不要な履歴データが通知される可能性を更に低減できる。 Regarding the control method according to the second aspect, the first aspect preferably further comprises an instruction transmitting step of transmitting an instruction signal (R1) including the instruction to the authentication system (2). According to the second aspect, the history data is notified in accordance with the transmission of the instruction signal (R1) to the authentication system (2), so that the possibility that unnecessary history data is notified can be further reduced. .
 第3の態様に係る制御方法に関して、第2の態様において、指示送信ステップでは、鍵送信ステップの実行後、所定の条件を満たした場合のみ、指示信号(R1)を送信することが好ましい。第3の態様によれば、所定の条件を満たした場合のみ指示信号(R1)が認証システム(2)に送信されるため、不要な履歴データが通知される可能性をより低減できる。 Regarding the control method according to the third aspect, in the second aspect, in the instruction transmitting step, it is preferable that the instruction signal (R1) is transmitted only when a predetermined condition is satisfied after execution of the key transmitting step. According to the third aspect, since the instruction signal (R1) is transmitted to the authentication system (2) only when a predetermined condition is satisfied, the possibility that unnecessary history data is notified can be further reduced.
 第4の態様に係る制御方法に関して、第3の態様において、所定の条件とは、携帯端末(1)に対して所定の操作が行われることであることが好ましい。第4の態様によれば、携帯端末(1)に対して所定の操作が行われた場合に、指示信号(R1)が認証システム(2)に送信されるため、不要な履歴データが通知される可能性をより低減できる。 Regarding the control method according to the fourth aspect, in the third aspect, it is preferable that the predetermined condition is that a predetermined operation is performed on the portable terminal (1). According to the fourth aspect, when a predetermined operation is performed on the mobile terminal (1), the instruction signal (R1) is transmitted to the authentication system (2), so that unnecessary history data is notified. Possibility can be further reduced.
 第5の態様に係る制御方法に関して、第3の態様において、所定の条件とは、鍵送信ステップから規定の時間(T1)が経過することであることが好ましい。第5の態様によれば、規定の時間(T1)が設定されておらず鍵信号(K1)と指示信号(R1)とが連なって送信される場合に比べて、不要な履歴データが通知される可能性をより低減できる。 Regarding the control method according to the fifth aspect, in the third aspect, it is preferable that the predetermined condition is that a specified time (T1) has elapsed from the key transmission step. According to the fifth aspect, unnecessary history data is notified as compared with the case where the specified time (T1) is not set and the key signal (K1) and the instruction signal (R1) are transmitted in succession. Possibility can be further reduced.
 第6の態様に係る制御方法に関して、第3の態様において、所定の条件とは、認証システム(2)が受信した携帯端末(1)の電波強度値が、閾値を超えることであることが好ましい。第6の態様によれば、電波強度値が閾値を超えた場合に、指示信号(R1)が認証システム(2)に送信されるため、不要な履歴データが通知される可能性をより低減できる。 Regarding the control method according to the sixth aspect, in the third aspect, it is preferable that the predetermined condition is that a radio field intensity value of the portable terminal (1) received by the authentication system (2) exceeds a threshold value. . According to the sixth aspect, when the radio field intensity value exceeds the threshold, the instruction signal (R1) is transmitted to the authentication system (2), so that the possibility of notifying unnecessary history data can be further reduced. .
 第7の態様に係る制御方法に関して、第3の態様において、所定の条件とは、携帯端末(1)が受信した認証システム(2)の電波強度値が、閾値を超えることであることが好ましい。第7の態様によれば、電波強度値が閾値を超えた場合に、指示信号(R1)が認証システム(2)に送信されるため、不要な履歴データが通知される可能性をより低減できる。 Regarding the control method according to the seventh aspect, in the third aspect, it is preferable that the predetermined condition is that a radio field intensity value of the authentication system (2) received by the mobile terminal (1) exceeds a threshold value. . According to the seventh aspect, when the radio field intensity value exceeds the threshold, the instruction signal (R1) is transmitted to the authentication system (2), so that the possibility that unnecessary history data is notified can be further reduced. .
 第8の態様に係る制御方法に関して、第3の態様において、所定の条件とは、携帯端末(1)が特定の信号を認証システム(2)から受信することであることが好ましい。第8の態様によれば、携帯端末(1)が特定の信号を受信した場合に、指示信号(R1)が認証システム(2)に送信されるため、不要な履歴データが通知される可能性をより低減できる。 Regarding the control method according to the eighth aspect, in the third aspect, it is preferable that the predetermined condition is that the mobile terminal (1) receives a specific signal from the authentication system (2). According to the eighth aspect, when the mobile terminal (1) receives a specific signal, the instruction signal (R1) is transmitted to the authentication system (2), so that unnecessary history data may be notified. Can be further reduced.
 第9の態様に係る制御方法に関して、第1の態様において、上記指示は、認証システム(2)が備える操作装置(8)に対する操作に応じて実行されることが好ましい。第9の態様によれば、操作装置(8)に対する操作が実行されたことに伴って、履歴データが通知されるので、不要な履歴データが通知される可能性を低減できる。 Regarding the control method according to the ninth aspect, in the first aspect, it is preferable that the instruction is executed in response to an operation on an operation device (8) provided in the authentication system (2). According to the ninth aspect, the history data is notified when the operation on the operation device (8) is performed, so that the possibility of notifying unnecessary history data can be reduced.
 第10の態様に係る制御方法に関して、第1~第9の態様のいずれか1つにおいて、履歴通知ステップでは、電子メールにより、履歴データを所定の対象機器(5)に通知することが好ましい。第10の態様によれば、簡易な構成でありながら、履歴データの通知を実現できる。 Regarding the control method according to the tenth aspect, in any one of the first to ninth aspects, in the history notification step, it is preferable that the history data is notified to a predetermined target device (5) by e-mail. According to the tenth aspect, notification of history data can be realized with a simple configuration.
 第11の態様に係る制御方法に関して、第1~第10の態様のいずれか1つにおいて、鍵送信ステップにおける鍵信号(K1)は、携帯端末(1)上で動作する第1アプリケーションにより送信されることが好ましい。また履歴通知ステップにおける履歴データは、第1アプリケーションと異なり、かつ携帯端末(1)上で動作する第2アプリケーションにより通知されることが好ましい。第11の態様によれば、鍵送信ステップと履歴通知ステップとでアプリケーションが異なるため、例えば、履歴データの送信手段を別の送信手段に、容易に置き換えることができる。 Regarding the control method according to the eleventh aspect, in any one of the first to tenth aspects, the key signal (K1) in the key transmitting step is transmitted by a first application operating on the mobile terminal (1). Is preferred. It is preferable that the history data in the history notifying step is notified by a second application different from the first application and operating on the mobile terminal (1). According to the eleventh aspect, since the application is different between the key transmission step and the history notification step, for example, the transmission means of the history data can be easily replaced with another transmission means.
 第12の態様に係るプログラムは、コンピュータシステムに第1~第11の態様のいずれか1つにおける制御方法を実行させるためのプログラムである。第12の態様によれば、不要な通信データの通信量の低減を図ることが可能な機能を提供できる。なお、非一時的なコンピュータ可読媒体が、上記プログラムを記憶し、コンピュータシステムによる実行時に、当該コンピュータシステムに、第1~第11の態様のいずれか1つにおける制御方法を実行させてもよい。 The program according to the twelfth aspect is a program for causing a computer system to execute the control method according to any one of the first to eleventh aspects. According to the twelfth aspect, a function capable of reducing the communication amount of unnecessary communication data can be provided. The non-transitory computer-readable medium may store the program and cause the computer system to execute the control method according to any one of the first to eleventh aspects when executed by the computer system.
 第13の態様に係る携帯端末(1)は、鍵送信部(101)と、履歴通知部(102)と、を備える。鍵送信部(101)は、電気錠(3)の施錠又は解錠の制御に関する鍵データの認証を行う認証システム(2)に対して、少なくとも鍵データを含む鍵信号(K1)を送信する。履歴通知部(102)は、上記制御を要求する指示が認証システム(2)に対して実行されたことに伴って、履歴データを所定の対象機器(5)に通知する。履歴データは、上記制御に対応する、電気錠(3)側の状態及び状態変化のうち少なくとも1つに関するデータを含む。第13の態様によれば、不要な通信データの通信量の低減を図ることができる。 The mobile terminal (1) according to the thirteenth aspect includes a key transmitting unit (101) and a history notifying unit (102). The key transmitting unit (101) transmits a key signal (K1) including at least key data to an authentication system (2) that authenticates key data related to locking or unlocking of the electric lock (3). The history notifying unit (102) notifies the predetermined target device (5) of the history data in response to the instruction requesting the control being executed for the authentication system (2). The history data includes data relating to at least one of a state and a state change on the side of the electric lock (3) corresponding to the above control. According to the thirteenth aspect, it is possible to reduce the communication amount of unnecessary communication data.
 第14の態様に係る電気錠制御システム(A1)は、第13の態様における携帯端末(1)を1又は複数と、認証システム(2)と、を備える。認証システム(2)は、鍵信号(K1)を携帯端末(1)から受信して、鍵データの認証を行う。認証システム(2)は、認証に成功し、かつ上記制御を要求する指示を受け付けると、電気錠(3)に対して指示に応じた制御を行う。第14の態様によれば、不要な通信データの通信量の低減を図ることができる電気錠制御システム(A1)を提供できる。 The electric lock control system (A1) according to the fourteenth aspect includes one or more portable terminals (1) according to the thirteenth aspect and an authentication system (2). The authentication system (2) receives the key signal (K1) from the mobile terminal (1) and authenticates key data. When the authentication system (2) succeeds in the authentication and receives an instruction requesting the control, the authentication system (2) controls the electric lock (3) according to the instruction. According to the fourteenth aspect, it is possible to provide an electric lock control system (A1) capable of reducing the amount of communication of unnecessary communication data.
 第2~11の態様に係る構成については、携帯端末(1)の制御方法に必須の構成ではなく、適宜省略可能である。 The configurations according to the second to eleventh aspects are not essential to the control method of the mobile terminal (1) and can be omitted as appropriate.
 A1 電気錠制御システム
 1 携帯端末
 101 鍵送信部
 102 履歴通知部
 2 認証システム
 3 電気錠
 5 対象機器
 8 操作装置
 K1 鍵信号
 R1 指示信号
 T1 規定の時間
A1 Electric lock control system 1 Mobile terminal 101 Key transmission unit 102 History notification unit 2 Authentication system 3 Electric lock 5 Target device 8 Operating device K1 Key signal R1 Instruction signal T1 Specified time

Claims (14)

  1.  携帯端末の制御方法であって、
     電気錠の施錠又は解錠の制御に関する鍵データの認証を行う認証システムに対して、少なくとも前記鍵データを含む鍵信号を送信する、鍵送信ステップと、
     前記制御を要求する指示が前記認証システムに対して実行されたことに伴って、履歴データを所定の対象機器に通知する、履歴通知ステップと、
    を含み、
     前記履歴データは、前記制御に対応する、前記電気錠側の状態及び状態変化のうち少なくとも1つに関するデータを含む、
     制御方法。
    A method for controlling a mobile terminal,
    A key transmission step of transmitting a key signal including at least the key data to an authentication system that authenticates key data related to control of locking or unlocking of the electric lock,
    Along with the instruction requesting the control being executed for the authentication system, a history notification step of notifying history data to a predetermined target device,
    Including
    The history data includes data relating to at least one of a state and a state change of the electric lock corresponding to the control.
    Control method.
  2.  前記認証システムに対して前記指示を含む指示信号を送信する、指示送信ステップを、更に含む、
     請求項1に記載の制御方法。
    Transmitting an instruction signal including the instruction to the authentication system, further comprising an instruction transmitting step,
    The control method according to claim 1.
  3.  前記指示送信ステップでは、前記鍵送信ステップの実行後、所定の条件を満たした場合のみ、前記指示信号を送信する、
     請求項2に記載の制御方法。
    In the instruction transmission step, after the execution of the key transmission step, only when a predetermined condition is satisfied, the instruction signal is transmitted,
    The control method according to claim 2.
  4.  前記所定の条件とは、前記携帯端末に対して所定の操作が行われることである、
     請求項3に記載の制御方法。
    The predetermined condition is that a predetermined operation is performed on the mobile terminal.
    The control method according to claim 3.
  5.  前記所定の条件とは、前記鍵送信ステップから規定の時間が経過することである、
     請求項3に記載の制御方法。
    The predetermined condition is that a specified time has elapsed from the key transmission step.
    The control method according to claim 3.
  6.  前記所定の条件とは、前記認証システムが受信した前記携帯端末の電波強度値が、閾値を超えることである、
     請求項3に記載の制御方法。
    The predetermined condition is that the radio field intensity value of the mobile terminal received by the authentication system exceeds a threshold value.
    The control method according to claim 3.
  7.  前記所定の条件とは、前記携帯端末が受信した前記認証システムの電波強度値が、閾値を超えることである、
     請求項3に記載の制御方法。
    The predetermined condition is that a radio field intensity value of the authentication system received by the mobile terminal exceeds a threshold value.
    The control method according to claim 3.
  8.  前記所定の条件とは、前記携帯端末が特定の信号を前記認証システムから受信することである、
     請求項3に記載の制御方法。
    The predetermined condition is that the mobile terminal receives a specific signal from the authentication system,
    The control method according to claim 3.
  9.  前記指示は、前記認証システムが備える操作装置に対する操作に応じて実行される、
     請求項1に記載の制御方法。
    The instruction is executed in response to an operation on an operation device provided in the authentication system,
    The control method according to claim 1.
  10.  前記履歴通知ステップでは、電子メールにより、前記履歴データを前記所定の対象機器に通知する、
     請求項1~9のいずれか1項に記載の制御方法。
    In the history notification step, by email, the history data is notified to the predetermined target device,
    The control method according to any one of claims 1 to 9.
  11.  前記鍵送信ステップにおける前記鍵信号は、前記携帯端末上で動作する第1アプリケーションにより送信され、
     前記履歴通知ステップにおける前記履歴データは、前記第1アプリケーションと異なり、かつ前記携帯端末上で動作する第2アプリケーションにより通知される、
     請求項1~10のいずれか1項に記載の制御方法。
    The key signal in the key transmission step is transmitted by a first application operating on the mobile terminal,
    The history data in the history notification step is different from the first application and is notified by a second application operating on the mobile terminal.
    The control method according to any one of claims 1 to 10.
  12.  コンピュータシステムに請求項1~11のいずれか1項に記載の制御方法を実行させるためのプログラム。 A program for causing a computer system to execute the control method according to any one of claims 1 to 11.
  13.  電気錠の施錠又は解錠の制御に関する鍵データの認証を行う認証システムに対して、少なくとも前記鍵データを含む鍵信号を送信する鍵送信部と、
     前記制御を要求する指示が前記認証システムに対して実行されたことに伴って、履歴データを所定の対象機器に通知する履歴通知部と、
    を備え、
     前記履歴データは、前記制御に対応する、前記電気錠側の状態及び状態変化のうち少なくとも1つに関するデータを含む、
     携帯端末。
    For an authentication system that authenticates key data related to control of locking or unlocking of an electric lock, a key transmission unit that transmits a key signal including at least the key data,
    Along with the instruction requesting the control being executed for the authentication system, a history notification unit that notifies history data to a predetermined target device,
    With
    The history data includes data relating to at least one of a state and a state change of the electric lock corresponding to the control.
    Mobile terminal.
  14.  請求項13に記載の携帯端末を1又は複数と、
     前記鍵信号を前記携帯端末から受信して、前記鍵データの認証を行う前記認証システムと、
    を備え、
     前記認証システムは、前記認証に成功し、かつ前記制御を要求する指示を受け付けると、前記電気錠に対して前記指示に応じた制御を行う、
     電気錠制御システム。
    One or more mobile terminals according to claim 13,
    The authentication system receives the key signal from the mobile terminal, and performs authentication of the key data,
    With
    When the authentication system succeeds in the authentication and receives an instruction requesting the control, the authentication system performs control according to the instruction on the electric lock,
    Electric lock control system.
PCT/JP2019/027065 2018-07-10 2019-07-09 Control method, program, mobile terminal, and electric lock control system WO2020013149A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2018131085A JP7190672B2 (en) 2018-07-10 2018-07-10 Control method, program, mobile terminal, and electric lock control system
JP2018-131085 2018-07-10

Publications (1)

Publication Number Publication Date
WO2020013149A1 true WO2020013149A1 (en) 2020-01-16

Family

ID=69141833

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2019/027065 WO2020013149A1 (en) 2018-07-10 2019-07-09 Control method, program, mobile terminal, and electric lock control system

Country Status (3)

Country Link
JP (1) JP7190672B2 (en)
TW (1) TW202007128A (en)
WO (1) WO2020013149A1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004257072A (en) * 2003-02-25 2004-09-16 Tokyo Gas Co Ltd Confirmation and control sytem for locking condition
JP2015149608A (en) * 2014-02-06 2015-08-20 美和ロック株式会社 history data notification system
JP2016191281A (en) * 2015-03-31 2016-11-10 美和ロック株式会社 Electronic key management unit, electronic key management program, control program of portable wireless terminal and electronic key management system
JP2017106296A (en) * 2015-12-03 2017-06-15 株式会社東芝 Key management program and key management device
JP2017187937A (en) * 2016-04-06 2017-10-12 株式会社ユーエムイー Real estate preview support system, real estate preview support server, real estate preview support program, and computer-readable storage medium

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015148512A (en) * 2014-02-06 2015-08-20 美和ロック株式会社 time correction system
JP2015185002A (en) * 2014-03-25 2015-10-22 美和ロック株式会社 history data notification system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004257072A (en) * 2003-02-25 2004-09-16 Tokyo Gas Co Ltd Confirmation and control sytem for locking condition
JP2015149608A (en) * 2014-02-06 2015-08-20 美和ロック株式会社 history data notification system
JP2016191281A (en) * 2015-03-31 2016-11-10 美和ロック株式会社 Electronic key management unit, electronic key management program, control program of portable wireless terminal and electronic key management system
JP2017106296A (en) * 2015-12-03 2017-06-15 株式会社東芝 Key management program and key management device
JP2017187937A (en) * 2016-04-06 2017-10-12 株式会社ユーエムイー Real estate preview support system, real estate preview support server, real estate preview support program, and computer-readable storage medium

Also Published As

Publication number Publication date
JP7190672B2 (en) 2022-12-16
TW202007128A (en) 2020-02-01
JP2020007828A (en) 2020-01-16

Similar Documents

Publication Publication Date Title
US10904837B2 (en) Systems and methods for controlling electronically operable access devices using WI-FI and radio frequency technology
US10158968B2 (en) Communication method and system
US10453286B2 (en) Bi-directional access control system
US10176655B2 (en) Controlling lockable devices using electronic key
US9947158B2 (en) Access control device commissioning
KR20070120109A (en) Proximity wake-up activation of electronic circuits
KR101963437B1 (en) System and method for doorlock
WO2020013149A1 (en) Control method, program, mobile terminal, and electric lock control system
WO2020013150A1 (en) Control method, program, mobile terminal, and electric lock control system
JP6811426B2 (en) Electric lock system, electric lock device, and program for electric lock
JP7054784B2 (en) Electric lock control system, communication method, and program
JP2014173324A (en) Electric lock system
JP6956378B2 (en) Electric lock control system
JP6890273B2 (en) Electric lock control system, electric lock system, registration method, and program
JP7122623B2 (en) Communication device and communication system
TWI737755B (en) Passive rfid door lock, electronic door lock system and operation method thereof
EP3677743A1 (en) Electronic lock control system, electronic lock system, control method for electronic lock control systems, and program
JP2002227479A (en) System and method for locking/unlocking
EP3962022B1 (en) Control method based on user authentication using detection sensor and device using the same
JP7012248B2 (en) Electric lock control system, key device, electric lock control device, and electric lock system
JP2019035230A (en) Electric lock control system, lock device, electric lock system, control method of electric lock control system, control method of lock device, program of electric lock control system, and program of lock device
CN104933782A (en) Control device of electronic lock
JP2019031834A (en) Electric lock control system, electric lock system and program
JP2019044379A (en) Control method for information terminal, program, and electric lock control system

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19833583

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19833583

Country of ref document: EP

Kind code of ref document: A1