JP6288123B2 - Wireless communication apparatus, wireless communication method, and program - Google Patents

Wireless communication apparatus, wireless communication method, and program Download PDF

Info

Publication number
JP6288123B2
JP6288123B2 JP2016032716A JP2016032716A JP6288123B2 JP 6288123 B2 JP6288123 B2 JP 6288123B2 JP 2016032716 A JP2016032716 A JP 2016032716A JP 2016032716 A JP2016032716 A JP 2016032716A JP 6288123 B2 JP6288123 B2 JP 6288123B2
Authority
JP
Japan
Prior art keywords
wireless communication
communication unit
external device
peripheral
central
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2016032716A
Other languages
Japanese (ja)
Other versions
JP2016119713A5 (en
JP2016119713A (en
Inventor
寺崎 努
努 寺崎
高弘 冨田
高弘 冨田
智洋 高橋
智洋 高橋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 JP2016032716A priority Critical patent/JP6288123B2/en
Publication of JP2016119713A publication Critical patent/JP2016119713A/en
Publication of JP2016119713A5 publication Critical patent/JP2016119713A5/en
Application granted granted Critical
Publication of JP6288123B2 publication Critical patent/JP6288123B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Mobile Radio Communication Systems (AREA)

Description

本発明は、無線通信装置、無線通信方法、及びプログラムに関する。 The present invention relates to a radio communication device, radio communications methods, and relates to a program.

近距離無線通信規格のBluetooth(登録商標) low energyに基づいて無線通信を行う無線通信機器であるセントラルは、通信相手となる他の無線通信機器であるペリフェラルが定期的に送信するアドバタイズと呼ばれる識別情報を受信して、当該ペリフェラルに対して接続要求を送信してから、当該ペリフェラルとの間でデータの送受信を行う(例えば、特許文献1参照)。   Central, a wireless communication device that performs wireless communication based on the short-range wireless communication standard Bluetooth (registered trademark) low energy, is called an advertisement that is periodically transmitted by a peripheral, which is another wireless communication device that is a communication partner. After receiving the information and transmitting a connection request to the peripheral, data is transmitted to and received from the peripheral (see, for example, Patent Document 1).

特開2012−142877号公報JP 2012-142877 A

上記のような無線通信機器において、ペリフェラルが定期的に送信するアドバタイズの間隔は、他の無線通信機器との無線通信の際に消費電力を抑えるために、長く設定することが考えられる。しかし、アドバタイズを受信したセントラルは、次に受信したアドバタイズを受信してから接続要求信号を送信するため、アドバタイズを送信する間隔を長くすると、セントラルがペリフェラルと接続するまでにかかる時間も長くなるという問題がある。一方、アドバタイズの間隔を短くすると、ペリフェラルが消費する電力も大きくなるという問題がある。   In the wireless communication device as described above, it is conceivable that the advertisement interval periodically transmitted by the peripheral is set to be long in order to suppress power consumption during wireless communication with other wireless communication devices. However, since the central that receives the advertisement transmits the connection request signal after receiving the next received advertisement, if the interval for transmitting the advertisement is increased, it takes longer for the central to connect to the peripheral. There's a problem. On the other hand, if the advertisement interval is shortened, there is a problem that the power consumed by the peripheral also increases.

本発明はかかる問題点に鑑みてなされたものであって、必要に応じて識別情報の送信間隔を変更することができる無線通信装置、無線通信方法、及びプログラムを提供することを目的とする。 The present invention was made in view of the above problems, and aims to provide a radio communication apparatus that can change the transmission interval of the identification information as necessary, radio communications methods, and programs To do.

上記目的を達成するため、本発明の第1の観点に係る無線通信装置は、
外部機器から信号探索要求を受信し、所定情報を前記外部機器へ送信する無線通信部と、
プロセッサと、を備え、
前記プロセッサは、前記無線通信部が前記信号探索要求を受信した場合、前記無線通信部の動作間隔を決定し、この決定した前記動作間隔に係る動作間隔情報を前記所定情報として前記無線通信部に送信させる
ことを特徴とする。
In order to achieve the above object, a wireless communication apparatus according to the first aspect of the present invention provides:
A wireless communication unit that receives a signal search request from an external device and transmits predetermined information to the external device;
And a processor,
When the wireless communication unit receives the signal search request, the processor determines an operation interval of the wireless communication unit, and sets the operation interval information related to the determined operation interval as the predetermined information to the wireless communication unit. It is characterized by transmitting .

また、上記目的を達成するため、本発明の第2の観点に係る無線通信装置は、
外部機器の存在を示す識別情報を受信し、前記識別情報を受信した場合に前記外部機器に信号探索要求を送信し、前記外部機器から前記信号探索要求に対する応答である応答情報を受信する無線通信部と、
プロセッサと、を備え、
前記プロセッサは、前記応答情報を受信した場合に、前記応答情報に含まれる動作間隔に係る動作間隔情報に従い前記無線通信部を動作させる
ことを特徴とする。
In order to achieve the above object, a wireless communication apparatus according to the second aspect of the present invention provides:
Wireless communication that receives identification information indicating the presence of an external device, transmits a signal search request to the external device when the identification information is received, and receives response information that is a response to the signal search request from the external device And
And a processor,
When receiving the response information, the processor operates the wireless communication unit according to operation interval information related to an operation interval included in the response information .

本発明によれば、必要に応じて識別情報の送信間隔を変更することができる。   According to the present invention, the transmission interval of identification information can be changed as necessary.

本発明の実施の形態に係る無線通信システムの構成例を示す図である。It is a figure which shows the structural example of the radio | wireless communications system which concerns on embodiment of this invention. 従来のアクティブスキャンを実行するセントラルとペリフェラルとの間におけるアドバタイズからデータ通信を開始するまでのフローの一例を示す図である。It is a figure which shows an example of the flow from the advertisement between the central which performs the conventional active scan, and a peripheral until data communication is started. 本発明の実施の形態に係るセントラルの構成例を示す図である。It is a figure which shows the structural example of the central which concerns on embodiment of this invention. 本発明の実施の形態に係るペリフェラルの構成例を示す図である。It is a figure which shows the structural example of the peripheral which concerns on embodiment of this invention. ペリフェラルにおけるBluetooth(登録商標) low energyのプロトコルスタック構成の一例を示す図である。It is a figure which shows an example of the protocol stack structure of Bluetooth (trademark) low energy in a peripheral. 本発明の実施の形態に係るセントラルとペリフェラルとの間におけるアドバタイズからデータ通信を開始するまでのフローの一例を示す図である。It is a figure which shows an example of the flow until it starts data communication from the advertisement between the central and the periphery which concern on embodiment of this invention. セントラルが実行するセントラル側接続処理の一例を示すフローチャートである。It is a flowchart which shows an example of the central side connection process which a central performs. ペリフェラルが実行するペリフェラル側接続処理の一例を示すフローチャートである。It is a flowchart which shows an example of the peripheral side connection process which a peripheral performs. 本発明の変形例に係るセントラルとペリフェラルとの間におけるアドバタイズのフローの一例を示す図である。It is a figure which shows an example of the flow of advertisement between the central and the peripheral which concern on the modification of this invention.

以下、本発明の実施の形態について図面を参照して説明する。   Hereinafter, embodiments of the present invention will be described with reference to the drawings.

図1は、本発明の実施の形態に係る無線通信システムの構成例を表す図である。   FIG. 1 is a diagram illustrating a configuration example of a wireless communication system according to an embodiment of the present invention.

図1に示す構成例において、無線通信システム1は、Bluetooth(登録商標) low energy(以下、BLEという。)に基づいて、互いに無線通信を行う無線通信装置として、セントラル100と、ペリフェラル200と、を備えている。BLEとは、Bluetooth(登録商標)と呼ばれる近距離無線通信規格において、低消費電力を目的として策定された規格(モード)である。セントラル100は、ペリフェラル200から提供されたサービス(例えば、測定されたデータなど)を利用する装置である。また、ペリフェラル200は、セントラル100にサービス(例えば、測定したデータなど)を提供する装置である。   In the configuration example illustrated in FIG. 1, the wireless communication system 1 includes a central 100, a peripheral 200, and a wireless communication device that perform wireless communication with each other based on Bluetooth (registered trademark) low energy (hereinafter referred to as BLE). It has. BLE is a standard (mode) established for the purpose of low power consumption in a short-range wireless communication standard called Bluetooth (registered trademark). The central 100 is a device that uses a service (for example, measured data) provided from the peripheral 200. The peripheral 200 is a device that provides a service (for example, measured data) to the central 100.

セントラル100は、携帯電話機、スマートフォン、タブレット型パーソナルコンピュータ、ノート型パーソナルコンピュータ等の持ち運びが可能であって、BLEに基づく無線通信機能を有する端末である。本実施の形態では、一例として、セントラル100はスマートフォンから構成される。セントラル100は、ペリフェラル200において取得されたデータをペリフェラル200から受信し、受信したデータに基づいて、後述する表示部128に各種情報を表示したり、後述するスピーカ124からアラーム等の音声を鳴らしたりする。   The central 100 is a terminal that can carry a mobile phone, a smartphone, a tablet personal computer, a notebook personal computer, and the like and has a wireless communication function based on BLE. In the present embodiment, as an example, the central 100 is configured from a smartphone. The central 100 receives the data acquired in the peripheral 200 from the peripheral 200, displays various information on the display unit 128 described later based on the received data, or sounds a sound such as an alarm from the speaker 124 described later. To do.

ペリフェラル200は、自身が保有するサービス概要のセントラル100への通知、セントラル100からの接続要求を待ち受けるためのアドバタイズの送信を行う。   The peripheral 200 notifies the central 100 of the service overview held by itself and transmits an advertisement for waiting for a connection request from the central 100.

なお、BLEに基づいて行われる無線通信では、セントラル100とペリフェラル200との間でデータの送受信を行う前に、ペリフェラル200がアドバタイズを送信し、セントラル100がアドバタイズを受信する。アドバタイズとは、他の無線通信装置を探したり、他の無線通信装置と接続したりしようとするために、他の無線通信装置に対して自分の存在を知らせるための識別情報のことをいう。   In wireless communication performed based on BLE, before data is transmitted / received between the central 100 and the peripheral 200, the peripheral 200 transmits an advertisement, and the central 100 receives the advertisement. Advertising means identification information for notifying other wireless communication devices of their existence in order to search for other wireless communication devices or to connect to other wireless communication devices.

また、BLEに基づいて行われる無線通信では、セントラル100は、スキャンという動作により、ペリフェラル200からのアドバタイズを受信する。このスキャン動作には、アクティブスキャンと、パッシブスキャンという2種類のスキャン動作が定義されている。パッシブスキャンでは、セントラル100は、ペリフェラル200からアドバタイズを受信するだけであるが、アクティブスキャンでは、ペリフェラル200からアドバタイズを受信した際に、スキャンリクエストというパケットをペリフェラル200に送信することで、ペリフェラル200からさらにスキャンレスポンスを受信する。   In wireless communication performed based on BLE, the central 100 receives an advertisement from the peripheral 200 through an operation called scanning. In this scanning operation, two types of scanning operations, an active scan and a passive scan, are defined. In the passive scan, the central 100 only receives an advertisement from the peripheral 200. In the active scan, the central 100 transmits a scan request packet to the peripheral 200 when the advertisement is received from the peripheral 200. Furthermore, a scan response is received.

図2に、アクティブスキャンを実行するセントラルとペリフェラルとの間におけるアドバタイズからデータ通信を開始するまでの従来のフローの一例を示す。図2において、ペリフェラルは、周期Tadv(例えば、1〜2秒程度)でアドバタイズ(Advertise)を送信する。この周期Tadvは、省電力のため、比較的長く設定されている。セントラルは、ユーザの操作等によりスキャン指示を受け付けると、その後に受信したアドバタイズを受信してから時間Tifs経過後にスキャン要求(Scan_Request)をペリフェラルに送信する。セントラルは、ユーザの操作等により接続指示を受け付けた場合に接続要求(Connection_Request)を送信するため、送信待機状態に入る。一方、ペリフェラルは、アドバタイズを送信後の時間Tifs経過後に、セントラルからのスキャン要求を受け付けるため、アドバタイズを送信したチャンネルにおいて要求待ち状態に入る。そして、ペリフェラルは、セントラルからスキャン要求を受信すると時間Tifs経過後に、スキャン応答(Scan_Response)をセントラルに送信する。セントラルは、スキャン応答を受信した後、ユーザの操作等により接続指示を受け付けると、その後に受信したアドバタイズ受信してから時間Tifs経過後に接続要求をペリフェラルに送信する。これにより、セントラルとペリフェラルとの間で接続が確立する。接続が確立した後、接続要求において決められたチャンネル(アドバタイズに用いられる3チャンネル以外の37チャンネルのうち、選択されたチャンネル)において、セントラルがペリフェラルにデータ要求(Data_Request)を送信し、それに応答してペリフェラルが(Data_Response)を返すことで、セントラルとペリフェラルとの間でデータ通信が行われる。 FIG. 2 shows an example of a conventional flow from the advertisement between the central executing the active scan and the peripheral to the start of data communication. In FIG. 2, the peripheral transmits an advertisement with a period T adv (for example, about 1 to 2 seconds). This period Tadv is set relatively long for power saving. When the central receives a scan instruction by a user operation or the like, the central transmits a scan request (Scan_Request) to the peripheral after the time T ifs has elapsed after receiving the received advertisement. The central enters a transmission standby state in order to transmit a connection request (Connection_Request) when a connection instruction is accepted by a user operation or the like. On the other hand, since the peripheral receives a scan request from the central after the time T ifs after the advertisement is transmitted, the peripheral enters a request waiting state in the channel that transmitted the advertisement. When the peripheral receives a scan request from the central, the peripheral transmits a scan response (Scan_Response) to the central after the time T ifs has elapsed. After receiving a scan response and receiving a connection instruction by a user operation or the like, the central transmits a connection request to the peripheral after the time T ifs has elapsed after receiving the received advertisement. This establishes a connection between the central and the peripheral. After the connection is established, the central sends a data request (Data_Request) to the peripheral in response to the channel determined in the connection request (selected channel among 37 channels other than the 3 channels used for advertisement). When the peripheral returns (Data_Response), data communication is performed between the central and the peripheral.

以上説明したように、従来のアクティブスキャンを実行するセントラルとペリフェラルとの間におけるアドバタイズからデータ通信を開始するまでのフローでは、セントラルがペリフェラルに接続要求を送信できるタイミングは、ペリフェラルがアドバタイズを送信したタイミングに左右される。すなわち、アドバタイズ間隔である周期Tadvが長い場合、接続確立までに時間がかかるという問題がある。 As explained above, in the flow from the advertisement between the central and the peripheral that performs the conventional active scan to the start of data communication, the peripheral sent the advertisement when the central can send a connection request to the peripheral. It depends on the timing. In other words, when the period Tadv , which is the advertisement interval, is long, there is a problem that it takes time to establish a connection.

このような従来のフローに対し、本実施の形態では、ペリフェラル200が、セントラル100からスキャン要求を受信したことに応答して、アドバタイズ間隔を短くすることにより、接続確立までに時間を短縮する。   In contrast to such a conventional flow, in the present embodiment, in response to the peripheral 200 receiving a scan request from the central 100, the advertisement interval is shortened, thereby shortening the time until the connection is established.

次に、本実施の形態に係る無線通信システム1のハードウェア構成などについて説明する。   Next, a hardware configuration of the wireless communication system 1 according to the present embodiment will be described.

図3は、本実施の形態に係るセントラル100の構成例を概略的に示すブロック図である。図3に示すように、セントラル100は、制御部102、ROM(Read Only Memory)104、RAM(Random Access Memory)106、無線通信処理部110、アンテナ112、スピーカ124、ドライバ126、表示部128及びタッチパネル130を備える。   FIG. 3 is a block diagram schematically showing a configuration example of the central 100 according to the present embodiment. As shown in FIG. 3, the central 100 includes a control unit 102, a ROM (Read Only Memory) 104, a RAM (Random Access Memory) 106, a wireless communication processing unit 110, an antenna 112, a speaker 124, a driver 126, a display unit 128, and A touch panel 130 is provided.

制御部102は、例えばCPU(Central Processing Unit)によって構成される。制御部102は、ROM104に記憶されたプログラム(例えば、後述する図7に示すセントラル100の動作を実現するためのプログラム)に従ってソフトウェア処理を実行することにより、セントラル100が具備する各種機能を制御する。なお、本実施の形態において、セントラル100は、ペリフェラル200から受信したアドバタイズの電波強度に基づいて、セントラル100とペリフェラル200との間の距離を計測する距離計測用のアプリケーションを実行する。   The control unit 102 is configured by, for example, a CPU (Central Processing Unit). The control unit 102 controls various functions of the central 100 by executing software processing according to a program stored in the ROM 104 (for example, a program for realizing the operation of the central 100 shown in FIG. 7 described later). . In the present embodiment, the central 100 executes a distance measurement application that measures the distance between the central 100 and the peripheral 200 based on the advertised radio wave intensity received from the peripheral 200.

ROM104は、フラッシュメモリ等の不揮発性メモリから構成され、上述したように制御部102が各種機能を制御するためのプログラムやデータを記憶する。RAM106は、揮発性メモリから構成され、制御部102が各種処理を行うためにデータを一時的に記憶するための作業領域として用いられる。   The ROM 104 is configured by a nonvolatile memory such as a flash memory, and stores programs and data for the control unit 102 to control various functions as described above. The RAM 106 includes a volatile memory, and is used as a work area for temporarily storing data for the control unit 102 to perform various processes.

無線通信処理部110は、例えば無線周波数(RF:Radio Frequency)回路やベースバンド(BB:Baseband)回路等を用いて構成される。無線通信処理部110は、アンテナ112を介して、BLEに基づく無線信号の送信及び受信を行う。   The wireless communication processing unit 110 is configured using, for example, a radio frequency (RF) circuit or a baseband (BB) circuit. The wireless communication processing unit 110 transmits and receives a wireless signal based on BLE via the antenna 112.

スピーカ124は、制御部102からの音声データに基づいて、アラーム等の音声を出力する。ドライバ126は、制御部102から出力された画像データに基づく画像信号を表示部128へ出力する。表示部128は、例えば、LCD(Liquid Crystal Display)、EL(Electroluminescence)ディスプレイ等によって構成される。表示部128は、ドライバ126から出力された画像信号に従って画像を表示する。   The speaker 124 outputs sound such as an alarm based on the sound data from the control unit 102. The driver 126 outputs an image signal based on the image data output from the control unit 102 to the display unit 128. The display unit 128 includes, for example, an LCD (Liquid Crystal Display), an EL (Electroluminescence) display, or the like. The display unit 128 displays an image according to the image signal output from the driver 126.

タッチパネル130は、表示部128の上面に配置され、ユーザの操作内容を入力するために用いられるインタフェースである。タッチパネル130は、例えば図示しない透明電極を内蔵し、ユーザの指等が接触した場合に、電圧が変化した位置を接触位置として検出し、その接触位置の情報を入力指示として制御部102へ出力する。   The touch panel 130 is an interface that is disposed on the upper surface of the display unit 128 and is used to input user operation details. The touch panel 130 incorporates a transparent electrode (not shown), for example, and detects a position where the voltage has changed as a contact position when a user's finger or the like touches, and outputs information on the contact position to the control unit 102 as an input instruction. .

次に、セントラル100の制御部102の機能的構成について説明する。図3に示すように、制御部102は、アドバタイズ受信部151、スキャン要求送信部152、距離計測部153、接続制御部154、として機能する。   Next, a functional configuration of the control unit 102 of the central 100 will be described. As illustrated in FIG. 3, the control unit 102 functions as an advertisement reception unit 151, a scan request transmission unit 152, a distance measurement unit 153, and a connection control unit 154.

アドバタイズ受信部151は、識別情報受信部に相当し、例えば、ペリフェラル200との通信のためのアプリケーションを立ち上げた後に、通信を開始するためにユーザが行うタッチパネル130への操作を、ペリフェラル200のスキャン指示として受け付ける。そして、アドバタイズ受信部151は、スキャン指示を受け付けると、ペリフェラル200からのアドバタイズの待機状態に入る。そして、アドバタイズ受信部151は、ペリフェラル200からアドバタイズを受信する。なお、スキャン指示は、ユーザの操作によって発生するものに限られず、例えば、アプリケーションが起動した後に、予め定められたタイマー時間が経過したことに基づいて発生するものであってもよい。   The advertisement receiving unit 151 corresponds to an identification information receiving unit. For example, after launching an application for communication with the peripheral 200, the user performs an operation on the touch panel 130 to start communication with the peripheral 200. Accept as a scan instruction. When the advertisement receiving unit 151 receives the scan instruction, the advertisement receiving unit 151 enters a standby state for the advertisement from the peripheral 200. Then, the advertisement receiving unit 151 receives advertisement from the peripheral 200. Note that the scan instruction is not limited to the one generated by the user's operation, and may be generated based on the elapse of a predetermined timer time after the application is started, for example.

スキャン要求送信部152は、アドバタイズ受信部151がペリフェラル200からアドバタイズを受信した後、時間Tifs経過後に、スキャン要求をペリフェラル200に送信する。 The scan request transmission unit 152 transmits a scan request to the peripheral 200 after the time T ifs has elapsed after the advertisement reception unit 151 receives the advertisement from the peripheral 200.

距離計測部153は、スキャン要求送信部152が送信したスキャン要求に対するスキャン応答をペリフェラル200から受信した場合、ペリフェラル200から受信した電波の強度に基づいて、セントラル100とペリフェラル200との間の距離を計測する。   When the distance measurement unit 153 receives a scan response to the scan request transmitted from the scan request transmission unit 152 from the peripheral 200, the distance measurement unit 153 calculates the distance between the central 100 and the peripheral 200 based on the intensity of the radio wave received from the peripheral 200. measure.

接続制御部154は、ペリフェラル200からスキャン応答を受信した後に、ペリフェラル200からアドバタイズを受信した場合、ペリフェラル200に接続要求を送信する。そして、接続制御部154は、ペリフェラル200との間で接続を確立し、必要に応じてペリフェラル200との間でデータ通信を行う。   When the connection control unit 154 receives an advertisement from the peripheral 200 after receiving the scan response from the peripheral 200, the connection control unit 154 transmits a connection request to the peripheral 200. Then, the connection control unit 154 establishes a connection with the peripheral 200 and performs data communication with the peripheral 200 as necessary.

図4は、本実施の形態に係るペリフェラル200の構成例を概略的に示すブロック図である。図4に示すように、ペリフェラル200は、制御部202、ROM204、RAM206、無線通信処理部210、アンテナ212、操作部220、ドライバ226、及び表示部228を備える。   FIG. 4 is a block diagram schematically showing a configuration example of the peripheral 200 according to the present embodiment. As shown in FIG. 4, the peripheral 200 includes a control unit 202, a ROM 204, a RAM 206, a wireless communication processing unit 210, an antenna 212, an operation unit 220, a driver 226, and a display unit 228.

制御部202は、例えばCPUによって構成される。制御部202は、ROM204に記憶されたプログラム(例えば、後述する図8に示すペリフェラル200の動作を実現するためのプログラム)に従ってソフトウェア処理を実行することにより、ペリフェラル200が具備する各種機能を制御する。   The control unit 202 is configured by a CPU, for example. The control unit 202 controls various functions of the peripheral 200 by executing software processing according to a program stored in the ROM 204 (for example, a program for realizing the operation of the peripheral 200 shown in FIG. 8 described later). .

ROM204は、フラッシュメモリ等の不揮発性メモリから構成され、上述したように制御部202が各種機能を制御するためのプログラムやデータを記憶する。RAM206は、揮発性メモリから構成され、制御部202が各種処理を行うためにデータを一時的に記憶するための作業領域として用いられる。   The ROM 204 is configured by a nonvolatile memory such as a flash memory, and stores programs and data for the control unit 202 to control various functions as described above. The RAM 206 is composed of a volatile memory, and is used as a work area for temporarily storing data for the control unit 202 to perform various processes.

無線通信処理部210は、例えば無線周波数(RF)回路やベースバンド(BB)回路等を用いて構成される。無線通信処理部210は、アンテナ212を介して、BLEに基づく無線信号の送信及び受信を行う。   The wireless communication processing unit 210 is configured using, for example, a radio frequency (RF) circuit, a baseband (BB) circuit, or the like. The wireless communication processing unit 210 transmits and receives a wireless signal based on BLE via the antenna 212.

操作部220は、例えばスイッチ等から構成され、電源のON・OFFなどのユーザの操作内容を入力するために用いられる。   The operation unit 220 includes, for example, a switch and is used to input user operation details such as power ON / OFF.

ドライバ226は、制御部202から出力された画像データに基づく画像信号を表示部228へ出力する。表示部228は、例えば、LCD、ELディスプレイ等によって構成される。表示部228は、ドライバ226から出力された画像信号に従って画像を表示する。   The driver 226 outputs an image signal based on the image data output from the control unit 202 to the display unit 228. The display unit 228 is configured by, for example, an LCD, an EL display, or the like. The display unit 228 displays an image according to the image signal output from the driver 226.

次に、ペリフェラル200の制御部202の機能的構成について説明する。図4に示すように、制御部202は、アドバタイズ送信部251、スキャン要求受信部252、応答送信部253、間隔変更部254、接続要求受信部255、データ通信制御部256、として機能する。   Next, a functional configuration of the control unit 202 of the peripheral 200 will be described. As shown in FIG. 4, the control unit 202 functions as an advertisement transmission unit 251, a scan request reception unit 252, a response transmission unit 253, an interval change unit 254, a connection request reception unit 255, and a data communication control unit 256.

アドバタイズ送信部251は、識別情報送信部に相当し、所定の間隔で、所定の種別のアドバタイズをセントラル100に送信する。ここで、所定の間隔は、間隔変更部254により変更される。また、アドバタイズ送信部251は、送信するアドバタイズの種別を、セントラル100と接続の有無に応じて変更する。   The advertisement transmission unit 251 corresponds to an identification information transmission unit, and transmits a predetermined type of advertisement to the central 100 at a predetermined interval. Here, the predetermined interval is changed by the interval changing unit 254. Also, the advertisement transmission unit 251 changes the type of advertisement to be transmitted according to whether or not the central 100 is connected.

ここで、アドバタイズ送信部251により送信されるアドバタイズの種類について説明する。BLEに基づく無線通信におけるアドバタイズの種別は、「ADV_IND」、「ADV_DIRECT_IND」、「ADV_NONCONN_IND」及び「ADV_SCAN_IND」の4つある。このうち、本実施の形態において、アドバタイズ送信部251は、「ADV_SCAN_IND」及び「ADV_DIRECT_IND」のうち、いずれかの種別のアドバタイズをセントラル100に送信する。   Here, the types of advertisements transmitted by the advertisement transmission unit 251 will be described. There are four types of advertisements in wireless communication based on BLE: “ADV_IND”, “ADV_DIRECT_IND”, “ADV_NONCONN_IND”, and “ADV_SCAN_IND”. Among these, in the present embodiment, the advertisement transmission unit 251 transmits one type of advertisement among “ADV_SCAN_IND” and “ADV_DIRECT_IND” to the central 100.

種別「ADV_SCAN_IND」は、不特定多数のセントラル100へアドバタイズを送信し、アドバタイズの送信元であるペリフェラル200に対してどのセントラル100もスキャン要求できることを示す種別である。ペリフェラル200は、不特定多数のセントラル100に自分の個別ID等の情報を通知することにより自分の存在を伝え、かつ、セントラル100からのスキャン要求があれば受け入れる(応答する)ときに、種別「ADV_SCAN_IND」のアドバタイズを送信する。なお、種別「ADV_SCAN_IND」は、セントラル100からの接続要求があってもペリフェラル200は受け入れない(応答しない)設定となっている。   The type “ADV_SCAN_IND” is a type indicating that an advertisement is transmitted to an unspecified number of centrals 100 and any central 100 can make a scan request to the peripheral 200 that is the transmission source of the advertisements. The peripheral 200 notifies its existence by notifying a large number of unspecified centrals 100 of information such as its own individual ID, and accepts (responds) if there is a scan request from the central 100. ADV_SCAN_IND "advertisement is transmitted. Note that the type “ADV_SCAN_IND” is set so that the peripheral 200 does not accept (do not respond) even if a connection request from the central 100 is received.

種別「ADV_DIRECT_IND」は、特定のセントラル100へアドバタイズし、アドバタイズの送信元であるペリフェラル200に対して当該特定のセントラル100が接続要求できることを示す種別である。ペリフェラル200は、以前接続したことのある特定のセントラル100に自分の個別ID等の情報を通知することにより自分の存在を伝え、かつ、当該セントラル100からの接続要求があれば受け入れる(応答する)ときに、種別「ADV_DIRECT_IND」のアドバタイズを送信する。種別「ADV_DIRECT_IND」のアドバタイズを用いることで、以前接続したことのある特定のセントラル100と高速に接続することが可能となる。なお、種別「ADV_DIRECT_IND」は、セントラル100からのスキャン要求があってもペリフェラル200は受け入れない(応答しない)設定となっている。   The type “ADV_DIRECT_IND” is a type indicating that the specific central 100 can make a connection request to the peripheral 200 which is the advertisement transmission source and advertised to the specific central 100. Peripheral 200 notifies its existence by notifying information such as its individual ID to a specific central 100 that has been connected before, and accepts (responds) if there is a connection request from the central 100. Sometimes, an advertisement of the type “ADV_DIRECT_IND” is transmitted. By using the advertisement of the type “ADV_DIRECT_IND”, it is possible to connect to a specific central 100 that has been connected at a high speed. Note that the type “ADV_DIRECT_IND” is set so that the peripheral 200 does not accept (does not respond) even if there is a scan request from the central 100.

スキャン要求受信部252は、アドバタイズ送信部251がアドバタイズを送信した後に、時間Tifsの間、セントラル100からのスキャン要求の待機状態となる。そして、スキャン要求受信部252は、セントラル100からスキャン要求を受信する。 The scan request receiving unit 252 enters a standby state for a scan request from the central 100 for a time T ifs after the advertisement transmitting unit 251 transmits the advertisement. Then, the scan request receiving unit 252 receives a scan request from the central 100.

応答送信部253は、スキャン要求受信部252がセントラル100からスキャン要求を受信した場合、そのスキャン要求に対するスキャン応答をセントラル100に送信する。   When the scan request reception unit 252 receives a scan request from the central 100, the response transmission unit 253 transmits a scan response to the scan request to the central 100.

間隔変更部254は、スキャン要求受信部252がセントラル100が送信したスキャン要求を受信した場合、アドバタイズ送信部251により送信されるアドバタイズの間隔を変更する。具体的には、間隔変更部254は、現在の間隔が、第1の所定の間隔(例えば、1〜2秒)である場合、第1の所定の間隔よりも短い第2の所定の間隔(例えば、数十ミリ秒〜百ミリ秒)に変更する。また、間隔変更部254は、アドバタイズの間隔を、第1の所定の間隔から第2の所定の間隔へ変更した後の所定の時間(例えば、30秒〜1分)経過後、第2の所定の間隔から第1の所定の間隔へ戻す。   The interval changing unit 254 changes the interval of advertisement transmitted by the advertisement transmitting unit 251 when the scan request receiving unit 252 receives the scan request transmitted by the central 100. Specifically, when the current interval is a first predetermined interval (for example, 1 to 2 seconds), the interval changing unit 254 has a second predetermined interval (which is shorter than the first predetermined interval ( For example, it is changed to several tens of milliseconds to one hundred milliseconds. In addition, the interval changing unit 254 changes the advertisement interval from the first predetermined interval to the second predetermined interval, and then passes the second predetermined interval after elapse of a predetermined time (for example, 30 seconds to 1 minute). The interval is returned to the first predetermined interval.

接続要求受信部255は、応答送信部253により送信されたスキャン応答を受信した後にアドバタイズ送信部251により送信されたアドバタイズを受信したセントラル100が送信した接続要求を受信する。   The connection request reception unit 255 receives the connection request transmitted by the central 100 that has received the advertisement transmitted by the advertisement transmission unit 251 after receiving the scan response transmitted by the response transmission unit 253.

データ通信制御部256は、接続要求受信部255がセントラル100から接続要求を受信した場合、セントラル100との接続を確立し、セントラル100との間でデータ通信を行う。   When the connection request receiving unit 255 receives a connection request from the central 100, the data communication control unit 256 establishes a connection with the central 100 and performs data communication with the central 100.

次に、上記の制御部202の機能を実現するプロトコルの階層について説明する。図5に、ペリフェラル200におけるBLEのプロトコルスタック構成の一例を示す。図5に示すプロトコルスタックにおいて、アドバタイズ及びスキャン状態の管理は、リンク層(Link Layer)が行う。また、リンク層は、待機状態、接続開始、接続状態等の基本的な状態管理や、通信の同期管理を担う。リンク層とホスト(Host)との間には、ホスト・コントローラ・インターフェース(Host Controller Interface;HCI)があり、物理層(Physical Layer)やリンク層といったコントローラ(Controller)部分を直接制御するインターフェースを定義しているコントローラの動作の情報の一部は、HCIを通じてホストに通知され、それを受けたホストは、アプリケーション(Applications)等からの設定に応じて、コントローラの対応動作を指示することが出来る。   Next, a protocol hierarchy for realizing the function of the control unit 202 will be described. FIG. 5 shows an example of a BLE protocol stack configuration in the peripheral 200. In the protocol stack shown in FIG. 5, the advertisement and scan status are managed by the link layer. The link layer is responsible for basic state management such as standby state, connection start, connection state, and communication synchronization management. There is a host controller interface (HCI) between the link layer and the host (Host), which defines an interface that directly controls the controller part such as the physical layer and the link layer. A part of the information on the operation of the controller is notified to the host through the HCI, and the host receiving the information can instruct the corresponding operation of the controller according to the setting from the application or the like.

従来のBLEの仕様においては、セントラルからのスキャン要求を受けたリンク層は、それを通知する手段が定義されておらず、ホストから事前に設定されているスキャン応答データ(Scan Response Data)を自動的に返信する仕組みになっている。   In the conventional BLE specification, the link layer that receives the scan request from the central does not define a means to notify it, and scan response data (Scan Response Data) set in advance by the host is automatically used. It is a mechanism to reply automatically.

この従来の仕組みに対し、本実施の形態に係るペリフェラル200では、スキャン要求を受け取ったリンク層が、スキャン要求を受信したことをホストに通知する手段が定義されている。ホストは、リンク層からスキャン要求を受信したスキャン要求通知(Scan Request Report)を受け取ると、必要に応じて、アドバタイズの間隔を第1の所定の間隔から第2の所定の間隔に変更するよう、リンク層に指示を出す。ここで、リンク層からのスキャン要求通知を処理するのは、接続相手の探索・接続等の基本的なリンクの管理を担っているジェネリック・アクセス・プロファイル(Generic Access Profile;GAP)で行うことが望ましい。また、ホストは、リンク層からスキャン要求を受信してアドバタイズの間隔を変更した後の所定時間経過後、アドバタイズの間隔を、第2の所定の間隔から第1の所定の間隔に戻すよう、リンク層に指示を出す。   In contrast to this conventional mechanism, the peripheral 200 according to the present embodiment defines means for the link layer that has received the scan request to notify the host that the scan request has been received. Upon receiving the scan request report (Scan Request Report) received from the link layer, the host changes the advertisement interval from the first predetermined interval to the second predetermined interval as necessary. Give instructions to the link layer. Here, the scan request notification from the link layer is processed by a generic access profile (GAP), which is responsible for basic link management such as connection partner search and connection. desirable. In addition, the host returns the advertisement interval from the second predetermined interval to the first predetermined interval after a predetermined time has elapsed after receiving the scan request from the link layer and changing the advertisement interval. Give instructions to the layer.

また、スキャン要求通知を受け取ったホストが、アドバタイズの間隔の変更をリンク層に指示する代わりに、ホストが事前にリンク層に対してスキャン要求を受けたときの動作、すなわち、スキャン要求を受けて変更するアドバタイズの間隔の値(第2の所定の間隔)、変更してからもとのアドバタイズの間隔(第1の所定の間隔)に戻るまでの所定時間を設定するHCIコマンドを用意してもよい。   In addition, instead of the host receiving the scan request notification instructing the link layer to change the advertisement interval, the operation when the host receives a scan request to the link layer in advance, that is, receiving the scan request An HCI command may be prepared for setting a value of the advertisement interval to be changed (second predetermined interval) and a predetermined time from the change to the return to the original advertisement interval (first predetermined interval). Good.

次に、本実施の形態における無線通信システム1の動作を図6のフローチャートを参照しつつ説明する。   Next, the operation of the wireless communication system 1 in the present embodiment will be described with reference to the flowchart of FIG.

図6は、本発明の実施の形態に係るセントラル100とペリフェラル200との間におけるアドバタイズからデータ通信を開始するまでのフローの一例を示す図である。図6に示すように、ペリフェラル200において、ホストがリンク層に対しアドバタイズの開始指示を出すと、リンク層は、セントラル100に種別「ADV_SCAN_ID」のアドバタイズメント(Advertise)を第1の所定の間隔Tadv1で定期的に送信する(ステップS10)。 FIG. 6 is a diagram illustrating an example of a flow from advertising to starting data communication between the central 100 and the peripheral 200 according to the embodiment of the present invention. As shown in FIG. 6, in the peripheral 200, when the host issues an advertisement start instruction to the link layer, the link layer sends an advertisement of the type “ADV_SCAN_ID” to the central 100 for the first predetermined interval T. Adv1 is periodically transmitted (step S10).

セントラル100は、例えば、ユーザがタッチパネル130への操作をスキャン指示として受け付ける(ステップS11)。ステップS11の後、セントラル100は、アドバタイズをスキャンして、ペリフェラル200から送信されたアドバタイズを受信する。セントラル100は、アドバタイズを受信すると、受信してから時間Tifs経過後にスキャン要求(Scan_Request)をペリフェラル200に送信する(ステップS12)。 The central 100 receives, for example, an operation on the touch panel 130 as a scan instruction by the user (step S11). After step S11, the central 100 scans the advertisement and receives the advertisement transmitted from the peripheral 200. When the central 100 receives the advertisement, the central 100 transmits a scan request (Scan_Request) to the peripheral 200 after the time T ifs has elapsed since the reception (step S12).

次に、ペリフェラル200は、ステップS12においてセントラル100から送信されたスキャン要求を受信すると、リンク層は、ホストにスキャン要求を受信したことを通知するスキャン要求通知(Scan_Request_Report)を送るとともに、スキャン要求を受信してから時間Tifs経過後にスキャン応答(Scan_Response)をセントラル100に送信する(ステップS13)。このスキャン応答に第2の所定の間隔Tadv2に関する情報を入れる。このようにすることで、セントラル100はスキャン要求通知を送る前の受信間隔から、ペリフェラル200が変更するアドバタイズを送る間隔に合わせて受信することができる。 Next, when the peripheral 200 receives the scan request transmitted from the central 100 in step S12, the link layer sends a scan request notification (Scan_Request_Report) notifying the host that the scan request has been received, and sends the scan request. A scan response (Scan_Response) is transmitted to the central 100 after the time T ifs has elapsed since the reception (step S13). Information relating to the second predetermined interval Tadv2 is entered in this scan response. In this way, the central 100 can receive the reception interval before sending the scan request notification in accordance with the interval at which the advertisement changed by the peripheral 200 is sent.

そして、ペリフェラル200では、スキャン要求通知を受け取ったホストが、リンク層に対し、アドバタイズの間隔を第1の所定の間隔Tadv1から、Tadv1よりも短い第2の所定の間隔Tadv2に変更するよう指示し、リンク層は、その指示に従ってアドバタイズを送信する(ステップS14)。 Then, the peripheral 200, the host which has received the scan request notification, to the link layer, the spacing of the advertisement from the first predetermined interval T adv1, is changed to a second predetermined interval T ADV2 shorter than T adv1 The link layer transmits the advertisement according to the instruction (step S14).

また、セントラル100は、ペリフェラル200からスキャン応答を受信後、接続指示を受け付けると(ステップS15)、アドバタイズをスキャンして、ステップS14においてペリフェラル200から送信されたアドバタイズを受信する。セントラル100は、アドバタイズを受信すると、受信してから時間Tifs経過後に接続要求(Connection_Request)をペリフェラル200に送信する(ステップS16)。 Further, when receiving a connection instruction after receiving a scan response from the peripheral 200 (step S15), the central 100 scans the advertisement and receives the advertisement transmitted from the peripheral 200 in step S14. When the central 100 receives the advertisement, the central 100 transmits a connection request (Connection_Request) to the peripheral 200 after the time T ifs has elapsed since the reception (step S16).

以後、セントラル100とペリフェラル200との間で接続が確立し、セントラル100からペリフェラル200へのデータ要求(Data_Request)への送信、ペリフェラル200からセントラル100へのデータ応答(Data_Response)の送信により、セントラル100とペリフェラル200との間でデータの送受信が行われる(ステップS17)。   Thereafter, a connection is established between the central 100 and the peripheral 200, and the central 100 transmits a data request (Data_Request) from the central 100 to the peripheral 200, and transmits a data response (Data_Response) from the peripheral 200 to the central 100. And transmission / reception of data to / from the peripheral 200 (step S17).

なお、セントラル100とペリフェラル200との間でデータの送受信が終了すると、セントラル100からペリフェラル200に切断要求が送信され、切断要求を受信したペリフェラル200からセントラル100に切断応答が送信されることにより、セントラル100とペリフェラル200との接続が終了する。   When data transmission / reception between the central 100 and the peripheral 200 is completed, a disconnection request is transmitted from the central 100 to the peripheral 200, and a disconnection response is transmitted from the peripheral 200 that has received the disconnection request to the central 100. The connection between the central 100 and the peripheral 200 is terminated.

また、ペリフェラル200では、アドバタイズの間隔を第2の所定の間隔Tadv2に変更した後、所定時間経過すると、ホストは、リンク層に対し、アドバタイズの間隔を第2の所定の間隔Tadv2から、もとの第1の所定の間隔Tadv1に変更するよう指示し、リンク層は、その指示に従って、ステップS10の処理に戻って、第1の所定の間隔Tadv1でのアドバタイズの送信を再開する。 Further, in the peripheral 200, after the advertisement interval is changed to the second predetermined interval Tadv2 , after the predetermined time has elapsed, the host changes the advertisement interval from the second predetermined interval Tadv2 to the link layer. The link layer instructs to change to the original first predetermined interval Tadv1 , and the link layer returns to the process of step S10 according to the instruction and resumes the transmission of advertisement at the first predetermined interval Tadv1. .

次に、本実施の形態に係るセントラル100の動作について、図7を参照して説明する。図7は、本実施の形態に係るセントラル100の制御部102が実行するセントラル側接続処理の一例を示すフローチャートである。なお、この通信処理は、ROM104内に予め記憶されているプログラムを読み出して実行する制御部102によって行われる。   Next, the operation of the central 100 according to the present embodiment will be described with reference to FIG. FIG. 7 is a flowchart illustrating an example of a central side connection process executed by the control unit 102 of the central 100 according to the present embodiment. This communication process is performed by the control unit 102 that reads and executes a program stored in advance in the ROM 104.

セントラル100の制御部102は、例えば、ユーザによる操作入力に応じて距離計測用のアプリケーションを立ち上げた後に、図7に示すセントラル側接続処理を開始する。   For example, the control unit 102 of the central 100 starts the central side connection process illustrated in FIG. 7 after starting an application for distance measurement in response to an operation input by the user.

まず、アドバタイズ受信部151は、ペリフェラル200から種別「ADV_SCAN_IND」のアドバタイズを受信したか否かを判定する(ステップS101)。アドバタイズ受信部151は、ペリフェラル200から種別「ADV_SCAN_IND」のアドバタイズを受信するまで、待機する(ステップS101;No)。   First, the advertisement receiving unit 151 determines whether an advertisement of the type “ADV_SCAN_IND” is received from the peripheral 200 (step S101). The advertisement receiving unit 151 waits until an advertisement of the type “ADV_SCAN_IND” is received from the peripheral 200 (step S101; No).

アドバタイズ受信部151が、ペリフェラル200から種別「ADV_SCAN_IND」のアドバタイズを受信したと判定した場合(ステップS101;Yes)、スキャン要求送信部152は、アドバタイズ受信部151がペリフェラル200から種別「ADV_SCAN_IND」のアドバタイズを受信した後、時間Tifs経過後に、スキャン要求をペリフェラル200に送信する(ステップS102)。 When the advertisement receiving unit 151 determines that the advertisement of the type “ADV_SCAN_IND” has been received from the peripheral 200 (step S101; Yes), the scan request transmitting unit 152 advertises the type “ADV_SCAN_IND” from the peripheral 200. After the time T ifs has elapsed, a scan request is transmitted to the peripheral 200 (step S102).

そして、距離計測部153は、ステップS102においてスキャン要求送信部152が送信したスキャン要求に対するスキャン応答をペリフェラル200から受信したか否かを判定する(ステップS103)。距離計測部153は、ペリフェラル200からスキャン応答を受信するまで、待機する(ステップS103;No)。   Then, the distance measurement unit 153 determines whether a scan response to the scan request transmitted from the scan request transmission unit 152 in step S102 is received from the peripheral 200 (step S103). The distance measurement unit 153 waits until a scan response is received from the peripheral 200 (step S103; No).

距離計測部153は、ペリフェラル200からスキャン応答を受信したと判定すると(ステップS103;Yes)、ペリフェラル200から受信した電波の強度に基づいて、セントラル100とペリフェラル200との間の距離を計測する(ステップS104)。そして、距離計測部153は、計測した距離を、例えば表示部128に表示する。   When determining that the scan response has been received from the peripheral 200 (step S103; Yes), the distance measuring unit 153 measures the distance between the central 100 and the peripheral 200 based on the intensity of the radio wave received from the peripheral 200 ( Step S104). Then, the distance measuring unit 153 displays the measured distance on the display unit 128, for example.

次に、アドバタイズ受信部151は、ペリフェラル200から種別「ADV_DIRECT_IND」のアドバタイズを受信したか否かを判定する(ステップS105)。アドバタイズ受信部151は、ペリフェラル200から種別「ADV_DIRECT_IND」のアドバタイズを受信していないと判定した場合(ステップS105;No)、処理をステップS101に戻す。   Next, the advertisement reception unit 151 determines whether an advertisement of the type “ADV_DIRECT_IND” is received from the peripheral 200 (step S105). If the advertisement receiving unit 151 determines that the advertisement of the type “ADV_DIRECT_IND” has not been received from the peripheral 200 (step S105; No), the process returns to step S101.

アドバタイズ受信部151が、ペリフェラル200から種別「ADV_DIRECT_IND」のアドバタイズを受信したと判定した場合(ステップS105;Yes)、接続制御部154は、ペリフェラル200と接続しても良い状態か否かを判定する(ステップS106)。具体的には、接続制御部154は、ユーザ操作等による接続指示を受け付けたか否か、セントラル100が他の処理を実行していることによりペリフェラル200と接続できない状態か否か、を判定することにより、ペリフェラル200と接続しても良い状態か否かを判定する。接続制御部154は、ペリフェラル200と接続しても良い状態でないと判定した場合(ステップS106;No)、処理をステップS101に戻す。   When the advertisement reception unit 151 determines that the advertisement of the type “ADV_DIRECT_IND” is received from the peripheral 200 (step S105; Yes), the connection control unit 154 determines whether or not the connection to the peripheral 200 is acceptable. (Step S106). Specifically, the connection control unit 154 determines whether or not a connection instruction by a user operation or the like has been received, and whether or not the central 100 is in a state where it cannot be connected to the peripheral 200 due to executing other processing. Thus, it is determined whether or not the peripheral 200 can be connected. If the connection control unit 154 determines that the connection to the peripheral 200 is not possible (step S106; No), the process returns to step S101.

接続制御部154は、ペリフェラル200と接続しても良い状態である判定した場合(ステップS106;Yes)、ペリフェラル200に接続要求を送信する(ステップS107)。そして、制御部102は、セントラル側接続処理を終了する。   If the connection control unit 154 determines that the peripheral 200 can be connected (step S106; Yes), the connection control unit 154 transmits a connection request to the peripheral 200 (step S107). Then, the control unit 102 ends the central side connection process.

上記のセントラル側接続処理を終了した後、セントラル100とペリフェラル200との間の接続が確立し、データ通信が開始される。   After the above central side connection processing is completed, the connection between the central 100 and the peripheral 200 is established, and data communication is started.

次に、本実施の形態に係るペリフェラル200の動作について、図8を参照して説明する。図8は、本実施の形態に係るペリフェラル200の制御部202が実行するペリフェラル側接続処理の一例を示すフローチャートである。なお、このペリフェラル側接続処理は、ROM204内に予め記憶されているプログラムを読み出して実行する制御部202によって行われる。   Next, the operation of the peripheral 200 according to the present embodiment will be described with reference to FIG. FIG. 8 is a flowchart illustrating an example of a peripheral side connection process executed by the control unit 202 of the peripheral 200 according to the present embodiment. The peripheral side connection process is performed by the control unit 202 that reads and executes a program stored in advance in the ROM 204.

ペリフェラル200の制御部202は、例えば、ユーザによる操作部220への操作によって電源ON状態となった後に、図8に示すペリフェラル側接続処理を開始する。なお、初期設定として、第1の所定の間隔Tadv1がアドバタイズの間隔として設定されているものとする。 The control unit 202 of the peripheral 200 starts the peripheral side connection process shown in FIG. 8, for example, after being turned on by the user operating the operation unit 220. As an initial setting, it is assumed that the first predetermined interval Tadv1 is set as the advertisement interval.

まず、アドバタイズ送信部251は、種別「ADV_SCAN_IND」のアドバタイズを、第1の所定の間隔Tadv1で定期的に送信することを開始する(ステップS201)。 First, the advertisement transmission unit 251 starts to periodically transmit the advertisement of the type “ADV_SCAN_IND” at the first predetermined interval Tadv1 (step S201).

次に、スキャン要求受信部252は、セントラル100からスキャン要求を受信したか否かを判定する(ステップS202)。   Next, the scan request receiving unit 252 determines whether a scan request has been received from the central 100 (step S202).

スキャン要求受信部252が、セントラル100からスキャン要求を受信したと判定した場合(ステップS202;Yes)、応答送信部253は、セントラル100にスキャン応答を送信する(ステップS203)。   When the scan request receiving unit 252 determines that a scan request has been received from the central 100 (step S202; Yes), the response transmission unit 253 transmits a scan response to the central 100 (step S203).

次に、間隔変更部254は、現在のアドバタイズの間隔が、第1の所定の間隔Tadv1か否かを判定する(ステップS204)。現在のアドバタイズの間隔が、第1の所定の間隔Tadv1でないと判定した場合(ステップS204;No)、ステップS206に処理を進める。 Next, the interval changing unit 254 determines whether or not the current advertisement interval is the first predetermined interval Tadv1 (step S204). If it is determined that the current advertisement interval is not the first predetermined interval Tadv1 (step S204; No), the process proceeds to step S206.

現在のアドバタイズの間隔が、第1の所定の間隔Tadv1であると判定した場合(ステップS204;Yes)、間隔変更部254は、アドバタイズの間隔を、第1の所定の間隔Tadv1から、第2の所定の間隔Tadv2に変更する(ステップS205)。 When it is determined that the current advertisement interval is the first predetermined interval Tadv1 (step S204; Yes), the interval changing unit 254 changes the advertisement interval from the first predetermined interval Tadv1 to the first predetermined interval Tadv1 . The predetermined interval Tadv2 is changed to 2 (step S205).

次に、接続要求受信部255は、ステップS202において受信したスキャン要求を送信したセントラル100が、ペリフェラル200との接続が許可された端末、例えば、ペリフェラル200の管理端末か否かを判定する(ステップS206)。ここで、セントラル100がペリフェラル200との接続が許可された端末か否かの判定する際、接続要求受信部255は、例えば、ペアリングされた機器をホワイト・リストに入れて、アドバタイジング・フィルタ・ポリシー(Advertising Filter Policy)によってリンク層で制限しても良いし、スキャン要求を受信したときのスキャナ(Scanner)のデバイスアドレスから判定してもよい。   Next, the connection request receiving unit 255 determines whether or not the central 100 that has transmitted the scan request received in step S202 is a terminal that is permitted to connect to the peripheral 200, for example, the management terminal of the peripheral 200 (step). S206). Here, when determining whether or not the central 100 is a terminal that is permitted to connect to the peripheral 200, the connection request receiving unit 255, for example, puts the paired devices into a white list and advertises the filter. It may be limited at the link layer by a policy (Advertising Filter Policy), or may be determined from a device address of a scanner when a scan request is received.

スキャン要求を送信したセントラル100が、ペリフェラル200との接続が許可された端末であると判定した場合(ステップS206;Yes)、接続要求受信部255は、セントラル100と接続する必要があるか否かを判定する(ステップS207)。ここで、セントラル100と接続する必要かあるか否かは、例えば、セントラル100に対して通知するデータ(ペリフェラル200のバッテリ残量が基準値以下に減少した等)があるか否かに基づいて判定される。   If it is determined that the central 100 that has transmitted the scan request is a terminal that is permitted to connect to the peripheral 200 (step S206; Yes), the connection request receiving unit 255 determines whether or not it is necessary to connect to the central 100. Is determined (step S207). Here, whether or not it is necessary to connect to the central 100 is based on, for example, whether or not there is data to be notified to the central 100 (for example, the remaining battery level of the peripheral 200 has decreased below a reference value). Determined.

スキャン要求を送信したセントラル100が、ペリフェラル200との接続が許可された端末でないと判定した場合(ステップS206;No)、または、セントラル100と接続する必要がないと判定した場合(ステップS207;No)、ステップS202に処理が戻される。   When it is determined that the central 100 that has transmitted the scan request is not a terminal that is permitted to connect to the peripheral 200 (step S206; No), or when it is determined that it is not necessary to connect to the central 100 (step S207; No) ), The process is returned to step S202.

セントラル100と接続する必要があると判定した場合(ステップS207;Yes)、アドバタイズ送信部251は、種別「ADV_DIRECT_IND」のアドバタイズを、第2の所定の間隔Tadv2で定期的に送信することを開始する(ステップS208)。 If it is determined that it is necessary to connect to the central 100 (step S207; Yes), the advertisement transmission unit 251 starts to periodically transmit the advertisement of the type “ADV_DIRECT_IND” at the second predetermined interval Tadv2. (Step S208).

次に、接続要求受信部255は、ステップS206において接続が許可された端末であると判定されたセントラル100から、接続要求を受信したか否かを判定する(ステップS209)。   Next, the connection request receiving unit 255 determines whether or not a connection request has been received from the central 100 that has been determined to be a terminal permitted to connect in step S206 (step S209).

セントラル100から、接続要求を受信していないと判定した場合(ステップS209;No)、接続要求受信部255は、種別「ADV_DIRECT_IND」のアドバタイズを送信できる期間が終了したか否かを判定する(ステップS210)。具体的には、種別「ADV_DIRECT_IND」のアドバタイズを送信できる期間は最大1.28秒と定められている。   When it is determined that the connection request has not been received from the central 100 (step S209; No), the connection request receiving unit 255 determines whether or not the period during which the advertisement of the type “ADV_DIRECT_IND” can be transmitted has ended (step S209). S210). Specifically, the period during which the advertisement of the type “ADV_DIRECT_IND” can be transmitted is determined to be 1.28 seconds at the maximum.

接続要求受信部255は、種別「ADV_DIRECT_IND」のアドバタイズを送信できる期間が終了していないと判定した場合(ステップS210;No)、ステップS209に処理を戻す。また、種別「ADV_DIRECT_IND」のアドバタイズを送信できる期間が終了したと判定した場合(ステップS210;Yes)、ステップS201に処理を戻し、アドバタイズ送信部251は、アドバタイズの種別を「ADV_SCAN_IND」に戻して、アドバタイズの送信を開始する。   When the connection request receiving unit 255 determines that the period during which the advertisement of the type “ADV_DIRECT_IND” can be transmitted has not ended (step S210; No), the process returns to step S209. When it is determined that the period during which the advertisement of the type “ADV_DIRECT_IND” can be transmitted has ended (step S210; Yes), the process returns to step S201, and the advertisement transmission unit 251 returns the advertisement type to “ADV_SCAN_IND”. Start sending advertisements.

また、スキャン要求受信部252が、セントラル100からスキャン要求を受信していないと判定した場合(ステップS202;No)、間隔変更部254は、アドバタイズの間隔を、第1の所定の間隔Tadv1から、第2の所定の間隔Tadv2に変更してから所定時間T経過したか否かを判定する(ステップS211)。アドバタイズの間隔を変更してから所定時間T経過していないと判定した場合(ステップS211;No)、ステップS202に処理を戻す。 When the scan request receiving unit 252 determines that the scan request has not been received from the central 100 (step S202; No), the interval changing unit 254 sets the advertisement interval from the first predetermined interval Tadv1. Then, it is determined whether or not a predetermined time T has elapsed since the change to the second predetermined interval Tadv2 (step S211). If it is determined that the predetermined time T has not elapsed since the advertisement interval was changed (step S211; No), the process returns to step S202.

アドバタイズの間隔を変更してから所定時間T経過したと判定した場合(ステップS211;Yes)、間隔変更部254は、アドバタイズの間隔を、第2の所定の間隔Tadv2から、第1の所定の間隔Tadv1に戻し(ステップS212)、ステップS202に処理を戻す。 When it is determined that the predetermined time T has elapsed since the advertisement interval was changed (step S211; Yes), the interval changing unit 254 changes the advertisement interval from the second predetermined interval Tadv2 to the first predetermined interval. The interval is returned to Tadv1 (step S212), and the process returns to step S202.

また、接続要求受信部255が、セントラル100から、接続要求を受信したと判定した場合(ステップS209;Yes)、制御部202は、ペリフェラル側接続処理を終了する。   When the connection request receiving unit 255 determines that the connection request has been received from the central 100 (step S209; Yes), the control unit 202 ends the peripheral side connection process.

上記のペリフェラル側接続処理を終了した後、セントラル100とペリフェラル200との間の接続が確立し、データ通信制御部256によりデータ通信が開始される。   After the above peripheral side connection processing is completed, the connection between the central 100 and the peripheral 200 is established, and the data communication control unit 256 starts data communication.

以上説明したように、上記実施の形態に係るペリフェラル200によれば、セントラル100からスキャン要求を受信した場合、アドバタイズの間隔を変更することができる。   As described above, according to the peripheral 200 according to the above-described embodiment, when a scan request is received from the central 100, the advertisement interval can be changed.

また、ペリフェラル200は、セントラル100からスキャン要求を受信した場合、アドバタイズの間隔を、第1の所定の間隔Tadv1から、第1の所定の間隔Tadv1よりも短い第2の所定の間隔Tadv2に変更する。そして、変更後のアドバタイズを受信したセントラル100から送信された接続要求に応じて、セントラル100との接続を確立し、データ通信を行う。従って、図2に示すように常に所定の間隔Tadvでアドバタイズが送信される場合よりも、スキャン要求を受信してから接続要求を受信するまでの時間を短くすることができるため、全体として、セントラル100とペリフェラル200との接続確立までにかかる時間を短くし、応答性を向上させることができる。 When the peripheral 200 receives a scan request from the central 100, the advertisement interval is changed from the first predetermined interval Tadv1 to the second predetermined interval Tadv2 shorter than the first predetermined interval Tadv1. Change to Then, in response to the connection request transmitted from the central 100 that has received the changed advertisement, a connection with the central 100 is established and data communication is performed. Therefore, as shown in FIG. 2, since the time from receiving the scan request to receiving the connection request can be shortened compared to the case where the advertisement is always transmitted at a predetermined interval Tadv , The time required to establish a connection between the central 100 and the peripheral 200 can be shortened, and the responsiveness can be improved.

また、ペリフェラル200は、アドバタイズの間隔を、第1の所定の間隔Tadv1から、第1の所定の間隔Tadv1よりも短い第2の所定の間隔Tadv2に変更した後、所定時間T経過後は、アドバタイズの間隔を第1の所定の間隔Tadv1に復帰させる。従って、常に第2の所定の間隔Tadv2でアドバタイズが送信される場合よりも、消費電力を抑えることができる。 Further, the peripheral 200 changes the advertisement interval from the first predetermined interval Tadv1 to the second predetermined interval Tadv2 shorter than the first predetermined interval Tadv1 , and then after a predetermined time T has elapsed. Returns the advertisement interval to the first predetermined interval Tadv1 . Therefore, the power consumption can be suppressed as compared with the case where the advertisement is always transmitted at the second predetermined interval Tadv2 .

また、ペリフェラル200からの受信電波の強度に基づいてセントラル100とペリフェラル200との間の距離を計測する際に、ペリフェラル200は、アドバタイズを受信するセントラル100が周囲にいるときだけ、アドバタイズの間隔を短くして頻度を上げることにより、受信電波強度の計測のためのアドバタイズパケットを提供することができる。   Further, when measuring the distance between the central 100 and the peripheral 200 based on the strength of the radio wave received from the peripheral 200, the peripheral 200 can only set the advertisement interval when the central 100 receiving the advertisement is in the vicinity. By shortening the frequency and increasing the frequency, it is possible to provide an advertisement packet for measuring the received radio wave intensity.

以上、本発明の実施の形態について説明したが、本発明は上記の実施の形態によって限定されるものではない。   As mentioned above, although embodiment of this invention was described, this invention is not limited by said embodiment.

例えば、上記実施の形態では、図1に示すように無線通信システム1を、1つのセントラル100と、1つのペリフェラル200とで構成した。しかし、無線通信システム1を、1つ又は複数のセントラルと、1つ又は複数のペリフェラルとで構成してもよい。   For example, in the above embodiment, the wireless communication system 1 is configured with one central 100 and one peripheral 200 as shown in FIG. However, the wireless communication system 1 may be composed of one or more centrals and one or more peripherals.

また、上記実施の形態では、間隔変更部254は、アドバタイズの間隔を、第1の所定の間隔Tadv1と、第2の所定の間隔Tadv2とのうちいずれかに変更したが、間隔変更部254が変更するアドバタイズの間隔はこれに限られず、さらに多くの種類の間隔のうちから、いずれかに変更するように構成してもよい。 In the above embodiment, the interval changing unit 254 changes the advertisement interval to one of the first predetermined interval Tadv1 and the second predetermined interval Tadv2 . However, the interval changing unit The advertisement interval changed by H.254 is not limited to this, and may be configured to change to any one of many types of intervals.

また、上記実施の形態では、セントラル100とペリフェラル200とは、接続を確立したが、必ずしも接続を確立する必要はない。例えば、図9に示すように、ペリフェラル200は、アドバタイズの間隔を変更するだけでもよい。このようにすることで、セントラル100は、アドバタイズを多く受信することができ、その分受信電波強度の計測を正確に早く行うことができる。   In the above embodiment, the central 100 and the peripheral 200 establish a connection, but it is not always necessary to establish a connection. For example, as shown in FIG. 9, the peripheral 200 may only change the advertisement interval. By doing in this way, the central 100 can receive a lot of advertisements, and accordingly, the received radio wave intensity can be measured accurately and quickly.

また、本発明に係るセントラル100及びペリフェラル200は、専用の装置によらず、通常のコンピュータシステムを用いて実現可能である。例えば、コンピュータがプログラムを実行することで、セントラル100の機能及びペリフェラル200の機能を実現してもよい。セントラル100の機能及びペリフェラル200の機能を実現するためのプログラムは、USB(Universal Serial Bus)メモリ、SD(Secure Digital)メモリカード、CD−ROM(Compact Disc Read Only Memory)、DVD(Digital Versatile Disc)、BD(Blu-ray(登録商標) Disc)、HDD(Hard Disk Drive)等のコンピュータ読み取り可能な記録媒体に記憶されてもよいし、ネットワークを介してコンピュータにダウンロードされてもよい。   Further, the central 100 and the peripheral 200 according to the present invention can be realized by using a normal computer system without using a dedicated device. For example, the function of the central 100 and the function of the peripheral 200 may be realized by a computer executing a program. Programs for realizing the functions of the central 100 and the peripheral 200 include a USB (Universal Serial Bus) memory, an SD (Secure Digital) memory card, a CD-ROM (Compact Disc Read Only Memory), and a DVD (Digital Versatile Disc). , May be stored in a computer-readable recording medium such as a BD (Blu-ray (registered trademark) Disc), an HDD (Hard Disk Drive), 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 wireless communication device that performs wireless communication with another wireless communication device,
An identification information transmitting unit that transmits identification information at a predetermined interval;
A scan request receiving unit that receives a scan request transmitted by the other wireless communication device that has received the identification information transmitted by the identification information transmitting unit;
An interval changing unit that changes the predetermined interval when the scan request receiving unit receives the scan request transmitted by the other wireless communication device;
A wireless communication apparatus comprising:

(付記2)
前記スキャン要求受信部が前記他の無線通信装置が送信した前記スキャン要求を受信した場合、前記スキャン要求に対する応答を前記他の無線通信装置に送信する応答送信部と、
前記応答送信部により送信された前記応答を受信した後に前記識別情報送信部により送信された前記識別情報を受信した前記他の無線通信装置が送信した接続要求を受信する接続要求受信部と、
前記接続要求受信部が前記接続要求を受信した場合、前記他の無線通信装置と接続してデータ通信を行うデータ通信制御部と、をさらに備える、
ことを特徴とする付記1に記載の無線通信装置。
(Appendix 2)
A response transmission unit that transmits a response to the scan request to the other wireless communication device when the scan request reception unit receives the scan request transmitted by the other wireless communication device;
A connection request receiving unit that receives a connection request transmitted by the other wireless communication device that has received the identification information transmitted by the identification information transmitting unit after receiving the response transmitted by the response transmitting unit;
A data communication control unit that performs data communication by connecting to the other wireless communication device when the connection request receiving unit receives the connection request;
The wireless communication apparatus according to Supplementary Note 1, wherein:

(付記3)
前記スキャン要求受信部が、前記他の無線通信装置が送信した前記スキャン要求を受信した場合、前記他の無線通信装置と接続が必要か否かを判定する接続要否判定部と、
前記接続要否判定部が、前記他の無線通信装置と接続が必要であると判定した場合、前記他の無線通信装置を指定した相手指定の識別情報を送信する相手指定識別情報送信部と、をさらに備える、
ことを特徴とする付記1または2に記載の無線通信装置。
(Appendix 3)
When the scan request receiving unit receives the scan request transmitted by the other wireless communication device, a connection necessity determining unit that determines whether connection with the other wireless communication device is necessary;
When the connection necessity determination unit determines that connection with the other wireless communication device is necessary, a partner designation identification information transmission unit that transmits identification information of partner designation designating the other wireless communication device; Further comprising
The wireless communication apparatus according to appendix 1 or 2, characterized by the above.

(付記4)
前記間隔変更部は、前記スキャン要求受信部が前記他の無線通信装置が送信した前記スキャン要求を受信した場合、前記所定の間隔を、現在の間隔よりも短い間隔に変更する、
ことを特徴とする付記1乃至3のいずれか1つに記載の無線通信装置。
(Appendix 4)
The interval changing unit, when the scan request receiving unit receives the scan request transmitted by the other wireless communication device, changes the predetermined interval to an interval shorter than the current interval.
The wireless communication device according to any one of appendices 1 to 3, wherein

(付記5)
前記間隔変更部は、前記所定の間隔を、現時点の間隔よりも短い間隔に変更してから所定時間経過後に、前記所定の間隔を、現時点の間隔よりも長い間隔に変更する、
ことを特徴とする付記1乃至4のいずれか1つに記載の無線通信装置。
(Appendix 5)
The interval changing unit changes the predetermined interval to a longer interval than the current interval after a predetermined time has elapsed after changing the predetermined interval to an interval shorter than the current interval.
The wireless communication device according to any one of appendices 1 to 4, characterized in that:

(付記6)
他の無線通信装置と無線通信を行う無線通信装置であって、
前記他の無線通信装置により送信された識別情報を受信する識別情報受信部と、
前記識別情報受信部により受信された前記識別情報を送信した前記他の無線通信装置に、スキャン要求を送信するスキャン要求送信部と、
前記スキャン要求送信部が前記他の無線通信装置に前記スキャン要求を送信した場合、前記識別情報受信部が前記識別情報を受信する間隔を変更する間隔変更部と、
を備えることを特徴とする無線通信装置。
(Appendix 6)
A wireless communication device that performs wireless communication with another wireless communication device,
An identification information receiving unit for receiving identification information transmitted by the other wireless communication device;
A scan request transmission unit that transmits a scan request to the other wireless communication device that has transmitted the identification information received by the identification information reception unit;
An interval changing unit for changing an interval at which the identification information receiving unit receives the identification information when the scan request transmitting unit transmits the scan request to the other wireless communication device;
A wireless communication apparatus comprising:

(付記7)
無線通信装置と、当該無線通信装置と無線通信を行う他の無線通信装置と、から構成される無線通信システムであって、
前記無線通信装置は、
所定の間隔で識別情報を送信する識別情報送信部と、
前記識別情報送信部により送信された前記識別情報を受信した前記他の無線通信装置が送信したスキャン要求を受信するスキャン要求受信部と、
前記スキャン要求受信部が前記他の無線通信装置が送信した前記スキャン要求を受信した場合、前記所定の間隔を変更する間隔変更部と、を備え、
前記他の無線通信装置は、
前記無線通信装置により送信された識別情報を受信する識別情報受信部と、
前記識別情報受信部により受信された識別情報を送信した前記無線通信装置に、スキャン要求を送信するスキャン要求送信部と、を備える、
ことを特徴とする無線通信システム。
(Appendix 7)
A wireless communication system comprising a wireless communication device and another wireless communication device that performs wireless communication with the wireless communication device,
The wireless communication device
An identification information transmitting unit that transmits identification information at a predetermined interval;
A scan request receiving unit that receives a scan request transmitted by the other wireless communication device that has received the identification information transmitted by the identification information transmitting unit;
An interval changing unit that changes the predetermined interval when the scan request receiving unit receives the scan request transmitted by the other wireless communication device;
The other wireless communication device is:
An identification information receiving unit for receiving identification information transmitted by the wireless communication device;
A scan request transmitter that transmits a scan request to the wireless communication device that has transmitted the identification information received by the identification information receiver;
A wireless communication system.

(付記8)
他の無線通信装置と無線通信を行う無線通信装置が実行する無線通信方法であって、
所定の間隔で識別情報を送信する識別情報送信ステップと、
前記識別情報送信ステップにおいて送信された前記識別情報を受信した前記他の無線通信装置が送信したスキャン要求を受信するスキャン要求受信ステップと、
前記スキャン要求受信ステップにおいて前記他の無線通信装置が送信した前記スキャン要求を受信した場合、前記所定の間隔を変更する間隔変更ステップと、
を備えることを特徴とする無線通信方法。
(Appendix 8)
A wireless communication method executed by a wireless communication device that performs wireless communication with another wireless communication device,
An identification information transmitting step for transmitting the identification information at a predetermined interval;
A scan request receiving step of receiving a scan request transmitted by the other wireless communication device that has received the identification information transmitted in the identification information transmitting step;
When receiving the scan request transmitted by the other wireless communication device in the scan request receiving step, an interval changing step for changing the predetermined interval;
A wireless communication method comprising:

(付記9)
無線通信装置と無線通信を行うコンピュータを、
所定の間隔で識別情報を送信する識別情報送信手段、
前記識別情報送信手段により送信された前記識別情報を受信した前記無線通信装置が送信したスキャン要求を受信するスキャン要求受信手段、
前記スキャン要求受信手段が前記無線通信装置が送信した前記スキャン要求を受信した場合、前記所定の間隔を変更する間隔変更手段、
として機能させることを特徴とするプログラム。
(Appendix 9)
A computer that performs wireless communication with a wireless communication device,
Identification information transmitting means for transmitting identification information at predetermined intervals;
Scan request receiving means for receiving a scan request transmitted by the wireless communication apparatus that has received the identification information transmitted by the identification information transmitting means;
An interval changing means for changing the predetermined interval when the scan request receiving means receives the scan request transmitted by the wireless communication device;
A program characterized by functioning as

(付記10)
セントラルとBluetooth(登録商標) low energyに基づく無線通信を行うペリフェラルであって、
所定の間隔でアドバタイズを送信するアドバタイズ送信部と、
前記アドバタイズ送信部により送信された前記アドバタイズを受信した前記セントラルが送信したスキャン要求を受信するスキャン要求受信部と、
前記スキャン要求受信部が前記セントラルが送信した前記スキャン要求を受信した場合、前記所定の間隔を変更する間隔変更部と、
を備えることを特徴とするペリフェラル。
(Appendix 10)
A peripheral that performs wireless communication based on Bluetooth and Bluetooth (registered trademark) low energy,
An advertisement transmission unit for transmitting advertisements at predetermined intervals;
A scan request receiving unit that receives the scan request transmitted by the central that has received the advertisement transmitted by the advertisement transmitting unit;
An interval changing unit for changing the predetermined interval when the scan request receiving unit receives the scan request transmitted by the central;
Peripheral characterized by comprising.

1…無線通信システム、100…セントラル(無線通信装置)、102…制御部、104…ROM、106…RAM、110…無線通信処理部、112…アンテナ、124…スピーカ、126…ドライバ、128…表示部、130…タッチパネル、151…アドバタイズ受信部(識別情報受信部)、152…スキャン要求送信部、153…距離計測部、154…接続制御部、200…ペリフェラル(無線通信装置)、202…制御部、204…ROM、206…RAM、210…無線通信処理部、212…アンテナ、220…操作部、226…ドライバ、228…表示部、251…アドバタイズ送信部(識別情報送信部)、252…スキャン要求受信部、253…応答送信部、254…間隔変更部、255…接続要求受信部、256…データ通信制御部 DESCRIPTION OF SYMBOLS 1 ... Wireless communication system, 100 ... Central (wireless communication apparatus), 102 ... Control part, 104 ... ROM, 106 ... RAM, 110 ... Wireless communication processing part, 112 ... Antenna, 124 ... Speaker, 126 ... Driver, 128 ... Display , 130 ... Touch panel, 151 ... Advertisement receiving unit (identification information receiving unit), 152 ... Scan request transmitting unit, 153 ... Distance measuring unit, 154 ... Connection control unit, 200 ... Peripheral (wireless communication device), 202 ... Control unit , 204 ... ROM, 206 ... RAM, 210 ... wireless communication processing section, 212 ... antenna, 220 ... operation section, 226 ... driver, 228 ... display section, 251 ... advertisement transmission section (identification information transmission section), 252 ... scan request Receiving unit, 253 ... response transmitting unit, 254 ... interval changing unit, 255 ... connection request receiving unit, 256 ... data Shin control unit

Claims (10)

外部機器から信号探索要求を受信し、所定情報を前記外部機器へ送信する無線通信部と、
プロセッサと、を備え、
前記プロセッサは、前記無線通信部が前記信号探索要求を受信した場合、前記無線通信部の動作間隔を決定し、この決定した前記動作間隔に係る動作間隔情報を前記所定情報として前記無線通信部に送信させる
ことを特徴とする無線通信装置。
A wireless communication unit that receives a signal search request from an external device and transmits predetermined information to the external device;
And a processor,
When the wireless communication unit receives the signal search request, the processor determines an operation interval of the wireless communication unit, and sets the operation interval information related to the determined operation interval as the predetermined information to the wireless communication unit. A wireless communication apparatus, characterized by being transmitted .
前記プロセッサは、
自装置の存在を示す識別情報を生成し、
前記動作間隔に係る情報を前記所定情報として前記無線通信部に送信させるタイミングとは異なるタイミングで、前記識別情報を前記所定情報として前記無線通信部に送信させる
ことを特徴とする請求項1に記載の無線通信装置。
The processor is
Generate identification information indicating the existence of the device,
2. The identification information is transmitted to the wireless communication unit as the predetermined information at a timing different from a timing at which the information related to the operation interval is transmitted to the wireless communication unit as the predetermined information. Wireless communication device.
前記無線通信部から送信される前記所定情報には前記信号探索要求に対する応答である応答情報があり、前記動作間隔情報は前記応答情報内に含まれる
ことを特徴とする請求項1は2に記載の無線通信装置。
Wherein the predetermined information transmitted from the wireless communication unit has response information is a response to the signal search request, the operation interval information to Claim 1 or 2, characterized in that included in said response information The wireless communication device described.
前記無線通信部は、前記応答情報の送信後に前記外部機器が送信した接続要求を受信し、
前記プロセッサは、前記無線通信部が前記接続要求を受信したと判断した場合に、前記無線通信部と前記外部機器とを無線通信接続させ、前記無線通信部に前記外部機器とのデータ通信をさせる
ことを特徴とする請求項3に記載の無線通信装置。
The wireless communication unit receives a connection request transmitted by the external device after transmitting the response information;
When the processor determines that the wireless communication unit has received the connection request, the processor causes the wireless communication unit and the external device to be connected by wireless communication, and causes the wireless communication unit to perform data communication with the external device. The wireless communication apparatus according to claim 3 .
外部機器の存在を示す識別情報を受信し、前記識別情報を受信した場合に前記外部機器に信号探索要求を送信し、前記外部機器から前記信号探索要求に対する応答である応答情報を受信する無線通信部と、Wireless communication that receives identification information indicating the presence of an external device, transmits a signal search request to the external device when the identification information is received, and receives response information that is a response to the signal search request from the external device And
プロセッサと、を備え、And a processor,
前記プロセッサは、前記応答情報を受信した場合に、前記応答情報に含まれる動作間隔に係る動作間隔情報に従い前記無線通信部を動作させるWhen receiving the response information, the processor operates the wireless communication unit according to operation interval information related to an operation interval included in the response information.
ことを特徴とする無線通信装置。A wireless communication apparatus.
前記プロセッサは、前記動作間隔情報に従い、前記識別情報を受信するための前記無線通信部の動作間隔を変更するThe processor changes an operation interval of the wireless communication unit for receiving the identification information according to the operation interval information.
ことを特徴とする請求項5無線通信装置。The wireless communication apparatus according to claim 5.
外部機器から信号探索要求を受信し、所定情報を前記外部機器へ送信する無線通信部を備える無線通信装置の無線通信方法であって、A wireless communication method of a wireless communication device including a wireless communication unit that receives a signal search request from an external device and transmits predetermined information to the external device,
前記無線通信部が前記信号探索要求を受信する受信ステップと、A receiving step in which the wireless communication unit receives the signal search request;
前記無線通信部が前記信号探索要求を受信した場合、前記無線通信部の動作間隔を決定する決定ステップと、When the wireless communication unit receives the signal search request, a determination step for determining an operation interval of the wireless communication unit;
前記決定ステップで決定した前記動作間隔に係る動作間隔情報を前記所定情報として前記無線通信部が送信する送信ステップと、A transmission step in which the wireless communication unit transmits the operation interval information related to the operation interval determined in the determination step as the predetermined information;
を含むことを特徴とする無線通信方法。A wireless communication method comprising:
外部機器と無線通信する無線通信部を備える無線通信装置の無線通信方法であって、A wireless communication method of a wireless communication device including a wireless communication unit that wirelessly communicates with an external device,
前記外部機器の存在を示す識別情報を前記無線通信部に受信させるステップと、Causing the wireless communication unit to receive identification information indicating the presence of the external device;
前記無線通信部が前記識別情報を受信した場合に、前記無線通信装置に信号探索要求を前記外部機器に対して送信させるステップと、When the wireless communication unit receives the identification information, causing the wireless communication device to transmit a signal search request to the external device;
前記外部機器から前記信号探索要求に対する応答である応答情報を前記無線通信部に受信させるステップと、Causing the wireless communication unit to receive response information that is a response to the signal search request from the external device;
前記無線通信部が受信した前記応答情報に含まれる動作間隔に係る動作間隔情報に従い前記無線通信部を動作させるステップと、Operating the wireless communication unit according to operation interval information related to an operation interval included in the response information received by the wireless communication unit;
を含むことを特徴とする無線通信方法。A wireless communication method comprising:
外部機器から信号探索要求を受信し、所定情報を前記外部機器へ送信する無線通信部を備える無線通信装置のプロセッサを、A processor of a wireless communication device including a wireless communication unit that receives a signal search request from an external device and transmits predetermined information to the external device,
前記無線通信部が前記信号探索要求を受信した場合、前記無線通信部の動作間隔を決定する決定手段、A determination unit that determines an operation interval of the wireless communication unit when the wireless communication unit receives the signal search request;
前記決定手段で決定した前記動作間隔に係る動作間隔情報を前記所定情報として前記無線通信部が送信する送信制御手段、Transmission control means for transmitting operation interval information related to the operation interval determined by the determining means as the predetermined information by the wireless communication unit;
として機能させることを特徴とするプログラム。A program characterized by functioning as
外部機器と無線通信する無線通信部を備える無線通信装置のプロセッサを、A processor of a wireless communication device including a wireless communication unit that wirelessly communicates with an external device,
前記外部機器の存在を示す識別情報を前記無線通信部に受信させる識別情報受信制御手段、Identification information reception control means for causing the wireless communication unit to receive identification information indicating the presence of the external device;
前記無線通信部が前記識別情報を受信した場合に、前記無線通信装置に信号探索要求を前記外部機器に対して送信させる送信制御手段、Transmission control means for causing the wireless communication device to transmit a signal search request to the external device when the wireless communication unit receives the identification information;
前記外部機器から前記信号探索要求に対する応答である応答情報を前記無線通信部に受信させる応答情報受信制御手段、Response information reception control means for causing the wireless communication unit to receive response information that is a response to the signal search request from the external device;
前記無線通信部が受信した前記応答情報に含まれる動作間隔に係る動作間隔情報に従い前記無線通信部を動作させる制御手段、Control means for operating the wireless communication unit according to operation interval information related to an operation interval included in the response information received by the wireless communication unit;
として機能させることを特徴とするプログラム。A program characterized by functioning as
JP2016032716A 2016-02-24 2016-02-24 Wireless communication apparatus, wireless communication method, and program Active JP6288123B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2016032716A JP6288123B2 (en) 2016-02-24 2016-02-24 Wireless communication apparatus, wireless communication method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2016032716A JP6288123B2 (en) 2016-02-24 2016-02-24 Wireless communication apparatus, wireless communication method, and program

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2013260778A Division JP5892151B2 (en) 2013-12-18 2013-12-18 Wireless communication apparatus, wireless communication system, wireless communication method, program, and peripheral

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2018019513A Division JP6528866B2 (en) 2018-02-06 2018-02-06 Wireless communication apparatus, wireless communication method, and program

Publications (3)

Publication Number Publication Date
JP2016119713A JP2016119713A (en) 2016-06-30
JP2016119713A5 JP2016119713A5 (en) 2017-02-02
JP6288123B2 true JP6288123B2 (en) 2018-03-07

Family

ID=56243211

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016032716A Active JP6288123B2 (en) 2016-02-24 2016-02-24 Wireless communication apparatus, wireless communication method, and program

Country Status (1)

Country Link
JP (1) JP6288123B2 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7000735B2 (en) * 2016-10-11 2022-01-19 株式会社リコー Image forming device, information processing method, information processing program and information processing system
JP6843630B2 (en) * 2017-01-26 2021-03-17 キヤノン株式会社 Communication device, control method of communication device, program
JP6869098B2 (en) * 2017-05-11 2021-05-12 キヤノン株式会社 Communication equipment and its control method and program
CN115604800B (en) * 2022-12-13 2023-05-05 深圳市鑫宇鹏电子科技有限公司 Terminal control method, equipment control method, control system and related equipment

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4715293B2 (en) * 2005-05-10 2011-07-06 ソニー株式会社 Wireless communication system, wireless communication apparatus, wireless communication method, and computer program
JP4940037B2 (en) * 2007-07-18 2012-05-30 キヤノン株式会社 COMMUNICATION DEVICE, COMMUNICATION DEVICE COMMUNICATION METHOD, PROGRAM, AND STORAGE MEDIUM
JP5420022B2 (en) * 2008-02-01 2014-02-19 パナソニック株式会社 Wireless communication terminal, base station, and communication method
US20130003715A1 (en) * 2011-06-29 2013-01-03 Texas Instruments Incorporated Connection setup for low energy wireless networks based on master device packet that includes timing information
US20130259230A1 (en) * 2012-03-29 2013-10-03 Broadcom Corporation Bluetooth Low Energy Privacy

Also Published As

Publication number Publication date
JP2016119713A (en) 2016-06-30

Similar Documents

Publication Publication Date Title
JP5892151B2 (en) Wireless communication apparatus, wireless communication system, wireless communication method, program, and peripheral
US10575340B2 (en) Radio communication apparatus and radio communication method
JP6394177B2 (en) Wireless communication device, wireless communication system, wireless communication method, program, and slave device
JP6288123B2 (en) Wireless communication apparatus, wireless communication method, and program
JP6132037B1 (en) Wireless communication method and program
US9912761B2 (en) Communication system, communication method, communication apparatus, method of controlling the same, and computer program
JP2015170937A (en) Wireless communication apparatus, wireless communication method, program, wireless communication system, peripheral, and central
US10481842B2 (en) Communication apparatus, control method, and storage medium
US9445444B2 (en) Wireless communication apparatus, non-transitory computer-readable medium, wireless communication method, peripheral apparatus, and central apparatus
JP6375657B2 (en) Wireless communication apparatus, wireless communication system, and wireless communication method
JP6741047B2 (en) Wireless communication device, wireless communication method, and program
US9491787B2 (en) Wireless communication apparatus, wireless communication method, non-transitory computer-readable recording medium, master, and slave
JP6528866B2 (en) Wireless communication apparatus, wireless communication method, and program
EP3634048B1 (en) Wireless communication apparatus, wireless communication method, and program
JP2019126100A (en) Radio communication device, radio communication method, and program
JP2017130971A (en) Radio communication method and program
JP6286869B2 (en) Communication control device, method, and program
JP6528867B2 (en) Wireless communication apparatus, wireless communication method, and program

Legal Events

Date Code Title Description
A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20161213

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20161213

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20180122

R150 Certificate of patent or registration of utility model

Ref document number: 6288123

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150