JP2014140248A - Short range wireless communication device - Google Patents

Short range wireless communication device Download PDF

Info

Publication number
JP2014140248A
JP2014140248A JP2014084514A JP2014084514A JP2014140248A JP 2014140248 A JP2014140248 A JP 2014140248A JP 2014084514 A JP2014084514 A JP 2014084514A JP 2014084514 A JP2014084514 A JP 2014084514A JP 2014140248 A JP2014140248 A JP 2014140248A
Authority
JP
Japan
Prior art keywords
communication
communication partner
sound data
protocol
transfer protocol
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
JP2014084514A
Other languages
Japanese (ja)
Other versions
JP5692442B2 (en
Inventor
Takaharu Sakata
隆治 坂田
Mariko Yamanaka
麻理子 山中
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.)
Denso Corp
Original Assignee
Denso 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 Denso Corp filed Critical Denso Corp
Priority to JP2014084514A priority Critical patent/JP5692442B2/en
Publication of JP2014140248A publication Critical patent/JP2014140248A/en
Application granted granted Critical
Publication of JP5692442B2 publication Critical patent/JP5692442B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

PROBLEM TO BE SOLVED: To adequately realize a function that transfers and outputs not only sound data stored in a communication partner device but also sound data stored in a server at a communication network side.SOLUTION: An on-vehicle device 2 transmits and receives control data by AVRCP, and transfers sound data by A2DP to output if it transfers and outputs the sound data stored in a mobile phone 3, and on the other hand, it employs SPP instead of AVRCP, and transmits and receives control data by SPP and transfers sound data by A2DP to output if the sound data stored in a server 36 at a communication network 35 side is sequentially buffered to the mobile phone 3 and transferred and output. Regardless of a command defined by AVRCP, any command and any data (payload) can be transmitted and received by SPP.

Description

本発明は、音データの転送を規定する音データ転送プロトコル、音データの制御に係る制御データの転送を規定する制御データ転送プロトコル、データ通信を規定する特定のデータ通信プロトコルを近距離無線通信回線を通じて通信相手装置との間で接続可能な接続手段を備えた近距離無線通信装置に関する。   The present invention relates to a sound data transfer protocol that prescribes transfer of sound data, a control data transfer protocol that prescribes transfer of control data related to control of sound data, and a specific data communication protocol that prescribes data communication. The present invention relates to a short-range wireless communication device including a connection means that can be connected to a communication partner device through the communication device.

近距離無線通信機能を有する近距離無線通信装置は、例えば携帯電話機等の通信相手装置との間で近距離無線通信回線を接続し、楽曲データ等の音データの転送を規定する音データ転送プロトコル及び音データの制御に係る制御データの転送を規定する制御データ転送プロトコルを通信相手装置との間で接続する。そして、近距離無線通信装置は、制御データ(再生コマンド、一時停止コマンド、停止コマンド等の各種コマンドや曲名等)を制御データ転送プロトコルにより通信相手装置との間で送受信し、音データを通信相手装置から音データ転送プロトコルにより転送させて出力する。例えば特許文献1には、Bluetooth(登録商標)の通信規格により、音データの転送を規定する音データ転送プロトコルとしてA2DP(Advanced Audio Distribution Profile)が規定されており、音データの制御に係る制御データの転送を規定する制御データ転送プロトコルとしてAVRCP(Audio/Video Remote Control Profile)が規定されていることが開示されている。   A short-range wireless communication device having a short-range wireless communication function is a sound data transfer protocol that connects a short-range wireless communication line with a communication partner device such as a mobile phone and regulates transfer of sound data such as music data And a control data transfer protocol that regulates transfer of control data related to control of sound data is connected to the communication partner apparatus. Then, the short-range wireless communication device transmits / receives control data (various commands such as a play command, a pause command, a stop command, a song name, etc.) to and from the communication partner device using the control data transfer protocol, and transmits sound data to the communication partner. The data is transferred from the device by the sound data transfer protocol and output. For example, in Patent Document 1, A2DP (Advanced Audio Distribution Profile) is defined as a sound data transfer protocol for defining transfer of sound data according to the communication standard of Bluetooth (registered trademark), and control data related to control of sound data is defined. It is disclosed that AVRCP (Audio / Video Remote Control Profile) is defined as a control data transfer protocol that regulates the transfer of.

特開2008−273370号公報JP 2008-273370 A

ところで、近距離無線通信装置において、音データを通信相手装置から転送させて出力する態様としては、以下の2つの態様が考えられる。1つ目の態様は、通信相手装置の不揮発性記憶部に記憶されている音データを当該通信相手装置から転送させて出力する態様である。2つ目の態様は、通信網側のサーバの不揮発性記憶部に記憶されている音データを通信相手装置にて順次バッファリングしつつ当該通信相手装置から転送させて出力する態様(例えばインターネットラジオと称される音データのストリーミング等)である。   By the way, in the short-range wireless communication device, the following two modes are conceivable as modes in which sound data is transferred from the communication partner device and output. The first mode is a mode in which sound data stored in the nonvolatile storage unit of the communication partner device is transferred from the communication partner device and output. The second mode is a mode in which sound data stored in the nonvolatile storage unit of the server on the communication network side is sequentially buffered by the communication partner device and transferred from the communication partner device (for example, Internet radio). Sound data streaming, etc.).

前者の態様では、上記したように音データ転送プロトコルとしてA2DPを接続し且つ制御データ転送プロトコルとしてAVRCPを接続し、制御データをAVRCPにより通信相手装置との間で送受信することで、通信相手装置に記憶されている音データを通信相手装置から転送させて出力することが保証される。しかしながら、後者の態様では、音データ転送プロトコルとしてA2DPを接続し且つ制御データ転送プロトコルとしてAVRCPを接続したとしても、通信網側のサーバに記憶されている音データを当該通信相手装置から転送させて出力する際の機能(サービス)を十分に提供することが困難である。   In the former mode, as described above, A2DP is connected as the sound data transfer protocol and AVRCP is connected as the control data transfer protocol, and control data is transmitted to and received from the communication partner device by AVRCP. It is guaranteed that the stored sound data is transferred from the communication partner device and output. However, in the latter mode, even if A2DP is connected as the sound data transfer protocol and AVRCP is connected as the control data transfer protocol, the sound data stored in the server on the communication network side is transferred from the communication partner device. It is difficult to provide sufficient functions (services) for output.

本発明は、上記した事情に鑑みてなされたものであり、その目的は、通信相手装置に記憶されている音データを当該通信相手装置から転送させて出力する機能を適切に実現するだけでなく、通信網側のサーバに記憶されている音データを当該通信相手装置から転送させて出力する機能をも適切に実現することができる近距離無線通信装置を提供することにある。   The present invention has been made in view of the above circumstances, and its purpose is not only to properly realize a function of transferring sound data stored in a communication partner apparatus from the communication partner apparatus and outputting it. Another object of the present invention is to provide a short-range wireless communication device capable of appropriately realizing a function of transferring sound data stored in a server on the communication network side from the communication partner device and outputting the same.

請求項1に記載した発明によれば、接続手段は、音データの転送を規定する音データ転送プロトコル、音データの制御に係る制御データの転送を規定する制御データ転送プロトコル、データ通信を規定する特定のデータ通信プロトコルを近距離無線通信回線を通じて通信相手装置との間で接続可能である。制御手段は、通信相手装置の不揮発性記憶手段に記憶されている第1音データを通信相手装置から転送させる第1態様、及び通信網側のサーバの不揮発性記憶手段に記憶されている第2音データを通信相手装置から転送させる第2態様のうち何れかを選択する。音データ出力手段は、通信相手装置から音データ転送プロトコルにより転送された音データを出力する。   According to the first aspect of the present invention, the connection means defines a sound data transfer protocol that regulates transfer of sound data, a control data transfer protocol that regulates transfer of control data related to control of sound data, and data communication. A specific data communication protocol can be connected to a communication partner apparatus through a short-range wireless communication line. The control means includes a first mode for transferring the first sound data stored in the non-volatile storage means of the communication counterpart device from the communication counterpart device, and a second mode stored in the non-volatile storage means of the server on the communication network side. One of the second modes for transferring the sound data from the communication partner apparatus is selected. The sound data output means outputs the sound data transferred from the communication partner apparatus by the sound data transfer protocol.

ここで、制御手段は、第1態様を選択していると判定すると、制御データ転送プロトコル及び音データ転送プロトコルを通信相手装置との間で接続させた状態で、第1音データの制御に係る第1制御データを制御データ転送プロトコルにより通信相手装置との間で送受信させ、第1音データを通信相手装置から音データ転送プロトコルにより転送させる。一方、制御手段は、第2態様を選択していると判定すると、音データ転送プロトコル及び特定のデータ通信プロトコルを通信相手装置との間で接続させた状態で、第2音データの制御に係る第2制御データを特定のデータ通信プロトコルにより通信相手装置との間で送受信させ、第2音データを通信相手装置から音データ転送プロトコルにより転送させる。   Here, when the control means determines that the first mode is selected, the control means relates to the control of the first sound data in a state where the control data transfer protocol and the sound data transfer protocol are connected to the communication partner device. The first control data is transmitted / received to / from a communication partner device using a control data transfer protocol, and the first sound data is transferred from the communication partner device using a sound data transfer protocol. On the other hand, when the control means determines that the second mode is selected, the control means relates to the control of the second sound data in a state where the sound data transfer protocol and the specific data communication protocol are connected to the communication partner device. The second control data is transmitted / received to / from a communication partner device using a specific data communication protocol, and the second sound data is transferred from the communication partner device using a sound data transfer protocol.

これにより、通信網側のサーバに記憶されている第2音データを通信相手装置から転送させて出力する際の機能を十分に提供することができない場合には、制御データ転送プロトコルの代わりに特定のデータ通信プロトコルを採用する。第2制御データを制御データ通信プロトコルにより通信相手装置との間で送受信するのではなく、第2制御データを特定のデータ通信プロトコルにより通信相手装置との間で送受信することで、通信網側のサーバに記憶されている第2音データを通信相手装置から転送させて出力することができる。その結果、通信相手装置に記憶されている音データを当該通信相手装置から転送させて出力する機能を適切に実現するだけでなく、通信網側のサーバに記憶されている音データを当該通信相手装置から転送させて出力する機能をも適切に実現することができる。   As a result, if the second sound data stored in the server on the communication network side cannot be sufficiently provided with the function of transferring and outputting the second sound data from the communication partner device, it is specified instead of the control data transfer protocol. The data communication protocol is adopted. The second control data is not transmitted / received to / from the communication partner device using the control data communication protocol, but the second control data is transmitted / received to / from the communication partner device using the specific data communication protocol. The second sound data stored in the server can be transferred from the communication partner device and output. As a result, not only can the sound data stored in the communication partner device be properly transferred and output from the communication partner device, but also the sound data stored in the server on the communication network side can be used. The function of transferring and outputting from the apparatus can also be appropriately realized.

請求項2に記載した発明によれば、制御手段は、音データ転送プロトコル、制御データ転送プロトコル及び特定のデータ通信プロトコルを通信相手装置との間で接続させている状態で、第1態様を選択していると判定すると、第1制御データを制御データ転送プロトコルにより通信相手装置との間で送受信させ、第1音データを通信相手装置から音データ転送プロトコルにより転送させる。一方、制御手段は、第2態様を選択していると判定すると、第2制御データを特定のデータ通信プロトコルにより通信相手装置との間で送受信させ、第2音データを通信相手装置から音データ転送プロトコルにより転送させる。   According to the invention described in claim 2, the control means selects the first mode in a state where the sound data transfer protocol, the control data transfer protocol, and the specific data communication protocol are connected to the communication partner device. If it is determined, the first control data is transmitted / received to / from the communication partner device using the control data transfer protocol, and the first sound data is transferred from the communication partner device using the sound data transfer protocol. On the other hand, if it is determined that the second mode is selected, the control means transmits / receives the second control data to / from the communication partner device using a specific data communication protocol, and the second sound data is transmitted from the communication partner device to the sound data. Transfer using a transfer protocol.

これにより、第1態様から第2態様に切換える場合や第2態様から第1態様に切換える場合に、制御データ転送プロトコルや特定のデータ通信プロトコルを切断したり接続したりすることがない。音データの出力が途切れる期間を最小限に抑えることができ、第1態様から第2態様への切換え及び第2態様から第1態様への切換えを円滑に行うことができる。   Thereby, when switching from the first mode to the second mode or when switching from the second mode to the first mode, the control data transfer protocol and the specific data communication protocol are not disconnected or connected. The period during which the output of the sound data is interrupted can be minimized, and the switching from the first mode to the second mode and the switching from the second mode to the first mode can be performed smoothly.

請求項3に記載した発明によれば、制御手段は、音データ転送プロトコル、制御データ転送プロトコル及び特定のデータ通信プロトコルを通信相手装置との間で接続させている状態で、第1態様を選択していると判定すると、特定のデータ通信プロトコルの接続を継続したままで特定のデータ通信プロトコルによる第2制御データを無効化しつつ、第1制御データを制御データ転送プロトコルにより通信相手装置との間で送受信させ、第1音データを通信相手装置から音データ転送プロトコルにより転送させる。   According to the invention described in claim 3, the control means selects the first mode in a state where the sound data transfer protocol, the control data transfer protocol, and the specific data communication protocol are connected to the communication partner device. If it is determined that the connection is established, the second control data based on the specific data communication protocol is invalidated while the connection of the specific data communication protocol is continued, and the first control data is transferred to the communication partner device using the control data transfer protocol. The first sound data is transferred from the communication partner apparatus by the sound data transfer protocol.

これにより、第1態様から第2態様に切換える場合には、特定のデータ通信プロトコルを既に接続していることから、無効化している特定のデータ通信プロトコルによる第2制御データを有効化すれば良い。第1態様から第2態様に切換える際に音データの出力が途切れる期間を最小限に抑えることができ、第1態様から第2態様への切換えを円滑に行うことができる。   Thereby, when switching from the first mode to the second mode, since the specific data communication protocol is already connected, the second control data based on the specific data communication protocol being invalidated may be validated. . When switching from the first mode to the second mode, the period during which the output of the sound data is interrupted can be minimized, and the switching from the first mode to the second mode can be performed smoothly.

請求項4に記載した発明によれば、制御手段は、音データ転送プロトコル、制御データ転送プロトコル及び特定のデータ通信プロトコルを通信相手装置との間で接続させている状態で、第2態様を選択していると判定すると、制御データ転送プロトコルの接続を継続したままで制御データ転送プロトコルによる第1制御データを無効化しつつ、第2制御データを特定のデータ通信プロトコルにより通信相手装置との間で送受信させ、第2音データを通信相手装置から音データ転送プロトコルにより転送させる。   According to the invention described in claim 4, the control means selects the second mode in a state where the sound data transfer protocol, the control data transfer protocol, and the specific data communication protocol are connected to the communication partner device. If it is determined that the control data transfer protocol is still connected, the first control data based on the control data transfer protocol is invalidated while the second control data is transferred between the communication partner device using a specific data communication protocol. The second sound data is transferred from the communication partner apparatus using a sound data transfer protocol.

これにより、第2態様から第1態様に切換える場合には、制御データ転送プロトコルを既に接続していることから、無効化している制御データ転送プロトコルによる第1制御データを有効化すれば良い。第2態様から第1態様に切換える際に音データの出力が途切れる期間を最小限に抑えることができ、第2態様から第1態様への切換えを円滑に行うことができる。   Thus, when switching from the second mode to the first mode, the control data transfer protocol is already connected, and therefore the first control data based on the invalidated control data transfer protocol may be validated. When switching from the second mode to the first mode, the period during which the output of the sound data is interrupted can be minimized, and the switching from the second mode to the first mode can be performed smoothly.

請求項5に記載した発明によれば、接続手段は、ハンズフリー通話を規定するハンズフリー通話プロトコルをも通信相手装置との間で接続可能であり、制御手段は、ハンズフリー通話プロトコルを通信相手装置との間で接続させた後に、先に特定のデータ通信プロトコルを通信相手装置との間で接続させて後から制御データ転送プロトコル及び音データ転送プロトコルを通信相手装置との間で接続させる。   According to the fifth aspect of the present invention, the connection means can connect a hands-free call protocol that defines a hands-free call to / from a communication partner device, and the control means transmits the hands-free call protocol to the communication partner. After the connection with the device, a specific data communication protocol is first connected with the communication partner device, and then the control data transfer protocol and the sound data transfer protocol are connected with the communication partner device.

これにより、ハンズフリー通話プロトコルを接続した後に、特定のデータ通信プロトコルを速やかに接続することができ、特定のデータ通信プロトコルによる機能を速やかに実現することができる。   Thereby, after connecting the hands-free call protocol, a specific data communication protocol can be quickly connected, and a function based on the specific data communication protocol can be quickly realized.

請求項6に記載した発明によれば、接続手段は、ハンズフリー通話を規定するハンズフリー通話プロトコルをも通信相手装置との間で接続可能であり、制御手段は、ハンズフリー通話プロトコルを通信相手装置との間で接続させた後に、先に制御データ転送プロトコル及び音データ転送プロトコルを通信相手装置との間で接続させて後から特定のデータ通信プロトコルを通信相手装置との間で接続させる。   According to the sixth aspect of the present invention, the connection means can connect a hands-free call protocol that defines a hands-free call with a communication partner apparatus, and the control means transmits the hands-free call protocol to the communication partner. After the connection with the device, the control data transfer protocol and the sound data transfer protocol are first connected with the communication partner device, and then the specific data communication protocol is connected with the communication partner device.

通信相手装置の仕様によってはハンズフリー通話プロトコルの接続処理を完了してから制御データ転送プロトコルの接続要求を送信するまでの時間が所定時間を超えていると、たとえ制御データ転送プロトコルの接続処理を完了したとしても音データを音データ転送プロトコルにより転送しない機種もある。しかしながら、ハンズフリー通話プロトコルを接続させた後に、先に制御データ転送プロトコル及び音データ転送プロトコルを接続させて後から特定のデータ通信プロトコルを接続させることで、ハンズフリー通話プロトコルの接続処理を完了してから制御データ転送プロトコルの接続要求を送信するまでの時間が所定時間を超えないようにすることができる。たとえ通信相手装置が上記した仕様であっても対応することができる。   Depending on the specifications of the communication partner device, if the time from the completion of the hands-free call protocol connection processing to the transmission of the control data transfer protocol connection request exceeds a predetermined time, the control data transfer protocol connection processing is performed. Some models do not transfer sound data using the sound data transfer protocol even when completed. However, after connecting the hands-free call protocol, the control data transfer protocol and the sound data transfer protocol are connected first, and then the specific data communication protocol is connected later, thereby completing the connection process of the hands-free call protocol. It is possible to prevent the time from transmission of the connection request for the control data transfer protocol from exceeding a predetermined time. Even if the communication partner apparatus has the above-mentioned specifications, it can be handled.

請求項7に記載した発明によれば、接続手段は、ハンズフリー通話を規定するハンズフリー通話プロトコルをも通信相手装置との間で接続可能であり、制御手段は、ハンズフリー通話プロトコルを通信相手装置との間で接続させた後に、通信相手装置が特定機種である場合に、先に制御データ転送プロトコル及び音データ転送プロトコルを通信相手装置との間で接続させて後から特定のデータ通信プロトコルを通信相手装置との間で接続させ、通信相手装置が特定機種でない場合に、先に特定のデータ通信プロトコルを通信相手装置との間で接続させて後から制御データ転送プロトコル及び音データ転送プロトコルを通信相手装置との間で接続させる。   According to the seventh aspect of the present invention, the connection means can connect a hands-free call protocol that defines a hands-free call to / from a communication partner device, and the control means transmits the hands-free call protocol to the communication partner. When the communication partner device is a specific model after connecting with the device, the control data transfer protocol and the sound data transfer protocol are first connected with the communication partner device, and then the specific data communication protocol is connected. If the communication partner device is not a specific model, the control data transfer protocol and the sound data transfer protocol are connected after the specific data communication protocol is connected to the communication partner device. Is connected to the communication partner device.

これにより、ハンズフリー通話プロトコルを接続した後に、通信相手装置が特定機種であるか否かに応じて、先に制御データ転送プロトコル及び音データ転送プロトコルを接続して後から特定のデータ通信プロトコルを接続するか、先に特定のデータ通信プロトコルを接続して後から制御データ転送プロトコル及び音データ転送プロトコルを接続するかを選択することができる。   As a result, after connecting the hands-free call protocol, depending on whether the communication partner device is a specific model or not, the control data transfer protocol and the sound data transfer protocol are connected first, and then the specific data communication protocol is set. It is possible to select whether to connect or to connect a control data transfer protocol and a sound data transfer protocol after connecting a specific data communication protocol first.

請求項8に記載した発明によれば、制御手段は、ハンズフリー通話プロトコルを通信相手装置との間で接続させた後に、通信相手装置からの制御データ転送プロトコルの接続要求を受信して拒否した場合には、制御データ転送プロトコルを優先して接続すべく、制御データ転送プロトコルの接続を通信相手装置へ要求する。   According to the invention described in claim 8, the control means receives the connection request of the control data transfer protocol from the communication partner apparatus and rejects it after connecting the hands-free call protocol with the communication partner apparatus. In this case, the communication partner apparatus is requested to connect the control data transfer protocol so that the control data transfer protocol is preferentially connected.

これにより、通信相手装置からの制御データ転送プロトコルの接続要求を受信して拒否したとしても、通信相手装置へ制御データ転送プロトコルの接続を要求することで、制御データ転送プロトコルを接続することができる。   As a result, even if the control data transfer protocol connection request from the communication partner apparatus is received and rejected, the control data transfer protocol can be connected by requesting the control data transfer protocol connection to the communication partner apparatus. .

請求項9に記載した発明によれば、制御手段は、ハンズフリー通話プロトコルを通信相手装置との間で接続させた後に、通信相手装置からの制御データ転送プロトコルの接続要求を受信した場合には、制御データ転送プロトコルを優先して接続すべく、通信相手装置からの制御データ転送プロトコルの接続要求を許可する。   According to the ninth aspect of the present invention, when the control means receives the control data transfer protocol connection request from the communication partner apparatus after connecting the hands-free call protocol to the communication partner apparatus. The control data transfer protocol connection request from the communication partner device is permitted so that the control data transfer protocol is preferentially connected.

これにより、通信相手装置からの制御データ転送プロトコルの接続要求を許可することで、制御データ転送プロトコルを接続することができる。   Accordingly, the control data transfer protocol can be connected by permitting the control data transfer protocol connection request from the communication partner apparatus.

請求項10に記載した発明によれば、接続手段は、ハンズフリー通話を規定するハンズフリー通話プロトコルをも通信相手装置との間で接続可能であり、制御手段は、ハンズフリー通話プロトコル及び特定のデータ通信プロトコルを通信相手装置との間で接続させた後に、第1態様を選択していると判定すると、制御データ転送プロトコル及び音データ転送プロトコルを通信相手装置との間で接続させ、第2態様を選択していると判定すると、音データ転送プロトコルを通信相手装置との間で接続させる。   According to the tenth aspect of the present invention, the connection means can connect a hands-free call protocol that defines a hands-free call to / from a communication partner device, and the control means includes a hands-free call protocol and a specific If it is determined that the first mode is selected after the data communication protocol is connected to the communication partner apparatus, the control data transfer protocol and the sound data transfer protocol are connected to the communication partner apparatus, If it is determined that the mode is selected, the sound data transfer protocol is connected to the communication partner apparatus.

これにより、ハンズフリー通話プロトコル及び特定のデータ通信プロトコルを接続した後に、第1態様及び第2態様の何れを選択しているかに応じて、制御データ転送プロトコル及び音データ転送プロトコルを接続するか、音データ転送プロトコルを接続するかを選択することができる。   Thereby, after connecting the hands-free call protocol and the specific data communication protocol, depending on which of the first mode and the second mode is selected, the control data transfer protocol and the sound data transfer protocol are connected, It is possible to select whether to connect the sound data transfer protocol.

請求項11に記載した発明によれば、接続手段は、ハンズフリー通話を規定するハンズフリー通話プロトコルをも通信相手装置との間で接続可能であり、制御手段は、ハンズフリー通話プロトコルを通信相手装置との間で接続させた後に、第1態様を選択していると判定すると、制御データ転送プロトコル及び音データ転送プロトコルを通信相手装置との間で接続させ、第2態様を選択していると判定すると、音データ転送プロトコル及び特定のデータ通信プロトコルを通信相手装置との間で接続させる。   According to the eleventh aspect of the present invention, the connection means can also connect a hands-free call protocol that defines a hands-free call to the communication partner apparatus, and the control means can connect the hands-free call protocol to the communication partner. If it is determined that the first mode has been selected after connecting with the device, the control data transfer protocol and the sound data transfer protocol are connected with the communication partner device, and the second mode is selected. If it is determined, the sound data transfer protocol and the specific data communication protocol are connected to the communication partner apparatus.

これにより、ハンズフリー通話プロトコルを接続した後に、第1態様及び第2態様の何れを選択しているかに応じて、制御データ転送プロトコル及び音データ転送プロトコルを接続するか、音データ転送プロトコル及び特定のデータ通信プロトコルを接続するかを選択することができる。   Thus, after connecting the hands-free call protocol, depending on whether the first mode or the second mode is selected, the control data transfer protocol and the sound data transfer protocol are connected, or the sound data transfer protocol and the identification are specified. It is possible to select whether to connect the data communication protocol.

請求項12に記載した発明によれば、記憶手段は、当該近距離無線通信装置の電源遮断前に第1態様及び第2態様のうち何れを選択していたかを示す電源遮断前態様を記憶可能であり、制御手段は、当該近距離無線通信装置の電源投入時に、記憶手段に記憶されている電源遮断前態様が第1態様を示す場合には第1態様を選択していると判定し、電源遮断前態様が第2態様を示す場合には第2態様を選択していると判定する。   According to the twelfth aspect of the present invention, the storage means can store the pre-power-off mode indicating which one of the first mode and the second mode has been selected before the short-range wireless communication device is powered off. And the control unit determines that the first mode is selected when the short-range wireless communication device is turned on when the mode before power-off stored in the storage unit indicates the first mode. When the mode before power-off shows the second mode, it is determined that the second mode is selected.

これにより、近距離無線通信装置の電源投入後の態様を、近距離無線通信装置の電源遮断前の態様に追従することができ、近距離無線通信装置の電源遮断前の態様が第1態様であれば、近距離無線通信装置の電源投入後の態様を第1態様とし、第1音データを通信相手装置から音データ転送プロトコルにより転送させることができる。又、近距離無線通信装置の電源遮断前の態様が第2態様であれば、近距離無線通信装置の電源投入後の態様を第2態様とし、第2音データを通信相手装置から音データ転送プロトコルにより転送させることができる。   Thereby, the mode after power-on of the short-range wireless communication device can follow the mode before power-off of the short-range wireless communication device, and the mode before power-off of the short-range wireless communication device is the first mode. If it exists, the mode after power-on of the short-range wireless communication device can be set as the first mode, and the first sound data can be transferred from the communication partner device by the sound data transfer protocol. Also, if the short distance wireless communication device is in the second mode before the power is turned off, the short distance wireless communication device is turned on after the power is turned on, and the second sound data is transferred from the communication partner device to the sound data. It can be transferred by protocol.

請求項13に記載した発明によれば、制御手段は、ハンズフリー通話プロトコルを通信相手装置との間で接続させており、制御データ転送プロトコル及び音データ転送プロトコルを別の通信相手装置との間で接続させている状態で、音データの転送元を別の通信相手装置から通信相手装置に切換えると判定すると、別の通信相手装置との間で接続させている制御データ転送プロトコル及び音データ転送プロトコルを切断させると共に、通信相手装置との間で接続させているハンズフリー通話プロトコルを切断させ、その切断させたハンズフリー通話プロトコルを通信相手装置との間で再接続させた後に、先に制御データ転送プロトコル及び音データ転送プロトコルを通信相手装置との間で接続させて後から特定のデータ通信プロトコルを通信相手装置との間で接続させる。   According to the invention described in claim 13, the control means connects the hands-free call protocol to the communication partner device, and the control data transfer protocol and the sound data transfer protocol to another communication partner device. If it is determined that the sound data transfer source is switched from another communication partner device to the communication partner device in the connected state, the control data transfer protocol and sound data transfer connected to another communication partner device Disconnect the protocol, disconnect the hands-free call protocol connected to the communication partner device, reconnect the disconnected hands-free call protocol to the communication partner device, and then control first Connect the data transfer protocol and sound data transfer protocol to the communication partner device and communicate with a specific data communication protocol later. It is connected between the hand apparatus.

これにより、別の通信相手装置の不揮発性記憶手段に記憶されている第1音データを当該別の通信相手装置から転送させて出力する態様から、通信網側のサーバの不揮発性記憶手段に記憶されている第2音データを通信相手装置から転送させて出力する態様へと切換えることができる。   Thus, the first sound data stored in the non-volatile storage means of another communication partner apparatus is transferred from the other communication partner apparatus and output, and stored in the non-volatile storage means of the server on the communication network side. It is possible to switch to a mode in which the second sound data being transmitted is transferred from the communication partner device and output.

請求項14に記載した発明によれば、制御手段は、ハンズフリー通話プロトコルを通信相手装置との間で接続させており、制御データ転送プロトコル及び音データ転送プロトコルを別の通信相手装置との間で接続させている状態で、音データの転送元を別の通信相手装置から通信相手装置に切換えると判定すると、別の通信相手装置との間で接続させている制御データ転送プロトコル及び音データ転送プロトコルを切断させると共に、音データ転送プロトコルの接続要求を通信相手装置へ送信させることにより音データ転送プロトコルを通信相手装置との間で接続させ、且つ特定のデータ通信プロトコルを通信相手装置との間で接続させる。   According to the fourteenth aspect of the present invention, the control means connects the hands-free call protocol to the communication partner apparatus, and the control data transfer protocol and the sound data transfer protocol are exchanged with another communication partner apparatus. If it is determined that the sound data transfer source is switched from another communication partner device to the communication partner device in the connected state, the control data transfer protocol and sound data transfer connected to another communication partner device Disconnect the protocol, send the connection request for the sound data transfer protocol to the communication partner device, connect the sound data transfer protocol to the communication partner device, and connect the specific data communication protocol to the communication partner device. Connect with.

これにより、別の通信相手装置の不揮発性記憶手段に記憶されている第1音データを当該別の通信相手装置から転送させて出力する態様から、通信網側のサーバの不揮発性記憶手段に記憶されている第2音データを通信相手装置から転送させて出力する態様へと切換えることができる。しかも、この場合は、通信相手装置との間で接続させているハンズフリー通話プロトコルを切断させることなく切換えることができ、通信相手装置によるハンズフリー通話中であっても、そのハンズフリー通話を継続したままで切換えることができる。   Thus, the first sound data stored in the non-volatile storage means of another communication partner apparatus is transferred from the other communication partner apparatus and output, and stored in the non-volatile storage means of the server on the communication network side. It is possible to switch to a mode in which the second sound data being transmitted is transferred from the communication partner device and output. Moreover, in this case, the hands-free call protocol connected to the communication partner device can be switched without disconnecting, and the hands-free call can be continued even during a hands-free call by the communication partner device. It is possible to switch while still.

請求項15に記載した発明によれば、制御手段は、ハンズフリー通話プロトコルを通信相手装置との間で接続させており、制御データ転送プロトコル及び音データ転送プロトコルを別の通信相手装置との間で接続させている状態で、音データの転送元を別の通信相手装置から通信相手装置に切換えると判定すると、別の通信相手装置との間で接続させている制御データ転送プロトコル及び音データ転送プロトコルを切断させると共に、通信相手装置との間で接続させているハンズフリー通話プロトコルを切断させ、その切断させたハンズフリー通話プロトコルを通信相手装置との間で再接続させ、制御データ転送プロトコル及び音データ転送プロトコルを通信相手装置との間で接続させる。   According to the fifteenth aspect of the present invention, the control means connects the hands-free call protocol to the communication partner apparatus, and the control data transfer protocol and the sound data transfer protocol are exchanged with another communication partner apparatus. If it is determined that the sound data transfer source is switched from another communication partner device to the communication partner device in the connected state, the control data transfer protocol and sound data transfer connected to another communication partner device Disconnect the protocol, disconnect the hands-free call protocol connected to the communication partner device, reconnect the disconnected hands-free call protocol to the communication partner device, control data transfer protocol and The sound data transfer protocol is connected to the communication partner device.

これにより、別の通信相手装置の不揮発性記憶手段に記憶されている第1音データを当該別の通信相手装置から転送させて出力する態様から、通信相手装置の不揮発性記憶手段に記憶されている第1音データを当該通信相手装置から転送させて出力する態様へと切換えることができる。   As a result, the first sound data stored in the non-volatile storage means of another communication partner apparatus is stored in the non-volatile storage means of the communication partner apparatus from the mode in which the first sound data is transferred from the other communication partner apparatus and output. The first sound data can be switched to a mode in which the first sound data is transferred from the communication counterpart device and output.

請求項16に記載した発明によれば、制御手段は、ハンズフリー通話プロトコルを通信相手装置との間で接続させており、制御データ転送プロトコル及び音データ転送プロトコルを別の通信相手装置との間で接続させている状態で、音データの転送元を別の通信相手装置から通信相手装置に切換えると判定すると、別の通信相手装置との間で接続させている制御データ転送プロトコル及び音データ転送プロトコルを切断させると共に、制御データ転送プロトコルを通信相手装置との間で接続させ、且つ音データ転送プロトコルの接続要求を通信相手装置へ送信させることにより音データ転送プロトコルを通信相手装置との間で接続させる。   According to the sixteenth aspect of the present invention, the control means connects the hands-free call protocol to the communication partner apparatus, and the control data transfer protocol and the sound data transfer protocol are exchanged with another communication partner apparatus. If it is determined that the sound data transfer source is switched from another communication partner device to the communication partner device in the connected state, the control data transfer protocol and sound data transfer connected to another communication partner device Disconnect the protocol, connect the control data transfer protocol with the communication partner device, and send the connection request of the sound data transfer protocol to the communication partner device, so that the sound data transfer protocol is exchanged with the communication partner device. Connect.

これにより、別の通信相手装置の不揮発性記憶手段に記憶されている第1音データを当該別の通信相手装置から転送させて出力する態様から、通信相手装置の不揮発性記憶手段に記憶されている第1音データを当該通信相手装置から転送させて出力する態様へと切換えることができる。しかも、この場合は、通信相手装置との間で接続させているハンズフリー通話プロトコルを切断させることなく切換えることができ、通信相手装置によるハンズフリー通話中であっても、そのハンズフリー通話を継続したままで切換えることができる。   As a result, the first sound data stored in the non-volatile storage means of another communication partner apparatus is stored in the non-volatile storage means of the communication partner apparatus from the mode in which the first sound data is transferred from the other communication partner apparatus and output. The first sound data can be switched to a mode in which the first sound data is transferred from the communication counterpart device and output. Moreover, in this case, the hands-free call protocol connected to the communication partner device can be switched without disconnecting, and the hands-free call can be continued even during a hands-free call by the communication partner device. It is possible to switch while still.

請求項17に記載した発明によれば、制御手段は、制御データ転送プロトコル及び音データ転送プロトコルを通信相手装置との間で接続させた状態で、第1音データの通信相手装置から音データ転送プロトコルへの転送要求が発生したと判定すると、その転送要求が発生した時点から第1の設定時間が経過した後に音データの通信路のオープン要求を接続手段から通信相手装置へ送信させ、その転送要求が発生した時点から第1の設定時間よりも長い第2の設定時間が経過した後に再生コマンドを接続手段から通信相手装置へ送信させる。   According to the invention described in claim 17, the control means transfers the sound data from the communication partner device of the first sound data in a state where the control data transfer protocol and the sound data transfer protocol are connected to the communication partner device. When it is determined that a transfer request to the protocol has occurred, a request to open a communication path for sound data is transmitted from the connection means to the communication partner device after the first set time has elapsed since the transfer request has occurred, and the transfer is performed. A reproduction command is transmitted from the connection means to the communication partner apparatus after a second set time longer than the first set time elapses from the time when the request is generated.

通信相手装置の仕様によっては音データ転送プロトコルの接続を完了した後でも音データの通信路をクローズしたままでオープンしない場合がある。この状態、即ち、通信相手装置が通信路をオープンしていない状態で再生コマンドを通信相手装置へ送信したとしても、通信相手装置が通信路をオープンしていないので、通信相手装置が第1音データを転送することができない。その結果、第1音データが通信相手装置から出力される現象が発生する。これに対し、再生コマンドを通信相手装置へ送信する前に音データの通信路のオープン要求を通信相手装置へ送信することで、再生コマンドを通信相手装置へ送信した段階で音データの通信路をオープンしておくことができる。その結果、通信相手装置が第1音データを転送することができ、通信相手装置から転送された第1音データを出力することができる。   Depending on the specifications of the communication partner device, the sound data communication path may be closed and not opened even after the connection of the sound data transfer protocol is completed. In this state, that is, even if the communication partner device does not open the communication path and transmits a playback command to the communication partner device, the communication partner device does not open the communication path, so the communication partner device The data cannot be transferred. As a result, a phenomenon occurs in which the first sound data is output from the communication partner apparatus. On the other hand, by sending a request to open the communication path of the sound data to the communication partner apparatus before transmitting the playback command to the communication partner apparatus, the sound data communication path is changed when the playback command is transmitted to the communication partner apparatus. You can keep it open. As a result, the communication partner apparatus can transfer the first sound data, and the first sound data transferred from the communication partner apparatus can be output.

請求項18に記載した発明によれば、制御手段は、特定のデータ通信プロトコル及び音データ転送プロトコルを通信相手装置との間で接続させた状態で、第2音データの通信相手装置から音データ転送プロトコルへの転送要求が発生したと判定した場合には、その転送要求が発生した時点から第1の設定時間が経過した後に音データの通信路のオープン要求を接続手段から通信相手装置へ送信させ、その転送要求が発生した時点から第1の設定時間よりも長い第2の設定時間が経過した後に再生コマンドを接続手段から通信相手装置へ送信させる。   According to the invention described in claim 18, the control means transmits the sound data from the communication partner device of the second sound data in a state where the specific data communication protocol and the sound data transfer protocol are connected to the communication partner device. If it is determined that a transfer request to the transfer protocol has occurred, a request to open a sound data communication path is transmitted from the connection means to the communication partner device after the first set time has elapsed since the transfer request occurred. The reproduction command is transmitted from the connection means to the communication partner apparatus after a second set time longer than the first set time has elapsed since the transfer request was generated.

上記した請求項17に記載した発明と同様に、再生コマンドを通信相手装置へ送信する前に音データの通信路のオープン要求を通信相手装置へ送信することで、再生コマンドを通信相手装置へ送信した段階で音データの通信路をオープンしておくことができる。その結果、通信相手装置が第2音データを転送することができ、通信相手装置から転送された第2音データを出力することができる。   Similarly to the above-described aspect, the transmission command is transmitted to the communication partner apparatus by transmitting a request for opening the communication path of the sound data to the communication partner apparatus before transmitting the reproduction command to the communication partner apparatus. At this stage, the sound data communication channel can be opened. As a result, the communication partner apparatus can transfer the second sound data, and the second sound data transferred from the communication partner apparatus can be output.

本発明の一実施形態を示す機能ブロック図Functional block diagram showing an embodiment of the present invention 車載装置が実行する処理を示すフローチャートFlow chart showing processing executed by in-vehicle device シーケンス図Sequence Diagram 図3相当図3 equivalent diagram 図3相当図3 equivalent diagram 図3相当図3 equivalent diagram 図3相当図3 equivalent diagram 図3相当図3 equivalent diagram 図3相当図3 equivalent diagram 図3相当図3 equivalent diagram 図3相当図3 equivalent diagram

以下、本発明をBluetooth(登録商標)(以下、BTと称する)通信機能を有するBT対応の車載装置(以下、単に車載装置と称する)に適用した一実施形態について、図面を参照して説明する。尚、ここでは、車載装置が搭載されている車両の車室内に、BT通信機能を有するBT対応の携帯電話機(以下、単に携帯電話機と称する)が車室内に持込まれ、車載装置と携帯電話機とがBT通信可能な状態にある場合を説明する。   Hereinafter, an embodiment in which the present invention is applied to a BT-compatible in-vehicle device (hereinafter simply referred to as an in-vehicle device) having a Bluetooth (registered trademark) (hereinafter referred to as BT) communication function will be described with reference to the drawings. . Here, a BT-compatible mobile phone (hereinafter simply referred to as a mobile phone) having a BT communication function is brought into the vehicle interior of a vehicle in which the in-vehicle device is mounted. Is in a state where BT communication is possible.

BT通信システム1は、車両に搭載されている車載装置2(本発明でいう近距離無線通信装置に相当)と、車室内に持込まれた携帯電話機3(本発明でいう通信相手装置に相当)とから構成される。車載装置2は、制御部4(本発明でいう制御手段に相当)と、BTモジュール5(本発明でいう接続手段に相当)と、USB(Universal Serial Bus)モジュール6と、不揮発性記憶部7(本発明でいう記憶手段に相当)と、揮発性記憶部8、音声処理部9と、表示制御部10と、操作入力部11と、信号入力部12等を備えて構成されている。制御部4と、USBモジュール6と、不揮発性記憶部7と、音声処理部9と、表示制御部10と、操作入力部11と、信号入力部12とは、制御基板13に物理的に実装されている。BTモジュール5は、制御基板13とは別部材であるBTモジュール基板14に物理的に実装されている。制御部4とBTモジュール5とはUSB接続されている。   The BT communication system 1 includes an in-vehicle device 2 (corresponding to a short-range wireless communication device according to the present invention) mounted on a vehicle and a mobile phone 3 (corresponding to a communication partner device according to the present invention) brought into the vehicle interior. It consists of. The in-vehicle device 2 includes a control unit 4 (corresponding to control means in the present invention), a BT module 5 (corresponding to connection means in the present invention), a USB (Universal Serial Bus) module 6, and a nonvolatile storage unit 7. (Corresponding to storage means in the present invention), a volatile storage unit 8, an audio processing unit 9, a display control unit 10, an operation input unit 11, a signal input unit 12, and the like. The control unit 4, USB module 6, nonvolatile storage unit 7, audio processing unit 9, display control unit 10, operation input unit 11, and signal input unit 12 are physically mounted on the control board 13. Has been. The BT module 5 is physically mounted on a BT module substrate 14 that is a separate member from the control substrate 13. The control unit 4 and the BT module 5 are connected by USB.

制御部4は、周知のマイクロコンピュータからなるCPU、RAM、ROM、及びI/Oバス等を有し、車載装置2の通信動作やデータ管理動作等の動作全般を制御する。BTモジュール5は、後述する携帯電話機3のBTモジュールとの間でBT通信回線(本発明でいう近距離無線通信回線に相当)を接続し、BT通信回線を通じてBT通信を実行する機能を有する。BTモジュール5は、BTの通信規格で規定されている複数のプロファイルとして、ハンズフリー通話を規定するHFP(Hands Free Profile)(本発明でいうハンズフリー通話プロトコルに相当)、音データの転送を規定するA2DP(Advanced Audio Distribution Profile)(本発明でいう音データ転送プロトコルに相当)、音データの制御に係る制御データの転送を規定するAVRCP(Audio/Video Remote Control Profile)(本発明でいう制御データ転送プロトコルに相当)、仮想シリアルポート化したデータ通信を規定するSPP(Serial Port Profile)(本発明でいう特定のデータ通信プロトコルに相当)、インターネットへのダイヤルアップ接続を規定するDUN(Dial-up Networking Profile)、電子メールデータの転送を規定するMAP(Message Access Profile)、電話帳データの転送を規定するPBAP(Phone Book Access Profile)、同じく電話帳データの転送を規定するOPP(Object Push Profile)等を同時接続(所謂マルチ接続)可能に構成されている。これらHFP、A2DP、AVRCP、SPP、DUN、MAP、PBAP、OPP等は機能毎に定義されたデータ通信プロトコルを意味している。   The control unit 4 includes a CPU, a RAM, a ROM, an I / O bus, and the like that are well-known microcomputers, and controls overall operations such as communication operation and data management operation of the in-vehicle device 2. The BT module 5 has a function of connecting a BT communication line (corresponding to a short-range wireless communication line in the present invention) with a BT module of the cellular phone 3 described later, and executing BT communication through the BT communication line. The BT module 5 defines HFP (Hands Free Profile) (corresponding to the hands-free call protocol in the present invention) and transfer of sound data as a plurality of profiles specified in the BT communication standard. A2DP (Advanced Audio Distribution Profile) (corresponding to the sound data transfer protocol referred to in the present invention), AVRCP (Audio / Video Remote Control Profile) (control data referred to in the present invention) that regulates transfer of control data related to sound data control Equivalent to a transfer protocol), SPP (Serial Port Profile) that defines virtual serial port data communication (corresponding to a specific data communication protocol in the present invention), DUN (Dial-up) that defines dial-up connection to the Internet Networking Profile), MAP (Message Access Profile) that regulates the transfer of email data, phone book PBAP (Phone Book Access Profile) that regulates data transfer, OPP (Object Push Profile) that also regulates transfer of phone book data, and the like can be connected simultaneously (so-called multi-connection). These HFP, A2DP, AVRCP, SPP, DUN, MAP, PBAP, OPP, etc. mean data communication protocols defined for each function.

USBモジュール6は、USB接続ケーブル15の接続端子15aを着脱可能な接続端子6aを有する。USBモジュール6は、USB接続ケーブル15の一方の接続端子15aが接続端子6aに接続され、且つUSB接続ケーブル15の他方の接続端子15bが後述する携帯電話機3のUSBモジュールの接続端子に接続されている状態で、USB通信回線を携帯電話機3のUSBモジュールとの間で接続し、USB通信回線を通じてUSB通信を実行する機能を有する。   The USB module 6 has a connection terminal 6 a to which the connection terminal 15 a of the USB connection cable 15 can be attached and detached. In the USB module 6, one connection terminal 15a of the USB connection cable 15 is connected to the connection terminal 6a, and the other connection terminal 15b of the USB connection cable 15 is connected to a connection terminal of the USB module of the mobile phone 3 described later. In this state, a USB communication line is connected to the USB module of the mobile phone 3 and the USB communication is performed through the USB communication line.

不揮発性記憶部7は、各種データを記憶可能な記憶領域を有する。この場合、BTモジュール5が携帯電話機3のBTモジュールとの間でMAPを接続すれば、携帯電話機3からBTモジュール5へ転送された電子メールデータ(電子メールの発信先を特定可能な差出人情報、電子メールが携帯電話機3へ受信された日時を特定可能な受信日時情報、電子メールの種別を特定可能な種別情報、例えば差出人が入力した電子メールの件名を特定可能な件名情報等)が不揮発性記憶部7に記憶される。又、BTモジュール5が携帯電話機3のBTモジュールとの間でPBAPを接続すれば、携帯電話機3からBTモジュール5へ転送された電話帳データ、車載装置2からの発信動作又は当該車載装置2との間でHFPを接続している携帯電話機3からの発信動作に係る発信時刻と発信電話番号との対応を表す発信履歴データ、車載装置2との間でHFPを接続している携帯電話機3の着信動作に係る着信時刻と着信電話番号との対応を表す着信履歴データ等が不揮発性記憶部7に記憶される。又、装置電源がオフする直前では、携帯電話機3から転送させていた音データを示す情報(本発明でいう電源遮断前態様)が不揮発性記憶部7に記憶される。揮発性記憶部8は、携帯電話機3からストリーミング転送された音データをバッファリングしつつ記憶可能な記憶領域を有する。   The nonvolatile storage unit 7 has a storage area capable of storing various data. In this case, if the BT module 5 connects the MAP to the BT module of the mobile phone 3, the e-mail data transferred from the mobile phone 3 to the BT module 5 (sender information that can specify the destination of the e-mail, Received date and time information that can specify the date and time when the e-mail was received by the mobile phone 3, type information that can specify the type of e-mail, such as subject information that can specify the subject of the e-mail entered by the sender, etc. is non-volatile. It is stored in the storage unit 7. If the BT module 5 connects the PBAP to the BT module of the mobile phone 3, the phone book data transferred from the mobile phone 3 to the BT module 5, the transmission operation from the in-vehicle device 2, or the in-vehicle device 2 Between the mobile phone 3 connected to the HFP between the mobile phone 3 and the call history data indicating the correspondence between the call origination time and the outgoing phone number, and the mobile phone 3 connected to the in-vehicle device 2 The non-volatile storage unit 7 stores the incoming call history data indicating the correspondence between the incoming time and the incoming telephone number related to the incoming operation. Immediately before the power of the apparatus is turned off, information indicating the sound data transferred from the mobile phone 3 (mode before power shut-off in the present invention) is stored in the nonvolatile storage unit 7. The volatile storage unit 8 has a storage area that can store the sound data stream-transferred from the mobile phone 3 while buffering it.

音声処理部9には車室内にあって例えばハンドルの近傍等のユーザが発した音声を集音し易い部位に配置されているマイクロホン16が接続されていると共に、車載装置2の外部に配置されているオーディオアンプ17が接続されている。オーディオアンプ17にはスピーカ18a、18b(本発明でいう音データ出力手段に相当)が接続されている。   The sound processing unit 9 is connected to a microphone 16 disposed in a portion of the vehicle interior where it is easy to collect the sound emitted by the user, such as in the vicinity of the steering wheel, and is disposed outside the in-vehicle device 2. The audio amplifier 17 is connected. Speakers 18 a and 18 b (corresponding to sound data output means in the present invention) are connected to the audio amplifier 17.

音声処理部9は、BTモジュール5と後述する携帯電話機3のBTモジュールとが両者の間でHFPを接続している状態では、ユーザが発した音声をマイクロホン16から送話音声データとして入力すると、その入力した送話音声データを音声処理してBTモジュール5へ出力する。又、音声処理部9は、BTモジュール5から受話音声データを入力すると、その入力した受話音声データをオーディオアンプ17へ出力する。   In a state where the BT module 5 and the BT module of the mobile phone 3 described later are connected to the HFP between the two, the voice processing unit 9 inputs the voice uttered by the user from the microphone 16 as transmission voice data. The input transmission voice data is subjected to voice processing and output to the BT module 5. In addition, when receiving voice data from the BT module 5, the voice processing unit 9 outputs the received voice data to the audio amplifier 17.

又、音声処理部9は、BTモジュール5と後述する携帯電話機3のBTモジュールとが両者の間でA2DP及びAVRCPを接続している状態では、携帯電話機3のBTモジュールからA2DP及びAVRCPによりBTモジュール5へ転送された音データをオーディオアンプ17へ出力する。又、音声処理部9は、USBモジュール6と後述する携帯電話機3のUSBモジュールとが両者の間でUSB通信を実行可能な状態では、携帯電話機3のUSBモジュールからUSB通信回線によりUSBモジュール6へ転送された音データをオーディオアンプ17へ出力する。   Further, the voice processing unit 9 is configured so that the BT module 5 and the BT module of the cellular phone 3 described later are connected to each other by the A2DP and AVRCP from the BT module of the cellular phone 3. The sound data transferred to 5 is output to the audio amplifier 17. The audio processing unit 9 also transfers the USB module 6 from the USB module of the mobile phone 3 to the USB module 6 through the USB communication line when the USB module 6 and the USB module of the mobile phone 3 to be described later can perform USB communication. The transferred sound data is output to the audio amplifier 17.

オーディオアンプ17は、音声処理部9から受話音声データや音データを入力すると、その入力した受話音声データや音データを増幅してスピーカ18a、18bから出力させる。又、オーディオアンプ17にはチューナーデッキ19も接続されている。オーディオアンプ17は、チューナーデッキ19が例えば音楽用記録媒体から再生した楽曲データを当該チューナーデッキ19から入力すると、その入力した楽曲データをも増幅してスピーカ18a、18bから出力させる。   When receiving the received voice data and sound data from the voice processing unit 9, the audio amplifier 17 amplifies the received received voice data and sound data and outputs them from the speakers 18a and 18b. A tuner deck 19 is also connected to the audio amplifier 17. When the music data reproduced from the recording medium by the tuner deck 19 is input from the tuner deck 19, the audio amplifier 17 also amplifies the input music data and outputs it from the speakers 18a and 18b.

ディスプレイ装置20は、各種表示画面を表示する表示装置21と、表示画面上にタッチスイッチを形成する操作装置22とを備えて構成されている。表示制御部10は、制御部4から表示指令信号を入力すると、その入力した表示指令信号に基づいてディスプレイ装置20における表示装置21の表示動作を制御する。操作入力部11は、ユーザが表示画面上に形成されているタッチスイッチを操作したことに応じて操作装置22から操作検出信号を入力すると、その入力した操作検出信号を制御部4へ出力し、制御部4は、操作入力部11から入力した操作検出信号を解析してユーザの操作を特定する。   The display device 20 includes a display device 21 that displays various display screens, and an operation device 22 that forms a touch switch on the display screen. When the display command signal is input from the control unit 4, the display control unit 10 controls the display operation of the display device 21 in the display device 20 based on the input display command signal. When the operation input signal is input from the operation device 22 in response to the user operating the touch switch formed on the display screen, the operation input unit 11 outputs the input operation detection signal to the control unit 4. The control unit 4 analyzes the operation detection signal input from the operation input unit 11 and identifies the user operation.

信号入力部12は、車両に搭載されているACC(アクセサリ)スイッチに接続されており、ACCスイッチから出力されたACC信号を入力すると、その入力したACC信号を制御部4へ出力する。制御部4は、信号入力部12から入力したACC信号のオンオフに基づいて装置電源をオンオフする。即ち、制御部4は、ACC信号がオフからオンに遷移したタイミングで装置電源をオンし(車載装置2を起動し)、ACC信号がオンからオフに遷移したタイミングで装置電源をオフする(車載装置2を停止する)。尚、制御部4は、装置電源をオフする際には、その直前で携帯電話機3から転送させていた音データの種別を不揮発性記憶部7に記憶する。   The signal input unit 12 is connected to an ACC (accessory) switch mounted on the vehicle. When the ACC signal output from the ACC switch is input, the input ACC signal is output to the control unit 4. The control unit 4 turns on and off the apparatus power based on the on / off of the ACC signal input from the signal input unit 12. That is, the control unit 4 turns on the apparatus power at the timing when the ACC signal transitions from off to on (activates the in-vehicle apparatus 2), and turns off the apparatus power at the timing when the ACC signal transitions from on to off (in-vehicle The device 2 is stopped). Note that the control unit 4 stores the type of sound data transferred from the mobile phone 3 immediately before the device power is turned off in the nonvolatile storage unit 7.

携帯電話機3は、制御部43と、電話通信部24と、BTモジュール25と、USBモジュール26と、キー入力部27と、不揮発性記憶部28(本発明でいう通信相手装置の不揮発性記憶手段に相当)と、揮発性記憶部29と、表示部30と、マイクロホン31と、スピーカ32と、電力供給部33等を備えて構成されている。   The cellular phone 3 includes a control unit 43, a telephone communication unit 24, a BT module 25, a USB module 26, a key input unit 27, a non-volatile storage unit 28 (non-volatile storage means of the communication partner device referred to in the present invention). ), A volatile storage unit 29, a display unit 30, a microphone 31, a speaker 32, a power supply unit 33, and the like.

制御部43は、周知のマイクロコンピュータからなるCPU、RAM、ROM、及びI/Oバス等を有し、携帯電話機3の通信動作やデータ管理動作等の動作全般を制御する。電話通信部24は、通信網35との間で電話通信を実行する。尚、通信網35は携帯電話基地局や基地局制御装置等の周知の携帯電話通信サービスを提供する設備を含むものである。BTモジュール25は、前述した車載装置2のBTモジュール5との間でBT通信回線を接続し、BT通信回線を通じてBT通信を実行する機能を有する。BTモジュール25は、BTの通信規格で規定されている複数のプロファイルとして、HFP、A2DP、AVRCP、SPP、DUN、MAP、PBAP、OPP等を同時接続可能に構成されている。   The control unit 43 includes a CPU, a RAM, a ROM, an I / O bus, and the like that are well-known microcomputers, and controls overall operations such as communication operations and data management operations of the mobile phone 3. The telephone communication unit 24 performs telephone communication with the communication network 35. The communication network 35 includes facilities for providing a well-known mobile phone communication service such as a mobile phone base station and a base station controller. The BT module 25 has a function of connecting a BT communication line to the above-described BT module 5 of the in-vehicle device 2 and executing BT communication through the BT communication line. The BT module 25 is configured so that HFP, A2DP, AVRCP, SPP, DUN, MAP, PBAP, OPP, and the like can be simultaneously connected as a plurality of profiles defined by the BT communication standard.

USBモジュール26は、USB接続ケーブル15の接続端子15bを着脱可能な接続端子26aを有する。USBモジュール26は、USB接続ケーブル15の一方の接続端子15aが車載装置2のUSBモジュール6の接続端子6aに接続され、且つUSB接続ケーブル15の他方の接続端子15bが接続端子26aに接続されている状態で、USB通信回線を車載装置2のUSBモジュール6との間で接続し、USB通信回線を通じてUSB通信を実行する機能を有する。   The USB module 26 has a connection terminal 26 a to which the connection terminal 15 b of the USB connection cable 15 can be attached and detached. In the USB module 26, one connection terminal 15a of the USB connection cable 15 is connected to the connection terminal 6a of the USB module 6 of the in-vehicle device 2, and the other connection terminal 15b of the USB connection cable 15 is connected to the connection terminal 26a. In this state, a USB communication line is connected to the USB module 6 of the in-vehicle apparatus 2 and USB communication is performed through the USB communication line.

キー入力部27は、ユーザが操作可能な各種キーを備え、ユーザがキーを操作したことに応じて操作検出信号を制御部43へ出力する。制御部43は、キー入力部27から入力した操作検出信号を解析してユーザの操作を特定する。   The key input unit 27 includes various keys that can be operated by the user, and outputs an operation detection signal to the control unit 43 in response to the user operating the key. The control unit 43 analyzes the operation detection signal input from the key input unit 27 and identifies the user operation.

不揮発性記憶部28は、音データ等の各種データを記憶可能な記憶領域を有する。揮発性記憶部29は、通信網35側のサーバ36からストリーミング送信された音データをバッファリングしつつ記憶可能な記憶領域を有する。表示部30は、制御部43から表示指令信号を入力すると、その入力した表示指令信号に基づいて各種表示画面を表示する。又、制御部43は、ユーザが発した音声をマイクロホン31から送話音声データとして入力すると、その入力した送話音声データを音声処理する。又、制御部43は、電話通信部24から受話音声データを入力すると、その入力した受話音声データをスピーカ32から音声として出力させる。電力供給部33は、本体に対して着脱可能なバッテリ34から放電される電力を動作電力として各機能ブロックへ供給する。   The nonvolatile storage unit 28 has a storage area capable of storing various data such as sound data. The volatile storage unit 29 has a storage area in which sound data streamed from the server 36 on the communication network 35 side can be stored while being buffered. When the display command signal is input from the control unit 43, the display unit 30 displays various display screens based on the input display command signal. In addition, when the voice uttered by the user is input from the microphone 31 as transmission voice data, the control unit 43 performs voice processing on the input transmission voice data. In addition, when the reception voice data is input from the telephone communication unit 24, the control unit 43 outputs the received reception voice data from the speaker 32 as a voice. The power supply unit 33 supplies power discharged from the battery 34 detachable from the main body to each functional block as operating power.

上記した構成では、車載装置2において、制御部4が携帯電話機3から転送された音データを出力させる態様としては、以下に示す2つの態様が考えられる。1つ目の態様は、車載装置2において、携帯電話機3の不揮発性記憶部28に記憶されている音データ(楽曲データ等)(本発明でいう第1音データに相当)をBTモジュール25からBTモジュール5へ転送させて車載装置2のスピーカ18a、18bから出力させる態様(本発明でいう第1態様に相当、BTオーディオ)である。2つ目の態様は、車載装置2において、通信網35側のサーバ36の不揮発性記憶部に記憶されている音データ(本発明でいう第2音データに相当)を携帯電話機3の揮発性記憶部29に順次バッファリングしつつBTモジュール25からBTモジュール5へ転送させて車載装置2の揮発性記憶部8に順次バッファリングしつつスピーカ18a、18bから出力させる態様(本発明でいう第2態様に相当)である。2つ目の態様の一例としては、例えばインターネットラジオ(音声番組をインターネットプロトコルにより配信するコンテンツ)の音データを出力させる態様が挙げられる。   In the configuration described above, the following two modes are conceivable as modes in which the control unit 4 outputs the sound data transferred from the mobile phone 3 in the in-vehicle device 2. In the first mode, in the in-vehicle device 2, sound data (music data, etc.) (corresponding to the first sound data in the present invention) stored in the nonvolatile storage unit 28 of the mobile phone 3 is transmitted from the BT module 25. This is an aspect (corresponding to the first aspect in the present invention, BT audio) that is transferred to the BT module 5 and output from the speakers 18a, 18b of the in-vehicle device 2. In the second aspect, in the in-vehicle device 2, the sound data (corresponding to the second sound data in the present invention) stored in the nonvolatile storage unit of the server 36 on the communication network 35 side is stored in the volatile property of the mobile phone 3. A mode in which the data is transferred from the BT module 25 to the BT module 5 while being sequentially buffered in the storage unit 29, and is output from the speakers 18a and 18b while being sequentially buffered in the volatile storage unit 8 of the in-vehicle device 2 (the second in the present invention). Corresponding to the embodiment). As an example of the second mode, for example, a mode of outputting sound data of Internet radio (content that delivers an audio program by Internet protocol) can be mentioned.

この場合、車載装置2は、携帯電話機3に記憶されている音データをBTモジュール25から転送させる前者の態様では、音データをA2DPにより転送させ、AVRCPで規定される制御コマンド(再生コマンド、一時停止コマンド、停止コマンド等)をAVRCPにより送受信させることが可能であり、ユーザが音データに関する各種制御を指示することができる。しかしながら、車載装置2は、通信網35側のサーバ36に記憶されている音データを携帯電話機3の揮発性記憶部29に順次バッファリングしつつBTモジュール25から転送させる後者の態様では、AVRCPで規定される制御コマンドをAVRCPにより送受信させることが十分ではなく、ユーザが音データに関する各種制御を指示することができないという事情がある。   In this case, in the former mode in which the in-vehicle device 2 transfers sound data stored in the mobile phone 3 from the BT module 25, the sound data is transferred by A2DP, and a control command (playback command, temporary command) defined by AVRCP is transmitted. A stop command, a stop command, etc.) can be transmitted and received by AVRCP, and the user can instruct various controls relating to sound data. However, in the latter mode in which the in-vehicle device 2 transfers the sound data stored in the server 36 on the communication network 35 side from the BT module 25 while sequentially buffering the sound data in the volatile storage unit 29 of the mobile phone 3, the AVRCP is used. There is a situation in which it is not sufficient to transmit and receive a prescribed control command by AVRCP, and the user cannot instruct various controls regarding sound data.

又、車載装置2の通信相手である携帯電話機3は、AVRCP(及びA2DP)接続要求を送信する挙動について仕様により以下の2種類に大別することができる。このように携帯電話機3の機種を仕様により大別することができる点、及び機種が普通機種であるか特定機種であるかを特定することができる点は、多種多様な携帯電話機3との接続試験を実施した結果に基づくものである。   In addition, the mobile phone 3 that is the communication partner of the in-vehicle device 2 can be broadly classified into the following two types according to the specifications regarding the behavior of transmitting the AVRCP (and A2DP) connection request. Thus, the point that the model of the mobile phone 3 can be roughly classified according to the specification, and the point that the model can be specified as a normal model or a specific model are connected to various mobile phones 3. Based on the results of the test.

(a)HFP接続処理を完了した後にAVRCP接続要求を車載装置2へ送信しない機種(普通機種)
(b)HFP接続処理を完了した後にAVRCP接続要求を車載装置2へ送信する機種(特定機種)
即ち、車載装置2は、通信相手である携帯電話機3が特定機種であれば、HFP接続処理を完了すると、特定機種の携帯電話機3からAVRCP接続要求を受信することになる。このとき、車載装置2は、通信相手側からの接続要求を許可する状態ではないことから、特定機種の携帯電話機3からAVRCP接続要求を受信しても、そのAVRCP接続要求を許可することなく拒否し、AVRCP接続拒否を特定機種の携帯電話機3へ送信することになる。この場合、このようにして車載装置2がAVRCP接続拒否を特定機種の携帯電話機3へ送信すると、その後、改めて車載装置2がAVRCP接続要求を特定機種の携帯電話機3へ送信し、AVRCP接続処理が完了したとしても、携帯電話機3がA2DP接続要求を車載装置2へ送信することはなく、更にその後、車載装置2から音データの出力を指示(インターネットラジオ、BTオーディオ)したとしても、携帯電話機3がA2DP接続要求を車載装置2へ送信することはない。その結果、車載装置2のスピーカ18a、18bから音データが出力されるのではなく、携帯電話機3のスピーカ32から音データが出力されるという現象が生じていた。
(A) A model that does not transmit an AVRCP connection request to the in-vehicle device 2 after completing the HFP connection processing (ordinary model)
(B) Model that transmits an AVRCP connection request to the in-vehicle device 2 after completing the HFP connection process (specific model)
That is, if the mobile phone 3 that is the communication partner is a specific model, the in-vehicle device 2 receives the AVRCP connection request from the mobile phone 3 of the specific model when the HFP connection process is completed. At this time, since the in-vehicle device 2 is not in a state of permitting a connection request from the communication partner side, even if an AVRCP connection request is received from the mobile phone 3 of a specific model, it is rejected without permitting the AVRCP connection request. Then, the AVRCP connection refusal is transmitted to the mobile phone 3 of a specific model. In this case, when the in-vehicle device 2 transmits the AVRCP connection refusal to the specific model mobile phone 3, the in-vehicle device 2 transmits an AVRCP connection request to the specific model mobile phone 3 again, and the AVRCP connection processing is performed. Even if completed, the cellular phone 3 does not transmit an A2DP connection request to the in-vehicle device 2, and even after that, even if the in-vehicle device 2 instructs to output sound data (Internet radio, BT audio), the cellular phone 3 Does not transmit the A2DP connection request to the in-vehicle device 2. As a result, a phenomenon has occurred in which sound data is not output from the speakers 18 a and 18 b of the in-vehicle device 2 but sound data is output from the speaker 32 of the mobile phone 3.

この原因を調べた結果、HFP接続処理を完了してからAVRCP接続要求を送信するまでの時間が所定時間(例えば3秒)を超えてしまうと、AVRCP接続処理が完了しても携帯電話機3はA2DP接続要求を送信しないことが判った。即ち、HFP接続処理を完了した後に携帯電話機3からのAVRCP接続要求を所定時間内で複数回に亘って拒否したことが原因とも考えられる。ある特定機種との接続試験の結果では、HFP接続処理を完了した後に車載装置2がAVRCP接続要求を送信するまでに約3秒以上かかると、上記したような現象が起こることが判った。   As a result of investigating this cause, if the time from completion of the HFP connection processing to transmission of the AVRCP connection request exceeds a predetermined time (for example, 3 seconds), the cellular phone 3 It was found that no A2DP connection request was sent. That is, it is also considered that the AVRCP connection request from the mobile phone 3 was rejected a plurality of times within a predetermined time after completing the HFP connection processing. As a result of a connection test with a specific model, it has been found that the above-described phenomenon occurs when it takes about 3 seconds or more for the in-vehicle device 2 to transmit the AVRCP connection request after completing the HFP connection processing.

一方、車載装置2は、通信相手である携帯電話機3が普通機種であれば、HFP接続処理を完了すると、普通機種の携帯電話機3からAVRCP接続要求を受信することはない。したがって、車載装置2がAVRCP接続要求を携帯電話機3へ送信し、AVRCP接続処理を完了すると、携帯電話機3がA2DP接続要求を車載装置2へ送信し、車載装置2がA2DP接続要求を許可してA2DP接続処理が完了する。仮にAVRCP接続処理が完了した時点でA2DP接続要求が送信されなかったとしても、車載装置2から音データの出力を指示した時点で、携帯電話機3がA2DP接続要求を車載装置2へ送信する。そして、車載装置2がA2DP接続要求を許可してA2DP接続処理が完了することから、音データがA2DPにより転送され、車載装置のスピーカ18a、18bから音データが出力される。したがって、HFP接続処理を完了してからAVRCP接続要求を送信するまでの時間に拘らず音データがA2DPにより転送される。   On the other hand, if the mobile phone 3 that is the communication partner is a normal model, the in-vehicle device 2 does not receive an AVRCP connection request from the normal model mobile phone 3 when the HFP connection process is completed. Therefore, when the in-vehicle device 2 transmits an AVRCP connection request to the mobile phone 3 and completes the AVRCP connection processing, the mobile phone 3 transmits an A2DP connection request to the in-vehicle device 2, and the in-vehicle device 2 permits the A2DP connection request. The A2DP connection process is completed. Even if the A2DP connection request is not transmitted when the AVRCP connection process is completed, the mobile phone 3 transmits the A2DP connection request to the in-vehicle device 2 when the in-vehicle device 2 instructs to output sound data. Since the in-vehicle device 2 permits the A2DP connection request and the A2DP connection process is completed, the sound data is transferred by A2DP, and the sound data is output from the speakers 18a and 18b of the in-vehicle device. Therefore, the sound data is transferred by A2DP regardless of the time from the completion of the HFP connection process to the transmission of the AVRCP connection request.

次に、上記した構成の作用について、図2乃至図11を参照して説明する。図2は車載装置2の制御部4が実行する処理をフローチャートにより示している。図3乃至図11は、車載装置2と通信相手装置との処理を示すシーケンス図である。   Next, the operation of the above configuration will be described with reference to FIGS. FIG. 2 is a flowchart showing processing executed by the control unit 4 of the in-vehicle device 2. 3 to 11 are sequence diagrams showing processing between the in-vehicle device 2 and the communication partner device.

車載装置2において、制御部4は、車載装置2の装置電源がオン(ACCスイッチがオン)している状態ではメイン処理を実行し、メイン処理におけるサブ処理としてプロファイル接続処理を装置電源がオンした直後に実行する。   In the in-vehicle device 2, the control unit 4 executes the main processing when the device power of the in-vehicle device 2 is on (ACC switch is on), and the device connection power is turned on as a sub-process in the main processing. Run immediately.

制御部4は、メイン処理からプロファイル接続処理へ移行し、プロファイル接続処理を開始すると、例えばBT通信回線を接続させた際にBTモジュール25から通知された携帯電話機3の識別情報(メーカーや機種を特定可能な識別コード等)に基づいて、通信相手である携帯電話機3が普通機種であるか特定機種であるかを判定する(ステップS1)。具体的には、制御部4は、携帯電話機3との接続試験により特定機種に該当する携帯電話機3の識別情報を予め不揮発性記憶部7に記憶させておき、通信相手である携帯電話機3から通知された識別情報と不揮発性記憶部7に記憶させている識別情報とを比較することで、通信相手である携帯電話機3が普通機種であるか特定機種であるかを判定すれば良い。   When the control unit 4 shifts from the main process to the profile connection process and starts the profile connection process, for example, when the BT communication line is connected, the identification information (manufacturer and model) of the mobile phone 3 notified from the BT module 25 is connected. Based on the identification code etc. that can be specified, it is determined whether the mobile phone 3 that is the communication partner is a normal model or a specific model (step S1). Specifically, the control unit 4 stores the identification information of the mobile phone 3 corresponding to the specific model in the nonvolatile storage unit 7 in advance by a connection test with the mobile phone 3, so that the mobile phone 3 as a communication partner can store the identification information. By comparing the notified identification information with the identification information stored in the nonvolatile storage unit 7, it may be determined whether the mobile phone 3 as the communication partner is a normal model or a specific model.

制御部4は、通信相手である携帯電話機3が普通機種であると判定すると、図3に示すように、HFP接続要求をBTモジュール5へ出力し(ステップS101)、HFPをBTモジュール5とBTモジュール25との間で接続させるHFP接続処理を実行する(ステップS2)。   When the control unit 4 determines that the mobile phone 3 that is the communication partner is a normal model, as shown in FIG. 3, the control unit 4 outputs an HFP connection request to the BT module 5 (step S101), and sends the HFP to the BT module 5 and the BT module. HFP connection processing for connection with the module 25 is executed (step S2).

制御部4は、BTモジュール5からHFP接続完了が通知され(ステップS102)、HFP接続処理を完了したと判定すると、SPP接続要求をBTモジュール5へ出力し(ステップS103)、SPPをBTモジュール5とBTモジュール25との間で接続させるSPP接続処理を実行する(ステップS3)。尚、この場合、通信相手の普通機種である携帯電話機3は、HFP接続処理を完了した後にAVRCP接続要求を車載装置2へ送信しない。   When the control unit 4 is notified of the completion of the HFP connection from the BT module 5 (step S102) and determines that the HFP connection processing has been completed, the control unit 4 outputs an SPP connection request to the BT module 5 (step S103). And SBT connection processing for connecting the BT module 25 (step S3). In this case, the mobile phone 3 which is a normal model of the communication partner does not transmit the AVRCP connection request to the in-vehicle device 2 after completing the HFP connection process.

制御部4は、BTモジュール5からSPP接続完了が通知され(ステップS104)、SPP接続処理を完了したと判定すると、AVRCP及びA2DP接続要求をBTモジュール5へ出力する(ステップS105)。そして、制御部4は、AVRCPをBTモジュール5とBTモジュール25との間で接続させるAVRCP接続処理を実行し(ステップS4)、A2DPをBTモジュール5とBTモジュール25との間で接続させるA2DP接続処理を実行する(ステップS5)。この場合、AVRCP接続処理については、BTモジュール5からBTモジュール25へAVRCP接続要求信号が送信されることを契機として、即ち、車載装置2のBTモジュール5からA2DP接続処理を開始する。一方、A2DP接続処理については、BTモジュール25からBTモジュール5へA2DP接続要求信号が送信されることを契機として、即ち、携帯電話機3のBTモジュール25からA2DP接続処理を開始する。   When the control unit 4 is notified of the completion of the SPP connection from the BT module 5 (step S104) and determines that the SPP connection processing is completed, the control unit 4 outputs an AVRCP and A2DP connection request to the BT module 5 (step S105). Then, the control unit 4 executes AVRCP connection processing for connecting AVRCP between the BT module 5 and the BT module 25 (step S4), and A2DP connection for connecting A2DP between the BT module 5 and the BT module 25. Processing is executed (step S5). In this case, the AVRCP connection process starts when the AVRCP connection request signal is transmitted from the BT module 5 to the BT module 25, that is, the A2DP connection process is started from the BT module 5 of the in-vehicle device 2. On the other hand, regarding the A2DP connection process, the A2DP connection process is started from the BT module 25 of the mobile phone 3 when the A2DP connection request signal is transmitted from the BT module 25 to the BT module 5.

制御部4は、BTモジュール5からAVRCP及びA2DP接続完了が通知され(ステップS106)、AVRCP接続処理及びA2DP接続処理を完了したと判定すると、不揮発性記憶部7に記憶されている音データの種別を読出し、装置電源をオフする直前で携帯電話機3から転送させていた音データの種別(BTオーディオ、インターネットラジオ、FMラジオ、AMラジオ等の何れか)を判定する(ステップS10)。   When the control unit 4 is notified of the completion of the AVRCP and A2DP connection from the BT module 5 (step S106) and determines that the AVRCP connection processing and the A2DP connection processing are completed, the type of sound data stored in the nonvolatile storage unit 7 is determined. And the type of sound data (any one of BT audio, Internet radio, FM radio, AM radio, etc.) transferred from the mobile phone 3 immediately before the apparatus power is turned off is determined (step S10).

制御部4は、上記した処理を実行することで、通信相手である携帯電話機3が普通機種であると判定すると、図3に示したように、HFP、SPP、AVRCP及びA2DPの順序にしたがってプロファイルを順次接続する。   When the control unit 4 determines that the mobile phone 3 that is the communication partner is a normal model by executing the above-described processing, the profile according to the order of HFP, SPP, AVRCP, and A2DP as shown in FIG. Are connected in sequence.

一方、制御部4は、通信相手である携帯電話機3が特定機種であると判定すると、図4に示すように、HFP接続要求をBTモジュール5へ出力し(ステップS201)、HFPをBTモジュール5とBTモジュール25との間で接続させるHFP接続処理を実行する(ステップS6)。   On the other hand, when the control unit 4 determines that the mobile phone 3 as the communication partner is a specific model, as shown in FIG. 4, the control unit 4 outputs an HFP connection request to the BT module 5 (step S201), and sends the HFP to the BT module 5. HFP connection processing for connection between the BT module 25 and the BT module 25 is executed (step S6).

制御部4は、BTモジュール5からHFP接続完了が通知され(ステップS202)、HFP接続処理を完了したと判定すると、上記した通信相手である携帯電話機3が普通機種であると判定した場合とは異なり、AVRCP及びA2DP接続要求をBTモジュール5へ出力する(ステップS205)。そして、制御部4は、AVRCPをBTモジュール5とBTモジュール25との間で接続させるAVRCP接続処理を実行し(ステップS7)、A2DPをBTモジュール5とBTモジュール25との間で接続させるA2DP接続処理を実行する(ステップS8)。   When the control unit 4 is notified of the completion of the HFP connection from the BT module 5 (step S202) and determines that the HFP connection process has been completed, the control unit 4 determines that the mobile phone 3 as the communication partner is a normal model. Differently, an AVRCP and A2DP connection request is output to the BT module 5 (step S205). Then, the control unit 4 executes AVRCP connection processing for connecting AVRCP between the BT module 5 and the BT module 25 (step S7), and A2DP connection for connecting A2DP between the BT module 5 and the BT module 25. Processing is executed (step S8).

ここで、通信相手の特定機種である携帯電話機3は、上記した普通機種である携帯電話機3とは異なり、HFP接続処理を完了した後にAVRCPP接続要求を車載装置2へ送信するが(ステップS203)、制御部4は、BTモジュール25からAVRCP接続要求をBTモジュール5により受信したと判定すると、通信相手の特定機種である携帯電話機3からのAVRCP接続要求を拒否し(許可することなく)、AVRCP接続拒否をBTモジュール5からBTモジュール25へ送信させる(ステップS204)。制御部4は、仮にBTモジュール25からAVRCP接続要求をBTモジュール5により再受信したと判定した場合も、AVRCP接続拒否をBTモジュール5からBTモジュール24へ再送信させる。   Here, the mobile phone 3 which is a specific model of the communication partner transmits an AVRCPP connection request to the in-vehicle device 2 after completing the HFP connection processing, unlike the mobile phone 3 which is a normal model described above (step S203). When the control unit 4 determines that the AVRCP connection request from the BT module 25 is received by the BT module 5, the control unit 4 rejects (without permitting) the AVRCP connection request from the mobile phone 3 which is a specific model of the communication partner, and A connection rejection is transmitted from the BT module 5 to the BT module 25 (step S204). Even when it is determined that the AVRCP connection request is re-received by the BT module 5 from the BT module 25, the control unit 4 retransmits the AVRCP connection rejection from the BT module 5 to the BT module 24.

制御部4は、BTモジュール5からAVRCP及びA2DP接続完了が通知され(ステップS206)、AVRCP接続処理及びA2DP接続処理を完了したと判定すると、SPP接続要求をBTモジュール5へ出力し(ステップS207)、SPPをBTモジュール5とBTモジュール25との間で接続させるSPP接続処理を実行する(ステップS9)。   When the control unit 4 is notified of the completion of the AVRCP and A2DP connection from the BT module 5 (step S206) and determines that the AVRCP connection process and the A2DP connection process are completed, the control unit 4 outputs an SPP connection request to the BT module 5 (step S207). , SPP connection processing for connecting the SPP between the BT module 5 and the BT module 25 is executed (step S9).

制御部4は、BTモジュール5からSPP接続完了が通知され、SPP接続処理を完了したと判定すると、不揮発性記憶部7に記憶されている音データの種別を読出し、装置電源をオフする直前で携帯電話機3から転送させていた音データの種別を判定する(ステップS10)。   When the control unit 4 is notified of the completion of the SPP connection from the BT module 5 and determines that the SPP connection processing has been completed, the control unit 4 reads the type of sound data stored in the nonvolatile storage unit 7 and immediately before turning off the apparatus power. The type of sound data transferred from the mobile phone 3 is determined (step S10).

制御部4は、上記した処理を実行することで、通信相手である携帯電話機3が特定機種であると判定すると、図4に示したように、HFP、AVRCP及びA2DP、SPPの順序にしたがってプロファイルを順次接続する。   When the control unit 4 determines that the mobile phone 3 that is the communication partner is a specific model by executing the above-described processing, the profile according to the order of HFP, AVRCP, A2DP, and SPP as shown in FIG. Are connected in sequence.

即ち、制御部4は、通信相手である携帯電話機3が普通機種であるか特定機種であるかに応じてプロファイルを接続する順序が異なる。制御部4は、通信相手である携帯電話機3が普通機種であると判定すると、HFPを接続させた後に、先にSPPを接続させて後からAVRCP及びA2DPを接続させる。一方、制御部4は、通信相手である携帯電話機3が特定機種であると判定すると、HFPを接続させた後に、先にAVRCP及びA2DPを接続させて後からSPPを接続させる。   That is, the control unit 4 has a different order of connecting profiles depending on whether the mobile phone 3 that is the communication partner is a normal model or a specific model. If the control unit 4 determines that the mobile phone 3 that is the communication partner is a normal model, after connecting the HFP, the control unit 4 first connects the SPP and then connects the AVRCP and A2DP. On the other hand, if the control unit 4 determines that the mobile phone 3 that is the communication partner is a specific model, after connecting the HFP, the control unit 4 first connects the AVRCP and A2DP, and then connects the SPP later.

通信相手である携帯電話機3が特定機種であると判定した場合に、本実施形態のように図4に示したように制御部4がHFPを接続させた後にAVRCP及びA2DPを接続させる場合と、図5に示すように制御部4が通信相手である携帯電話機3が普通機種である場合と同様にしてHFPを接続させた後にSPPを接続させてからAVRCP及びA2DPを接続させる場合とを対比すると、前者のHFP接続処理を完了してからAVRCP接続要求を送信するまでの時間(図4中「T1」参照)は相対的に短く、後者のHFP接続処理を完了してからAVRCP接続要求を送信するまでの時間(図5中「T2」参照)は相対的に長くなる。即ち、制御部4は、通信相手である携帯電話機3が特定機種であると判定すると、HFPを接続させた後でAVRCPを接続させることで、HFP接続処理を完了してからAVRCP接続処理を開始するまでの時間を短縮している。   When it is determined that the mobile phone 3 that is the communication partner is a specific model, the control unit 4 connects the AFP and A2DP after connecting the HFP as shown in FIG. As shown in FIG. 5, the control unit 4 compares the case where the AVP and A2DP are connected after the SPP is connected after the HFP is connected in the same manner as when the mobile phone 3 as the communication partner is a normal model. The time from the completion of the former HFP connection processing to the transmission of the AVRCP connection request (see “T1” in FIG. 4) is relatively short, and the AVRCP connection request is transmitted after the latter HFP connection processing is completed. The time until the process (see “T2” in FIG. 5) is relatively long. That is, when the control unit 4 determines that the mobile phone 3 that is the communication partner is a specific model, the AVRCP is connected after the HFP is connected, thereby starting the AVRCP connection process after completing the HFP connection process. The time to do is shortened.

制御部4は、不揮発性記憶部7から読出した音データの種別がBTオーディオである、即ち、前回の装置電源がオフした直前で携帯電話機3に記憶されている音データを転送させてスピーカ18a、18bから出力させていたと判定すると、SPPによる制御データを無効とする。そして、制御部4は、音データの出力開始要求を示す音データ出力開始要求コマンドをBTモジュール5からAVRCPによりBTモジュール25へ送信させ、制御データをAVRCPによりBTモジュール5とBTモジュール25との間で送受信させ、音データをBTモジュール25からA2DPによりBTモジュール5へ転送させてスピーカ18a、18bから出力させる(ステップS11)。SPPによる制御データを無効とすることの意味は、BTモジュール5とBTモジュール25との間で接続させているSPPを切断させることではなく、SPPの接続を継続したままで制御データの転送をソフトウェア上で無効とすること(データを送信しない、データを受信しても無視する(認識しない)等)である。   The control unit 4 transfers the sound data stored in the mobile phone 3 immediately before the device power is turned off immediately before the device power is turned off, that is, the type of the sound data read from the non-volatile storage unit 7 is the BT audio. , 18b, the control data by SPP is invalidated. Then, the control unit 4 transmits a sound data output start request command indicating a sound data output start request from the BT module 5 to the BT module 25 by AVRCP, and transmits control data between the BT module 5 and the BT module 25 by AVRCP. The sound data is transferred from the BT module 25 to the BT module 5 by A2DP and output from the speakers 18a and 18b (step S11). The meaning of invalidating the control data by the SPP is not to disconnect the SPP connected between the BT module 5 and the BT module 25, but to transfer the control data while maintaining the SPP connection. It is invalidated on the above (data is not transmitted, data is ignored even if it is received (not recognized), etc.).

一方、制御部4は、不揮発性記憶部7から読出した音データの種別がインターネットラジオである、即ち、前回の装置電源がオフした直前で通信網35側のサーバ36に記憶されている音データを転送させてスピーカ18a、18bから出力させていたと判定すると、AVRCPによる制御データを無効とする。そして、制御部4は、音データの出力開始要求を示す音データ出力開始要求コマンドをBTモジュール5からSPPによりBTモジュール25へ送信させ、制御データをSPPによりBTモジュール5とBTモジュール25との間で送受信させ、音データをBTモジュール25からA2DPによりBTモジュール5へ転送させてスピーカ18a、18bから出力させる(ステップS12)。AVRCPによる制御データを無効とすることの意味は、BTモジュール5とBTモジュール25との間で接続させているAVRCPを切断させることではなく、AVRCPの接続を継続したままで制御データの転送をソフトウェア上で無効とすること(データを送信しない、データを受信しても無視する(認識しない)等)である。   On the other hand, the control unit 4 has the type of sound data read from the non-volatile storage unit 7 as Internet radio, that is, the sound data stored in the server 36 on the communication network 35 immediately before the previous device power is turned off. If it is determined that the data is output from the speakers 18a and 18b, the control data by AVRCP is invalidated. Then, the control unit 4 transmits a sound data output start request command indicating a sound data output start request from the BT module 5 to the BT module 25 by SPP, and transmits control data between the BT module 5 and the BT module 25 by SPP. The sound data is transferred from the BT module 25 to the BT module 5 by A2DP and output from the speakers 18a and 18b (step S12). The meaning of invalidating the control data by AVRCP is not to disconnect the AVRCP connected between the BT module 5 and the BT module 25, but to transfer the control data while maintaining the AVRCP connection. It is invalidated on the above (data is not transmitted, data is ignored even if it is received (not recognized), etc.).

即ち、制御部4は、携帯電話機3に記憶されている音データを転送させて出力させる場合には、制御データをAVRCPによりBTモジュール5とBTモジュール25との間で送受信させ、音データをBTモジュール25からA2DPによりBTモジュール5へ転送させてスピーカ18a、18bから出力させる。一方、制御部4は、通信網35側のサーバ36に記憶されている音データを携帯電話機3にて順次バッファリングしつつ転送させて出力させる場合には、AVRCPに代えてSPPを採用することで、制御データをSPPによりBTモジュール5とBTモジュール25との間で送受信させ、音データをBTモジュール25からA2DPによりBTモジュール5へ転送させてスピーカ18a、18bから出力させる。   That is, when the sound data stored in the mobile phone 3 is transferred and output, the control unit 4 transmits and receives the control data between the BT module 5 and the BT module 25 by AVRCP, and transmits the sound data to the BT. The data is transferred from the module 25 to the BT module 5 by A2DP and output from the speakers 18a and 18b. On the other hand, when the sound data stored in the server 36 on the communication network 35 side is transferred while being buffered sequentially by the mobile phone 3, the control unit 4 adopts SPP instead of AVRCP. Then, the control data is transmitted and received between the BT module 5 and the BT module 25 by SPP, and the sound data is transferred from the BT module 25 to the BT module 5 by A2DP and output from the speakers 18a and 18b.

このようにインターネットラジオの音データを転送させる場合に、BTオーディオの音データを転送させる場合と同様にして制御データをAVRCPにより送受信すると、携帯電話機3との間で任意のコマンドや任意のデータ(ペイロード)を送受信することが不可能であるが、制御データを送受信するプロファイルとしてAVRCPに代えてSPPを採用することで、携帯電話機3との間で任意のコマンドや任意のデータを送受信することが可能となる。その結果、例えば放送局の選局や編集に関する操作や楽曲に関する画像データの入手等の充実した機能を提供することができる。   In this way, when transmitting the sound data of Internet radio, if the control data is transmitted and received by AVRCP in the same manner as when transferring the sound data of BT audio, any command or arbitrary data ( Although it is impossible to transmit / receive (payload), it is possible to transmit / receive arbitrary commands and arbitrary data to / from mobile phone 3 by adopting SPP instead of AVRCP as a profile for transmitting / receiving control data. It becomes possible. As a result, it is possible to provide rich functions such as operations related to selection and editing of broadcasting stations and acquisition of image data related to music.

上記した構成では、制御部4は、通信相手である携帯電話機3が普通機種であるか特定機種であるかに応じてプロファイルを接続する順序を異ならせた。しかしながら、制御部4は、通信相手である携帯電話機3が普通機種であるか特定機種であるかを判定することなく、図4に示したように、HFPを接続させた後に、先にAVRCP及びA2DPを接続させて後からSPPを接続させても良い。このように構成すれば、将来的に特定機種に該当する新しい携帯電話機3が発売された場合にも、音データをA2DPにより転送させることが可能となる。   In the configuration described above, the control unit 4 changes the order in which the profiles are connected depending on whether the mobile phone 3 that is the communication partner is a normal model or a specific model. However, the control unit 4 does not determine whether the mobile phone 3 as the communication partner is a normal model or a specific model, and after connecting the HFP, as shown in FIG. The SPP may be connected after the A2DP is connected. With this configuration, even when a new mobile phone 3 corresponding to a specific model is released in the future, sound data can be transferred by A2DP.

又、制御部4は、通信相手である携帯電話機3が普通機種であるか特定機種であるかを判定することなく、図3に示したように、HFPを接続させた後に、先にSPPを接続させて後からAVRCP及びA2DPを接続させても良い。このように構成すれば、制御部4は、いち早くSPPを接続させておく方が例えば通信網35側の各種サーバとの通信を伴うユーザ操作が発生した場合に、その結果をいち早くユーザに提示することができる。即ち、SPP接続処理に要する時間分だけ短縮することができる。   Further, the control unit 4 does not determine whether the mobile phone 3 as the communication partner is a normal model or a specific model, and after connecting the HFP, as shown in FIG. AVRCP and A2DP may be connected after connection. If comprised in this way, when the user operation accompanying communication with the various servers by the side of the communication network 35 will generate | occur | produce, the control part 4 will show a result to a user as soon as possible when the SPP is connected earlier. be able to. That is, the time required for the SPP connection process can be shortened.

又、制御部4は、HFPを接続させ、SPPを接続させた後に、装置電源をオフする直前で携帯電話機3から転送させていた音データの種別を判定し(ステップS10)、装置電源をオフする直前で携帯電話機3から転送させていた音データがインターネットラジオであったと判定すると、A2DPを接続させ、一方、装置電源をオフする直前で携帯電話機3から転送させていた音データがBTオーディオであったと判定すると、AVRCP及びA2DPを接続させても良い。このように構成すれば、制御部4は、インターネットラジオであった場合に、AVRCPを接続しないことから、AVRCPによる制御データを無効とする必要はなくなる。   Further, the control unit 4 determines the type of sound data transferred from the mobile phone 3 immediately after the HFP is connected and the SPP is connected and immediately before the device power is turned off (step S10), and the device power is turned off. If it is determined that the sound data transferred from the mobile phone 3 just before the Internet radio was Internet radio, the A2DP is connected, while the sound data transferred from the mobile phone 3 just before the device power is turned off is BT audio. If it is determined that there is, AVRCP and A2DP may be connected. With this configuration, the control unit 4 does not need to invalidate the control data by AVRCP because it does not connect AVRCP in the case of Internet radio.

又、制御部4は、HFPを接続させた後に、装置電源をオフする直前で携帯電話機3から転送させていた音データの種別を判定し(ステップS10)、装置電源をオフする直前で携帯電話機3から転送させていた音データがインターネットラジオであったと判定すると、SPP及びA2DPを接続させ、一方、装置電源をオフする直前で携帯電話機3から転送させていた音データがBTオーディオであったと判定すると、AVRCP及びA2DPを接続させても良い。このように構成すれば、制御部4は、インターネットラジオであった場合に、AVRCPを接続しないことから、AVRCPによる制御データを無効とする必要はなくなり、BTオーディオであった場合に、SPPを接続しないことから、SPPによる制御データを無効とする必要はなくなる。   Further, the control unit 4 determines the type of sound data transferred from the mobile phone 3 immediately after turning off the device power after connecting the HFP (step S10), and immediately before turning off the device power. If it is determined that the sound data transferred from 3 is Internet radio, it is determined that the sound data transferred from the mobile phone 3 immediately before turning off the apparatus power supply is connected to the SPP and A2DP. Then, AVRCP and A2DP may be connected. With this configuration, the control unit 4 does not connect AVRCP when it is Internet radio, so it is not necessary to invalidate control data by AVRCP, and when it is BT audio, it connects SPP. Therefore, it is not necessary to invalidate the control data by SPP.

又、制御部4は、HFP、SPP、AVRCP及びA2DPの順序で接続処理を行うようにデフォルトを設定しておき、通信相手である特定機種の携帯電話機3からAVRCP接続要求を受信した場合に、そのAVRCP接続要求を許可してAVRCP接続処理を優先的に実行するようにして良い。この場合、制御部4は、AVRCP接続処理を完了すると、特定機種の携帯電話機3からA2DP接続要求を受信することになり、そのA2DP接続要求を許可してA2DP接続処理を実行しても良い。このように構成すれば、制御部4は、通信相手が特定機種の携帯電話機3であっても、SPP接続処理を完了する前又は後においてAVRCP処理及びA2DP接続処理を完了することができる。   In addition, when the control unit 4 sets a default so as to perform connection processing in the order of HFP, SPP, AVRCP, and A2DP, and receives an AVRCP connection request from the mobile phone 3 of a specific model as a communication partner, The AVRCP connection request may be permitted to preferentially execute the AVRCP connection process. In this case, when the AVRCP connection process is completed, the control unit 4 receives an A2DP connection request from the mobile phone 3 of a specific model, and may permit the A2DP connection request and execute the A2DP connection process. If comprised in this way, the control part 4 can complete an AVRCP process and an A2DP connection process before or after completing an SPP connection process, even if the communication partner is a mobile phone 3 of a specific model.

又、制御部4は、HFP、SPP、AVRCP及びA2DPの順序で接続処理を行うようにデフォルトを設定しておき、通信相手である特定機種の携帯電話機3からAVRCP接続要求を受信した場合に、そのAVRCP接続要求を一旦拒否し、そのAVRCP接続要求を拒否したことをトリガとして、AVRCP接続要求を送信し、AVRCP接続処理を優先的に実行するようにしても良い。この場合も、制御部4は、AVRCP接続処理を完了すると、特定機種の携帯電話機3からA2DP接続要求を受信することになり、そのA2DP接続要求を許可してA2DP接続処理を実行しても良い。このように構成すれば、制御部4は、通信相手が特定機種の携帯電話機3である場合に、HFP接続処理を完了してからAVRCP接続要求を送信するまでの時間を図4で説明した場合と同様にして相対的に短くすることができる。   In addition, when the control unit 4 sets a default so as to perform connection processing in the order of HFP, SPP, AVRCP, and A2DP, and receives an AVRCP connection request from the mobile phone 3 of a specific model as a communication partner, Alternatively, the AVRCP connection request may be temporarily rejected, and the AVRCP connection request may be transmitted with the AVRCP connection request as a trigger to preferentially execute the AVRCP connection process. Also in this case, when the AVRCP connection process is completed, the control unit 4 receives an A2DP connection request from the mobile phone 3 of a specific model, and may permit the A2DP connection request and execute the A2DP connection process. . With this configuration, when the communication partner is a mobile phone 3 of a specific model, the control unit 4 has described the time from the completion of the HFP connection processing to the transmission of the AVRCP connection request in FIG. It can be made relatively short in the same way.

更に、AVRCP接続処理を完了した後に一定期間経過しても携帯電話機3からA2DP接続要求を受信しない場合には、車載装置2がA2DP接続要求を携帯電話機3へ送信しても良い。又、携帯電話機3に対して「再生」を指示したにも拘らず、携帯電話機3からA2DP接続要求を受信しない場合にも、同様にして車載装置2がA2DP接続要求を携帯電話機3へ送信しても良い。このように車載装置2がA2DP接続要求を携帯電話機3へ送信することで、A2DPを接続することが可能となる。   Further, if the A2DP connection request is not received from the mobile phone 3 even after a predetermined period of time has elapsed after completing the AVRCP connection processing, the in-vehicle device 2 may transmit the A2DP connection request to the mobile phone 3. Even when the mobile phone 3 is instructed to “play” and does not receive an A2DP connection request from the mobile phone 3, the in-vehicle device 2 similarly transmits the A2DP connection request to the mobile phone 3. May be. As described above, the in-vehicle device 2 transmits the A2DP connection request to the mobile phone 3 so that the A2DP can be connected.

ところで、以上は、車載装置2の通信相手が1つであり、車載装置2と音データの転送元である通信相手装置とが1対1の関係でBT通信を行う場合を説明したが、次に車載装置2の通信相手が複数であり、車載装置2と音データの転送元である通信相手装置とが1対複数の関係でBT通信を行う場合について、図6乃至図9を参照して説明する。   By the way, the case where the communication partner of the in-vehicle device 2 is one and the in-vehicle device 2 and the communication partner device that is the sound data transfer source perform the BT communication in a one-to-one relationship has been described above. In the case where there are a plurality of communication partners of the in-vehicle device 2 and the BT communication is performed in a one-to-many relationship between the in-vehicle device 2 and the communication partner device that is the sound data transfer source with reference to FIGS. explain.

車載装置2においては、複数のBT通信相手を登録することができ、何れをハンズフリー電話機として利用するか、何れを音楽再生機器(ポータブル機器)として利用するか等を用途に応じて予めユーザが設定しておくことが可能である。ここでのポータブル機器の音楽再生とは通信相手装置の不揮発性記憶部に記憶されている音データの再生である。以下、ポータブル機器として携帯電話機3aが設定されており、ハンズフリー電話機及びサーバ36との間でのデータ通信機器として携帯電話機3bが設定されている状況で装置電源がオンされた場合の動作について説明する。   In the in-vehicle device 2, a plurality of BT communication partners can be registered, and the user determines in advance which one is used as a hands-free telephone, which is used as a music playback device (portable device), and the like. It is possible to set. Here, the music reproduction of the portable device is reproduction of sound data stored in the nonvolatile storage unit of the communication partner apparatus. Hereinafter, the operation when the apparatus power is turned on in a state where the mobile phone 3a is set as the portable device and the mobile phone 3b is set as the data communication device between the hands-free phone and the server 36 will be described. To do.

車載装置2において、制御部4は、図6に示すように、HFP接続要求をBTモジュール5へ出力し(ステップS301)、HFPをBTモジュール5と携帯電話機3bのBTモジュール24との間で接続させるHFP接続処理を実行する(ステップS21)。   In the in-vehicle device 2, as shown in FIG. 6, the control unit 4 outputs an HFP connection request to the BT module 5 (step S301), and connects the HFP between the BT module 5 and the BT module 24 of the mobile phone 3b. The HFP connection process to be executed is executed (step S21).

ここで、制御部4は、通信相手の携帯電話機3bが特定機種である場合、HFP接続処理を完了した後にAVRCP接続要求を車載装置2へ送信する(ステップS303)。ここで、制御部4は、携帯電話機3bのBTモジュール24からAVRCP接続要求をBTモジュール5により受信したと判定すると、携帯電話機3bがポータブル機器として設定されているか否かを判定する。本実施形態では、携帯電話機3bとは異なる通信相手(携帯電話機3a)がポータブル機器として設定されていることから、制御部4は、その判定結果により、携帯電話機3bからのAVRCP接続要求を拒否し、AVRCP接続拒否をBTモジュール5から携帯電話機3bのBTモジュール24へ送信させる(ステップS304)。尚、制御部4は、仮に携帯電話機3bがポータブル機器として設定されていれば、携帯電話機3bからのAVRCP接続要求を拒否することなく許可し、AVRCP接続処理を実行すれば良い。   Here, when the communication partner mobile phone 3b is a specific model, the control unit 4 transmits an AVRCP connection request to the in-vehicle device 2 after completing the HFP connection process (step S303). Here, when the control unit 4 determines that the AVRCP connection request is received by the BT module 5 from the BT module 24 of the mobile phone 3b, it determines whether or not the mobile phone 3b is set as a portable device. In this embodiment, since a communication partner (mobile phone 3a) different from the mobile phone 3b is set as the portable device, the control unit 4 rejects the AVRCP connection request from the mobile phone 3b based on the determination result. The AVRCP connection rejection is transmitted from the BT module 5 to the BT module 24 of the mobile phone 3b (step S304). If the mobile phone 3b is set as a portable device, the control unit 4 may permit the AVRCP connection request from the mobile phone 3b without rejecting and execute the AVRCP connection process.

制御部4は、BTモジュール5からHFP接続完了が通知され(ステップS302)、HFP接続処理を完了したと判定すると、AVRCP及びA2DP接続要求をBTモジュール5へ出力する(ステップS305)。この場合、制御部4は、携帯電話機3aがポータブル機器として設定されていることから、AVRCPをBTモジュール5と携帯電話機3aのBTモジュール24との間で接続させるAVRCP接続処理を実行し(ステップS22)、A2DPをBTモジュール5と携帯電話機3aのBTモジュール24との間で接続させるA2DP接続処理を実行する(ステップS23)。そして、制御部4は、BTモジュールからAVRCP及びA2DP接続完了が通知された後に(ステップS306)、制御データをAVRCPによりBTモジュール5と携帯電話機3aのBTモジュール24との間で送受信させ、音データを携帯電話機3aのBTモジュール24からA2DPによりBTモジュール5へ転送させてスピーカ18a、18bから出力させる。   When the control unit 4 is notified of the completion of the HFP connection from the BT module 5 (step S302) and determines that the HFP connection process has been completed, the control unit 4 outputs an AVRCP and A2DP connection request to the BT module 5 (step S305). In this case, since the mobile phone 3a is set as a portable device, the control unit 4 executes AVRCP connection processing for connecting the AVRCP between the BT module 5 and the BT module 24 of the mobile phone 3a (step S22). ), A2DP connection processing for connecting A2DP between the BT module 5 and the BT module 24 of the mobile phone 3a is executed (step S23). Then, after the AVRCP and A2DP connection completion is notified from the BT module (step S306), the control unit 4 transmits and receives control data between the BT module 5 and the BT module 24 of the mobile phone 3a by AVRCP, and transmits sound data. Is transferred from the BT module 24 of the mobile phone 3a to the BT module 5 by A2DP and output from the speakers 18a and 18b.

続いて、ユーザ操作によりポータブル機器の音楽再生から例えばインターネットラジオのように通信網35側のサーバ36に記憶されている音データの再生に切換えた場合の動作について説明する。   Next, description will be made of an operation in the case of switching from music playback of a portable device to playback of sound data stored in the server 36 on the communication network 35 side, for example, as an Internet radio, by user operation.

制御部4は、音データの転送元を携帯電話機3aから通信網35側のサーバ36に切換える切換操作が行われたと判定すると、AVRCP及びA2DP切断要求をBTモジュール5へ出力し(ステップS307)、BTモジュール5と携帯電話機3aのBTモジュール24との間で接続させているAVRCPを切断させるAVRCP切断処理を実行し(ステップS24)、BTモジュール5と携帯電話機3aのBTモジュール24との間で接続させているA2DPを切断させるA2DP切断処理を実行する(ステップS25)。   When the control unit 4 determines that a switching operation for switching the sound data transfer source from the mobile phone 3a to the server 36 on the communication network 35 side has been performed, the control unit 4 outputs an AVRCP and A2DP disconnect request to the BT module 5 (step S307). AVRCP disconnection processing is performed to disconnect the AVRCP connected between the BT module 5 and the BT module 24 of the mobile phone 3a (step S24), and the connection is made between the BT module 5 and the BT module 24 of the mobile phone 3a. An A2DP cutting process for cutting the A2DP being performed is executed (step S25).

仮にその後、制御部4が、携帯電話機3bとの間でSPPを接続し、AVRCP接続を完了したとしても、HFP接続完了から所定時間経過していた場合には、特定機種である携帯電話機3bからA2DP接続要求が送信されないことから、A2DP未接続のままとなる。そのため、通信網35側のサーバ36に記憶されている音データの再生を指示しても、音データがA2DPにより転送されることはなく携帯電話機3bのスピーカ32から音データが出力されることとなる。   Even after that, even if the control unit 4 connects the SPP with the mobile phone 3b and completes the AVRCP connection, if the predetermined time has passed since the completion of the HFP connection, the control unit 4 starts from the mobile phone 3b which is a specific model. Since the A2DP connection request is not transmitted, A2DP remains unconnected. Therefore, even if an instruction to reproduce the sound data stored in the server 36 on the communication network 35 side is given, the sound data is not transferred by A2DP, and the sound data is output from the speaker 32 of the mobile phone 3b. Become.

そこで、制御部4は、BTモジュール5と携帯電話機3aのBTモジュール24との間で接続させているAVRCP及びA2DPを切断させた後に、図7に示すように、HFP切断要求をBTモジュール5へ出力し(ステップS309)、BTモジュール5と携帯電話機3bのBTモジュール24との間で接続させているHFPを切断させるHFP切断処理を実行する(ステップS26)。   Therefore, the control unit 4 disconnects the AVRCP and A2DP connected between the BT module 5 and the BT module 24 of the mobile phone 3a, and then sends an HFP disconnection request to the BT module 5 as shown in FIG. Output (step S309), HFP disconnection processing for disconnecting the HFP connected between the BT module 5 and the BT module 24 of the mobile phone 3b is executed (step S26).

次いで、制御部4は、BTモジュール5からHFP切断完了が通知されると(ステップS310)、HFP接続要求をBTモジュール5へ出力し(ステップS311)、その切断させたHFPをBTモジュール5と携帯電話機3bのBTモジュール24との間で再接続させるHFP接続処理を実行する(ステップS27)。   Next, when the completion of HFP disconnection is notified from the BT module 5 (step S310), the control unit 4 outputs an HFP connection request to the BT module 5 (step S311), and the disconnected HFP is carried with the BT module 5. An HFP connection process for reconnecting with the BT module 24 of the telephone 3b is executed (step S27).

次いで、制御部4は、BTモジュール5からHFP接続完了が通知されると(ステップS312)、AVRCP及びA2DP接続要求をBTモジュール5へ出力し(ステップS313)、AVRCPをBTモジュール5と携帯電話機3bのBTモジュール24との間で接続させるAVRCP接続処理を実行し(ステップS28)、A2DPをBTモジュール5と携帯電話機3bのBTモジュール24との間で接続させるA2DP接続処理を実行する(ステップS29)。   Next, when the HFP connection completion is notified from the BT module 5 (step S312), the control unit 4 outputs an AVRCP and A2DP connection request to the BT module 5 (step S313), and the AVRCP is transmitted to the BT module 5 and the mobile phone 3b. AVRCP connection processing for connecting to the BT module 24 is executed (step S28), and A2DP connection processing for connecting A2DP between the BT module 5 and the BT module 24 of the mobile phone 3b is executed (step S29). .

次いで、制御部4は、BTモジュール5からAVRCP及びA2DP接続完了が通知されると(ステップS314)、SPP接続要求をBTモジュール5へ出力し(ステップS315)、SPPをBTモジュール5と携帯電話機3bのBTモジュール24との間で接続させるSPP接続処理を実行する(ステップS30)。   Next, when the AVRCP and A2DP connection completion is notified from the BT module 5 (step S314), the control unit 4 outputs an SPP connection request to the BT module 5 (step S315), and the SPP is transmitted to the BT module 5 and the cellular phone 3b. An SPP connection process for connecting to the BT module 24 is executed (step S30).

即ち、制御部4は、このように接続させていたHFPを一旦切断させ、その切断させたHFPを再接続した後に、AVRCP及びA2DPを接続させ、SPPを接続させることで、HFP接続処理を完了してからAVRCP接続要求を送信するまでの時間(図7中「T3」参照)を相対的に短くしている。この状態では、制御部4は、制御データをSPPによりBTモジュール5と携帯電話機3bのBTモジュール24との間で送受信させ、通信網35側のサーバ36に記憶されている音データを携帯電話機3bのBTモジュール24からA2DPによりBTモジュール5へ転送させてスピーカ18a、18bから出力させることができる。尚、制御部4は、接続させていたHFPを一旦切断させて再接続させる処理は、携帯電話機3bが特定機種であると判定した場合、又はAVRCP接続完了後に携帯電話機3bからA2DP接続要求を受信しなかったと判定した場合にのみ行うように構成しても良い。   That is, the control unit 4 completes the HFP connection process by temporarily disconnecting the HFP thus connected, reconnecting the disconnected HFP, connecting the AVRCP and A2DP, and connecting the SPP. Then, the time from when the AVRCP connection request is transmitted (refer to “T3” in FIG. 7) is relatively shortened. In this state, the control unit 4 transmits and receives control data between the BT module 5 and the BT module 24 of the mobile phone 3b by SPP, and transmits sound data stored in the server 36 on the communication network 35 side to the mobile phone 3b. The BT module 24 can be transferred to the BT module 5 by A2DP and output from the speakers 18a and 18b. In addition, the control unit 4 receives the A2DP connection request from the mobile phone 3b when it is determined that the mobile phone 3b is a specific model, or after the AVRCP connection is completed, in the process of temporarily disconnecting and reconnecting the connected HFP. You may comprise so that it may perform only when it determines with having not performed.

又、制御部4は、車載装置2と携帯電話機3bとの間でHFPに加えてSPPも接続されていた状態で、音データの転送元の切換えが発生した場合には、HFP及びSPPの双方を一旦切断させ、HFP再接続させ、AVRCP及びA2DPを接続させ、SPPを再接続させれば良い。   In addition, when the SPP is switched between the in-vehicle device 2 and the mobile phone 3b in addition to the HFP, the control unit 4 switches both the HFP and the SPP when the sound data transfer source is switched. Is temporarily disconnected, HFP is reconnected, AVRCP and A2DP are connected, and SPP is reconnected.

又、以上は、ユーザ操作によりポータブル機器の音楽再生から例えばインターネットラジオのように通信網35側のサーバ36に記憶されている音データの再生に切換えた場合の動作について説明したが、ポータブル機器の設定が携帯電話機3aから携帯電話機3bに変更され、携帯電話機3aに記憶されている音データの再生から携帯電話機3bに記憶されている音データの再生に切換えた場合も同様である。即ち、制御部4は、図6及び図7に示したステップS301からステップS314までの処理を実行することにより、制御データをAVRCPによりBTモジュール5と携帯電話機3bのBTモジュール24との間で送受信させ、携帯電話機3aに記憶されている音データを携帯電話機3bのBTモジュール24からA2DPによりBTモジュール5へ転送させてスピーカ18a、18bから出力させることができる。   In the above, the operation in the case where the user has switched the music playback of the portable device to the playback of the sound data stored in the server 36 on the communication network 35 side, such as Internet radio, has been described. The same applies when the setting is changed from the mobile phone 3a to the mobile phone 3b and the sound data stored in the mobile phone 3a is switched to the playback of the sound data stored in the mobile phone 3b. That is, the control unit 4 transmits and receives control data between the BT module 5 and the BT module 24 of the mobile phone 3b by AVRCP by executing the processing from step S301 to step S314 shown in FIGS. Then, the sound data stored in the mobile phone 3a can be transferred from the BT module 24 of the mobile phone 3b to the BT module 5 by A2DP and output from the speakers 18a and 18b.

又、制御部4は、AVRCP接続処理とA2DP接続処理とを別々に(切離して)実行することも可能である。即ち、BTモジュール24からのA2DP接続要求を待つのではなく、BTモジュール5からA2DP接続要求を送信することも可能である。   The control unit 4 can also execute the AVRCP connection process and the A2DP connection process separately (separately). That is, instead of waiting for an A2DP connection request from the BT module 24, it is also possible to transmit an A2DP connection request from the BT module 5.

制御部4は、図6に示したステップS301〜ステップS308までを実行した後、図8に示すように、SPP接続要求をBTモジュール5へ出力し(ステップS401)、SPPをBTモジュール5と携帯電話機3bのBTモジュール24との間で接続させるSPP接続処理を実行し(ステップS41)、BTモジュール5からSPP接続完了が通知された後に(ステップS402)、A2DP接続要求をBTモジュール5へ出力し(ステップS403)、A2DPをBTモジュール5と携帯電話機3bのBTモジュール24との間で接続させるA2DP接続処理を実行しても良い(ステップS42)。この場合、制御部4は、BTモジュール5から携帯電話機3bのBTモジュール24へA2DP接続要求信号が送信されることを契機として、即ち、BTモジュール5からA2DP接続処理を開始する。このように構成すれば、HFPを一旦切断させて再接続させる処理は不要となる。   After executing steps S301 to S308 shown in FIG. 6, the control unit 4 outputs an SPP connection request to the BT module 5 as shown in FIG. 8 (step S401), and carries the SPP with the BT module 5. An SPP connection process for connecting to the BT module 24 of the telephone 3b is executed (step S41). After the completion of the SPP connection is notified from the BT module 5 (step S402), an A2DP connection request is output to the BT module 5. (Step S403) A2DP connection processing for connecting the A2DP between the BT module 5 and the BT module 24 of the mobile phone 3b may be executed (Step S42). In this case, the control unit 4 starts the A2DP connection process from the BT module 5 when the A2DP connection request signal is transmitted from the BT module 5 to the BT module 24 of the mobile phone 3b. If comprised in this way, the process which once disconnects and reconnects HFP will become unnecessary.

次に、A2DPの接続を完了した後の動作について説明する。通信相手である携帯電話機3の仕様によっては、A2DPの接続を完了した後でも音データの通信路をクローズしたままでオープンしない場合がある。この点を考慮し、制御部4は、図9及び図10に示す処理を行う。   Next, an operation after the A2DP connection is completed will be described. Depending on the specifications of the mobile phone 3 that is the communication partner, the sound data communication path may remain closed even after the A2DP connection is completed. Considering this point, the control unit 4 performs the processes shown in FIGS.

即ち、制御部4は、SPP、A2DP及びAVRCPの接続を完了した状態で(S51〜S53)、例えばユーザがインターネットラジオの再生開始要求の操作を操作装置22にて行ったと判定すると、通信路オープン要求をBTモジュール5へ出力すると共に、第2の設定時間(T5)を計時するタイマを作動開始する。   That is, when the control unit 4 determines that the operation of the Internet radio reproduction start request is performed by the operation device 22 in a state where the connection of the SPP, A2DP, and AVRCP is completed (S51 to S53), for example, the communication channel is opened. A request is output to the BT module 5 and a timer for measuring the second set time (T5) is started.

BTモジュール5は、制御部4から通信路オープン要求を入力すると、第1の設定時間(T4)を計時するタイマを作動開始し、第1の設定時間が経過したと判定すると、BTモジュール25との間で接続している音データの通信路がオープンしている(通信チャネルが確立されている)か否かを判定する(S54)。ここでいう第1の設定時間や第2の設定時間は、例えば複数機種の携帯電話機3の仕様に応じて設定すれば良い。例えばA2DPの接続を完了した後に音データの通信路を自発的にオープンする携帯電話機3を対象とし、A2DPの接続を完了した時点から音データの通信路をオープンするまでの時間を機種毎に集計し、その最長値よりも長い時間(例えば6秒)を第1の設定時間として設定すれば良い。又、音データの通信路をオープンするのに要する処理時間を考慮し、このようにして設定した第1の設定時間よりも長い時間(例えば8秒)を第2の設定時間として設定すれば良い。   When the BT module 5 receives a communication channel open request from the control unit 4, the BT module 5 starts operating a timer for measuring the first set time (T4), and determines that the first set time has elapsed. It is determined whether or not a communication path for sound data connected between the two is open (a communication channel has been established) (S54). Here, the first set time and the second set time may be set according to the specifications of a plurality of types of mobile phones 3, for example. For example, for a cellular phone 3 that spontaneously opens a sound data communication path after completing the A2DP connection, the time from the completion of the A2DP connection until the sound data communication path is opened is counted for each model. Then, a time longer than the longest value (for example, 6 seconds) may be set as the first set time. In consideration of the processing time required to open the sound data communication path, a time (for example, 8 seconds) longer than the first setting time set in this way may be set as the second setting time. .

BTモジュール5は、音データの通信路がクローズしており、音データの通信路がオープンしていないと判定すると(S54:NO)、図9に示すように、通信路オープン要求を携帯電話機3のBTモジュール25へ送信し、制御部4からの再生コマンドの入力を待機する。BTモジュール25は、BTモジュール5から通信路オープン要求を受信すると、音データの通信路をオープンする。一方、BTモジュール5は、携帯電話機3が自発的に動作することで、クローズしていた音データの通信路がオープンし、音データの通信路がオープンしていると判定すると(S54:YES)、図10に示すように、通信路オープン要求を携帯電話機3のBTモジュール25へ送信することなく、制御部4からの再生コマンドの入力を待機する。   If the BT module 5 determines that the sound data communication path is closed and the sound data communication path is not open (S54: NO), as shown in FIG. To the BT module 25 and waits for the input of a reproduction command from the control unit 4. When receiving the communication channel open request from the BT module 5, the BT module 25 opens the communication channel for sound data. On the other hand, when the mobile phone 3 spontaneously operates, the BT module 5 determines that the closed sound data communication path is open and the sound data communication path is open (S54: YES). As shown in FIG. 10, without waiting for the communication path open request to be sent to the BT module 25 of the mobile phone 3, the input of the reproduction command from the control unit 4 is waited.

制御部4は、第2の設定時間を計時するタイマを作動開始した後に、第2の設定時間が経過したと判定すると、再生コマンドをBTモジュール5へ出力する。BTモジュール5は、制御部4から再生コマンドを入力すると、その入力した再生コマンドをBTモジュール25へ送信する。BTモジュール25は、BTモジュール5から再生コマンドを受信すると、再生コマンドを許容したことを示すサクセスコマンドをBTモジュール5へ送信し、通信網35側のサーバ36から受信したインターネットラジオの音データをバッファリングしつつ(S55)、そのバッファリングした音データをBTモジュール5へ送信する。BTモジュール5は、BTモジュール25からサクセスコマンドを受信すると、その受信したサクセスコマンドを制御部4へ出力し、BTモジュール25から音データを受信すると、その受信した音データを制御部4へ出力する。制御部4は、このようにして携帯電話機3から受信された音データをスピーカ18a、18bから出力させる。   If the control unit 4 determines that the second set time has elapsed after starting the timer for measuring the second set time, it outputs a reproduction command to the BT module 5. When the BT module 5 receives a playback command from the control unit 4, the BT module 5 transmits the input playback command to the BT module 25. When receiving the reproduction command from the BT module 5, the BT module 25 transmits a success command indicating that the reproduction command is permitted to the BT module 5, and buffers the Internet radio sound data received from the server 36 on the communication network 35 side. While buffering (S55), the buffered sound data is transmitted to the BT module 5. When receiving the success command from the BT module 25, the BT module 5 outputs the received success command to the control unit 4. When receiving the sound data from the BT module 25, the BT module 5 outputs the received sound data to the control unit 4. . The controller 4 causes the sound data received from the mobile phone 3 in this way to be output from the speakers 18a and 18b.

即ち、車載装置2において、通信相手である携帯電話機3がA2DPの接続を完了した後に音データの通信路をクローズしたままでオープンしない仕様であると、その後に再生コマンドを携帯電話機3へ送信したとしても、音データの通信路をクローズしたままであるので、図11に示すように、携帯電話機3から音データが転送されることなく、音データが携帯電話機3のスピーカ32から出力されることになる。   That is, in the in-vehicle device 2, if the mobile phone 3 that is the communication partner completes the A2DP connection and the specification is such that the communication path of the sound data is closed and does not open, then a playback command is transmitted to the mobile phone 3. However, since the communication path of the sound data remains closed, the sound data is output from the speaker 32 of the mobile phone 3 without being transferred from the mobile phone 3 as shown in FIG. become.

これに対し、本実施形態では、車載装置2において、通信相手である携帯電話機3がA2DPの接続を完了した後に音データの通信路をクローズしたままでオープンしない仕様であっても、再生コマンドを携帯電話機3へ送信する前に通信路オープン要求を送信することで、その後に再生コマンドを携帯電話機3へ送信した段階で音データの通信路をオープンしておくことができる。その結果、携帯電話機3から音データが転送され、音データが自機のスピーカ18a、18bから出力されることになる。尚、以上は、通信網35側のサーバ36から携帯電話機3に受信されたインターネットラジオの音データが出力される場合を説明したが、携帯電話機3の不揮発性記憶部28に記憶されている音データ(携帯電話機3に登録されている楽曲データ)が出力される場合も同様である。   On the other hand, in the present embodiment, in the in-vehicle device 2, even if the mobile phone 3 that is the communication partner completes the A2DP connection and closes the communication path of the sound data, the playback command is not opened. By transmitting a communication channel open request before transmitting to the mobile phone 3, it is possible to open a communication channel for sound data when a playback command is subsequently transmitted to the mobile phone 3. As a result, the sound data is transferred from the mobile phone 3, and the sound data is output from the speakers 18a and 18b of the own device. In the above, the case where the Internet radio sound data received from the server 36 on the communication network 35 side is output to the mobile phone 3 has been described. However, the sound stored in the nonvolatile storage unit 28 of the mobile phone 3 is described. The same applies to the case where data (music data registered in the mobile phone 3) is output.

本実施形態では、制御部4が、通信路オープン要求をBTモジュール5へ出力すると共に、第2の設定時間を計時するタイマを作動開始する場合を説明したが、第2の設定時間を計時するタイマを作動開始しなくとも良い。即ち、制御部4が、通信路オープン要求をBTモジュール5へ出力した後に、通信路がオープンしたか否かを判定し、通信路がオープンしたと判定したことを条件として、再生コマンドをBTモジュール5へ出力するようにしても良い。この場合、制御部4が再生コマンドをBTモジュール5へ出力するタイミングは、通信路がオープンしたと判定するまでの時間に依存する。   In the present embodiment, the control unit 4 outputs the communication channel open request to the BT module 5 and starts the operation of the timer for measuring the second set time. However, the control unit 4 measures the second set time. It is not necessary to start the timer. That is, after the control unit 4 outputs a communication channel open request to the BT module 5, it determines whether or not the communication channel has been opened, and if it is determined that the communication channel has been opened, the playback command is sent to the BT module. 5 may be output. In this case, the timing at which the control unit 4 outputs the reproduction command to the BT module 5 depends on the time until it is determined that the communication path is open.

以上に説明したように本実施形態によれば、車載装置2において、携帯電話機3に記憶されている音データを転送させて出力する場合には、制御データをAVRCPにより送受信し、音データをA2DPにより転送させて出力するようにした。一方、通信網35側のサーバ36に記憶されている音データを携帯電話機3にて順次バッファリングしつつ転送させて出力する場合には、AVRCPに代えてSPPを採用し、制御データをSPPにより送受信し、音データをA2DPにより転送させて出力するようにした。これにより、AVRCPで規定されるコマンドに捉われることなく、任意のコマンド及び任意のデータ(ペイロード)をSPPにより送受信することができ、音データをA2DPにより転送させて出力することができる。そのため、例えばインターネットラジオにおける各種機能を提供することが可能となる。   As described above, according to the present embodiment, in the in-vehicle device 2, when the sound data stored in the mobile phone 3 is transferred and output, the control data is transmitted / received by AVRCP, and the sound data is A2DP. It was made to forward and output by. On the other hand, when sound data stored in the server 36 on the communication network 35 side is sequentially transferred and output by the mobile phone 3 while being buffered, SPP is adopted instead of AVRCP, and control data is transferred by SPP. Transmission and reception were performed, and sound data was transferred by A2DP and output. Thus, an arbitrary command and arbitrary data (payload) can be transmitted / received by SPP without being caught by a command defined by AVRCP, and sound data can be transferred by A2DP and output. Therefore, for example, various functions in Internet radio can be provided.

又、通信相手である携帯電話機3が特定機種であれば、HFP接続処理を完了してからAVRCP接続要求を送信するまでの時間が所定時間を超えていると、たとえAVRCP接続処理を完了したとしてもA2DPが未接続のままとなり、音データが転送されない場合もあるが、HFP、AVRCP及びA2DP、SPPの順序にしたがってプロファイルを順次接続するようにした。これにより、HFP接続処理を完了してからAVRCP接続処理及びA2DP接続処理を完了するまでの時間を短縮することができ、たとえ通信相手である携帯電話機3が特定機種であっても対応することができる。   Further, if the mobile phone 3 that is the communication partner is a specific model, if the time from the completion of the HFP connection processing to the transmission of the AVRCP connection request exceeds a predetermined time, the AVRCP connection processing is completed. In some cases, the A2DP remains unconnected and the sound data may not be transferred, but the profiles are sequentially connected in the order of HFP, AVRCP, A2DP, and SPP. As a result, it is possible to shorten the time from the completion of the HFP connection processing to the completion of the AVRCP connection processing and the A2DP connection processing, even if the mobile phone 3 that is the communication partner is a specific model. it can.

又、HFP、AVRCP及びA2DP、SPPを携帯電話機3との間で接続している状態で、携帯電話機3に記憶されている音データを転送させて出力する場合には、SPPの接続を継続したままでSPPによる制御データを無効化するようにした。一方、通信網35側のサーバ36に記憶されている音データを転送させて出力する場合には、AVRCPの接続を継続したままでAVRCPによる制御データを無効化するようにした。これにより、音データを出力させる態様を切換える際に音データの出力が途切れる期間を最小限に抑えることができ、音データを出力させる態様の切換えを円滑に行うことができる。   In addition, when HFP, AVRCP, A2DP, and SPP are connected to the mobile phone 3 and the sound data stored in the mobile phone 3 is transferred and output, the SPP connection is continued. The control data by SPP is invalidated as it is. On the other hand, when the sound data stored in the server 36 on the communication network 35 side is transferred and output, the control data by AVRCP is invalidated while the AVRCP connection is continued. Thereby, when switching the mode for outputting sound data, the period during which the output of the sound data is interrupted can be minimized, and the mode for outputting sound data can be switched smoothly.

又、HFPを携帯電話機3bとの間で接続し、AVRCP及びA2DPを携帯電話機3aとの間で接続している状態で、携帯電話機3aによる音楽再生から通信網35側のサーバ36からのインターネットラジオの再生に切換える場合に、携帯電話機3aとの間で接続させているAVRCP及びA2DPを切断させ、携帯電話機3bとの間で接続させているHFPを一旦切断させた後に、HFPを携帯電話機3bとの間で再接続させ、AVRCP及びA2DP、SPPを携帯電話機3bとの間で順次接続させるようにした。これにより、携帯電話機3aによる音楽再生から通信網35側のサーバ36からのインターネットラジオの再生に適切に切換えることができる。   In addition, with the HFP connected to the mobile phone 3b and the AVRCP and A2DP connected to the mobile phone 3a, the Internet radio from the server 36 on the communication network 35 side from the music playback by the mobile phone 3a. When switching to playback, the AVRCP and A2DP connected to the mobile phone 3a are disconnected, the HFP connected to the mobile phone 3b is temporarily disconnected, and then the HFP is connected to the mobile phone 3b. AVRCP, A2DP, and SPP are sequentially connected to the mobile phone 3b. Accordingly, it is possible to appropriately switch from music playback by the mobile phone 3a to Internet radio playback from the server 36 on the communication network 35 side.

又、HFPを携帯電話機3bとの間で接続し、AVRCP及びA2DPを携帯電話機3aとの間で接続している状態で、携帯電話機3aによる音楽再生から携帯電話機3bによる音楽再生に切換える場合に、携帯電話機3aとの間で接続させているAVRCP及びA2DPを切断させ、携帯電話機3bとの間で接続させているHFPを一旦切断させた後に、HFPを携帯電話機3bとの間で再接続させ、AVRCP及びA2DPを携帯電話機3bとの間で接続させるようにすれば、携帯電話機3aによる音楽再生から携帯電話機3bによる音楽再生に適切に切換えることができる。この場合、HFPの接続を継続したままとすれば、携帯電話機3bによるハンズフリー通話中であっても、そのハンズフリー通話を継続したままで切換えることができる。   When switching from music playback by the mobile phone 3a to music playback by the mobile phone 3b with the HFP connected to the mobile phone 3b and the AVRCP and A2DP connected to the mobile phone 3a, AVRCP and A2DP connected to the mobile phone 3a are disconnected, HFP connected to the mobile phone 3b is disconnected, and then the HFP is reconnected to the mobile phone 3b. If AVRCP and A2DP are connected to the mobile phone 3b, it is possible to appropriately switch from music playback by the mobile phone 3a to music playback by the mobile phone 3b. In this case, if the HFP connection is continued, even if the mobile phone 3b is performing a hands-free call, it is possible to switch over while the hands-free call is continued.

又、通信相手である携帯電話機3の仕様によってはA2DP接続を完了した後でも音データの通信路をクローズしたままでオープンしない場合があるが、再生コマンドを携帯電話機3へ送信する前に音データの通信路のオープン要求を携帯電話機3へ送信するようにした。これにより、音データを携帯電話機3から転送させることができずに音データが携帯電話機3のスピーカ32から出力されてしまう事態を回避し、音データを携帯電話機3から転送させることができ、携帯電話機3から転送された音データを自機のスピーカ18a、18bから出力させることができる。   Also, depending on the specifications of the mobile phone 3 that is the communication partner, the sound data communication path may be closed and not opened even after the A2DP connection is completed, but the sound data is not transmitted before the playback command is transmitted to the mobile phone 3. The request to open the communication channel is transmitted to the mobile phone 3. As a result, it is possible to avoid the situation where the sound data cannot be transferred from the mobile phone 3 and the sound data is output from the speaker 32 of the mobile phone 3, and the sound data can be transferred from the mobile phone 3. The sound data transferred from the telephone 3 can be output from the speakers 18a and 18b of the own device.

本発明は、上記した実施形態にのみ限定されるものではなく、以下のように変形又は拡張することができる。
近距離無線通信装置は、車載装置2に限らず、BTモジュール5と同等の機能を有するBTモジュールを備える構成であれば、周知のナビゲーション機能を有するナビゲーション装置等であっても良く、又、車両に搭載されない装置であっても良い。又、近距離無線通信装置のデータ通信相手である通信相手装置は、携帯電話機3に限らず、BTモジュール25と同等の機能を有するBTモジュールを備える構成であれば、携帯情報端末等であっても良く、又、ユーザが携帯不可能な固定端末であっても良い。
The present invention is not limited to the above-described embodiment, and can be modified or expanded as follows.
The short-range wireless communication device is not limited to the in-vehicle device 2 and may be a navigation device or the like having a known navigation function as long as it has a BT module having a function equivalent to that of the BT module 5. It may be a device that is not mounted on. In addition, the communication partner device that is a data communication partner of the short-range wireless communication device is not limited to the mobile phone 3 and may be a portable information terminal or the like as long as it has a BT module having the same function as the BT module 25. Alternatively, it may be a fixed terminal that cannot be carried by the user.

AVRCPに代えて制御データを転送するプロファイル(特定の通信プロトコル)は、SPP以外の別のプロファイルであっても良い。   A profile (specific communication protocol) for transferring control data instead of AVRCP may be another profile other than SPP.

図面中、2は車載装置(近距離無線通信装置)、3は携帯電話機(通信相手装置)、4は制御部(制御手段)、5はBTモジュール(接続手段)、7は記憶手段、18a、18bはスピーカ(音データ出力手段)、28は不揮発性記憶手段(通信相手装置の不揮発性記憶手段)、35は通信網、36はサーバである。   In the drawing, 2 is an in-vehicle device (short-range wireless communication device), 3 is a mobile phone (communication partner device), 4 is a control unit (control means), 5 is a BT module (connection means), 7 is a storage means, 18a, 18b is a speaker (sound data output means), 28 is a non-volatile storage means (non-volatile storage means of a communication partner apparatus), 35 is a communication network, and 36 is a server.

これにより、通信網側のサーバに記憶されている第2音データを通信相手装置から転送させて出力する際の機能を十分に提供することができない場合には、制御データ転送プロトコルの代わりに特定のデータ通信プロトコルを採用する。第2制御データを制御データ通信プロトコルにより通信相手装置との間で送受信するのではなく、第2制御データを特定のデータ通信プロトコルにより通信相手装置との間で送受信することで、通信網側のサーバに記憶されている第2音データを通信相手装置から転送させて出力することができる。その結果、通信相手装置に記憶されている音データを当該通信相手装置から転送させて出力する機能を適切に実現するだけでなく、通信網側のサーバに記憶されている音データを当該通信相手装置から転送させて出力する機能をも適切に実現することができる。
更に制御手段は、制御データ転送プロトコル及び音データ転送プロトコルを別の通信相手装置との間で接続させている状態で、音データの転送元を別の通信相手装置から通信相手装置に切換えると判定すると、別の通信相手装置との間で接続させている音データ転送プロトコルを切断させると共に、特定のデータ通信プロトコル及び音データ転送プロトコルを通信相手装置との間で接続させる。
As a result, if the second sound data stored in the server on the communication network side cannot be sufficiently provided with the function of transferring and outputting the second sound data from the communication partner device, it is specified instead of the control data transfer protocol. The data communication protocol is adopted. The second control data is not transmitted / received to / from the communication partner device using the control data communication protocol, but the second control data is transmitted / received to / from the communication partner device using the specific data communication protocol. The second sound data stored in the server can be transferred from the communication partner device and output. As a result, not only can the sound data stored in the communication partner device be properly transferred and output from the communication partner device, but also the sound data stored in the server on the communication network side can be used. The function of transferring and outputting from the apparatus can also be appropriately realized.
Further, the control means determines to switch the sound data transfer source from another communication partner device to the communication partner device in a state where the control data transfer protocol and the sound data transfer protocol are connected to another communication partner device. Then, the sound data transfer protocol connected to another communication partner apparatus is disconnected, and a specific data communication protocol and sound data transfer protocol are connected to the communication partner apparatus.

請求項13に記載した発明によれば、制御手段は、制御データ転送プロトコル及び音データ転送プロトコルを通信相手装置との間で接続させた状態で、第1音データの通信相手装置から音データ転送プロトコルへの転送要求が発生したと判定すると、その転送要求が発生した時点から第1の設定時間が経過した後に音データの通信路のオープン要求を接続手段から通信相手装置へ送信させ、その転送要求が発生した時点から第1の設定時間よりも長い第2の設定時間が経過した後に再生コマンドを接続手段から通信相手装置へ送信させる。 According to the invention described in claim 13 , the control means transfers the sound data from the communication partner device of the first sound data in a state where the control data transfer protocol and the sound data transfer protocol are connected to the communication partner device. When it is determined that a transfer request to the protocol has occurred, a request to open a communication path for sound data is transmitted from the connection means to the communication partner device after the first set time has elapsed since the transfer request has occurred, and the transfer is performed. A reproduction command is transmitted from the connection means to the communication partner apparatus after a second set time longer than the first set time elapses from the time when the request is generated.

請求項14に記載した発明によれば、制御手段は、特定のデータ通信プロトコル及び音データ転送プロトコルを通信相手装置との間で接続させた状態で、第2音データの通信相手装置から音データ転送プロトコルへの転送要求が発生したと判定した場合には、その転送要求が発生した時点から第1の設定時間が経過した後に音データの通信路のオープン要求を接続手段から通信相手装置へ送信させ、その転送要求が発生した時点から第1の設定時間よりも長い第2の設定時間が経過した後に再生コマンドを接続手段から通信相手装置へ送信させる。 According to the invention described in claim 14 , the control means transmits the sound data from the communication partner device of the second sound data in a state where the specific data communication protocol and the sound data transfer protocol are connected to the communication partner device. If it is determined that a transfer request to the transfer protocol has occurred, a request to open a sound data communication path is transmitted from the connection means to the communication partner device after the first set time has elapsed since the transfer request occurred. The reproduction command is transmitted from the connection means to the communication partner apparatus after a second set time longer than the first set time has elapsed since the transfer request was generated.

上記した請求項13に記載した発明と同様に、再生コマンドを通信相手装置へ送信する前に音データの通信路のオープン要求を通信相手装置へ送信することで、再生コマンドを通信相手装置へ送信した段階で音データの通信路をオープンしておくことができる。その結果、通信相手装置が第2音データを転送することができ、通信相手装置から転送された第2音データを出力することができる。

Similarly to the above-described invention described in claim 13 , by transmitting a request to open a communication path for sound data to the communication partner device before transmitting the reproduction command to the communication partner device, the reproduction command is transmitted to the communication partner device. At this stage, the sound data communication channel can be opened. As a result, the communication partner apparatus can transfer the second sound data, and the second sound data transferred from the communication partner apparatus can be output.

Claims (21)

音データの転送を規定する音データ転送プロトコル、音データの制御に係る制御データの転送を規定する制御データ転送プロトコル、データ通信を規定する特定のデータ通信プロトコルを近距離無線通信回線を通じて通信相手装置(3)との間で接続可能な接続手段(5)と、
前記通信相手装置(3)の不揮発性記憶手段(28)に記憶されている第1音データを前記通信相手装置(3)から転送させる第1態様、及び通信網(35)側のサーバ(36)の不揮発性記憶手段に記憶されている第2音データを前記通信相手装置(3)から転送させる第2態様のうち何れかを選択する制御手段(4)と、
前記通信相手装置(3)から前記音データ転送プロトコルにより転送された音データを出力する音データ出力手段(18a、18b)と、を備え、
前記制御手段(4)は、前記第1態様を選択していると判定した場合には、前記制御データ転送プロトコル及び前記音データ転送プロトコルを前記通信相手装置(3)との間で接続させた状態で、前記第1音データの制御に係る第1制御データを前記制御データ転送プロトコルにより前記通信相手装置(3)との間で送受信させ、前記第1音データを前記通信相手装置(3)から前記音データ転送プロトコルにより転送させ、前記第2態様を選択していると判定した場合には、前記音データ転送プロトコル及び前記特定のデータ通信プロトコルを前記通信相手装置(3)との間で接続させた状態で、前記第2音データの制御に係る第2制御データを前記特定のデータ通信プロトコルにより前記通信相手装置(3)との間で送受信させ、前記第2音データを前記通信相手装置(3)から音データ転送プロトコルにより転送させることを特徴とする近距離無線通信装置。
A communication partner device that transmits a sound data transfer protocol that regulates transfer of sound data, a control data transfer protocol that regulates transfer of control data related to control of sound data, and a specific data communication protocol that regulates data communication Connection means (5) connectable with (3);
A first mode for transferring the first sound data stored in the non-volatile storage means (28) of the communication counterpart device (3) from the communication counterpart device (3), and a server (36 on the communication network (35) side) Control means (4) for selecting one of the second modes for transferring the second sound data stored in the non-volatile storage means) from the communication counterpart device (3);
Sound data output means (18a, 18b) for outputting sound data transferred from the communication counterpart device (3) by the sound data transfer protocol,
If it is determined that the first mode is selected, the control means (4) connects the control data transfer protocol and the sound data transfer protocol to the communication partner device (3). In the state, the first control data related to the control of the first sound data is transmitted to and received from the communication partner device (3) by the control data transfer protocol, and the first sound data is transmitted to the communication partner device (3). If it is determined that the second mode is selected, the sound data transfer protocol and the specific data communication protocol are exchanged with the communication partner device (3). In a connected state, the second control data related to the control of the second sound data is transmitted / received to / from the communication partner device (3) by the specific data communication protocol, Short-range wireless communication device, characterized in that to transfer the sound data from the communication partner device (3) by the sound data transfer protocol.
請求項1に記載した近距離無線通信装置において、
前記制御手段(4)は、前記音データ転送プロトコル、前記制御データ転送プロトコル及び前記特定のデータ通信プロトコルを前記通信相手装置(3)との間で接続させている状態で、前記第1態様を選択していると判定した場合には、前記第1制御データを前記制御データ転送プロトコルにより前記通信相手装置(3)との間で送受信させ、前記第1音データを前記通信相手装置(3)から前記音データ転送プロトコルにより転送させ、前記第2態様を選択していると判定した場合には、前記第2制御データを前記特定のデータ通信プロトコルにより前記通信相手装置(3)との間で送受信させ、前記第2音データを前記通信相手装置(3)から前記音データ転送プロトコルにより転送させることを特徴とする近距離無線通信装置。
The short-range wireless communication device according to claim 1,
The control means (4) is configured to connect the sound data transfer protocol, the control data transfer protocol, and the specific data communication protocol to the communication counterpart device (3), and If it is determined that it is selected, the first control data is transmitted / received to / from the communication counterpart device (3) by the control data transfer protocol, and the first sound data is transmitted to the communication counterpart device (3). When the second control data is transferred by the sound data transfer protocol and it is determined that the second mode is selected, the second control data is transferred to and from the communication partner apparatus (3) by the specific data communication protocol. A short-range wireless communication device that transmits and receives data and transfers the second sound data from the communication partner device (3) by the sound data transfer protocol.
請求項1又は2に記載した近距離無線通信装置において、
前記制御手段(4)は、前記音データ転送プロトコル、前記制御データ転送プロトコル及び前記特定のデータ通信プロトコルを前記通信相手装置(3)との間で接続させている状態で、前記第1態様を選択していると判定した場合には、前記特定のデータ通信プロトコルの接続を継続したままで前記特定のデータ通信プロトコルによる前記第2制御データを無効化しつつ、前記第1制御データを前記制御データ転送プロトコルにより前記通信相手装置(3)との間で送受信させ、前記第1音データを前記通信相手装置(3)から前記音データ転送プロトコルにより転送させることを特徴とする近距離無線通信装置。
In the short-range wireless communication device according to claim 1 or 2,
The control means (4) is configured to connect the sound data transfer protocol, the control data transfer protocol, and the specific data communication protocol to the communication counterpart device (3), and If it is determined that the selected data communication protocol is selected, the second control data according to the specific data communication protocol is invalidated while the connection of the specific data communication protocol is continued, and the first control data is changed to the control data. A short-range wireless communication device that transmits and receives data to and from the communication counterpart device (3) by a transfer protocol and transfers the first sound data from the communication counterpart device (3) by the sound data transfer protocol.
請求項1から3の何れか一項に記載した近距離無線通信装置において、
前記制御手段(4)は、前記音データ転送プロトコル、前記制御データ転送プロトコル及び前記特定のデータ通信プロトコルを前記通信相手装置(3)との間で接続させている状態で、前記第2態様を選択していると判定した場合には、前記制御データ転送プロトコルの接続を継続したままで前記制御データ転送プロトコルによる前記第1制御データを無効化しつつ、前記第2制御データを前記特定のデータ通信プロトコルにより前記通信相手装置(3)との間で送受信させ、前記第2音データを前記通信相手装置(3)から前記音データ転送プロトコルにより転送させることを特徴とする近距離無線通信装置。
In the short-range wireless communication device according to any one of claims 1 to 3,
The control means (4) is configured to connect the sound data transfer protocol, the control data transfer protocol, and the specific data communication protocol to the communication counterpart device (3), and If it is determined that the control data transfer protocol is selected, the second control data is invalidated to the specific data communication while invalidating the first control data according to the control data transfer protocol. A short-range wireless communication device that transmits and receives data to and from the communication partner device (3) by a protocol and transfers the second sound data from the communication partner device (3) by the sound data transfer protocol.
請求項1から4の何れか一項に記載した近距離無線通信装置において、
前記接続手段(5)は、ハンズフリー通話を規定するハンズフリー通話プロトコルをも前記通信相手装置(3)との間で接続可能であり、
前記制御手段(4)は、前記ハンズフリー通話プロトコルを前記通信相手装置(3)との間で接続させた後に、先に前記特定のデータ通信プロトコルを前記通信相手装置(3)との間で接続させて後から前記制御データ転送プロトコル及び前記音データ転送プロトコルを前記通信相手装置(3)との間で接続させることを特徴とする近距離無線通信装置。
In the short-range wireless communication device according to any one of claims 1 to 4,
The connection means (5) is capable of connecting a hands-free call protocol defining a hands-free call to the communication partner apparatus (3),
The control means (4) connects the hands-free call protocol with the communication partner device (3) and then sets the specific data communication protocol with the communication partner device (3) first. A short-range wireless communication apparatus characterized in that the control data transfer protocol and the sound data transfer protocol are connected to the communication partner apparatus (3) after connection.
請求項1から4の何れか一項に記載した近距離無線通信装置において、
前記接続手段(5)は、ハンズフリー通話を規定するハンズフリー通話プロトコルをも前記通信相手装置(3)との間で接続可能であり、
前記制御手段(4)は、前記ハンズフリー通話プロトコルを前記通信相手装置(3)との間で接続させた後に、先に前記制御データ転送プロトコル及び前記音データ転送プロトコルを前記通信相手装置(3)との間で接続させて後から前記特定のデータ通信プロトコルを前記通信相手装置(3)との間で接続させることを特徴とする近距離無線通信装置。
In the short-range wireless communication device according to any one of claims 1 to 4,
The connection means (5) is capable of connecting a hands-free call protocol defining a hands-free call to the communication partner apparatus (3),
The control means (4) connects the hands-free call protocol to the communication partner device (3), and then sets the control data transfer protocol and the sound data transfer protocol to the communication partner device (3). And the specific data communication protocol is connected to the communication partner apparatus (3) afterwards.
請求項1から4の何れか一項に記載した近距離無線通信装置において、
前記接続手段(5)は、ハンズフリー通話を規定するハンズフリー通話プロトコルをも前記通信相手装置(3)との間で接続可能であり、
前記制御手段(4)は、前記ハンズフリー通話プロトコルを前記通信相手装置(3)との間で接続させた後に、前記通信相手装置(3)が特定機種である場合に、先に前記制御データ転送プロトコル及び前記音データ転送プロトコルを前記通信相手装置(3)との間で接続させて後から前記特定のデータ通信プロトコルを前記通信相手装置(3)との間で接続させ、前記通信相手装置(3)が特定機種でない場合に、先に前記特定のデータ通信プロトコルを前記通信相手装置(3)との間で接続させて後から前記制御データ転送プロトコル及び前記音データ転送プロトコルを前記通信相手装置(3)との間で接続させることを特徴とする近距離無線通信装置。
In the short-range wireless communication device according to any one of claims 1 to 4,
The connection means (5) is capable of connecting a hands-free call protocol defining a hands-free call to the communication partner apparatus (3),
When the communication partner device (3) is a specific model after the hands-free call protocol is connected to the communication partner device (3), the control means (4) first controls the control data. The transfer protocol and the sound data transfer protocol are connected to the communication partner device (3), and then the specific data communication protocol is connected to the communication partner device (3). When (3) is not a specific model, the specific data communication protocol is first connected to the communication partner device (3), and then the control data transfer protocol and the sound data transfer protocol are set to the communication partner. A short-range wireless communication device connected to the device (3).
請求項5から7の何れか一項に記載した近距離無線通信装置において、
前記制御手段(4)は、前記ハンズフリー通話プロトコルを前記通信相手装置(3)との間で接続させた後に、前記通信相手装置(3)からの前記制御データ転送プロトコルの接続要求を受信して拒否した場合には、前記制御データ転送プロトコルを優先して接続すべく、前記制御データ転送プロトコルの接続を前記通信相手装置(3)へ要求することを特徴とする近距離無線通信装置。
In the short-range wireless communication device according to any one of claims 5 to 7,
The control means (4) receives the connection request for the control data transfer protocol from the communication partner device (3) after connecting the hands-free call protocol with the communication partner device (3). If the connection is rejected, the short-range wireless communication apparatus requests the communication partner apparatus (3) to connect the control data transfer protocol so that the control data transfer protocol is preferentially connected.
請求項5から7の何れか一項に記載した近距離無線通信装置において、
前記制御手段(4)は、前記ハンズフリー通話プロトコルを前記通信相手装置(3)との間で接続させた後に、前記通信相手装置(3)からの前記制御データ転送プロトコルの接続要求を受信した場合には、前記制御データ転送プロトコルを優先して接続すべく、前記通信相手装置(3)からの前記制御データ転送プロトコルの接続要求を許可することを特徴とする近距離無線通信装置。
In the short-range wireless communication device according to any one of claims 5 to 7,
The control means (4) receives the control data transfer protocol connection request from the communication partner device (3) after connecting the hands-free call protocol to the communication partner device (3). In this case, the short-range wireless communication apparatus permits a connection request of the control data transfer protocol from the communication partner apparatus (3) so that the control data transfer protocol is preferentially connected.
請求項1から4の何れか一項に記載した近距離無線通信装置において、
前記接続手段(5)は、ハンズフリー通話を規定するハンズフリー通話プロトコルをも前記通信相手装置(3)との間で接続可能であり、
前記制御手段(4)は、前記ハンズフリー通話プロトコル及び前記特定のデータ通信プロトコルを前記通信相手装置(3)との間で接続させた後に、前記第1態様を選択していると判定した場合には、前記制御データ転送プロトコル及び前記音データ転送プロトコルを前記通信相手装置(3)との間で接続させ、前記第2態様を選択していると判定した場合には、前記音データ転送プロトコルを前記通信相手装置(3)との間で接続させることを特徴とする近距離無線通信装置。
In the short-range wireless communication device according to any one of claims 1 to 4,
The connection means (5) is capable of connecting a hands-free call protocol defining a hands-free call to the communication partner apparatus (3),
When the control means (4) determines that the first mode is selected after the hands-free call protocol and the specific data communication protocol are connected to the communication partner device (3). The control data transfer protocol and the sound data transfer protocol are connected to the communication partner device (3), and if it is determined that the second mode is selected, the sound data transfer protocol Is connected to the communication partner apparatus (3).
請求項1から4の何れか一項に記載した近距離無線通信装置において、
前記接続手段(5)は、ハンズフリー通話を規定するハンズフリー通話プロトコルをも前記通信相手装置(3)との間で接続可能であり、
前記制御手段(4)は、前記ハンズフリー通話プロトコルを前記通信相手装置(3)との間で接続させた後に、前記第1態様を選択していると判定した場合には、前記制御データ転送プロトコル及び前記音データ転送プロトコルを前記通信相手装置(3)との間で接続させ、前記第2態様を選択していると判定した場合には、前記音データ転送プロトコル及び前記特定のデータ通信プロトコルを前記通信相手装置(3)との間で接続させることを特徴とする近距離無線通信装置。
In the short-range wireless communication device according to any one of claims 1 to 4,
The connection means (5) is capable of connecting a hands-free call protocol defining a hands-free call to the communication partner apparatus (3),
When the control means (4) determines that the first mode is selected after the hands-free call protocol is connected to the communication partner device (3), the control data transfer is performed. When it is determined that the second mode is selected by connecting the protocol and the sound data transfer protocol to the communication partner device (3), the sound data transfer protocol and the specific data communication protocol Is connected to the communication partner apparatus (3).
請求項1から11の何れか一項に記載した近距離無線通信装置において、
当該近距離無線通信装置の電源遮断前に前記第1態様及び前記第2態様のうち何れを選択していたかを示す電源遮断前態様を記憶可能な記憶手段(7)を備え、
前記制御手段(4)は、当該近距離無線通信装置の電源投入時に、前記記憶手段(7)に記憶されている前記電源遮断前態様が前記第1態様を示す場合には前記第1態様を選択していると判定し、前記電源遮断前態様が前記第2態様を示す場合には前記第2態様を選択していると判定することを特徴とする近距離無線通信装置。
The short-range wireless communication device according to any one of claims 1 to 11,
Storage means (7) capable of storing a pre-power-off mode indicating which one of the first mode and the second mode was selected before power-off of the short-range wireless communication device;
The control unit (4) may change the first mode when the pre-power-off mode stored in the storage unit (7) indicates the first mode when the short-range wireless communication device is turned on. A short-range wireless communication device that determines that the second mode is selected when it is determined that the second mode is selected when the mode before power-off indicates the second mode.
請求項5から12の何れか一項に記載した近距離無線通信装置において、
前記制御手段(4)は、前記ハンズフリー通話プロトコルを前記通信相手装置(3)との間で接続させており、前記制御データ転送プロトコル及び前記音データ転送プロトコルを別の通信相手装置(3)との間で接続させている状態で、音データの転送元を前記別の通信相手装置(3)から前記通信相手装置(3)に切換えると判定した場合には、前記別の通信相手装置(3)との間で接続させている前記制御データ転送プロトコル及び前記音データ転送プロトコルを切断させると共に、前記通信相手装置(3)との間で接続させている前記ハンズフリー通話プロトコルを切断させ、その切断させた前記ハンズフリー通話プロトコルを前記通信相手装置(3)との間で再接続させた後に、先に前記制御データ転送プロトコル及び前記音データ転送プロトコルを前記通信相手装置(3)との間で接続させて後から前記特定のデータ通信プロトコルを前記通信相手装置(3)との間で接続させることを特徴とする近距離無線通信装置。
The short-range wireless communication device according to any one of claims 5 to 12,
The control means (4) connects the hands-free call protocol to the communication partner device (3), and the control data transfer protocol and the sound data transfer protocol are connected to another communication partner device (3). And the other communication partner device (3) is switched from the other communication partner device (3) to the communication partner device (3). 3) disconnecting the control data transfer protocol and the sound data transfer protocol connected to the communication partner device (3), and disconnecting the hands-free call protocol connected to the communication partner device (3), After the disconnected hands-free call protocol is reconnected to the communication partner apparatus (3), the control data transfer protocol and the sound data are first connected. Short-range wireless communication device, characterized in that to connect with the communication partner apparatus to the specific data communication protocol later by connection (3) with the communication partner apparatus to feed protocol (3).
請求項5から12の何れか一項に記載した近距離無線通信装置において、
前記制御手段(4)は、前記ハンズフリー通話プロトコルを前記通信相手装置(3)との間で接続させており、前記制御データ転送プロトコル及び前記音データ転送プロトコルを別の通信相手装置(3)との間で接続させている状態で、音データの転送元を前記別の通信相手装置(3)から前記通信相手装置(3)に切換えると判定した場合には、前記別の通信相手装置(3)との間で接続させている前記制御データ転送プロトコル及び前記音データ転送プロトコルを切断させると共に、前記音データ転送プロトコルの接続要求を前記通信相手装置(3)へ送信させることにより前記音データ転送プロトコルを前記通信相手装置(3)との間で接続させ、且つ前記特定のデータ通信プロトコルを前記通信相手装置(3)との間で接続させることを特徴とする近距離無線通信装置。
The short-range wireless communication device according to any one of claims 5 to 12,
The control means (4) connects the hands-free call protocol to the communication partner device (3), and the control data transfer protocol and the sound data transfer protocol are connected to another communication partner device (3). And the other communication partner device (3) is switched from the other communication partner device (3) to the communication partner device (3). 3) disconnecting the control data transfer protocol and the sound data transfer protocol connected to each other, and transmitting a request for connection of the sound data transfer protocol to the communication partner device (3). A transfer protocol is connected to the communication partner device (3), and the specific data communication protocol is connected to the communication partner device (3). Short-range wireless communication apparatus according to claim.
請求項5から12の何れか一項に記載した近距離無線通信装置において、
前記制御手段(4)は、前記ハンズフリー通話プロトコルを前記通信相手装置(3)との間で接続させており、前記制御データ転送プロトコル及び前記音データ転送プロトコルを別の通信相手装置(3)との間で接続させている状態で、音データの転送元を前記別の通信相手装置(3)から前記通信相手装置(3)に切換えると判定した場合には、前記別の通信相手装置(3)との間で接続させている前記制御データ転送プロトコル及び前記音データ転送プロトコルを切断させると共に、前記通信相手装置(3)との間で接続させている前記ハンズフリー通話プロトコルを切断させ、その切断させた前記ハンズフリー通話プロトコルを前記通信相手装置(3)との間で再接続させ、前記制御データ転送プロトコル及び前記音データ転送プロトコルを前記通信相手装置(3)との間で接続させることを特徴とする近距離無線通信装置。
The short-range wireless communication device according to any one of claims 5 to 12,
The control means (4) connects the hands-free call protocol to the communication partner device (3), and the control data transfer protocol and the sound data transfer protocol are connected to another communication partner device (3). And the other communication partner device (3) is switched from the other communication partner device (3) to the communication partner device (3). 3) disconnecting the control data transfer protocol and the sound data transfer protocol connected to the communication partner device (3), and disconnecting the hands-free call protocol connected to the communication partner device (3), The disconnected hands-free call protocol is reconnected to the communication partner device (3), and the control data transfer protocol and the sound data transfer protocol are reconnected. Short-range wireless communication device, characterized in that to connect with the communication Le counterpart apparatus (3).
請求項5から12の何れか一項に記載した近距離無線通信装置において、
前記制御手段(4)は、前記ハンズフリー通話プロトコルを前記通信相手装置(3)との間で接続させており、前記制御データ転送プロトコル及び前記音データ転送プロトコルを別の通信相手装置(3)との間で接続させている状態で、音データの転送元を前記別の通信相手装置(3)から前記通信相手装置(3)に切換えると判定した場合には、前記別の通信相手装置(3)との間で接続させている前記制御データ転送プロトコル及び前記音データ転送プロトコルを切断させると共に、前記制御データ転送プロトコルを前記通信相手装置(3)との間で接続させ、且つ前記音データ転送プロトコルの接続要求を前記通信相手装置(3)へ送信させることにより前記音データ転送プロトコルを前記通信相手装置(3)との間で接続させることを特徴とする近距離無線通信装置。
The short-range wireless communication device according to any one of claims 5 to 12,
The control means (4) connects the hands-free call protocol to the communication partner device (3), and the control data transfer protocol and the sound data transfer protocol are connected to another communication partner device (3). And the other communication partner device (3) is switched from the other communication partner device (3) to the communication partner device (3). 3) disconnecting the control data transfer protocol and the sound data transfer protocol connected to the communication partner device 3), and connecting the control data transfer protocol to the communication partner device (3), and the sound data. By connecting a transfer protocol connection request to the communication partner device (3), the sound data transfer protocol is connected to the communication partner device (3). Short range wireless communication apparatus according to claim.
請求項1に記載した近距離無線通信装置において、
前記制御手段(4)は、前記制御データ転送プロトコル及び前記音データ転送プロトコルを前記通信相手装置(3)との間で接続させた状態で、前記第1音データの前記通信相手装置(3)から前記音データ転送プロトコルへの転送要求が発生したと判定した場合には、その転送要求が発生した時点から第1の設定時間が経過した後に音データの通信路のオープン要求を前記接続手段(5)から前記通信相手装置(3)へ送信させ、その転送要求が発生した時点から前記第1の設定時間よりも長い第2の設定時間が経過した後に再生コマンドを前記接続手段(5)から前記通信相手装置(3)へ送信させることを特徴とする近距離無線通信装置。
The short-range wireless communication device according to claim 1,
The control means (4) is configured to connect the communication partner device (3) of the first sound data in a state where the control data transfer protocol and the sound data transfer protocol are connected to the communication counterpart device (3). If a transfer request to the sound data transfer protocol is determined to have occurred, a request for opening a sound data communication path is issued after the first set time has elapsed since the transfer request was generated. 5) from the connection means (5) after the second set time longer than the first set time has elapsed from the time when the transfer request is generated. A short-range wireless communication device, characterized in that transmission is made to the communication partner device (3).
請求項1に記載した近距離無線通信装置において、
前記制御手段(4)は、前記特定のデータ通信プロトコル及び前記音データ転送プロトコルを前記通信相手装置(3)との間で接続させた状態で、前記第2音データの前記通信相手装置(3)から前記音データ転送プロトコルへの転送要求が発生したと判定した場合には、その転送要求が発生した時点から第1の設定時間が経過した後に音データの通信路のオープン要求を前記接続手段(5)から前記通信相手装置(3)へ送信させ、その転送要求が発生した時点から前記第1の設定時間よりも長い第2の設定時間が経過した後に再生コマンドを前記接続手段(5)から前記通信相手装置(3)へ送信させることを特徴とする近距離無線通信装置。
The short-range wireless communication device according to claim 1,
The control means (4) is configured to connect the communication partner device (3) of the second sound data in a state where the specific data communication protocol and the sound data transfer protocol are connected to the communication partner device (3). If a transfer request to the sound data transfer protocol is generated, the connection means sends a request to open the sound data communication path after a first set time has elapsed since the transfer request was generated. (5) to the communication partner apparatus (3), and after a second set time longer than the first set time elapses from the time when the transfer request is generated, a reproduction command is sent to the connection means (5). A short-range wireless communication device, wherein the communication partner device (3) transmits the short-range wireless communication device.
請求項1から18の何れか一項に記載した近距離無線通信装置において、
前記近距離無線通信回線はブルートゥース通信回線であり、
前記接続手段(5)は、前記音データ転送プロトコル、前記制御データ転送プロトコル、前記特定のデータ通信プロトコルをブルートゥース通信回線を通じて前記通信相手装置(3)との間で接続可能であることを特徴とする近距離無線通信装置。
The short-range wireless communication device according to any one of claims 1 to 18,
The short-range wireless communication line is a Bluetooth communication line;
The connection means (5) is capable of connecting the sound data transfer protocol, the control data transfer protocol, and the specific data communication protocol to the communication partner apparatus (3) through a Bluetooth communication line. A short-range wireless communication device.
請求項19に記載した近距離無線通信装置において、
前記音データ転送プロトコルはA2DPであり、
前記制御データ転送プロトコルはAVRCPであり、
前記特定のデータ通信プロトコルはSPPであり、
前記接続手段(5)は、前記A2DP、前記AVRCP、前記SPPをブルートゥース通信回線を通じて前記通信相手装置(3)との間で接続可能であることを特徴とする近距離無線通信装置。
The short-range wireless communication device according to claim 19,
The sound data transfer protocol is A2DP,
The control data transfer protocol is AVRCP;
The specific data communication protocol is SPP;
The short-range wireless communication device, wherein the connection means (5) is capable of connecting the A2DP, the AVRCP, and the SPP to the communication partner device (3) through a Bluetooth communication line.
請求項1から20の何れか一項に記載した近距離無線通信装置において、
前記制御手段(4)は、前記第2音データとしてインターネットラジオの音データを前記通信相手装置(3)から転送させることを特徴とする近距離無線通信装置。
In the short-range wireless communication device according to any one of claims 1 to 20,
The short-range wireless communication device, wherein the control means (4) transfers Internet radio sound data as the second sound data from the communication partner device (3).
JP2014084514A 2011-06-30 2014-04-16 Near field communication device Expired - Fee Related JP5692442B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2014084514A JP5692442B2 (en) 2011-06-30 2014-04-16 Near field communication device

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP2011145781 2011-06-30
JP2011145781 2011-06-30
JP2014084514A JP5692442B2 (en) 2011-06-30 2014-04-16 Near field communication device

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2012115621A Division JP5527355B2 (en) 2011-06-30 2012-05-21 Near field communication device

Publications (2)

Publication Number Publication Date
JP2014140248A true JP2014140248A (en) 2014-07-31
JP5692442B2 JP5692442B2 (en) 2015-04-01

Family

ID=51416676

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014084514A Expired - Fee Related JP5692442B2 (en) 2011-06-30 2014-04-16 Near field communication device

Country Status (1)

Country Link
JP (1) JP5692442B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101618457B1 (en) 2014-11-27 2016-05-04 쌍용자동차 주식회사 Internet radio listening is possible car audio device
CN110515322A (en) * 2019-07-11 2019-11-29 上海蔚来汽车有限公司 The sound playing method of automobile

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101618457B1 (en) 2014-11-27 2016-05-04 쌍용자동차 주식회사 Internet radio listening is possible car audio device
CN110515322A (en) * 2019-07-11 2019-11-29 上海蔚来汽车有限公司 The sound playing method of automobile

Also Published As

Publication number Publication date
JP5692442B2 (en) 2015-04-01

Similar Documents

Publication Publication Date Title
JP5527355B2 (en) Near field communication device
US10742247B2 (en) Short-range wireless communication apparatus
JP5273215B2 (en) Near field communication device
JP5714985B2 (en) Near field communication device
US8620217B2 (en) Short range wireless communication apparatus
JP5278506B2 (en) Near field communication device
JP4645318B2 (en) Wireless communication apparatus and method
US9241363B2 (en) Short-range wireless communication apparatus and system
JP4924656B2 (en) Mail operation device with short-range wireless communication function
JP2010263557A (en) Telephone apparatus having calling card support function
JP5692442B2 (en) Near field communication device
US8761672B2 (en) Short-range wireless communication apparatus
JP5459428B2 (en) Near field communication device
JP2009253601A (en) In-vehicle handsfree apparatus
JP5500293B2 (en) Near field communication device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20140416

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20140519

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20141219

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20150119

R151 Written notification of patent or utility model registration

Ref document number: 5692442

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees