Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP7793319B2 - Lock control system, program, terminal device, and lock control method - Google Patents
[go: Go Back, main page]

JP7793319B2 - Lock control system, program, terminal device, and lock control method - Google Patents

Lock control system, program, terminal device, and lock control method

Info

Publication number
JP7793319B2
JP7793319B2 JP2021146999A JP2021146999A JP7793319B2 JP 7793319 B2 JP7793319 B2 JP 7793319B2 JP 2021146999 A JP2021146999 A JP 2021146999A JP 2021146999 A JP2021146999 A JP 2021146999A JP 7793319 B2 JP7793319 B2 JP 7793319B2
Authority
JP
Japan
Prior art keywords
distance
electronic lock
terminal device
unlocking
lock
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2021146999A
Other languages
Japanese (ja)
Other versions
JP2023008738A (en
Inventor
英亮 川内
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
MinebeaMitsumi Inc
Original Assignee
MinebeaMitsumi Inc
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 MinebeaMitsumi Inc filed Critical MinebeaMitsumi Inc
Priority to PCT/JP2022/025796 priority Critical patent/WO2023277023A1/en
Priority to US18/574,346 priority patent/US12518584B2/en
Publication of JP2023008738A publication Critical patent/JP2023008738A/en
Application granted granted Critical
Publication of JP7793319B2 publication Critical patent/JP7793319B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Lock And Its Accessories (AREA)
  • Position Fixing By Use Of Radio Waves (AREA)

Description

本開示は、錠制御システム、プログラム、端末装置、及び錠制御方法に関する。 This disclosure relates to a lock control system, a program, a terminal device, and a lock control method.

電子錠と、電子錠を制御する端末装置との間の距離に基づいて、電子錠の解錠、又は施錠を制御する錠制御システムが知られている(例えば、特許文献1~3参照)。 Lock control systems are known that control the locking or unlocking of an electronic lock based on the distance between the electronic lock and the terminal device that controls the electronic lock (see, for example, Patent Documents 1 to 3).

特開2010-159698号公報JP 2010-159698 A 特開2016-174370号公報JP 2016-174370 A 特開2003-148017号公報Japanese Patent Application Laid-Open No. 2003-148017

特許文献1~3に示されるような従来の技術では、電子錠と端末装置との間の距離を、例えば、GPS(Global Positioning System)等による位置情報の測位結果に基づいて決定し、決定した距離に基づいて電子錠の解錠を制御している。 In conventional technologies such as those disclosed in Patent Documents 1 to 3, the distance between the electronic lock and the terminal device is determined based on the results of positioning information obtained using, for example, the Global Positioning System (GPS), and the unlocking of the electronic lock is controlled based on the determined distance.

しかし、この方法では、GPS等による位置情報の測位結果には誤差が含まれるため、位置情報の誤検知により、誤って電子錠が解錠されてしまう恐れがある。 However, with this method, there is a risk that the location information obtained using GPS or other methods will contain errors, resulting in the electronic lock being mistakenly unlocked due to incorrect detection of the location information.

本開示は、電子錠の解錠を制御する錠制御システムにおいて、位置情報の誤検知による誤動作を低減する。 This disclosure reduces malfunctions caused by erroneous detection of location information in a lock control system that controls the unlocking of electronic locks.

本開示の一態様に係る錠制御システムは、電子錠と、前記電子錠を制御する端末装置が実行するプログラムとを含む錠制御システムであって、前記プログラムは、前記電子錠と前記端末装置との間の距離を検知する距離検知処理と、前記距離に基づいて前記電子錠の解錠を制御する解錠制御処理と、前記端末装置が、前記電子錠から予め定められた第1の距離以上離れた後、所定の時間を経過する前に、前記電子錠から前記第1の距離より短い予め定められた第2の距離以内に戻った場合、前記解錠制御処理を中止する中止処理と、を前記端末装置に実行させ、前記所定の時間は、前記電子錠から前記第1の距離以上離れた人が、前記電子錠から前記第2の距離以内に戻るために必要な時間より短い。
A lock control system according to one aspect of the present disclosure is a lock control system including an electronic lock and a program executed by a terminal device that controls the electronic lock, wherein the program causes the terminal device to execute a distance detection process that detects the distance between the electronic lock and the terminal device, an unlocking control process that controls the unlocking of the electronic lock based on the distance, and an abort process that aborts the unlocking control process if the terminal device returns to within a predetermined second distance from the electronic lock that is shorter than the first distance after moving away from the electronic lock by more than a predetermined first distance before a predetermined time has elapsed, wherein the predetermined time is shorter than the time required for a person who has moved away from the electronic lock by more than the first distance to return to within the second distance from the electronic lock.

本開示の一態様によれば、電子錠の解錠を制御する錠制御システムにおいて、位置情報の誤検知による誤動作を低減することができる。 According to one aspect of the present disclosure, in a lock control system that controls the unlocking of an electronic lock, it is possible to reduce malfunctions caused by erroneous detection of location information.

一実施形態に係る錠制御システムの構成例を示す図である。FIG. 1 is a diagram illustrating an example of the configuration of a lock control system according to an embodiment. 一実施形態に係る端末装置のハードウェア構成の例を示す図である。FIG. 2 is a diagram illustrating an example of a hardware configuration of a terminal device according to an embodiment. 一実施形態に係る端末装置の処理の概要を示すフローチャート(1)である。1 is a flowchart (1) illustrating an overview of processing of a terminal device according to an embodiment. 一実施形態に係る端末装置の処理の概要を示すフローチャート(2)である。10 is a flowchart (2) illustrating an overview of processing by a terminal device according to an embodiment. 第1の実施形態に係る端末装置の処理の例を示すフローチャート(1)である。10 is a flowchart (1) illustrating an example of processing of a terminal device according to the first embodiment. 第1の実施形態に係る端末装置の処理の例を示すフローチャート(2)である。10 is a flowchart (2) illustrating an example of processing of the terminal device according to the first embodiment. 第2の実施形態に係る端末装置の処理の例を示すフローチャート(1)である。10 is a flowchart (1) illustrating an example of processing of a terminal device according to the second embodiment. 第2の実施形態に係る端末装置の処理の例を示すフローチャート(2)である。10 is a flowchart (2) illustrating an example of processing of the terminal device according to the second embodiment. 一実施形態に係る第1の距離、及び第2の距離について説明するための図である。FIG. 10 is a diagram for explaining a first distance and a second distance according to an embodiment.

以下、図面を参照して、本開示に係る実施形態について説明する。 Embodiments of the present disclosure will be described below with reference to the drawings.

<錠制御システムの構成例>
図1は、一実施形態に係る錠制御システムの構成例を示す図である。錠制御システム1は、電子錠20と、電子錠20を制御する端末装置10とを含む。錠制御システム1は、端末装置10を利用して、電子錠20を解錠、及び施錠するシステムである。
<Example of lock control system configuration>
1 is a diagram illustrating an example of the configuration of a lock control system according to one embodiment. The lock control system 1 includes an electronic lock 20 and a terminal device 10 that controls the electronic lock 20. The lock control system 1 is a system that uses the terminal device 10 to unlock and lock the electronic lock 20.

電子錠20は、端末装置10を利用して、例えば、ドア等の鍵の解錠、及び施錠等を行うことができる鍵であり、スマートロックとも呼ばれる。なお、電子錠20は、ドアに限られず、例えば、引き出し、ロッカー、自動車、バイク、自転車、又は電子機器等の解錠、及び施錠を行うものであって良い。 The electronic lock 20 is a lock that can be used to lock and unlock doors and other items using the terminal device 10, and is also called a smart lock. Note that the electronic lock 20 is not limited to doors, and may also be used to lock and unlock drawers, lockers, cars, motorcycles, bicycles, electronic devices, etc.

電子錠20は、例えば、図1に示すように、近距離通信部21、施解錠部22、及び記憶部23等の機能構成を備えている。近距離通信部21は、例えば、Bluetooth(登録商標)等の近距離無線通信で端末装置10と通信する通信処理を実行する。なお、近距離通信部21は、例えば、ZigBee(登録商標)等の他の近距離無線通信、又は音波通信、赤外線通信等を利用して近距離通信を行うものであっても良い。ここでは、一例として、近距離通信部21が、Bluetooth規格に従って近距離通信を行うものとして以下の説明を行う。 As shown in FIG. 1, the electronic lock 20 has functional components such as a short-range communication unit 21, a locking/unlocking unit 22, and a memory unit 23. The short-range communication unit 21 executes communication processing to communicate with the terminal device 10 using short-range wireless communication such as Bluetooth (registered trademark). Note that the short-range communication unit 21 may also perform short-range communication using other short-range wireless communication methods such as ZigBee (registered trademark), or sonic communication, infrared communication, etc. Here, as an example, the following explanation will be given assuming that the short-range communication unit 21 performs short-range communication in accordance with the Bluetooth standard.

施解錠部22は、近距離通信部21が、端末装置10から受信した解錠命令、又は施錠命令等の制御信号に従って、電子錠20を解錠、又は施錠する施解錠処理を実行する。記憶部23は、電子錠20とペアリング済の端末装置10の情報、及び電子錠20の情報等の電子錠20の動作に必要な様々な情報、データ、又はプログラム等を記憶する。なお、上記の各機能構成は、電子錠20が備えるコンピュータが実行するプログラムによって実現されるものであっても良いし、ハードウェアによって実現されるものであっても良い。 The locking/unlocking unit 22 executes locking/unlocking processing to unlock or lock the electronic lock 20 in accordance with control signals such as unlock commands or lock commands received by the short-range communication unit 21 from the terminal device 10. The memory unit 23 stores various information, data, or programs required for the operation of the electronic lock 20, such as information on the terminal device 10 that has been paired with the electronic lock 20 and information on the electronic lock 20. Note that each of the above functional configurations may be realized by a program executed by a computer provided in the electronic lock 20, or may be realized by hardware.

端末装置10は、例えば、スマートフォン、タブレット端末、又はウェアラブル端末等の汎用の情報端末である。端末装置10は、電子錠20に対応するアプリケーションプログラム(以下、アプリと呼ぶ)を実行することにより、例えば、位置情報取得部11、距離検知部12、判断部13、近距離通信部14、錠制御部15、及び記憶部16等の機能構成を実現している。なお、上記の各機能構成のうち、少なくとも一部は、ハードウェアによって実現されるものであっても良い。 The terminal device 10 is a general-purpose information terminal such as a smartphone, tablet device, or wearable device. By executing an application program (hereinafter referred to as an app) corresponding to the electronic lock 20, the terminal device 10 realizes functional components such as a location information acquisition unit 11, a distance detection unit 12, a judgment unit 13, a short-range communication unit 14, a lock control unit 15, and a memory unit 16. Note that at least some of the above functional components may be realized by hardware.

ただし、端末装置10は、汎用の情報端末に限られず、錠制御システム1用の専用端末であっても良い。この場合、端末装置10は、例えば、予め端末装置10に組み込まれたファームウェアを実行することにより、図1に示すような、端末装置10の機能構成を実現する。ここでは、一例として、端末装置10が、錠制御システム1用のアプリ(プログラム)を実行するスマートフォンであるものとして以下の説明を行う。 However, the terminal device 10 is not limited to a general-purpose information terminal, and may also be a dedicated terminal for the lock control system 1. In this case, the terminal device 10 realizes the functional configuration of the terminal device 10 as shown in FIG. 1, for example, by executing firmware that has been pre-installed in the terminal device 10. Here, as an example, the following explanation will be given assuming that the terminal device 10 is a smartphone that executes an app (program) for the lock control system 1.

位置情報取得部11は、例えば、端末装置10が備えるGPS(Global Positioning System)機能等を利用して、端末装置10の位置を示す位置情報(座標情報等)を取得する位置情報取得処理を実行する。なお、位置情報取得部11は、GPS機能に加えて(又は代えて)、例えば、無線LAN(Local Area Network)のアクセスポイントの識別情報、又は無線WAN(Wide Area Network)の基地局からの電波等に基づいて、端末装置10の位置情報を取得しても良い。ここでは、一例として、位置情報取得部11が、端末装置10のGPS機能を利用して、端末装置10の位置情報を取得するものとして以下の説明を行う。 The location information acquisition unit 11 executes a location information acquisition process to acquire location information (coordinate information, etc.) indicating the location of the terminal device 10, for example, using a GPS (Global Positioning System) function provided in the terminal device 10. Note that in addition to (or instead of) the GPS function, the location information acquisition unit 11 may also acquire the location information of the terminal device 10 based on, for example, identification information of a wireless LAN (Local Area Network) access point or radio waves from a wireless WAN (Wide Area Network) base station. Here, as an example, the following description will be given assuming that the location information acquisition unit 11 acquires the location information of the terminal device 10 using the GPS function of the terminal device 10.

距離検知部12は、位置情報取得部11が取得した位置情報に基づいて、電子錠20と端末装置10との間の距離を検知する距離検知処理を実行する。例えば、距離検知部12は、記憶部16に予め記憶した、電子錠20の位置情報(座標情報)と、位置情報取得部11が取得した端末装置10の位置情報(座標情報)とを用いて、電子錠20と端末装置10との間の距離を算出する。 The distance detection unit 12 executes a distance detection process to detect the distance between the electronic lock 20 and the terminal device 10 based on the position information acquired by the position information acquisition unit 11. For example, the distance detection unit 12 calculates the distance between the electronic lock 20 and the terminal device 10 using the position information (coordinate information) of the electronic lock 20 pre-stored in the memory unit 16 and the position information (coordinate information) of the terminal device 10 acquired by the position information acquisition unit 11.

近距離通信部14は、電子錠20と同じ方式の近距離通信で、電子錠20と通信する近距離通信処理を実行する。ここでは、一例として、近距離通信部14は、端末装置10が備えるBluetooth機能を利用して、電子錠20と近距離通信を行うものとして以下の説明を行う。なお、端末装置10は、端末装置10に対応する電子錠20と、Bluetooth通信が行えるように、予めペアリングされているものとする。 The short-range communication unit 14 executes short-range communication processing to communicate with the electronic lock 20 using the same short-range communication method as the electronic lock 20. As an example, the following explanation assumes that the short-range communication unit 14 performs short-range communication with the electronic lock 20 using the Bluetooth function provided in the terminal device 10. Note that the terminal device 10 is assumed to have been paired in advance with the electronic lock 20 corresponding to the terminal device 10 so that Bluetooth communication can be performed.

錠制御部15は、近距離通信部14を利用して、電子錠20を制御する錠制御処理を実行する。錠制御部15は、例えば、図1に示すように、解錠処理部101、中止処理部102、及び施錠処理部103等を含む。 The lock control unit 15 uses the short-range communication unit 14 to execute lock control processing that controls the electronic lock 20. As shown in FIG. 1, the lock control unit 15 includes, for example, an unlock processing unit 101, a cancellation processing unit 102, and a lock processing unit 103.

解錠処理部101は、距離検知部12が検知する、端末装置10と電子錠20との間の距離に基づいて、電子錠20の解錠を制御する解錠制御処理を実行する。例えば、解錠処理部101は、近距離通信部14が、電子錠20とペアリングしたときに、位置情報取得部11を用いて端末装置10の位置情報を取得し、取得した位置情報を電子錠20の位置情報として、記憶部16に記憶しておく。これにより、距離検知部12は、記憶部16に記憶した電子錠20の位置情報と、位置情報取得部11が取得した端末装置10の位置情報とを用いて、電子錠20と端末装置10との間の距離を算出することができる。 The unlocking processing unit 101 executes an unlocking control process that controls the unlocking of the electronic lock 20 based on the distance between the terminal device 10 and the electronic lock 20 detected by the distance detection unit 12. For example, when the short-range communication unit 14 pairs with the electronic lock 20, the unlocking processing unit 101 acquires the location information of the terminal device 10 using the location information acquisition unit 11 and stores the acquired location information in the memory unit 16 as the location information of the electronic lock 20. This allows the distance detection unit 12 to calculate the distance between the electronic lock 20 and the terminal device 10 using the location information of the electronic lock 20 stored in the memory unit 16 and the location information of the terminal device 10 acquired by the location information acquisition unit 11.

また、解錠処理部101は、距離検知部12が検知した距離に基づいて、端末装置10のハンズフリー機能(解錠制御処理)を有効にする。例えば、解錠処理部101は、距離検知部12が、端末装置10が電子錠20から、予め定められた第1の距離以上離れたことを検知したときに、端末装置10のハンズフリー機能を有効にする。 The unlocking processing unit 101 also enables the hands-free function (unlocking control processing) of the terminal device 10 based on the distance detected by the distance detection unit 12. For example, the unlocking processing unit 101 enables the hands-free function of the terminal device 10 when the distance detection unit 12 detects that the terminal device 10 has moved away from the electronic lock 20 by a predetermined first distance or more.

ここで、ハンズフリー機能とは、端末装置10を利用するユーザが電子錠20に近づいたときに、端末装置10を操作しなくても電子錠20を解錠できる機能であり、距離検知部12が検知した距離に基づいて電子錠の解錠を制御する解錠制御処理の一例である。また、第1の距離は、端末装置10が電子錠20から離れたことを検知するための距離(例えば、100m~200m程度、一例として、150m等)が、予め設定されているものとする。 Here, the hands-free function refers to a function that allows the user of the terminal device 10 to unlock the electronic lock 20 without operating the terminal device 10 when the user approaches the electronic lock 20, and is an example of an unlocking control process that controls the unlocking of the electronic lock based on the distance detected by the distance detection unit 12. The first distance is a preset distance (e.g., approximately 100 m to 200 m, such as 150 m) for detecting that the terminal device 10 has moved away from the electronic lock 20.

ハンズフリー機能が有効である場合、解錠処理部101は、距離検知部12が検知した距離に基づいて、電子錠20を解錠する。例えば、解錠処理部101は、距離検知部12が、端末装置10が電子錠20から、第1の距離より短い予め定められた第2の距離以内に近づいたことを検知した場合、近距離通信部21を用いて、近距離通信で解錠命令を電子錠20に送信し、電子錠20を解錠する。ここで、第2の距離は、端末装置10が電子錠20に近づいたことを検知するために、第1の距離より短い距離(例えば、30m~70m程度、一例として、50m等)が、予め設定されているものとする。 When the hands-free function is enabled, the unlocking processing unit 101 unlocks the electronic lock 20 based on the distance detected by the distance detection unit 12. For example, when the distance detection unit 12 detects that the terminal device 10 has approached within a predetermined second distance, which is shorter than the first distance, from the electronic lock 20, the unlocking processing unit 101 uses the short-range communication unit 21 to send an unlock command to the electronic lock 20 via short-range communication, thereby unlocking the electronic lock 20. Here, the second distance is assumed to be a preset distance shorter than the first distance (for example, approximately 30 m to 70 m, such as 50 m) in order to detect that the terminal device 10 has approached the electronic lock 20.

なお、解錠処理部101は、電子錠20を解錠した後に、ハンズフリー機能を無効にする。これにより、例えば、端末装置10を利用するユーザが在宅中に、電子錠20に近づいたとき等に、電子錠20が意図せずに解錠されてしまうことを防止することができる。 The unlocking processing unit 101 disables the hands-free function after unlocking the electronic lock 20. This prevents the electronic lock 20 from being unlocked unintentionally, for example, when the user using the terminal device 10 approaches the electronic lock 20 while at home.

しかし、この方法だけでは、GPS等による位置情報の測位結果には誤差が含まれるため、位置情報の誤検知により、誤って電子錠が解錠されてしまう恐れがある。例えば、端末装置10を利用するユーザが家にいるときに、位置情報の誤検知により電子錠20から離れたと検知され、その後、正しい位置情報により、電子錠20に近づいたと検知された場合、誤って電子錠20が解錠されてしまう可能性がある。そこで、本実施形態に係る端末装置10は、判断部13と、中止処理部102とを有している。 However, with this method alone, there is a risk that the electronic lock will be erroneously unlocked due to an erroneous detection of the location information, as the results of positioning information obtained using GPS or other methods contain errors. For example, if a user using the terminal device 10 is at home and the user is detected as having moved away from the electronic lock 20 due to an erroneous detection of the location information, and then the user is detected as having approached the electronic lock 20 due to correct location information, the electronic lock 20 may be erroneously unlocked. Therefore, the terminal device 10 according to this embodiment has a determination unit 13 and an abort processing unit 102.

判断部13は、電子錠20が近距離通信で送信する所定の信号に基づいて、距離検知部12が検知した距離の誤検知を判断する判断処理を実行する。例えば、判断部13は、距離検知部12により、端末装置10が電子錠20から第1の距離以上離れたと検知されたときに、電子錠20が近距離通信で送信する所定の信号を受信できる場合、距離検知部12による検知結果が誤検知であると判断する。或いは、判断部13は、距離検知部12により、端末装置10が電子錠20から第1の距離以上離れたと検知された後、所定の時間を経過する前に端末装置10が第2の距離以内に近づいた場合、距離検知部12による検知結果が誤検知であると判断する。 The determination unit 13 executes a determination process to determine whether the distance detected by the distance detection unit 12 is an erroneous detection based on a predetermined signal transmitted by the electronic lock 20 via short-range communication. For example, when the distance detection unit 12 detects that the terminal device 10 is a first distance or more away from the electronic lock 20, if the determination unit 13 can receive the predetermined signal transmitted by the electronic lock 20 via short-range communication, the determination unit 13 determines that the detection result by the distance detection unit 12 is an erroneous detection. Alternatively, if the distance detection unit 12 detects that the terminal device 10 is a first distance or more away from the electronic lock 20, and then the terminal device 10 approaches to within a second distance before a predetermined time has elapsed, the determination unit 13 determines that the detection result by the distance detection unit 12 is an erroneous detection.

中止処理部102は、距離検知部12による距離の検知結果が誤検知と判断された場合、解錠処理部101による解錠制御処理を中止する。なお、判断部13、及び中止処理部102の具体的な処理内容については、第1、2の実施形態で後述する。 If the distance detection result by the distance detection unit 12 is determined to be an erroneous detection, the cancellation processing unit 102 cancels the unlocking control process by the unlocking processing unit 101. Note that the specific processing content of the judgment unit 13 and cancellation processing unit 102 will be described later in the first and second embodiments.

施錠処理部103は、例えば、端末装置10のディスプレイ等に表示したアプリの操作画面に対するユーザの操作に応じて、近距離通信部14を用いて、電子錠20に施錠命令を送信することにより、電子錠20を施錠する施錠処理を実行する。なお、解錠処理部101は、前述した解錠制御処理の他に、アプリの操作画面に対するユーザの操作に応じて、近距離通信部14を用いて、電子錠20に解錠命令を送信することにより、電子錠20を解錠する解錠処理を、さらに実行する。 The locking processing unit 103 executes a locking process to lock the electronic lock 20 by, for example, using the short-range communication unit 14 to send a locking command to the electronic lock 20 in response to a user's operation on the app's operation screen displayed on the display or the like of the terminal device 10. In addition to the unlocking control process described above, the unlocking processing unit 101 also executes an unlocking process to unlock the electronic lock 20 by using the short-range communication unit 14 to send an unlocking command to the electronic lock 20 in response to a user's operation on the app's operation screen.

記憶部16は、端末装置10とペアリング済の電子錠20の情報、及び端末装置10の情報等の端末装置10の動作に必要な様々な情報、データ、又はプログラム等を記憶する。 The memory unit 16 stores various information, data, programs, etc. necessary for the operation of the terminal device 10, such as information about the electronic lock 20 that has been paired with the terminal device 10, and information about the terminal device 10.

<ハードウェア構成>
図2は、一実施形態に係る端末装置のハードウェア構成の例を示す図である。端末装置10は、コンピュータの構成を備えており、例えば、プロセッサ201、メモリ202、ストレージデバイス203、通信装置204、近距離通信装置205、GPS受信装置206、入力装置207、出力装置208、及びバス209等を含む。
<Hardware configuration>
2 is a diagram illustrating an example of the hardware configuration of a terminal device according to an embodiment. The terminal device 10 has a computer configuration, and includes, for example, a processor 201, a memory 202, a storage device 203, a communication device 204, a short-range communication device 205, a GPS receiver 206, an input device 207, an output device 208, and a bus 209.

プロセッサ201は、例えば、メモリ202、又はストレージデバイス203等の記憶媒体に記憶した所定のプログラムを実行することにより、図1に示すような端末装置10の機能構成を実現するCPU(Central Processing Unit)等の演算装置である。メモリ202は、コンピュータが読み取り可能な記憶媒体であり、例えば、RAM(Random Access Memory)、ROM(Read Only Memory)等を含む。ストレージデバイス203は、コンピュータが読み取り可能な記憶媒体であり、例えば、HDD(Hard Disk Drive)、SSD(Solid State Drive)等を含む。 The processor 201 is, for example, a computing device such as a CPU (Central Processing Unit) that executes a predetermined program stored in a storage medium such as the memory 202 or the storage device 203, thereby realizing the functional configuration of the terminal device 10 as shown in FIG. 1. The memory 202 is a computer-readable storage medium, and includes, for example, RAM (Random Access Memory) and ROM (Read Only Memory). The storage device 203 is a computer-readable storage medium, and includes, for example, an HDD (Hard Disk Drive) and an SSD (Solid State Drive).

通信装置204は、例えば、無線LAN、無線WAN等の無線通信により、端末装置10を通信ネットワークに接続する1つ以上の通信デバイスを含む。近距離通信装置205は、例えば、Bluetooth、Zigbee等の近距離無線通信で、電子錠20と通信する1つ以上の通信デバイスを含む。GPS受信装置206は、GPS衛星からの測位信号を受信し、位置情報(座標情報)を出力する測位デバイスを含む。 The communication device 204 includes one or more communication devices that connect the terminal device 10 to a communication network via wireless communication such as a wireless LAN or wireless WAN. The short-range communication device 205 includes one or more communication devices that communicate with the electronic lock 20 via short-range wireless communication such as Bluetooth or Zigbee. The GPS receiver device 206 includes a positioning device that receives positioning signals from GPS satellites and outputs position information (coordinate information).

入力装置207は、外部からの入力を受け付ける入力デバイス(例えば、キーボード、マウス、マイクロフォン、スイッチ、センサ等)を含む。出力装置208は、外部への出力を行う出力デバイス(例えば、ディスプレイ、スピーカ等)を含む。なお、入力装置207と出力装置208とは、例えば、タッチパネルディスプレイ等の入出力装置であっても良い。バス209は、上記の各構成要素に共通に接続され、例えば、アドレス信号、データ信号、及び各種の制御信号等を伝送する。なお、プロセッサ201には、例えば、GPU(Graphics Processing Unit)、又はDSP(Digital Signal Processor)等のCPU以外のプロセッサが含まれていても良い。 The input device 207 includes input devices (e.g., keyboard, mouse, microphone, switch, sensor, etc.) that accept external input. The output device 208 includes output devices (e.g., display, speaker, etc.) that output to the outside. The input device 207 and output device 208 may be input/output devices such as touch panel displays. The bus 209 is commonly connected to each of the above components and transmits, for example, address signals, data signals, and various control signals. The processor 201 may also include a processor other than a CPU, such as a GPU (Graphics Processing Unit) or a DSP (Digital Signal Processor).

<処理の概要>
図3、4は、一実施形態に係る端末装置の処理の概要を示すフローチャートである。この処理は、端末装置10が実行する、ハンズフリー機能に関する処理の概要を示している。なお、図3に示す処理の開始時点において、電子錠20と端末装置10は、ペアリング処理が完了し、近距離通信で互いに通信可能に設定されているものとする。また、端末装置10は、ハンズフリー機能(解錠制御処理)が無効に設定されているものとする。
<Processing Overview>
3 and 4 are flowcharts showing an outline of processing of a terminal device according to one embodiment. This processing shows an outline of processing related to the hands-free function executed by the terminal device 10. At the start of the processing shown in FIG. 3, it is assumed that the pairing process between the electronic lock 20 and the terminal device 10 is completed and that they are set to be able to communicate with each other via short-range communication. It is also assumed that the hands-free function (unlocking control process) of the terminal device 10 is set to be disabled.

ステップ301において、距離検知部12が、例えば、位置情報取得部11が取得した位置情報に基づいて、端末装置10が電子錠20から離れたことを検知すると、端末装置10は、ステップS302以降の処理を実行する。 In step S301, when the distance detection unit 12 detects that the terminal device 10 has moved away from the electronic lock 20, for example, based on the location information acquired by the location information acquisition unit 11, the terminal device 10 executes the processing from step S302 onwards.

ステップS302に移行すると、距離検知部12は、端末装置10が電子錠20から離れた時刻を、記憶部16に記憶する。なお、この処理は、例えば、錠制御部15が実行しても良い。また、この処理はオプションであり、必須ではない。 When the process proceeds to step S302, the distance detection unit 12 stores the time at which the terminal device 10 moved away from the electronic lock 20 in the memory unit 16. Note that this process may be performed by, for example, the lock control unit 15. Also, this process is optional and not required.

ステップS303において、近距離通信部14は、電子錠20が近距離通信で送信する所定の信号(例えば、電子錠20を識別する情報を含むビーコン信号等)を受信する。 In step S303, the short-range communication unit 14 receives a predetermined signal (e.g., a beacon signal containing information identifying the electronic lock 20) transmitted by the electronic lock 20 via short-range communication.

ステップS304において、判断部13は、近距離通信部14が、電子錠20が近距離通信で送信する所定の信号を受信したか否かを判断する。所定の信号を受信していない場合、判断部13は、処理をステップS305に移行させる。一方、所定の信号を受信した場合、判断部13は、処理をステップS306に移行させる。 In step S304, the judgment unit 13 determines whether the short-range communication unit 14 has received a predetermined signal transmitted by the electronic lock 20 via short-range communication. If the predetermined signal has not been received, the judgment unit 13 transitions the processing to step S305. On the other hand, if the predetermined signal has been received, the judgment unit 13 transitions the processing to step S306.

ステップS305に移行すると、判断部13は、距離検知部12が検知した距離が誤検知ではなく、端末装置10が電子錠20から離れたと判断し、ハンズフリー機能を有効にする。この場合、端末装置10は、例えば、図4に示すような、解錠制御処理を実行する。 When the process proceeds to step S305, the determination unit 13 determines that the distance detected by the distance detection unit 12 was not an erroneous detection and that the terminal device 10 has moved away from the electronic lock 20, and activates the hands-free function. In this case, the terminal device 10 executes, for example, an unlocking control process such as that shown in Figure 4.

一方、ステップS306に移行すると、判断部13は、距離検知部12が検知した距離が誤検知であると判断する。この場合、中止処理部102は、端末装置10による、解錠制御処理の実行を中止する。 On the other hand, when the process proceeds to step S306, the judgment unit 13 determines that the distance detected by the distance detection unit 12 is an erroneous detection. In this case, the cancellation processing unit 102 cancels the execution of the unlocking control process by the terminal device 10.

続いて、図4を参照して、ハンズフリー機能が有効なときに、端末装置10が実行する解錠制御処理について説明する。ハンズフリー機能が有効な場合、距離検知部12は、位置情報取得部11が取得した位置情報に基づいて、端末装置10と電子錠20との間の距離を繰り返し検知する。 Next, referring to Figure 4, we will explain the unlocking control process executed by the terminal device 10 when the hands-free function is enabled. When the hands-free function is enabled, the distance detection unit 12 repeatedly detects the distance between the terminal device 10 and the electronic lock 20 based on the position information acquired by the position information acquisition unit 11.

また、ステップS401において、距離検知部12が、端末装置10が電子錠20に近づいたことを検知すると、端末装置10は、ステップS402以降の処理を実行する。 Also, in step S401, when the distance detection unit 12 detects that the terminal device 10 has approached the electronic lock 20, the terminal device 10 executes the processing from step S402 onwards.

ステップS402に移行すると、判断部13は、端末装置10が電子錠20から離れてから所定の時間を経過しているか否かを判断する。所定の時間を経過していない場合、判断部13は、処理をステップS403に移行させる。一方、所定の時間を経過している場合、判断部13は、処理をステップS404に移行させる。ここで、所定の時間は、電子錠20から第1の距離以上離れた人が、電子錠20から第2の距離以内に戻るために必要な時間より短い時間が予め設定されているものとする。 When the process proceeds to step S402, the judgment unit 13 determines whether a predetermined time has passed since the terminal device 10 moved away from the electronic lock 20. If the predetermined time has not passed, the judgment unit 13 proceeds to step S403. On the other hand, if the predetermined time has passed, the judgment unit 13 proceeds to step S404. Here, the predetermined time is set in advance to a time shorter than the time required for a person who has moved away from the electronic lock 20 by more than a first distance to return to within a second distance from the electronic lock 20.

ステップS403に移行すると、判断部13は、距離検知部12が検知した距離が誤検知と判断する。この場合、中止処理部102は、解錠制御処理を中止し、処理をステップS406に移行させる。なお、ステップS402、S403の処理は、オプションであり、必須ではない。 When the process proceeds to step S403, the judgment unit 13 determines that the distance detected by the distance detection unit 12 is an erroneous detection. In this case, the cancellation processing unit 102 cancels the unlocking control process and proceeds to step S406. Note that the processes of steps S402 and S403 are optional and not required.

ステップS404に移行すると、解錠処理部101は、近距離通信部14が、電子錠20が近距離通信で送信する所定の信号(ビーコン信号)を受信したか否かを判断する。規定の時間内に、電子錠20が送信する所定の信号を受信できない場合、解錠処理部101は、例えば、処理をステップS401に戻す。一方、所定の時間内に、電子錠20が送信する所定の信号を受信した場合、解錠処理部101は、処理をステップS405に移行させる。 When proceeding to step S404, the unlocking processing unit 101 determines whether the short-range communication unit 14 has received a predetermined signal (beacon signal) transmitted by the electronic lock 20 via short-range communication. If the predetermined signal transmitted by the electronic lock 20 cannot be received within the specified time, the unlocking processing unit 101 returns the processing to step S401, for example. On the other hand, if the predetermined signal transmitted by the electronic lock 20 is received within the specified time, the unlocking processing unit 101 proceeds to step S405.

ステップS405に移行すると、解錠処理部101は、近距離通信部14を用いて、例えば、電子錠20に解錠を要求する解錠命令を送信することにより、電子錠20を解錠する。 When proceeding to step S405, the unlocking processing unit 101 unlocks the electronic lock 20, for example, by sending an unlocking command to the electronic lock 20 using the short-range communication unit 14, requesting that the electronic lock 20 be unlocked.

ステップS405において、解錠処理部101は、ハンズフリー機能を無効にする。これにより、例えば、端末装置10を利用するユーザが自宅等にいるときに、電子錠20に近づくことにより、誤って電子錠20が解錠してしまうことを防止することができる。 In step S405, the unlocking processing unit 101 disables the hands-free function. This prevents the user of the terminal device 10 from accidentally unlocking the electronic lock 20 by approaching the electronic lock 20 while at home, for example.

<処理の流れ>
続いて、本実施形態に係る錠制御方法の具体的な処理の流れについて、複数の実施形態を例示して説明する。
<Processing flow>
Next, a specific processing flow of the lock control method according to this embodiment will be described by exemplifying a number of embodiments.

[第1の実施形態]
図5、6は、第1の実施形態に係る端末装置の処理の例を示すフローチャートである。この処理は、図3、4で説明した処理の具体的な処理の一例を示している。
[First embodiment]
5 and 6 are flowcharts showing an example of processing by the terminal device according to the first embodiment. This processing shows a specific example of the processing described with reference to FIGS.

ステップS501において、距離検知部12は、位置情報取得部11を用いて、端末装置10の位置情報を取得して、端末装置10と電子錠20との間の距離を検知(算出)する。 In step S501, the distance detection unit 12 uses the position information acquisition unit 11 to acquire the position information of the terminal device 10 and detects (calculates) the distance between the terminal device 10 and the electronic lock 20.

ステップS502において、距離検知部12は、端末装置10と電子錠20との間の距離が、予め定められた第1の距離以上離れたか否かを判断する。ここで、第1の距離は、前述したように、端末装置10が電子錠20から離れたことを検知するために予め設定された距離である。 In step S502, the distance detection unit 12 determines whether the distance between the terminal device 10 and the electronic lock 20 is equal to or greater than a predetermined first distance. Here, as described above, the first distance is a distance that is set in advance to detect that the terminal device 10 has moved away from the electronic lock 20.

端末装置10と電子錠20との間の距離が、第1の距離以上離れていない場合、距離検知部12は、処理をステップS501に戻す。一方、第1の距離以上離れている場合、距離検知部12は、処理をステップS503に移行させる。なお、ステップS501、S501は、端末装置10が電子錠20から離れたことを検知する処理の具体的な一例である。 If the distance between the terminal device 10 and the electronic lock 20 is not greater than the first distance, the distance detection unit 12 returns the process to step S501. On the other hand, if the distance is greater than the first distance, the distance detection unit 12 transitions the process to step S503. Note that steps S501 and S501 are a specific example of the process for detecting that the terminal device 10 has moved away from the electronic lock 20.

ステップS503において、近距離通信部14は、電子錠20が送信するBluetooth信号を受信する。例えば、近距離通信部14は、電子錠20が、所定の送信間隔で繰り返しブロードキャスト送信するアドバタイズメントパケット等のビーコン信号を受信する。なお、電子錠20が送信するBluetooth信号には、電子錠20を識別する、例えば、UUID(Universally Unique Identifier)等の識別情報が含まれているので、近距離通信部14は、端末装置10とペアリング済の電子錠20が送信したBluetooth信号を識別することができる。 In step S503, the short-range communication unit 14 receives a Bluetooth signal transmitted by the electronic lock 20. For example, the short-range communication unit 14 receives a beacon signal such as an advertisement packet that the electronic lock 20 repeatedly broadcasts at a predetermined transmission interval. Note that the Bluetooth signal transmitted by the electronic lock 20 contains identification information, such as a UUID (Universally Unique Identifier), that identifies the electronic lock 20. Therefore, the short-range communication unit 14 can identify a Bluetooth signal transmitted by an electronic lock 20 that has already been paired with the terminal device 10.

ステップS504において、判断部13は、近距離通信部14が、電子錠20が送信するBluetooth信号を受信できるか否かによって処理を分岐する。電子錠20が送信するBluetooth信号を受信できる場合、判断部13は、処理をステップS507に移行させる。一方、電子錠20が送信するBluetooth信号を受信できない場合、判断部13は、処理をステップS505に移行させる。 In step S504, the judgment unit 13 branches the process depending on whether the short-range communication unit 14 can receive the Bluetooth signal transmitted by the electronic lock 20. If the Bluetooth signal transmitted by the electronic lock 20 can be received, the judgment unit 13 transitions the process to step S507. On the other hand, if the Bluetooth signal transmitted by the electronic lock 20 cannot be received, the judgment unit 13 transitions the process to step S505.

ステップS505に移行すると、判断部13は、端末装置10が電子錠20から離れたと判断する。また、ステップS506において、解錠処理部101は、図6に示すような、解錠制御処理を実行する。 When the process proceeds to step S505, the determination unit 13 determines that the terminal device 10 has moved away from the electronic lock 20. Furthermore, in step S506, the unlocking processing unit 101 executes the unlocking control process as shown in FIG. 6.

一方、ステップS504からステップS507に移行すると、判断部13は、距離検知部12が検知した距離が誤検知と判断する。本実施形態では、電子錠20が送信するBluetooth信号の到達距離は、例えば、15m程度に設定されている。一方、第1の距離は、例えば、100m以上の距離に設定されている。従って、判断部13は、近距離通信部14が、電子錠20が送信するBluetooth信号を受信できる場合、電子錠20から第1の距離以上離れたという距離検知部12の検知結果が誤検知と判断することができる。 On the other hand, when the process moves from step S504 to step S507, the judgment unit 13 determines that the distance detected by the distance detection unit 12 is an erroneous detection. In this embodiment, the reachable distance of the Bluetooth signal transmitted by the electronic lock 20 is set to, for example, approximately 15 m. On the other hand, the first distance is set to, for example, 100 m or more. Therefore, if the short-range communication unit 14 can receive the Bluetooth signal transmitted by the electronic lock 20, the judgment unit 13 can determine that the detection result of the distance detection unit 12, that the electronic lock 20 is further than the first distance, is an erroneous detection.

ステップS508において、中止処理部102は、距離検知部12が検知した距離が誤検知と判断された場合、図6に示すような、解錠制御処理の実行を中止する。 In step S508, if the cancellation processing unit 102 determines that the distance detected by the distance detection unit 12 is an erroneous detection, it cancels the execution of the unlocking control process as shown in Figure 6.

続いて、図6を参照して、端末装置10が実行する解錠制御処理について説明する。ステップS601において、距離検知部12は、位置情報取得部11を用いて、端末装置10の位置情報を取得し、端末装置10と電子錠20との間の距離を検知(算出)する。 Next, with reference to Figure 6, the unlocking control process executed by the terminal device 10 will be described. In step S601, the distance detection unit 12 acquires the location information of the terminal device 10 using the location information acquisition unit 11, and detects (calculates) the distance between the terminal device 10 and the electronic lock 20.

ステップS602において、距離検知部12は、端末装置10と電子錠20との間の距離が、予め定められた第2の距離以内に近づいたか否かを判断する。ここで、第2の距離は、前述したように、端末装置10が電子錠20に近づいたことを検知するために予め設定された距離である。 In step S602, the distance detection unit 12 determines whether the distance between the terminal device 10 and the electronic lock 20 has approached within a predetermined second distance. Here, as described above, the second distance is a distance that is set in advance to detect that the terminal device 10 has approached the electronic lock 20.

端末装置10と電子錠20との間の距離が第2の距離以内に近づいていない場合、距離検知部12は、処理をステップS601に戻す。一方、端末装置10と電子錠20との間の距離が第2の距離以内に近づいた場合、距離検知部12は、処理をステップS603に移行させる。 If the distance between the terminal device 10 and the electronic lock 20 has not come within the second distance, the distance detection unit 12 returns the process to step S601. On the other hand, if the distance between the terminal device 10 and the electronic lock 20 has come within the second distance, the distance detection unit 12 transitions the process to step S603.

ステップS603に移行すると、解錠処理部101は、近距離通信部14に、電子錠20が送信するBluetooth信号の受信を開始させる。 When proceeding to step S603, the unlocking processing unit 101 causes the short-range communication unit 14 to begin receiving Bluetooth signals transmitted by the electronic lock 20.

ステップS604において、解錠処理部101は、近距離通信部14が、電子錠20が送信するBluetooth信号の受信を受信したか否かを判断する。近距離通信部14がBluetooth信号を受信していない場合、解錠処理部101は、処理をステップS605に移行させる。一方、近距離通信部14がBluetooth信号を受信した場合、解錠処理部101は、処理をステップS607に移行させる。 In step S604, the unlocking processing unit 101 determines whether the short-range communication unit 14 has received a Bluetooth signal transmitted by the electronic lock 20. If the short-range communication unit 14 has not received a Bluetooth signal, the unlocking processing unit 101 transitions the process to step S605. On the other hand, if the short-range communication unit 14 has received a Bluetooth signal, the unlocking processing unit 101 transitions the process to step S607.

ステップS605に移行すると、解錠処理部101は、近距離通信部14がBluetooth信号の受信を開始してから、規定の時間を経過したか否かを判断する。ここで、規定の時間は、近距離通信部14がBluetooth信号を受信できない場合にタイムアウトする時間(例えば、数分~十数分程度)が予め設定されているものとする。規定の時間を経過していない場合、解錠処理部101は、処理をステップS604に戻す。一方、規定の時間を経過した場合、解錠処理部101は、処理をステップS606に移行させる。 When the process proceeds to step S605, the unlocking processing unit 101 determines whether a specified time has elapsed since the short-range communication unit 14 started receiving a Bluetooth signal. Here, the specified time is assumed to be a preset time (for example, several minutes to several dozen minutes) that will result in a timeout if the short-range communication unit 14 is unable to receive a Bluetooth signal. If the specified time has not elapsed, the unlocking processing unit 101 returns the process to step S604. On the other hand, if the specified time has elapsed, the unlocking processing unit 101 proceeds to step S606.

ステップS606に移行すると、解錠処理部101は、近距離通信部14によるBluetooth信号の受信を中止させ、処理をステップS601に戻す。 When proceeding to step S606, the unlocking processing unit 101 stops receiving Bluetooth signals via the short-range communication unit 14 and returns processing to step S601.

一方、ステップS604からステップS607に移行すると、解錠処理部101は、近距離通信部14を用いて、電子錠20とBluetooth通信を確立する。 On the other hand, when the process moves from step S604 to step S607, the unlocking processing unit 101 establishes Bluetooth communication with the electronic lock 20 using the short-range communication unit 14.

ステップS605において、解錠処理部101は、近距離通信部14を介して、電子錠20に、解錠を要求する解錠命令を送信する。 In step S605, the unlocking processing unit 101 sends an unlocking command to the electronic lock 20 via the short-range communication unit 14, requesting unlocking.

ステップS606において、解錠処理部101は、電子錠20の解錠に成功したか否かを判断する。例えば、解錠処理部101は、近距離通信部14を介して、電子錠20から解錠完了通知を受信した場合、電子錠20の解錠に成功したと判断する。電子錠20の解錠に成功した場合、解錠処理部101は、処理をステップS611に移行させる。一方、電子錠20の解錠に失敗した場合、解錠処理部101は、処理をステップS610に移行させる。 In step S606, the unlocking processing unit 101 determines whether the electronic lock 20 has been successfully unlocked. For example, if the unlocking processing unit 101 receives an unlocking completion notification from the electronic lock 20 via the short-range communication unit 14, it determines that the electronic lock 20 has been successfully unlocked. If the electronic lock 20 has been successfully unlocked, the unlocking processing unit 101 transitions the process to step S611. On the other hand, if the electronic lock 20 has not been successfully unlocked, the unlocking processing unit 101 transitions the process to step S610.

ステップS610に移行すると、解錠処理部101は、規定の回数、解錠命令の送信をリトライしたか否かを判断する。規定の回数リトライしていない場合、解錠処理部101は、処理をステップS608に戻す。一方、規定の回数リトライしている場合、処理をステップS612に移行させる。 When the process proceeds to step S610, the unlocking processing unit 101 determines whether the unlocking command has been retried a specified number of times. If the specified number of retries has not been reached, the unlocking processing unit 101 returns the process to step S608. On the other hand, if the specified number of retries has been reached, the process proceeds to step S612.

一方、ステップS609からステップS611に移行すると、解錠処理部101は、近距離通信部14による電子錠20とのBluetooth通信を切断する。また、ステップS612において、解錠処理部101は、解錠制御処理を終了する。 On the other hand, when the process moves from step S609 to step S611, the unlocking processing unit 101 disconnects Bluetooth communication with the electronic lock 20 via the short-range communication unit 14. Also, in step S612, the unlocking processing unit 101 ends the unlocking control process.

図5、6の処理により、第1の実施形態によれば、電子錠20の解錠を制御する錠制御システム1において、位置情報の誤検知による誤動作を低減することができる。例えば、距離検知部12が、位置情報の誤差等により、端末装置10が電子錠20から第1の距離以上離れたと誤検知した場合、端末装置10は、距離検知部12が検知した距離が誤検知であると判断し、解錠制御処理を中止することができる。 According to the first embodiment, the processing shown in Figures 5 and 6 can reduce malfunctions caused by erroneous detection of position information in the lock control system 1 that controls the unlocking of the electronic lock 20. For example, if the distance detection unit 12 erroneously detects that the terminal device 10 is further than a first distance from the electronic lock 20 due to an error in the position information, the terminal device 10 can determine that the distance detected by the distance detection unit 12 is an erroneous detection and cancel the unlocking control process.

[第2の実施形態]
図7、8は、第2の実施形態に係る端末装置の処理の例を示すフローチャートである。この処理は、図3、4で説明した処理の具体的な処理の別の一例を示している。なお、図7、8に示す処理のうち、ステップS501~S508、S601~S606、S612の処理は、図5、6で説明した第1の実施形態に係る端末装置の処理と同様なので、ここでは第1の実施形態との相違点を中心に説明する。
Second Embodiment
7 and 8 are flowcharts showing an example of processing by a terminal device according to the second embodiment. This processing shows another example of the specific processing described in FIGS. 3 and 4. Of the processing shown in FIGS. 7 and 8, the processing of steps S501 to S508, S601 to S606, and S612 is the same as the processing by the terminal device according to the first embodiment described in FIGS. 5 and 6, so the following description will focus on the differences from the first embodiment.

図5のステップS701において、距離検知部12は、端末装置10と電子錠20との間の距離が第1の距離以上離れたと判断した時刻を、記憶部16に記憶する。 In step S701 of FIG. 5, the distance detection unit 12 stores in the memory unit 16 the time at which it determines that the distance between the terminal device 10 and the electronic lock 20 is equal to or greater than the first distance.

また、図8のステップS602において、距離検知部12が、端末装置10と電子錠20との間の距離が第2の距離以内に近づいたと判断したときに、判断部13は、ステップS801の処理を実行する。 Furthermore, in step S602 of FIG. 8, when the distance detection unit 12 determines that the distance between the terminal device 10 and the electronic lock 20 has approached within the second distance, the determination unit 13 executes the processing of step S801.

ステップS801において、判断部13は、端末装置10と電子錠20との間の距離が第1の距離以上離れた時刻を記憶部16から取得する。また、ステップS802において、判断部13は、端末装置10が、電子錠20から第1の距離以上離れてから、電子錠20から第2の距離以内に戻るまでの時間が、所定の時間以上経過しているか否かを判断する。 In step S801, the judgment unit 13 obtains from the memory unit 16 the time at which the distance between the terminal device 10 and the electronic lock 20 becomes equal to or greater than the first distance. In step S802, the judgment unit 13 determines whether a predetermined time or more has elapsed since the terminal device 10 became equal to or greater than the first distance from the electronic lock 20 until it returned to within the second distance from the electronic lock 20.

図9は、一実施形態に係る第1の距離、及び第2の距離について説明するための図である。本実施形態では、電子錠20が送信するBluetooth信号(近距離通信で送信する所定の信号の一例)の到達距離901は、例えば、5m~20m程度に設定されている。また、端末装置10が電子錠20から離れたことを判断するための第1の距離d1は、例えば、100m~200m程度に設定されている。 Figure 9 is a diagram illustrating the first distance and second distance according to one embodiment. In this embodiment, the reach distance 901 of the Bluetooth signal (an example of a predetermined signal transmitted by short-range communication) transmitted by the electronic lock 20 is set to, for example, approximately 5 m to 20 m. Furthermore, the first distance d1 used to determine whether the terminal device 10 has moved away from the electronic lock 20 is set to, for example, approximately 100 m to 200 m.

さらに、端末装置10が電子錠20に近づいたことを判断するための第2の距離d2は、第1の距離d1より短い、例えば、30m~70m程度に設定されている。また、所定の時間は、電子錠20から第1の距離d1以上離れた人が、電子錠20から第2距離d2以内に戻る迄に要する時間より短い、例えば、10秒~50秒程度に設定されている。従って、判断部13は、端末装置10が、電子錠20から第1の距離以上離れてから、電子錠20から第2の距離以内に戻るまでに、所定の時間以上経過していない場合、距離検知部12が検知した距離が誤検知であると判断することができる。 Furthermore, the second distance d2 used to determine whether the terminal device 10 has approached the electronic lock 20 is set to be shorter than the first distance d1, for example, approximately 30 to 70 meters. The predetermined time is set to be shorter than the time it takes for a person who is the first distance d1 or more from the electronic lock 20 to return to within the second distance d2 from the electronic lock 20, for example, approximately 10 to 50 seconds. Therefore, if the predetermined time does not elapse between the time the terminal device 10 moves the first distance or more from the electronic lock 20 and the time it returns to within the second distance from the electronic lock 20, the determination unit 13 can determine that the distance detected by the distance detection unit 12 is an erroneous detection.

図8のステップS802において、所定の時間以上経過していない場合、判断部13は、距離検知部12が検知した距離が誤検知であると判断し、処理をステップS612に移行させることにより、解錠制御処理を中止する。 In step S802 of FIG. 8, if the predetermined time has not elapsed, the judgment unit 13 determines that the distance detected by the distance detection unit 12 is an erroneous detection, and transitions the process to step S612, thereby terminating the unlocking control process.

一方、図8のステップS802において、所定の時間を経過している場合、端末装置10が、電子錠20から措定の距離以内に戻ったと判断し、ステップS603以降の処理を実行する。なお、図8のステップS811において、解錠処理部101は、図6のステップS607~S611に示すような解錠処理を実行するものとする。 On the other hand, if the predetermined time has elapsed in step S802 of FIG. 8, the terminal device 10 determines that it has returned within the predetermined distance from the electronic lock 20, and executes the processing from step S603 onwards. Note that in step S811 of FIG. 8, the unlocking processing unit 101 executes the unlocking processing shown in steps S607 to S611 of FIG. 6.

図7、8の処理により、第2の実施形態によれば、電子錠20の解錠を制御する錠制御システム1において、位置情報の誤検知による誤動作を、さらに低減することができる。 According to the second embodiment, the processing shown in Figures 7 and 8 can further reduce malfunctions caused by erroneous detection of position information in the lock control system 1 that controls the unlocking of the electronic lock 20.

以上、本開示の各実施形態によれば、電子錠の解錠を制御する錠制御システムにおいて、位置情報の誤検知による誤動作を低減することができる。 As described above, according to each embodiment of the present disclosure, it is possible to reduce malfunctions caused by erroneous detection of location information in a lock control system that controls the unlocking of an electronic lock.

なお、本発明は、上記の各実施形態に限定されるものではなく、特許請求の範囲に記載された本発明の要旨の範囲内において、種々の変形、又は応用が可能である。 The present invention is not limited to the above-described embodiments, and various modifications and applications are possible within the scope of the gist of the present invention as set forth in the claims.

例えば、上記の実施形態では、近距離通信がBluetooth通信であるものとして説明を行ったが、近距離通信は、例えば、図9で説明したように、所定の信号の到達範囲が、5m~20m程度の他の通信方式であっても良い。 For example, in the above embodiment, short-range communication was described as being Bluetooth communication, but short-range communication may be another communication method in which the reach of a specified signal is approximately 5 m to 20 m, as described in Figure 9, for example.

1 錠制御システム
10 端末装置
12 距離検知部
13 判断部
20 電子錠
101 解錠処理部
102 中止処理部
d1 第1の距離
d2 第2の距離
REFERENCE SIGNS LIST 1 Lock control system 10 Terminal device 12 Distance detection unit 13 Determination unit 20 Electronic lock 101 Unlock processing unit 102 Cancel processing unit d1 First distance d2 Second distance

Claims (7)

電子錠と、前記電子錠を制御する端末装置が実行するプログラムとを含む錠制御システムであって、
前記プログラムは、
前記電子錠と前記端末装置との間の距離を検知する距離検知処理と、
前記距離に基づいて前記電子錠の解錠を制御する解錠制御処理と、
前記端末装置が、前記電子錠から予め定められた第1の距離以上離れた後、所定の時間を経過する前に、前記電子錠から前記第1の距離より短い予め定められた第2の距離以内に戻った場合、前記解錠制御処理を中止する中止処理と、
を前記端末装置に実行させ
前記所定の時間は、前記電子錠から前記第1の距離以上離れた人が、前記電子錠から前記第2の距離以内に戻るために必要な時間より短い、錠制御システム。
A lock control system including an electronic lock and a program executed by a terminal device that controls the electronic lock,
The program
a distance detection process for detecting the distance between the electronic lock and the terminal device;
an unlocking control process for controlling unlocking of the electronic lock based on the distance;
a canceling process for canceling the unlocking control process when the terminal device returns to within a predetermined second distance from the electronic lock, which is shorter than the first distance, before a predetermined time has elapsed after the terminal device has moved away from the electronic lock by a predetermined first distance or more ;
causing the terminal device to execute the
A lock control system , wherein the predetermined time is shorter than the time required for a person who has moved away from the electronic lock by more than the first distance to return to within the second distance from the electronic lock .
前記解錠制御処理は、
前記端末装置が、前記電子錠から前記第1の距離以上離れたときに、前記解錠制御処理を開始し、
前記端末装置が、前記電子錠から前記第2の距離以内に近づいたときに、前記電子錠が近距離通信で送信する所定の信号を受信する処理を開始する、請求項に記載の錠制御システム。
The unlocking control process includes:
When the terminal device is away from the electronic lock by the first distance or more, the terminal device starts the unlocking control process.
The lock control system according to claim 1 , wherein when the terminal device approaches within the second distance from the electronic lock, the terminal device starts a process of receiving a predetermined signal transmitted by the electronic lock via short-range communication .
前記解錠制御処理は、前記近距離通信で、前記所定の信号を受信したときに、前記電子錠に解錠を要求する制御信号を送信する処理を含む、請求項に記載の錠制御システム。 The lock control system according to claim 2 , wherein the unlocking control process includes a process of transmitting a control signal to the electronic lock requesting unlocking when the predetermined signal is received via the short-range communication. 前記第1の距離は、前記端末装置が前記電子錠から離れたことを検知するために予め設定された距離である、請求項乃至のいずれか一項に記載の錠制御システム。 The lock control system according to claim 1 , wherein the first distance is a distance that is preset to detect that the terminal device has moved away from the electronic lock. 電子錠を制御する端末装置であって、
前記電子錠と前記端末装置との間の距離を検知する距離検知部と、
前記距離に基づいて前記電子錠の解錠を制御する解錠制御処理を実行する解錠処理部と、
前記端末装置が、前記電子錠から予め定められた第1の距離以上離れた後、所定の時間を経過する前に、前記電子錠から前記第1の距離より短い予め定められた第2の距離以内に戻った場合、前記解錠制御処理を中止する中止処理部と、
を有し、
前記所定の時間は、前記電子錠から前記第1の距離以上離れた人が、前記電子錠から前記第2の距離以内に戻るために必要な時間より短い、端末装置。
A terminal device for controlling an electronic lock,
a distance detection unit that detects the distance between the electronic lock and the terminal device;
an unlocking processing unit that executes an unlocking control process to control unlocking of the electronic lock based on the distance;
a cancel processing unit that cancels the unlocking control process when the terminal device returns to within a predetermined second distance from the electronic lock, the second distance being shorter than the first distance, before a predetermined time has elapsed after the terminal device has moved away from the electronic lock by a predetermined first distance or more;
and
A terminal device in which the specified time is shorter than the time required for a person who is more than the first distance from the electronic lock to return to within the second distance from the electronic lock .
電子錠を制御する端末装置に、
前記電子錠と前記端末装置との間の距離を検知する処理と、
前記距離に基づいて前記電子錠の解錠を制御する解錠制御処理と、
前記端末装置が、前記電子錠から予め定められた第1の距離以上離れた後、所定の時間を経過する前に、前記電子錠から前記第1の距離より短い予め定められた第2の距離以内に戻った場合、前記解錠制御処理を中止する処理と、
を実行させ
前記所定の時間は、前記電子錠から前記第1の距離以上離れた人が、前記電子錠から前記第2の距離以内に戻るために必要な時間より短い、プログラム。
The terminal device that controls the electronic lock
A process of detecting a distance between the electronic lock and the terminal device;
an unlocking control process for controlling unlocking of the electronic lock based on the distance;
a process of terminating the unlocking control process when the terminal device returns to within a predetermined second distance from the electronic lock, the second distance being shorter than the first distance, before a predetermined time has elapsed after the terminal device has moved away from the electronic lock by a predetermined first distance or more;
Execute
The program , wherein the predetermined time is shorter than the time required for a person who has moved away from the electronic lock by more than the first distance to return to within the second distance from the electronic lock .
電子錠を制御する端末装置が、
前記電子錠と前記端末装置との間の距離を検知する処理と、
前記距離に基づいて、前記電子錠の解錠を制御する解錠制御処理と、
前記端末装置が、前記電子錠から予め定められた第1の距離以上離れた後、所定の時間を経過する前に、前記電子錠から前記第1の距離より短い予め定められた第2の距離以内に戻った場合、前記解錠制御処理を中止する処理と、
を実行し、
前記所定の時間は、前記電子錠から前記第1の距離以上離れた人が、前記電子錠から前記第2の距離以内に戻るために必要な時間より短い、錠制御方法。
The terminal device that controls the electronic lock is
A process of detecting a distance between the electronic lock and the terminal device;
an unlocking control process for controlling unlocking of the electronic lock based on the distance;
a process of terminating the unlocking control process when the terminal device returns to within a predetermined second distance from the electronic lock, the second distance being shorter than the first distance, before a predetermined time has elapsed after the terminal device has moved away from the electronic lock by a predetermined first distance or more;
Run
A lock control method , wherein the specified time is shorter than the time required for a person who has moved away from the electronic lock by more than the first distance to return to within the second distance from the electronic lock .
JP2021146999A 2021-07-02 2021-09-09 Lock control system, program, terminal device, and lock control method Active JP7793319B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/JP2022/025796 WO2023277023A1 (en) 2021-07-02 2022-06-28 Lock control system, program, terminal device, and lock control method
US18/574,346 US12518584B2 (en) 2021-07-02 2022-06-28 Lock control system, program, terminal device, and lock control method

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US202163217819P 2021-07-02 2021-07-02
US63/217,819 2021-07-02

Publications (2)

Publication Number Publication Date
JP2023008738A JP2023008738A (en) 2023-01-19
JP7793319B2 true JP7793319B2 (en) 2026-01-05

Family

ID=85112273

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2021146999A Active JP7793319B2 (en) 2021-07-02 2021-09-09 Lock control system, program, terminal device, and lock control method

Country Status (1)

Country Link
JP (1) JP7793319B2 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001051040A (en) 1999-08-09 2001-02-23 Nippon Telegr & Teleph Corp <Ntt> Position detection device
JP2003148017A (en) 2001-11-08 2003-05-21 Sharp Corp Lock device, lock control system and lock control method
JP2016014638A (en) 2014-07-03 2016-01-28 株式会社デンソー Portable device and position detection system
JP6872070B1 (en) 2020-10-14 2021-05-19 Kddi株式会社 Lock control device, lock control program and lock control method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001051040A (en) 1999-08-09 2001-02-23 Nippon Telegr & Teleph Corp <Ntt> Position detection device
JP2003148017A (en) 2001-11-08 2003-05-21 Sharp Corp Lock device, lock control system and lock control method
JP2016014638A (en) 2014-07-03 2016-01-28 株式会社デンソー Portable device and position detection system
JP6872070B1 (en) 2020-10-14 2021-05-19 Kddi株式会社 Lock control device, lock control program and lock control method

Also Published As

Publication number Publication date
JP2023008738A (en) 2023-01-19

Similar Documents

Publication Publication Date Title
US11627433B2 (en) Enhanced automotive passive entry
EP3227815B1 (en) Using sensor data to authenticate a user for a computer device
US20170228145A1 (en) Apparatuses, Methods and Computer Programs for Controlling a Machine
JP2011004214A (en) Information processing apparatus, security system, and function limiting method
SE1650212A1 (en) Portable electronic device
JP7286345B2 (en) Position detection system
EP3682659A1 (en) User authentication control using ultrasound
WO2019053220A1 (en) USER AUTHENTICATION CONTROL USING ULTRASOUND
JP7793319B2 (en) Lock control system, program, terminal device, and lock control method
JP6654258B2 (en) Authentication system, portable device, registration method, and program
WO2023277023A1 (en) Lock control system, program, terminal device, and lock control method
JP2017102866A (en) Radio communication device, information processing method, and program
KR20160122395A (en) Door lock apparatus and method for releasing lock thereof
JP2010039773A (en) System and method for authenticating user of position-indicating function
JP2010039775A (en) Mobile terminal location search system and mobile terminal location search method using location-instruction function
JP6272154B2 (en) Sound wave reception time calculation device, method and program, and distance estimation system provided with the device
JP2008258850A (en) Communication checker, communication state detection system, and communication state check method
JP2015177412A (en) Information processing device and screen lock release method
KR20250109689A (en) Systems and methods for access control
KR20250010893A (en) Vehicle and method of controlling the vehicle
AU2024285388A1 (en) Systems and methods for selective engagement with readers in multi-reader environment
JP2022129148A (en) Parking location guidance system, parking location guidance method, and transmitter
WO2019069685A1 (en) Communication system, unlocking method, and computer program
KR20180039532A (en) Apparatus and method for user authentication
TW201923607A (en) Data management systems and methods for vehicle applications, and related computer program products

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20240815

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20250617

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20250814

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20251118

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20251217

R150 Certificate of patent or registration of utility model

Ref document number: 7793319

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150