JP2017130971A - Radio communication method and program - Google Patents

Radio communication method and program Download PDF

Info

Publication number
JP2017130971A
JP2017130971A JP2017067130A JP2017067130A JP2017130971A JP 2017130971 A JP2017130971 A JP 2017130971A JP 2017067130 A JP2017067130 A JP 2017067130A JP 2017067130 A JP2017067130 A JP 2017067130A JP 2017130971 A JP2017130971 A JP 2017130971A
Authority
JP
Japan
Prior art keywords
identification information
wireless communication
central
peripheral
control unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2017067130A
Other languages
Japanese (ja)
Other versions
JP2017130971A5 (en
JP6690592B2 (en
Inventor
和穂 姜
Kazuho Kyo
和穂 姜
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.)
Casio Computer Co Ltd
Original Assignee
Casio Computer Co Ltd
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 Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP2017067130A priority Critical patent/JP6690592B2/en
Publication of JP2017130971A publication Critical patent/JP2017130971A/en
Publication of JP2017130971A5 publication Critical patent/JP2017130971A5/ja
Application granted granted Critical
Publication of JP6690592B2 publication Critical patent/JP6690592B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a radio communication method and a program, simplifying an operation related to pairing to thereby improve user convenience.SOLUTION: In pairing establishment processing, a control unit 220 of a central device 200 notifies a peripheral device about the application identification information of the central device 200. The control unit 220 of the central device 200 is configured to store the device identification information of the peripheral body received from the peripheral device. Here, the application identification information is information to identify each application owned by the central device 200. The application performs various communication with the peripheral device.SELECTED DRAWING: Figure 3

Description

本発明は、無線通信方法及びプログラムに関する。   The present invention relates to a wireless communication method and program.

近年、近距離無線通信規格であるBluetooth(登録商標)に基づいて無線通信を行う無線通信装置の普及が進んでいる。   In recent years, wireless communication devices that perform wireless communication based on Bluetooth (registered trademark), which is a short-range wireless communication standard, are becoming widespread.

例えば、特許文献1は、近距離無線通信を介して接続される端末装置と携帯端末装置とを備える端末連携システムを開示している。このシステムでは、端末装置と携帯端末装置との間で共有鍵を共有するペアリングが行われる。携帯端末装置は、ペアリング済みの端末装置と再接続を行う場合、共有鍵を使用して端末装置のOS(Operating System)へのログインを実行して端末装置との接続を確立する。   For example, patent document 1 is disclosing the terminal cooperation system provided with the terminal device and portable terminal device which are connected via near field communication. In this system, pairing for sharing a shared key is performed between the terminal device and the mobile terminal device. When re-connecting with a paired terminal device, the portable terminal device uses a shared key to log in to the OS (Operating System) of the terminal device to establish a connection with the terminal device.

特開2013−214257号公報JP 2013-214257 A

特許文献1の端末連携システムのような近距離無線通信及びペアリングは、現在普及しているスマートフォン、電子時計等の無線通信装置の間でも行われている。なお、「ペアリング」とは、初めて接続を確立する無線通信装置の間で相互認証を行い、接続先となる無線通信装置の情報を登録する処理を意味する。そして、無線通信装置は、一度ペアリングされた無線通信装置と再接続する場合、相互認証等の処理を省略して接続する。   Short-range wireless communication and pairing as in the terminal cooperation system of Patent Document 1 are also performed between wireless communication devices such as smartphones and electronic watches that are currently popular. “Pairing” means a process of performing mutual authentication between wireless communication apparatuses that establish a connection for the first time and registering information of a wireless communication apparatus that is a connection destination. When the wireless communication device reconnects with the wireless communication device that has been paired once, the wireless communication device is connected by omitting processing such as mutual authentication.

ここで、近距離無線通信を行う無線通信装置には、1つの無線通信装置とのみペアリング可能な無線通信装置がある。例えば1つのスマートフォンとのみペアリング可能な電子時計である。   Here, there is a wireless communication device that can perform pairing with only one wireless communication device as a wireless communication device that performs short-range wireless communication. For example, an electronic watch that can be paired with only one smartphone.

このような無線通信装置を、ペアリングされていない別の無線通信装置に接続させる場合、ユーザは既存のペアリングを解消させるための操作を行ってからでなければ、別の無線通信装置とペアリングさせるための操作をすることができない。   When connecting such a wireless communication device to another wireless communication device that is not paired, the user must perform an operation for canceling the existing pairing before pairing with another wireless communication device. I cannot do the operation to make it ring.

例えば、特許文献1の端末連携システムの場合、ペアリングを解消させるための操作は、端末装置と携帯端末装置とのそれぞれの記憶部に記憶されている共有鍵の情報を消去する操作である。   For example, in the case of the terminal cooperation system of Patent Document 1, the operation for canceling the pairing is an operation of deleting information on the shared key stored in the storage units of the terminal device and the mobile terminal device.

また、1つのスマートフォンとのみペアリング可能な電子時計において、スマートフォンのOSのアップデートによる不具合のためにペアリングをやり直す必要が生じた場合においても、既存のペアリングを解消させるために上記の消去操作が必要となる。   In addition, in the case of an electronic watch that can be paired with only one smartphone, even if it becomes necessary to redo pairing due to a malfunction due to a smartphone OS update, the above erasing operation is performed to cancel the existing pairing. Is required.

以上のように、従来の近距離無線通信を行う無線通信装置の構成では、ペアリングを解消するために共有鍵等の情報を各無線通信装置の記憶部から消去する操作が必要となるため、操作が複雑となる。また、ペアリング解消後に再びペアリングを確立させる場合においても、操作が複雑となる。   As described above, in the configuration of a conventional wireless communication device that performs short-range wireless communication, an operation for deleting information such as a shared key from the storage unit of each wireless communication device is required to cancel pairing. Operation is complicated. In addition, even when pairing is reestablished after cancellation of pairing, the operation becomes complicated.

特に、特許文献1のように共有鍵をペアリング情報として共有する場合、一方の無線通信装置の記憶部のみにおいてペアリング情報が削除された場合、その後に再接続する際に、再び新たなペアリング情報を生成してペアリングし直すことになるのか、それとも他方の無線通信装置の記憶部に残っているペアリング情報も削除することになるのか等が不明確である。かかる不明確な操作又は制御処理は、不具合発生原因となり得る。   In particular, when sharing a shared key as pairing information as in Patent Document 1, when pairing information is deleted only in the storage unit of one of the wireless communication devices, a new pair is re-established when reconnecting thereafter. It is unclear whether ring information will be generated and re-paired, or whether the pairing information remaining in the storage unit of the other wireless communication device will be deleted. Such an unclear operation or control process may cause a malfunction.

このようなペアリングに関する操作の複雑化と不具合発生原因を伴う構成では、ユーザの利便性が悪化してしまう。なお、ペアリングに関する操作がユーザ操作ではなく自動的な制御処理であったとしても、その制御処理は複雑化してしまう。   In such a configuration with complicated operations related to pairing and causes of troubles, user convenience is deteriorated. Even if the operation related to pairing is not a user operation but an automatic control process, the control process becomes complicated.

そこで、本発明はこのような事情に鑑みてなされたものであって、ペアリングに関する操作を簡略化して、ユーザの利便性を向上する無線通信方法等を提供することを目的とする。   Therefore, the present invention has been made in view of such circumstances, and an object thereof is to provide a wireless communication method and the like that improve the convenience of the user by simplifying the operation related to pairing.

上記目的を達成するため、本発明の第1の観点に係る無線通信方法は、
自装置のアプリケーション識別情報及びOS識別情報を他の無線通信装置に通知する通知ステップと、
前記他の無線通信装置から受信した該他の無線通信装置の装置識別情報を前記自装置の記憶部に記憶させる記憶ステップと、
前記他の無線通信装置と接続する場合に、該他の無線通信装置から該他の無線通信装置の記憶部に記憶されているアプリケーション識別情報及びOS識別情報を取得する取得ステップと、
前記他の無線通信装置から取得したアプリケーション識別情報及びOS識別情報が、前記自装置のアプリケーション識別情報及びOS識別情報と一致する場合には前記接続を維持し、前記自装置のアプリケーション識別情報及びOS識別情報と一致しない場合には前記接続を切断する接続制御ステップと、
を含むことを特徴とする。
In order to achieve the above object, a wireless communication method according to a first aspect of the present invention includes:
A notification step of notifying the application identification information of the own device and the OS identification information to another wireless communication device;
A storage step of storing device identification information of the other wireless communication device received from the other wireless communication device in the storage unit of the own device;
Obtaining the application identification information and the OS identification information stored in the storage unit of the other wireless communication device from the other wireless communication device when connecting to the other wireless communication device;
If the application identification information and OS identification information acquired from the other wireless communication device match the application identification information and OS identification information of the own device, the connection is maintained, and the application identification information and OS of the own device are maintained. A connection control step for disconnecting the connection if the identification information does not match;
It is characterized by including.

本発明によれば、ペアリングに関する操作を簡略化して、ユーザの利便性を向上することができる。   ADVANTAGE OF THE INVENTION According to this invention, the operation regarding a pairing can be simplified and a user's convenience can be improved.

実施形態に係る無線通信システムの構成例を示す図である。It is a figure which shows the structural example of the radio | wireless communications system which concerns on embodiment. 実施形態に係るペリフェラルの構成例を示すブロック図である。It is a block diagram which shows the structural example of the peripheral which concerns on embodiment. 実施形態に係るセントラルの構成例を示すブロック図である。It is a block diagram which shows the structural example of the central which concerns on embodiment. ペリフェラル及びセントラルのペアリング確立処理の一例を示すフローチャ ートである。It is a flowchart showing an example of a pairing establishment process for peripheral and central. ペリフェラル及びセントラルの再接続処理の一例を示すフローチャートであ る。10 is a flowchart showing an example of a peripheral and central reconnection process.

(実施形態)
以下、本発明の実施形態について図面を参照して説明する。図1に示すように、本発明の実施形態に係る無線通信システム1は、無線通信装置であるペリフェラル100と、ペリフェラル100とは異なる他の無線通信装置であるセントラル200とから構成される。
(Embodiment)
Embodiments of the present invention will be described below with reference to the drawings. As shown in FIG. 1, a wireless communication system 1 according to an embodiment of the present invention includes a peripheral 100 that is a wireless communication device and a central 200 that is another wireless communication device different from the peripheral 100.

ペリフェラル100とセントラル200とは、Bluetooth(登録商標) low energy(以下、BLEという。)に基づいて、互いに無線通信を行う。BLEとは、Bluetooth(登録商標)と呼ばれる近距離無線通信規格において、低消費電力を目的として策定された規格(モード)である。   The peripheral 100 and the central 200 perform wireless communication with each other based on Bluetooth (registered trademark) low energy (hereinafter referred to as BLE). BLE is a standard (mode) established for the purpose of low power consumption in a short-range wireless communication standard called Bluetooth (registered trademark).

ここで、ペリフェラル100は、セントラル200にサービスを提供する。セントラル200は、ペリフェラル100から提供されたサービスを利用する。   Here, the peripheral 100 provides a service to the central 200. The central 200 uses a service provided from the peripheral 100.

ペリフェラル100及びセントラル200は、例えば、携帯電話機、スマートフォン、タブレット型パーソナルコンピュータ、ノート型パーソナルコンピュータ、時計等の持ち運びが可能であって、BLEに基づく無線通信機能を有する端末である。   For example, the peripheral 100 and the central 200 are portable terminals such as mobile phones, smartphones, tablet personal computers, notebook personal computers, watches, and the like, and are terminals having a wireless communication function based on BLE.

本実施形態では、一例として、ペリフェラル100は、電子時計とし、セントラル200は、ペリフェラル100から各種データを受信して表示部260に表示する無線通信端末とする。   In the present embodiment, as an example, the peripheral 100 is an electronic timepiece, and the central 200 is a wireless communication terminal that receives various data from the peripheral 100 and displays the data on the display unit 260.

以下、本実施形態に係るペリフェラル100の構成について説明する。図2に示すように、ペリフェラル100は、バスラインBLで接続されている、無線通信部110と、制御部120と、RAM(Random Access Memory)130と、ROM(Read Only Memory)140と、操作部150と、表示部160と、計時部170と、クロック信号生成部180とを備える。   Hereinafter, the configuration of the peripheral 100 according to the present embodiment will be described. As shown in FIG. 2, the peripheral 100 includes a wireless communication unit 110, a control unit 120, a RAM (Random Access Memory) 130, a ROM (Read Only Memory) 140, and an operation connected by a bus line BL. Unit 150, display unit 160, timing unit 170, and clock signal generation unit 180.

無線通信部110は、例えば無線周波数(RF:Radio Frequency)回路、ベースバンド(BB:Base Band)回路、集積回路(LSI:Large Scale Integration)等から構成される。無線通信部110は、アンテナ111を介して信号の送受信を行い、他の無線通信装置であるセントラル200とBLEに基づく無線通信を行う。   The wireless communication unit 110 includes, for example, a radio frequency (RF) circuit, a base band (BB) circuit, an integrated circuit (LSI: Large Scale Integration), and the like. The wireless communication unit 110 transmits and receives signals via the antenna 111 and performs wireless communication based on BLE with the central 200 that is another wireless communication device.

制御部120は、例えばCPU(Central Processing Unit)によって構成される。制御部120は、ROM140に記憶された各種プログラム(例えば、後述するペアリング確立処理や再接続処理を実現するためのプログラム)を実行することにより、ペリフェラル100の全体の動作を制御する。   The control unit 120 is configured by, for example, a CPU (Central Processing Unit). The control unit 120 controls the overall operation of the peripheral 100 by executing various programs stored in the ROM 140 (for example, a program for realizing pairing establishment processing and reconnection processing described later).

RAM130は、揮発性メモリから構成され、制御部120が各種処理を行うためにデータを一時的に記憶するための作業領域として用いられる。   The RAM 130 includes a volatile memory, and is used as a work area for temporarily storing data for the control unit 120 to perform various processes.

ROM140は、フラッシュメモリ等の不揮発性メモリから構成され、制御部120が各種機能を制御するためのプログラムや各種データを記憶する。   The ROM 140 includes a nonvolatile memory such as a flash memory, and stores programs and various data for the control unit 120 to control various functions.

操作部150は、操作ボタンやタッチパネル等から構成され、ユーザが指示を入力するために用いられるインタフェースである。   The operation unit 150 includes an operation button, a touch panel, and the like, and is an interface used for a user to input an instruction.

表示部160は、例えば、LCD(Liquid Crystal Display)、EL(Electroluminescence)ディスプレイ等によって構成され、制御部120から入力された画像データに応じて画像を表示する。   The display unit 160 is configured by, for example, an LCD (Liquid Crystal Display), an EL (Electroluminescence) display, or the like, and displays an image according to image data input from the control unit 120.

計時部170は、自装置(ペリフェラル100)のクロック信号のパルス数をカウントするカウンタ回路から構成される。計時部170はカウントされるパルス数に基づいて時刻を計時する。また、制御部120は、計時部170がカウントするパルス数に基づいたタイミングで各種制御を実行する。   The timer unit 170 includes a counter circuit that counts the number of pulses of the clock signal of the own device (peripheral 100). The time measuring unit 170 measures time based on the number of pulses counted. In addition, the control unit 120 executes various controls at a timing based on the number of pulses counted by the time measuring unit 170.

クロック信号生成部180は、基準クロックを生成する水晶発振器及び基準クロックから所望の周波数のクロック信号を生成する可変PLL(Phase Locked Loop)等から構成され、自装置(ペリフェラル100)のクロック信号を生成する。このクロック信号の周波数は、可変PLLの分周比を変えることによって制御される。   The clock signal generation unit 180 includes a crystal oscillator that generates a reference clock, a variable PLL (Phase Locked Loop) that generates a clock signal having a desired frequency from the reference clock, and the like, and generates a clock signal of its own device (peripheral 100). To do. The frequency of this clock signal is controlled by changing the frequency division ratio of the variable PLL.

次に、ペリフェラル100の制御部120の機能的構成について説明する。   Next, a functional configuration of the control unit 120 of the peripheral 100 will be described.

制御部120は、アドバタイズメント送信制御部121、接続確立部122、接続切断部123、アプリケーション識別情報取得部124、OS識別情報取得部125、識別情報通知制御部126、接続種別通知制御部127として機能する。   The control unit 120 includes an advertisement transmission control unit 121, a connection establishment unit 122, a connection disconnection unit 123, an application identification information acquisition unit 124, an OS identification information acquisition unit 125, an identification information notification control unit 126, and a connection type notification control unit 127. Function.

アドバタイズメント送信制御部121は、アドバタイズメントを無線通信部110及びアンテナ111を介してセントラル200に送信する。アドバタイズメントの送信は、プログラムの処理に応じて定期的なタイミングで、又はユーザ操作が発生したタイミングで行われる。   The advertisement transmission control unit 121 transmits the advertisement to the central 200 via the wireless communication unit 110 and the antenna 111. The advertisement is transmitted at a regular timing according to the processing of the program or at a timing when a user operation occurs.

ここで、アドバタイズメントとは、自己の存在を知らしめるための告知情報であり、装置識別情報を含む情報である。装置識別情報とは、ペリフェラル100のデバイスアドレス又はUUID(Universally Unique Identifier)である。   Here, the advertisement is notification information for notifying the existence of itself and is information including device identification information. The device identification information is a device address or UUID (Universally Unique Identifier) of the peripheral 100.

接続確立部122は、セントラル200からの接続要求をアンテナ111及び無線通信部110を介して受け付けてセントラル200との接続を確立する。この接続の確立によってセントラル200とのデータ通信が可能となる。   The connection establishment unit 122 establishes a connection with the central 200 by receiving a connection request from the central 200 via the antenna 111 and the wireless communication unit 110. By establishing this connection, data communication with the central 200 becomes possible.

接続切断部123は、セントラル200から接続を切断するための切断要求をアンテナ111及び無線通信部110を介して受け付け、セントラル200との接続を切断する。   The connection disconnecting unit 123 receives a disconnection request for disconnecting the connection from the central 200 via the antenna 111 and the wireless communication unit 110, and disconnects the connection with the central 200.

アプリケーション識別情報取得部124は、アンテナ111及び無線通信部110を介してセントラル200からアプリケーション識別情報を取得する。   The application identification information acquisition unit 124 acquires application identification information from the central 200 via the antenna 111 and the wireless communication unit 110.

ここで、アプリケーション識別情報とは、セントラル200が保有するアプリケーション(いわゆるアプリ)を識別するための情報である。アプリケーション識別情報は、セントラル200にアプリケーションがインストールされる際に、セントラル200のOSのランダム値生成API(Application Programming Interface)を利用して生成されるユニークな識別情報である。アプリケーション識別情報は例えば10octetの16進数で示される。なお、アプリケーションは、ペリフェラル100(すなわち電子時計)と各種通信を行うためのアプリケーションである。   Here, the application identification information is information for identifying an application (so-called application) held by the central 200. The application identification information is unique identification information generated using a random value generation API (Application Programming Interface) of the central 200 OS when an application is installed in the central 200. The application identification information is indicated by a hexadecimal number of 10 octets, for example. The application is an application for performing various communications with the peripheral 100 (that is, an electronic watch).

OS識別情報取得部125は、アンテナ111及び無線通信部110を介してセントラル200からOS識別情報を取得する。   The OS identification information acquisition unit 125 acquires OS identification information from the central 200 via the antenna 111 and the wireless communication unit 110.

ここで、OS識別情報とは、セントラル200が保有するOSを識別するための情報であり、例えばアンドロイドやiOS等を示す情報を含む。OS識別情報によって、ペリフェラル100とセントラル200の間で送受信するデータが異なる。例えば、装置識別情報がOS識別情報によってデバイスアドレスであったり、UUIDであったりする。そのため、ペリフェラル100は、取得したOS識別情報に基づく通信条件でセントラル200との通信を行う。   Here, the OS identification information is information for identifying the OS held by the central 200, and includes information indicating, for example, an android or iOS. Data transmitted / received between the peripheral 100 and the central 200 varies depending on the OS identification information. For example, the device identification information may be a device address or a UUID depending on the OS identification information. Therefore, the peripheral 100 communicates with the central 200 under communication conditions based on the acquired OS identification information.

なお、アプリケーション識別情報取得部124が取得したアプリケーション識別情報と、OS識別情報取得部125が取得したOS識別情報とは、関連付けられてROM140に記憶される。   The application identification information acquired by the application identification information acquisition unit 124 and the OS identification information acquired by the OS identification information acquisition unit 125 are stored in the ROM 140 in association with each other.

識別情報通知制御部126は、ROM140に記憶されているアプリケーション識別情報とOS識別情報とを読み出す。そして、識別情報通知制御部126は、これらのアプリケーション識別情報とOS識別情報とを、無線通信部110に送信させ、セントラル200に通知する。   The identification information notification control unit 126 reads application identification information and OS identification information stored in the ROM 140. Then, the identification information notification control unit 126 transmits the application identification information and the OS identification information to the wireless communication unit 110 and notifies the central 200 thereof.

接続種別通知制御部127は、接続種別を無線通信部110に送信させ、セントラル200に通知する。   The connection type notification control unit 127 transmits the connection type to the wireless communication unit 110 and notifies the central 200 of it.

ここで、接続種別とは、ペリフェラル100がセントラル200に接続する目的を示す情報である。接続種別は、例えば、ペアリング確立処理を行う場合、通常の接続をしてデータ通信する場合、自動時刻合わせを行う場合、ユーザ操作に起因する時刻合わせをする場合、ペリフェラル100がセントラル200を探索する場合等によって異なる目的を示す。接続種別は、ペリフェラル100のユーザ操作の内容によって決定される。例えば、ユーザがペリフェラル100の操作ボタンを長押しした場合には、ペリフェラル100の制御部120は、ペアリング確立処理を行う種別に決定し、操作ボタンを短く押した場合には、通常の接続をしてデータ通信を行う種別に決定する。   Here, the connection type is information indicating the purpose of the peripheral 100 connecting to the central 200. For example, when the pairing establishment process is performed, when data communication is performed by performing a normal connection, when automatic time adjustment is performed, or when time adjustment is caused by a user operation, the peripheral 100 searches the central 200. Different purposes depending on the case. The connection type is determined by the content of the user operation of the peripheral 100. For example, when the user presses the operation button of the peripheral 100 for a long time, the control unit 120 of the peripheral 100 determines the type for performing the pairing establishment process. When the user presses the operation button for a short time, the normal connection is made. Thus, the type of data communication is determined.

以上、本実施形態に係るペリフェラル100の構成について説明した。次に、本実施形態に係るセントラル200の構成について説明する。   The configuration of the peripheral 100 according to the present embodiment has been described above. Next, the configuration of the central 200 according to the present embodiment will be described.

図3に示すように、セントラル200は、バスラインBLで接続されている、無線通信部210と、制御部220と、RAM230と、ROM240と、操作部250と、表示部260と、計時部270と、クロック信号生成部280とを備える。   As shown in FIG. 3, the central 200 is connected to the bus line BL by a wireless communication unit 210, a control unit 220, a RAM 230, a ROM 240, an operation unit 250, a display unit 260, and a time measuring unit 270. And a clock signal generation unit 280.

無線通信部210は、例えばRF回路、BB回路、LSI等から構成される。無線通信部210は、アンテナ211を介して、他の無線通信装置であるペリフェラル100とBLEに基づく無線通信を行う。   The wireless communication unit 210 includes, for example, an RF circuit, a BB circuit, an LSI, and the like. The wireless communication unit 210 performs wireless communication based on BLE with the peripheral 100, which is another wireless communication device, via the antenna 211.

制御部220は、例えばCPUによって構成される。制御部220は、ROM240に記憶された各種プログラムを実行することにより、セントラル200の全体の動作を制御する。   The control unit 220 is configured by a CPU, for example. The control unit 220 controls the overall operation of the central 200 by executing various programs stored in the ROM 240.

RAM230は、揮発性メモリから構成され、制御部220が各種処理を行うためにデータを一時的に記憶するための作業領域として用いられる。   The RAM 230 includes a volatile memory, and is used as a work area for temporarily storing data for the control unit 220 to perform various processes.

ROM240は、フラッシュメモリ等の不揮発性メモリから構成され、制御部220が各種機能を制御するためのプログラムやデータを記憶する。   The ROM 240 is configured by a nonvolatile memory such as a flash memory, and stores programs and data for the control unit 220 to control various functions.

操作部250は、タッチパネル等から構成され、ユーザの操作を受け付けるインタフェースである。   The operation unit 250 is configured by a touch panel or the like and is an interface that receives a user operation.

表示部260は、例えば、LCD、ELディスプレイ等によって構成され、制御部220から入力された画像データに応じて画像を表示する。   The display unit 260 is configured by, for example, an LCD, an EL display, or the like, and displays an image according to the image data input from the control unit 220.

計時部270は、自装置(セントラル200)のクロック信号のパルス数をカウントするカウンタ回路から構成される。計時部270はカウントされるパルス数に基づいて時刻を計時する。また、制御部220は、計時部270がカウントするパルス数に基づいたタイミングで各種制御を実行する。   The timer unit 270 is composed of a counter circuit that counts the number of pulses of the clock signal of its own device (central 200). The time measuring unit 270 measures time based on the number of pulses counted. In addition, the control unit 220 executes various controls at a timing based on the number of pulses counted by the time measuring unit 270.

クロック信号生成部280は、基準クロックを生成する水晶発振器及び基準クロックから所望の周波数のクロック信号を生成する可変PLL等から構成され、自装置(セントラル200)のクロック信号を生成する。このクロック信号の周波数は、可変PLLの分周比を変えることによって制御される。   The clock signal generation unit 280 includes a crystal oscillator that generates a reference clock, a variable PLL that generates a clock signal having a desired frequency from the reference clock, and the like, and generates a clock signal of its own device (central 200). The frequency of this clock signal is controlled by changing the frequency division ratio of the variable PLL.

次に、セントラル200の制御部220の機能的構成について説明する。制御部220は、アドバタイズメント受信制御部221、接続要求送信制御部222、切断要求送信制御部223、識別情報照合部224、アプリケーション識別情報通知制御部225、OS識別情報通知制御部226、装置識別情報管理部227、接続種別判定部228として機能する。   Next, a functional configuration of the control unit 220 of the central 200 will be described. The control unit 220 includes an advertisement reception control unit 221, a connection request transmission control unit 222, a disconnection request transmission control unit 223, an identification information matching unit 224, an application identification information notification control unit 225, an OS identification information notification control unit 226, and a device identification. It functions as an information management unit 227 and a connection type determination unit 228.

アドバタイズメント受信制御部221は、スキャン指示に基づいて、ペリフェラル100から送信されるアドバタイズメントを無線通信部210に受信させる。これにより、セントラル200は、ペリフェラル100の存在を認識する。スキャン指示のためのユーザ操作としては、例えば、ペリフェラル100のサービスを利用するためのアプリケーションの起動などが考えられる。また、スキャン指示は、ユーザ操作に限らずアプリケーション起動後、定期的に行われてもよい。   The advertisement reception control unit 221 causes the wireless communication unit 210 to receive an advertisement transmitted from the peripheral 100 based on the scan instruction. As a result, the central 200 recognizes the presence of the peripheral 100. As the user operation for the scan instruction, for example, activation of an application for using the service of the peripheral 100 can be considered. Further, the scan instruction is not limited to a user operation, and may be periodically performed after the application is activated.

接続要求送信制御部222は、無線通信部210に接続要求を示す信号を送信させ、ペリフェラル100に接続を要求する。接続要求は、ペリフェラル100から送信されるアドバタイズメントを受信後、接続が必要な場合に送信される。   The connection request transmission control unit 222 causes the wireless communication unit 210 to transmit a signal indicating a connection request and requests the peripheral 100 to connect. The connection request is transmitted when connection is necessary after receiving the advertisement transmitted from the peripheral 100.

切断要求送信制御部223は、無線通信部210に切断要求を示す信号を送信させ、接続されているペリフェラル100に接続を切断するための切断要求を行う。切断要求は、例えば、接続されているペリフェラル100とのデータ通信が終了した場合又はユーザの切断操作があった場合に送信される。   The disconnection request transmission control unit 223 causes the wireless communication unit 210 to transmit a signal indicating a disconnection request, and issues a disconnection request to disconnect the connected peripheral 100. The disconnect request is transmitted, for example, when data communication with the connected peripheral 100 is completed or when a user disconnect operation is performed.

識別情報照合部224は、無線通信部210及びアンテナ211を介してペリフェラル100から通知されるアプリケーション識別情報及びOS識別情報を取得する。識別情報照合部224は、取得したアプリケーション識別情報及びOS識別情報が、ROM240に記憶されている自装置(セントラル200)のアプリケーション識別情報及びOS識別情報と一致するかどうか照合する。   The identification information matching unit 224 acquires application identification information and OS identification information notified from the peripheral 100 via the wireless communication unit 210 and the antenna 211. The identification information collating unit 224 collates whether the acquired application identification information and OS identification information match the application identification information and OS identification information of the own device (central 200) stored in the ROM 240.

アプリケーション識別情報通知制御部225は、自装置にインストールされているアプリケーションのアプリケーション識別情報をROM240から読み出す。そして、アプリケーション識別情報通知制御部225は、ROM240から読み出したアプリケーション識別情報を無線通信部210に送信させ、ペリフェラル100に通知する。   The application identification information notification control unit 225 reads out the application identification information of the application installed in the own device from the ROM 240. Then, the application identification information notification control unit 225 transmits the application identification information read from the ROM 240 to the wireless communication unit 210 and notifies the peripheral 100.

OS識別情報通知制御部226は、自装置にインストールされているOSのアプリケーション識別情報をROM240から読み出す。そして、OS識別情報通知制御部226は、ROM240から読み出したOSのアプリケーション識別情報を無線通信部210に送信させ、ペリフェラル100に通知する。   The OS identification information notification control unit 226 reads the OS application identification information installed in the own apparatus from the ROM 240. Then, the OS identification information notification control unit 226 transmits the OS application identification information read from the ROM 240 to the wireless communication unit 210 and notifies the peripheral 100 of it.

装置識別情報管理部227は、ROM240に記憶される他の無線通信装置(ペリフェラル100)の装置識別情報を管理する。   The device identification information management unit 227 manages device identification information of other wireless communication devices (peripherals 100) stored in the ROM 240.

具体的には、装置識別情報管理部227は、ペリフェラル100から受信したアドバタイズメントに含まれる装置識別情報をROM240に記憶する。また、装置識別情報管理部227は、識別情報照合部224がペリフェラル100から取得したアプリケーション識別情報及びOS識別情報と、ROM240に記憶されている自装置(セントラル200)のアプリケーション識別情報及びOS識別情報とが一致しないと判定した場合に、ROM240に記憶されているペリフェラル100の装置識別情報を削除する。   Specifically, the device identification information management unit 227 stores the device identification information included in the advertisement received from the peripheral 100 in the ROM 240. The device identification information management unit 227 also includes application identification information and OS identification information acquired from the peripheral 100 by the identification information matching unit 224, and application identification information and OS identification information of the own device (central 200) stored in the ROM 240. Is determined not to match, the device identification information of the peripheral 100 stored in the ROM 240 is deleted.

接続種別判定部228は、ペリフェラル100から受信した接続種別がどのような目的を示すものであるかを判定する。制御部220は、この判定結果に応じてその後の制御処理を実行する。   The connection type determination unit 228 determines what purpose the connection type received from the peripheral 100 indicates. The control unit 220 executes subsequent control processing according to the determination result.

次に、図4を参照しながら、ペリフェラル100とセントラル200とのペアリング確立処理について説明する。   Next, a pairing establishment process between the peripheral 100 and the central 200 will be described with reference to FIG.

この処理は、ユーザが所定の操作をしたことを契機に実行される。所定の操作とは、例えばユーザが操作部150でペリフェラル100のBluetoothに基づく通信機能をONにし、ユーザが操作部250でセントラル200のアプリケーションを起動させて表示部260に新規接続画面(ペアリング確立処理を行う操作画面)を表示させる等の操作である。   This process is executed when the user performs a predetermined operation. The predetermined operation is, for example, that the user turns on the communication function based on Bluetooth of the peripheral 100 with the operation unit 150, the user starts the application of the central 200 with the operation unit 250, and displays a new connection screen (pairing establishment) on the display unit 260. For example, an operation screen for performing processing).

まず、ペリフェラル100の制御部120は、アドバタイズメントをセントラル200に送信する(ステップS101)。   First, the control unit 120 of the peripheral 100 transmits an advertisement to the central 200 (step S101).

セントラル200の制御部220は、スキャンを実行し(ステップS201)、ペリフェラル100から送信されたアドバタイズメントを受信する(ステップS202)。セントラル200の制御部220は、アドバタイズメントに含まれるペリフェラル100の装置識別情報をROM240に記憶させる。   The control unit 220 of the central 200 executes a scan (Step S201), and receives an advertisement transmitted from the peripheral 100 (Step S202). The control unit 220 of the central 200 stores the device identification information of the peripheral 100 included in the advertisement in the ROM 240.

アドバタイズメントを受信すると、セントラル200の制御部220は、表示部260に新規登録を行うかどうかのユーザ操作を受け付ける操作画面を表示させる。ここで、セントラル200の制御部220は、受け付けたユーザ操作が新規登録を行うものであるどうかを判定する(ステップS203)。   When the advertisement is received, the control unit 220 of the central 200 causes the display unit 260 to display an operation screen for accepting a user operation as to whether or not new registration is performed. Here, the control unit 220 of the central 200 determines whether or not the received user operation is a new registration (step S203).

セントラル200の制御部220が、受け付けたユーザ操作が新規登録を行うものでないと判定した場合(ステップS203;No)、セントラル200の制御部220は、以降の処理(ステップS204〜ステップS208)をスキップしてペアリング確立処理を終了する。この場合、セントラル200の制御部220は、ペリフェラル100に接続要求を送信することがないため、ペリフェラル100の制御部120も以降の処理(ステップS102〜ステップS105)をスキップしてペアリング確立処理を終了する。   When the control unit 220 of the central 200 determines that the received user operation is not a new registration (step S203; No), the control unit 220 of the central 200 skips the subsequent processes (steps S204 to S208). Then, the pairing establishment process ends. In this case, since the control unit 220 of the central 200 does not transmit a connection request to the peripheral 100, the control unit 120 of the peripheral 100 also skips the subsequent processing (step S102 to step S105) and performs pairing establishment processing. finish.

セントラル200の制御部220が、受け付けたユーザ操作が新規登録を行うものであると判定した場合(ステップS203;Yes)、セントラル200の制御部220は、ペリフェラル100に接続要求を送信する(ステップS204)。   When the control unit 220 of the central 200 determines that the received user operation is a new registration (step S203; Yes), the control unit 220 of the central 200 transmits a connection request to the peripheral 100 (step S204). ).

ペリフェラル100の制御部120はセントラル200から送信された接続要求を受信して接続を確立する(ステップS102)、   The control unit 120 of the peripheral 100 receives the connection request transmitted from the central 200 and establishes a connection (step S102).

接続が確立すると、ペリフェラル100の制御部120とセントラル200の制御部220とはサービスディスカバリを行う(ステップS103、S205)。これにより以降の処理を実行することが可能となる。   When the connection is established, the control unit 120 of the peripheral 100 and the control unit 220 of the central 200 perform service discovery (steps S103 and S205). As a result, subsequent processing can be executed.

サービスディスカバリが終わると、ペリフェラル100の制御部120は、セントラル200に接続種別を通知する(ステップS104)。なお、接続種別は、ペアリング確立処理の契機である上述した所定の操作の内容(例えば操作ボタンの長押しかどうか等)に基づいて決定された種別である。   When the service discovery is finished, the control unit 120 of the peripheral 100 notifies the central 200 of the connection type (step S104). The connection type is a type determined based on the above-described predetermined operation content (for example, whether or not the operation button is pressed for a long time) that is an opportunity for the pairing establishment process.

セントラル200の制御部220は、ペリフェラル100から通知される接続種別を受信する(ステップS206)。   The control unit 220 of the central 200 receives the connection type notified from the peripheral 100 (step S206).

ここで、セントラル200の制御部220は、受信した接続種別がペアリング確立処理を行う種別であるかどうかを判定する(ステップS207)。   Here, the control unit 220 of the central 200 determines whether or not the received connection type is a type for performing the pairing establishment process (step S207).

受信した接続種別がペアリング確立処理を行う種別でないと判定した場合(ステップS207;No)、セントラル200の制御部220は、次の処理(ステップS208)をスキップしてペアリング確立処理を終了する。この場合、セントラル200の制御部220は、ペリフェラル100にアプリケーション識別情報とOS識別情報とを送信することがないため、ペリフェラル100の制御部120も次の処理(ステップS105)をスキップしてペアリング確立処理を終了する。   When it is determined that the received connection type is not the type for performing the pairing establishment process (step S207; No), the control unit 220 of the central 200 skips the next process (step S208) and ends the pairing establishment process. . In this case, since the control unit 220 of the central 200 does not transmit application identification information and OS identification information to the peripheral 100, the control unit 120 of the peripheral 100 also skips the next process (step S105) and performs pairing. The establishment process is terminated.

受信した接続種別がペアリング確立処理を行う種別であると判定した場合(ステップS207;Yes)、セントラル200の制御部220は、ペリフェラル100にアプリケーション識別情報とOS識別情報とを通知する(ステップS208)。   When it is determined that the received connection type is a type for performing pairing establishment processing (step S207; Yes), the control unit 220 of the central 200 notifies the peripheral 100 of application identification information and OS identification information (step S208). ).

ペリフェラル100の制御部120は、セントラル200から通知されるアプリケーション識別情報とOS識別情報とを取得してROM140に記憶する(ステップS105)。この後の処理は図示の制限上、省略されているが、ペリフェラル100の制御部120は、アプリケーション識別情報とOS識別情報を記憶した旨をセントラル200に通知し、セントラル200は、その通知を受信する。その後、セントラル100とペリフェラル200との間で接続種別に応じた制御処理又は通信が行われる。これにより、ペアリング確立処理が終了となる。   The control unit 120 of the peripheral 100 acquires the application identification information and OS identification information notified from the central 200 and stores them in the ROM 140 (step S105). Although the subsequent processing is omitted due to the limitation shown in the figure, the control unit 120 of the peripheral 100 notifies the central 200 that the application identification information and the OS identification information are stored, and the central 200 receives the notification. To do. Thereafter, control processing or communication corresponding to the connection type is performed between the central 100 and the peripheral 200. As a result, the pairing establishment process ends.

次に、図5を参照しながら、上述したペリフェラル100及びセントラル200の再接続処理について説明する。再接続処理は、ペアリング確立処理を行った後にペリフェラル100とセントラル200との間で再接続を行う処理である。この処理は、ユーザ操作又は定期的な自動制御処理を契機として実行される。   Next, reconnection processing of the peripheral 100 and the central 200 described above will be described with reference to FIG. The reconnection process is a process for performing reconnection between the peripheral 100 and the central 200 after performing the pairing establishment process. This process is executed in response to a user operation or a periodic automatic control process.

再接続処理が開始すると、セントラル200の制御部220は、定期的にスキャンを実行する(ステップS401)。ここで、ペリフェラル100の制御部120がアドバタイズメントを送信すると(ステップS301)、セントラル200の制御部220がそれを定期的なスキャンによって受信する(ステップS402)。   When the reconnection process is started, the control unit 220 of the central 200 periodically performs scanning (step S401). Here, when the control unit 120 of the peripheral 100 transmits the advertisement (step S301), the control unit 220 of the central 200 receives it by regular scanning (step S402).

セントラル200の制御部220は、アドバタイズメントを受信すると、ペリフェラル100に接続要求を送信する(ステップS403)。ペリフェラル100の制御部120は、セントラル200から送信される接続要求を受信して接続を確立する(ステップS302)。   When receiving the advertisement, the control unit 220 of the central 200 transmits a connection request to the peripheral 100 (step S403). The control unit 120 of the peripheral 100 receives the connection request transmitted from the central 200 and establishes a connection (step S302).

その後、ペリフェラル100の制御部120は、ROM140に記憶されているアプリケーション識別情報とOS識別情報とを読み出して、セントラル200に通知する(ステップS303)。セントラル200の制御部220は、ペリフェラル100から通知されるアプリケーション識別情報とOS識別情報とを受信する(ステップS404)。   Thereafter, the control unit 120 of the peripheral 100 reads out the application identification information and the OS identification information stored in the ROM 140 and notifies the central 200 (step S303). The control unit 220 of the central 200 receives the application identification information and the OS identification information notified from the peripheral 100 (step S404).

ここで、セントラル200の制御部220は、ペリフェラル100から取得したアプリケーション識別情報及びOS識別情報が、自装置(セントラル200)にインストールされているアプリケーションのアプリケーション識別情報及びOSのOS識別情報と照合して一致するかどうかを判定する(ステップS405)。   Here, the control unit 220 of the central 200 collates the application identification information and OS identification information acquired from the peripheral 100 with the application identification information of the application installed in its own device (central 200) and the OS identification information of the OS. Or not (step S405).

アプリケーション識別情報及びOS識別情報が一致すると判定した場合(ステップS405;Yes)、ペリフェラル100とセントラル200との接続が維持される。そして、セントラル200の制御部220は、ペリフェラル100に接続種別を要求する。接続種別の要求を受けたペリフェラル100の制御部120はセントラル200に接続種別を通知する(ステップS304)。セントラル200の制御部220は、ペリフェラル100から通知される接続種別を受信する(ステップS407)。その後、セントラル100とペリフェラル200との間で接続種別に応じた制御処理又は通信が行われる(ステップS305、S408)。   When it is determined that the application identification information and the OS identification information match (step S405; Yes), the connection between the peripheral 100 and the central 200 is maintained. Then, the control unit 220 of the central 200 requests a connection type from the peripheral 100. The control unit 120 of the peripheral 100 that has received the connection type request notifies the central 200 of the connection type (step S304). The control unit 220 of the central 200 receives the connection type notified from the peripheral 100 (step S407). Thereafter, control processing or communication according to the connection type is performed between the central 100 and the peripheral 200 (steps S305 and S408).

アプリケーション識別情報及びOS識別情報が一致しないと判定した場合(ステップS405;No)、セントラル200の制御部220は、ペリフェラル100に切断要求を送信してペリフェラル100との接続を切断させ、ROM240に記憶されているペリフェラル100の装置識別情報を削除する(ステップS406)。   When it is determined that the application identification information and the OS identification information do not match (step S405; No), the control unit 220 of the central 200 transmits a disconnection request to the peripheral 100 to disconnect the peripheral 100 and store it in the ROM 240. The device identification information of the peripheral 100 being deleted is deleted (step S406).

その後、ペリフェラル100の制御部120とセントラル200の220は、ステップS301、S401に戻り、上述した再接続処理を繰り返す。   Thereafter, the control unit 120 of the peripheral 100 and 220 of the central 200 return to steps S301 and S401 and repeat the above-described reconnection processing.

以上説明したように、セントラル200の制御部220は、ペアリング確立処理のステップS208において、自装置のアプリケーション識別情報をペリフェラル100に通知する。また、セントラル200の制御部220は、ペアリング確立処理のステップS202において、ペリフェラル100から受信したペリフェラル100の装置識別情報をROM240に記憶させている。   As described above, the control unit 220 of the central 200 notifies the peripheral 100 of the application identification information of its own device in step S208 of the pairing establishment process. Further, the control unit 220 of the central 200 stores the device identification information of the peripheral 100 received from the peripheral 100 in the ROM 240 in step S202 of the pairing establishment process.

一方、ペリフェラル100の制御部120は、ペアリング確立処理のステップS105において、セントラル200からセントラル200のアプリケーション識別情報を受信してROM140に記憶させている。   On the other hand, the control unit 120 of the peripheral 100 receives the application identification information of the central 200 from the central 200 and stores it in the ROM 140 in step S105 of the pairing establishment process.

かかる構成によれば、ペリフェラル100とセントラル200とのペアリング確立は、セントラル200のアプリケーション識別情報とOS識別情報とをペリフェラル100が記憶し、ペリフェラル100の装置識別情報をセントラル200が記憶するだけでペアリングが確立する。そのため、ペアリング確立において共有鍵のような情報を生成し、ペリフェラル100とセントラル200とで共有する必要が無い。   According to this configuration, in order to establish pairing between the peripheral 100 and the central 200, the peripheral 100 stores the application identification information and OS identification information of the central 200, and the central 200 stores the device identification information of the peripheral 100. Pairing is established. Therefore, it is not necessary to generate information such as a shared key in pairing establishment and share it between the peripheral 100 and the central 200.

そして、ペリフェラル100の制御部120は、セントラル200と接続する再接続処理のステップS303において、ROM140に記憶されているアプリケーション識別情報とOS識別情報とをセントラル200に通知し、これらがセントラル200のアプリケーション識別情報及びOS識別情報と一致しなければ、ペリフェラル100とセントラル200の接続は切断され、セントラル200はROM240に記憶されているペリフェラル100の装置識別情報を削除している。   The control unit 120 of the peripheral 100 notifies the central 200 of the application identification information and the OS identification information stored in the ROM 140 in step S303 of the reconnection process for connecting to the central 200. If the identification information and the OS identification information do not match, the connection between the peripheral 100 and the central 200 is disconnected, and the central 200 deletes the device identification information of the peripheral 100 stored in the ROM 240.

かかる構成によれば、例えばペリフェラル100がセントラル200とペアリング確立した後に、別のセントラル(不図示)とペアリング確立した場合、ROM140に記憶されているセントラル200のアプリケーション識別情報及びOS識別情報が当該別のセントラル(不図示)のアプリケーション識別情報及びOS識別情報に更新される。そして、その後に再びペリフェラル100がセントラル200と再接続しようとすると、セントラル200はROM240に記憶されているペリフェラル100の装置識別情報を削除する。   According to this configuration, for example, when the peripheral 100 establishes pairing with the central 200 and then establishes pairing with another central (not shown), the application identification information and OS identification information of the central 200 stored in the ROM 140 are stored. It is updated to the application identification information and OS identification information of the other central (not shown). When the peripheral 100 tries to reconnect to the central 200 again after that, the central 200 deletes the device identification information of the peripheral 100 stored in the ROM 240.

したがって、ユーザはペリフェラル100とセントラル200のペアリングを解消するための操作をする必要が無い。また、ペリフェラル100とセントラル200のペアリングを解消するための操作をしなくてもペリフェラル100は別のセントラル(不図示)とペアリング確立することができる。   Therefore, the user does not need to perform an operation for canceling the pairing of the peripheral 100 and the central 200. Further, the peripheral 100 can establish pairing with another central (not shown) without performing an operation for canceling the pairing between the peripheral 100 and the central 200.

また、かかる構成によれば、共有鍵をペアリング情報として共有する2つの無線通信装置において、一方の無線通信装置の記憶部のみにおいてペアリング情報が削除された状態で再接続又はペアリング確立を行う場合のように、不明確な操作又は制御処理が要求されることがなく、不明確な操作又は制御処理に伴う不具合発生原因も生じない。   Further, according to this configuration, in the two wireless communication devices that share the shared key as pairing information, reconnection or pairing establishment is performed with the pairing information deleted only in the storage unit of one of the wireless communication devices. As in the case where it is performed, an unclear operation or control process is not required, and there is no cause for the occurrence of problems associated with the unclear operation or control process.

このように、本実施形態のペリフェラル100とセントラル200によれば、ペアリングに関する操作を簡略化して、ユーザの利便性を向上することができる。   Thus, according to the peripheral 100 and the central 200 of the present embodiment, it is possible to simplify the operation related to pairing and improve the convenience for the user.

以上で実施形態の説明を終了するが、上記実施形態は一例に過ぎない。そのため、ペリフェラル100とセントラル200の具体的な構成や処理の内容などは上記実施形態で説明したものに限られない。以下、上記実施形態の変形例について説明する。   This is the end of the description of the embodiment. However, the above embodiment is merely an example. Therefore, the specific configurations and processing contents of the peripheral 100 and the central 200 are not limited to those described in the above embodiment. Hereinafter, modifications of the embodiment will be described.

(変形例)
上記実施形態において、ペアリング確立処理及び再接続処理は、ペリフェラル100の制御部120とセントラル200の制御部220によって実行されている。しかし、ペリフェラル100及びセントラル200がそれぞれ複数の制御部を有し、それら複数の制御部が協働してペアリング確立処理及び再接続処理を実行するように構成してもよい。すなわち、アドバタイズメント送信制御部121、接続確立部122、接続切断部123、アプリケーション識別情報取得部124、OS識別情報取得部125、識別情報通知制御部126、接続種別通知制御部127は、単一の制御部であっても良いし、各々別個に制御部が設けられて各動作が行われても良い。また、アドバタイズメント受信制御部221、接続要求送信制御部222、切断要求送信制御部223、識別情報照合部224、アプリケーション識別情報通知制御部225、OS識別情報通知制御部226、装置識別情報管理部227、接続種別判定部228は、単一の制御部であっても良いし、各々別個に制御部が設けられて各動作が行われても良い。
(Modification)
In the above embodiment, the pairing establishment process and the reconnection process are executed by the control unit 120 of the peripheral 100 and the control unit 220 of the central 200. However, the peripheral 100 and the central 200 may each include a plurality of control units, and the plurality of control units may cooperate to execute the pairing establishment process and the reconnection process. That is, the advertisement transmission control unit 121, the connection establishment unit 122, the connection disconnection unit 123, the application identification information acquisition unit 124, the OS identification information acquisition unit 125, the identification information notification control unit 126, and the connection type notification control unit 127 The control unit may be a separate control unit, or each operation may be performed separately. Also, the advertisement reception control unit 221, the connection request transmission control unit 222, the disconnection request transmission control unit 223, the identification information collation unit 224, the application identification information notification control unit 225, the OS identification information notification control unit 226, and the device identification information management unit 227 and connection type determination unit 228 may be a single control unit, or each control unit may be provided separately to perform each operation.

上記実施形態において、ペアリング確立処理のステップS105において、ペリフェラル100の制御部120は、取得したOS識別情報をROM140に記憶させている。また、再接続処理のステップS303において、ペリフェラル100の制御部120は、OS識別情報をセントラル200に通知し、セントラル200は、取得したOS識別情報がセントラル200のOS識別情報と一致するかどうかも判定している。   In the above embodiment, in step S105 of the pairing establishment process, the control unit 120 of the peripheral 100 stores the acquired OS identification information in the ROM 140. In step S303 of the reconnection process, the control unit 120 of the peripheral 100 notifies the OS identification information to the central 200, and the central 200 also determines whether or not the acquired OS identification information matches the OS identification information of the central 200. Judgment.

しかし、本発明はこのような形態に限られない。ペリフェラル100は、ペアリング確立処理において、アプリケーション識別情報だけを記憶し、OS識別情報を記憶しないように構成されてもよい。セントラル200は、再接続処理において、取得したアプリケーション識別情報がセントラル200のアプリケーション識別情報と一致するかどうかだけを判定するように構成されてもよい。換言すると、セントラル200からペリフェラル100へのOS識別情報の通知は以降の通信のために必要であるが、それ以外の目的でOS識別情報を通知するかどうか任意である。   However, the present invention is not limited to such a form. The peripheral 100 may be configured to store only application identification information and not OS identification information in the pairing establishment process. The central 200 may be configured to determine only whether the acquired application identification information matches the application identification information of the central 200 in the reconnection process. In other words, the notification of the OS identification information from the central 200 to the peripheral 100 is necessary for the subsequent communication, but it is arbitrary whether to notify the OS identification information for other purposes.

上記実施形態において、ペリフェラル100とセントラル200とは、それぞれ取得したデータをROM140とROM240とに記憶している。しかし、本発明はこのような構成に限られない。ペリフェラル100とセントラル200とは、取得したデータをROM140とROM240ではなく、RAM130又はRAM230に記憶するように構成されてもよい。すなわち、記憶先は、RAMやROM等の記憶部であれば何でもよい。   In the above embodiment, the peripheral 100 and the central 200 store the acquired data in the ROM 140 and the ROM 240, respectively. However, the present invention is not limited to such a configuration. The peripheral 100 and the central 200 may be configured to store the acquired data in the RAM 130 or the RAM 230 instead of the ROM 140 and the ROM 240. That is, the storage destination may be anything as long as it is a storage unit such as RAM or ROM.

上記実施形態において、ペリフェラル100とセントラル200は、ユーザが所定の操作を行うことを契機としてペアリング確立処理を実行するように構成されている。しかし、このようなユーザ操作を契機とする必要はない。例えば、セントラル200がペリフェラル100からアドバタイズメントを受信した場合に、セントラル200が、そのアドバタイズメントに含まれるペリフェラル100の装置識別情報が、ROM240に記憶されている装置識別情報のいずれかに一致するかどうかを判定し、一致するものがない場合にペアリング確立処理を実行するように構成してもよい。   In the above embodiment, the peripheral 100 and the central 200 are configured to execute the pairing establishment process when the user performs a predetermined operation. However, there is no need for such a user operation as a trigger. For example, when the central 200 receives an advertisement from the peripheral 100, the central 200 matches the device identification information of the peripheral 100 included in the advertisement with any of the device identification information stored in the ROM 240. It may be configured to determine whether or not the pairing establishment process is executed when there is no match.

上記実施形態では、BLEに基づいて互いに無線通信を行うペリフェラル100及びセントラル200を無線通信装置の一例として示している。しかし、本発明は、BLEに基づいて無線通信を行う無線通信装置に限られない。例えば、本発明は、Wi−Fi(登録商標)又はZigBee(登録商標)等に基づく無線通信を行う無線通信装置等であってもよい。   In the above-described embodiment, the peripheral 100 and the central 200 that perform wireless communication with each other based on BLE are illustrated as an example of a wireless communication device. However, the present invention is not limited to a wireless communication device that performs wireless communication based on BLE. For example, the present invention may be a wireless communication device that performs wireless communication based on Wi-Fi (registered trademark), ZigBee (registered trademark), or the like.

また、本発明に係るペリフェラル100及びセントラル200は、上記無線通信装置によらず、例えば、コンピュータがプログラムを実行することで、ペリフェラル100の機能及びセントラル200の機能を実現してもよい。ペリフェラル100の機能及びセントラル200の機能を実現するためのプログラムは、USB(Universal Serial Bus)メモリ、CD−ROM(Compact Disc−Read Only Memory)、DVD(Digital Versatile Disc)、HDD(Hard Disc Drive)等のコンピュータ読み取り可能な記録媒体に記憶されてもよいし、ネットワークを介してコンピュータにダウンロードされてもよい。   Further, the peripheral 100 and the central 200 according to the present invention may realize the functions of the peripheral 100 and the central 200 by, for example, a computer executing a program regardless of the wireless communication apparatus. A program for realizing the functions of the peripheral 100 and the central 200 includes a USB (Universal Serial Bus) memory, a CD-ROM (Compact Disc-Read Only Memory), a DVD (Digital Versatile Disc), and an HDD (Hard Disc Drive). Or the like, or may be downloaded to a computer via a network.

以上、本発明の好ましい実施形態について説明したが、本発明は係る特定の実施形態に限定されるものではなく、本発明には、特許請求の範囲に記載された発明とその均等の範囲が含まれる。以下に、本願出願の当初の特許請求の範囲に記載された発明を付記する。   As mentioned above, although preferable embodiment of this invention was described, this invention is not limited to the specific embodiment which concerns, This invention includes the invention described in the claim, and its equivalent range It is. Hereinafter, the invention described in the scope of claims of the present application will be appended.

(付記1)
自装置のアプリケーション識別情報を他の無線通信装置に通知する通知ステップと、
前記他の無線通信装置から受信した該他の無線通信装置の装置識別情報を前記自装置の記憶部に記憶させる記憶ステップと、
を含むことを特徴とする無線通信方法。
(Appendix 1)
A notification step of notifying the application identification information of the own device to another wireless communication device;
A storage step of storing device identification information of the other wireless communication device received from the other wireless communication device in the storage unit of the own device;
A wireless communication method comprising:

(付記2)
前記他の無線通信装置と接続する場合に、該他の無線通信装置から該他の無線通信装置の記憶部に記憶されている前記アプリケーション識別情報を取得する取得ステップと、
前記他の無線通信装置から取得したアプリケーション識別情報が、前記自装置のアプリケーション識別情報と一致する場合には前記接続を維持し、前記自装置のアプリケーション識別情報と一致しない場合には前記接続を切断する接続制御ステップと、
を含むことを特徴とする付記1に記載の無線通信方法。
(Appendix 2)
Obtaining the application identification information stored in the storage unit of the other wireless communication device from the other wireless communication device when connecting to the other wireless communication device;
If the application identification information acquired from the other wireless communication device matches the application identification information of the own device, the connection is maintained, and if the application identification information does not match the application identification information of the own device, the connection is disconnected. A connection control step,
The wireless communication method according to claim 1, further comprising:

(付記3)
前記接続制御ステップにおいて、
前記他の無線通信装置から取得したアプリケーション識別情報が、前記自装置のアプリケーション識別情報と一致しない場合には、さらに前記記憶ステップにおいて記憶した前記他の無線通信装置の装置識別情報を削除する、
ことを特徴とする付記2に記載の無線通信方法。
(Appendix 3)
In the connection control step,
When the application identification information acquired from the other wireless communication device does not match the application identification information of the own device, the device identification information of the other wireless communication device stored in the storing step is further deleted.
The wireless communication method according to Supplementary Note 2, wherein

(付記4)
前記通知ステップにおいて、さらに自装置のOS識別情報を前記他の無線通信装置に通知し、
前記他の無線通信装置と接続する場合に、該他の無線通信装置から該他の無線通信装置の記憶部に記憶されているアプリケーション識別情報及びOS識別情報を取得する取得ステップと、
前記他の無線通信装置から取得したアプリケーション識別情報及びOS識別情報が、前記自装置のアプリケーション識別情報及びOS識別情報と一致する場合には前記接続を維持し、前記自装置のアプリケーション識別情報及びOS識別情報と一致しない場合には前記接続を切断する接続制御ステップと、
を含むことを特徴とする付記1に記載の無線通信方法。
(Appendix 4)
In the notification step, the OS identification information of the own device is further notified to the other wireless communication device,
Obtaining the application identification information and the OS identification information stored in the storage unit of the other wireless communication device from the other wireless communication device when connecting to the other wireless communication device;
If the application identification information and OS identification information acquired from the other wireless communication device match the application identification information and OS identification information of the own device, the connection is maintained, and the application identification information and OS of the own device are maintained. A connection control step for disconnecting the connection if the identification information does not match;
The wireless communication method according to claim 1, further comprising:

(付記5)
コンピュータを、
自装置のアプリケーション識別情報を他の無線通信装置に通知する通知手段、
前記他の無線通信装置から受信した該他の無線通信装置の装置識別情報を前記自装置の記憶部に記憶させる記憶手段、
として機能させるためのプログラム。
(Appendix 5)
Computer
Notification means for notifying the application identification information of the own device to other wireless communication devices;
Storage means for storing device identification information of the other wireless communication device received from the other wireless communication device in the storage unit of the own device;
Program to function as.

(付記6)
制御部と記憶部と無線通信部とを備える無線通信装置であって、
前記制御部は、
他の無線通信装置から該他の無線通信装置のアプリケーション識別情報を前記無線通信部に受信させ、
前記アプリケーション識別情報を前記記憶部に記憶させ、
前記他の無線通信装置と接続する場合には、前記無線通信部に、前記記憶部に記憶されている前記アプリケーション識別情報を該他の無線通信装置へ送信させる、
ことを特徴とする無線通信装置。
(Appendix 6)
A wireless communication device including a control unit, a storage unit, and a wireless communication unit,
The controller is
Causing the wireless communication unit to receive application identification information of the other wireless communication device from another wireless communication device;
Storing the application identification information in the storage unit;
When connecting to the other wireless communication device, the wireless communication unit causes the application identification information stored in the storage unit to be transmitted to the other wireless communication device.
A wireless communication apparatus.

(付記7)
付記6に記載の無線通信装置であることを特徴とする電子時計。
(Appendix 7)
An electronic timepiece which is the wireless communication device according to attachment 6.

(付記8)
他の無線通信装置から該他の無線通信装置のアプリケーション識別情報を受信して自装置の記憶部に記憶させる記憶ステップと、
前記他の無線通信装置と接続する場合には、前記記憶ステップで記憶した前記アプリケーション識別情報を該他の無線通信装置に通知する通知ステップと、
を含むことを特徴とする無線通信方法。
(Appendix 8)
A storage step of receiving application identification information of the other wireless communication device from another wireless communication device and storing it in the storage unit of the own device;
When connecting to the other wireless communication device, a notification step of notifying the other wireless communication device of the application identification information stored in the storing step;
A wireless communication method comprising:

1…無線通信システム、100…ペリフェラル(電子時計)、110,210…無線通信部、111,211…アンテナ、120,220…制御部、121…アドバタイズメント送信制御部、122…接続確立部、123…接続切断部、124…アプリケーション識別情報取得部、125…OS識別情報取得部、126…識別情報通知制御部、127…接続種別通知制御部、130,230…RAM、140,240…ROM、150,250…操作部、160,260…表示部、170,270…計時部、180,280…クロック信号生成部、200…セントラル(無線通信端末)、221…アドバタイズメント受信制御部、222…接続要求送信制御部、223…切断要求送信制御部、224…識別情報照合部、225…アプリケーション識別情報通知制御部、226…OS識別情報通知制御部、227…装置識別情報管理部、228…接続種別判定部   DESCRIPTION OF SYMBOLS 1 ... Wireless communication system, 100 ... Peripheral (electronic timepiece), 110, 210 ... Wireless communication part, 111, 211 ... Antenna, 120, 220 ... Control part, 121 ... Advertisement transmission control part, 122 ... Connection establishment part, 123 ... Connection disconnection unit, 124 ... Application identification information acquisition unit, 125 ... OS identification information acquisition unit, 126 ... Identification information notification control unit, 127 ... Connection type notification control unit, 130, 230 ... RAM, 140, 240 ... ROM, 150 , 250 ... operation section, 160, 260 ... display section, 170, 270 ... timing section, 180, 280 ... clock signal generation section, 200 ... central (wireless communication terminal), 221 ... advertisement reception control section, 222 ... connection request Transmission control unit, 223 ... disconnection request transmission control unit, 224 ... identification information collation unit, 225 ... application Down identification information notification control unit, 226 ... OS identification information notification control unit, 227 ... device identification information management unit, 228 ... connection type determining unit

Claims (3)

自装置のアプリケーション識別情報及びOS識別情報を他の無線通信装置に通知する通知ステップと、
前記他の無線通信装置から受信した該他の無線通信装置の装置識別情報を前記自装置の記憶部に記憶させる記憶ステップと、
前記他の無線通信装置と接続する場合に、該他の無線通信装置から該他の無線通信装置の記憶部に記憶されているアプリケーション識別情報及びOS識別情報を取得する取得ステップと、
前記他の無線通信装置から取得したアプリケーション識別情報及びOS識別情報が、前記自装置のアプリケーション識別情報及びOS識別情報と一致する場合には前記接続を維持し、前記自装置のアプリケーション識別情報及びOS識別情報と一致しない場合には前記接続を切断する接続制御ステップと、
を含むことを特徴とする無線通信方法。
A notification step of notifying the application identification information of the own device and the OS identification information to another wireless communication device;
A storage step of storing device identification information of the other wireless communication device received from the other wireless communication device in the storage unit of the own device;
Obtaining the application identification information and the OS identification information stored in the storage unit of the other wireless communication device from the other wireless communication device when connecting to the other wireless communication device;
If the application identification information and OS identification information acquired from the other wireless communication device match the application identification information and OS identification information of the own device, the connection is maintained, and the application identification information and OS of the own device are maintained. A connection control step for disconnecting the connection if the identification information does not match;
A wireless communication method comprising:
前記接続制御ステップにおいて、
前記他の無線通信装置から取得したアプリケーション識別情報が、前記自装置のアプリケーション識別情報と一致しない場合には、さらに前記記憶ステップにおいて記憶した前記他の無線通信装置の装置識別情報を削除する、
ことを特徴とする請求項1に記載の無線通信方法。
In the connection control step,
When the application identification information acquired from the other wireless communication device does not match the application identification information of the own device, the device identification information of the other wireless communication device stored in the storing step is further deleted.
The wireless communication method according to claim 1.
コンピュータを、
前記コンピュータのアプリケーション識別情報及びOS識別情報を他の無線通信装置に通知する通知手段、
前記他の無線通信装置から受信した該他の無線通信装置の装置識別情報を前記コンピュータの記憶部に記憶させる記憶手段、
前記他の無線通信装置と接続する場合に、該他の無線通信装置から該他の無線通信装置の記憶部に記憶されているアプリケーション識別情報及びOS識別情報を取得する取得手段、
前記他の無線通信装置から取得したアプリケーション識別情報及びOS識別情報が、前記コンピュータのアプリケーション識別情報及びOS識別情報と一致する場合には前記接続を維持し、前記コンピュータのアプリケーション識別情報及びOS識別情報と一致しない場合には前記接続を切断する接続制御手段、
として機能させるためのプログラム。
Computer
Notification means for notifying the application identification information and OS identification information of the computer to other wireless communication devices;
Storage means for storing device identification information of the other wireless communication device received from the other wireless communication device in a storage unit of the computer;
An acquisition unit for acquiring application identification information and OS identification information stored in a storage unit of the other wireless communication device from the other wireless communication device when connected to the other wireless communication device;
If the application identification information and the OS identification information acquired from the other wireless communication device match the application identification information and the OS identification information of the computer, the connection is maintained, and the application identification information and the OS identification information of the computer are maintained. A connection control means for disconnecting the connection if it does not match,
Program to function as.
JP2017067130A 2017-03-30 2017-03-30 Wireless communication method and program Active JP6690592B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2017067130A JP6690592B2 (en) 2017-03-30 2017-03-30 Wireless communication method and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2017067130A JP6690592B2 (en) 2017-03-30 2017-03-30 Wireless communication method and program

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2016006284A Division JP6132037B1 (en) 2016-01-15 2016-01-15 Wireless communication method and program

Publications (3)

Publication Number Publication Date
JP2017130971A true JP2017130971A (en) 2017-07-27
JP2017130971A5 JP2017130971A5 (en) 2019-02-21
JP6690592B2 JP6690592B2 (en) 2020-04-28

Family

ID=59395100

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017067130A Active JP6690592B2 (en) 2017-03-30 2017-03-30 Wireless communication method and program

Country Status (1)

Country Link
JP (1) JP6690592B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020110575A1 (en) * 2018-11-29 2020-06-04 キヤノン株式会社 Communication device, communication device control method, and program
JP2021136626A (en) * 2020-02-28 2021-09-13 カシオ計算機株式会社 Device, system and method for communication, and program
JP2022082535A (en) * 2018-03-09 2022-06-02 サムスン エレクトロニクス カンパニー リミテッド Display device and control method thereof

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011147004A (en) * 2010-01-15 2011-07-28 Fujitsu Toshiba Mobile Communications Ltd Radio communication device
US20130189924A1 (en) * 2012-01-25 2013-07-25 Research In Motion Limited Mobile communications system providing enhanced out of band (oob) bluetooth pairing and related methods
JP2014517639A (en) * 2011-06-14 2014-07-17 サムスン エレクトロニクス カンパニー リミテッド Short-range wireless communication method and terminal implementing the same
JP2014187487A (en) * 2013-03-22 2014-10-02 Casio Comput Co Ltd Pairing method and electronic device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011147004A (en) * 2010-01-15 2011-07-28 Fujitsu Toshiba Mobile Communications Ltd Radio communication device
JP2014517639A (en) * 2011-06-14 2014-07-17 サムスン エレクトロニクス カンパニー リミテッド Short-range wireless communication method and terminal implementing the same
US20130189924A1 (en) * 2012-01-25 2013-07-25 Research In Motion Limited Mobile communications system providing enhanced out of band (oob) bluetooth pairing and related methods
JP2014187487A (en) * 2013-03-22 2014-10-02 Casio Comput Co Ltd Pairing method and electronic device

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2022082535A (en) * 2018-03-09 2022-06-02 サムスン エレクトロニクス カンパニー リミテッド Display device and control method thereof
JP7436532B2 (en) 2018-03-09 2024-02-21 サムスン エレクトロニクス カンパニー リミテッド Display device and its control method
WO2020110575A1 (en) * 2018-11-29 2020-06-04 キヤノン株式会社 Communication device, communication device control method, and program
JP2020088742A (en) * 2018-11-29 2020-06-04 キヤノン株式会社 Communication device, control method thereof, and program
JP7121646B2 (en) 2018-11-29 2022-08-18 キヤノン株式会社 COMMUNICATION DEVICE, COMMUNICATION DEVICE CONTROL METHOD AND PROGRAM
JP2021136626A (en) * 2020-02-28 2021-09-13 カシオ計算機株式会社 Device, system and method for communication, and program
JP7234978B2 (en) 2020-02-28 2023-03-08 カシオ計算機株式会社 Communication device, communication system, communication method and program

Also Published As

Publication number Publication date
JP6690592B2 (en) 2020-04-28

Similar Documents

Publication Publication Date Title
JP6132037B1 (en) Wireless communication method and program
JP5892151B2 (en) Wireless communication apparatus, wireless communication system, wireless communication method, program, and peripheral
KR101963589B1 (en) Method and apparatus for performaing capability discovery of rich communication suite in a portable terminal
EP3169135B1 (en) Radio communication apparatus and radio communication method
US9241357B2 (en) Electronic device, method, and computer-readable storage medium
CN108702414B (en) Screen locking method and device and computer readable storage medium
KR20130123732A (en) Method and apparatus for exchanging sip options message for capability discovery of rich communication suite in a portable terminal
CN106550320B (en) Wireless communication device, electronic timepiece, and wireless communication method
US20150065053A1 (en) Method of controlling short-range wireless communication and apparatus supporting the same
KR102361852B1 (en) Communication apparatus, control method, and medium
JP2015220604A (en) Communication device, control method, and program
JP6690592B2 (en) Wireless communication method and program
KR20180114755A (en) Device And Communication Connection Method Thereof
US11323880B2 (en) Method for wireless connection and electronic device therefor
US10827357B2 (en) Method for controlling service set for wireless LAN and apparatus therefor
JP2015177297A (en) Radio communication device, radio communication method, program, radio communication system, peripheral, and central
JP6288123B2 (en) Wireless communication apparatus, wireless communication method, and program
JP6465035B2 (en) Apparatus and method
CN111448825A (en) Transmission control method and equipment
CN113157367A (en) Screen locking method and device
JP2019126100A (en) Radio communication device, radio communication method, and program
JP2018085773A (en) Radio communication device, radio communication method, and program
JP7363874B2 (en) Wireless communication device, electronic clock, wireless communication method, and program
JP7087314B2 (en) Wireless communication devices, electronic clocks, wireless communication methods, and programs
JP6711133B2 (en) Wireless communication device, electronic clock, wireless communication method and program

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20190110

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20190110

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20191112

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20200110

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: 20200310

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20200323

R150 Certificate of patent or registration of utility model

Ref document number: 6690592

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150