JP2004274194A - Electronic apparatus and data conversion method - Google Patents

Electronic apparatus and data conversion method Download PDF

Info

Publication number
JP2004274194A
JP2004274194A JP2003059396A JP2003059396A JP2004274194A JP 2004274194 A JP2004274194 A JP 2004274194A JP 2003059396 A JP2003059396 A JP 2003059396A JP 2003059396 A JP2003059396 A JP 2003059396A JP 2004274194 A JP2004274194 A JP 2004274194A
Authority
JP
Japan
Prior art keywords
data
wireless communication
sound
external device
reproduced
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.)
Pending
Application number
JP2003059396A
Other languages
Japanese (ja)
Inventor
Riyouichi Sehori
良一 瀬堀
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.)
Toshiba Corp
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP2003059396A priority Critical patent/JP2004274194A/en
Publication of JP2004274194A publication Critical patent/JP2004274194A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Communication Control (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide an electronic apparatus equipped with a means for mutually converting the data generated by a general media-supporting application and the data that comply with a radio communication system. <P>SOLUTION: A host controller 6 is composed of an RF layer 21, a BB layer 22 and an LM layer 23. A host 16 is provided with an L2CAP26 and a Bluetooth(R) (BT) communication bus driver 27. A BT communication sound driver 28 is provided in the higher order of the driver 27. The driver 28 plays a role of converting sound data transmitted from an opposite communication device through a BT communication system into a data form which can be used in a general sound-supporting application (sound application), and another role of converting the sound data generated by the sound application into a data form suited to the BT communication system. Further, a sound API29 and a sound application 30 are provided. <P>COPYRIGHT: (C)2004,JPO&NCIPI

Description

【0001】
【発明の属する技術分野】
本発明は、データ変換手段を具備する電子機器、特にサウンドデータ変換手段を具備する電子機器に関する。
【0002】
【従来の技術】
従来、パーソナルコンピュータ側で再生されたサウンドデータ等を通信相手電子機器、例えばヘッドセットに対して、近距離無線データ通信を実現するBluetooth規格に準拠した無線通信(以下、Bluetooth無線通信と称す。)を使用して伝送する場合、パーソナルコンピュータに搭載されるとともにサウンドデータ等を再生するアプリケーションは、Bluetooth無線通信規格に対応するとともにサウンドデータ等を再生するアプリケーション(以下、BT対応メディア用アプリケーションと称す。)でなければならなかった。
【0003】
つまり、パーソナルコンピュータに搭載されているOS(OperatingSystem)に標準搭載されているような汎用的なメディア対応アプリケーションを使用して再生されたサウンドデータ等を、Bluetooth無線通信を使用して通信相手機器に伝送することは不可能であった。
【0004】
上記のような問題点を解決するために、ドライバを設けるという手段が用いられる。例えば、Digital VideoなどのAV機器の所有するデータを外部機器からファイル形式でアクセス可能となるようなドライバを設ける、という内容の発明が提案されている(特許文献1参照。)。
【0005】
【特許文献1】
特開2001−346161号公報(第5頁、第4図)
【0006】
【発明が解決しようとする課題】
ユーザは、BT対応メディア用アプリケーションの使用方法を新たに覚える必要がある、さらに当該BT対応メディア用アプリケーションが対応していないフォーマットであるサウンドファイルは、当該BT対応メディア用アプリケーションが対応可能となるように予め変換しておく必要がある、といった問題点を有していた。
【0007】
そこで、本発明は上記問題を鑑みてなされたもので、汎用的なメディア対応アプリケーションで再生されたデータと、使用される無線通信に適したフォーマットを満たすデータとを互いに変換する手段を具備する電子機器を提供することを目的とする。
【0008】
【課題を解決するための手段】
上記目的を達成するために、請求項1に係る発明では、メディアのデータを再生する再生手段及び再生されたデータを出力する出力手段とを具備する電子機器において、外部機器と無線通信を行う無線通信手段と、再生手段によって再生されたデータを無線通信手段によって外部機器へ送信されるデータ形式に変換する変換手段とを具備することを特徴とする。
【0009】
このような構成により、再生されたメディアデータを無線通信手段で外部機器へ送信されるデータ形式に変換することが可能となる。
【0010】
また、請求項9に係る発明では、メディアのデータを再生する再生手段と再生されたデータを出力する出力手段及び外部機器と無線通信を行う無線通信手段とを具備する電子機器で行われるデータ変換方法において、再生手段によって再生されたデータを無線通信手段によって外部機器へ送信されるデータ形式に変換し、変換後のデータを無線通信手段で外部機器へ伝送することを特徴とする。
【0011】
このような構成により、再生されたメディアデータを無線通信手段で外部機器へ送信されるデータ形式に変換することが可能となる。
【0012】
【発明の実施の形態】
以下本発明に係る実施の形態を、図面を参照して説明する。
【0013】
図1は、メディア対応アプリケーションを具備する電子機器とヘッドセットとが無線通信を行う状態を示す図である。
【0014】
本発明に係る電子機器1は、表示部2及び本体3とで構成される。表示部2に各種情報を表示するディスプレイ4が設けられる。例えばディスプレイ4はLCD(Liquid Crystal Display)である。本体3のには音声信号を音に変換するスピーカ5が設けられる。
【0015】
本体3には、Bluetooth無線通信を行うために必要となるBluetooth通信モジュール6が内蔵される。また、電子機器1に拡張スロット等が備わっているなら、このBluetooth通信モジュール6は電子機器1に予め設けておく必要がなく、Bluetooth無線機能を内蔵した拡張カード等を電子機器1に装着することによりBluetooth通信モジュール6を設けてもよい。
【0016】
ヘッドセット7(外部機器)は、イヤースピーカ8及びマイクロフォン(以下、マイクと称す。)9を具備する。イヤースピーカ8は、音を聞くためのステレオイヤースピーカである。また、マイク9には、使用者の音声、又は外部の音等が入力される。
【0017】
ヘッドセット7の内部にBluetooth通信モジュール8が内蔵される。Bluetooth通信モジュール8は電子機器1とBluetooth無線通信を行なうために設けられる。
【0018】
ヘッドセット7は、電子機器1と通信可能なエリアを有する。このエリア内に電子機器1が存在する時、当該電子機器1はヘッドセット7と通信を行なうために十分な強度を有する電波を受信する。
【0019】
図2は、電子機器のハードウェアブロック図である。
【0020】
第1のブリッジ回路12は、ディスプレイ4、CPU(Central Processing Unit)11、メインメモリ13及び第2のブリッジ回路14と接続される。
【0021】
ディスプレイ4は各種情報を表示する。例えば、サウンド再生アプリケーションのGUI(Graphic User Interface)等を表示する。
【0022】
CPU11は、電子機器1全体の制御及びデータの演算等を行なう。
【0023】
メインメモリ13は、OS、デバイスドライバ、実行対象のアプリケーションプログラム及び処理データ等を格納する。
【0024】
第2のブリッジ回路14は、磁気ディスク装置15、スピーカ5及びBluetooth通信モジュール6と接続される。
【0025】
磁気ディスク装置15は、オペレーティングシステム、デバイスドライバ、実行対象のアプリケーションプログラム等が記憶されており、適時メインメモリ13に転送される。
【0026】
スピーカ5(出力手段)は、音声信号を音に変換する。ユーザはこの変換された音を聴くことが可能である。
【0027】
Bluetooth通信モジュール6は、Bluetooth無線通信を行うために必要であるハードウェアで構成されている。例えば、RF部やBaseBand部等から構成されている。
【0028】
図3は、Bluetooth通信のプロトコルスタックにおける本発明に係るサウンドドライバの位置付けを示す図である。
【0029】
以下、パーソナルコンピュータ側のBluetooth通信のプロトコルスタックを説明する。
【0030】
ハードウェアであるホストコントローラ(Bluetooth通信モジュール)6、ホストコントローラ6により制御されるソフトウェアであるホスト16、及びホストコントローラ6とホスト16間を仲介するソフトウェアインターフェイスであるホストコントローラインターフェイス(以下、HCIと称す。)24,25から構成される。
【0031】
ホストコントローラ6における3つのレイヤの中で最下層であるRF層21は、2.4GHz周波数帯域を用いた無線周波数信号の送受信および変復調を行なうハードウェア(例えばRFトランシーバ)に相当する。このRF層21において、無線周波数信号の増幅、周波数ホッピング型のスペクトル拡散方式による無線通信が行なわれる。
【0032】
RF層21より一つ上位のレイヤがベースバンド層(以下BB層と称す。)22である。RF層21と同様に、BB層22はホストコントローラ6内においてハードウェア(例えばベースバンドチップ)で実装される。このBB層22に、Bluetooth無線通信に必要な機能群が定義されている。
【0033】
BB層22より一つ上位のレイヤがリンク管理層(以下LM層と称す。)23である。LM層23はBB層22と同様に、ホストコントローラ6内においてハードウェア(例えばベースバンドチップ)で実装される。このLM層23は、BB層22に対し通信リンク確立の設定をするといった通信リンク確立の管理を行なう。この設定内容は制御パケットとしてLM層23に定義される。また、このLM層23は必要に応じて、さらに上位のレイヤから直接、制御される場合もある。
【0034】
ホストコントローラ6とホスト16間を仲介するHCI24,25は、技術仕様として定義されたソフトウェアインターフェイスである。Bluetoothモジュールをデバイスに組み込む際、このHCI24,25に基づいたHCIコマンドに従ってアプリケーションを開発すれば、ホストコントローラ6側のプロトコルを意識することなくアプリケーションを開発することが可能であるといったメリットがある。HCI24,25を使用しない場合は、アプリケーションの開発者がホストコントローラ側のプロトコル群を直接操作することが可能である。本実施例では、HCI24,25を使用した場合について説明するが、HCI24,25を使用しない場合でも、ホストコントローラ側のプロトコル群が同様である限り、本発明の効果が得られる。
【0035】
ホスト16のプロトコル群の最下層が、論理リンク管理層(Logical Link Control and Adaptation Protocol)(以下、L2CAPと称す。)26である。このL2CAP26はHCI24,25を通じてLM層23及びBB層22にアクセスするプロトコルである。L2CAP26は、さらに上位のレイヤから送られてくるデータの分割や、LM層23及びBB層22といった下位のレイヤから送られてくるデータを再構築する。
【0036】
L2CAP26より上位にBluetooth通信用バスドライバ27を設ける。このBluetooth通信用バスドライバ27は、後述をもって説明するさらに上位のレイヤから送信されてくるデータを、L2CAP26以下で行われるBluetooth通信形式に適するデータに変換する役割りを果たす。
【0037】
Bluetooth通信用バスドライバ27より上位にBluetooth通信用サウンドドライバ28を設ける。このBluetooth通信用サウンドドライバ28は、通信相手機器からBluetooth通信方式に準じて送信されたサウンドデータを、汎用的なサウンド対応アプリケーション(後述をもって説明)で使用できるデータ形式に変換する役割り、及び汎用的なサウンド対応アプリケーションで再生されたサウンドデータを、通信相手機器に対しBluetooth通信方式に準じて送信するために適するデータ形式に変換する役割りを果たす。
【0038】
Bluetooth通信用サウンドドライバ28より上位に、サウンドAPI(Application Program Interface)(以下、サウンドAPIと称す。)29が設けられる。このサウンドAPI29は、さらに上位に位置する、一般的なサウンド対応アプリケーション(後述をもって説明)で再生されたデータが、上述で説明したBluetooth通信用サウンドドライバ28で使用可能な形式とするために設けられるインターフェイスである。
【0039】
サウンドAPI29より上位に、汎用的なサウンド対応アプリケーション(プログラム)(以下、汎用的なサウンドアプリケーションと称す。)30を設ける。汎用的なサウンドアプリケーション(再生手段)とは、例えば、OSに標準搭載されているサウンドを含むメディア対応のアプリケーションのことであり、Bluetooth通信方式に準じて送受信されるサウンドデータのみに対応するサウンド対応アプリケーションとは異なる。
【0040】
図4は、Bluetooth通信用サウンドドライバ及びパーソナルコンピュータに搭載されるスピーカを使用するために設けられるサウンドドライバの関係を示す図である。
【0041】
Bluetooth通信モジュール6、HCI24,25、L2CAP26、Bluetooth通信バスドライバ27、Bluetooth通信サウンドドライバ28、サウンドAPI29及び一般的なサウンドアプリケーション30の説明は、図3を使用して説明した内容と同様であるので説明を省略する。
【0042】
サウンドドライバ32は、汎用的なサウンドアプリケーション30で生成されたサウンドデータを、パーソナルコンピュータに搭載されているスピーカ5で使用可能なデータ形式に変換する。
【0043】
さらに、Bluetooth通信管理部31はBluetooth通信開始及び終了の検知等といった、Bluetooth通信に関する管理を行う。
【0044】
図5は、パーソナルコンピュータ1からヘッドセット7へのサウンドデータの伝送の流れを説明するフローチャートである。
【0045】
パーソナルコンピュータ1とヘッドセット7との間でBluetooth通信が開始される(S1)。パーソナルコンピュータ7に設けられるBluetootu通信管理部31は、Bluetooth通信が開始されたことを検知する(S2)。検知後、Bluetooth通信管理部31は、Bluetooth通信用サウンドドライバ28をメインメモリ13にロードする(S3)。
【0046】
ステップS3までが終了状態において、パーソナルコンピュータ1に搭載されている汎用的なサウンドアプリケーション30を使用して音楽を再生開始する、すなわちサウンドデータを生成開始する(S4)。汎用的なサウンドアプリケーション30で再生されたサウンドデータは、サウンドAPI29を介し、Bluetooth通信用サウンドドライバ28へ伝送される(S5)。Bluetooth通信用サウンドドライバ28は、サウンドAPI29を介し伝送されるサウンドデータを、Bluetooth無線通信で伝送可能なデータ形式に変換する(S6)。Bluetooth無線通信で伝送可能なデータ形式に変換されたサウンドデータは、ヘッドセット7に送信される(S7)。その後、ヘッドセット7に設けられるイヤースピーカ8を通じて、ヘッドセットの使用者は、音楽等を聞くことが可能となる。
【0047】
図6は、ヘッドセット7からパーソナルコンピュータ1へのサウンドデータの伝送の流れを説明するフローチャートである。
【0048】
パーソナルコンピュータ1とヘッドセット7との間でBluetooth通信が開始される(S8)。パーソナルコンピュータ7に設けられるBluetootu通信管理部31は、Bluetooth通信が開始されたことを検知する(S9)。検知後、Bluetooth通信管理部31は、Bluetooth通信用サウンドドライバ28をメインメモリ13にロードする(S10)。
【0049】
ステップS10までが終了状態において、ヘッドセット7に装備されているマイク9に音を入力する(S11)。入力された音はBluetooth通信方式に適するデータ形式に変換され、サウンドデータとして、ヘッドセット7からパーソナルコンピュータ1へ伝送される(S12)。Bluetooth通信用サウンドドライバ28は、ヘッドセットから伝送されてきたBluetooth無線通信に適した形式であるサウンドデータを、サウンドAPI29に適するサウンドデータ形式に変換する(S13)。Bluetooth通信用サウンドドライバ28で変換されたサウンドデータが、サウンドAPI29を介して、一般的なサウンドアプリケーション30に伝送される(S14)。変換されたサウンドデータは、汎用的なサウンドアプリケーション30で録音等される(S15)。
【0050】
上記に説明したように、Bluetooth通信用サウンドドライバ28を設けることによって、汎用的なサウンドアプリケーション30で再生等されたサウンドデータからBluetooth通信に適するフォーマットを満たすサウンドデータに変換、及びBluetooth通信に適するフォーマットを満たすサウンドデータから一般的なサウンドアプリケーション30で再生等されたサウンドデータに変換することが可能である。
【0051】
図7は、Bluetooth通信用サウンドドライバの使用時からパーソナルコンピュータに搭載されるスピーカを使用するために設けられるドライバの使用時へ切替えることを説明するフローチャートである。
【0052】
パーソナルコンピュータ1とヘッドセット7との間で行われているBluetooth通信が終了する(S16)。パーソナルコンピュータ7に設けられるBluetootu通信管理部31は、Bluetooth通信が終了したことを検知する(S17)。検知後、Bluetooth通信管理部31は、メインメモリ28にロードされているBluetooth通信用サウンドドライバ28を消去する(S18)。
【0053】
ステップS18までが終了状態において、パーソナルコンピュータ1に搭載されている汎用的なサウンドアプリケーション30を使用して音楽を再生開始する、すなわちサウンドデータを生成開始する(S19)。汎用的なサウンドアプリケーション30で生成されたサウンドデータは、サウンドAPI29を介し、サウンドドライバ32へ伝送される(S20)。サウンドドライバ28は、サウンドAPI29を介し伝送されるサウンドデータを、スピーカ5で再現可能なデータ形式に変換する(S21)。スピーカ5で再現可能なデータ形式に変換されたサウンドデータは、スピーカ5に伝送される(S22)。その後、スピーカ5を通じてパーソナルコンピュータ1の使用者は、音楽等を聞くことが可能となる。
【0054】
Bluetooth通信管理部31がBluetooth通信用サウンドドライバ28をロード、アンロードすることで、Bluetooth通信用サウンドドライバ28とサウンドドライバ32との使い分けを行うことが可能となる。
【0055】
尚、ヘッドセットとアプリケーションを搭載した電子機器間における無線通信方式は、Bluetooth無線通信のみならず、赤外線、無線LAN(例えばIEEE802.11b等)等の無線通信手段でも問題ない。
【0056】
また、無線通信が可能である外部機器が表示部を具備しているならば、メディア対応アプリケーションで映像データを再生し、この再生されたデータを無線通信で使用されるデータのフォーマットに適する形式に変換するドライバ等をデータ再生側の機器に搭載することで、本発明と同様の効果が得られる。
【0057】
本発明ではその主旨を逸脱しない範囲であれば、上記の実施形態に限定されるものではない。そして、無線通信機能とOSに標準装備されているような汎用的なメディア用アプリケーションを具備している電子機器に広く適用できるものである。
【0058】
【発明の効果】
以上詳述した発明によれば、OSに標準装備されているような汎用的なメディア対応のアプリケーションを使用することが可能となる。
【図面の簡単な説明】
【図1】サウンド再生アプリケーションを具備する電子機器と周辺機器とが接続された状態を示す図。
【図2】電子機器のハードウェアブロック図。
【図3】本発明に係るドライバの位置付けを示す図。
【図4】Bluetooth通信用サウンドドライバ及びパーソナルコンピュータに搭載されるスピーカを使用するために設けられるサウンドドライバの関係を示す図。
【図5】パーソナルコンピュータ1からヘッドセット7へのサウンドデータの伝送の流れを説明するフローチャート。
【図6】ヘッドセット7からパーソナルコンピュータ1へのサウンドデータの伝送の流れを説明するフローチャート。
【図7】Bluetooth通信用サウンドドライバの使用時からパーソナルコンピュータに搭載されるスピーカを使用するために設けられるドライバの使用時へ切替えることを説明するフローチャート。
【符号の説明】
1…パーソナルコンピュータ、2…ヘッドセット、
3…表示部、4…本体、5…スピーカ、
6…Bluetooth通信モジュール(ホストコントローラ)、
7…ヘッドセット、8…イヤースピーカ、
8a…Bluetooth通信モジュール、9…マイクロフォン、
11…CPU、12…第1のブリッジ回路、13…メインメモリ、
14…第2のブリッジ回路、15…磁気ディスク装置、16…ホスト、
21…RF層、22…ベースバンド層、23…リンク管理層、
24,25…HCI、26…L2CAP、
27…Bluetooth通信用バスドライバ、
28…Bluetooth通信用サウンドドライバ、
29…サウンドAPI、
30…汎用的なサウンドアプリケーション、
31…Bluetooth通信管理部、32…サウンドドライバ、
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to an electronic device including a data conversion unit, and particularly to an electronic device including a sound data conversion unit.
[0002]
[Prior art]
2. Description of the Related Art Conventionally, wireless communication conforming to the Bluetooth standard for realizing short-range wireless data communication with a communication partner electronic device, for example, a headset, with sound data or the like reproduced on a personal computer side (hereinafter, referred to as Bluetooth wireless communication). In the case of transmission using, an application that is mounted on a personal computer and reproduces sound data and the like is an application that complies with the Bluetooth wireless communication standard and reproduces sound data and the like (hereinafter, referred to as a BT-compatible media application). ) Had to be.
[0003]
That is, sound data and the like reproduced using a general-purpose media-compatible application such as a standard installed in an OS (Operating System) installed in a personal computer are transmitted to a communication partner device using Bluetooth wireless communication. It was impossible to transmit.
[0004]
In order to solve the above problems, a means of providing a driver is used. For example, an invention has been proposed in which a driver is provided so that data owned by an AV device such as Digital Video can be accessed in a file format from an external device (see Patent Document 1).
[0005]
[Patent Document 1]
JP 2001-346161 A (Page 5, FIG. 4)
[0006]
[Problems to be solved by the invention]
The user needs to newly learn how to use the BT-compatible media application. Further, a sound file in a format that is not supported by the BT-compatible media application can be supported by the BT-compatible media application. However, there is a problem in that it is necessary to convert the data to advance.
[0007]
In view of the above, the present invention has been made in view of the above-mentioned problems, and an electronic device having a means for mutually converting data reproduced by a general-purpose media compatible application and data satisfying a format suitable for wireless communication used. The purpose is to provide equipment.
[0008]
[Means for Solving the Problems]
In order to achieve the above object, according to the present invention, in an electronic apparatus including a reproducing unit for reproducing media data and an output unit for outputting the reproduced data, a wireless device for performing wireless communication with an external device is provided. It is characterized by comprising communication means and conversion means for converting data reproduced by the reproduction means into a data format transmitted to an external device by wireless communication means.
[0009]
With such a configuration, it is possible to convert the reproduced media data into a data format to be transmitted to an external device by wireless communication means.
[0010]
According to the ninth aspect of the present invention, data conversion performed by an electronic device including a reproducing unit that reproduces media data, an output unit that outputs the reproduced data, and a wireless communication unit that performs wireless communication with an external device. In the method, the data reproduced by the reproducing means is converted into a data format to be transmitted to the external device by the wireless communication means, and the converted data is transmitted to the external device by the wireless communication means.
[0011]
With such a configuration, it is possible to convert the reproduced media data into a data format to be transmitted to an external device by wireless communication means.
[0012]
BEST MODE FOR CARRYING OUT THE INVENTION
Embodiments according to the present invention will be described below with reference to the drawings.
[0013]
FIG. 1 is a diagram illustrating a state in which an electronic device including a media application and a headset perform wireless communication.
[0014]
The electronic device 1 according to the present invention includes a display unit 2 and a main body 3. A display 4 for displaying various information is provided on the display unit 2. For example, the display 4 is an LCD (Liquid Crystal Display). The main body 3 is provided with a speaker 5 for converting an audio signal into sound.
[0015]
The main body 3 has a built-in Bluetooth communication module 6 required for performing Bluetooth wireless communication. If the electronic device 1 has an expansion slot or the like, the Bluetooth communication module 6 does not need to be provided in the electronic device 1 in advance, and an expansion card or the like having a built-in Bluetooth wireless function can be attached to the electronic device 1. , The Bluetooth communication module 6 may be provided.
[0016]
The headset 7 (external device) includes an ear speaker 8 and a microphone (hereinafter, referred to as a microphone) 9. The ear speaker 8 is a stereo ear speaker for listening to sound. The microphone 9 receives a user's voice or an external sound.
[0017]
A Bluetooth communication module 8 is built in the headset 7. The Bluetooth communication module 8 is provided for performing Bluetooth wireless communication with the electronic device 1.
[0018]
The headset 7 has an area that can communicate with the electronic device 1. When the electronic device 1 is present in this area, the electronic device 1 receives a radio wave having sufficient strength to communicate with the headset 7.
[0019]
FIG. 2 is a hardware block diagram of the electronic device.
[0020]
The first bridge circuit 12 is connected to the display 4, a CPU (Central Processing Unit) 11, a main memory 13, and a second bridge circuit 14.
[0021]
The display 4 displays various information. For example, a GUI (Graphic User Interface) of a sound reproduction application is displayed.
[0022]
The CPU 11 controls the entire electronic device 1 and performs data calculations and the like.
[0023]
The main memory 13 stores an OS, a device driver, an application program to be executed, processing data, and the like.
[0024]
The second bridge circuit 14 is connected to the magnetic disk device 15, the speaker 5, and the Bluetooth communication module 6.
[0025]
The magnetic disk device 15 stores an operating system, a device driver, an application program to be executed, and the like, and is transferred to the main memory 13 as appropriate.
[0026]
The speaker 5 (output means) converts the audio signal into a sound. The user can listen to the converted sound.
[0027]
The Bluetooth communication module 6 is configured with hardware necessary for performing Bluetooth wireless communication. For example, it includes an RF unit, a BaseBand unit, and the like.
[0028]
FIG. 3 is a diagram showing the positioning of the sound driver according to the present invention in the protocol stack of Bluetooth communication.
[0029]
Hereinafter, a protocol stack of Bluetooth communication on the personal computer side will be described.
[0030]
A host controller (Bluetooth communication module) 6 as hardware, a host 16 as software controlled by the host controller 6, and a host controller interface (hereinafter referred to as HCI) as a software interface between the host controller 6 and the host 16 .) 24 and 25.
[0031]
The RF layer 21, which is the lowest layer among the three layers in the host controller 6, corresponds to hardware (for example, an RF transceiver) for transmitting / receiving and modulating / demodulating a radio frequency signal using the 2.4 GHz frequency band. In this RF layer 21, amplification of a radio frequency signal and radio communication by a frequency hopping type spread spectrum system are performed.
[0032]
One layer higher than the RF layer 21 is a baseband layer (hereinafter, referred to as a BB layer) 22. Similarly to the RF layer 21, the BB layer 22 is implemented by hardware (for example, a baseband chip) in the host controller 6. The BB layer 22 defines a group of functions necessary for Bluetooth wireless communication.
[0033]
One layer higher than the BB layer 22 is a link management layer (hereinafter, referred to as an LM layer) 23. Like the BB layer 22, the LM layer 23 is implemented by hardware (for example, a baseband chip) in the host controller 6. The LM layer 23 manages the establishment of the communication link such as setting the communication link establishment for the BB layer 22. This setting content is defined in the LM layer 23 as a control packet. Further, the LM layer 23 may be directly controlled by a higher layer as needed.
[0034]
The HCIs 24 and 25 that mediate between the host controller 6 and the host 16 are software interfaces defined as technical specifications. When incorporating a Bluetooth module into a device, if an application is developed in accordance with an HCI command based on the HCIs 24 and 25, there is a merit that an application can be developed without being conscious of the protocol of the host controller 6. When the HCIs 24 and 25 are not used, the application developer can directly operate the protocol group on the host controller side. In this embodiment, the case where the HCIs 24 and 25 are used will be described. However, even when the HCIs 24 and 25 are not used, the effects of the present invention can be obtained as long as the protocol group on the host controller side is the same.
[0035]
The lowest layer of the protocol group of the host 16 is a logical link control and adaptation protocol (hereinafter, referred to as L2CAP) 26. The L2CAP 26 is a protocol for accessing the LM layer 23 and the BB layer 22 through the HCIs 24 and 25. The L2CAP 26 divides data sent from a higher layer and reconstructs data sent from a lower layer such as the LM layer 23 and the BB layer 22.
[0036]
A Bluetooth communication bus driver 27 is provided above the L2CAP 26. The Bluetooth communication bus driver 27 plays a role of converting data transmitted from a higher layer, which will be described later, into data suitable for the Bluetooth communication format performed by the L2CAP 26 and below.
[0037]
A Bluetooth communication sound driver 28 is provided above the Bluetooth communication bus driver 27. The Bluetooth communication sound driver 28 converts sound data transmitted from a communication partner device according to the Bluetooth communication method into a data format that can be used by a general-purpose sound-compatible application (described later), and a general-purpose sound driver. It plays a role of converting sound data reproduced by a typical sound-compatible application into a data format suitable for transmission to a communication partner device in accordance with the Bluetooth communication method.
[0038]
Above the Bluetooth communication sound driver 28, a sound API (Application Program Interface) (hereinafter referred to as a sound API) 29 is provided. The sound API 29 is provided to convert data reproduced by a general sound-compatible application (described later) positioned at a higher level into a format usable by the Bluetooth communication sound driver 28 described above. Interface.
[0039]
A general-purpose sound-compatible application (program) (hereinafter, referred to as a general-purpose sound application) 30 is provided above the sound API 29. The general-purpose sound application (reproducing means) is, for example, an application for media including sound, which is included in the OS as a standard, and is compatible with only sound data transmitted and received according to the Bluetooth communication method. Different from application.
[0040]
FIG. 4 is a diagram showing a relationship between a Bluetooth communication sound driver and a sound driver provided for using a speaker mounted on a personal computer.
[0041]
The description of the Bluetooth communication module 6, the HCIs 24 and 25, the L2CAP 26, the Bluetooth communication bus driver 27, the Bluetooth communication sound driver 28, the sound API 29, and the general sound application 30 are the same as those described with reference to FIG. Description is omitted.
[0042]
The sound driver 32 converts sound data generated by the general-purpose sound application 30 into a data format usable by the speaker 5 mounted on the personal computer.
[0043]
Further, the Bluetooth communication management unit 31 performs management related to Bluetooth communication, such as detection of start and end of Bluetooth communication.
[0044]
FIG. 5 is a flowchart illustrating the flow of transmission of sound data from personal computer 1 to headset 7.
[0045]
Bluetooth communication is started between the personal computer 1 and the headset 7 (S1). The Bluetooth communication management unit 31 provided in the personal computer 7 detects that Bluetooth communication has started (S2). After the detection, the Bluetooth communication management unit 31 loads the Bluetooth communication sound driver 28 into the main memory 13 (S3).
[0046]
In a state where steps up to step S3 are completed, music reproduction is started using the general-purpose sound application 30 mounted on the personal computer 1, that is, generation of sound data is started (S4). The sound data reproduced by the general-purpose sound application 30 is transmitted to the Bluetooth communication sound driver 28 via the sound API 29 (S5). The Bluetooth communication sound driver 28 converts the sound data transmitted via the sound API 29 into a data format that can be transmitted by Bluetooth wireless communication (S6). The sound data converted into a data format that can be transmitted by Bluetooth wireless communication is transmitted to the headset 7 (S7). Thereafter, the user of the headset can listen to music and the like through the ear speaker 8 provided in the headset 7.
[0047]
FIG. 6 is a flowchart illustrating the flow of transmission of sound data from headset 7 to personal computer 1.
[0048]
Bluetooth communication is started between the personal computer 1 and the headset 7 (S8). The Bluetooth communication management unit 31 provided in the personal computer 7 detects that Bluetooth communication has been started (S9). After the detection, the Bluetooth communication management unit 31 loads the Bluetooth communication sound driver 28 into the main memory 13 (S10).
[0049]
In a state where steps up to step S10 are completed, a sound is input to the microphone 9 mounted on the headset 7 (S11). The input sound is converted into a data format suitable for the Bluetooth communication system, and transmitted as sound data from the headset 7 to the personal computer 1 (S12). The Bluetooth communication sound driver 28 converts the sound data transmitted from the headset, which is in a format suitable for Bluetooth wireless communication, into a sound data format suitable for the sound API 29 (S13). The sound data converted by the Bluetooth communication sound driver 28 is transmitted to the general sound application 30 via the sound API 29 (S14). The converted sound data is recorded by the general-purpose sound application 30 (S15).
[0050]
As described above, by providing the Bluetooth sound driver 28, the sound data reproduced by the general-purpose sound application 30 is converted into sound data satisfying the format suitable for Bluetooth communication, and the format suitable for Bluetooth communication is provided. Can be converted into sound data reproduced by a general sound application 30 or the like.
[0051]
FIG. 7 is a flowchart illustrating switching from using the Bluetooth sound driver to using a driver provided to use a speaker mounted on a personal computer.
[0052]
The Bluetooth communication performed between the personal computer 1 and the headset 7 ends (S16). The Bluetooth communication management unit 31 provided in the personal computer 7 detects that the Bluetooth communication has ended (S17). After the detection, the Bluetooth communication management unit 31 deletes the Bluetooth communication sound driver 28 loaded in the main memory 28 (S18).
[0053]
When step S18 is completed, music reproduction is started using the general-purpose sound application 30 mounted on the personal computer 1, that is, generation of sound data is started (S19). The sound data generated by the general-purpose sound application 30 is transmitted to the sound driver 32 via the sound API 29 (S20). The sound driver 28 converts the sound data transmitted via the sound API 29 into a data format that can be reproduced by the speaker 5 (S21). The sound data converted into a data format reproducible by the speaker 5 is transmitted to the speaker 5 (S22). Thereafter, the user of the personal computer 1 can listen to music and the like through the speaker 5.
[0054]
When the Bluetooth communication management unit 31 loads and unloads the Bluetooth communication sound driver 28, the Bluetooth communication sound driver 28 and the sound driver 32 can be selectively used.
[0055]
Note that the wireless communication method between the headset and the electronic device equipped with the application is not limited to Bluetooth wireless communication, and there is no problem with wireless communication means such as infrared rays and wireless LAN (for example, IEEE802.11b).
[0056]
If the external device capable of wireless communication has a display unit, the video data is reproduced by a media-compatible application, and the reproduced data is converted into a format suitable for a data format used in wireless communication. The same effect as that of the present invention can be obtained by mounting a driver or the like for conversion in a device on the data reproducing side.
[0057]
The present invention is not limited to the above embodiment as long as it does not depart from the gist of the present invention. The present invention can be widely applied to an electronic device having a wireless communication function and a general-purpose media application such as that provided as standard in an OS.
[0058]
【The invention's effect】
According to the invention described in detail above, it is possible to use a general-purpose media-compatible application such as that provided as a standard in the OS.
[Brief description of the drawings]
FIG. 1 is an exemplary view showing a state in which an electronic device having a sound reproduction application and peripheral devices are connected.
FIG. 2 is a hardware block diagram of the electronic device.
FIG. 3 is a diagram showing the positioning of a driver according to the present invention.
FIG. 4 is a diagram showing a relationship between a Bluetooth sound driver and a sound driver provided to use a speaker mounted on a personal computer.
FIG. 5 is a flowchart illustrating a flow of transmitting sound data from the personal computer 1 to the headset 7.
FIG. 6 is a flowchart illustrating a flow of transmission of sound data from the headset 7 to the personal computer 1.
FIG. 7 is a flowchart illustrating switching from using a Bluetooth communication sound driver to using a driver provided to use a speaker mounted on a personal computer.
[Explanation of symbols]
1. Personal computer, 2. Headset,
3 ... display unit, 4 ... body, 5 ... speaker,
6. Bluetooth communication module (host controller)
7… Headset, 8… Ear speaker,
8a: Bluetooth communication module, 9: microphone,
11: CPU, 12: first bridge circuit, 13: main memory,
14: second bridge circuit, 15: magnetic disk drive, 16: host,
21 ... RF layer, 22 ... Baseband layer, 23 ... Link management layer,
24, 25 ... HCI, 26 ... L2CAP,
27 ... Bluetooth communication bus driver,
28. Sound driver for Bluetooth communication,
29 ... Sound API,
30 ... General sound application,
31: Bluetooth communication management unit 32: Sound driver

Claims (14)

メディアのデータを再生する再生手段及び前記再生されたデータを出力する出力手段とを具備する電子機器において、
外部機器と無線通信を行う無線通信手段と、
前記再生手段によって再生されたデータを前記無線通信手段によって前記外部機器へ送信されるデータ形式に変換する変換手段と、
を具備することを特徴とする電子機器。
An electronic apparatus comprising: a reproducing unit that reproduces media data; and an output unit that outputs the reproduced data.
Wireless communication means for performing wireless communication with an external device;
Conversion means for converting the data reproduced by the reproduction means to a data format transmitted to the external device by the wireless communication means,
An electronic device comprising:
前記変換手段は、前記外部機器から当該電子機器へ無線通信を介して送信されるデータを、前記再生手段によって再生されるデータ形式に変換可能であることを特徴とする請求項1記載の電子機器。2. The electronic device according to claim 1, wherein the conversion unit is capable of converting data transmitted from the external device to the electronic device via wireless communication into a data format to be reproduced by the reproduction unit. . メディアのデータを再生する再生手段及び前記再生されたデータを出力する出力手段とを具備する電子機器において、
外部機器と無線通信を行う無線通信手段と、
前記再生手段によって再生されたデータを変換するAPIと、
前記APIによって変換されたデータを前記無線通信手段によって送信されるデータ形式に変換する変換手段と、
を具備することを特徴とする電子機器。
An electronic apparatus comprising: a reproducing unit that reproduces media data; and an output unit that outputs the reproduced data.
Wireless communication means for performing wireless communication with an external device;
An API for converting data reproduced by the reproducing means;
Converting means for converting the data converted by the API into a data format transmitted by the wireless communication means;
An electronic device comprising:
前記変換手段は、前記外部機器から当該電子機器へ無線通信を介して送信されるデータを前記APIによって変換されるデータ形式に変換可能であることを特徴とする請求項3記載の電子機器。4. The electronic device according to claim 3, wherein the conversion unit is capable of converting data transmitted from the external device to the electronic device via wireless communication into a data format converted by the API. 前記再生手段は、汎用的であるとともにメディアのデータを再生するプログラムであることを特徴とする請求項2及び4記載の電子機器。5. The electronic apparatus according to claim 2, wherein said reproducing means is a general-purpose program for reproducing media data. 前記外部機器との無線通信手段はBluetooth無線通信であり、前記再生手段によって再生されるデータはサウンドデータであることを特徴とする請求項2及び4記載の電子機器。5. The electronic device according to claim 2, wherein the wireless communication unit with the external device is Bluetooth wireless communication, and data reproduced by the reproduction unit is sound data. 前記無線通信手段による前記外部機器との通信開始を検知する第1の検知手段と、
前記第1の検知手段が通信開始を検知後、前期変換手段を有効にさせる手段と、
を具備することを特徴とする請求項2及び4記載の電子機器。
First detection means for detecting the start of communication with the external device by the wireless communication means,
Means for enabling the conversion means after the first detection means detects the start of communication;
The electronic device according to claim 2, further comprising:
前記無線通信手段による前記外部機器との通信終了を検知する第2の検知手段と、
前記第2の検知手段が通信終了を検知後、前記変換手段を無効にさせる手段と、
を具備することを特徴とする請求項2及び4記載の電子機器。
Second detection means for detecting the end of communication with the external device by the wireless communication means,
Means for disabling the conversion means after the second detection means detects the end of communication,
The electronic device according to claim 2, further comprising:
メディアのデータを再生する再生手段と前記再生されたデータを出力する出力手段及び外部機器と無線通信を行う無線通信手段とを具備する電子機器で行われるデータ変換方法において、
前記再生手段によって再生されたデータを前記無線通信手段によって前記外部機器へ送信されるデータ形式に変換し、
前記変換後のデータを前記無線通信手段で前記外部機器へ伝送することを特徴とするデータ変換方法。
A data conversion method performed by an electronic device including a reproducing unit that reproduces media data, an output unit that outputs the reproduced data, and a wireless communication unit that performs wireless communication with an external device.
Convert the data reproduced by the reproducing means to a data format transmitted to the external device by the wireless communication means,
A data conversion method, wherein the converted data is transmitted to the external device by the wireless communication unit.
前記外部機器から前記電子機器へ無線通信を介して送信されるデータを、前記再生手段によって再生されるデータ形式に変換可能であることを特徴とする請求項9記載のデータ変換方法。10. The data conversion method according to claim 9, wherein data transmitted from said external device to said electronic device via wireless communication can be converted into a data format to be reproduced by said reproducing means. メディアのデータを再生する再生手段と前記再生されたデータを出力する出力手段及び外部機器と無線通信を行う無線通信手段とを具備する電子機器で行われるデータ変換方法において、
前記再生手段によって再生されたデータをAPIで変換し、
前記APIによって変換されたデータを前記無線通信で前記外部機器に送信されるデータ形式に変換し、
前記外部機器に送信されるデータ形式に変換されたデータを前記無線通信手段で前記外部機器へ伝送することを特徴とするデータ変換方法。
A data conversion method performed by an electronic device including a reproducing unit that reproduces media data, an output unit that outputs the reproduced data, and a wireless communication unit that performs wireless communication with an external device.
The data reproduced by the reproducing means is converted by an API,
Converting the data converted by the API into a data format transmitted to the external device by the wireless communication;
A data conversion method, wherein data converted into a data format to be transmitted to the external device is transmitted to the external device by the wireless communication unit.
前記外部機器から前記電子機器へ無線通信を介して送信されるデータを、前記APIによって変換されるデータ形式に変換可能であることを特徴とする請求項11記載のデータ変換方法。The data conversion method according to claim 11, wherein data transmitted from the external device to the electronic device via wireless communication can be converted into a data format converted by the API. 前記再生手段は、汎用的であるとともにメディアのデータを再生するプログラムであることを特徴とする請求項10及び12記載のデータ変換方法。13. The data conversion method according to claim 10, wherein said reproducing means is a general-purpose program for reproducing media data. 前記再生手段によってサウンドデータを再生し、前記サウンドデータを前記外部機器に送信する際に使用するBluetooth無線通信に適するデータ形式に変換することを特徴とする請求項10及び12記載のデータ変換方法。13. The data conversion method according to claim 10, wherein the sound data is reproduced by the reproduction means, and the sound data is converted into a data format suitable for Bluetooth wireless communication used when transmitting the sound data to the external device.
JP2003059396A 2003-03-06 2003-03-06 Electronic apparatus and data conversion method Pending JP2004274194A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003059396A JP2004274194A (en) 2003-03-06 2003-03-06 Electronic apparatus and data conversion method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003059396A JP2004274194A (en) 2003-03-06 2003-03-06 Electronic apparatus and data conversion method

Publications (1)

Publication Number Publication Date
JP2004274194A true JP2004274194A (en) 2004-09-30

Family

ID=33122216

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003059396A Pending JP2004274194A (en) 2003-03-06 2003-03-06 Electronic apparatus and data conversion method

Country Status (1)

Country Link
JP (1) JP2004274194A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011071875A (en) * 2009-09-28 2011-04-07 Oki Electric Industry Co Ltd Voice communication device and program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011071875A (en) * 2009-09-28 2011-04-07 Oki Electric Industry Co Ltd Voice communication device and program
CN102033731A (en) * 2009-09-28 2011-04-27 冲电气工业株式会社 Voice communication arrangement and program

Similar Documents

Publication Publication Date Title
JP7137635B2 (en) Headphone wireless communication method, main headphone, slave headphone and headphone system
CN101663828B (en) Wireless handset and wireless headset with wireless transceiver
WO2021051986A1 (en) Method for establishing connection between apparatuses, and electronic device
US20090011794A1 (en) Interface method and appparatus for a mobile terminal
US9118770B2 (en) Remote headset configuration
JP4137670B2 (en) Electronic device and content data output method
JP2010523020A (en) Wireless transceiver and how to use it
JP3725880B2 (en) Electronic equipment and programs
JP2008520170A (en) Integrated radio transceiver and audio processor
JP2004297256A (en) Wireless headset and wireless communication connection control method for wireless headset
JP2004128672A (en) Reproduction apparatus, output apparatus and method for controlling power consumption
JP3754423B2 (en) Electronic equipment and programs
JP2001352291A (en) Monitor and information providing unit
TW201008140A (en) Communication apparatuses and method for manufacturing a chip and method for providing various application profiles of a wireless communication system
US20030171834A1 (en) Method and apparatus for connecting a portable media player wirelessly to an automobile entertainment system
JP5890093B2 (en) Volume increasing apparatus and method for portable terminal
JP2004274194A (en) Electronic apparatus and data conversion method
WO2022222556A1 (en) Method for acquiring codec capabilities in bluetooth devices and electronic device
KR20050017296A (en) Apparatus and method for outputting video and sound signal in personal digital Assistant
JP4603006B2 (en) Information processing device
US20220417689A1 (en) Audio Transmission Method and Electronic Device
JP7004039B2 (en) In-vehicle device, in-vehicle device control method, control program, terminal device, terminal device control method and control program
WO2024140279A1 (en) File transfer method and electronic device
WO2022143165A1 (en) Method and apparatus for determining network standard
WO2022068654A1 (en) Interaction method and apparatus for terminal device

Legal Events

Date Code Title Description
RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20050415

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20050606

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20060123

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20060123

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20080117

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080129

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080331

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20080930