JP2021005436A - Memory device, and method and program for data output in memory device - Google Patents
Memory device, and method and program for data output in memory device Download PDFInfo
- Publication number
- JP2021005436A JP2021005436A JP2020160196A JP2020160196A JP2021005436A JP 2021005436 A JP2021005436 A JP 2021005436A JP 2020160196 A JP2020160196 A JP 2020160196A JP 2020160196 A JP2020160196 A JP 2020160196A JP 2021005436 A JP2021005436 A JP 2021005436A
- Authority
- JP
- Japan
- Prior art keywords
- unit
- data
- external
- content data
- playback
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Abstract
Description
本発明は、コンテンツデータが格納される記憶装置、記憶装置におけるデータ出力方法及びプログラムに関する。 The present invention relates to a storage device in which content data is stored, a data output method and a program in the storage device.
DSD(Direct Stream Digital)フォーマット等で信号化された、デジタルコンテンツデータである楽曲データが格納された記憶装置にデジタル−アナログ変換回路(DAC:Digital to Analog Converter)を接続し、このDSDフォーマットによる楽曲データをDACに供給してアナログ楽曲データに変換し、このアナログ楽曲データを再生装置により再生する構成が知られている。このような記憶装置の一例として、USB(Universal Serial Bus)規格に基づくポートを備え、このUSBポートに接続可能な、いわゆるUSB−DACと呼ばれるDACを経由して楽曲データを出力する記憶装置が知られている(例えば非特許文献1参照)。 A digital-to-analog converter (DAC: Digital to Analog Converter) is connected to a storage device that stores music data, which is digital content data that is signalized in the DSD (Direct Stream Digital) format, and the music is in this DSD format. There is known a configuration in which data is supplied to a DAC, converted into analog music data, and the analog music data is reproduced by a playback device. As an example of such a storage device, a storage device that has a port based on the USB (Universal Serial Bus) standard and outputs music data via a so-called USB-DAC that can be connected to this USB port is known. (See, for example, Non-Patent Document 1).
ここで、USBポート経由でDSDフォーマットによる楽曲データを出力する場合、従前のUSB規格にはDSDフォーマットによる楽曲データを出力する際の規格が定められていなかったので、USB規格で定まっているPCM(Pulse Code Modulation)データのフォーマットに準拠した、DoP(DSD Audio over PCM flames)と呼ばれる規格に基づいて、記憶装置はUSBポート経由でDSDフォーマットによる楽曲データを出力していた。 Here, when the music data in the DSD format is output via the USB port, the standard for outputting the music data in the DSD format is not defined in the previous USB standard, so the PCM defined by the USB standard ( Based on a standard called DoP (DSD Audio over PCM flames), which conforms to the Pulse Code Modulation) data format, the storage device outputs music data in the DSD format via the USB port.
なお、最近、USB−IF(USB Implements Forum)はオーディオ出力用の新しい規格を発表し(非特許文献2参照)、この規格によれば記憶装置とUSB−DACとの接続(ネゴシエーション)の際に、USB−DACがDSDフォーマットによる楽曲データを直接アナログ変換可能であることを宣言することで、記憶装置がDSDフォーマットによる楽曲データをそのままUSB−DACに送信することが可能になった(以下、この方式を「DSDネイティブ」と称することがある)が、この新しい規格の発表以前に製造されたUSB−DACに対しては、記憶装置は依然としてUSBポート経由でDoPフォーマット、あるいはPCMフォーマットで出力する必要がある。 Recently, USB-IF (USB Implements Forum) announced a new standard for audio output (see Non-Patent Document 2), and according to this standard, when connecting (negotiating) a storage device and USB-DAC. By declaring that the USB-DAC can directly convert the music data in the DSD format into analog, the storage device can transmit the music data in the DSD format as it is to the USB-DAC (hereinafter, this). The method is sometimes referred to as "DSD native"), but for USB-DACs manufactured before the announcement of this new standard, the storage device still needs to output in DoP format or PCM format via the USB port. There is.
このように、USB−DACに対して楽曲データを出力する際には、現在記憶装置のUSBポートに接続されているUSB−DACがどのフォーマットによる楽曲データが再生可能であるかを記憶装置側が事前に把握し、記憶装置が適切な(つまりUSB−DACがアナログ変換可能な)フォーマットに変換して、あるいはそのまま出力する必要がある。 In this way, when outputting music data to the USB-DAC, the storage device side preliminarily determines in which format the music data can be played by the USB-DAC currently connected to the USB port of the storage device. It is necessary for the storage device to convert it to an appropriate format (that is, USB-DAC can convert to analog) or output it as it is.
このため、記憶装置のユーザは、記憶装置のUSBポートにUSB−DACを接続する度に、接続したUSB−DACがどのフォーマットによる楽曲データが再生可能であるかの設定を手作業で行っていた。 Therefore, every time the user of the storage device connects the USB-DAC to the USB port of the storage device, the user manually sets which format the connected USB-DAC can play the music data. ..
しかしながら、このような手作業による設定動作は煩雑であり、また、新しいUSB−DACをユーザが購入して記憶装置に接続するに当たって、このUSB−DACがどのフォーマットによる楽曲データが再生可能であるかを事前に調査する必要があり、結果的に設定に時間を要していた。 However, such manual setting operation is complicated, and when a user purchases a new USB-DAC and connects it to a storage device, which format the USB-DAC can play music data in? It was necessary to investigate in advance, and as a result, it took time to set up.
なお、携帯型プレーヤが再生可能なフォーマット情報をコンテンツ転送装置内に保持しておき、携帯型プレーヤがコンテンツ転送装置に接続されると、コンテンツ記録装置がこの携帯型プレーヤが再生可能なフォーマットに変換してからコンテンツ転送装置がコンテンツを携帯型プレーヤに送信する技術が提案されている(特許文献1参照)が、この技術では、携帯型プレーヤが送信されたコンテンツのフォーマットを自ら認識して再生を行う構成である。 Note that the format information that can be played by the portable player is stored in the content transfer device, and when the portable player is connected to the content transfer device, the content recording device converts the format into a format that can be played by this portable player. After that, a technique has been proposed in which the content transfer device transmits the content to the portable player (see Patent Document 1), but in this technology, the portable player recognizes the format of the transmitted content by itself and reproduces the content. It is a configuration to be performed.
一方、上述したUSB−DACは通常記憶装置から出力された楽曲データのフォーマットが何であるかを認識する機能は持っておらず、出力された楽曲データを所定のフォーマットであるものとしてアナログ変換するので、違うフォーマットの楽曲データが出力された場合、アナログ変換が適切に行われずにノイズ状態で変換する可能性がある。従って、上述の技術をUSB−DACに適用することは困難である。 On the other hand, the above-mentioned USB-DAC does not usually have a function of recognizing what the format of the music data output from the storage device is, and converts the output music data into analog as if it is in a predetermined format. , If music data in a different format is output, analog conversion may not be performed properly and conversion may occur in a noise state. Therefore, it is difficult to apply the above technique to USB-DAC.
本発明は上述した課題に鑑みてなされたものであり、接続された外部再生機器に適したフォーマットのコンテンツデータを簡便に出力することの可能な記憶装置、記憶装置におけるデータ出力方法及びプログラムの提供を、その目的の一つとしている。 The present invention has been made in view of the above-mentioned problems, and provides a storage device capable of easily outputting content data in a format suitable for a connected external playback device, a data output method in the storage device, and a program. Is one of the purposes.
本発明は、コンテンツデータが格納された格納部と、格納部に格納されたコンテンツデータの再生指示を受け入れる入力部と、入力部が受け入れた再生指示に基づいてコンテンツデータを外部再生機器に出力する再生部とを備えた記憶装置に適用される。そして、外部再生機器の識別情報とこの外部再生機器が再生可能なコンテンツデータのデータ形式とが関連付けられたテーブルを設け、再生部に、入力部が再生指示を受け入れたら、コンテンツデータを外部再生機器に出力するに先立って、出力されるコンテンツデータを外部再生機器が再生する際に必要な再生情報を通知する通知部と、外部再生機器が記憶装置に接続された際にこの外部再生機器に特有な識別情報を取得し、テーブルを参照して、外部再生機器が再生可能なデータ形式によりコンテンツデータを外部再生機器に出力するデータ制御部とを設けることにより、上述の課題の少なくとも一つを解決している。 The present invention outputs the content data to an external playback device based on the storage unit in which the content data is stored, the input unit that accepts the playback instruction of the content data stored in the storage unit, and the playback instruction received by the input unit. It is applied to a storage device provided with a playback unit. Then, a table is provided in which the identification information of the external playback device and the data format of the content data that can be played by the external playback device are provided, and when the input section accepts the playback instruction in the playback section, the content data is transmitted to the external playback device. A notification unit that notifies the playback information required when the external playback device plays the output content data prior to output to, and is unique to this external playback device when the external playback device is connected to the storage device. At least one of the above-mentioned problems is solved by providing a data control unit that acquires various identification information, refers to a table, and outputs content data to the external playback device in a data format that can be played by the external playback device. doing.
データ制御部は、外部再生機器が記憶装置に接続された際にこの外部再生機器に特有な識別情報を取得し、テーブルを参照して、外部再生機器が再生可能なデータ形式によりコンテンツデータを外部再生機器に出力している。これにより、外部再生機器が再生可能なデータ形式のコンテンツデータを外部再生機器に出力することが可能となる。 When the external playback device is connected to the storage device, the data control unit acquires the identification information unique to this external playback device, refers to the table, and externally outputs the content data in a data format that can be played by the external playback device. It is output to the playback device. This makes it possible to output content data in a data format that can be played by the external playback device to the external playback device.
ここで、記憶装置がUSB規格に基づく入出力インタフェースを備え、再生部が、外部再生機器が入出力インタフェースに接続された際に入出力インタフェースが入手した外部再生機器のIDを識別情報として取得してテーブルに記述する取得部を備えることが好ましい。 Here, the storage device is provided with an input / output interface based on the USB standard, and the playback unit acquires the ID of the external playback device obtained by the input / output interface when the external playback device is connected to the input / output interface as identification information. It is preferable to provide an acquisition unit described in the table.
また、コンテンツデータがDSD形式で前記格納部に格納されている場合、データ制御部は、外部再生機器の識別情報に基づいて、DSD形式のまま、あるいはDoP形式またはPCM形式に変換して、コンテンツデータを外部再生機器に送出することが好ましい。加えて、記憶装置が論理ポートとしてPCMポート及びDSDポートを備え、データ制御部は、外部再生機器が再生可能なデータ形式に基づいていずれの論理ポートにより外部再生機器と接続するかを決定することが好ましい。 When the content data is stored in the storage unit in the DSD format, the data control unit converts the content into the DSD format or the DoP format or the PCM format based on the identification information of the external playback device. It is preferable to send the data to an external playback device. In addition, the storage device includes a PCM port and a DSD port as logical ports, and the data control unit determines which logical port is used to connect to the external playback device based on the data format that can be played by the external playback device. Is preferable.
また、本発明は、コンテンツデータが格納された格納部と、格納部に格納されたコンテンツデータの再生指示を受け入れる入力部と、入力部が受け入れた再生指示に基づいてコンテンツデータを外部再生機器に出力する再生部と、外部再生機器の識別情報とこの外部再生機器が再生可能なコンテンツデータのデータ形式とが関連付けられたテーブルとを備えた記憶装置におけるデータ出力方法に適用される。そして、入力部が再生指示を受け入れたら、再生部が、コンテンツデータを外部再生機器に出力するに先立って、出力されるコンテンツデータを外部再生機器が再生する際に必要な再生情報を通知し、外部再生機器が記憶装置に接続された際にこの外部再生機器に特有な識別情報を取得し、テーブルを参照して、外部再生機器が再生可能なデータ形式によりコンテンツデータを外部再生機器に出力することにより、上述の課題の少なくとも一つを解決している。 Further, according to the present invention, the storage unit in which the content data is stored, the input unit that accepts the playback instruction of the content data stored in the storage unit, and the content data to the external playback device based on the playback instruction received by the input unit. It is applied to a data output method in a storage device including a playback unit to be output, a table in which identification information of the external playback device and a data format of content data reproducible by the external playback device are associated with each other. Then, when the input unit accepts the playback instruction, the playback unit notifies the playback information necessary for the external playback device to play the output content data prior to outputting the content data to the external playback device. When the external playback device is connected to the storage device, the identification information unique to this external playback device is acquired, the table is referred to, and the content data is output to the external playback device in a data format that can be played by the external playback device. By doing so, at least one of the above-mentioned problems is solved.
そして、本発明は、コンテンツデータが格納された格納部と、格納部に格納されたコンテンツデータの再生指示を受け入れる入力部と、入力部が受け入れた再生指示に基づいてコンテンツデータを外部再生機器に出力する再生部と、外部再生機器の識別情報とこの外部再生機器が再生可能なコンテンツデータのデータ形式とが関連付けられたテーブルとを備えたコンピュータにより実行されるプログラムに適用される。そして、このプログラムがコンピュータにより実行されると、このコンピュータの再生部を、入力部が再生指示を受け入れたら、コンテンツデータを外部再生機器に出力するに先立って、出力されるコンテンツデータを外部再生機器が再生する際に必要な再生情報を通知する通知部と、外部再生機器が記憶装置に接続された際にこの外部再生機器に特有な識別情報を取得し、テーブルを参照して、外部再生機器が再生可能なデータ形式によりコンテンツデータを外部再生機器に出力するデータ制御部として機能させることにより、上述の課題の少なくとも一つを解決している。 Then, in the present invention, the storage unit in which the content data is stored, the input unit that accepts the playback instruction of the content data stored in the storage unit, and the content data to the external playback device based on the playback instruction received by the input unit. It is applied to a program executed by a computer having a playback unit to be output and a table in which the identification information of the external playback device and the data format of the content data reproducible by the external playback device are associated with each other. Then, when this program is executed by the computer, the output content data is output to the external playback device before the content data is output to the external playback device when the input unit accepts the playback instruction. A notification unit that notifies the playback information required for playback, and when an external playback device is connected to a storage device, it acquires identification information specific to this external playback device, refers to the table, and refers to the external playback device. By functioning as a data control unit that outputs content data to an external playback device in a reproducible data format, at least one of the above-mentioned problems is solved.
本発明によれば、接続された外部再生機器に適したフォーマットのコンテンツデータを簡便に出力することの可能な記憶装置、記憶装置におけるデータ出力方法及びプログラムを提供することができる。 According to the present invention, it is possible to provide a storage device capable of easily outputting content data in a format suitable for a connected external playback device, a data output method and a program in the storage device.
以下、図面を参照して、本発明の記憶装置の実施形態について説明する。
(第1実施形態)
Hereinafter, embodiments of the storage device of the present invention will be described with reference to the drawings.
(First Embodiment)
図1は、本発明の第1実施形態であるコンテンツ再生システムの概略構成を示す図である。図1において、第1実施形態のコンテンツ再生システムSは、記憶装置1、再生装置2及び通信装置3を備える。
FIG. 1 is a diagram showing a schematic configuration of a content reproduction system according to a first embodiment of the present invention. In FIG. 1, the content reproduction system S of the first embodiment includes a
記憶装置1は、詳細を後述するように、コンテンツデータが格納された格納部と、格納部に格納されたコンテンツデータの再生指示を受け付ける入力部と、入力部が受け付けた再生指示に基づいてコンテンツデータを送信する送信部とを備える。記憶装置1は、例えばNAS(Network Attached Storage)、PC(Personal Computer)である。
As will be described in detail later, the
本実施形態の記憶装置1のUSBコネクタ(図1において図示略)にはUSB−DAC4が接続され、記憶装置1の格納部に格納されたコンテンツデータは、USBコネクタを経由してUSB−DAC4に出力され、このUSB−DAC4においてデジタルーアナログ変換され、再生装置2において再生可能なアナログコンテンツデータとしてこの再生装置2に出力される。記憶装置1の詳細については後述する。
A USB-DAC4 is connected to the USB connector (not shown in FIG. 1) of the
なお、以下の説明では、コンテンツデータとして音楽データや楽曲データを例にとって説明するが、本発明の記憶装置に格納されるコンテンツデータは音楽データや楽曲データに限定されず、動画データ、静止画データであってもよい。また、本発明においては、後述するようにコンテンツデータはコンテンツファイルとして格納部に格納されている。従って、特に区別する場合以外は、コンテンツデータとコンテンツファイルとは同義として説明する。 In the following description, music data and music data will be described as example of content data, but the content data stored in the storage device of the present invention is not limited to music data and music data, and moving image data and still image data. It may be. Further, in the present invention, the content data is stored in the storage unit as a content file as described later. Therefore, unless otherwise specified, the content data and the content file will be described as synonymous.
再生装置2は、USB−DAC4からアナログコンテンツデータを受信し、このアナログコンテンツデータに基づいて、再生装置2に接続されたスピーカ等の音声出力装置5に音楽再生信号を送信し、この音声出力装置5を介してコンテンツデータを再生する。再生装置2は、例えばアナログオーディオアンプである。再生装置2の詳細についても後述する。
The
通信装置3は、無線アクセスポイント(AP)6との間で無線通信が可能な装置である。通信装置3は、一例としてスマートフォン、タブレット端末である。
The
そして、記憶装置1はスイッチングハブ等の中継機器7を介してLAN(Local Area Network)8に接続されるとともに、通信装置3は、無線アクセスポイント6及び中継機器7を介してLAN8に接続されている。LAN8は、ルータ9を介してインターネット等のWAN10(Wide Area Network)に接続されている。これにより、記憶装置1と通信装置3の間でデータの送受信が可能にされているとともに、記憶装置1及び通信装置3は、WAN10上に存在する外部サーバ11との間でもデータの送受信が可能にされている。
Then, the
(第1実施形態の記憶装置の構成)
図2は、本発明の第1実施形態である記憶装置1の概略構成を示すブロック図である。図2において、本実施形態の記憶装置1は、CPU(Central Processing Unit)20、ROM(Read Only Memory)21、RAM(Random Access Memory)22、入出力デバイス23、ネットワークインタフェース(I/F)25及びHDD(Hard Disk Drive)部26を備えており、これらはバスにより互いに接続されている。
(Configuration of Storage Device of First Embodiment)
FIG. 2 is a block diagram showing a schematic configuration of a
CPU20は、後述するROM21内に格納されたファームウェア等のプログラムが実行されることにより、記憶装置1全体の制御を行う。また、CPU20は、ROM21内に格納されたプログラムが実行されることにより、図4に示すような各機能部としても動作する。図4に示す各機能部の動作については後述する。ROM21には、上述したファームウェア等のプログラム、及び設定テーブル33等が格納されている。設定テーブル33の具体的構成については後述する。RAM22は記憶装置1のワークメモリとして機能し、CPU20を含めた記憶装置1の動作時に一時的に使用されるプログラム、データ等が格納される。
The
入出力デバイス23は、入力インタフェース(I/F)23a、入力指示部23b及びUSBインタフェース(I/F)23cを備える。
The input /
入力インタフェース23aには入力指示部23bが接続され、ユーザが入力指示部23bを操作することにより入力される入力信号を受信する。入力指示部23bとしては、例えば記憶装置1がNASであれば、ファイル取り込み指示、外部再生機器の取り外し指示、動作状態表示指示、本体リセット等を行う各種ボタン等が挙げられる。
An
USBインタフェース23cはUSBコネクタ(図略)を備え、このUSBコネクタに直接、あるいはUSBケーブルを介して接続されたUSB機器32に対して、USB2.0またはUSB3.0規格に沿ったデータの読み出し/書き込みを行う。USB機器32としては、上述のUSB−DAC4のほか、USBフラッシュメモリ、USBインタフェースを備えたHDD装置、キーボード等が挙げられる。
The
ネットワークインタフェース25はネットワークコネクタ(図略)を備え、このネットワークコネクタにネットワークケーブル(図略)を介してルータ9が接続されている。これにより、ネットワークインタフェース25及びルータ9を介して記憶装置1と通信装置3との間でデータの送受信がされるとともに、このルータ9がWAN10に接続されることで、外部ネットワークと記憶装置1の間でデータの送受信がされる。このネットワークインタフェース25は、例えばIEEE(The Institute of Electrical and Electronics Engineers)802.3規格に基づく有線通信を行うものである。
The
HDD部26は、HDD26bとHDDインタフェース(I/F)26aとを備える。HDD26bは、記録媒体であるディスクと、このディスクの回転を行う回転部と、ディスクに対してデータの読み出し/書き込みを行うヘッド部とを備える(いずれも不図示)。HDDインタフェース26aは、このHDD26bに対するデータの読み出し/書き込み指令があった場合に、HDD26b全体の制御を行うとともに、データの読み出し/書き込み制御を行い、読み出されたデータを出力する。
The
また、このHDD26bにはコンテンツファイル30及びコンテンツ登録リスト31が格納されている。本実施形態のHDD26bには、DSD(Direct Stream Digital)フォーマットを含む1またはそれ以上の種類のフォーマットのコンテンツファイル30が格納されている。
Further, the
ここで、DSDフォーマットとは、アナログ形式の音楽データ、楽曲データをパルス変調の一つであるPDM(Pulse Density Modulation:パルス密度変調)方式によりアナログ−デジタル変換を行ったコンテンツファイル30のフォーマットを指す。他にHDD26bに格納されうるコンテンツファイル30のフォーマットとしては、PCM(Pulse Code Modulation:パルス符号変調)方式によりアナログ−デジタル変換を行ったPCMフォーマット等が挙げられる。特に、本実施形態のDSDフォーマットのコンテンツファイル30は、CD−DA(Compact Disc Digital Audio)のサンプリング周波数である44.1kHzの64倍=2.8224MHz(DSD64と呼ばれることもある)、128倍である5.6448MHz(DSD128と呼ばれることもある)、さらには256倍である11.2896MHz(DSD256と呼ばれることもある)のサンプリング周波数によりパルス変調されたものであることが好ましい。
Here, the DSD format refers to the format of the
なお、図2においてコンテンツファイル30は1つのみ図示されているが、本実施例においてコンテンツファイル30は複数個HDD26b内に格納されていてもよい。
Although only one
(第1実施形態の記憶装置の機能構成)
図3は、DSDフォーマットによる楽曲データ再生時の第1実施形態の記憶装置の機能構成を示す機能ブロック図である。図3に示す機能ブロック図は、コンテンツファイル30がDSDフォーマットによる楽曲ファイルであった場合の、DLNA(Digital Living Network Alliance:登録商標)のガイドラインに従った機能を示すものである。
(Functional configuration of the storage device of the first embodiment)
FIG. 3 is a functional block diagram showing a functional configuration of the storage device of the first embodiment at the time of reproducing music data in the DSD format. The functional block diagram shown in FIG. 3 shows a function in accordance with the DLNA (Digital Living Network Alliance: registered trademark) guideline when the
本実施形態の記憶装置1は、DLNAガイドラインに従ったDMS(Digital Media Server)部40及びDMR(Digital Media Renderer)部41を備えている。AV機器、PC、モバイル機器等を用いてホームネットワークを構築する際の規格である、DLNAのガイドラインにおいて、写真・音楽・ビデオといったコンテンツファイル30はDMS部40内のDB42に格納され、コンテンツディレクトリ(Content Directory Service:CDS)と呼ばれる、フォルダ階層を持った構造でコンテンツ一覧が管理される。CDS内のコンテンツファイル30には、それぞれのコンテンツファイル30を一意に識別するためのID値と、このコンテンツファイル30の詳細情報であるメタデータ及びコンテンツファイル30の取得先を示すURI(Uniform Resource Identifier)とが与えられている。CDSはネットワーク上の他の機器に公開され、コンテンツの再生をするクライアント機器は、DMS部40上のCDSを辿ってコンテンツを選択し、URIで示されるコンテンツデータをDMS部40のDB42から取得し、再生を行う。ここで、DMS部40とクライアント機器との間の通信に用いられるプロトコルには、HTTP(Hypertext Transfer Protocol)が用いられる。
The
また、DLNAガイドラインでは、クライアント機器の一種である、一例として通信装置3からなるDMC(Digital Media Controller)43は、ネットワーク内に存在するDMS部40を探し出し、CDS情報、一例としてコンテンツリストを取得して、取得したCDS情報の閲覧画面を表示する。ユーザはこのコンテンツリストを閲覧して、再生を希望するコンテンツファイル30を選択すると、DMC43は、ユーザが選択したコンテンツファイル30の再生出力をDMR部41に要求し、DMR部41はDMS部40にコンテンツファイル30の送信を指示してこのDMS部40から送信されたコンテンツデータを再生する。
Further, according to the DLNA guideline, the DMC (Digital Media Controller) 43, which is a kind of client device and is composed of the
本実施形態のDMR部41は、DMR制御部44、http src部45、DSDパーサ(parser)部46、DSDデコーダ(decoder)部47及びAlsa Sink部48を備えている。
The
DMR制御部44は、DMC43からのコンテンツ再生指示を受け、設定テーブル33を適宜参照しながら、http src部45、DSDパーサ(parser)部46、DSDデコーダ(decoder)部47及びAlsa Sink部48に、以下に説明する動作指令行うとともにこれらの制御を行う。
The
http src部45は、DMS部40からのコンテンツファイル30の配信を受け、後段であるDSDパーサ部46へこのコンテンツファイル30を出力する。DSDパーサ部46は、http src部45から出力されたDSDフォーマットによるコンテンツファイル30をパースし、このコンテンツファイル30のヘッダを解析することで、デコーダ部47が有するPCM変換部47a、DoP変換部47b、及びDSDネイティブ変換部47cのいずれかにx−dsd形式で出力する。DSDパーサ部46がDSDデコード部47のいずれの変換部47a、47b、47cに出力するかは、DMR制御部44が設定テーブル33を参照した後にDSDパーサ部46に指令することで決定される。
The
DSDデコーダ部47は、PCM変換部47a、DoP変換部47b及びDSDネイティブ変換部47cを有する。PCM変換部47aは、x−dsd形式の入力をデコードし、PCMフォーマットで出力する。DoP変換部47bは、x−dsd形式の入力をデコードし、x−raw(DoP)フォーマットで出力する。DSDネイティブ変換部47cは、x−dsd形式の入力に対して適宜ヘッダデータを付加して出力する。
The
そして、Alsa Sink部48は、USB−DAC4との間でサンプリングレート、チャンネル、フォーマットに関する情報を含めたネゴシエーションを行い、また、DSDデコーダ部47からの出力をUSB−DAC4に送出する。
Then, the
ここでDoP(DSD over PCM)フォーマットのコンテンツファイル30について説明する。DoPフォーマットのコンテンツファイル30の1フレームは24ビットからなる。これは、USB規格で定められているPCMデータが1フレーム24ビットであるので、このPCMデータのフォーマットに合わせたものである。24ビットのデータのうち、上位の8ビットはDSDマーカーとされ、このDSDマーカーを構成する8ビットには、DSDフォーマットのコンテンツファイル30に関する情報が格納されている。下位の16ビットはDSDオーディオビットである。DSDフォーマットのコンテンツデータは1ビット単位で構成されているので、1フレーム(16ビット)内のコンテンツデータには、上位ビットから順にDSDフォーマットのコンテンツデータが格納される。
Here, the
次に、図4は、本実施形態の記憶装置1の概略構成を示すブロック図である。本実施形態の記憶装置1は、制御部50、記憶部51、操作入力部52、再生出力部53及び通信部54を備えている。
Next, FIG. 4 is a block diagram showing a schematic configuration of the
制御部50は、記憶装置1全体の制御を行う。特に、この制御部50は、上述のようにDLNAガイドラインにおけるDMS及びDMRとして記憶装置1を動作させるための機能を備えている。この制御部50は入力部55及び再生部56を備える。
The
入力部55は、記憶部51の後述する格納部61に格納されたコンテンツファイル30の再生指示を受け入れる。ここにいう再生指示には、楽曲ファイルであるコンテンツファイル30を曲の先頭から再生する指示と、コンテンツファイル30の再生中断、中止指示を受けて再生部56がコンテンツファイル30の外部再生機器への出力を中断、中止した後に、楽曲の中断、中止位置から再度再生する指示の双方を含む。
The
加えて、コンテンツファイル30がいわゆるアルバム形式で、すなわち、複数のコンテンツファイル30が一つの再生単位として格納部61に格納されている場合、このアルバム単位での再生指示も、ここにいう再生指示に含む。この場合、入力部55が受け入れる再生指示には、アルバムの中で先頭に再生されるべきコンテンツファイル30を曲の先頭から再生する指示と、現在再生しているコンテンツファイル30の再生終了が近づいた時点で、このコンテンツファイル30の次に再生すべき旨の設定がされているコンテンツファイル30の再生準備の指示も含まれる。
In addition, when the
再生部56は、入力部55が受け入れた再生指示に基づいてコンテンツファイル30を外部再生機器に出力する。本実施形態では、再生部56は主に記憶装置1のUSBコネクタに接続されたUSB−DAC4にコンテンツファイル30を出力するが、他の外部再生機器への出力を行ってもよいことはもちろんである。また、再生部56は、コンテンツファイル30のフォーマットや外部再生機器の性能に応じて、コンテンツファイル30そのもの(より詳細にはコンテンツデータそのもの)を外部再生機器に出力してもよいし、外部再生機器において再生可能なフォーマット、データに変換して出力してもよいことはもちろんである。
The
この再生部56は、取得部57、通知部58及びデータ制御部59を備える。
The
取得部57は、外部再生機器であるUSB−DAC4が入出力インタフェースであるUSBインタフェース23cに接続された際に、USBインタフェース23cが入手したUSB−DAC4のIDを識別情報として取得して設定テーブル33に記述する。USB−DAC4のIDとは、USB−DAC4のUSB IDである。USB IDにはベンダーIDとプロダクトIDとがあり、ベンダーIDはUSB機器の製造会社(ベンダー)に固有なIDであり、プロダクトIDはこのベンダーが個々のUSB機器の機種毎に固有となるように割り当てたIDである。これらベンダーID及びプロダクトIDはそれぞれ2バイトの値を有し、0〜Fで表される16進法の英数字4桁により表現することができる。USB IDは、USB−DAC4がUSBインタフェース23cに接続された際に、取得部57に相当するAlsa Sink部48がUSB−DAC4との間で行ったネゴシエーションの際に取得することが可能である。
When the USB-DAC4 which is an external playback device is connected to the
なお、取得部57は、USB IDのうちベンダーIDまたはプロダクトIDのいずれか一方を識別情報として取得して設定テーブル33に記述することも可能であり、また、ベンダーIDやプロダクトIDの一部を識別情報として使用することも可能であり、要は、USB−DAC4を一意に識別可能なものであれば識別情報として使用可能である。
In addition, the
通知部58は、入力部55が再生指示を受け入れたら、コンテンツファイル30を外部再生機器であるUSB−DAC4に出力するに先立って、出力されるコンテンツファイル30をUSB−DAC4が再生する際に必要な再生情報を通知する。このような再生情報としては、記憶装置から出力されるコンテンツファイル30のサンプリングレート、チャンネル、フォーマットに関する情報が含まれ、特に、フォーマットに関する情報は必須である。
When the
つまり、本実施形態に用いられるUSB−DAC4を含めて、USB−DACは入力されたコンテンツファイル30のフォーマットを自動認識して自身の設定変更を行う機能は通常有しておらず、コンテンツファイル30を出力する機器、例えば本実施形態の記憶装置1から再生情報を事前に通知し、USB−DAC4はこの再生情報を受け取って自身の設定変更を行う。
That is, the USB-DAC, including the USB-DAC4 used in the present embodiment, usually does not have a function of automatically recognizing the format of the
通知部58は、コンテンツファイル30の出力に先立ってこの再生情報を通知するが、上述のようにコンテンツファイル30がアルバム形式であり、連続的に再生される複数のコンテンツファイル30が同一の再生情報に関連付けられている場合は、先頭に再生されるコンテンツファイル30の再生に先立って再生情報を通知すれば足りる。
The
データ制御部59は、外部再生機器であるUSB−DAC4が記憶装置1に接続された際に、USB−DAC4に特有な識別情報を取得し、設定テーブル33を参照して、USB−DAC4が再生可能なデータ形式、好ましくはUSB−DAC4が再生可能なフォーマットによりコンテンツファイル30をUSB−DAC4に出力する。より詳細には、データ制御部59は、取得部57が取得したUSB−DAC4の識別情報であるUSB IDを用いて設定テーブル33を参照し、このUSB IDにより特定されるUSB−DAC4が再生可能なフォーマットを検出する。そして、データ制御部59は、現在接続されているUSB−DAC4が再生可能なフォーマットにより、コンテンツファイル30をUSB−DAC4に出力する。
When the USB-DAC4, which is an external playback device, is connected to the
好ましくは、データ制御部59は、USB−DAC4のUSB IDに基づいて、DSD形式のまま、あるいはDoP形式またはPCM形式に変換して、コンテンツファイル30をUSB−DAC4に送出する。言い換えれば、データ制御部59は、設定テーブル33を用いて検出した、現在接続されているUSB−DAC4が再生可能なフォーマットに基づいて上述のDSDデコーダ部47が有するPCM変換部47a、DoP変換部47b及びDSDネイティブ変換部47cのいずれかを選択し、これらPCM変換部47a等のいずれかを用いてコンテンツファイル30のフォーマットを変換してUSB−DAC4に出力する。
Preferably, the
また、記憶装置1は論理ポートとしてPCMポート及びDSDポートを備え、データ制御部59は、USB−DAC4が再生可能なフォーマットに基づいて、いずれの論理ポートによりUSB−DAC4と接続するかを決定する。PCMポートは、実質的にはPCM変換部47a及びDoP変換部47bに相当し、また、DSDポートは、実質的にはDSDネイティブ変換部47cに相当する。従って、データ制御部59は、USB−DAC4が再生可能なフォーマットがPCMフォーマットまたはDoPフォーマットである場合、PCMポートによりUSB−DAC4と接続し、USB−DAC4が再生可能なフォーマットがDSDフォーマットである場合、DSDポートによりUSB−DAC4と接続することを決定する。
Further, the
記憶部51は各種データを少なくとも一時的に格納する機能を有する。この記憶部51は格納部61を備え、この格納部61には、コンテンツファイル30及びコンテンツ登録リスト31が格納されている。既に説明したように、本実施形態の記憶装置1の格納部61に格納されるコンテンツファイル30は、好ましくはDSDフォーマットによるコンテンツファイル30を含む。コンテンツ登録リスト31には、コンテンツファイル30のファイル名と、その格納場所を示す情報(例えばURI)やコンテンツ名、サイズ、など、コンテンツ自体に関する内容を説明する情報や属性を示す情報などのコンテンツ情報と、が関連付けられて記述されている。また、記憶部51には設定テーブル33が格納されている。
The
操作入力部52は、記憶装置1に入力される各種データの入力を受け付け、入力された各種データを制御部50に入力し、あるいは記憶部51に格納する。再生部としても機能する再生出力部53は、再生部56が出力したコンテンツファイル30を、USB−DAC4等の外部再生機器に出力する。入力部としても機能する通信部54は、制御部50及び記憶部51内の各種データを、LAN8及びWAN10を介して通信装置3、外部サーバ11を含む外部出力機器に送信し、また、通信装置3等からの各種データを受信する。
The
以上の構成において、制御部50及び制御部50を構成する入力部55及び再生部56は主にCPU20により構成され、記憶部51は主にROM21、RAM22及びHDD部26により構成され、操作入力部52は主に入出力デバイス23により構成され、再生出力部53は主に入出力デバイス23により構成され、そして通信部54は主にネットワークインタフェース25により構成される。図4に示す記憶装置1の各機能部の動作については後に詳述する。
In the above configuration, the
(設定テーブルの構成)
図5は、本実施形態の記憶装置1に用いられる設定テーブル33を示す図である。
(Configuration of setting table)
FIG. 5 is a diagram showing a setting table 33 used in the
本実施形態の設定テーブル33は、上述したように記憶装置の記憶部51に格納されている。この設定テーブル33は、USB ID領域33aとDSD対応/非対応領域33bとを備えている。
The setting table 33 of the present embodiment is stored in the
USB ID領域33aには、記憶装置1に接続される可能性のあるUSB−DAC4のUSB IDが格納されている。DSD対応/非対応領域33bには、USB ID領域33aに記述されたUSB IDにより特定されるUSB−DAC4がDSDフォーマットのコンテンツファイル30を再生可能であるか否かを示す情報が記述されている。この情報は、DSD非対応、すなわちPCMフォーマットによるコンテンツファイル30のみ再生可能である(図中「NO」で示している)ことを示す情報、DoPフォーマットのコンテンツファイル30は再生可能である(図中「DoP」で示している)ことを示す情報、及び、DSDフォーマットのコンテンツファイル30は再生可能である(図中「Native」で示している)ことを示す情報のいずれかである。
In the
ここで、DSDフォーマットのコンテンツファイル30が再生可能なUSB−DAC4は、PCMフォーマットまたはDoPフォーマットのコンテンツファイル30が再生可能である場合もある。しかしながら、本実施形態の記憶装置1にはDSDフォーマットのコンテンツファイル30が少なくとも格納されており、DSDフォーマットのコンテンツファイル30をPCMフォーマットまたはDoPフォーマットに変換することにより音質が変化する可能性もありうるので、DSDフォーマットのコンテンツファイル30が再生可能なUSB−DAC4については、極力DSDフォーマットのまま、すなわちDSDネイティブの環境で再生することが好ましい。このため、DSD対応/非対応領域33bには、DSDフォーマットにより再生可能であるか否かの情報を優先して記述している。
Here, the USB-DAC4 that can reproduce the DSD
同様に、DoPフォーマットのコンテンツファイル30は、データ構造がPCMファイルに準拠しているが、DSDフォーマットのデータがほぼそのまま含まれたコンテンツファイル30であるので、DoPフォーマットのコンテンツファイル30が再生可能であればそれを優先して情報として記述している。
Similarly, the DoP
(第1実施形態の動作)
次に、図6のシーケンス図及び図7〜図9のフローチャートを参照して、本実施形態のコンテンツ再生システムSの動作を、記憶装置1の動作を中心に説明する。
(Operation of the first embodiment)
Next, the operation of the content reproduction system S of the present embodiment will be described with reference to the sequence diagram of FIG. 6 and the flowcharts of FIGS. 7 to 9, focusing on the operation of the
まず、図6は、第1実施形態の記憶装置の動作の一例を説明するためのシーケンス図である。図6のシーケンス図に示す動作は、DSDフォーマットのコンテンツファイル30の再生開始時における動作である。
First, FIG. 6 is a sequence diagram for explaining an example of the operation of the storage device of the first embodiment. The operation shown in the sequence diagram of FIG. 6 is an operation at the start of playback of the DSD
まず、ステップS1において、DMR部41のDMR制御部44が、USBインタフェース23cにUSB−DAC4が接続されたことを検出し、次いで、ステップS2では、Alsa Sink部48がUSB−DAC4との間でUSB規格に準拠したネゴシエーション動作を行う。この際、Alsa Sink部48は、USB−DAC4のUSB IDを取得する。
First, in step S1, the
次に、ステップS3において、DMCである通信装置3から、DSDフォーマットのコンテンツファイル30の再生指示がされ、ステップS4では、DMR部41のDMR制御部44が、http src部45、DSDパーサ部46、DSDデコーダ部47及びAlsa Sink部48(以下、これらを総称してDMR部41のパイプラインと呼ぶ)を動作準備状態にし、ステップS5では、DMR部41のパイプラインが動作準備状態になったら、USB−DAC4自身がリセットする。
Next, in step S3, the
ステップS6では、DMR制御部44の制御により、http src部45が受信すべき楽曲ファイル(コンテンツファイル30)のURIをセットし、ステップS7では、DSDパーサ部46が、再生指示がされたコンテンツファイル30のヘッダ部を解析して、サンプリングレートを取得する。ステップS8では、ステップS7でDSDパーサ部46が取得したサンプリングレート、さらにはDMC43とのデータのやり取りの際に取得したチャンネル及びフォーマットをAlsa Sink部48がUSB−DAC4に通知する。ステップS9では、ステップS8におけるAlsa Sink部48とのネゴシエーションの結果得られる、再生指示がされたコンテンツファイル30のサンプリングレート等に基づいて、USB−DAC4が再生準備動作を開始する。
In step S6, the URI of the music file (content file 30) to be received by the
ステップS10では、http src部45がDMS部40内にあるコンテンツファイル30を読み取り、ステップS11では、DSDパーサ部46がこのコンテンツファイル30をパースする。ステップS12ではDSDデコーダ部47は楽曲データをデコードし、この楽曲データはステップS13においてAlsa Sink部48によりUSB−DAC4に送出され、ステップS14においてUSB−DAC4による楽曲データの再生が開始される。以降、ステップS15〜ステップS19に示すように、順次楽曲データの読み取りから再生動作までが繰り返される。
In step S10, the
次に、図7〜図9のフローチャートを参照して、本実施形態の記憶装置1の動作について説明する。
Next, the operation of the
まず、図7のフローチャートを参照して、USB−DAC4が本実施形態の記憶装置1に接続された際の動作について説明する。
First, the operation when the USB-
ステップS20では、再生部56の取得部57が、USBインタフェース23cにUSB−DAC4が接続されたことを検出するのを待ち、USB−DAC4が接続されたと検出されると(ステップS20においてYES)、ステップS21において、取得部57はUSB−DAC4との間でUSB規格に準拠したネゴシエーション動作を行う。ステップS22では、取得部57が、ステップS21におけるネゴシエーション動作により、USB−DAC4のUSB IDを取得する。
In step S20, the
ステップS23では、ステップS22において取得したUSB IDを用いて、データ制御部59が設定テーブル33のUSB ID領域33aを参照し、ステップS22で取得したUSB IDに対応するUSB IDがUSB ID領域33aに記述されているか否かを検索する。そして、記述されていれば、このUSB IDに対応するDSD対応/非対応領域33bに記述されている情報を抽出する。そして、ステップS24では、DSD対応/非対応領域33bに記述されている情報に基づいて、データ制御部59がデータ変換を行うべきフォーマットを設定する。この動作は、図3のDSDデコーダ部47において、PCM変換部47a、DoP変換部47bまたはDSDネイティブ変換部47cのいずれを用いてデコード動作をするかどうかを設定する動作に対応する。
In step S23, the
次に、図8及び図9のフローチャートを参照して、本実施形態の記憶装置1による楽曲データ再生動作について説明する。
Next, the music data reproduction operation by the
ステップS30では、通信部54を介して通信装置3から楽曲ファイルであるコンテンツファイル30の再生指示が入力されるのを入力部55が待ち、再生指示を入力部55が受け入れると、プログラムはステップS31に移行する。
In step S30, the
ステップS31では、現在コンテンツファイル30が再生されているか否か、言い換えれば、ステップS30で入力部55が受け入れた再生指示がコンテンツファイル30の再生開始指示であるか否かがデータ制御部59により判定され、判定が肯定された場合はプログラムはステップS35に移行し、判定が否定されたらプログラムはステップS32に移行する。
In step S31, the
ステップS32では、再生部56が再生指示のあったコンテンツファイル30を外部再生機器であるUSB−DAC4に出力することで、このコンテンツファイル30の再生を開始する。
In step S32, the
ステップS33では、通信部54を介して通信装置3から現在再生中のコンテンツファイル30の一時停止指示を入力部55が受け入れたか否かが判定され、判定が肯定されるとプログラムはステップS34に移行し、判定が否定されるとプログラムはステップS37に移行する。
In step S33, it is determined whether or not the
ステップS34では、通信部54を介して通信装置3からコンテンツファイル30の再生再開指示を入力部55が受け入れるのを待ち、再生再開指示を受け入れたら、プログラムはステップS32に移行する。
In step S34, the
ステップS35では、データ制御部59が再生部56全体のリセット動作を行い、ステップS36では、通知部58がコンテンツファイル30のフォーマット、サンプリングレート等を外部再生機器であるUSB−DAC4に通知する。この後、プログラムはステップS32に移行する。
In step S35, the
ステップS37では、現在再生中のコンテンツファイル30の再生が終了したか否かが再生部56により判定され、判定が肯定されたらプログラムはステップS38に移行し、判定が否定されたらプログラムはステップS33に戻る。ステップS38では、ステップS30において再生指示のあったコンテンツファイル30の全ての再生が終了したか否か、すなわち、アルバム形式など連続再生をすべきコンテンツファイル30の全ての再生が終了したか否かが判定され、判定が肯定されたらプログラムは終了し、判定が否定されたらプログラムはステップS32に戻る。
In step S37, the
(第1実施形態の効果)
以上説明したように、本実施形態の記憶装置1では、USB−DAC4のUSB IDに基づいて、データ制御部59が設定テーブル33を参照し、このUSB−DAC4が再生可能なフォーマットにコンテンツファイル30を適宜変換してUSB−DAC4に出力しているので、従来の記憶装置のように、記憶装置のUSBインタフェースにUSB−DACを接続する度に、接続したUSB−DACがどのフォーマットによる楽曲データが再生可能であるかの設定を手作業で行う必要がなく、いわば記憶装置1が自動設定している。
(Effect of the first embodiment)
As described above, in the
従って、本実施形態によれば、接続されたUSB−DAC4に適したフォーマットのコンテンツファイル30を簡便に出力することの可能な記憶装置を実現することができる。
Therefore, according to the present embodiment, it is possible to realize a storage device capable of easily outputting the
(第2実施形態)
次に、図10は、DSDフォーマットによる楽曲データ再生時の、本発明の第2実施形態である記憶装置の機能構成を示す機能ブロック図である。なお、第1実施形態の記憶装置と同一の構成要素については同一の符号を付し、その説明を簡略化している。
(Second Embodiment)
Next, FIG. 10 is a functional block diagram showing a functional configuration of a storage device according to a second embodiment of the present invention when playing music data in the DSD format. The same components as those of the storage device of the first embodiment are designated by the same reference numerals, and the description thereof is simplified.
上述の第1実施形態の記憶装置では、DLNAガイドラインに沿って楽曲データであるコンテンツファイル30が再生され、このため、CDSによるコンテンツファイル30の管理が行われ、DLNAガイドラインに沿った楽曲データ再生のための各種メタデータもDB42内に格納されていた。
In the storage device of the first embodiment described above, the
一方、記憶装置1が備える入力インタフェース23aを用いてコンテンツファイル30を直接再生指示する態様であれば、DLNAガイドラインに沿った動作は必要なく、単純なファイル再生動作によりコンテンツファイル30をUSB−DAC4に出力することができる。このような動作を行うのが本実施形態の記憶装置1aである。
On the other hand, if the
本実施形態の記憶装置1aでは、ファイル再生動作を行うローカル再生部41aはHDD部26に直接アクセスし、HDD部26に格納されたコンテンツファイル30が入力指示部23bにより再生指示されると、このローカル再生部41aがコンテンツファイル30の再生動作を行う。ここに、HDD部26内にはCDSやメタデータが格納されている必要はないが、第1実施形態の記憶装置と択一的動作を行うのであれば、CDS等がHDD部26に格納されていてもよい。
In the
本実施形態のローカル再生部41aは、ローカル再生制御部44a、file src部45a、DSDパーサ部46、DSDデコーダ部47及びAlsa Sink部48を備えている。
The
ローカル再生制御部44aは、入力指示部23bからのコンテンツファイル30再生指示を受け、設定テーブル33を適宜参照しながら、file src部45、DSDパーサ部46、DSDデコーダ部47及びAlsa Sink部48に、以下に説明する動作指令行うとともにこれらの制御を行う。file src部45aは、入力指示部23bから再生指示のあったコンテンツファイル30をHDD部26から読み出し、後段であるDSDパーサ部46へこのコンテンツファイル30を出力する。
The local
従って、本実施形態によっても、上述の第1実施形態の記憶装置と同様に、接続されたUSB−DAC4に適したフォーマットのコンテンツファイル30を簡便に出力することの可能な記憶装置1aを実現することができる。
Therefore, the present embodiment also realizes the
(変形例)
本発明の記憶装置1は、その細部が上述の各実施形態に限定されず、種々の変形例が可能である。一例として、上述の第1、第2実施形態では、USB−DAC4のUSB IDとこのUSB−DAC4がDSD対応/非対応であるかを示す情報とが記述された設定テーブル33は記憶装置1に予め用意されていたが、新たなUSB−DAC4が販売され、あるいは、既に販売されているUSB−DAC4のDSD対応/非対応に関する情報が更新された場合、記憶装置1のデータ制御部59がWAN10上に存在する外部サーバ11に適宜アクセスして更新情報を取得し、設定テーブル33の内容を更新しても良い。あるいは、設定テーブル33そのものを外部サーバ11に置き、USB−DAC4が接続される度にデータ制御部59が外部サーバ11にある設定テーブル33を参照してもよい。
(Modification example)
The details of the
また、上述の各実施形態の記憶装置1において、通知部58がUSB−DAC4に対してフォーマットやサンプリングレートを通知した場合、USB−DAC4がこの通知に応答して自身の設定を変更する際、変更が完了するまでには一定の時間が必要となる。この場合において、データ制御部59が通知部58による通知の後直ちにUSB−DAC4にコンテンツファイル30を出力すると、USB−DAC4はこのコンテンツファイル30の再生準備ができないままコンテンツファイル30を受け入れることになり、結果としてコンテンツファイル30の先頭部分が再生されない(頭切れ)可能性がある。
Further, in the
そこで、データ制御部59は、設定変更を行うために必要とする時間以上の無音データを出力することで頭切れを防止する手法が考えられる。この、USB−DAC4が設定変更を行うために必要とする時間はUSB−DAC4毎に異なる可能性があるので、上述の設定テーブル33に、データ制御部59が出力する無音データの時間も記述し、データ制御部59は、コンテンツファイル30の再生時に設定テーブル33を参照して所定の無音データを出力してもよい。
Therefore, it is conceivable that the
さらに、上述の各実施形態では、データ制御部59は設定テーブル33に記述された情報に基づいてフォーマット変換を行っていたが、フォーマット変換の有無及びどのフォーマットに変換するかを設定テーブル33に基づいて行うか、あるいは、ユーザが直接指定できるかを切り替えられるようにしてもよい。いわば、フォーマット変換の自動モード及び手動モードを設け、いずれかに切替可能にしてもよい。
Further, in each of the above-described embodiments, the
また、上述した各実施形態における記憶装置1は入力指示部23bを備えていたが、記憶装置がディスプレイ部を備え、コンテンツファイル30に関する表示(例えば曲名)を行ってもよく、また、このディスプレイ部がタッチパネルを備え、このタッチパネルが本発明における入力部として機能する、すなわち、コンテンツファイル30の再生指示を受け入れてもよい。
Further, although the
また、本発明は、外部記憶装置に格納されたコンテンツデータの再生指示を受け入れ、受け入れた再生指示に基づいてコンテンツデータを外部再生機器に出力する再生処理装置にも適用可能である。 The present invention is also applicable to a reproduction processing device that accepts a reproduction instruction of content data stored in an external storage device and outputs the content data to an external reproduction device based on the accepted reproduction instruction.
そして、上述の各実施形態において、記憶装置1を動作させるプログラムはROM21、HDD部26等に格納されて提供されていたが、不図示の光学ディスクドライブ、USBインタフェース23c等を用いて、プログラムが格納されたDVD(Digital Versatile Disc)、USBフラッシュメモリ装置、メモリーカード等を接続し、このDVD等からプログラムを記憶装置1に読み込んで動作させてもよい。また、WAN10上の外部サーバ11内にプログラムを格納しておき、ネットワークインタフェース25を介してこのプログラムを記憶装置1に読み込んで動作させてもよい。さらに、上述の各実施形態において、記憶装置1は複数のハードウェア要素により構成されていたが、これらハードウェア要素の一部の動作をCPU20がプログラムの動作により実現することも可能である。加えて、上述の各実施形態ではHDD部26を用いていたが、HDD部26以外の記憶媒体、一例としてSSD(Solid State Drive)装置やメモリーカード等の周知の記憶媒体を用いることも可能である。
In each of the above-described embodiments, the program for operating the
S コンテンツ再生システム
1、1a 記憶装置
2 再生装置
3 通信装置
4 USB−DAC
20 CPU
21 ROM
22 RAM
23 入出力デバイス
25 ネットワークインタフェース
26 HDD部
30 コンテンツファイル
40 DMS部
41 DMR部
42 DB
43 DMC
44 DMR制御部
45 http src部
46 DSDパーサ部
47 DSDデコーダ部
48 Alsa Sink部
50 制御部
51 記憶部
52 操作入力部
53 再生出力部
54 通信部
55 入力部
56 再生部
57 取得部
58 通知部
59 データ制御部
61 格納部
S
20 CPU
21 ROM
22 RAM
23 Input /
43 DMC
44
Claims (6)
前記記憶装置は、前記外部再生機器の識別情報とこの外部再生機器が再生可能な前記コンテンツデータのデータ形式とが関連付けられたテーブルを備え、
前記再生部は、
前記入力部が前記再生指示を受け入れたら、前記コンテンツデータを前記外部再生機器に出力するに先立って、出力される前記コンテンツデータを前記外部再生機器が再生する際に必要な再生情報を通知する通知部と、
前記外部再生機器が前記記憶装置に接続された際にこの外部再生機器に特有な識別情報を取得し、前記テーブルを参照して、前記外部再生機器が再生可能な前記データ形式により前記コンテンツデータを前記外部再生機器に出力するデータ制御部と
を備えることを特徴とする記憶装置。 The storage unit in which the content data is stored, the input unit that accepts the playback instruction of the content data stored in the storage unit, and the content data are output to the external playback device based on the playback instruction received by the input unit. In a storage device equipped with a playback unit,
The storage device includes a table in which the identification information of the external playback device and the data format of the content data reproducible by the external playback device are associated with each other.
The playback unit
When the input unit accepts the reproduction instruction, a notification for notifying the reproduction information necessary for the external reproduction device to reproduce the output content data prior to outputting the content data to the external reproduction device. Department and
When the external playback device is connected to the storage device, identification information peculiar to the external playback device is acquired, and the content data is displayed in the data format reproducible by the external playback device with reference to the table. A storage device including a data control unit that outputs data to the external playback device.
前記再生部は、前記外部再生機器が前記入出力インタフェースに接続された際に前記入出力インタフェースが入手した前記外部再生機器のIDを前記識別情報として取得して前記テーブルに記述する取得部を備える
ことを特徴とする請求項1記載の記憶装置。 The storage device has an input / output interface based on the USB standard.
The reproduction unit includes an acquisition unit that acquires the ID of the external reproduction device obtained by the input / output interface when the external reproduction device is connected to the input / output interface as the identification information and describes it in the table. The storage device according to claim 1, wherein the storage device is characterized by the above.
前記データ制御部は、前記外部再生機器の前記識別情報に基づいて、DSD形式のまま、あるいはDoP(DSD over PCM)形式またはPCM(Pulse Code Modulation)形式に変換して、前記コンテンツデータを前記外部再生機器に送出する
ことを特徴とする請求項1または2記載の記憶装置。 The content data is stored in the storage unit in the DSD (Direct Stream Digital) format.
The data control unit converts the content data into the DSD format or the DoP (DSD over PCM) format or the PCM (Pulse Code Modulation) format based on the identification information of the external playback device. The storage device according to claim 1 or 2, wherein the data is sent to a playback device.
前記データ制御部は、前記外部再生機器が再生可能な前記データ形式に基づいていずれの論理ポートにより前記外部再生機器と接続するかを決定する
ことを特徴とする請求項3記載の記憶装置。 The storage device includes a PCM port and a DSD port as logical ports.
The storage device according to claim 3, wherein the data control unit determines which logical port is used to connect to the external playback device based on the data format that the external playback device can reproduce.
前記再生部が、
前記入力部が前記再生指示を受け入れたら、前記コンテンツデータを前記外部再生機器に出力するに先立って、出力される前記コンテンツデータを前記外部再生機器が再生する際に必要な再生情報を通知し、
前記外部再生機器が前記記憶装置に接続された際にこの外部再生機器に特有な識別情報を取得し、前記テーブルを参照して、前記外部再生機器が再生可能な前記データ形式により前記コンテンツデータを前記外部再生機器に出力する
ことを特徴とする記憶装置におけるデータ出力方法。 The storage unit in which the content data is stored, the input unit that accepts the playback instruction of the content data stored in the storage unit, and the content data are output to the external playback device based on the playback instruction received by the input unit. A data output method in a storage device including a playback unit and a table in which identification information of the external playback device and a data format of the content data reproducible by the external playback device are associated with each other.
The playback unit
When the input unit accepts the playback instruction, prior to outputting the content data to the external playback device, the output content data is notified of playback information necessary for the external playback device to play the output content data.
When the external playback device is connected to the storage device, identification information peculiar to the external playback device is acquired, and the content data is displayed in the data format reproducible by the external playback device with reference to the table. A data output method in a storage device, which comprises outputting to the external playback device.
このプログラムが前記コンピュータにより実行されると、このコンピュータの再生部を、
前記入力部が前記再生指示を受け入れたら、前記コンテンツデータを前記外部再生機器に出力するに先立って、出力される前記コンテンツデータを前記外部再生機器が再生する際に必要な再生情報を通知する通知部と、
前記外部再生機器が前記記憶装置に接続された際にこの外部再生機器に特有な識別情報を取得し、前記テーブルを参照して、前記外部再生機器が再生可能な前記データ形式により前記コンテンツデータを前記外部再生機器に出力するデータ制御部と
として機能させることを特徴とするプログラム。
The storage unit in which the content data is stored, the input unit that accepts the playback instruction of the content data stored in the storage unit, and the content data are output to the external playback device based on the playback instruction received by the input unit. A program executed by a computer including a playback unit and a table in which identification information of the external playback device and a data format of the content data reproducible by the external playback device are associated with each other.
When this program is executed by the computer, the playback unit of this computer is displayed.
When the input unit accepts the reproduction instruction, a notification for notifying the reproduction information necessary for the external reproduction device to reproduce the output content data prior to outputting the content data to the external reproduction device. Department and
When the external playback device is connected to the storage device, identification information peculiar to the external playback device is acquired, and the content data is displayed in the data format reproducible by the external playback device with reference to the table. A program characterized in that it functions as a data control unit that outputs to the external playback device.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2020160196A JP6951652B2 (en) | 2017-01-26 | 2020-09-24 | Storage device, data output method and program in the storage device |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2017012226A JP6773975B2 (en) | 2017-01-26 | 2017-01-26 | Storage device, data output method and program in the storage device |
JP2020160196A JP6951652B2 (en) | 2017-01-26 | 2020-09-24 | Storage device, data output method and program in the storage device |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2017012226A Division JP6773975B2 (en) | 2017-01-26 | 2017-01-26 | Storage device, data output method and program in the storage device |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2021005436A true JP2021005436A (en) | 2021-01-14 |
JP6951652B2 JP6951652B2 (en) | 2021-10-20 |
Family
ID=74099377
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2020160196A Active JP6951652B2 (en) | 2017-01-26 | 2020-09-24 | Storage device, data output method and program in the storage device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP6951652B2 (en) |
-
2020
- 2020-09-24 JP JP2020160196A patent/JP6951652B2/en active Active
Also Published As
Publication number | Publication date |
---|---|
JP6951652B2 (en) | 2021-10-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4772375B2 (en) | Electronic device and content management method | |
JP2008139423A (en) | Content reproduction system, reproducing device, reproduction switching method, and program | |
JP2020532807A (en) | Grouping in systems with multiple media playback protocols | |
CN108702388B (en) | Method and apparatus for using services linked to one electronic device by a plurality of electronic devices | |
USRE49766E1 (en) | Apparatus and method for interfacing between A/V system and portable device | |
JP5316537B2 (en) | Content reproduction system, content reproduction method, content reproduction apparatus, and server | |
JP2011045021A (en) | Transmission system, reproduction device, transmission method, and program | |
JP6773975B2 (en) | Storage device, data output method and program in the storage device | |
JP5248640B2 (en) | Electronics | |
JP5644472B2 (en) | Transfer device, client device, server device, playback device, and transfer method | |
KR102120337B1 (en) | Apparatus for playing dsd audio file with external devices and method thereof | |
JP6951652B2 (en) | Storage device, data output method and program in the storage device | |
WO2005107254A1 (en) | Content copy control device and content copy control method | |
JP2006031337A (en) | Contents download system, contents download method and program | |
JP6597472B2 (en) | Storage device, reproduction processing device, operation control method and program in storage device | |
JP2011160037A (en) | Volume control method and volume adjusting device | |
KR100743552B1 (en) | Integrated device having function of switching based on upnp protocol and storage medium recording the switching program | |
KR102128907B1 (en) | Apparatus for playing dsd audio file and method thereof | |
JP2006345306A (en) | Content distribution system and method therefor, as well as terminal device and content management method for terminal device | |
JP5034934B2 (en) | Playback apparatus, setting information setting method, computer program, and communication system | |
JP2014082545A (en) | Recording and reproducing apparatus and control method of the same | |
JP4438621B2 (en) | Server apparatus and audio reproduction system | |
JP4882741B2 (en) | Playback apparatus and playback method | |
JP2015207327A (en) | Content processing device, method, program and system | |
JP2008011429A (en) | Content processing method and content processing apparatus |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20201005 |
|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20201005 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20210712 |
|
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: 20210824 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20210906 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 6951652 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |