JP4660913B2 - Communication device - Google Patents

Communication device Download PDF

Info

Publication number
JP4660913B2
JP4660913B2 JP2000328820A JP2000328820A JP4660913B2 JP 4660913 B2 JP4660913 B2 JP 4660913B2 JP 2000328820 A JP2000328820 A JP 2000328820A JP 2000328820 A JP2000328820 A JP 2000328820A JP 4660913 B2 JP4660913 B2 JP 4660913B2
Authority
JP
Japan
Prior art keywords
communication
external device
player
link
data
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.)
Expired - Lifetime
Application number
JP2000328820A
Other languages
Japanese (ja)
Other versions
JP2001197019A (en
Inventor
義敬 宇喜多
雅一 服部
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sony Corp
Original Assignee
Sony 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 Sony Corp filed Critical Sony Corp
Priority to JP2000328820A priority Critical patent/JP4660913B2/en
Publication of JP2001197019A publication Critical patent/JP2001197019A/en
Application granted granted Critical
Publication of JP4660913B2 publication Critical patent/JP4660913B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Landscapes

  • Headphones And Earphones (AREA)
  • Circuits Of Receivers In General (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、通信装置に関し、特に、例えば、外部からの音声を割り込ませることができるようにした通信装置に関する。
【0002】
【従来の技術】
近年、ヘッドホンステレオの普及により、乗り物内や徒歩中などの移動中でも、ラジオ放送や音楽などを聞くことができるようになってきた。
【0003】
【発明が解決しようとする課題】
ところで、ヘッドホンステレオを利用していると、外からの音が聞き難くくなるため、誰かに声を掛けられても気が付かなかったり、車内放送を聞き逃したりする恐れがあった。
【0004】
なお、飛行機内や新幹線内など、特定の場所に設置されたヘッドホンステレオは、案内放送が割り込まれるように予め設定されており、ユーザは、そのヘッドホンステレオで音楽やラジオ放送を聞いている場合、案内放送を聞き逃すことがない。
【0005】
しかしながら、このような割り込みが可能とされているのは、乗り物内に予め用意されているヘッドホンステレオに限られており、一般のユーザが自分自身のヘッドホンステレオを利用している場合に、このような機能を実現することはできなかった。
【0006】
本発明はこのような状況に鑑みてなされたものであり、任意の場所で、ヘッドホンステレオで音楽やラジオ放送を聞いていたとしても、簡単に、より広範囲で、外部からの音声を割り込ませることができるようにするものである。
【0007】
【課題を解決するための手段】
本発明の通信装置は、通信手段と、前記通信手段を制御する制御手段と、記憶媒体に記憶されたコンテンツデータを再生する再生手段と、前記再生手段が再生した前記コンテンツデータを出力する出力手段とを備える通信装置において、前記制御手段は、装置に割り当てられたID情報および装置の機能を示す情報を含むパケットを外部機器と相互に授受させ、前記通信手段が通信した前記外部機器と前記通信装置との間で制御用リンクを確立させ、前記外部機器と前記通信装置との間で前記制御用リンクが確立したあとで、前記外部機器より接続要求を受信した場合、前記外部機器に対して音声信号の受信を許可するための信号を送信させ前記再生手段が再生した前記コンテンツデータに代えて、前記外部機器から受信する前記音声信号を前記出力手段に出力させる。
【0009】
前記通信手段には、Bluetooth(登録商標)に準拠した無線通信を用いてデータの送受信を行わせることができる。
【0010】
前記通信装置は、前記外部機器のワイヤレス音声出力装置であるようにすることができる。
【0011】
前記外部機器は、前記音声信号を含む信号を前記通信装置に送信するか否かを切り替える切替手段を備え、前記制御手段は、前記外部機器と前記通信装置との間で前記制御用リンクと音声通信用リンクを確立させ、前記外部機器と前記通信装置との間で前記制御用リンクと前記音声通信用リンクが確立したあとで、前記外部機器に対して前記音声信号の受信を許可するための信号を送信させたときに、前記切替手段に前記音声信号を含む信号の非送信から送信への切替が入力された場合に前記外部機器から送信されてくる前記音声信号を、前記出力手段に出力させることができる。
【0012】
前記外部機器は、前記制御手段が前記外部機器から受信する前記音声信号を前記出力手段に出力させているときに、前記切替手段に前記音声信号を含む信号の送信から非送信への切替が入力された場合、前記音声通信用リンクを解除することができる。
【0013】
本発明においては、装置に割り当てられたID情報および装置の機能を示す情報を含むパケットが外部機器と相互に授受され、前記外部機器と通信装置との間で制御用リンクが確立され、前記外部機器と前記通信装置との間で前記制御用リンクが確立されたあとで、前記外部機器より接続要求が受信された場合、前記外部機器に対して音声信号の受信を許可するための信号が送信され前記再生手段が再生した前記コンテンツデータに代えて、前記外部機器から受信する前記音声信号が前記出力手段に出力される。
【0014】
【発明の実施の形態】
図1は、本発明を適用した情報処理システムの一実施の形態の構成を示す図である。このシステムは、通信ユニット1とCD(Compact Disk)プレーヤ2とで構成されている。通信ユニット1のユーザは、周辺機器に対して入力した音声を送信したいとき、マイクボタン12を押し、マイクロホン11より音声を入力する。また、音声の送信を終了したいとき、ユーザは、再度、マイクボタン12を押す。通信ユニット1は、入力された音声を所定の方式の信号に変調して、アンテナ13から電波として出力する。アンテナ13はまた、CDプレーヤ2から送信されてきた電波を受信する。
【0015】
CDプレーヤ2は、アンテナ21で受信した電波を復調して、ヘッドホン22を介して音声を出力させたり、CDプレーヤ2に装着されている、CD23に記録されている音楽データを再生し、ヘッドホン22に出力する。
【0016】
通信ユニット1とCDプレーヤ2との通信には、無線通信規格であるBluetooth(登録商標)などに準拠した無線通信が使用される。なお、図1には、CDプレーヤ2が1台だけ示されているが、複数台設けてもよい。
【0017】
図2は、通信ユニット1の内部の構成を示すブロック図である。マイクロホン11は、ユーザの音声を入力し、コーデック(CODEC)処理部31に供給する。コーデック処理部31は、入力された音声信号をA/D(Analog to Digital)変換し、通信用のフォーマットにエンコードし、ベースバンド(Baseband)処理部32に出力する。
【0018】
bluetoothの音声通信においては、64kbpsのCVSD(Continuo Variable Slope DeltaModulation)フォーマット、または、64kbpsのA-law,μ-lawが使用される。
【0019】
ベースバンド処理部32は、制御用マイクロコンピュータ33の指令に基づいて、入力された音声信号を、Bluetooth通信用パケットにパケット化し、誤り訂正符号化処理等を行った後、RF(Radio Frequency)処理部35に出力する。ベースバンド処理部32はまた、RF処理部35を介して入力された受信データを、誤り訂正符号化処理等する。ベースバンド処理部32で正しくデータを受け取ることができなかった場合、CDプレーヤ2に対して、再送を要求するメッセージが送信される。
【0020】
RF処理部35は、ベースバンド処理部32からの音声データや通信用のデータを、アナログの無線データに変換し、アンテナ13を介してCDプレーヤ2に送信する。RF処理部35はまた、アンテナ13で受信された通信用のデータを復調し、さらにA/D変換し、ベースバンド処理部32に出力する。
【0021】
入力部34は、マイクボタン12の操作に対応した所定の信号を生成して、制御用マイクロコンピュータ33に出力する。
【0022】
制御用マイクロコンピュータ33は、メモリ36に予め内蔵されているプログラムを適宜読み出して、処理を実行する。例えば、入力部34から供給されるユーザの操作に対応した信号を基に、メモリ36に記憶されているプログラムを読み出し、複数のCDプレーヤ2の中から所定のものを選択する処理をした後、そのCDプレーヤ2と接続(コネクション)を確立する手続きを実行する(その具体例は、後述する)。CDプレーヤ2との通信が確立されたとき、制御用マイクロコンピュータ33は、ベースバンド処理部32を制御し、RF処理部35およびアンテナ13を介して、音声データをCDプレーヤ2に送信させる。
【0023】
制御用マイクロコンピュータ33が実行するプログラムは、メモリ36に予め記憶されているか、あるいは、着脱自在に接続されているドライブ41が駆動する磁気ディスク42、光ディスク43、光磁気ディスク44、もしくは半導体メモリ45などからロードされる。
【0024】
図3は、CDプレーヤ2の内部の構成を示すブロック図である。CD23は、スピンドルモータ51により所定の回転速度で回転されるスピンドル51Aに装着される。ピックアップ52は、内蔵するレーザダイオード(図示せず)からCD23の信号面に光を照射し、反射光からデータを読み取る。ここで、ピックアップ52は、サーボ回路53により、CD23の半径方向に移動される。サーボ回路53は、制御用マイクロコンピュータ55の指令に基づいて、スピンドルモータ51およびピックアップ52をサーボ制御する。
【0025】
復調回路54は、制御用マイクロコンピュータ55により制御され、ピックアップ52で読み取られたデータをEFM復調し、誤り訂正符号化処理等を行った後、D/A変換器56出力する。D/A変換器56は、入力されたデータをD/A変換し、増幅器58に出力する。増幅器58は、入力されたデータを増幅し、スイッチ59およびヘッドホンジャック60を介してヘッドホン22に出力し、音楽データが再生される。
【0026】
スイッチ59は、制御用マイクロコンピュータ55の指令に基づいて、CD23からの音楽データを再生するとき、端子aを選択するように切替えられ、送信されてきた通信ユニット1(マイクロホン11)からの音声データを再生するとき、端子bを選択するように切替えられる。
【0027】
RF処理部61は、アンテナ21で受信された通信用のデータや音声データを復調し、さらに、A/D変換し、ベースバンド処理部62に出力する。RF処理部61はまた、ベースバンド処理部62からの通信のためのデータ(パケット)を、アナログの無線データに変換し、アンテナ21を介して通信ユニット1に送信する。
【0028】
ベースバンド処理部62は、RF処理部61より入力された通信用のデータに、誤り訂正符号化処理等を施す。ベースバンド処理部62で正しくデータを受け取ることができなかった場合、通信ユニット1に対して、再送を要求するメッセージが送信される。ベースバンド処理部62はまた、制御用マイクロコンピュータ55の指令に基づいて、通信用のデータを、Bluetooth通信用パケットにパケット化し、誤り訂正符号化処理等を行った後、RF処理部61に出力する。
【0029】
さらに、ベースバンド処理部62は、RF処理部61からの音声データを、コーデック処理部63に出力する。コーデック処理部63は、入力された音声データを復調し、さらに、D/A変換し、スイッチ59およびヘッドホンジャック60を介してヘッドホン22に出力し、音声データが再生される。
【0030】
制御用マイクロコンピュータ55は、ユーザからの指令(CD23に記録されている音楽データを再生するコマンド等)に基づいて、サーボ回路53、復調回路54、スイッチ59、ベースバンド処理部62等を制御する。制御用マイクロコンピュータ55はまた、通信ユニット1と通信の接続を確立する手続き(その具体例は、後述する)において、メモリ57に記憶されているCDプレーヤ2自身のデータ(ユニークID等)を通信ユニット1に送信する。接続が確立されたとき、制御用マイクロコンピュータ55は、通信ユニット1から送信される音声データを、ヘッドホンジャック60に出力できるようにスイッチ59を端子bに切替える。
【0031】
このとき、CDプレーヤ2は、音楽再生するためのものではなく、通信ユニット1のワイヤレスヘッドホンとして機能する。
【0032】
次に、Bluetoothに対応した通信ユニット1とCDプレーヤ2が通信を行うための通信プロトコルスタックについて、図4を参照して説明する。図中、より上方に示されるモジュールは、下方に示されるモジュールより上位の階層のものとされる。
【0033】
物理層に分類されるRFは、デジタルデータをアナログデータに変換し、アンテナを介して送信したり、アンテナで受信されたアナログデータをデジタルデータに変換する役割を果たす。具体的には、デジタルデータの0と1からなるシーケンスに従って、デジタルデータの一次変調を行い、さらに、それを2.4GHzの周波数帯域を使用した搬送波に重畳し、送信する。この搬送波は、1つのデータの送信(タイムスロット)毎に周波数を変化させる、周波数ホッピング(FHSS(Frequency Hopping Spread Spectrum))方式により、絶えず周波数がホップされる。
【0034】
このように、データの送信または受信は、タイムスロット毎に交互に行われるため、受信スロットでは、アンテナで受信した信号から、2.4GHzの周波数帯域の搬送波を取り除いた後、復調を行い、0と1からなるシーケンスのデジタルデータを取り出す。ここで、取り除く搬送波の周波数帯域は、周波数ホッピングにより、絶えず変化されているが、通信相手に応じて、そのホッピングシーケンスは、認識されている。
【0035】
リンク層に分類されるBasebandは、主にデータの再送を要求するための制御を行う役割を果たす。具体的には、送信側では、元のデータに、誤り訂正符号など、様々な通信情報を付加して送信し、受信側では、そのデータが正しく受信されたか否かのレスポンスを返す。正しく受信されなかった場合、受信側は、送信側に対して、データの再送を要求する。但し、送信側において、リトライ回数を設定し、その設定回数を越えても、受信側でデータが受信されないときは、再送を中止する。
【0036】
また、リンク層に分類されるLMP(Link Management Protocol)は、Bluetooth通信による接続先との間のリンク状態を制御する役割を果たす。例えば、以下に示すような制御を行う。
・接続状態の確立および開放
・送受信するデータの有無、通信頻度などに応じたモード制御
・通信路の状態に応じたパケットの種類の切り替え
・データ通信を許可するのか否かの認証
・データ通信時の暗号化
【0037】
この層のリンクは、ACL(Asynchronous Connectionless)リンクとSCO(Synchronous Connection-Oriented)リンクの2種類に分類される。
【0038】
ACLリンクは、パケット交換方式でリンクするためのものであり、データ通信および通信の制御を目的として使用される。例えば、このリンクが確立された場合、Bluetooth通信のマスター(主導)となる機器がデータを送信すると、スレーブ(従属)となる機器がその問い合わせ(データ)に応答することができる。しかしながら、マスターが、常に主導権を持っているため、スレーブは、マスターから何らかのデータ(メッセージ)を受け取らないと、応答(返信)することができない。
【0039】
SCOリンクは、回線交換方式でリンクするためのものであり、主に音声通話(音声通信)を目的として使用される。例えば、このリンクが確立された場合、スレーブは、一定時間の間隔の通信スロットを保持する。なお、通信が行われていない場合でも、その通信スロットは、保持されたままである。従って、スレーブは、マスターからのデータ(メッセージ)を受け取らなくても、マスターにデータを送信することができる。
【0040】
ACLリンクは、制御用に使用されるため、通信を行うBluetooth機器間において、必要不可欠である。また、音声通信を行う場合、Bluetooth機器間において、ACLリンクを張った上に、SCOリンクを張る必要がある。
【0041】
さらにまた、リンク層に分類されるL2CAP(Logical Link Control&Adaptation Protocol)は、論理的なチャネルを定義する役割を果たす。2つのBluetooth機器間の接続は、物理的には、1つのACLリンクで接続されるが、論理的には、そこに複数のチャネルを定義することができる。これにより、様々な種類の上位プロトコルデータを、同時に送受信することができるようになる。但し、上位プロトコルから供給されるデータサイズが大きい場合、basebandで定義されたパケットの大きさに分割して送信し、受信側において、分割されたパケットを元のデータに統合する。
【0042】
アプリケーション層に分類される通信ユニット1のApplicationは、音声を送信する送信先(スレーブ)を探したり、その送信先と通信をするためのものである。また、CDプレーヤ2のApplicationは、マスターと通信するためのものや、通信が確立されると、送信されてきた音声データを出力するように出力を切替えるためのものである。
【0043】
次に、図5と図6のフローチャートを参照して、通信ユニット1とCDプレーヤ2(この例の場合、CDプレーヤ2−1と2−2)が実行する、音声割り込み処理について説明する。ステップS1において、通信ユニット1の制御用マイクロコンピュータ33は、入力部34から供給された信号に基づいて、ユーザよりマイクボタン12が押されたか否かを判定し、マイクボタン12が押されていないと判定した場合、ステップS1において、マイクボタン12が押されたと判定されるまで、待機する。
【0044】
ステップS1において、マイクボタン12が押されたと判定されると、ステップS2に進み、制御用マイクロコンピュータ33は、メモリ36に予め記憶されている通信ユニット1のユニークIDを読み出し、ベースバンド処理部32に供給して、Basebandパケットに含ませて、RF処理部35に供給させる。そして、RF処理部35は、供給されたデータをアナログの無線データに変換し、アンテナ13を介して通信ユニット1のユニークIDをブロードキャストする。
【0045】
ここで、図7を参照して、リンク確立時にBluetooth通信で使用されるBasebandパケットについて説明する。Basebandパケットには、72ビットのAccess Code(アクセスコード)、54ビットのPacket Header(パケットヘッダ)、およびFHS(Frequency Hop Synchronization)Payload(FHSペイロード)が含まれている。
【0046】
Access Codeには、どのBluetooth通信機器に関するパケットであるのかを表わすアドレスが記憶され、Packet Headerには、Bluetooth通信の制御に関する情報が記憶される。例えば、パケットの種別、再送要求フラグなどが含まれる。
【0047】
FHSペイロードには、34ビットのパリティ、24ビットのLAP(Lower Address Part)、8ビットのUAP(Upper Address Part)、16ビットのNAP(Non-Significant Address Part)、24ビットのCoD(Class of Device/Service)、26ビットのClock(クロック)が含まれている。なお、LAP,UAP,NAPはまとめて、BD_ADDR(Bluetooth Device Address)と称され、その内容は、IEEE(The Institute of Electrical and Electronics Engineers)802で規定されている。FHSペイロードにはまた、パケットが受け取れなかった場合に再送を要求する回数を設定する情報なども含まれている。さらに、マスターがスレーブに割り当てるAM_ADDR(Active Member Address)も含まれる。AM_ADDRとは、ピコネット内のアドレスのことである。
【0048】
そして、ピコネットとは、Bluetooth通信における、1つのマスターを中心にして形成されるスター型のネットワークのことであり、1つのピコネット内に1乃至7の最大7個のIDが割り当てられる。
【0049】
図5に戻って、Bluetooth通信する機器を探すためのステップS2の処理では、送信されるBasebandパケットのAccess Codeには、そのパケットが受け取り可能な全ての機器を対象にするようなアドレスが記憶されている。
【0050】
そして、ステップS31において、CDプレーヤ2−1のアンテナ21は、通信ユニット1より送信されてきたデータ(Basebandパケット)を受信する。そして、RF処理部61は、アンテナ21で受信されたデータを復調し、さらに、A/D変換し、ベースバンド処理部62に出力する。ステップS32において、CDプレーヤ2−1のベースバンド処理部62は、制御用マイクロコンピュータ55の指令に基づいて、CDプレーヤ2−1自身のユニークIDおよびCDプレーヤ2−1が提供するサービス内容(いずれも、メモリ57に記憶されている)をBasebandパケットに含ませて、通信ユニット1に送信する。
【0051】
また、ステップS61において、CDプレーヤ2−2は、通信ユニット1より送信されてきたデータを受信する。ステップS62において、CDプレーヤ2−2は、CDプレーヤ2−2自身のユニークIDおよびCDプレーヤ2−2が提供するサービス内容をBasebandパケットに含ませて、通信ユニット1に送信する。
【0052】
なお、このステップS32とステップS62で送信されるBasebandパケット(FHSペイロード)には、その機器に割り当てられたデバイスごとの絶対的なIDであるBD_ADDRと、その機器が何であるか、およびその機器のサービス(機能)内容を示すCodが含まれている。
【0053】
ステップS3において、通信ユニット1のアンテナ13は、CDプレーヤ2−1および2−2から、それぞれ送信されてきたユニークIDとサービス内容を受信する。そして、RF処理部35は、アンテナ13で受信されたデータを復調し、さらに、A/D変換し、ベースバンド処理部32に出力する。ベースバンド処理部32は、入力されたデータを、誤り訂正符号化処理等を行った後、制御用マイクロコンピュータ33に出力する。
【0054】
ステップS4において、通信ユニット1の制御用マイクロコンピュータ33は、ステップS3で受信したサービス内容に基づいて、音声受信可能なCDプレーヤがあるか否かを判定し、音声受信可能なCDプレーヤがあると判定された場合、ステップS5に進む。例えば、CDプレーヤ2−1が音声受信可能であると判定された場合、ステップS5において、通信ユニット1のベースバンド処理部32は、制御用マイクロコンピュータ33の指令に基づいて、CDプレーヤ2−1に、Pageメッセージを送信する。このとき、Pageメッセージ(Basebandパケット)には、宛て先として、CDプレーヤ2−1のBD_ADDRに基づいたAccess Codeが含まれている。
【0055】
ステップS33において、CDプレーヤ2−1のベースバンド処理部62は、アンテナ21およびRF処理部62を介して送信されてきたPageメッセージを受信する。このとき、CDプレーヤ2−1は、Access Codeから自分宛てのパケットであることを知る。ステップS34において、CDプレーヤ2−1のベースバンド処理部62は、通信ユニット1からのPageメッセージを受けて、通信ユニット1に、Pageメッセージを受信したことを通知する。
【0056】
ステップS6において、通信ユニット1のベースバンド処理部32は、CDプレーヤ2−1からのレスポンス(Pageメッセージが受信されたことを示すレスポンス)を受信する。ステップS7において、通信ユニット1のベースバンド処理部32は、制御用マイクロコンピュータ33の指令に基づいて、CDプレーヤ2−1に、Basebandパケットを送信する。このとき、Basebandパケット(FHSペイロード)には、通信ユニット1をマスターとするピコネットに、スレーブであるCDプレーヤ2−1が参加するための情報であるAM_ADDR(ピコネット内のID)、マスターの周波数ホッピングのシーケンス、およびクロックの位相情報が含まれている。
【0057】
ステップS35において、CDプレーヤ2−1のベースバンド処理部62は、通信ユニット1より送信されてきたBasebandパケットを受信する。このとき、CDプレーヤ2−1は、Access Codeから自分宛てのパケットであることを知り、AM_ADDRから自分が属するピコネット内のIDを受け取る。ステップS36において、CDプレーヤ2−1のベースバンド処理部62は、通信ユニット1からのBasebandパケットを受けて、通信ユニット1に、Basebandパケットを受信したことを通知する。
【0058】
ステップS8において、通信ユニット1のベースバンド処理部32は、CDプレーヤ2−1からのレスポンス(Basebandパケットが受信されたことを示すレスポンス)を受信する。ステップS9において、通信ユニット1のベースバンド処理部32は、制御用マイクロコンピュータ33の指令に基づいて、CDプレーヤ2−1に接続要求を送信する。
【0059】
ステップS37において、CDプレーヤ2−1のベースバンド処理部62は、通信ユニット1より送信されてきた接続要求を受信する。ステップS38において、CDプレーヤ2−1のベースバンド処理部62は、制御用マイクロコンピュータ55の指令に基づいて、通信ユニット1との通信に所定のチャネル(論理チャネル)を割り当て、通信ユニット1に、接続受け入れのレスポンスを送信する。
【0060】
上述した例では、CDプレーヤ2−1は、接続相手を限定しないものとしているが、特定の相手からのみの接続を認めたい場合には、ステップS37の処理とステップS38の処理の間に、相互認証処理が追加される。なお、認証の方法としては、例えば、ISO(International Organization for Standardization)9798を利用することができる。
【0061】
ステップS10において、通信ユニット1のベースバンド処理部32は、CDプレーヤ2−1より送信された通信に使用するチャネルを示すデータを含む接続受け入れのレスポンスを受信する。
【0062】
以上のように、ステップS1乃至S10、ステップS31乃至S38、およびステップS61,S62の処理により、通信ユニット1とCDプレーヤ2−1との間に、ACLリンクが確立され、アプリケーションレベルのデータ通信が可能になる。
【0063】
続いて、ステップS11において、通信ユニット1のベースバンド処理部32は、制御用マイクロコンピュータ33の指令に基づいて、CDプレーヤ2−1に、SCOリンクの確立を要求するメッセージを送信する。
【0064】
ステップS39において、CDプレーヤ2−1のベースバンド処理部62は、通信ユニット1からのSCOリンクの確立を要求するメッセージを受信する。ステップS40において、CDプレーヤ2−1のベースバンド処理部62は、制御用マイクロコンピュータ55の指令に基づいて、SCOリンクの確立要求の受け入れのレスポンスを送信する。
【0065】
このとき、CDプレーヤ2−1の制御用マイクロコンピュータ55は、送信されてくる通信ユニット1(マイクロホン11)からの音声データを再生できるように、スイッチ59を端子bに切り替える。これにより、CDプレーヤ2−1のユーザが、それまで、CD23の再生音をヘッドホン22で聴いていたとしても、それが中断される。
【0066】
ステップS12において、通信ユニット1のベースバンド処理部32は、CDプレーヤ2−1から送信されてきたSCOリンクの確立要求の受け入れのレスポンスを受信する。ステップS13において、ユーザは、マイクロホン11より音声を入力する。ステップS14において、通信ユニット1のコーデック処理部31は、入力された音声信号をA/D変換し、通信用のフォーマットにエンコードし、ベースバンド処理部32に出力する。そして、ベースバンド処理部32は、制御用マイクロコンピュータ33の指令に基づいて、CDプレーヤ2−1に音声データを送信する。
【0067】
ステップS41において、CDプレーヤ2−1のベースバンド処理部62は、送信されてきた音声データを受信する。そして、コーデック処理部63で、入力された音声データを復調し、さらに、D/A変換し、スイッチ59およびヘッドホンジャック60を介してヘッドホン22に出力し、音声データが再生される。
【0068】
ステップS15において、通信ユニット1の制御用マイクロコンピュータ33は、入力部34から供給された信号に基づいて、ユーザによりマイクボタン12が押されたか否かを判定し、マイクボタン12が押されていないと判定した場合、ステップS13に戻り、上述した処理を繰り返す。そして、ステップS15において、マイクボタン12が押されたと判定されると、ステップS16に進み、ベースバンド処理部32は、制御用マイクロコンピュータ33の指令に基づいて、SCOリンクを解除するメッセージをCDプレーヤ2−1に送信する。
【0069】
ステップS42において、CDプレーヤ2−1のベースバンド処理部62は、送信されてきたSCOリンクを解除するメッセージを受信する。ステップS43において、CDプレーヤ2−1のベースバンド処理部62は、制御用マイクロコンピュータ55の指令に基づいて、SCOリンクを解除するメッセージが受信されたことを表わすレスポンスを、通信ユニット1に通知する。
【0070】
ステップS17において、通信ユニット1のベースバンド処理部32は、CDプレーヤ2−1から送信されたレスポンス(SCOリンクを解除するメッセージが受信されたことを表わすレスポンス)を受信する。ステップS18において、通信ユニット1のベースバンド処理部32は、制御用マイクロコンピュータ33の指令に基づいて、ACLリンクを解除するメッセージをCDプレーヤ2−1に送信する。
【0071】
ステップS44において、CDプレーヤ2−1のベースバンド処理部62は、送信されてきたACLリンクを解除するメッセージを受信する。ステップS45において、CDプレーヤ2−1のベースバンド処理部62は、制御用マイクロコンピュータ55の指令に基づいて、ACLリンクを解除するメッセージが受信されたことを表わすレスポンスを、通信ユニット1に通知する。
【0072】
ステップS19において、通信ユニット1のベースバンド処理部32は、CDプレーヤ2−1から送信された、レスポンス(ACLリンクを解除するメッセージが受信されたことを表わすレスポンス)を受信し、処理は終了される。
【0073】
ステップS4において、音声受信可能なCDプレーヤがないと判定された場合、音声データを送信することができないので、処理は終了される。
【0074】
このように、通信ユニット1は、音声受信可能なCDプレーヤ2−1との間で接続が確立すると、入力した音声データをCDプレーヤ2−1に送信して音声を割り込ませることができる。
【0075】
なお、通信ユニット1から送信要求があった場合、CDプレーヤ2は、無条件に音声データの割り込みを許可するようになされているが、本発明はこれに限らず、CDプレーヤ2のユーザが、音声データの割り込みを許可するか否かを選択できるような選択入力ボタンをCDプレーヤ2に設けるようにしてもよい。
【0076】
また、以上においては、通信ユニット1のワイヤレスホンとしてCDプレーヤ2−1が機能するようにしたが、例えば、2つのBluetooth通信機器が、ともにマイクロホンとヘッドホンの両方を備えている場合、SCOリンクの音声通信により、トランシーバとして機能させることも可能である。
【0077】
さらにまた、以上においては、音楽データの再生時に音声データを割り込ませる動作について説明したが、本発明はこれに限らず、例えば、ユーザが携帯端末に動画または静止画などの画像を表示させているときに、緊急情報(例えば、地震情報や事故発生情報など)を文字または音声などで割り込ませ、ユーザに知らせるようにしてもよい。
【0078】
上述した一連の処理は、ハードウェアにより実行させることもできるが、ソフトウェアにより実行させることもできる。一連の処理をソフトウェアにより実行させる場合には、そのソフトウェアを構成するプログラムが、専用のハードウエアに組み込まれているコンピュータ、または、各種のプログラムをインストールすることで、各種の機能を実行することが可能な、例えば、汎用のパーソナルコンピュータなどに、プログラム格納媒体からインストールされる。
【0079】
コンピュータにインストールされ、コンピュータによって実行可能な状態とされるプログラムを格納するプログラム格納媒体は、図2に示すように磁気ディスク42(フロッピディスクを含む)、光ディスク43(CD-ROM(Compact Disk-Read Only Memory),DVD(Digital Versatile Disk)を含む)、光磁気ディスク44(MD (Mini-Disk)を含む)、もしくは半導体メモリ45などよりなるパッケージメディア、または、プログラムが一時的若しくは永続的に格納されるハードディスクなどにより構成される。プログラム格納媒体へのプログラム格納媒体へのプログラムの格納は、必要に応じてルータ、モデムなどのインタフェースを介して、ローカルエリアネットワーク、インターネット、デジタル衛星放送といった有線または無線の通信媒体を利用して行われる。
【0080】
また、本明細書において、媒体により提供されるプログラムを記述するステップは、記載された順序に従って、時系列的に行われる処理は勿論、必ずしも時系列的に処理されなくとも、並列的あるいは個別に実行される処理をも含むものである。
【0081】
なお、本明細書において、システムとは、複数の装置により構成される装置全体を表すものである。
【0082】
【発明の効果】
以上のように、本発明によれば、任意の場所で、記録媒体のデータを再生中でも、通信装置からのデータを確実に受け取ることが可能となる。
【図面の簡単な説明】
【図1】本発明を適用した情報処理システムの構成例を示すブロック図である。
【図2】図1の通信ユニット1の構成例を示すブロック図である。
【図3】図1のCDプレーヤ2の構成例を示すブロック図である。
【図4】通信プロトコルスタックを説明する図である。
【図5】音声割り込み処理を説明するフローチャートである。
【図6】図5に続くフローチャートである。
【図7】 Basebandパケットを説明する図である。
【符号の説明】
1 通信ユニット, 2 CDプレーヤ, 11 マイクロホン, 12 マイクボタン, 23 CD, 32 ベースバンド処理部, 33 制御用マイクロコンピュータ, 34 入力部, 35 RF処理部, 36 メモリ, 55 制御用マイクロコンピュータ, 57 メモリ, 61 RF処理部, 62 ベースバンド処理部, 59 スイッチ
[0001]
BACKGROUND OF THE INVENTION
The present invention Communication device In particular, for example, it was possible to interrupt the sound from the outside, for example Communication device About.
[0002]
[Prior art]
In recent years, with the widespread use of headphone stereos, it has become possible to listen to radio broadcasts and music while traveling in a vehicle or on foot.
[0003]
[Problems to be solved by the invention]
By the way, when using a headphone stereo, it is difficult to hear the sound from the outside, so there was a risk that someone would not notice even if someone called out and missed the in-car broadcast.
[0004]
Headphone stereos installed in specific locations, such as in airplanes and bullet trains, are preset so that the guidance broadcast is interrupted, and the user listens to music or radio broadcasts with the headphone stereo. Never miss a guide broadcast.
[0005]
However, such interruptions are possible only for the headphone stereo prepared in advance in the vehicle, and this is the case when a general user uses his / her own headphone stereo. It was not possible to realize such a function.
[0006]
The present invention has been made in view of such a situation, and even when listening to music or radio broadcasting with a headphone stereo in an arbitrary place, it is possible to easily interrupt a wide range of external sounds. Is to be able to.
[0007]
[Means for Solving the Problems]
The communication apparatus of the present invention includes a communication unit, a control unit that controls the communication unit, a reproduction unit that reproduces content data stored in a storage medium, and an output unit that outputs the content data reproduced by the reproduction unit. In the communication apparatus comprising: A packet including ID information assigned to the device and information indicating the function of the device is exchanged with an external device. The communication means communicated Said After establishing a control link between the external device and the communication device, and after establishing the control link between the external device and the communication device, When a connection request is received from the external device, For the external device To allow reception of audio signals Send a signal , Receive from the external device instead of the content data reproduced by the reproduction means Said An audio signal is output to the output means.
[0009]
The communication means includes Bluetooth (Registered trademark) Data transmission / reception can be performed using wireless communication conforming to the above.
[0010]
The communication device is a wireless voice of the external device. output It can be a device.
[0011]
The external device includes switching means for switching whether to transmit a signal including the audio signal to the communication device, and the control unit is configured to switch the control link and audio between the external device and the communication device. After establishing a communication link, and establishing the control link and the voice communication link between the external device and the communication device, the external device To allow reception of audio signals When the signal is transmitted, when the switching from the non-transmission to the transmission of the signal including the audio signal is input to the switching unit, the audio signal transmitted from the external device is output to the output unit. Can be made.
[0012]
The external device is controlled by the control means. Receive from the external device Said Audio signal Said When the output means is outputting, the switching means From transmission to non-transmission of signals including the audio signal When switching is entered, Said voice Cancel communication link Can.
[0013]
In the present invention, A packet including ID information assigned to the device and information indicating the function of the device is exchanged with an external device, After a control link is established between the external device and the communication device, and after the control link is established between the external device and the communication device, When a connection request is received from the external device, For the external device To allow reception of audio signals Signal is sent , Receive from the external device instead of the content data reproduced by the reproduction means Said An audio signal is output to the output means.
[0014]
DETAILED DESCRIPTION OF THE INVENTION
FIG. 1 is a diagram showing a configuration of an embodiment of an information processing system to which the present invention is applied. This system includes a communication unit 1 and a CD (Compact Disk) player 2. The user of the communication unit 1 presses the microphone button 12 and inputs the sound from the microphone 11 when transmitting the input sound to the peripheral device. Further, when the user wants to end the transmission of the voice, the user presses the microphone button 12 again. The communication unit 1 modulates the input voice into a signal of a predetermined method and outputs it as a radio wave from the antenna 13. The antenna 13 also receives radio waves transmitted from the CD player 2.
[0015]
The CD player 2 demodulates the radio wave received by the antenna 21 and outputs sound via the headphones 22 or reproduces music data recorded on the CD 23 mounted on the CD player 2, and the headphones 22. Output to.
[0016]
For communication between the communication unit 1 and the CD player 2, the wireless communication standard Bluetooth ( Registration Wireless communication conforming to the trademark) is used. Although only one CD player 2 is shown in FIG. 1, a plurality of CD players 2 may be provided.
[0017]
FIG. 2 is a block diagram showing an internal configuration of the communication unit 1. The microphone 11 inputs a user's voice and supplies it to a codec (CODEC) processing unit 31. The codec processing unit 31 performs A / D (Analog to Digital) conversion on the input audio signal, encodes it into a communication format, and outputs the encoded signal to a baseband processing unit 32.
[0018]
In bluetooth voice communication, 64 kbps CVSD (Continuo Variable Slope Delta Modulation) format, or 64 kbps A-law and μ-law are used.
[0019]
The baseband processing unit 32 packetizes the input audio signal into a Bluetooth communication packet based on a command from the control microcomputer 33, performs error correction coding processing, etc., and then performs RF (Radio Frequency) processing. To the unit 35. The baseband processing unit 32 also performs error correction coding processing on the received data input via the RF processing unit 35. If the baseband processing unit 32 cannot correctly receive data, a message requesting retransmission is transmitted to the CD player 2.
[0020]
The RF processing unit 35 converts audio data and communication data from the baseband processing unit 32 into analog wireless data, and transmits the analog wireless data to the CD player 2 via the antenna 13. The RF processing unit 35 also demodulates communication data received by the antenna 13, further A / D-converts it, and outputs it to the baseband processing unit 32.
[0021]
The input unit 34 generates a predetermined signal corresponding to the operation of the microphone button 12 and outputs it to the control microcomputer 33.
[0022]
The control microcomputer 33 appropriately reads a program previously stored in the memory 36 and executes processing. For example, after reading a program stored in the memory 36 based on a signal corresponding to a user operation supplied from the input unit 34 and selecting a predetermined one from the plurality of CD players 2, A procedure for establishing a connection with the CD player 2 is executed (a specific example thereof will be described later). When communication with the CD player 2 is established, the control microcomputer 33 controls the baseband processing unit 32 to transmit audio data to the CD player 2 via the RF processing unit 35 and the antenna 13.
[0023]
A program executed by the control microcomputer 33 is stored in the memory 36 in advance, or a magnetic disk 42, an optical disk 43, a magneto-optical disk 44, or a semiconductor memory 45 driven by a drive 41 that is detachably connected. And so on.
[0024]
FIG. 3 is a block diagram showing an internal configuration of the CD player 2. The CD 23 is mounted on a spindle 51A that is rotated at a predetermined rotational speed by a spindle motor 51. The pickup 52 irradiates the signal surface of the CD 23 with light from a built-in laser diode (not shown) and reads data from the reflected light. Here, the pickup 52 is moved in the radial direction of the CD 23 by the servo circuit 53. The servo circuit 53 servo-controls the spindle motor 51 and the pickup 52 based on a command from the control microcomputer 55.
[0025]
The demodulation circuit 54 is controlled by the control microcomputer 55, performs EFM demodulation on the data read by the pickup 52, performs error correction coding processing, and the like, and then outputs the D / A converter 56. The D / A converter 56 D / A converts the input data and outputs it to the amplifier 58. The amplifier 58 amplifies the input data and outputs the amplified data to the headphones 22 via the switch 59 and the headphone jack 60 to reproduce the music data.
[0026]
The switch 59 is switched so as to select the terminal a when reproducing music data from the CD 23 based on a command of the control microcomputer 55, and the audio data from the communication unit 1 (microphone 11) transmitted is transmitted. Is switched to select the terminal b.
[0027]
The RF processing unit 61 demodulates communication data and audio data received by the antenna 21, further A / D-converts, and outputs the result to the baseband processing unit 62. The RF processing unit 61 also converts data (packets) for communication from the baseband processing unit 62 into analog wireless data, and transmits the analog wireless data to the communication unit 1 via the antenna 21.
[0028]
The baseband processing unit 62 performs error correction coding processing on the communication data input from the RF processing unit 61. When the baseband processing unit 62 cannot correctly receive data, a message requesting retransmission is transmitted to the communication unit 1. The baseband processing unit 62 also packetizes communication data into a Bluetooth communication packet based on a command from the control microcomputer 55, performs error correction coding processing, etc., and then outputs the packet to the RF processing unit 61. To do.
[0029]
Further, the baseband processing unit 62 outputs the audio data from the RF processing unit 61 to the codec processing unit 63. The codec processing unit 63 demodulates the input audio data, further D / A-converts it, and outputs it to the headphones 22 via the switch 59 and the headphone jack 60 to reproduce the audio data.
[0030]
The control microcomputer 55 controls the servo circuit 53, the demodulation circuit 54, the switch 59, the baseband processing unit 62, and the like based on a command from the user (such as a command for reproducing music data recorded on the CD 23). . The control microcomputer 55 also communicates the data (unique ID, etc.) of the CD player 2 stored in the memory 57 in a procedure for establishing a communication connection with the communication unit 1 (specific examples will be described later). Send to unit 1. When the connection is established, the control microcomputer 55 switches the switch 59 to the terminal b so that the audio data transmitted from the communication unit 1 can be output to the headphone jack 60.
[0031]
At this time, the CD player 2 functions as a wireless headphone of the communication unit 1, not for music playback.
[0032]
Next, a communication protocol stack for performing communication between the communication unit 1 compatible with Bluetooth and the CD player 2 will be described with reference to FIG. In the figure, the module shown in the upper part is of a higher hierarchy than the module shown in the lower part.
[0033]
The RF classified into the physical layer plays a role of converting digital data into analog data and transmitting it through an antenna or converting analog data received by the antenna into digital data. Specifically, the primary modulation of the digital data is performed according to the sequence consisting of 0 and 1 of the digital data, which is further superimposed on a carrier wave using a 2.4 GHz frequency band and transmitted. The frequency of this carrier wave is constantly hopped by a frequency hopping (FHSS (Frequency Hopping Spread Spectrum)) method in which the frequency is changed for each transmission of data (time slot).
[0034]
Thus, data transmission or reception is alternately performed for each time slot. Therefore, in the reception slot, the carrier wave in the 2.4 GHz frequency band is removed from the signal received by the antenna, and then demodulation is performed. And take out the digital data of the sequence consisting of 1. Here, the frequency band of the carrier to be removed is constantly changed by frequency hopping, but the hopping sequence is recognized according to the communication partner.
[0035]
Baseband classified as a link layer mainly plays a role of performing control for requesting retransmission of data. Specifically, on the transmission side, various communication information such as an error correction code is added to the original data for transmission, and the reception side returns a response as to whether or not the data has been correctly received. If the data is not correctly received, the receiving side requests the transmitting side to retransmit the data. However, the number of retries is set on the transmission side, and if the data is not received on the reception side even if the set number of times is exceeded, retransmission is stopped.
[0036]
Further, LMP (Link Management Protocol) classified in the link layer plays a role of controlling a link state with a connection destination by Bluetooth communication. For example, the following control is performed.
・ Establish and release connection status
・ Mode control according to the presence / absence of data to be transmitted / received, communication frequency, etc.
・ Switching packet types according to the communication path status
・ Authentication of whether to allow data communication
・ Encryption during data communication
[0037]
The links in this layer are classified into two types: ACL (Asynchronous Connectionless) links and SCO (Synchronous Connection-Oriented) links.
[0038]
The ACL link is used for linking in a packet switching system, and is used for the purpose of data communication and communication control. For example, when this link is established, when a device serving as a master (leading) of Bluetooth communication transmits data, a device serving as a slave (subordinate) can respond to the inquiry (data). However, since the master always has the initiative, the slave cannot respond (reply) unless it receives some data (message) from the master.
[0039]
The SCO link is used for linking by a circuit switching method, and is mainly used for voice communication (voice communication). For example, when this link is established, the slave holds communication slots at regular time intervals. Even when communication is not being performed, the communication slot remains held. Therefore, the slave can transmit data to the master without receiving data (message) from the master.
[0040]
Since an ACL link is used for control, it is indispensable between Bluetooth devices that perform communication. In addition, when performing voice communication, it is necessary to establish an SCO link after establishing an ACL link between Bluetooth devices.
[0041]
Furthermore, L2CAP (Logical Link Control & Adaptation Protocol) classified in the link layer plays a role of defining a logical channel. The connection between two Bluetooth devices is physically connected by one ACL link, but logically, a plurality of channels can be defined there. As a result, various types of higher-level protocol data can be transmitted and received simultaneously. However, when the data size supplied from the upper protocol is large, it is divided into the packet size defined in the baseband and transmitted, and the divided packet is integrated into the original data on the receiving side.
[0042]
The application of the communication unit 1 classified into the application layer is for searching for a transmission destination (slave) for transmitting audio and communicating with the transmission destination. The application of the CD player 2 is for communicating with the master, or for switching the output so as to output the transmitted audio data when communication is established.
[0043]
Next, with reference to the flowcharts of FIGS. 5 and 6, the audio interrupt process executed by the communication unit 1 and the CD player 2 (in this example, the CD players 2-1 and 2-2) will be described. In step S1, the control microcomputer 33 of the communication unit 1 determines whether or not the microphone button 12 is pressed by the user based on the signal supplied from the input unit 34, and the microphone button 12 is not pressed. If it is determined that the microphone button 12 is pressed in step S1, the process waits.
[0044]
If it is determined in step S 1 that the microphone button 12 has been pressed, the process proceeds to step S 2, where the control microcomputer 33 reads the unique ID of the communication unit 1 stored in advance in the memory 36, and the baseband processing unit 32. To be included in the Baseband packet and supplied to the RF processing unit 35. Then, the RF processing unit 35 converts the supplied data into analog wireless data, and broadcasts the unique ID of the communication unit 1 via the antenna 13.
[0045]
Here, with reference to FIG. 7, the Baseband packet used by Bluetooth communication at the time of link establishment is demonstrated. The Baseband packet includes a 72-bit Access Code (access code), a 54-bit Packet Header (packet header), and an FHS (Frequency Hop Synchronization) Payload (FHS payload).
[0046]
In the Access Code, an address indicating which Bluetooth communication device the packet is related to is stored, and in the Packet Header, information related to control of Bluetooth communication is stored. For example, a packet type, a retransmission request flag, and the like are included.
[0047]
The FHS payload includes 34-bit parity, 24-bit LAP (Lower Address Part), 8-bit UAP (Upper Address Part), 16-bit NAP (Non-Significant Address Part), 24-bit CoD (Class of Device) / Service), 26-bit Clock (clock). Note that LAP, UAP, and NAP are collectively referred to as BD_ADDR (Bluetooth Device Address), and the contents thereof are defined by IEEE (The Institute of Electrical and Electronics Engineers) 802. The FHS payload also includes information for setting the number of times to request retransmission when a packet is not received. Furthermore, AM_ADDR (Active Member Address) assigned by the master to the slave is also included. AM_ADDR is an address in the piconet.
[0048]
The piconet is a star-type network formed around one master in Bluetooth communication, and a maximum of seven IDs 1 to 7 are assigned to one piconet.
[0049]
Returning to FIG. 5, in the process of step S <b> 2 for searching for a device that performs Bluetooth communication, the Access Code of the transmitted Baseband packet stores an address that targets all devices that can receive the packet. ing.
[0050]
In step S31, the antenna 21 of the CD player 2-1 receives the data (Baseband packet) transmitted from the communication unit 1. Then, the RF processing unit 61 demodulates the data received by the antenna 21, further A / D converts it, and outputs it to the baseband processing unit 62. In step S32, the baseband processing unit 62 of the CD player 2-1 determines the unique ID of the CD player 2-1 itself and the service contents provided by the CD player 2-1 (whichever Is also included in the Baseband packet and transmitted to the communication unit 1.
[0051]
In step S61, the CD player 2-2 receives the data transmitted from the communication unit 1. In step S62, the CD player 2-2 includes the unique ID of the CD player 2-2 and the service content provided by the CD player 2-2 in the Baseband packet, and transmits them to the communication unit 1.
[0052]
In the Baseband packet (FHS payload) transmitted in Step S32 and Step S62, BD_ADDR that is an absolute ID for each device assigned to the device, what the device is, and the device's Cod indicating service (function) content is included.
[0053]
In step S3, the antenna 13 of the communication unit 1 receives the unique ID and the service content transmitted from the CD players 2-1 and 2-2, respectively. Then, the RF processing unit 35 demodulates the data received by the antenna 13, further A / D-converts it, and outputs it to the baseband processing unit 32. The baseband processing unit 32 performs error correction coding processing on the input data and then outputs the data to the control microcomputer 33.
[0054]
In step S4, the control microcomputer 33 of the communication unit 1 determines whether there is a CD player capable of receiving sound based on the service content received in step S3, and if there is a CD player capable of receiving sound. If determined, the process proceeds to step S5. For example, if it is determined that the CD player 2-1 can receive sound, the baseband processing unit 32 of the communication unit 1 determines that the CD player 2-1 is based on a command from the control microcomputer 33 in step S5. Send a Page message. At this time, the Page message (Baseband packet) includes an Access Code based on the BD_ADDR of the CD player 2-1 as the destination.
[0055]
In step S <b> 33, the baseband processing unit 62 of the CD player 2-1 receives the Page message transmitted via the antenna 21 and the RF processing unit 62. At this time, the CD player 2-1 knows from the Access Code that the packet is addressed to itself. In step S34, the baseband processing unit 62 of the CD player 2-1 receives the Page message from the communication unit 1, and notifies the communication unit 1 that the Page message has been received.
[0056]
In step S6, the baseband processing unit 32 of the communication unit 1 receives the response (response indicating that the Page message has been received) from the CD player 2-1. In step S <b> 7, the baseband processing unit 32 of the communication unit 1 transmits a Baseband packet to the CD player 2-1 based on a command from the control microcomputer 33. At this time, in the Baseband packet (FHS payload), AM_ADDR (ID in the piconet) that is information for the participation of the slave CD player 2-1 in the piconet whose communication unit 1 is the master, and frequency hopping of the master Sequence, and clock phase information.
[0057]
In step S35, the baseband processing unit 62 of the CD player 2-1 receives the Baseband packet transmitted from the communication unit 1. At this time, the CD player 2-1 knows that the packet is addressed to itself from the Access Code, and receives the ID in the piconet to which it belongs from AM_ADDR. In step S36, the baseband processing unit 62 of the CD player 2-1 receives the Baseband packet from the communication unit 1, and notifies the communication unit 1 that the Baseband packet has been received.
[0058]
In step S8, the baseband processing unit 32 of the communication unit 1 receives a response from the CD player 2-1 (a response indicating that a Baseband packet has been received). In step S <b> 9, the baseband processing unit 32 of the communication unit 1 transmits a connection request to the CD player 2-1 based on a command from the control microcomputer 33.
[0059]
In step S37, the baseband processing unit 62 of the CD player 2-1 receives the connection request transmitted from the communication unit 1. In step S38, the baseband processing unit 62 of the CD player 2-1 allocates a predetermined channel (logical channel) for communication with the communication unit 1 based on a command from the control microcomputer 55. Send a connection acceptance response.
[0060]
In the above-described example, the CD player 2-1 does not limit the connection partner. However, when it is desired to allow connection only from a specific partner, the mutual connection between the process of step S37 and the process of step S38 is performed. Authentication processing is added. As an authentication method, for example, ISO (International Organization for Standardization) 9798 can be used.
[0061]
In step S10, the baseband processing unit 32 of the communication unit 1 receives a connection acceptance response including data indicating a channel used for communication transmitted from the CD player 2-1.
[0062]
As described above, the ACL link is established between the communication unit 1 and the CD player 2-1 by the processes of steps S 1 to S 10, steps S 31 to S 38, and steps S 61 and S 62, and application level data communication is performed. It becomes possible.
[0063]
Subsequently, in step S <b> 11, the baseband processing unit 32 of the communication unit 1 transmits a message requesting establishment of the SCO link to the CD player 2-1 based on a command from the control microcomputer 33.
[0064]
In step S39, the baseband processing unit 62 of the CD player 2-1 receives the message requesting establishment of the SCO link from the communication unit 1. In step S <b> 40, the baseband processing unit 62 of the CD player 2-1 transmits a response to accept the SCO link establishment request based on a command from the control microcomputer 55.
[0065]
At this time, the control microcomputer 55 of the CD player 2-1 switches the switch 59 to the terminal b so as to reproduce the audio data transmitted from the communication unit 1 (microphone 11). Thereby, even if the user of the CD player 2-1 has been listening to the reproduction sound of the CD 23 with the headphones 22 until then, it is interrupted.
[0066]
In step S12, the baseband processing unit 32 of the communication unit 1 receives the response to accept the SCO link establishment request transmitted from the CD player 2-1. In step S <b> 13, the user inputs sound from the microphone 11. In step S <b> 14, the codec processing unit 31 of the communication unit 1 performs A / D conversion on the input audio signal, encodes it into a communication format, and outputs it to the baseband processing unit 32. Then, the baseband processing unit 32 transmits audio data to the CD player 2-1 based on a command from the control microcomputer 33.
[0067]
In step S41, the baseband processing unit 62 of the CD player 2-1 receives the transmitted audio data. The codec processing unit 63 demodulates the input audio data, further D / A converts it, outputs it to the headphones 22 via the switch 59 and the headphone jack 60, and the audio data is reproduced.
[0068]
In step S15, the control microcomputer 33 of the communication unit 1 determines whether or not the microphone button 12 is pressed by the user based on the signal supplied from the input unit 34, and the microphone button 12 is not pressed. If it is determined, the process returns to step S13 and the above-described processing is repeated. If it is determined in step S15 that the microphone button 12 has been pressed, the process proceeds to step S16, where the baseband processing unit 32 sends a message for releasing the SCO link based on a command from the control microcomputer 33 to the CD player. 2-1.
[0069]
In step S42, the baseband processing unit 62 of the CD player 2-1 receives the transmitted message for releasing the SCO link. In step S 43, the baseband processing unit 62 of the CD player 2-1 notifies the communication unit 1 of a response indicating that a message for releasing the SCO link has been received based on an instruction from the control microcomputer 55. .
[0070]
In step S17, the baseband processing unit 32 of the communication unit 1 receives a response (a response indicating that a message for releasing the SCO link has been received) transmitted from the CD player 2-1. In step S <b> 18, the baseband processing unit 32 of the communication unit 1 transmits a message for releasing the ACL link to the CD player 2-1 based on a command from the control microcomputer 33.
[0071]
In step S44, the baseband processing unit 62 of the CD player 2-1 receives the transmitted message for releasing the ACL link. In step S45, the baseband processing unit 62 of the CD player 2-1 notifies the communication unit 1 of a response indicating that a message for releasing the ACL link has been received based on a command from the control microcomputer 55. .
[0072]
In step S19, the baseband processing unit 32 of the communication unit 1 receives the response (a response indicating that the message for releasing the ACL link has been received) transmitted from the CD player 2-1, and the processing ends. The
[0073]
If it is determined in step S4 that there is no CD player capable of receiving audio, the audio data cannot be transmitted, and the process ends.
[0074]
As described above, when the connection is established with the CD player 2-1 capable of receiving sound, the communication unit 1 can transmit the input sound data to the CD player 2-1 to interrupt the sound.
[0075]
Note that, when there is a transmission request from the communication unit 1, the CD player 2 is allowed to interrupt audio data unconditionally. However, the present invention is not limited to this, and the user of the CD player 2 The CD player 2 may be provided with a selection input button that can select whether or not to permit interruption of audio data.
[0076]
In the above description, the CD player 2-1 functions as a wireless phone of the communication unit 1. However, for example, when two Bluetooth communication devices are both equipped with both a microphone and a headphone, It is also possible to function as a transceiver by voice communication.
[0077]
Furthermore, in the above description, the operation for interrupting audio data during the reproduction of music data has been described. However, the present invention is not limited to this, and for example, a user displays an image such as a moving image or a still image on a mobile terminal. Sometimes, emergency information (for example, earthquake information, accident occurrence information, etc.) may be interrupted by text or voice to notify the user.
[0078]
The series of processes described above can be executed by hardware, but can also be executed by software. When a series of processing is executed by software, a program constituting the software may execute various functions by installing a computer incorporated in dedicated hardware or various programs. For example, it is installed from a program storage medium in a general-purpose personal computer or the like.
[0079]
As shown in FIG. 2, a program storage medium for storing a program installed in a computer and made executable by the computer includes a magnetic disk 42 (including a floppy disk), an optical disk 43 (CD-ROM (Compact Disk-Read). Package memory or programs that consist of only memory (including only memory), DVD (including digital versatile disk), magneto-optical disk 44 (including MD (mini-disk)), or semiconductor memory 45, or programs are stored temporarily or permanently. It is composed of a hard disk or the like. The program is stored in the program storage medium using a wired or wireless communication medium such as a local area network, the Internet, or digital satellite broadcasting via an interface such as a router or a modem as necessary. Is called.
[0080]
Further, in this specification, the steps for describing the program provided by the medium are performed in parallel or individually in accordance with the described order, as well as processing performed in time series, not necessarily in time series. The process to be executed is also included.
[0081]
In the present specification, the term “system” represents the entire apparatus constituted by a plurality of apparatuses.
[0082]
【The invention's effect】
As above According to the present invention, Even when data on a recording medium is being reproduced at an arbitrary place, it is possible to reliably receive data from the communication device.
[Brief description of the drawings]
FIG. 1 is a block diagram showing a configuration example of an information processing system to which the present invention is applied.
FIG. 2 is a block diagram illustrating a configuration example of a communication unit 1 in FIG.
FIG. 3 is a block diagram illustrating a configuration example of the CD player 2 in FIG. 1;
FIG. 4 is a diagram illustrating a communication protocol stack.
FIG. 5 is a flowchart illustrating voice interrupt processing.
FIG. 6 is a flowchart following FIG. 5;
FIG. 7 is a diagram illustrating a Baseband packet.
[Explanation of symbols]
1 communication unit, 2 CD player, 11 microphone, 12 microphone button, 23 CD, 32 baseband processing unit, 33 control microcomputer, 34 input unit, 35 RF processing unit, 36 memory, 55 control microcomputer, 57 memory , 61 RF processor, 62 baseband processor, 59 switches

Claims (5)

通信手段と、
前記通信手段を制御する制御手段と、
記憶媒体に記憶されたコンテンツデータを再生する再生手段と、
前記再生手段が再生した前記コンテンツデータを出力する出力手段と
を備える通信装置において、
前記制御手段は、装置に割り当てられたID情報および装置の機能を示す情報を含むパケットを外部機器と相互に授受させ、前記通信手段が通信した前記外部機器と前記通信装置との間で制御用リンクを確立させ、前記外部機器と前記通信装置との間で前記制御用リンクが確立したあとで、前記外部機器より接続要求を受信した場合、前記外部機器に対して音声信号の受信を許可するための信号を送信させ前記再生手段が再生した前記コンテンツデータに代えて、前記外部機器から受信する前記音声信号を前記出力手段に出力させる
通信装置。
Communication means;
Control means for controlling the communication means;
Reproducing means for reproducing the content data stored in the storage medium;
In a communication apparatus comprising: output means for outputting the content data reproduced by the reproduction means;
It said control means causes the transmitting and receiving packets containing information indicating the function of the assigned ID information and device to device to an external device and another, control between the external device by the communication means is in communication with the communication device When a connection request is received from the external device after the link is established and the control link is established between the external device and the communication device, the external device is permitted to receive an audio signal. to send a signal for the reproducing means in place of the content data is reproduced, a communication device for outputting the audio signal received from said external device to said output means.
前記通信手段は、Bluetooth(登録商標)に準拠した無線通信を用いてデータの送受信を行う
請求項1に記載の通信装置。
The communication apparatus according to claim 1, wherein the communication unit transmits and receives data using wireless communication conforming to Bluetooth (registered trademark).
前記通信装置は、前記外部機器のワイヤレス音声出力装置である
請求項1に記載の通信装置。
The communication apparatus according to claim 1, wherein the communication apparatus is a wireless audio output apparatus of the external device.
前記外部機器は、前記音声信号を含む信号を前記通信装置に送信するか否かを切り替える切替手段を備え、
前記制御手段は、前記外部機器と前記通信装置との間で前記制御用リンクと音声通信用リンクを確立させ、前記外部機器と前記通信装置との間で前記制御用リンクと前記音声通信用リンクが確立したあとで、前記外部機器に対して前記音声信号の受信を許可するための信号を送信させたときに、前記切替手段に前記音声信号を含む信号の非送信から送信への切替が入力された場合に前記外部機器から送信されてくる前記音声信号を、前記出力手段に出力させる
請求項1に記載の通信装置。
The external device includes switching means for switching whether to transmit a signal including the audio signal to the communication device,
The control means establishes the control link and the voice communication link between the external device and the communication device, and the control link and the voice communication link between the external device and the communication device. When the signal for permitting the reception of the audio signal is transmitted to the external device after the signal is established, the switching means inputs the switching from non-transmission to transmission of the signal including the audio signal. The communication apparatus according to claim 1, wherein the output unit outputs the audio signal transmitted from the external device when the output is performed.
前記外部機器は、前記制御手段が前記外部機器から受信する前記音声信号を前記出力手段に出力させているときに、前記切替手段に前記音声信号を含む信号の送信から非送信への切替が入力された場合、前記音声通信用リンクを解除する
請求項に記載の通信装置。
In the external device, when the control unit causes the output unit to output the audio signal received from the external device, switching from transmission of the signal including the audio signal to non-transmission is input to the switching unit. The communication apparatus according to claim 4 , wherein the voice communication link is released when the communication is performed.
JP2000328820A 1999-10-27 2000-10-27 Communication device Expired - Lifetime JP4660913B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000328820A JP4660913B2 (en) 1999-10-27 2000-10-27 Communication device

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP30517699 1999-10-27
JP11-305176 1999-10-27
JP2000328820A JP4660913B2 (en) 1999-10-27 2000-10-27 Communication device

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2009154410A Division JP4978812B2 (en) 1999-10-27 2009-06-29 Information playback device

Publications (2)

Publication Number Publication Date
JP2001197019A JP2001197019A (en) 2001-07-19
JP4660913B2 true JP4660913B2 (en) 2011-03-30

Family

ID=26564187

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000328820A Expired - Lifetime JP4660913B2 (en) 1999-10-27 2000-10-27 Communication device

Country Status (1)

Country Link
JP (1) JP4660913B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005318049A (en) * 2004-04-27 2005-11-10 Matsushita Electric Ind Co Ltd Communication apparatus and communication system
JP2007259054A (en) * 2006-03-23 2007-10-04 Saxa Inc Wireless communication device
US10652673B2 (en) 2013-05-15 2020-05-12 Gn Hearing A/S Hearing instrument with an authentication protocol

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04243358A (en) * 1991-01-17 1992-08-31 Sony Corp Portable telephone set

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01298845A (en) * 1988-05-27 1989-12-01 G D S:Kk Audio reproducing system having external signal interruption function
JP3181764B2 (en) * 1993-08-30 2001-07-03 佳能電産香港有限公司 Electronic device and ringing output control method thereof
JPH1117788A (en) * 1997-06-27 1999-01-22 Nec Corp Headphone stereo device
JPH1188224A (en) * 1997-09-04 1999-03-30 Nagano Japan Radio Co Transmitter receiver, repeater and radio communication system
JPH11103264A (en) * 1997-09-27 1999-04-13 Baldwin Japan Ltd Specific small power radio equipment having interruption function
JPH11110034A (en) * 1997-09-30 1999-04-23 Hitachi Ltd Work support method and system for remote plant

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04243358A (en) * 1991-01-17 1992-08-31 Sony Corp Portable telephone set

Also Published As

Publication number Publication date
JP2001197019A (en) 2001-07-19

Similar Documents

Publication Publication Date Title
JP4978812B2 (en) Information playback device
JP5304693B2 (en) COMMUNICATION DEVICE AND ITS AUDIO OUTPUT CONTROL METHOD
EP3718323B1 (en) Wireless low-latency audio content sharing
JP4779063B2 (en) Wireless earphones that migrate between wireless networks
US7747338B2 (en) Audio system employing multiple mobile devices in concert
CN110447235B (en) Apparatus, system and method for transmitting and relaying audio signals
JP2003347956A (en) Audio output apparatus and control method thereof
EP1594136A2 (en) Wireless cassette adapter
KR20020001348A (en) Headset for hearing the digital audio data through a given wireless link of short-range mobile radio system
US20070037615A1 (en) Wireless communication headset with RF module for accessory speaker and system utilizing same
JP4645318B2 (en) Wireless communication apparatus and method
JP4660913B2 (en) Communication device
US7266390B2 (en) Network interface cassette adapter and method
JP2008160646A (en) Communication system, electronic equipment, and communication method
JP2001203788A (en) Telephone set, communication adapter device, control method for household electrical appliance and program recording medium
JP3881909B2 (en) Audio system
KR19990014640A (en) Wireless telephone incoming call detection method and system
JPH08265847A (en) Audio reproducing device
KR20070122298A (en) Hands free apparatus for vehicle and control method thereof
JPH10229593A (en) Earphone
JP2000269852A (en) Radio communication system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20070220

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090428

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090629

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100209

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100408

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20100810

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20101109

A911 Transfer to examiner for re-examination before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20101118

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

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20101220

R151 Written notification of patent or utility model registration

Ref document number: 4660913

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140114

Year of fee payment: 3

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

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

EXPY Cancellation because of completion of term