JP2010200052A - Radio communication system and radio communication apparatus - Google Patents

Radio communication system and radio communication apparatus Download PDF

Info

Publication number
JP2010200052A
JP2010200052A JP2009043233A JP2009043233A JP2010200052A JP 2010200052 A JP2010200052 A JP 2010200052A JP 2009043233 A JP2009043233 A JP 2009043233A JP 2009043233 A JP2009043233 A JP 2009043233A JP 2010200052 A JP2010200052 A JP 2010200052A
Authority
JP
Japan
Prior art keywords
wireless communication
response
communication system
packet
search
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
JP2009043233A
Other languages
Japanese (ja)
Other versions
JP5350008B2 (en
Inventor
永麗 ▲シュウ▼
Eirei Shu
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.)
Kyocera Corp
Original Assignee
Kyocera Corp
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 Kyocera Corp filed Critical Kyocera Corp
Priority to JP2009043233A priority Critical patent/JP5350008B2/en
Publication of JP2010200052A publication Critical patent/JP2010200052A/en
Application granted granted Critical
Publication of JP5350008B2 publication Critical patent/JP5350008B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a radio communication system capable of reducing the time required for narrowing down a peripheral device of a communication target, and to provide a radio communication apparatus. <P>SOLUTION: In a radio communication system 100, a radio communication apparatus can search for another radio communication apparatus being present in the periphery. A cellular phone 1a, which executes the search, transmits a search packet including a response condition designating a range of an apparatus address to be searched and/or a provision service class and when a cellular phone 1b that receives the search packet meets the response condition included in the search packet, the cellular phone 1b transmits to the cellular phone 1a a response packet including identification data related to the cellular phone 1b. When the cellular phone 1a receives one or more response packets after transmission of the search packet, the cellular phone 1a specifies the cellular phone 1b that becomes a connection candidate based on the identification data included in the received response packets. <P>COPYRIGHT: (C)2010,JPO&INPIT

Description

本発明は、装置間での直接無線通信を行う無線通信システムおよび無線通信装置に関する。   The present invention relates to a wireless communication system and a wireless communication apparatus that perform direct wireless communication between apparatuses.

従来、ブルートゥース(Bluetooth:登録商標)などの装置間直接通信においては、様々な周辺機器への接続が想定されている。ところで、周辺機器の種類は数多く存在し、音声通信のできるもの/できないもの、ストレージ機能を有するもの/有さないもの、など様々である。   Conventionally, in direct communication between devices such as Bluetooth (registered trademark), connection to various peripheral devices is assumed. By the way, there are many types of peripheral devices, and there are various types such as those that can / cannot perform voice communication and those that have / without a storage function.

ここで、USB(Universal Serial Bus)など、1対1でケーブル接続する場合には、ユーザが所望の通信相手と直接に接続するので、通信相手の種類は明確である。一方、無線通信接続の場合には、どの機器に接続されるか、どの機器に接続すべきかの判別が難しい。   Here, in the case of a one-to-one cable connection such as USB (Universal Serial Bus), the user directly connects to a desired communication partner, so the type of communication partner is clear. On the other hand, in the case of wireless communication connection, it is difficult to determine which device is connected to which device.

そこで、直接無線通信を行う装置においては、周辺の機器を無線にて一斉に探索し、接続可能な周辺機器のリストからユーザに選択させることにより、この選択された機器と接続を確立する方法が示されている(例えば、特許文献1参照)。   Therefore, in a device that performs direct wireless communication, there is a method of establishing a connection with the selected device by searching for peripheral devices all at once in a wireless manner and allowing the user to select from a list of connectable peripheral devices. (See, for example, Patent Document 1).

例えば、Bluetoothでの周辺機器の探索処理の流れを図9に示す。無線通信装置Aは、周辺の無線通信装置B、B’、B’’、B’’’に対してインクワイアリ(Inquiry)・メッセージを送信する。このインクワイアリ・メッセージを受信した無線通信装置は、自装置の識別データを含むインクワイアリ・レスポンス(Inquiry Response)を無線通信装置Aへ返送する。   For example, FIG. 9 shows a flow of peripheral device search processing in Bluetooth. The wireless communication device A transmits an inquiry message to the peripheral wireless communication devices B, B ', B ", B"'. The wireless communication device that has received this inquiry message returns an inquiry response including the identification data of its own device to the wireless communication device A.

無線通信装置Aは、インクワイアリ・レスポンスのあった装置のリストを出力し、ユーザからの選択入力を受け付ける。さらに、詳細な装置名を取得する場合には、ページング処理において、対象の無線通信装置に対して装置名取得要求(LMP_name_req)を行い、これに対する応答(LMP_name_res)を取得する。   The wireless communication device A outputs a list of devices having an inquiry response and accepts a selection input from the user. Furthermore, when acquiring a detailed device name, in the paging process, a device name acquisition request (LMP_name_req) is made to the target wireless communication device, and a response (LMP_name_res) to this is acquired.

特開2004−254309号公報JP 2004-254309 A

しかしながら、特許文献1の方法によっても、ユーザは、探索された周辺機器がどのような機器なのかを識別するのが難しく、また、希望しない種類の機器からも応答を受信してしまうことにより、接続対象の絞込みに時間が掛かってしまう。   However, even with the method of Patent Document 1, it is difficult for the user to identify what kind of peripheral device has been searched, and by receiving a response from an undesired type of device, It takes time to narrow down the connection targets.

本発明は、通信対象の周辺機器を絞り込むのに要する時間を短縮できる無線通信システムおよび無線通信装置を提供することを目的とする。   An object of the present invention is to provide a wireless communication system and a wireless communication apparatus that can reduce the time required to narrow down peripheral devices to be communicated.

本発明に係る無線通信システムは、装置間での直接無線通信を行う直接無線通信手段を有し、自装置あるいは自装置の前記直接無線通信手段に対して装置アドレスが割り当てられた無線通信装置が、周辺に存在する他の無線通信装置を探索可能な無線通信システムであって、探索を実行する第1の無線通信装置は、探索する装置アドレスの範囲および/または提供サービス種別を指定した応答条件を含む探索パケットを送信し、前記探索パケットを受信した第2の無線通信装置は、当該第2の無線通信装置が当該探索パケットに含まれている応答条件を満たす場合に、当該第2の無線通信装置に関する識別データを含む応答パケットを前記第1の無線通信装置へ送信し、前記第1の無線通信装置は、前記探索パケットを送信した後に1以上の前記応答パケットを受信した場合には、当該受信した応答パケットに含まれる識別データに基づいて、接続候補となる第2の無線通信装置を特定する、ことを特徴とする。   The wireless communication system according to the present invention includes a direct wireless communication unit that performs direct wireless communication between devices, and a wireless communication device in which a device address is assigned to the own device or the direct wireless communication unit of the own device. A wireless communication system capable of searching for other wireless communication devices existing in the vicinity, wherein the first wireless communication device that executes the search is a response condition that specifies a range of device addresses to be searched and / or a provided service type The second wireless communication apparatus that transmits the search packet including the search packet and receives the search packet, the second wireless communication apparatus satisfies the response condition included in the search packet when the second wireless communication apparatus satisfies the response condition included in the search packet. A response packet including identification data related to the communication device is transmitted to the first wireless communication device, and the first wireless communication device transmits at least one search packet after transmitting the search packet. When receiving the serial response packet, based on the identification data included in the response packet the received, identifies the second wireless communication device as a connection candidate, and wherein the.

また、前記第1の無線通信装置は、前記探索パケットにおいて、規定の書式に続く所定の拡張領域に、前記応答条件を格納する、ことが好ましい。   Further, it is preferable that the first wireless communication device stores the response condition in a predetermined extension area following a prescribed format in the search packet.

また、前記直接無線通信手段は、前記直接無線通信のプロトコルバージョンが新しい場合には前記拡張領域に対応し、当該プロトコルバージョンが古い場合には前記拡張領域に対応しない、ことが好ましい。   Preferably, the direct wireless communication means corresponds to the extension area when the protocol version of the direct wireless communication is new, and does not correspond to the extension area when the protocol version is old.

また、前記直接無線通信手段は、前記直接無線通信として、ブルートゥース(登録商標)方式の通信を行う通信手段である、ことが好ましい。   Further, it is preferable that the direct wireless communication unit is a communication unit that performs Bluetooth (registered trademark) communication as the direct wireless communication.

また、前記規定の書式は、インクワイアリ・メッセージにおけるアクセスコードであり、前記拡張領域は、前記アクセスコードに続く領域にて指定される前記インクワイアリ・メッセージにおけるペイロード領域である、ことが好ましい。   Preferably, the prescribed format is an access code in an inquiry message, and the extension area is a payload area in the inquiry message specified in an area following the access code.

また、前記第2の無線通信装置は、前記拡張領域を読み取れない場合に、前記応答条件を考慮せずに前記応答パケットを送信する、ことが好ましい。   In addition, it is preferable that the second wireless communication apparatus transmits the response packet without considering the response condition when the extension area cannot be read.

また、前記第1の無線通信装置は、前記応答条件として、前記応答パケットにより受信する前記識別データの種類をさらに指定し、前記第2の無線通信装置は、前記応答条件で指定された種類の識別データを、前記応答パケットに格納する、ことが好ましい。   In addition, the first wireless communication device further specifies the type of the identification data received by the response packet as the response condition, and the second wireless communication device has the type specified in the response condition. It is preferable to store identification data in the response packet.

また、前記第1の無線通信装置は、前記探索パケットを生成する際、実行中のアプリケーションプログラムの種別に応じて前記応答条件を異ならせる、ことが好ましい。   In addition, it is preferable that the first wireless communication device varies the response condition according to a type of an application program being executed when generating the search packet.

また、前記第1の無線通信装置は、前記接続候補となる第2の無線通信装置を特定する情報を表示する表示手段あるいは音声出力する音声出力手段と、前記接続候補を指定する入力手段と、をさらに備え、前記表示手段あるいは音声出力手段にて出力される接続候補から、前記入力手段にて少なくとも一つが選択されると、当該選択された接続候補である第2の無線通信装置との間で前記直接無線通信手段による直接無線通信を開始する、ことが好ましい。   In addition, the first wireless communication device includes a display unit that displays information for specifying the second wireless communication device that is the connection candidate or an audio output unit that outputs audio, and an input unit that specifies the connection candidate; And when at least one of the connection candidates output from the display means or the audio output means is selected by the input means, the second wireless communication apparatus that is the selected connection candidate It is preferable to start direct wireless communication by the direct wireless communication means.

本発明に係る無線通信装置は、装置間での直接無線通信を行う直接無線通信手段と、自装置あるいは自装置の前記直接無線通信手段に対して割り当てられた装置アドレスを記憶する記憶手段と、探索すべき装置の種類が指定されると、アドレスの範囲および/または提供サービス種別を指定した応答条件を含む探索パケットを前記直接無線通信手段により送信させる制御手段と、を備え、前記制御手段は、前記探索パケットを受信した場合には、自装置の前記記憶手段に格納される自装置アドレスが当該探索パケットに含まれている応答条件を満たすならば、前記装置アドレスに基づく識別データあるいは別途前記記憶手段に記憶される自装置に関する識別データを含む応答パケットを、当該探索パケットの送信元へ前記直接無線通信手段により返送し、前記探索パケットを送信した後に1以上の前記応答パケットを受信した場合には、当該受信した応答パケットに含まれる識別データに基づいて、接続候補の無線通信装置を特定する、ことを特徴とする。   The wireless communication device according to the present invention includes a direct wireless communication unit that performs direct wireless communication between devices, a storage unit that stores a device address assigned to the device or the direct wireless communication unit of the device itself, Control means for causing the direct wireless communication means to transmit a search packet including a response condition designating a range of addresses and / or a provided service type when a type of a device to be searched is designated, and the control means includes: When the search packet is received, if the own device address stored in the storage means of the own device satisfies the response condition included in the search packet, identification data based on the device address or separately A response packet including identification data relating to its own device stored in the storage means is sent to the direct wireless communication means to the transmission source of the search packet When one or more response packets are received after transmitting the search packet, the wireless communication device as a connection candidate is specified based on the identification data included in the received response packet. Features.

本発明によれば、直接無線通信において周辺機器を探索する際に、通信対象の周辺機器を絞り込むのに要する時間を短縮できる。   According to the present invention, when searching for a peripheral device in direct wireless communication, the time required to narrow down the peripheral devices to be communicated can be shortened.

本発明の実施形態に係る携帯電話機の外観斜視図である。1 is an external perspective view of a mobile phone according to an embodiment of the present invention. 本発明の実施形態に係る無線通信システムにおける、携帯電話機の機能を示すブロック図である。It is a block diagram which shows the function of a mobile telephone in the radio | wireless communications system which concerns on embodiment of this invention. 本発明の実施形態に係る携帯電話機により送信される探索パケットの内容を示す図である。It is a figure which shows the content of the search packet transmitted by the mobile telephone which concerns on embodiment of this invention. 本発明の実施形態に係る探索パケットのペイロードに格納される応答条件の内容例を示す図である。It is a figure which shows the example of the content of the response condition stored in the payload of the search packet which concerns on embodiment of this invention. 本発明の実施形態に係る応答パケットの内容例を示す図である。It is a figure which shows the example of the content of the response packet which concerns on embodiment of this invention. 本発明の実施形態に係る携帯電話機におけるCPUの処理例を示すフローチャートである。It is a flowchart which shows the process example of CPU in the mobile telephone which concerns on embodiment of this invention. 本発明の実施形態に係る携帯電話機におけるCPUの他の処理例を示すフローチャートである。It is a flowchart which shows the other process example of CPU in the mobile telephone which concerns on embodiment of this invention. 本発明の実施形態に係る携帯電話機(周辺機器)におけるCPUの処理を示すフローチャートである。It is a flowchart which shows the process of CPU in the mobile telephone (peripheral device) which concerns on embodiment of this invention. 従来のBluetoothでの周辺機器の探索処理の流れを示す図である。It is a figure which shows the flow of the search process of the peripheral device in the conventional Bluetooth.

以下、本発明の好適な実施形態の一例について説明する。なお、無線通信装置の一例として携帯電話機1を説明するが、本発明はこれに限定されるものではない。例えば、PHS(Personal Handy phone System)、PDA(Personal Digital Assistant)、パーソナルコンピュータ、ゲーム機、ナビゲーション装置、さらには、これらに接続される通信モジュールなど、様々な無線通信装置に適用可能である。また、本実施形態では、携帯電話機1は、Bluetooth対応の直接無線通信手段を備えるものを一例として説明する。   Hereinafter, an example of a preferred embodiment of the present invention will be described. In addition, although the mobile telephone 1 is demonstrated as an example of a radio | wireless communication apparatus, this invention is not limited to this. For example, the present invention can be applied to various wireless communication devices such as a PHS (Personal Handyphone System), a PDA (Personal Digital Assistant), a personal computer, a game machine, a navigation device, and a communication module connected thereto. In the present embodiment, the mobile phone 1 will be described as an example in which the mobile phone 1 includes a Bluetooth-compatible direct wireless communication unit.

図1は、本実施形態に係る携帯電話機1の外観斜視図である。なお、図1は、いわゆる折り畳み型の携帯電話機の形態を示しているが、本発明に係る携帯電話機の形態はこれに限られない。例えば、両筐体を重ね合わせた状態から一方の筐体を一方向にスライドさせるようにしたスライド式や、重ね合せ方向に沿う軸線を中心に一方の筐体を回転させるようにした回転式(ターンタイプ)や、操作部と表示部とが一つの筐体に配置され、連結部を有さない形式(ストレートタイプ)でもよい。   FIG. 1 is an external perspective view of a mobile phone 1 according to the present embodiment. FIG. 1 shows a so-called foldable mobile phone, but the mobile phone according to the present invention is not limited to this. For example, a sliding type in which one casing is slid in one direction from a state in which both casings are overlapped, or a rotary type in which one casing is rotated around an axis along the overlapping direction ( Turn type), or a type (straight type) in which the operation unit and the display unit are arranged in one housing and does not have a connecting unit.

携帯電話機1は、操作部側筐体2と、表示部側筐体3と、を備えて構成される。操作部側筐体2は、表面部10に、操作部11と、携帯電話機1の使用者が通話時に発した音声が入力されるマイク12と、を備えて構成される。操作部11は、各種設定機能や電話帳機能やメール機能などの各種機能を作動させるための機能設定操作ボタン13と、電話番号の数字やメールの文字などを入力するための入力操作ボタン14と、各種操作における決定やスクロールなどを行う決定操作ボタン15と、から構成されている。   The mobile phone 1 includes an operation unit side body 2 and a display unit side body 3. The operation unit side body 2 includes an operation unit 11 and a microphone 12 into which a voice uttered by a user of the mobile phone 1 is input on the surface unit 10. The operation unit 11 includes a function setting operation button 13 for operating various functions such as various setting functions, a phone book function, and a mail function, and an input operation button 14 for inputting numbers of telephone numbers, mail characters, and the like. , And a determination operation button 15 for performing determination and scrolling in various operations.

また、表示部側筐体3は、表面部20に、各種情報を表示するための表示部21と、通話の相手側の音声を出力するレシーバ22と、を備えて構成されている。   The display unit side body 3 includes a display unit 21 for displaying various types of information on the surface unit 20 and a receiver 22 for outputting the voice of the other party of the call.

また、操作部側筐体2の上端部と表示部側筐体3の下端部とは、ヒンジ機構4を介して連結されている。また、携帯電話機1は、ヒンジ機構4を介して連結された操作部側筐体2と表示部側筐体3とを相対的に回転することにより、操作部側筐体2と表示部側筐体3とが互いに開いた状態(開状態)にしたり、操作部側筐体2と表示部側筐体3とを折り畳んだ状態(閉状態)にしたりできる。ここで、閉状態とは、両筐体が互いに重なるように配置された状態であり、開状態とは、両筐体が互いに重ならないように配置された状態をいう。   Further, the upper end portion of the operation unit side body 2 and the lower end portion of the display unit side body 3 are connected via a hinge mechanism 4. In addition, the mobile phone 1 relatively rotates the operation unit side body 2 and the display unit side body 3 connected via the hinge mechanism 4, so that the operation unit side body 2 and the display unit side body are rotated. The body 3 can be in an open state (open state), or the operation unit side body 2 and the display unit side body 3 can be folded (closed state). Here, the closed state is a state in which both housings are arranged so as to overlap each other, and the open state is a state in which both housings are arranged so as not to overlap each other.

図2は、本実施形態に係る無線通信システム100における、携帯電話機1(1a、1b)の機能を示すブロック図である。携帯電話機1a(第1の無線通信装置)は、操作部11(入力手段)と、表示部21(表示手段)と、CPU30(制御手段)と、直接通信部31(直接無線通信手段)と、音声部32(音声出力手段)と、メモリ33(記憶手段)と、公衆通信部34と、を備える。また、携帯電話機1b(第2の無線通信装置)は、携帯電話機1aと同様の構成であってよいが、少なくとも、CPU30(制御手段)と、直接通信部31(直接無線通信手段)と、メモリ33(記憶手段)と、を備えて構成される。   FIG. 2 is a block diagram showing functions of the mobile phone 1 (1a, 1b) in the wireless communication system 100 according to the present embodiment. The mobile phone 1a (first wireless communication device) includes an operation unit 11 (input unit), a display unit 21 (display unit), a CPU 30 (control unit), a direct communication unit 31 (direct wireless communication unit), An audio unit 32 (audio output unit), a memory 33 (storage unit), and a public communication unit 34 are provided. The mobile phone 1b (second wireless communication device) may have the same configuration as the mobile phone 1a, but at least the CPU 30 (control means), the direct communication unit 31 (direct wireless communication means), and the memory 33 (storage means).

表示部21は、CPU30の制御に従って、所定の画像処理を行う。そして、処理後の画像データをフレームメモリに蓄え、所定のタイミングで画面出力する。   The display unit 21 performs predetermined image processing according to the control of the CPU 30. Then, the processed image data is stored in the frame memory and output to the screen at a predetermined timing.

CPU30は、携帯電話機1(1a、1b)の全体を制御しており、例えば、表示部21、直接通信部31、音声部32などに対して所定の制御を行う。また、CPU30は、操作部11などから入力を受け付けて、各種処理を実行する。そして、CPU30は、処理実行の際には、メモリ33を制御し、本実施形態に係る各種プログラムおよびデータの読み出し、およびデータの書き込みを行う。   The CPU 30 controls the entire mobile phone 1 (1a, 1b), and performs predetermined control on the display unit 21, the direct communication unit 31, the audio unit 32, and the like, for example. In addition, the CPU 30 receives input from the operation unit 11 and executes various processes. Then, the CPU 30 controls the memory 33 when executing processing, and reads various programs and data according to the present embodiment and writes data.

直接通信部31は、所定の使用周波数帯(例えば、2.4GHz帯)で外部装置と無線通信を行う。そして、直接通信部31は、アンテナ(図示せず)より受信した信号を復調処理し、処理後の信号をCPU30に供給し、また、CPU30から供給された信号を変調処理し、アンテナから外部装置に送信する。   The direct communication unit 31 performs wireless communication with an external device in a predetermined use frequency band (for example, 2.4 GHz band). The direct communication unit 31 demodulates the signal received from the antenna (not shown), supplies the processed signal to the CPU 30, modulates the signal supplied from the CPU 30, and transmits the signal from the antenna to the external device. Send to.

携帯電話機1aでは、通信エリア内に存在する他の装置を探索する際に、上記の使用周波数帯における複数の周波数で順番に探索パケット(インクワイアリ・メッセージ)を送信し、接続可能状態で待機している装置を探索する。探索信号を受信した携帯電話機1bは、自装置あるいは自装置の直接通信部31に割り当てられている装置アドレスや、提供サービス種別などを含む応答パケットを返送する。その後、携帯電話機1aと携帯電話機1bとは、所定の手続きにより接続を確立し、携帯電話機1aは、携帯電話機1bにより提供されるサービス(例えば、音声転送やファイル転送など)の提供を受けることができる。   When searching for another device in the communication area, the mobile phone 1a sequentially transmits a search packet (inquiry message) at a plurality of frequencies in the above-described use frequency band, and waits in a connectable state. Search for devices. The mobile phone 1b that has received the search signal returns a response packet including the device address assigned to the device itself or the direct communication unit 31 of the device itself, the provided service type, and the like. Thereafter, the cellular phone 1a and the cellular phone 1b establish a connection according to a predetermined procedure, and the cellular phone 1a may receive a service (for example, voice transfer or file transfer) provided by the cellular phone 1b. it can.

音声部32は、CPU30の制御に従って、直接通信部31から供給された信号や、メモリ33から読み出された音声データなどに対して所定の音声処理を行い、処理後の信号をレシーバ22に出力する。レシーバ22は、音声部32から供給された信号を外部に出力する。なお、この信号は、レシーバ22に代えて、または、レシーバ22と共に、スピーカ(図示せず)から出力されるとしてもよい。   The audio unit 32 performs predetermined audio processing on the signal directly supplied from the communication unit 31 or audio data read from the memory 33 under the control of the CPU 30, and outputs the processed signal to the receiver 22. To do. The receiver 22 outputs the signal supplied from the audio unit 32 to the outside. This signal may be output from a speaker (not shown) instead of or together with the receiver 22.

また、音声部32は、CPU30の制御に従って、マイク12から入力された信号を処理し、処理後の信号を直接通信部31に出力する。直接通信部31は、音声部32から供給された信号に所定の処理を行い、処理後の信号をアンテナより出力する。   In addition, the voice unit 32 processes a signal input from the microphone 12 according to the control of the CPU 30, and outputs the processed signal directly to the communication unit 31. The direct communication unit 31 performs a predetermined process on the signal supplied from the audio unit 32 and outputs the processed signal from the antenna.

メモリ33は、例えば、ワーキングメモリを含み、CPU30による演算処理に利用される。また、本実施形態に係る各種プログラムと、自装置あるいは自装置の直接通信部31に割り当てられている装置アドレスと、を記憶し、CPU30により適宜読み出される。なお、メモリ33は、着脱可能な外部メモリを兼ねていてもよい。   The memory 33 includes, for example, a working memory and is used for arithmetic processing by the CPU 30. In addition, various programs according to the present embodiment and the device address assigned to the own device or the direct communication unit 31 of the own device are stored, and read by the CPU 30 as appropriate. Note that the memory 33 may also serve as a removable external memory.

公衆通信部34は、所定の使用周波数帯(例えば、800MHz帯や2GHz帯など)で外部装置と無線通信を行う。具体的には、例えば、CDMA2000_1x方式の無線通信により、他の電話機との間で音声データを交換し、ユーザ間通話を行う。このとき、携帯電話機1bと同様の構成を有する無線通信装置、例えば、イヤホンとマイクが一体化したハンズフリーセットがあると、公衆通信部34により通信される音声データを、直接通信部31により転送し、ハンズフリー通話が可能となる。   The public communication unit 34 performs wireless communication with an external device in a predetermined use frequency band (for example, 800 MHz band, 2 GHz band, etc.). Specifically, for example, voice data is exchanged with other telephones by CDMA2000_1x wireless communication to perform a user-to-user call. At this time, if there is a wireless communication device having the same configuration as the cellular phone 1b, for example, a hands-free set in which an earphone and a microphone are integrated, voice data communicated by the public communication unit 34 is transferred directly by the communication unit 31. And hands-free calling becomes possible.

図3は、本実施形態に係る携帯電話機1aにより送信される探索パケット(インクワイアリ・メッセージ)の内容を示す図である。   FIG. 3 is a diagram showing the contents of a search packet (inquiry message) transmitted by the mobile phone 1a according to the present embodiment.

図3(a)のように、探索パケットは、68ビットまたは72ビットからなるアクセスコード(Access Code)と、54ビットからなるヘッダ(Header)と、0から2745ビットからなるペイロード(Payload)の各領域から構成されている。ここで、使用されるプロトコルバージョンが新しい(Extended Inquiry)場合には、アクセスコードは72ビットとなり、ヘッダおよびペイロードの各拡張領域が利用できる。一方、プロトコルバージョンが古い場合には、ヘッダおよびペイロードは使用されず、アクセスコードは68ビットとなる。   As shown in FIG. 3A, the search packet includes 68 bits or 72 bits of access code (Access Code), 54 bits of header (Header), and 0 to 2745 bits of payload (Payload). It consists of areas. Here, when the protocol version to be used is new (Extended Inquiry), the access code is 72 bits, and the extension areas of the header and the payload can be used. On the other hand, if the protocol version is old, the header and payload are not used and the access code is 68 bits.

また、図3(b)のように、アクセスコードは、クロック同期のための4ビットのトレーラ部分(Preamble)と、チャネル識別のための64ビットのコード部分(Sync Word)と、4ビットのトレーラ部分(Trailer)から構成されている。なお、トレーラ部分は、新バージョンのプロトコルの場合に付加され、全体として72ビットとなる。   Further, as shown in FIG. 3B, the access code includes a 4-bit trailer part (Preamble) for clock synchronization, a 64-bit code part (Sync Word) for channel identification, and a 4-bit trailer. It is comprised from the part (Trailer). The trailer part is added in the case of the new version of the protocol, and is 72 bits as a whole.

ここで、携帯電話機1aは、新バージョンのプロトコルに対応し、CPU30の制御により、上記のペイロード領域に、探索パケットを受信した周辺機器からの応答条件を格納する。   Here, the cellular phone 1 a corresponds to the new version of the protocol, and stores the response condition from the peripheral device that has received the search packet in the payload area under the control of the CPU 30.

図4は、本実施形態に係る探索パケットのペイロードに格納される応答条件の内容例を示す図である。   FIG. 4 is a diagram showing an example of the contents of response conditions stored in the payload of the search packet according to the present embodiment.

まず、CPU30は、所定のフラグを設定することにより、周辺機器から取得したい識別情報の種類を指定する。具体的には、例えば、「Local Name」フラグを設定することにより機器名称を応答パケットに含めるように指定し、「Manufacturer Specific Data」フラグを設定することによりメーカ名を応答パケットに含めるように指定する。   First, the CPU 30 designates the type of identification information desired to be acquired from the peripheral device by setting a predetermined flag. Specifically, for example, the device name is specified to be included in the response packet by setting the “Local Name” flag, and the manufacturer name is specified to be included in the response packet by setting the “Manufacturer Specific Data” flag. To do.

次に、CPU30は、装置アドレスの範囲指定を行うか否かのフラグ(「BD_ADDR」検索フラグ)に続いて、範囲指定の開始アドレスと終了アドレスとを格納する。さらに、CPU30は、プロファイル(提供サービス種別)の指定を行うか否かのフラグ(「Profile」検索フラグ)に続いて、指定プロファイルを表すIDを一つあるいは複数格納する。   Next, the CPU 30 stores the start address and end address of the range specification following the flag indicating whether or not to specify the range of the device address (“BD_ADDR” search flag). Further, the CPU 30 stores one or a plurality of IDs representing the designated profile following a flag (“Profile” search flag) indicating whether or not to designate a profile (provided service type).

ここで、応答条件は、携帯電話機1aにて起動中のアプリケーションプログラムの種別に応じて決定される。例えば、携帯電話機1aのCPU30は、電話の音声転送なら、ハンズフリーデバイスを、データフォルダを展開中であれば、携帯電話機1bなどのメモリを有するデバイスを、それぞれ決定し、応答条件に設定する。また、応答条件を判別可能なアプリケーションプログラムが起動中でない、あるいは所定の操作入力を受け付けた場合には、ユーザからの選択入力により、応答条件を生成する。   Here, the response condition is determined according to the type of the application program running on the mobile phone 1a. For example, the CPU 30 of the mobile phone 1a determines a hands-free device for voice transmission of a phone, and a device having a memory such as the mobile phone 1b if a data folder is being expanded, and sets the response condition. When an application program that can determine the response condition is not running or when a predetermined operation input is received, the response condition is generated by a selection input from the user.

なお、生成された応答条件の量に応じてペイロードのデータ長は変動し、容量の異なる規定の複数種類のパケット(例えば、DM1、DM3、DM5、DH1、DH3、DH5)に分類される。これにより、パケット容量を節約し、通信速度の低減を抑制することができる。   Note that the data length of the payload varies depending on the amount of the generated response condition, and is classified into a plurality of types of packets (for example, DM1, DM3, DM5, DH1, DH3, and DH5) having different capacities. Thereby, the packet capacity can be saved and the reduction in communication speed can be suppressed.

これらの応答条件を含んだ探索パケットを受信した周辺機器(例えば、携帯電話機1b)は、新バージョンのプロトコルに対応している場合に、ペイロード領域の応答条件を読み取る。そして、自装置が装置アドレスの範囲指定およびプロファイル指定の条件を満たす場合に、応答パケットを携帯電話機1aへ返送する。このとき、応答パケットには、応答条件にて指定された識別情報を格納する。   The peripheral device (for example, the mobile phone 1b) that has received the search packet including these response conditions reads the response condition in the payload area when it supports the new version of the protocol. When the own device satisfies the device address range specification and profile specification conditions, a response packet is returned to the mobile phone 1a. At this time, the identification information specified by the response condition is stored in the response packet.

一方、探索パケットを受信した周辺機器のプロトコルバージョンが古い場合には、拡張領域であるペイロード領域を読み取ることができない。すると、この周辺機器は、応答条件を満たすか否かの判断をすることなく、規定の識別情報(例えば、装置アドレス)のみを設定した応答パケットを返送する。   On the other hand, when the protocol version of the peripheral device that has received the search packet is old, the payload area that is the extension area cannot be read. Then, this peripheral device returns a response packet in which only specified identification information (for example, a device address) is set without determining whether or not the response condition is satisfied.

すなわち、携帯電話機1aは、周辺機器のプロトコルバージョンが新しい場合には、必要とする種類の機器のみから、必要とする情報を応答パケットとして受信する。また、プロトコルバージョンが古い場合にも、携帯電話機1aは応答パケットを受信するので、探索漏れがなく、探索後に接続先を選択する。   That is, when the protocol version of the peripheral device is new, the mobile phone 1a receives the necessary information as a response packet only from the necessary type of device. Even when the protocol version is old, since the mobile phone 1a receives the response packet, there is no search omission and the connection destination is selected after the search.

図5は、本実施形態に係る携帯電話機1bにより携帯電話機1aへ送信される応答パケット(インクワイアリ・レスポンス)の内容例を示す図である。   FIG. 5 is a diagram showing a content example of a response packet (inquiry response) transmitted from the mobile phone 1b according to the present embodiment to the mobile phone 1a.

この例では、識別情報として、機器名称(「Complete Local Name」)と、プロファイルのリスト(「Complete list of 16−bit Service Class UUIDs」)と、が順に格納されている。なお、各識別情報は、データ長および識別情報の名称に続いて実際のデータが格納される。   In this example, a device name (“Complete Local Name”) and a list of profiles (“Complete list of 16-bit Service Class UUIDs”) are sequentially stored as identification information. Each piece of identification information stores actual data following the data length and the name of the identification information.

この応答パケットを受信した携帯電話機1aは、他の周辺機器から受信した応答パケットと併せて、接続可能な候補機器リストをユーザへ提示する。具体的には、CPU30は、取得した識別情報を、表示部21にリスト表示することにより、ユーザからの選択入力を受け付ける。また、CPU30は、音声部32から音声出力により候補機器リストをユーザへ提示してもよい。   The mobile phone 1a that has received this response packet presents a list of connectable candidate devices to the user together with response packets received from other peripheral devices. Specifically, the CPU 30 accepts a selection input from the user by displaying the acquired identification information in a list on the display unit 21. Further, the CPU 30 may present the candidate device list to the user by voice output from the voice unit 32.

ここで、ユーザから選択入力を受け付ける接続先の機器は、複数であってもよい。複数が選択された場合には、携帯電話機1aは、1対多の接続を確立して通信を開始する。   Here, there may be a plurality of connection destination devices that accept selection input from the user. When a plurality of items are selected, the mobile phone 1a establishes a one-to-many connection and starts communication.

図6は、本実施形態に係る携帯電話機1aにおけるCPU30の処理例を示すフローチャートである。この例では、携帯電話機1aは、ユーザからの操作入力により応答条件を指定し、周辺機器を探索する。   FIG. 6 is a flowchart showing a processing example of the CPU 30 in the mobile phone 1a according to the present embodiment. In this example, the mobile phone 1a specifies a response condition by an operation input from the user and searches for peripheral devices.

ステップS1では、CPU30は、ユーザから操作部11を介して、周辺機器を探索する旨の所定の指示操作入力を受け付ける。   In step S <b> 1, the CPU 30 receives a predetermined instruction operation input for searching for a peripheral device from the user via the operation unit 11.

ステップS2では、CPU30は、周辺機器を特定の条件で探索するか否か、すなわち、装置アドレスの範囲指定やプロファイル指定を受け付けるか否かを判定する。この判定がYESの場合はステップS4に移り、判定がNOの場合はステップS3に移る。   In step S <b> 2, the CPU 30 determines whether to search for a peripheral device under a specific condition, that is, whether to accept a device address range specification or profile specification. If this determination is YES, the process proceeds to step S4, and if the determination is NO, the process proceeds to step S3.

ステップS3では、CPU30は、応答条件を指定しないので、インクワイアリ・メッセージのアクセスコードを従来形式(68ビット)に設定する。   In step S3, the CPU 30 does not specify a response condition, so the access code of the inquiry message is set to the conventional format (68 bits).

ステップS4では、CPU30は、応答条件を指定するので、インクワイアリ・メッセージのアクセスコードを新形式(72ビット)に設定する。これにより、CPU30は、インクワイアリ・メッセージのペイロード領域を利用可能にする。   In step S4, since the CPU 30 designates the response condition, the access code of the inquiry message is set to a new format (72 bits). As a result, the CPU 30 makes the payload area of the inquiry message available.

ステップS5では、CPU30は、ユーザから応答条件の入力を受け付ける。具体的には、設定可能な応答条件の選択肢を表示部21に表示し、この選択肢からの選択入力を受け付ける。   In step S5, the CPU 30 receives an input of response conditions from the user. Specifically, the settable response condition options are displayed on the display unit 21 and a selection input from the options is accepted.

ステップS6では、CPU30は、ステップS5で受け付けた応答条件を、インクワイアリ・メッセージのペイロード領域に、図4に示した所定の形式で格納する。   In step S6, the CPU 30 stores the response condition accepted in step S5 in the payload area of the inquiry message in the predetermined format shown in FIG.

ステップS7では、CPU30は、ステップS6までで設定したインクワイアリ・メッセージを、周辺機器へ探索パケットとして送信する。   In step S7, the CPU 30 transmits the inquiry message set up to step S6 to the peripheral device as a search packet.

ステップS8では、CPU30は、ステップS7の探索パケットに応じて周辺機器から送信された応答パケットを受信する。ここで、プロトコルバージョンが古い周辺機器Aおよび、ステップS5にて設定された応答条件を満たす周辺機器Bからは応答パケットが送信されるが、この応答条件を満たさない周辺機器Cからは応答パケットが送信されない。   In step S8, the CPU 30 receives a response packet transmitted from the peripheral device in response to the search packet in step S7. Here, although the response packet is transmitted from the peripheral device A having the old protocol version and the peripheral device B satisfying the response condition set in step S5, the response packet is transmitted from the peripheral device C not satisfying the response condition. Not sent.

ステップS9では、CPU30は、ステップS8で受信した応答パケットから、周辺機器の装置アドレスや名称などの識別情報を取得する。   In step S9, the CPU 30 acquires identification information such as the device address and name of the peripheral device from the response packet received in step S8.

ステップS10では、CPU30は、プロトコルバージョンが古い周辺機器Aの名称を取得するため、ページング送信を行う(図9参照)。なお、周辺機器Bの名称は、ステップS8で受信した応答パケットから取得できる。   In step S10, the CPU 30 performs paging transmission in order to acquire the name of the peripheral device A with the old protocol version (see FIG. 9). Note that the name of the peripheral device B can be acquired from the response packet received in step S8.

ステップS11では、CPU30は、ステップS10のページング送信に応じた応答を受信する(図9参照)。   In step S11, the CPU 30 receives a response corresponding to the paging transmission in step S10 (see FIG. 9).

ステップS12では、CPU30は、ステップS11で受信した応答から、周辺機器Aの名称を取得する。これにより、探索した周辺機器Aおよび周辺機器Bの識別情報が収集される。   In step S12, the CPU 30 acquires the name of the peripheral device A from the response received in step S11. Thereby, the identification information of the searched peripheral device A and peripheral device B is collected.

ステップS13では、CPU30は、収集した機器名称などの識別情報に基づいて、周辺機器一覧を表示部21に表示する。そして、ユーザから接続先の選択入力を受け付け、選択された接続先との間でネゴシエーションして通信を開始する。なお、一覧内に不要な周辺機器は表示されないため、ユーザは、所望の周辺機器を容易に選択することができる。   In step S <b> 13, the CPU 30 displays a peripheral device list on the display unit 21 based on the collected identification information such as the device name. Then, a connection destination selection input is accepted from the user, and negotiation is started with the selected connection destination to start communication. Since unnecessary peripheral devices are not displayed in the list, the user can easily select a desired peripheral device.

図7は、本実施形態に係る携帯電話機1aにおけるCPU30の他の処理例を示すフローチャートである。この例では、携帯電話機1aは、起動中のアプリケーションプログラムの種類に応じて、周辺機器を探索する。   FIG. 7 is a flowchart showing another process example of the CPU 30 in the mobile phone 1a according to the present embodiment. In this example, the mobile phone 1a searches for a peripheral device according to the type of the application program being activated.

ステップS21では、CPU30は、所定のアプリケーション(例えば、Music Player)を実行し、音楽再生を開始する。   In step S21, the CPU 30 executes a predetermined application (for example, Music Player), and starts music reproduction.

ステップS22では、CPU30は、周辺機器を探索する操作入力を受け付ける。あるいは、ユーザ入力によりアプリケーションの実行が指示されると、アプリケーションにより所定のタイミングで自動的に探索処理が開始されることとしてもよい。この際、使用中のアプリケーションをCPU30は特定すると共に、メモリ33内に予め格納されているアプリケーションプログラムと使用可能な周辺機器情報との対応リストを参照し、使用中のアプリケーションに対する探索対象を特定する。   In step S22, the CPU 30 receives an operation input for searching for peripheral devices. Alternatively, when execution of an application is instructed by user input, the search process may be automatically started by the application at a predetermined timing. At this time, the CPU 30 specifies an application in use, and also refers to a correspondence list between application programs stored in the memory 33 and available peripheral device information, and specifies a search target for the application in use. .

ステップS23では、CPU30は、応答条件を指定するため、インクワイアリ・メッセージのアクセスコードを新形式(72ビット)に設定する。これにより、CPU30は、インクワイアリ・メッセージのペイロード領域を利用可能にする。なお、ステップS23は、使用中のアプリケーションがメモリ33内の対応リストに有った場合の動作である。対応リストに無かった場合には、ステップS23で72ビットに設定しない、あるいは、ステップS24で応答条件の設定をせずにインクワイアリ・メッセージを送信する。   In step S23, the CPU 30 sets the access code of the inquiry message in a new format (72 bits) in order to specify a response condition. As a result, the CPU 30 makes the payload area of the inquiry message available. Step S23 is an operation when the application in use is in the correspondence list in the memory 33. If it is not in the correspondence list, the inquiry message is transmitted without setting 72 bits at step S23 or without setting response conditions at step S24.

ステップS24では、CPU30は、ステップS21で再生を開始した音楽の出力先を探すため、インクワイアリ・メッセージのペイロード領域に、応答条件として、「HSP」および「HFP」の音声転送用のプロファイルを設定する。   In step S24, the CPU 30 sets “HSP” and “HFP” audio transfer profiles as response conditions in the payload area of the inquiry message in order to search for the output destination of the music started to be played in step S21. .

ステップS25では、CPU30は、ステップS24で設定したインクワイアリ・メッセージを、周辺機器へ探索パケットとして送信する。   In step S25, the CPU 30 transmits the inquiry message set in step S24 to the peripheral device as a search packet.

ステップS26では、ステップS25の探索パケットに応じて周辺機器から送信された応答パケットを受信する。ここで、ステップS25にて設定された応答条件を満たす周辺機器Aおよび周辺機器Bからは応答パケットが送信されるが、この応答条件を満たさない周辺機器Cおよび周辺機器Dからは応答パケットが送信されない。   In step S26, a response packet transmitted from the peripheral device in response to the search packet in step S25 is received. Here, although the response packet is transmitted from the peripheral device A and the peripheral device B that satisfy the response condition set in step S25, the response packet is transmitted from the peripheral device C and the peripheral device D that do not satisfy the response condition. Not.

ステップS27では、CPU30は、ステップS26で受信した応答パケットから、周辺機器Aおよび周辺機器Bの装置アドレス、名称やプロファイルなどの識別情報を取得する。   In step S27, the CPU 30 acquires identification information such as device addresses, names, and profiles of the peripheral device A and the peripheral device B from the response packet received in step S26.

ステップS28では、CPU30は、ステップS27で取得した機器名称やプロファイルなどの識別情報に基づいて、周辺機器一覧を表示部21に表示する。ここで、応答パケットを受信していない周辺機器Cおよび周辺機器Dは一覧に含まれない。   In step S28, the CPU 30 displays a peripheral device list on the display unit 21 based on the identification information such as the device name and profile acquired in step S27. Here, the peripheral device C and the peripheral device D that have not received the response packet are not included in the list.

ステップS29では、CPU30は、ユーザから接続したい機器の選択入力を受け付ける。また、CPU30は、予めメモリ33内にて優先条件をアプリケーションに対する周辺機器の種類ごとに設定しておけば、この優先条件に従って自動的に、検索されたものの中から最も優先順位の高い接続機器を選択してもよい。   In step S29, the CPU 30 receives a selection input of a device to be connected from the user. Further, if the priority condition is set in advance in the memory 33 for each type of peripheral device for the application, the CPU 30 automatically selects the connected device having the highest priority from those searched according to this priority condition. You may choose.

ステップS30では、CPU30は、ステップS29にて選択された周辺機器(例えば、周辺機器A)へ、接続要求の信号を送信する。   In step S30, the CPU 30 transmits a connection request signal to the peripheral device (for example, peripheral device A) selected in step S29.

ステップS31では、CPU30は、ステップS30の接続要求に応じた接続許可応答の信号を、周辺機器Aから受信する。   In step S31, the CPU 30 receives a connection permission response signal from the peripheral device A in response to the connection request in step S30.

ステップS32では、CPU30は、ステップS31で許可応答を受信した周辺機器Aとの接続を確立させ、周辺機器Aで提供されるサービス「HSP」により、音声の転送処理を実行する。   In step S <b> 32, the CPU 30 establishes a connection with the peripheral device A that has received the permission response in step S <b> 31, and executes voice transfer processing using the service “HSP” provided by the peripheral device A.

本処理では、音声(音楽)転送を例に説明したが、アプリケーションプログラムの種類はこれには限られない。例えば、データフォルダを展開中であれば、CPU30は、「FTP」や「OP」のプロファイルを指定して周辺機器を探索し、ファイル転送の処理を実行する。この他、様々なアプリケーションプログラムに対して、対応するプロファイルを予めメモリ33に設定しておくことにより、ユーザの利便性が向上する。   In this processing, the description has been made taking voice (music) transfer as an example, but the type of application program is not limited to this. For example, if the data folder is being expanded, the CPU 30 searches for peripheral devices by specifying a profile of “FTP” or “OP”, and executes a file transfer process. In addition, user convenience is improved by setting corresponding profiles in advance in the memory 33 for various application programs.

図8は、本実施形態に係る携帯電話機1b(周辺機器)におけるCPU30の処理を示すフローチャートである。   FIG. 8 is a flowchart showing the processing of the CPU 30 in the mobile phone 1b (peripheral device) according to the present embodiment.

ステップS41では、携帯電話機1b(スレーブ)のCPU30は、携帯電話機1a(マスタ)から受信したインクワイアリ・メッセージを解析し、ペイロード領域に格納された応答条件を読み取る。   In step S41, the CPU 30 of the mobile phone 1b (slave) analyzes the inquiry message received from the mobile phone 1a (master) and reads the response condition stored in the payload area.

ステップS42では、CPU30は、応答条件中の希望情報ビット(例えば、図4の「Local Name」フラグ、「Manufacturer Specific Data」フラグ)が立っているか否かを判定する。この判定がYESの場合はステップS43に移り、判定がNOの場合はステップS44に移る。   In step S42, the CPU 30 determines whether or not the desired information bit in the response condition (for example, the “Local Name” flag and the “Manufacturer Specific Data” flag in FIG. 4) is set. If this determination is YES, the process proceeds to step S43, and if the determination is NO, the process proceeds to step S44.

ステップS43では、CPU30は、ステップS42で判定したビットが立っている希望情報(例えば、機器名称やメーカ名)を、インクワイアリ・レスポンスに含める。   In step S43, the CPU 30 includes, in the inquiry response, desired information (for example, device name or manufacturer name) in which the bit determined in step S42 is set.

ステップS44では、CPU30は、応答条件の中で装置アドレスの範囲指定ビット(図4の「BD_ADDR」検索フラグ)が立っているか否かを判定する。この判定がYESの場合はステップS45に移り、判定がNOの場合はステップS47に移る。   In step S44, the CPU 30 determines whether or not the device address range designation bit (“BD_ADDR” search flag in FIG. 4) is set in the response condition. If this determination is YES, the process proceeds to step S45, and if the determination is NO, the process proceeds to step S47.

ステップS45では、CPU30は、自装置(携帯電話機1b)の装置アドレスが応答条件で指定された装置アドレスの範囲内であるか否かを判定する。この判定がYESの場合はステップS46に移り、判定がNOの場合はステップS50に移る。   In step S45, CPU 30 determines whether or not the device address of its own device (mobile phone 1b) is within the device address range specified in the response condition. If this determination is YES, the process proceeds to step S46, and if the determination is NO, the process proceeds to step S50.

ステップS46では、CPU30は、自装置が応答条件を満たすので、レスポンス送信フラグを「TRUE」にし、インクワイアリ・レスポンスを送信するように設定する。   In step S46, the CPU 30 sets the response transmission flag to “TRUE” and transmits an inquiry response because the device itself satisfies the response condition.

ステップS47では、CPU30は、応答条件の中でプロファイルの指定ビット(図4の「Profile」検索フラグ)が立っているか否かを判定する。この判定がYESの場合はステップS48に移り、判定がNOの場合はステップS51に移る。   In step S47, the CPU 30 determines whether or not a profile designation bit (“Profile” search flag in FIG. 4) is set in the response condition. If this determination is YES, the process proceeds to step S48, and if the determination is NO, the process proceeds to step S51.

ステップS48では、CPU30は、自装置が応答条件で指定されたプロファイルに当てはまるか否かを判定する。この判定がYESの場合はステップS49に移り、判定がNOの場合はステップS50に移る。   In step S48, the CPU 30 determines whether or not the own apparatus is applicable to the profile specified in the response condition. If this determination is YES, the process proceeds to step S49, and if the determination is NO, the process proceeds to step S50.

ステップS49では、CPU30は、自装置が応答条件を満たすので、当てはまるプロファイル情報をインクワイアリ・レスポンスに入れ、レスポンス送信フラグを「TRUE」にする。   In step S49, since the own device satisfies the response condition, the CPU 30 sets the applicable profile information in the inquiry response and sets the response transmission flag to “TRUE”.

ステップS50では、CPU30は、自装置が応答条件を満たさないので、レスポンス送信フラグを「FALSE」にし、インクワイアリ・レスポンスを送信しないように設定する。   In step S50, the CPU 30 sets the response transmission flag to “FALSE” and does not transmit the inquiry response because the own device does not satisfy the response condition.

ステップS51では、CPU30は、レスポンス送信フラグが「TRUE」であるか否かを判定する。この判定がYESの場合はマスタへ、インクワイアリ・レスポンスを送信し、判定がNOの場合はレスポンスを送信しない。   In step S51, the CPU 30 determines whether or not the response transmission flag is “TRUE”. When this determination is YES, an inquiry response is transmitted to the master, and when the determination is NO, no response is transmitted.

以上のように、本実施形態によれば、Bluetooth通信において周辺機器を探索する際に、所望の種別の装置を応答条件で指定し、応答条件を満たさない機器からの応答を抑制できるので、応答を受けてからユーザが通信対象の周辺機器を絞り込むのに要する時間を短縮することができる。   As described above, according to the present embodiment, when searching for a peripheral device in Bluetooth communication, a device of a desired type can be specified as a response condition, and a response from a device that does not satisfy the response condition can be suppressed. The time required for the user to narrow down the peripheral devices to be communicated after receiving can be shortened.

また、必要な周辺機器から必要な情報だけを含めた応答パケット(インクワイアリ・レスポンス)を送信するので、送受信の時間を短縮し、周辺機器の探索時間を短縮することができる。さらに、無線リソースが効率的に利用される。   In addition, since a response packet (inquiry response) including only necessary information is transmitted from a necessary peripheral device, transmission / reception time can be shortened, and peripheral device search time can be shortened. Furthermore, radio resources are efficiently used.

また、使用中のアプリケーションプログラムの種類によっては、対応するプロファイルを自動的に指定できるので、使用する可能性の低い装置を除外して、接続先の装置を簡便に探索することができる。   Also, depending on the type of application program being used, the corresponding profile can be automatically specified, so that it is possible to easily search for a connected device by excluding devices that are unlikely to be used.

さらに、本実施形態では、Bluetoothのプロトコルバージョンの違いによらずに周辺機器の探索処理を実行できる。すなわち、旧バージョンであっても、応答パケットは返送され、新バージョンでは応答条件に応じて絞り込まれた機器から応答パケットが返送される。これにより、プロトコルバージョンの新旧を問わず、漏れなく探索が可能であり、新旧を考慮しつつも確実かつ高速な絞込みができる。   Furthermore, in this embodiment, the peripheral device search process can be executed regardless of the difference in the Bluetooth protocol version. That is, even in the old version, the response packet is returned, and in the new version, the response packet is returned from the device narrowed down according to the response condition. As a result, it is possible to search without omission regardless of whether the protocol version is new or old, and it is possible to narrow down reliably and at high speed while considering the old and new.

また、本実施形態は、Bluetoothの規格に従った探索パケットおよび応答パケットの送受信により探索処理を実行する。したがって、この規格から外れるような特殊なデータなどを使用しないため、汎用性が高い。   In the present embodiment, the search process is executed by transmitting and receiving a search packet and a response packet according to the Bluetooth standard. Therefore, it does not use special data that deviates from this standard, so it is highly versatile.

以上、本発明の実施形態について説明したが、本発明は上述した実施形態に限るものではない。また、本発明の実施形態に記載された効果は、本発明から生じる最も好適な効果を列挙したに過ぎず、本発明による効果は、本発明の実施形態に記載されたものに限定されるものではない。   As mentioned above, although embodiment of this invention was described, this invention is not restricted to embodiment mentioned above. The effects described in the embodiments of the present invention are only the most preferable effects resulting from the present invention, and the effects of the present invention are limited to those described in the embodiments of the present invention. is not.

例えば、Bluetooth以外にも、同様の機器種別などを有している直接通信可能な無線方式の機器であれば、本発明は適用可能である。   For example, the present invention can be applied to any wireless device capable of direct communication having the same device type other than Bluetooth.

1 携帯電話機(無線通信装置)
1a 携帯電話機(第1の無線通信装置)
1b 携帯電話機(第2の無線通信装置)
11 操作部(入力手段)
21 表示部(表示手段)
30 CPU(制御手段)
31 直接通信部(直接無線通信手段)
32 音声部(音声出力手段)
33 メモリ(記憶手段)
34 公衆通信部
1 Mobile phone (wireless communication device)
1a mobile phone (first wireless communication device)
1b Mobile phone (second wireless communication device)
11 Operation unit (input means)
21 Display section (display means)
30 CPU (control means)
31 Direct communication unit (Direct wireless communication means)
32 Voice part (voice output means)
33 Memory (storage means)
34 Public Communication Department

Claims (10)

装置間での直接無線通信を行う直接無線通信手段を有し、自装置あるいは自装置の前記直接無線通信手段に対して装置アドレスが割り当てられた無線通信装置が、周辺に存在する他の無線通信装置を探索可能な無線通信システムであって、
探索を実行する第1の無線通信装置は、探索する装置アドレスの範囲および/または提供サービス種別を指定した応答条件を含む探索パケットを送信し、
前記探索パケットを受信した第2の無線通信装置は、当該第2の無線通信装置が当該探索パケットに含まれている応答条件を満たす場合に、当該第2の無線通信装置に関する識別データを含む応答パケットを前記第1の無線通信装置へ送信し、
前記第1の無線通信装置は、前記探索パケットを送信した後に1以上の前記応答パケットを受信した場合には、当該受信した応答パケットに含まれる識別データに基づいて、接続候補となる第2の無線通信装置を特定する、
ことを特徴とする無線通信システム。
Other wireless communication having a direct wireless communication unit for performing direct wireless communication between devices, and a wireless communication device assigned with a device address assigned to the device or the direct wireless communication unit of the device itself A wireless communication system capable of searching for a device,
The first wireless communication device that executes the search transmits a search packet including a response condition that specifies a range of device addresses to be searched and / or a provided service type,
The second wireless communication apparatus that has received the search packet has a response that includes identification data related to the second wireless communication apparatus when the second wireless communication apparatus satisfies a response condition included in the search packet. Transmitting the packet to the first wireless communication device;
When the first wireless communication device receives one or more response packets after transmitting the search packet, the first wireless communication device becomes a connection candidate based on the identification data included in the received response packet. Identify the wireless communication device,
A wireless communication system.
前記第1の無線通信装置は、前記探索パケットにおいて、規定の書式に続く所定の拡張領域に、前記応答条件を格納する、
ことを特徴とする請求項1に記載の無線通信システム。
The first wireless communication device stores the response condition in a predetermined extension area following a prescribed format in the search packet.
The wireless communication system according to claim 1.
前記直接無線通信手段は、前記直接無線通信のプロトコルバージョンが新しい場合には前記拡張領域に対応し、当該プロトコルバージョンが古い場合には前記拡張領域に対応しない、
ことを特徴とする請求項2に記載の無線通信システム。
The direct wireless communication means corresponds to the extension region when the protocol version of the direct wireless communication is new, and does not correspond to the extension region when the protocol version is old.
The wireless communication system according to claim 2.
前記直接無線通信手段は、前記直接無線通信として、ブルートゥース(登録商標)方式の通信を行う通信手段である、
ことを特徴とする請求項3に記載の無線通信システム。
The direct wireless communication means is a communication means for performing Bluetooth (registered trademark) communication as the direct wireless communication.
The wireless communication system according to claim 3.
前記規定の書式は、インクワイアリ・メッセージにおけるアクセスコードであり、
前記拡張領域は、前記アクセスコードに続く領域にて指定される前記インクワイアリ・メッセージにおけるペイロード領域である、
ことを特徴とする請求項4に記載の無線通信システム。
The prescribed format is an access code in an inquiry message,
The extension area is a payload area in the inquiry message specified in an area following the access code.
The wireless communication system according to claim 4.
前記第2の無線通信装置は、前記拡張領域を読み取れない場合に、前記応答条件を考慮せずに前記応答パケットを送信する、
ことを特徴とする請求項2から5のいずれか一項に記載の無線通信システム。
The second wireless communication device transmits the response packet without considering the response condition when the extension area cannot be read.
The wireless communication system according to claim 2, wherein the wireless communication system is a wireless communication system.
前記第1の無線通信装置は、前記応答条件として、前記応答パケットにより受信する前記識別データの種類をさらに指定し、
前記第2の無線通信装置は、前記応答条件で指定された種類の識別データを、前記応答パケットに格納する、
ことを特徴とする請求項1から6のいずれか一項に記載の無線通信システム。
The first wireless communication device further specifies the type of the identification data received by the response packet as the response condition,
The second wireless communication device stores identification data of a type specified by the response condition in the response packet.
The wireless communication system according to claim 1, wherein the wireless communication system is a wireless communication system.
前記第1の無線通信装置は、前記探索パケットを生成する際、実行中のアプリケーションプログラムの種別に応じて前記応答条件を異ならせる、
ことを特徴とする請求項1から7のいずれか一項に記載の無線通信システム。
When the first wireless communication device generates the search packet, the first wireless communication device changes the response condition according to a type of an application program being executed.
The wireless communication system according to claim 1, wherein the wireless communication system is a wireless communication system.
前記第1の無線通信装置は、前記接続候補となる第2の無線通信装置を特定する情報を表示する表示手段あるいは音声出力する音声出力手段と、前記接続候補を指定する入力手段と、をさらに備え、
前記表示手段あるいは音声出力手段にて出力される接続候補から、前記入力手段にて少なくとも一つが選択されると、当該選択された接続候補である第2の無線通信装置との間で前記直接無線通信手段による直接無線通信を開始する、
ことを特徴とする請求項1から7のいずれか一項に記載の無線通信システム。
The first wireless communication apparatus further includes: a display unit that displays information for specifying the second wireless communication device that is the connection candidate; or a voice output unit that outputs a voice; and an input unit that specifies the connection candidate. Prepared,
When at least one of the connection candidates output from the display unit or the audio output unit is selected by the input unit, the direct wireless communication with the second wireless communication apparatus that is the selected connection candidate is performed. Start direct wireless communication by means of communication,
The wireless communication system according to claim 1, wherein the wireless communication system is a wireless communication system.
装置間での直接無線通信を行う直接無線通信手段と、
自装置あるいは自装置の前記直接無線通信手段に対して割り当てられた装置アドレスを記憶する記憶手段と、
探索すべき装置の種類が指定されると、アドレスの範囲および/または提供サービス種別を指定した応答条件を含む探索パケットを前記直接無線通信手段により送信させる制御手段と、を備え、
前記制御手段は、
前記探索パケットを受信した場合には、自装置の前記記憶手段に格納される自装置アドレスが当該探索パケットに含まれている応答条件を満たすならば、前記装置アドレスに基づく識別データあるいは別途前記記憶手段に記憶される自装置に関する識別データを含む応答パケットを、当該探索パケットの送信元へ前記直接無線通信手段により返送し、
前記探索パケットを送信した後に1以上の前記応答パケットを受信した場合には、当該受信した応答パケットに含まれる識別データに基づいて、接続候補の無線通信装置を特定する、
ことを特徴とする無線通信装置。
Direct wireless communication means for performing direct wireless communication between devices;
Storage means for storing a device address assigned to the device itself or the direct wireless communication device of the device itself;
Control means for transmitting a search packet including a response condition designating a range of addresses and / or a provided service type by the direct wireless communication means when the type of the device to be searched is designated,
The control means includes
When the search packet is received, if the own device address stored in the storage unit of the own device satisfies the response condition included in the search packet, the identification data based on the device address or the separate storage A response packet containing identification data relating to the own device stored in the means is returned to the transmission source of the search packet by the direct wireless communication means,
When one or more response packets are received after transmitting the search packet, a wireless communication device that is a connection candidate is specified based on identification data included in the received response packet.
A wireless communication apparatus.
JP2009043233A 2009-02-25 2009-02-25 Wireless communication system and wireless communication apparatus Expired - Fee Related JP5350008B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009043233A JP5350008B2 (en) 2009-02-25 2009-02-25 Wireless communication system and wireless communication apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009043233A JP5350008B2 (en) 2009-02-25 2009-02-25 Wireless communication system and wireless communication apparatus

Publications (2)

Publication Number Publication Date
JP2010200052A true JP2010200052A (en) 2010-09-09
JP5350008B2 JP5350008B2 (en) 2013-11-27

Family

ID=42824295

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009043233A Expired - Fee Related JP5350008B2 (en) 2009-02-25 2009-02-25 Wireless communication system and wireless communication apparatus

Country Status (1)

Country Link
JP (1) JP5350008B2 (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012032761A (en) * 2010-06-29 2012-02-16 Nikon Corp Interchangeable lens, camera body and camera system
WO2013119094A1 (en) * 2012-02-10 2013-08-15 엘지전자 주식회사 D2d communication method according to d2d service type as well as d2d application type, and apparatus for same
JP2014529215A (en) * 2011-08-05 2014-10-30 クゥアルコム・インコーポレイテッドQualcomm Incorporated Uniquely identifying the target femtocell to allow active hand-in
JP2014216954A (en) * 2013-04-26 2014-11-17 キヤノン株式会社 Communication device, communication method, and program
JP2015522994A (en) * 2012-05-21 2015-08-06 ▲華▼▲為▼終端有限公司Huawei Device Co., Ltd. Terminal search method and apparatus
JP2018046362A (en) * 2016-09-13 2018-03-22 株式会社デンソーテン Terminal detecting method and communication device
JP2018063633A (en) * 2016-10-14 2018-04-19 クラリオン株式会社 Software start-up control method, information processing apparatus and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004104774A (en) * 2002-08-23 2004-04-02 Matsushita Electric Ind Co Ltd Radio communication system
JP2007068035A (en) * 2005-09-01 2007-03-15 Toshiba Corp Information processor and its control method
WO2007075961A2 (en) * 2005-12-20 2007-07-05 Microsoft Corporation Proximity service discovery in wireless networks
JP2007523532A (en) * 2004-02-13 2007-08-16 ノキア コーポレイション Protocol showing enhanced capabilities for use by short-range wireless connectivity devices
WO2007136622A2 (en) * 2006-05-15 2007-11-29 Microsoft Corporation Mechanism to convey discovery information in a wireless network

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004104774A (en) * 2002-08-23 2004-04-02 Matsushita Electric Ind Co Ltd Radio communication system
JP2007523532A (en) * 2004-02-13 2007-08-16 ノキア コーポレイション Protocol showing enhanced capabilities for use by short-range wireless connectivity devices
JP2007068035A (en) * 2005-09-01 2007-03-15 Toshiba Corp Information processor and its control method
WO2007075961A2 (en) * 2005-12-20 2007-07-05 Microsoft Corporation Proximity service discovery in wireless networks
JP2009521190A (en) * 2005-12-20 2009-05-28 マイクロソフト コーポレーション Proximity service search in wireless networks
WO2007136622A2 (en) * 2006-05-15 2007-11-29 Microsoft Corporation Mechanism to convey discovery information in a wireless network
JP2009537898A (en) * 2006-05-15 2009-10-29 マイクロソフト コーポレーション Mechanisms for transmitting discovery information in wireless networks

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012032761A (en) * 2010-06-29 2012-02-16 Nikon Corp Interchangeable lens, camera body and camera system
US8805175B2 (en) 2010-06-29 2014-08-12 Nikon Corporation Interchangeable lens, camera body, and camera system
JP2014529215A (en) * 2011-08-05 2014-10-30 クゥアルコム・インコーポレイテッドQualcomm Incorporated Uniquely identifying the target femtocell to allow active hand-in
WO2013119094A1 (en) * 2012-02-10 2013-08-15 엘지전자 주식회사 D2d communication method according to d2d service type as well as d2d application type, and apparatus for same
US9433025B2 (en) 2012-02-10 2016-08-30 Lg Electronics Inc. D2D communication method according to D2D service type as well as D2D application type, and apparatus for same
JP2015522994A (en) * 2012-05-21 2015-08-06 ▲華▼▲為▼終端有限公司Huawei Device Co., Ltd. Terminal search method and apparatus
JP2014216954A (en) * 2013-04-26 2014-11-17 キヤノン株式会社 Communication device, communication method, and program
JP2018046362A (en) * 2016-09-13 2018-03-22 株式会社デンソーテン Terminal detecting method and communication device
JP2018063633A (en) * 2016-10-14 2018-04-19 クラリオン株式会社 Software start-up control method, information processing apparatus and storage medium

Also Published As

Publication number Publication date
JP5350008B2 (en) 2013-11-27

Similar Documents

Publication Publication Date Title
JP5350008B2 (en) Wireless communication system and wireless communication apparatus
KR101478030B1 (en) Method for searching and connecting bluetooth device and apparatus using the same
JP4165477B2 (en) Hands-free system
JP5498332B2 (en) In-vehicle machine
US9369826B2 (en) Mobile electronic device coordination system, information providing apparatus, mobile electronic device, and program for mobile electronic device
JP2007067723A (en) Mobile terminal apparatus and peripheral device selecting method
WO2004019566A2 (en) Wireless communication system
US9438718B2 (en) Method for selecting and configuring wireless connections in an electronic device
JP2010263556A (en) Telephone directory data memory device having near field communication function
JP2008219550A (en) Information providing system and mobile terminal
JP2002540688A (en) Wireless handset
JP2007066159A (en) Electronic apparatus, data processing method and program therefor
JP5160598B2 (en) In-vehicle terminal and pairing method in in-vehicle terminal
JP2004104774A (en) Radio communication system
JP2011101231A (en) Portable terminal
JPWO2008038489A1 (en) COMMUNICATION DEVICE, COMMUNICATION METHOD, AND INFORMATION RECORDING MEDIUM
JP2004343219A (en) Radio communication apparatus, near distance radio communication system, and search control method of near distance radio communication
JP4686879B2 (en) Transmission method and transmission apparatus
KR20110067998A (en) Operating method and apparatus for user interface in a portable terminal
JP5359198B2 (en) Hands-free device
JP2003067334A (en) Portable terminal, server system, information acquisition method and information distribution method
JP2003333173A (en) Cordless telephone system, telephone set for cordless telephone system, and terminal equipment for cordless telephone system
KR20100040373A (en) Method for searching bluetooth device and apparatus using the same
JP2006060293A (en) Display device and registration device for telephone number data
KR100640391B1 (en) The system for downloading background image of portable phone by use of internet and display method thereof

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20120130

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20120803

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20130128

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130205

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130401

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20130416

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130712

A911 Transfer of reconsideration by examiner before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20130723

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20130821

R150 Certificate of patent or registration of utility model

Ref document number: 5350008

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees