JP6298514B1 - Bluetooth communication system - Google Patents
Bluetooth communication system Download PDFInfo
- Publication number
- JP6298514B1 JP6298514B1 JP2016214052A JP2016214052A JP6298514B1 JP 6298514 B1 JP6298514 B1 JP 6298514B1 JP 2016214052 A JP2016214052 A JP 2016214052A JP 2016214052 A JP2016214052 A JP 2016214052A JP 6298514 B1 JP6298514 B1 JP 6298514B1
- Authority
- JP
- Japan
- Prior art keywords
- slave
- master
- mode
- authentication information
- authentication
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000004891 communication Methods 0.000 title claims abstract description 205
- 238000000034 method Methods 0.000 claims description 47
- 230000005540 biological transmission Effects 0.000 description 5
- 238000010586 diagram Methods 0.000 description 4
- 230000006870 function Effects 0.000 description 3
- 230000002457 bidirectional effect Effects 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 238000012795 verification Methods 0.000 description 1
Images
Abstract
【課題】ペアリングなしでも、不正な認証行為を排除した通信を確立すること、又、予め通信を確立することが認められた機器間のみで通信を確立して認証出来るブルートゥース通信システムを提供する。【解決手段】マスターモードでスレーブモードのスレーブ機器からの認証のための第一認証情報を受信したマスター機器が、マスターモードをスレーブモードに切り替えてスレーブ機器となり、マスターモードに切り替えたマスター機器に認証のための第二認証情報を送信する。スレーブ機器は第二認証情報送信後に、スレーブモードをマスターモードに切り替えてマスター機器になり、マスターモードでスレーブモードのスレーブ機器からの認証のための第二認証情報を受信したマスター機器が、マスターモードをスレーブモードに切り替えてスレーブ機器となり、スレーブモードをマスターモードに切り替えたマスター機器に認証のための第三認証情報を送信する構成とした。【選択図】図4To provide a Bluetooth communication system capable of establishing communication that eliminates an illegal authentication act without pairing, and establishing and authenticating communication only between devices that are permitted to establish communication in advance. . A master device that has received first authentication information for authentication from a slave device in the slave mode in the master mode changes to the slave mode by switching the master mode to the slave mode, and authenticates to the master device switched to the master mode. Send second authentication information for. After sending the second authentication information, the slave device switches the slave mode to the master mode to become the master device, and the master device that has received the second authentication information for authentication from the slave device in the slave mode in the master mode Is switched to the slave mode to become a slave device, and the third authentication information for authentication is transmitted to the master device that has switched the slave mode to the master mode. [Selection] Figure 4
Description
本発明は、ブルートゥース(Bluetooth(登録商標))通信システム及びブルートゥース通信方法に関し、詳しくはブルートゥース通信におけるマスター装置とスレーブ装置間における不正認証動作を排除するための通信システム及び通信方法に関する。 The present invention relates to a Bluetooth (registered trademark) communication system and a Bluetooth communication method, and more particularly, to a communication system and a communication method for eliminating an unauthorized authentication operation between a master device and a slave device in Bluetooth communication.
ブルートゥース(Bluetooth(登録商標))通信では、他の通信機器に接続を試みるスレーブ機器とスレーブ機器から接続を試みられたマスター機器間で行う通信であり、マスター機器として作用するためのマスターモードとスレーブ機器として作用するためのスレーブモードでは通信時の動作形態の一部が異なっている。尚、この動作の異なりは、夫々の機器の記憶装置に記憶されたソフトウェア及びハードウェアの違いにより生じるものである。 In Bluetooth (Bluetooth (registered trademark)) communication, communication is performed between a slave device trying to connect to another communication device and a master device trying to connect from the slave device, and a master mode and slave for acting as a master device. In the slave mode for acting as a device, part of the operation mode during communication is different. This difference in operation is caused by a difference in software and hardware stored in the storage device of each device.
このようなブルートゥース通信において、様々なデータの送受信を行うに先立って、予め通信が認められた機器間のみで通信を確立出来るように、マスター機器とスレーブ機器間において、アドバタイズ動作にて互いを認証し合い、通信の許可を行った後に認証データ以外のデータの送受信を行う方法が採用されている(特許文献1及び特許文献2)。
In such Bluetooth communication, prior to sending and receiving various data, the master device and the slave device authenticate each other by an advertising operation so that communication can be established only between devices that are allowed to communicate in advance. In other words, a method of transmitting / receiving data other than authentication data after permitting communication is employed (
そして、スレーブ機器から送信された情報に基づいてマスター機器が当該情報を判断して認証が行われ、通信が確立されている。即ち、スレーブ機器は情報の送信のみを行い、マスター機器は当該情報の受信と当該情報の確認を行うという一方向の認証作業が行われている。 Then, the master device determines the information based on the information transmitted from the slave device, performs authentication, and communication is established. That is, a one-way authentication operation is performed in which the slave device only transmits information, and the master device receives the information and confirms the information.
しかし、ブルートゥース通信において、マスター機器とスレーブ機器間において、アドバタイズ動作にて互いの認証データを認証し合う場合に、従来の認証方法では、本来は認証が許可されない状態であるのに、認証データが認証されてしまうことがあり、又、悪意による認証データ構築による等して不正な認証行為がなされる恐れがあった。 However, in Bluetooth communication, when authenticating each other's authentication data between the master device and the slave device by an advertising operation, the authentication data is not normally permitted in the conventional authentication method, There is a possibility that the user is authenticated, and there is a risk that an illegal authentication act may be performed by, for example, malicious authentication data construction.
そこで、データの送受信を行うに先立って、マスター機器とスレーブ機器間においてペアリングを行い、通信の許可を行った後にデータの送受信を行う方法が採用されている(特許文献2)。 Therefore, a method is adopted in which pairing is performed between a master device and a slave device prior to data transmission / reception, and data is transmitted / received after communication is permitted (Patent Document 2).
しかし、ペアリングは消費電力が大きく、出来るだけ電力を長持ちさせたいブルートゥース通信に用いられるマスター機器とスレーブ機器にとっては好ましくなかった。 However, pairing consumes a large amount of power, and is not preferable for master devices and slave devices used for Bluetooth communication that want to last as long as possible.
そこで、本発明は、ブルートゥース通信において、ペアリングなしでも、不正な認証行為を排除した通信を確立することを目的とする。又、より確実に不正な認証行為を排除した通信を確立することを目的とする。又、予め通信を確立することが認められた機器間のみで通信を確立して認証出来るようにすることを目的とする。 Accordingly, an object of the present invention is to establish communication in which an unauthorized authentication act is eliminated even without pairing in Bluetooth communication. Moreover, it aims at establishing the communication which excluded the unauthorized authentication act more reliably. It is another object of the present invention to establish and authenticate communication only between devices that are permitted to establish communication in advance.
以上のような課題を解決するための手段としての本発明は、ブルートゥース通信に用いられるブルートゥース通信モジュールを備えた第一機器であって、初期状態ではスレーブ機器であり、通信部が、初期状態ではマスター機器である第二機器に認証のための第二認証情報を送信した場合に、マスタースレーブ切替部がスレーブモードをマスターモードに切り替えて、マスター機器として動作し、前記通信部が、マスターモードからスレーブモードに切り替えた前記第二機器からの認証のための第三認証情報を受信した場合に、受信データ判定部が前記第二機器を認証することを特徴とする機器である。 The present invention as a means for solving the above problems is a first device provided with a Bluetooth communication module used for Bluetooth communication, and is a slave device in an initial state, and a communication unit is in an initial state. When the second authentication information for authentication is transmitted to the second device that is the master device, the master-slave switching unit switches the slave mode to the master mode and operates as the master device, and the communication unit starts from the master mode. When the third authentication information for authentication from the second device switched to the slave mode is received, the received data determination unit authenticates the second device.
又、上記機器において、ブルートゥース通信に用いられるブルートゥース通信モジュールを備えた第一機器であって、初期状態ではマスター機器であり、マスターモードで通信部がスレーブモードの第二機器からの認証のための第一認証情報を受信した場合に、マスタースレーブ切替部がマスターモードをスレーブモードに切り替えて、スレーブ機器として動作し、前記通信部が、初期状態ではスレーブ機器でありスレーブモードをマスターモードに切り替えた前記第二機器に認証のための第二認証情報を送信した場合に、前記マスタースレーブ切替部がスレーブモードをマスターモードに切り替えて、マスター機器として動作し、マスターモードで前記通信部がスレーブモードの前記第二機器からの認証のための第三認証情報を受信した場合に、前記受信データ判定部が前記第二機器を認証することを特徴とする機器である。 Further, in the above device, the first device is provided with a Bluetooth communication module used for Bluetooth communication, and is a master device in an initial state, and the communication unit in the master mode is used for authentication from the second device in the slave mode. When the first authentication information is received, the master / slave switching unit switches the master mode to the slave mode and operates as a slave device, and the communication unit is a slave device in the initial state and switches the slave mode to the master mode. When the second authentication information for authentication is transmitted to the second device, the master-slave switching unit switches the slave mode to the master mode and operates as a master device. In the master mode, the communication unit is in the slave mode. When receiving third authentication information for authentication from the second device In, the reception data determination unit is a device which is characterized by authenticating the second device.
又、ブルートゥース通信に用いられるブルートゥース通信モジュールを備えた第二機器であって、初期状態ではマスター機器であり、通信部が、初期状態ではスレーブ機器である第一機器から認証のための第二認証情報を受信した場合に、マスタースレーブ切替部がマスターモードをスレーブモードに切り替えて、スレーブ機器として動作し、前記通信部が、スレーブモードからマスターモードに切り替えた前記第一機器に認証のための第三認証情報を送信することを特徴とする機器である。 Also, a second device having a Bluetooth communication module used for Bluetooth communication, which is a master device in the initial state, and the communication unit is a second device for authentication from the first device which is a slave device in the initial state. When the information is received, the master-slave switching unit switches the master mode to the slave mode and operates as a slave device, and the communication unit performs authentication for the first device that has switched from the slave mode to the master mode. A device characterized by transmitting three authentication information.
又、上記機器において、ブルートゥース通信に用いられるブルートゥース通信モジュールを備えた第二機器であって、初期状態ではスレーブ機器であり、スレーブモードで通信部がマスターモードの第一機器に認証のための第一認証情報を送信した場合に、マスタースレーブ切替部がスレーブモードをマスターモードに切り替えて、マスター機器として動作し、前記通信部が、初期状態ではマスター機器でありマスターモードをスレーブモードに切り替えた前記第一機器から認証のための第二認証情報を受信した場合に、前記マスタースレーブ切替部がマスターモードをスレーブモードに切り替えて、スレーブ機器として動作し、スレーブモードで前記通信部がマスターモードの前記第一機器に認証のための第三認証情報を送信することを特徴とする機器である。 Further, in the above device, the second device having a Bluetooth communication module used for Bluetooth communication, which is a slave device in the initial state, and the communication unit in the slave mode is the first device for authentication to the first device in the master mode. When one authentication information is transmitted, the master-slave switching unit switches the slave mode to the master mode and operates as a master device, and the communication unit is a master device in the initial state and the master mode is switched to the slave mode. When the second authentication information for authentication is received from the first device, the master-slave switching unit switches the master mode to the slave mode and operates as a slave device, and the communication unit is in the master mode in the slave mode. Sending third authentication information for authentication to the first device It is a device to.
又、マスター機器とスレーブ機器を備えたブルートゥース通信システムであって、初期状態ではスレーブ機器であり、通信部が、初期状態ではマスター機器である第二機器に認証のための第二認証情報を送信した場合に、マスタースレーブ切替部がスレーブモードをマスターモードに切り替えて、マスター機器として動作し、前記通信部が、マスターモードからスレーブモードに切り替えた前記第二機器からの認証のための第三認証情報を受信した場合に、受信データ判定部が前記第二機器を認証する第一機器と、初期状態ではマスター機器であり、通信部が、初期状態ではスレーブ機器である第一機器から認証のための第二認証情報を受信した場合に、マスタースレーブ切替部がマスターモードをスレーブモードに切り替えて、スレーブ機器として動作し、前記通信部が、スレーブモードからマスターモードに切り替えた前記第一機器に認証のための第三認証情報を送信する第二機器を備えることを特徴とするブルートゥース通信システムである。 Also, a Bluetooth communication system including a master device and a slave device, which is a slave device in the initial state, and the communication unit transmits second authentication information for authentication to the second device which is the master device in the initial state. In this case, the master-slave switching unit switches the slave mode to the master mode and operates as a master device, and the communication unit performs the third authentication for authentication from the second device switched from the master mode to the slave mode. When the information is received, the received data determination unit authenticates the second device and the master device in the initial state, and the communication unit authenticates from the first device that is the slave device in the initial state. When the second authentication information is received, the master / slave switching unit switches the master mode to the slave mode, Operates as a, the communication unit is a Bluetooth communication system, characterized in that it comprises a second device that transmits third authentication information for authentication to said first device is switched from the slave mode to the master mode.
又、上記ブルートゥース通信システムにおいて、マスター機器とスレーブ機器を備えたブルートゥース通信システムであって、初期状態ではマスター機器であり、マスターモードで通信部がスレーブモードの第二機器からの認証のための第一認証情報を受信した場合に、マスタースレーブ切替部がマスターモードをスレーブモードに切り替えて、スレーブ機器として動作し、前記通信部が、初期状態ではスレーブ機器でありスレーブモードをマスターモードに切り替えた前記第二機器に認証のための第二認証情報を送信した場合に、前記マスタースレーブ切替部がスレーブモードをマスターモードに切り替えて、マスター機器として動作し、前記通信部が、マスターモードからスレーブモードに切り替えた前記第二機器からの認証のための第三認証情報を受信した場合に、受信データ判定部が前記第二機器を認証する第一機器と、初期状態ではスレーブ機器であり、スレーブモードで通信部がマスターモードの第一機器に認証のための第一認証情報を送信した場合に、マスタースレーブ切替部がスレーブモードをマスターモードに切り替えて、マスター機器として動作し、前記通信部が、初期状態ではマスター機器でありマスターモードをスレーブモードに切り替えた前記第一機器から認証のための第二認証情報を受信した場合に、前記マスタースレーブ切替部がマスターモードをスレーブモードに切り替えて、スレーブ機器として動作し、前記通信部が、スレーブモードからマスターモードに切り替えた前記第一機器に認証のための第三認証情報を送信する第二機器を備えることを特徴とするブルートゥース通信システムである。 In the Bluetooth communication system, the Bluetooth communication system includes a master device and a slave device. The Bluetooth communication system is a master device in an initial state, and the communication unit in the master mode is used for authentication from the second device in the slave mode. When one authentication information is received, the master-slave switching unit switches the master mode to the slave mode and operates as a slave device, and the communication unit is a slave device in the initial state and the slave mode is switched to the master mode. When the second authentication information for authentication is transmitted to the second device, the master-slave switching unit switches the slave mode to the master mode and operates as a master device, and the communication unit switches from the master mode to the slave mode. For authentication from the switched second device When the authentication information is received, the received data determination unit authenticates the second device and the slave device in the initial state, and the communication unit in the slave mode authenticates the first device in the master mode. When the first authentication information is transmitted, the master / slave switching unit switches the slave mode to the master mode and operates as a master device, and the communication unit is the master device in the initial state and switches the master mode to the slave mode. When the second authentication information for authentication is received from the first device, the master-slave switching unit switches the master mode to the slave mode and operates as a slave device, and the communication unit changes from the slave mode to the master mode. A second device that transmits third authentication information for authentication to the first device switched to A Bluetooth communication system characterized.
又、上記ブルートゥース通信システムにおいて、前記第一機器が前記第二機器からの認証のための第三認証情報を受信した場合であって、前記第一機器の受信データ判定部が前記第二機器を認証した場合に、前記第一機器と前記第二機器間でペアリングを行うことを特徴するブルートゥース通信システムである。 In the Bluetooth communication system, the first device receives third authentication information for authentication from the second device, and the received data determination unit of the first device The Bluetooth communication system is characterized in that, when authenticated, pairing is performed between the first device and the second device.
又、ブルートゥース通信方法であって、スレーブモードでマスターモードのマスター機器に認証のための第二認証情報を送信した後に、スレーブモードをマスターモードに切り替えてマスター機器になり、前記第二認証情報を受信した後にマスターモードをスレーブモードに切り替えたスレーブ機器からの認証のための第三認証情報を受信し、前記第三認証情報を送信した前記スレーブ機器を認証することを特徴とするブルートゥース通信方法である。 Further, in the Bluetooth communication method, after transmitting the second authentication information for authentication to the master device in the master mode in the slave mode, the slave mode is switched to the master mode to become the master device, and the second authentication information is A Bluetooth communication method characterized by receiving third authentication information for authentication from a slave device whose master mode has been switched to slave mode after receiving and authenticating the slave device that has transmitted the third authentication information. is there.
又、上記ブルートゥース通信方法において、マスターモードでスレーブモードのスレーブ機器からの認証のための第一認証情報を受信したマスター機器が、マスターモードをスレーブモードに切り替えてスレーブ機器となり、スレーブモードをマスターモードに切り替えたマスター機器に認証のための第二認証情報を送信した後に、スレーブモードをマスターモードに切り替えてマスター機器になり、前記第二認証情報を受信した後にマスターモードをスレーブモードに切り替えたスレーブ機器からの認証のための第三認証情報を受信し、前記第三認証情報を送信した前記スレーブ機器を認証することを特徴とするブルートゥース通信方法である。 In the above Bluetooth communication method, the master device that has received the first authentication information for authentication from the slave device in the slave mode in the master mode switches the master mode to the slave mode and becomes the slave device, and the slave mode becomes the master mode. After sending the second authentication information for authentication to the master device switched to, the slave mode is switched to the master mode to become the master device, and the master mode is switched to the slave mode after receiving the second authentication information A Bluetooth communication method characterized by receiving third authentication information for authentication from a device and authenticating the slave device that has transmitted the third authentication information.
又、ブルートゥース通信方法であって、マスター機器が、スレーブ機器からの認証のための第二認証情報を受信した後に、マスターモードをスレーブモードに切り替えてスレーブ機器となり、前記スレーブ機器が、前記第二認証情報を送信した後にスレーブモードをマスターモードに切り替えたマスター機器に、認証のための第三認証情報を送信することを特徴とするブルートゥース通信方法である。 Further, in the Bluetooth communication method, after the master device receives the second authentication information for authentication from the slave device, the master mode is switched to the slave mode to become the slave device, and the slave device becomes the second device. A Bluetooth communication method characterized by transmitting third authentication information for authentication to a master device that has switched the slave mode to the master mode after transmitting the authentication information.
又、上記ブルートゥース通信方法において、ブルートゥース通信方法であって、スレーブモードでマスターモードのマスター機器に認証のための第一認証情報を送信したスレーブ機器が、スレーブモードをマスターモードに切り替えてマスター機器となり、マスターモードをスレーブモードに切り替えたスレーブ機器からの認証のための第二認証情報を受信した後に、マスターモードをスレーブモードに切り替えてスレーブ機器となり、前記スレーブ機器が、前記第二認証情報を送信した後にスレーブモードをマスターモードに切り替えたマスター機器に認証のための第三認証情報を送信することを特徴とするブルートゥース通信方法である。 In the Bluetooth communication method, the slave communication device that transmits the first authentication information for authentication to the master device in the master mode in the slave mode switches the slave mode to the master mode and becomes the master device. After receiving the second authentication information for authentication from the slave device whose master mode is switched to the slave mode, the master mode is switched to the slave mode to become the slave device, and the slave device transmits the second authentication information After that, the Bluetooth communication method is characterized in that the third authentication information for authentication is transmitted to the master device whose slave mode is switched to the master mode.
又、マスターとスレーブを用いたブルートゥース通信方法であって、スレーブ機器がマスター機器に認証のための第一認証情報を送信するステップと、マスター機器がスレーブ機器からの前記第一認証情報を受信するステップと、スレーブ機器がマスター機器に前記第一認証情報を送信した後に、マスター機器に切り替わるステップと、マスター機器がスレーブ機器からの前記第一認証情報を受信した後に、スレーブ機器に切り替わるステップと、スレーブ機器がマスター機器に認証のための第二認証情報を送信するステップと、マスター機器がスレーブ機器からの前記第二認証情報を受信するステップと、前記第二認証情報を受信したマスター機器がスレーブ機器に切り替わるステップと、前記第二認証情報を送信したスレーブ機器がマスター機器に切り替わるステップと、前記第二認証情報を受信したマスター機器が切り替わったスレーブ機器が、前記第二認証情報を送信したスレーブ機器が切り替わったマスター機器に認証のための第三認証情報を送信するステップと、前記第二認証情報を送信したスレーブ機器が切り替わったマスター機器が前記第三認証情報を受信するステップと、前記第三認証情報を受信したマスター機器が、前記第三認証情報を送信したスレーブ機器を認証するステップと、を備えることを特徴とするブルートゥース通信方法である。 Further, in the Bluetooth communication method using a master and a slave, the slave device transmits first authentication information for authentication to the master device, and the master device receives the first authentication information from the slave device. A step of switching to the master device after the slave device has transmitted the first authentication information to the master device; a step of switching to the slave device after the master device has received the first authentication information from the slave device; The slave device transmits second authentication information for authentication to the master device, the master device receives the second authentication information from the slave device, and the master device that has received the second authentication information is the slave A step of switching to a device and a slave device that has transmitted the second authentication information -The step of switching to the device, and the slave device to which the master device that has received the second authentication information is switched transmits the third authentication information for authentication to the master device to which the slave device that has transmitted the second authentication information is switched. A master device in which the slave device that transmitted the second authentication information is switched receives the third authentication information, and a master device that receives the third authentication information transmits the third authentication information. And a step of authenticating the slave device. A Bluetooth communication method comprising:
又、上記ブルートゥース通信方法において、前記第三認証情報を受信したマスター機器と前記第三認証情報を送信したスレーブ機器がペアリングを行うステップと、を備えることを特徴とするブルートゥース通信方法である。 The Bluetooth communication method may further include a step of performing pairing between the master device that has received the third authentication information and the slave device that has transmitted the third authentication information.
又、ブルートゥース通信方法を用いた施解錠方法であって、キー装置がスレーブモードでマスターモードの施解錠制御装置に認証のための第一認証情報を送信するステップと、前記施解錠制御装置がマスターモードでスレーブモードの前記キー装置からの前記第一認証情報を受信するステップと、前記キー装置が前記施解錠制御装置に前記第一認証情報を送信した後に、スレーブモードをマスターモードに切り替えるステップと、前記施解錠制御装置が前記キー装置からの前記第一認証情報を受信した後に、マスターモードをスレーブモードに切り替えるステップと、前記施解錠制御装置がスレーブモードをマスターモードに切り替えた前記キー装置に認証のための第二認証情報を送信するステップと、前記キー装置がマスターモードをスレーブモードに切り替えた前記施解錠制御装置からの前記第二認証情報を受信するステップと、前記キー装置が前記施解錠制御装置からの前記第二認証情報を受信した後に、マスターモードをスレーブモードに切り替えるステップと、前記施解錠制御装置が前記キー装置に前記第二認証情報を送信した後に、スレーブモードをマスターモードに切り替えるステップと、前記キー装置がスレーブモードでマスターモードの前記施解錠制御装置に、施解錠の要求を含む、認証のための第三認証情報を送信するステップと、前記施解錠制御装置がマスターモードでスレーブモードの前記キー装置からの前記第三認証情報を受信するステップと、施解錠の要求を含む前記第三認証情報を受信した前記施解錠制御装置が扉装置に解錠又は施錠を指示するステップと、を備えることを特徴とする施解錠方法である。 A locking / unlocking method using a Bluetooth communication method, wherein the key device transmits first authentication information for authentication to the locking / unlocking control device in the master mode in the slave mode; Receiving the first authentication information from the key device in slave mode in mode, and switching the slave mode to master mode after the key device has transmitted the first authentication information to the locking and unlocking control device; A step of switching the master mode to the slave mode after the locking / unlocking control device has received the first authentication information from the key device; and the keying device for which the locking / unlocking control device has switched the slave mode to the master mode. Transmitting the second authentication information for authentication, and the key device switches to the master mode. Receiving the second authentication information from the locking / unlocking control device that has been switched to the mode, and switching the master mode to the slave mode after the key device has received the second authentication information from the locking / unlocking control device. A step of switching the slave mode to the master mode after the locking and unlocking control device transmits the second authentication information to the key device; and the key device to the locking and unlocking control device of the master mode in the slave mode, Transmitting the third authentication information for authentication including a request for locking and unlocking; receiving the third authentication information from the key device in the slave mode in the master mode by the locking and unlocking control device; The locking / unlocking control device that has received the third authentication information including the lock request instructs the door device to unlock or lock. Tsu and up, a locking and unlocking method characterized in that it comprises a.
又、上記施解錠方法において、前記施解錠制御装置が前記第三認証情報を受信した後に、前記施解錠制御装置と前記キー装置がペアリングを行うステップと、を備えることを特徴とする施解錠方法である。 In the above locking / unlocking method, the locking / unlocking device includes the step of pairing the locking / unlocking control device and the key device after the locking / unlocking control device receives the third authentication information. Is the method.
以上のような本発明によれば、ブルートゥース通信において、ペアリングなしでも、不正な認証行為を排除した通信を確立することが可能となった。又、より確実に不正な認証行為を排除した通信を確立することが可能となった。又、予め通信を確立することが認められた機器間のみで通信を確立して認証することが可能となった。 According to the present invention as described above, in Bluetooth communication, it is possible to establish communication that eliminates unauthorized authentication acts without pairing. In addition, it has become possible to establish communication that eliminates unauthorized authentication more reliably. Further, it is possible to establish and authenticate communication only between devices that are permitted to establish communication in advance.
以下、本発明の実施の形態を図を参照して説明する。図1は本発明のブルートゥース通信システム1の概略構成を示すブロック図である。本発明において、ブルートゥースの規格としてはブルートゥースローエナジー(Bluetooth(登録商標)LE)が用いられる。ブルートゥース通信システム1はマスターとしての施解錠制御装置2とスレーブとしてのキー装置3を備えて構成される通信網であり、図1に示す実施の形態においてはキー装置3は1個で構成されているが、1個の施解錠制御装置2に対して1個又は複数のキー装置3で構成することが出来る。
Hereinafter, embodiments of the present invention will be described with reference to the drawings. FIG. 1 is a block diagram showing a schematic configuration of a
マスターとしての施解錠制御装置2は、施解錠制御装置2を制御するCPU21、CPU21とバス20で接続された、スレーブとしてのキー装置3との通信をブルートゥースの通信規格に準拠した通信に係る通信処理で実行するブルートゥース通信モジュール22、記憶装置としてのROM26、図示しない扉装置との通信を行うためのI/F回路28を備えて構成されている。ROM26にはブルートゥース通信で用いられるマスター用プログラム等を記憶させることも可能である。又、施解錠制御装置2は、扉装置における鍵の位置を把握する錠位置センサ23、錠駆動回路24、施解錠制御装置2周囲の人を感知する人感センサ25、電源としての電池27、外部電源271、RF回路200、スイッチ29等を備えることとしてもよい。
The locking / unlocking
施解錠制御装置2は、常に起動した状態でもよいが、省電力化の為、スイッチ29の操作により、又は人感センサ25が施解錠制御装置2周囲の人を感知することにより起動する構成とすることが好ましい。又、電池27と外部電源271は両方備えてもよいがいずれかのみを備える構成としてもよい。
The locking / unlocking
ブルートゥース通信モジュール22は、アンテナ221を含み、その他図2に示すように、ブルートゥース通信モジュール22を制御するCPUコア71、ブルートゥース通信のプログラムを格納するプログラム領域のメモリ72、ブルートゥースローエナジー(BLE)関連動作を行うBLEコア73、ブルートゥース通信ハード部であるRadioトランシーバ74、外部とのインターフェイスであるI/O75、その他図示しない電源、発振子等を備えて構成されている。又、図3に示すように、ブルートゥース通信を行う通信部222、機器のマスターとスレーブを切り替えさせるマスタースレーブ切替部223、スレーブ機器から受信したデータが正しいかを判定する受信データ判定部224、暗号化鍵生成部225を備え、これらはメモリ72に格納されたプログラムが制御部226であるCPUコア71の制御のもとに実行されることにより構成される。又、公開鍵、固定の秘密鍵、可変の秘密鍵等のデータはメモリ72に格納されている。
The
施解錠制御装置2は、ブルートゥース通信モジュール22により後述するキー装置3のブルートゥース通信モジュール32間での通信の確立により、CPU21の制御によりI/F回路28を介して図示しない扉装置に解錠又は施錠の指示及び扉錠等の状態情報や外部情報の入力や出力を行い、図示しない扉の錠を施解錠させ、更に、錠駆動回路24を介して図示しない扉装置に解錠又は施錠の指示を行い、図示しない扉の錠を施解錠するための装置である。
The locking / unlocking
スレーブとしてのキー装置3は、マスターとしての施解錠制御装置2との通信をブルートゥースの通信規格に準拠した通信に係る通信処理で実行するブルートゥース通信モジュール32、記憶装置としてのROM36、電源としての電池37を備えて構成されている。ROM36にはブルートゥース通信で用いられるスレーブ用プログラムやスレーブ機器ID等を記憶させることも可能である。又、キー装置3はNFCダイナミックタグとアンテナを備えたNFCモジュール等の通信モジュール33、スイッチ38、振動センサ39を備えることとしてもよい。通信モジュール33を設けることによりキー装置3をICタグ等として使用することが出来る。尚、スレーブ機器IDはNFCダイナミックタグに記憶させることが出来、このような構成により、キー装置3をICタグ等として使用する場合にブルートゥース通信で使用したスレーブ機器IDと同じIDとして扱うことが出来る。
The
又、キー装置3は、常に起動した状態でもよいが、省電力化の為、スイッチ38の操作により電源の入切を手入力で行い、又は、振動センサ39がキー装置3の振動を感知することにより振動がないときには電源を切り、振動がある時には電源を入れることとしてもよい。又、キー装置3は、図示しない解錠ボタン及び施錠ボタンを設け、ブルートゥース通信モジュール32が押下されたボタンが解錠又は施錠するかのボタンの状態を判定して、錠を解錠するか施錠するかの要求を施解錠制御装置2に送る。
The
尚、キー装置3には解錠ボタン及び施錠ボタンを設けず、施解錠制御装置2に送られる要求は、解錠する要求のみとしてもよい。この場合、施解錠制御装置2は図示しない扉装置に解錠の指示を行い、更に所定時間経過後に施解錠制御装置2は扉装置に施錠の指示を行う構成とすることが出来る。又、キー装置3には解錠ボタン及び施錠ボタンを設けず、施解錠制御装置2に送られる要求は、錠の現在の解錠状態又は施錠状態と逆の状態とする要求とすることとしてもよい。
The
ブルートゥース通信モジュール32は、アンテナ321を含み、その他図2に示すように、ブルートゥース通信モジュール22を制御するCPUコア71、ブルートゥース通信のプログラムを格納するプログラム領域のメモリ72、ブルートゥースローエナジー(BLE)関連動作を行うBLEコア73、ブルートゥース通信ハード部であるRadioトランシーバ74、外部とのインターフェイスであるI/O75、その他図示しない電源、発振子等を備えている。又、図3に示すように、ブルートゥース通信を行う通信部322、マスタースレーブ切替部323、ID生成部324、暗号化制御データ生成部325を備え、これらはメモリに格納されたプログラムが制御部326であるCPUコアの制御のもとに実行されることにより構成される。又、公開鍵、固定の秘密鍵、可変の秘密鍵等のデータはメモリ72に格納されている。
The
キー装置3は、ブルートゥース通信モジュール32により施解錠制御装置2のブルートゥース通信モジュール22間での通信の確立により、施解錠制御装置2の錠の解錠又は施錠或いは更に扉を開け閉めさせるための装置である。
The
ブルートゥース通信モジュール22とブルートゥース通信モジュール32を同一の構成とすることで、施解錠制御装置2をマスター機器としてもスレーブ機器としても作用させることが出来、キー装置3をスレーブ機器としてもマスター機器としても作用させることが出来る。そして、施解錠制御装置2とキー装置3は、ブルートゥース通信モジュール22、32においてマスタースレーブ切替部223、323からの切替指令に従って、即ち、メモリ72に格納されたプログラムに従って、マスター機器として作用するマスターモードからスレーブ機器として作用するスレーブモードへ、或いはスレーブ機器として作用するスレーブモードからマスター機器として作用するマスターモードへの切替を行う。
By making the
上記の構成の施解錠制御装置2及びキー装置3の動作について図4〜図8を参照して説明する。図4は初期状態としてスレーブとしてのキー装置3の処理手順を示すフロー図であり、図5は図4のS202のダミーIDの作成の詳細な処理手順を示すフロー図であり、図6は図4のS207の暗号化制御データの生成の詳細な処理手順を示すフロー図であり、図7は初期状態としてマスターとしての施解錠制御装置2の処理手順を示すフロー図であり、図8は図7のS405の暗号化制御データの生成の詳細な処理手順を示すフロー図である。尚、施解錠制御装置2及びキー装置3とでの通信が開始される前の初期状態では、施解錠制御装置2がマスター機器として作用しており、キー装置3がスレーブ機器として作用している。
Operations of the locking / unlocking
施解錠制御装置2は、スイッチ29の操作により、又は人感センサ25が施解錠制御装置2の周囲に人を感知することにより起動する。尚、常時起動している構成としてもよい。キー装置3は、スイッチ38の操作により、又は、振動センサ39がキー装置3の振動を感知することにより起動する。尚、常時起動している構成としてもよい。
The locking / unlocking
図4に示すように、キー装置3において、ブルートゥース通信モジュール32はスレーブモードであり、キー装置3はスレーブ機器として動作を開始するS201。そして先ず、認証のための第一認証情報としてのダミーIDの作成を行うS202。
As shown in FIG. 4, in the
S202のダミーIDの作成について詳細に説明すると、図5に示すように、ブルートゥース通信モジュール32、詳しくはID生成部324は、NFCダイナミックタグ等で構成することが出来る通信モジュール33内の送受信用ICの特有のIDを取得するS211。そして、メモリ72内に格納された鍵1のデータを用いて上記特有のIDを暗号化しS212、ダミーIDを完成させるS213。そして、図4に示すように、スレーブ機器としてダミーIDをマスターとしての施解錠制御装置2に通信部322が送信するS203。尚、鍵1はCPUコア又はBLEコアの記憶領域に格納する構成としてもよい。
The creation of the dummy ID in S202 will be described in detail. As shown in FIG. 5, the
このようにキー装置3が施解錠制御装置2に送信するID、即ち認証のための第一認証情報としてダミーIDを用いることで、よりセキュリティーを高めることが出来る。尚、ここでキー装置3が施解錠制御装置2に送信するIDはダミーIDではなく、予めブルートゥース通信モジュール32内のメモリに記憶されたIDを用いてもよい。この場合にはキー装置3は通信モジュール33を備えなくてもよい。
Thus, the security can be further enhanced by using the dummy ID as the ID transmitted from the
キー装置3は、図4に示すように、ダミーIDを施解錠制御装置2に送信した後、マスタースレーブ切替部323が、言い換えればメモリ72に格納されたプログラムがCPUコア71の制御のもとに実行されて、ブルートゥース通信モジュール32をマスターモードに切替えて、キー装置3をマスター機器に切り替えて待ち受け動作となるS204。
As shown in FIG. 4, the
図7に示すように、施解錠制御装置2においてブルートゥース通信モジュール22はマスターモードであり、施解錠制御装置2はマスター機器として動作を開始するS401。そして、スレーブ機器としてのキー装置3からの信号を待ち受ける動作を行うS402。そして、受信データ判定部224がスレーブ機器としてのキー装置3からの返信の有無を確認するS403。キー装置3からの返信がある場合(Yes)には、メモリ72に格納された照合用のデータを参照して、キー装置3からのデータ、第一認証情報としてのダミーIDが正しいか否かを判定するS404。キー装置3からの返信がない場合(No)には、S401へ戻る。
As shown in FIG. 7, in the locking / unlocking
S404でデータ、ダミーIDが正しいと判断した場合(Yes)には、暗号化鍵生成部225は認証のための第二認証情報としての暗号化鍵データの生成を行うS405。S405の暗号化鍵データの生成は、図8に示すように、ブルートゥース通信モジュール22の暗号化鍵生成部225が、乱数を発生させS421、メモリ72内のプログラムに格納された鍵1のデータを用いて乱数データを「鍵1」で暗号化しS422、暗号化鍵データ(鍵2データ)の生成を行う。そして、図7に示すように、マスタースレーブ切替部223が、施解錠制御装置2をスレーブ機器に切り替えてS406、S405で生成した暗号化鍵データ(鍵2データ)を、通信部222がマスター機器としてのキー装置3に送信するS407。そして、マスタースレーブ切替部223が、施解錠制御装置2をマスター機器に切り替えて、キー装置3からの信号を待ち受ける動作を行うS408。尚、S421及びS422において、乱数を発生させて用いるのではなく、暗号化鍵生成部225が、乱数データ以外の変数を発生させ又は固定値を取得し、それらを「鍵1」で暗号化して用いることとしてもよい。
If it is determined in S404 that the data and dummy ID are correct (Yes), the encryption
このように、スレーブ機器である一方の機器からマスター機器である他方の機器へのデータの通信による認証が終了後には、一方の機器はスレーブ機器からマスター機器に、他方の機器はマスター機器からスレーブ機器に切り替える。このような切り替えは、夫々の装置のブルートゥース通信モジュール内のプログラム領域に記憶させているソフトウェアで実現させている。 Thus, after authentication by data communication from one device that is a slave device to the other device that is the master device, one device is changed from the slave device to the master device, and the other device is transferred from the master device to the slave device. Switch to device. Such switching is realized by software stored in a program area in the Bluetooth communication module of each device.
一方、キー装置3は、図4に示すように、暗号化制御データ生成部325がスレーブ機器に切替わった施解錠制御装置2からの返信の有無を確認するS205。施解錠制御装置2からの返信がある場合(Yes)、即ち図7のS407で施解錠制御装置2が第二認証情報としての暗号化鍵データ(鍵2データ)を送信し、キー装置3がその暗号化鍵データ(鍵2データ)を受信した場合には、暗号化制御データ生成部325がその暗号化鍵データ(鍵2データ)が正しい相手から、即ちキー装置3がS203でダミーIDを送信した施解錠制御装置2から送信されてきたデータか否かを判定するS206。
On the other hand, as shown in FIG. 4, the
キー装置3、詳しくは暗号化制御データ生成部325は、S206で暗号化鍵データ(鍵2データ)が正しい相手から送信されてきたと判断した場合(Yes)には、暗号化制御データの生成を行うS207。正しい相手とは、予め対応付けられた施解錠制御装置2と施解錠制御装置2を解錠又は施錠可能に設定されたキー装置3である。S207の暗号化制御データの生成は、図6に示すように、先ず、ブルートゥース通信モジュール32の暗号化制御データ生成部325は、メモリ72内のプログラムに格納された鍵1のデータを用いて施解錠制御装置2からの暗号化鍵データを複合化しS221、そして、複合化したデータから「鍵2」を取り出しS222、NFCダイナミックタグ等で構成することが出来る通信モジュール33内の送受信用ICの特有のIDを取得しS223、キー装置3のボタン状態、即ち解錠ボタン又は施錠ボタンの何れかが押下されているかの情報を取得しS224、特有のIDを「鍵2」のデータで暗号化しS225、そしてボタン情報を暗号化データに付加しS226、認証のための第三認証情報としての暗号化制御データを完成させるS227。
If the
尚、S224において、ボタン情報は、解錠する要求の情報のみとしてもよい。この場合、施解錠制御装置2は図示しない扉装置に解錠の指示を行い、更に所定時間経過後に施解錠制御装置2は扉装置に施錠の指示を行う構成とすることが出来る。又、キー装置3には解錠ボタン及び施錠ボタンを設けていない場合には、S224を省略し、S226で錠の現在の解錠状態又は施錠状態と逆の状態とする要求の情報を暗号化データに付加する構成とすることが出来る。
In S224, the button information may be only information on a request for unlocking. In this case, the locking / unlocking
そして、図4に示すように、暗号化制御データの完成後、マスタースレーブ切替部323が、スレーブ機器に切り替えてS208、通信部322が第三認証情報としての暗号化制御データを施解錠制御装置2へ送信するS209。S206でデータが正しくない相手から送信されてきたと判断した場合(No)には、S201へ戻る。
Then, as shown in FIG. 4, after the encryption control data is completed, the master /
一方、施解錠制御装置2は、図7に示すように、受信データ判定部224がスレーブ機器としてのキー装置3からの返信(暗号化制御データの送信)の有無を確認するS409。キー装置3からの返信がある場合(Yes)には、受信データ判定部224が、受信したデータ内に認証のための第三認証情報としての暗号化制御データは入っているか否かを判定するS410。キー装置3からの返信がない場合(No)には、S401へ戻る。S410で暗号化制御データが入っている場合(Yes)、即ちS209でキー装置3が暗号化制御データを施解錠制御装置2に送信した場合には、暗号化制御データ内のボタン状態の情報、即ち錠の解錠又は施錠の要求を取り出すS411。暗号化制御データが入っていない場合(No)には、S401へ戻る。そして、S411でボタン状態を取り出した後、制御部226が錠の解錠又は施錠の要求に従ってI/F回路28を介して図示しない扉装置に解錠又は施錠の指示を行うS412。図示しない扉装置は当該指示に従って扉の錠を解錠又は施錠する。尚、自動ドアの場合には、扉装置は当該指示に従って扉を開ける。又、解錠した状態の錠は、扉が開いた状態から閉まった状態となった信号を受信した場合や錠が解錠した状態となってから一定時間経過後に錠駆動回路24を介して施錠の指示を受けた扉装置により施錠する構成とすることが出来る。
On the other hand, in the locking / unlocking
尚、施解錠制御装置2には錠位置センサ回路23を設け、施解錠制御装置2が錠の施解錠を扉装置に指示する際には錠位置センサ回路23により予め錠の解錠状態又は施錠状態を確認してから指示をする構成とすることが出来る。尚、錠位置センサ回路23により正常に施解錠することが出来たかの情報も取得することが出来る。
The lock /
このように、スレーブ機器である一方の機器からマスター機器である他方の機器へのデータの通信(アドバタイズ通信)による認証が終了後には、一方の機器はスレーブ機器からマスター機器に、他方の機器はマスター機器からスレーブ機器に切り替える。そして、スレーブ機器に切り替えられた他方の機器からマスター機器に切り替えられた一方の機器へのデータの通信(アドバタイズ通信)による認証が終了後には、一方の機器はマスター機器からスレーブ機器に、他方の機器はスレーブ機器からマスター機器に切り替えられて、初期の状態に戻る。そして、スレーブ機器である一方の機器からマスター機器である他方の機器へのデータの通信(アドバタイズ通信)により、マスター機器によるスレーブ機器の認証及びスレーブ機器からの施解錠の指示情報の受信を行う。尚、マスター機器とスレーブ機器間のこのような切り替えは、夫々の装置のブルートゥース通信モジュール内のプログラム領域に記憶させているソフトウェアで実現させている。 In this way, after authentication by data communication (advertisement communication) from one device that is a slave device to the other device that is a master device, one device is changed from the slave device to the master device, and the other device is Switch from the master device to the slave device. After the authentication by data communication (advertisement communication) from the other device switched to the slave device to one device switched to the master device, one device is changed from the master device to the slave device, and the other device is switched to the other device. The device is switched from the slave device to the master device, and returns to the initial state. Then, by communication (advertisement communication) of data from one device as the slave device to the other device as the master device, authentication of the slave device by the master device and reception of locking / unlocking instruction information from the slave device are performed. Note that such switching between the master device and the slave device is realized by software stored in the program area in the Bluetooth communication module of each device.
このように、本発明は、アドバタイズ通信を用いて双方向に認証を行うので、ペアリングのようにいくつかの決まったデータを送る必要があるために消費電力が大きくなる方法を用いずに認証を行えるので、マスター側の消費電力を非常に低く抑えることが出来、又、マスター機器とスレーブ機器を切り替えて使用するので、施解錠制御装置2及びキー装置3のような通信行う双方の機器がスレーブ機器となるので、双方の機器の消費電力を非常に低く抑えることが可能となっている。
As described above, since the present invention performs bidirectional authentication using advertised communication, authentication must be performed without using a method that increases power consumption because it is necessary to send some fixed data such as pairing. The power consumption on the master side can be kept very low, and since the master device and the slave device are switched and used, both the communicating devices such as the locking / unlocking
又、本発明は、アドバタイズ通信を用いて相互にて認証を行うので、或いは更に認証時に毎回異なる鍵値での暗号化が可能であり、不正機が同様のデータを送っても、次の送信時には異なる鍵となっているために、通信が確立できず、不正な認証行為を排除した通信を確立することが可能となっている。又、予め通信を確立することが認められた機器間のみで通信を確立して認証することが可能となっている。 In the present invention, mutual authentication is performed using advertised communication, or encryption with a different key value is possible each time authentication is performed, and even if an unauthorized device sends similar data, the next transmission is possible. Since it is sometimes a different key, communication cannot be established, and it is possible to establish communication that eliminates unauthorized authentication. Further, it is possible to establish and authenticate communication only between devices that are permitted to establish communication in advance.
更に、このようにして双方からの認証の後、スレーブ機器からの施解錠の指示情報の受信前後に、更にマスター機器とスレーブ機器間においてペアリングを行うことが出来る。ペアリングを用いることにより、より確実に不正な認証行為を排除した通信を確立することが可能となっている。 Further, after authentication from both sides in this way, pairing can be further performed between the master device and the slave device before and after receiving the locking / unlocking instruction information from the slave device. By using pairing, it is possible to establish a communication that eliminates unauthorized authentication more reliably.
上記の実施形態では、初期状態として施解錠制御装置2をマスター機器とし、キー装置3をスレーブ機器とし、キー装置3から施解錠制御装置2へ認証のための第一認証情報を送信して施解錠制御装置2が受信した後、施解錠制御装置2がスレーブ機器となり、キー装置3がマスター機器となって、施解錠制御装置2からキー装置3へ認証のための第二認証情報を送信してキー装置3が受信した後、施解錠制御装置2がマスター機器となり、キー装置3がスレーブ機器となって、キー装置3から施解錠制御装置2へ認証のための第三認証情報を送信して、施解錠制御装置2が第三認証情報を受信して双方の認証を完了させている。即ち、3回のアドバタイズ通信を1ルーチンとして認証を完了させている。
In the above embodiment, the locking / unlocking
更に、他の実施形態としては、初期状態としてキー装置3をマスター機器とし、施解錠制御装置2をスレーブ機器とし、施解錠制御装置2からキー装置3へ第二認証情報を送信してキー装置3が受信した後、キー装置3がスレーブ機器なり、施解錠制御装置2がマスター機器となって、キー装置3から施解錠制御装置2へ第三認証情報を送信して、施解錠制御装置2が第三認証情報を受信して双方の認証を完了させてもよい。即ち、スレーブ機器としてのキー装置3からマスター機器としての施解錠制御装置2への第一認証情報の送信を行わない構成としてもよい。即ち、2回のアドバタイズ通信を1ルーチンとして認証を完了させている。
Furthermore, as another embodiment, the
更に、キー装置3から施解錠制御装置2へ第三認証情報を送信した後に、マスタースレーブ切替部223が、施解錠制御装置2をスレーブ機器に切り替えて、施解錠制御装置2がスレーブ機器となり、マスタースレーブ切替部323が、キー装置3をマスター機器に切り替えて、キー装置3がマスター機器となって、施解錠制御装置2からキー装置3へ、施解錠の結果の情報を送信する構成を備えることとしてもよい。即ち、4回のアドバタイズ通信を1ルーチンとして、4回目のアドバタイズ通信において、施解錠の結果の情報を送信する構成を備えることとしてもよい。
Furthermore, after transmitting the third authentication information from the
又、3回又は2回のアドバタイズ通信を1ルーチンとして認証を完了させている場合、2ルーチン目の施解錠制御装置2からキー装置3への情報の送信の際に、施解錠の結果の情報を送信する構成を備えることとしてもよい。
In addition, when authentication is completed with three or two advertisement communications as one routine, information on the result of the locking / unlocking is transmitted when information is transmitted from the locking / unlocking
更に、施解錠制御装置2が第三認証情報を受信した後、施解錠制御装置2とキー装置3でペアリングを行う構成としてもよい。このように、ペアリングを行うことにより、よりセキュリティーを高めることが出来、より不正な認証動作の排除を確実に行える。勿論、このペアリングの動作は省略してもよい。
Furthermore, after the locking / unlocking
マスターとスレーブを扉装置の施解錠制御装置2とその施解錠のためのキー装置3として説明したが、マスターとスレーブはこの構成に限定されることなく、他の認証を行うマスター機器とスレーブ機器で構成することが出来る。
The master and slave have been described as the door device locking / unlocking
以上のような本発明によれば、ブルートゥース通信を用いた各種機器間において、不正な認証動作の排除を確実に行えるので、セキュリティーの向上により、扉の施解錠システムや個人の認証システム等に使用することが出来る。 According to the present invention as described above, since it is possible to reliably eliminate unauthorized authentication operations between various devices using Bluetooth communication, it can be used for door locking / unlocking systems, personal authentication systems, etc. due to improved security. I can do it.
1 ブルートゥース通信システム
2 施解錠制御装置2
22 ブルートゥース通信モジュール
3 キー装置
32 ブルートゥース通信モジュール
1
22
Claims (15)
スレーブ機器がマスター機器に認証のための第一認証情報を送信するステップと、
マスター機器がスレーブ機器からの前記第一認証情報を受信するステップと、
スレーブ機器がマスター機器に前記第一認証情報を送信した後に、マスター機器に切り替わるステップと、
マスター機器がスレーブ機器からの前記第一認証情報を受信した後に、スレーブ機器に切り替わるステップと、
スレーブ機器がマスター機器に認証のための第二認証情報を送信するステップと、
マスター機器がスレーブ機器からの前記第二認証情報を受信するステップと、
前記第二認証情報を受信したマスター機器がスレーブ機器に切り替わるステップと、
前記第二認証情報を送信したスレーブ機器がマスター機器に切り替わるステップと、
前記第二認証情報を受信したマスター機器が切り替わったスレーブ機器が、前記第二認証情報を送信したスレーブ機器が切り替わったマスター機器に認証のための第三認証情報を送信するステップと、
前記第二認証情報を送信したスレーブ機器が切り替わったマスター機器が前記第三認証情報を受信するステップと、
前記第三認証情報を受信したマスター機器が、前記第三認証情報を送信したスレーブ機器を認証するステップと、
を備えることを特徴とするブルートゥース通信方法。 A Bluetooth communication method using a master and a slave,
The slave device transmits first authentication information for authentication to the master device; and
A master device receiving the first authentication information from a slave device;
After the slave device transmits the first authentication information to the master device, the step of switching to the master device;
After the master device receives the first authentication information from the slave device, the step of switching to the slave device;
The slave device transmits second authentication information for authentication to the master device; and
A master device receiving the second authentication information from a slave device;
The master device that has received the second authentication information is switched to a slave device;
The slave device that transmitted the second authentication information is switched to the master device;
The slave device that has been switched to the master device that has received the second authentication information, the step of transmitting the third authentication information for authentication to the master device to which the slave device that has transmitted the second authentication information has been switched,
A master device to which the slave device that has transmitted the second authentication information is switched receives the third authentication information;
The master device that has received the third authentication information authenticates the slave device that has transmitted the third authentication information;
A Bluetooth communication method comprising:
を備えることを特徴とする請求項12に記載のブルートゥース通信方法。 The master device that has received the third authentication information and the slave device that has transmitted the third authentication information perform pairing;
The Bluetooth communication method according to claim 12, further comprising:
キー装置がスレーブモードでマスターモードの施解錠制御装置に認証のための第一認証情報を送信するステップと、
前記施解錠制御装置がマスターモードでスレーブモードの前記キー装置からの前記第一認証情報を受信するステップと、
前記キー装置が前記施解錠制御装置に前記第一認証情報を送信した後に、スレーブモードをマスターモードに切り替えるステップと、
前記施解錠制御装置が前記キー装置からの前記第一認証情報を受信した後に、マスターモードをスレーブモードに切り替えるステップと、
前記施解錠制御装置がスレーブモードをマスターモードに切り替えた前記キー装置に認証のための第二認証情報を送信するステップと、
前記キー装置がマスターモードをスレーブモードに切り替えた前記施解錠制御装置からの前記第二認証情報を受信するステップと、
前記キー装置が前記施解錠制御装置からの前記第二認証情報を受信した後に、マスターモードをスレーブモードに切り替えるステップと、
前記施解錠制御装置が前記キー装置に前記第二認証情報を送信した後に、スレーブモードをマスターモードに切り替えるステップと、
前記キー装置がスレーブモードでマスターモードの前記施解錠制御装置に、施解錠の要求を含む、認証のための第三認証情報を送信するステップと、
前記施解錠制御装置がマスターモードでスレーブモードの前記キー装置からの前記第三認証情報を受信するステップと、
施解錠の要求を含む前記第三認証情報を受信した前記施解錠制御装置が扉装置に解錠又は施錠を指示するステップと、
を備えることを特徴とする施解錠方法。 A locking / unlocking method using Bluetooth communication method,
Transmitting the first authentication information for authentication to the locking / unlocking control device in the master mode in the slave mode in the key device;
The locking and unlocking control device receiving the first authentication information from the key device in the slave mode in the master mode; and
After the key device transmits the first authentication information to the locking and unlocking control device, switching the slave mode to the master mode;
After the locking and unlocking control device receives the first authentication information from the key device, switching the master mode to the slave mode;
Transmitting the second authentication information for authentication to the key device in which the locking / unlocking control device switches the slave mode to the master mode;
Receiving the second authentication information from the locking / unlocking control device in which the key device switches the master mode to the slave mode;
After the key device receives the second authentication information from the locking and unlocking control device, switching the master mode to the slave mode;
After the locking / unlocking control device transmits the second authentication information to the key device, switching the slave mode to the master mode;
Transmitting the third authentication information for authentication including a request for locking / unlocking to the locking / unlocking control apparatus in the master mode in the slave mode in the key device;
The locking and unlocking control device receiving the third authentication information from the key device in the slave mode in the master mode; and
The locking / unlocking control device that has received the third authentication information including the request for locking / unlocking instructs the door device to unlock or lock; and
A locking / unlocking method comprising:
を備えることを特徴とする請求項14に記載の施解錠方法。 After the locking / unlocking control device receives the third authentication information, the locking / unlocking control device and the key device perform pairing;
The locking / unlocking method according to claim 14, further comprising:
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2016214052A JP6298514B1 (en) | 2016-11-01 | 2016-11-01 | Bluetooth communication system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2016214052A JP6298514B1 (en) | 2016-11-01 | 2016-11-01 | Bluetooth communication system |
Publications (2)
Publication Number | Publication Date |
---|---|
JP6298514B1 true JP6298514B1 (en) | 2018-03-20 |
JP2018074457A JP2018074457A (en) | 2018-05-10 |
Family
ID=61629232
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2016214052A Active JP6298514B1 (en) | 2016-11-01 | 2016-11-01 | Bluetooth communication system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP6298514B1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110769406A (en) * | 2019-10-31 | 2020-02-07 | 拉扎斯网络科技(上海)有限公司 | Communication control method, communication control device, storage medium and electronic equipment |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2015052222A (en) * | 2013-09-06 | 2015-03-19 | 株式会社東海理化電機製作所 | Remote control system |
-
2016
- 2016-11-01 JP JP2016214052A patent/JP6298514B1/en active Active
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2015052222A (en) * | 2013-09-06 | 2015-03-19 | 株式会社東海理化電機製作所 | Remote control system |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110769406A (en) * | 2019-10-31 | 2020-02-07 | 拉扎斯网络科技(上海)有限公司 | Communication control method, communication control device, storage medium and electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
JP2018074457A (en) | 2018-05-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6784198B2 (en) | Locking / unlocking system, key unit | |
EP3657370B1 (en) | Methods and devices for authenticating smart card | |
KR101875725B1 (en) | Smart door lock system, smart door lock and terminal for controlling the smart door lock | |
CA2571848C (en) | Security access device and method | |
JP6544372B2 (en) | Key unit, vehicle | |
US10783731B2 (en) | Wireless tag-based lock actuation systems and methods | |
EP2804153B1 (en) | Electronic lock, locking system and method of operating an electronic lock | |
CN107685711B (en) | The degree of approach for vehicle confirms passive access system | |
US20210168602A1 (en) | Vehicle digital key sharing service method and system | |
CN100387798C (en) | Electric key and electric lock device and realization method thereof | |
US9779568B2 (en) | Locking control device, locking control system, and locking control method | |
JP6717793B2 (en) | Car sharing system and car sharing device | |
JP2006262184A (en) | Authority possession apparatus, authority borrowing apparatus, control unit, authority delegation system, authority possession program and authority possession method | |
KR20120090148A (en) | Method and system for controlling a car using smart phone | |
JP2019070276A (en) | Carsharing system | |
KR102301742B1 (en) | Method for registering and using non keypad smart door-lock key and access control system thereof | |
JP2019070960A (en) | Car sharing system | |
KR20160109887A (en) | Portable nfc doorlock connecting with mobile and openning method thereof | |
JP6298514B1 (en) | Bluetooth communication system | |
JP2006060392A (en) | Unauthorized-use preventive system and identification method for information terminal device | |
CN109979053A (en) | A kind of offline model Internet of Things lock device and cipher key transmission methods based on MULTIPLE DYNAMIC key | |
JP2003253940A (en) | Keyless entry system | |
CN105827403A (en) | Security method, security gate and server | |
KR101688633B1 (en) | Door lock using certification number and method using the same | |
JP6633401B2 (en) | Electronic lock system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20180209 |
|
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: 20180220 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20180223 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 6298514 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
S531 | Written request for registration of change of domicile |
Free format text: JAPANESE INTERMEDIATE CODE: R313531 |
|
R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |