JP5025333B2 - Data processing apparatus, control program, and computer-readable recording medium - Google Patents

Data processing apparatus, control program, and computer-readable recording medium Download PDF

Info

Publication number
JP5025333B2
JP5025333B2 JP2007139781A JP2007139781A JP5025333B2 JP 5025333 B2 JP5025333 B2 JP 5025333B2 JP 2007139781 A JP2007139781 A JP 2007139781A JP 2007139781 A JP2007139781 A JP 2007139781A JP 5025333 B2 JP5025333 B2 JP 5025333B2
Authority
JP
Japan
Prior art keywords
information
file
database
identification information
folder
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 - Fee Related
Application number
JP2007139781A
Other languages
Japanese (ja)
Other versions
JP2008293383A (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.)
Alpine Electronics Inc
Original Assignee
Alpine Electronics Inc
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 Alpine Electronics Inc filed Critical Alpine Electronics Inc
Priority to JP2007139781A priority Critical patent/JP5025333B2/en
Publication of JP2008293383A publication Critical patent/JP2008293383A/en
Application granted granted Critical
Publication of JP5025333B2 publication Critical patent/JP5025333B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Description

本発明は、ユーザの期待に添った動作の実現が可能なデータ処理装置、制御プログラム及びコンピュータ読み取り可能な記録媒体に関する。   The present invention relates to a data processing apparatus, a control program, and a computer-readable recording medium that can realize an operation that meets user expectations.

車載用オーディオ装置は、CDやDVDに記憶されたデータを再生する機能に加えて、ポータブルメディアと接続し、そのメディアに記憶されたオーディオデータや映像データなどを再生する機能を備えている。こうしたポータブルメディアは、記憶容量が増加の一途をたどり、そこに格納されるオーディオデータ数が数千にもなることがある。このため、ポータブルメディア内のオーディオデータを検索するためにはオーディオデータのデータベース化が必要となる。   The in-vehicle audio apparatus has a function of reproducing audio data and video data stored in a medium connected to a portable medium in addition to a function of reproducing data stored in a CD or DVD. Such portable media continue to increase in storage capacity and can store thousands of audio data. For this reason, in order to search audio data in a portable medium, it is necessary to create a database of audio data.

ポータブルデバイスに記憶されたデータのデータベースに関し、複数の再生装置に分散されているコンテンツデータに関するデータベースを自動的に構築し、ある再生装置に保存されているコンテンツデータを他の再生装置が共用できるようにした情報処理装置が知られている(例えば、特許文献1参照)。   Concerning a database of data stored in a portable device, a database for content data distributed to a plurality of playback devices is automatically constructed so that other playback devices can share content data stored in a playback device. An information processing apparatus is known (for example, see Patent Document 1).

また、従来より、簡単な操作で、一番最後に再生されたオーディオデータが保存されているフォルダのオーディオデータから再生を開始するデータ再生装置が知られている(例えば、特許文献2参照)。   Conventionally, there has been known a data reproduction apparatus that starts reproduction from audio data in a folder in which audio data reproduced last is stored by a simple operation (see, for example, Patent Document 2).

一般に、オーディオデータ等を記憶するポータブルメディアは、ファイルシステムのみに提供されるため、車載用オーディオ装置は、ポータブルメディア内のファイルやフォルダを直接操作する必要がある。そのため、車載用オーディオ装置においてポータブルメディアに記憶されたオーディオデータの検索を実行しようとする場合には、事前にポータブルメディア内のファイルを一つずつ確認し、ポータブルデバイスのデータベースを構築・保持する必要がある。従来のデータベースの構築手順は、以下の通りである。   In general, portable media for storing audio data and the like are provided only in the file system, and thus the in-vehicle audio apparatus needs to directly operate files and folders in the portable media. Therefore, when searching for audio data stored in portable media in an in-vehicle audio device, it is necessary to check the files in the portable media one by one in advance and to build and maintain a database of portable devices There is. A conventional database construction procedure is as follows.

先ず、車載用オーディオ装置は、接続されたポータブルメディアのファイルシステムを解析し、フォルダおよび/またはファイル情報を収集する。次に、全てのファイル内のオーディオデータに含まれるタグ情報を収集し、これをデータベースに登録する。タグ情報には、オーディオデータを検索するための検索情報として利用可能なアーティスト名、アルバム名、曲名等の情報が含まれている。1つ1つのオーディオデータに含まれるタグ情報を読取ることにより、データベースが作成され、このデータベースに基づきポータブルメディアに記憶されたオーディオデータをディスプレイに表示し、ユーザは所望のオーディオデータを検索する。そして、ユーザにより選択されたオーディオデータをポータブルメディアから読み出し、車載用オーディオ装置において再生している。   First, the in-vehicle audio apparatus analyzes a file system of the connected portable media and collects folder and / or file information. Next, tag information included in the audio data in all files is collected and registered in the database. The tag information includes information such as artist name, album name, and song name that can be used as search information for searching audio data. By reading the tag information included in each piece of audio data, a database is created, and the audio data stored in the portable medium is displayed on the display based on the database, and the user searches for desired audio data. Then, the audio data selected by the user is read from the portable medium and reproduced on the in-vehicle audio apparatus.

また、車載用オーディオ装置の電源(ACC)がオフからオンになったときには、接続されたポータブルメディアが電源オフ前のものと同一であっても、それに格納されているオーディオデータが電源オフ後に変更されている可能性があるため、データベースを再構築する必要がある。   In addition, when the power (ACC) of the in-vehicle audio device is turned on from off, even if the connected portable media is the same as that before the power is turned off, the stored audio data is changed after the power is turned off. The database needs to be rebuilt.

さらに、車載用オーディオ装置は、電源をオフする際に再生しているオーディオデータ(以下、これをラストオーディオデータという)に再びアクセスするためのアクセス情報(フォルダ、ファイル名等を含むパス情報)をPPM(Play Position Memory)情報として記憶する。その後、電源がオンされた際に、車載用オーディオ装置は、PPM情報に従って、ラストオーディオデータにアクセスし、再生を開始する。
特開2003−132063号公報 特開2002−269915号公報
Furthermore, the in-vehicle audio apparatus provides access information (path information including a folder, a file name, etc.) for accessing again the audio data being reproduced when the power is turned off (hereinafter referred to as “last audio data”). Stored as PPM (Play Position Memory) information. Thereafter, when the power is turned on, the in-vehicle audio apparatus accesses the last audio data according to the PPM information and starts reproduction.
JP 2003-132063 A JP 2002-269915 A

車載用オーディオ装置は、データベースの再構築時に、ファイルシステムを介してポータブルメディアを検索して見つかった順にファイルをデータベースに登録している。   The in-vehicle audio device registers the files in the database in the order in which they are found by searching the portable media via the file system when the database is reconstructed.

また、車載用オーディオ装置は、データベースの再構築と並行して、PPM情報に従ったラストオーディオデータの再生を実行する。   In addition, the in-vehicle audio apparatus executes the reproduction of the last audio data according to the PPM information in parallel with the reconstruction of the database.

しかしながら、データベースの再構築が始まってすぐに、ユーザが、ラストオーディオデータの再生から、ラストオーディオデータと同一のフォルダ内にあるオーディオデータの再生に切り替える操作を行うと、その時点でデータベースに登録されているオーディオデータから切り替え先のオーディオデータを選択するため、即ちデータベースの再構築が完了していないため、ラストオーディオデータとは何の関連も無いオーディオデータに切り替わってしまう場合がある。これは、ユーザが再生対象のオーディオデータの切り替え操作を行った時点で、ラストオーディオデータと所定の関連性を持つ(即ち同一のフォルダ内にある)オーディオデータがデータベースに未登録である場合に発生する。   However, as soon as the database is reconstructed, if the user switches from playing the last audio data to playing the audio data in the same folder as the last audio data, the user is registered in the database at that time. Since the audio data to be switched is selected from the existing audio data, that is, the database is not reconstructed, the audio data may be switched to audio data that has nothing to do with the last audio data. This occurs when audio data having a predetermined relationship with the last audio data (that is, in the same folder) is not registered in the database at the time when the user switches the audio data to be played back. To do.

本発明は、上記課題に鑑みてなされたものであり、その目的は、データベースの再構築直後に、アクセス情報に対応するファイルと同一の階層にあるファイルの再生を開始しようとするユーザの期待に添った動作の実現が可能なデータ処理装置、制御プログラム及びコンピュータ読み取り可能な記録媒体を提供することにある。   The present invention has been made in view of the above problems, and its purpose is to meet the expectation of a user who wants to start playback of a file in the same hierarchy as the file corresponding to the access information immediately after the reconstruction of the database. It is an object of the present invention to provide a data processing device, a control program, and a computer-readable recording medium that can realize the operation according to the operation.

上記目的を達成するため、本発明のデータ処理装置は、識別情報を含む外部メディアに記憶されたファイル及びフォルダの階層構造に従って、データベースを作成する作成手段と、前記識別情報、前記作成手段により作成されたデータベース、及び電源をオフする際に再生しているファイルにアクセスするためのアクセス情報を保存する保存手段と、前記電源のオン時に、前記外部メディアに含まれる識別情報と前記保存手段に保存される識別情報とが同一であるか否かを判別する判別手段と、前記外部メディアに含まれる識別情報と前記保存手段に保存される識別情報とが同一であると判別された場合に、前記アクセス情報に対応するファイルと同一の階層にあるファイルの情報及びフォルダの情報を前記データベースに最初に登録し、当該データベースを再構築する再構築手段とを備えることを特徴とする。   In order to achieve the above object, the data processing apparatus of the present invention creates a database according to a hierarchical structure of files and folders stored in an external medium including identification information, and creates the identification information and the creation means. And storing means for storing access information for accessing a file being reproduced when the power is turned off, and storing the identification information included in the external medium and the storing means when the power is turned on The determination means for determining whether the identification information is the same, and the identification information included in the external medium and the identification information stored in the storage means are determined to be the same, Information on files and folders in the same hierarchy as the file corresponding to the access information is first registered in the database, Characterized in that it comprises a reconstruction means for reconstructing the database.

かかる構成によれば、データベースの再構築直後に、アクセス情報に対応するファイルと同一の階層にあるファイルの再生を開始しようとするユーザの期待に添った動作の実現が可能である。   According to such a configuration, it is possible to realize an operation that meets the user's expectation to start playing a file in the same hierarchy as the file corresponding to the access information immediately after the database is reconstructed.

好ましくは、前記再構築手段は、前記アクセス情報に対応するコンテンツと同一の階層にあるコンテンツの情報を前記データベースに登録した後、前記外部メディアの最上位階層から順番に、各階層に含まれるコンテンツの情報を前記データベースに登録することを特徴とする。   Preferably, the reconstructing unit registers content information in the same layer as the content corresponding to the access information in the database, and then includes the content included in each layer in order from the highest layer of the external media. This information is registered in the database.

かかる構成によれば、データベースの再構築直後に、アクセス情報に対応するファイルと同一の階層にあるファイルの再生を開始し、続けて外部メディアの最上位階層に含まれるファイルの再生を実行しようとするユーザの期待に添った動作の実現が可能である。   According to such a configuration, immediately after the database is reconstructed, playback of the file in the same hierarchy as the file corresponding to the access information is started, and subsequently, playback of the file included in the highest hierarchy of the external medium is attempted. It is possible to realize an operation that meets the user's expectation.

好ましくは、前記再構築手段は、前記アクセス情報に対応するコンテンツと同一の階層にあるコンテンツの情報を前記データベースに登録した後、前記アクセス情報に対応するコンテンツを含む階層に隣接する階層に含まれるコンテンツの情報を前記データベースに登録することを特徴とする。   Preferably, the reconstructing means is included in a layer adjacent to a layer including the content corresponding to the access information after registering content information in the same layer as the content corresponding to the access information in the database. Content information is registered in the database.

かかる構成によれば、データベースの再構築直後に、アクセス情報に対応するファイルと同一の階層にあるファイルの再生を開始し、続けてアクセス情報に対応するファイルを含む階層に隣接する階層に含まれるファイルの再生を実行しようとするユーザの期待に添った動作の実現が可能である。   According to such a configuration, immediately after the database is reconstructed, playback of the file in the same hierarchy as the file corresponding to the access information is started, and subsequently included in the hierarchy adjacent to the hierarchy including the file corresponding to the access information. It is possible to realize an operation in accordance with the expectation of the user who intends to execute file reproduction.

より好ましくは、前記ファイルの情報は、ファイルパス、又はファイルパス及びファイルに含まれるタグ情報であり、前記フォルダの情報はフォルダ名であることを特徴とする。   More preferably, the file information is a file path or tag information included in the file path and the file, and the folder information is a folder name.

かかる構成によれば、データのファイルパス、当該ファイルに含まれるタグ情報、及びフォルダ名を含むデータベースを再構築することができる。   According to such a configuration, a database including a file path of data, tag information included in the file, and a folder name can be reconstructed.

より好ましくは、前記ファイルは、楽曲ファイル、静止画像ファイル、又は動画像ファイルのいずれか1つであることを特徴とする。   More preferably, the file is any one of a music file, a still image file, and a moving image file.

かかる構成によれば、データベースの再構築直後に、アクセス情報に対応する楽曲ファイル、静止画像ファイル、又は動画像ファイルのいずれか1つと同一の階層にある楽曲ファイル、静止画像ファイル、又は動画像ファイルのいずれか1つの再生を開始しようとするユーザの期待に添った動作の実現が可能である。   According to such a configuration, immediately after the database is reconstructed, a music file, a still image file, or a moving image file in the same hierarchy as any one of the music file, the still image file, or the moving image file corresponding to the access information It is possible to realize an operation in accordance with the expectation of the user who intends to start reproduction of any one of the above.

本発明の制御プログラムは、コンピュータを、識別情報を含む外部メディアに記憶されたファイル及びフォルダの階層構造に従って、データベースを作成する作成手段、前記識別情報、前記作成手段により作成されたデータベース、及び電源をオフする際に再生しているファイルにアクセスするためのアクセス情報を保存する保存手段、前記電源のオン時に、前記外部メディアに含まれる識別情報と前記保存手段に保存される識別情報とが同一であるか否かを判別する判別手段、及び前記外部メディアに含まれる識別情報と前記保存手段に保存される識別情報とが同一であると判別された場合に、前記アクセス情報に対応するファイルと同一のフォルダに含まれるファイルの情報及び前記アクセス情報に対応するファイルと同一の階層にあるフォルダの情報を前記データベースに最初に登録し、当該データベースを再構築する再構築手段として機能させることを特徴とする。   The control program of the present invention includes a creation unit that creates a database according to a hierarchical structure of files and folders stored in an external medium including identification information, the identification information, a database created by the creation unit, and a power source. Storage means for storing access information for accessing a file being played when turning off, identification information included in the external medium and identification information stored in the storage means when the power is turned on And a file corresponding to the access information when the identification information included in the external medium and the identification information stored in the storage unit are determined to be the same. Information on files contained in the same folder and on the same level as the file corresponding to the access information First registered information of folders in the database, characterized in that to function as reconstruction means for reconstructing the database.

かかる構成によれば、データベースの再構築直後に、アクセス情報に対応するファイルと同一の階層にあるファイルの再生を開始しようとするユーザの期待に添った動作の実現が可能である。   According to such a configuration, it is possible to realize an operation that meets the user's expectation to start playing a file in the same hierarchy as the file corresponding to the access information immediately after the database is reconstructed.

本発明のコンピュータ読み取り可能な記録媒体は、コンピュータを、識別情報を含む外部メディアに記憶されたファイル及びフォルダの階層構造に従って、データベースを作成する作成手段、前記識別情報、前記作成手段により作成されたデータベース、及び電源をオフする際に再生しているファイルにアクセスするためのアクセス情報を保存する保存手段、前記電源のオン時に、前記外部メディアに含まれる識別情報と前記保存手段に保存される識別情報とが同一であるか否かを判別する判別手段、及び前記外部メディアに含まれる識別情報と前記保存手段に保存される識別情報とが同一であると判別された場合に、前記アクセス情報に対応するファイルと同一のフォルダに含まれるファイルの情報及び前記アクセス情報に対応するファイルと同一の階層にあるフォルダの情報を前記データベースに最初に登録し、当該データベースを再構築する再構築手段として機能させるためのプログラムを記録したことを特徴とする。   The computer-readable recording medium of the present invention is created by a creation means for creating a database according to a hierarchical structure of files and folders stored in an external medium including identification information, the identification information, and the creation means. Storage means for storing access information for accessing a database and a file being played when the power is turned off, identification information included in the external medium and an identification stored in the storage means when the power is turned on Determining means for determining whether or not the information is the same, and when it is determined that the identification information included in the external medium and the identification information stored in the storage means are the same, the access information Information on files contained in the same folder as the corresponding file and files corresponding to the access information First registers information folder in the same hierarchy in the database and, characterized by recording a program for functioning as a reconstruction means for reconstructing the database.

かかる構成によれば、データベースの再構築直後に、アクセス情報に対応するファイルと同一の階層にあるファイルの再生を開始しようとするユーザの期待に添った動作の実現が可能である。   According to such a configuration, it is possible to realize an operation that meets the user's expectation to start playing a file in the same hierarchy as the file corresponding to the access information immediately after the database is reconstructed.

本発明によれば、データベースの再構築直後に、アクセス情報に対応するファイルと同一の階層にあるファイルの再生を開始しようとするユーザの期待に添った動作の実現が可能である。   According to the present invention, it is possible to realize an operation that meets the user's expectation to start playing a file in the same hierarchy as the file corresponding to the access information immediately after the database is reconstructed.

以下、図面を参照しながら本発明の実施の形態を説明する。   Hereinafter, embodiments of the present invention will be described with reference to the drawings.

本実施の形態では、データ処理装置の好ましい一例として車載用オーディオ再生装置を用いる。車載用オーディオ再生装置は、ポータブルメディアを接続し、そこに記憶された楽曲データを再生する機能を備える。ポータブルメディアは、半導体メモリ、CDやDVD等のディスクドライブ装置、ハードディスクドライブ装置その他の記憶媒体を含むデバイスであり、車載用オーディオ再生装置において再生可能な楽曲データを格納するものであればよい。   In the present embodiment, an in-vehicle audio playback device is used as a preferred example of the data processing device. The in-vehicle audio playback apparatus has a function of connecting a portable medium and playing back music data stored therein. The portable medium is a device including a semiconductor memory, a disk drive device such as a CD and a DVD, a hard disk drive device, and other storage media, and may be any device that stores music data that can be played back by an in-vehicle audio playback device.

楽曲データの格納形式は、MP3やWMAのようなフォーマットで圧縮されたものであってもよい。また、ポータブルメディアは、それ自身が再生機能を持たず、楽曲データのみを記憶し、それを提供するものであってもよいし、それ自身が楽曲データを再生する機能を備えるものであってもよい。   The music data storage format may be compressed in a format such as MP3 or WMA. In addition, the portable media itself may not have a playback function, but may store and provide only music data, or may have a function of playing music data by itself. Good.

さらに、ポータブルメディアは、それ自身が楽曲ファイルのデータベースを備えているものであっても良いが、そのような場合には、車載用オーディオ再生装置のフォーマットにてデータベースが作成される。以下の説明では、ポータブルメディアとしてUSB端子をもつUSBメモリを用い、USBメモリが車載用オーディオ再生装置に接続されるものとする。   Further, the portable media itself may be provided with a music file database. In such a case, the database is created in the format of the in-vehicle audio playback device. In the following description, it is assumed that a USB memory having a USB terminal is used as a portable medium, and the USB memory is connected to an in-vehicle audio playback device.

図1は、本発明の実施の形態に係る車載用オーディオ再生装置の構成を示すブロック図である。本実施の形態に係る車載用オーディオ再生装置10は、複数のUSBメモリA〜C30(以下、USBメモリA〜CをまとめてUSBメモリ30という)を接続するためのUSBコネクタ12、USBコネクタ12と接続されたUSBインターフェース(I/F)14、USBメモリ30から読取られたディジタルオーディオ信号をアナログオーディオ信号に変換するディジタル/オーディオコンバータ(DAC)16、アナログオーディオ信号を増幅するアンプ18、増幅されたオーディオ信号を可聴音に変換するスピーカ20、不図示のタッチパネルやリモートコントローラ等を含みユーザからの入力を受け取る入力部22、USBメモリ30の楽曲ファイルに関するデータベース等を表示する表示部24、USBメモリ30から読取ったデータやデータベースを一時格納するメモリ26(保存手段)、および各部を制御するマイクロコントローラ28(作成手段、判別手段、再構築手段)を含んでいる。メモリ26は、例えば、ハードディスクや不揮発性メモリ等で構成されている。マイクロコントローラ28は、CPU、RAM、ROM等を備えている。入力部22は、各種の操作ボタン等を備えている。   FIG. 1 is a block diagram showing the configuration of an in-vehicle audio playback apparatus according to an embodiment of the present invention. The in-vehicle audio playback apparatus 10 according to the present embodiment includes a USB connector 12 for connecting a plurality of USB memories A to C30 (hereinafter, USB memories A to C are collectively referred to as USB memory 30), Connected USB interface (I / F) 14, digital / audio converter (DAC) 16 that converts a digital audio signal read from USB memory 30 into an analog audio signal, amplifier 18 that amplifies the analog audio signal, amplified A speaker 20 that converts an audio signal into audible sound, an input unit 22 that includes a touch panel, a remote controller (not shown), etc., that receives input from the user, a display unit 24 that displays a database related to music files in the USB memory 30, and the USB memory 30 Read from Memory 26 for storing data and database-temporary (storage means), and a microcontroller 28 for controlling each (creating means, determining means, reconstruction means) contains. The memory 26 is composed of, for example, a hard disk or a non-volatile memory. The microcontroller 28 includes a CPU, RAM, ROM and the like. The input unit 22 includes various operation buttons and the like.

マイクロコントローラ28は、内部のRAM/ROMに格納されたプログラムに従い、USBメモリ30が接続されると、USBメモリ30の接続を認識し、それに応じてUSBメモリ30に格納された楽曲ファイルに関するデータベースを自動的に作成する機能を備える。作成されたデータベースの内容は、表示部24に表示され、ユーザのデータ検索に即座に供されるようになっている。   The microcontroller 28 recognizes the connection of the USB memory 30 when the USB memory 30 is connected in accordance with a program stored in the internal RAM / ROM, and stores a database relating to the music file stored in the USB memory 30 accordingly. It has a function to create automatically. The contents of the created database are displayed on the display unit 24 and are immediately used for user data retrieval.

図2(A)はUSBメモリ30のデータ構造の一例を示す図であり、図2(B)は楽曲ファイルのデータ構造の一例を示す図であり、図2(C)はメモリ26のデータ構造の一例を示す図である。   2A is a diagram showing an example of the data structure of the USB memory 30, FIG. 2B is a diagram showing an example of the data structure of the music file, and FIG. 2C is a data structure of the memory 26. It is a figure which shows an example.

図2(A)に示すように、USBメモリ30は、固有の識別情報(ID)及び楽曲ファイルを格納する。USBメモリ30に含まれる識別情報は、USBメモリ30が車載用オーディオ再生装置10に接続されたとき及び車載用オーディオ再生装置10の電源のオン/オフ時にマイクロコントローラ28により読み出される。   As shown in FIG. 2A, the USB memory 30 stores unique identification information (ID) and a music file. The identification information included in the USB memory 30 is read by the microcontroller 28 when the USB memory 30 is connected to the in-vehicle audio playback device 10 and when the power of the in-vehicle audio playback device 10 is turned on / off.

図2(B)に示すように、楽曲ファイルは、楽曲情報(即ちタグ情報)と楽曲データとで構成されている。楽曲情報は、楽曲データに関する情報として、アーティスト名、アルバム名、タイトル名を含むが、さらにジャンル名、演奏時間等を含んでいてもよい。また、楽曲情報は、データベースで所望の楽曲ファイルを検索する際のタグ情報として機能する。   As shown in FIG. 2B, the music file is composed of music information (that is, tag information) and music data. The music information includes an artist name, an album name, and a title name as information on music data, but may further include a genre name, performance time, and the like. The music information functions as tag information when searching for a desired music file in the database.

図2(C)に示すように、メモリ26は、USBメモリ30から読み出した識別情報(ID)、USBメモリ30に記憶された楽曲ファイルに関するデータベース、PPM(Play Position Memory)情報、及び制御プログラム等を格納する。データベースは、後述するように。USBメモリ30が接続されたときにマイクロコントローラ28により作成される。PPM情報は、電源をオフする際に再生している楽曲ファイル(以下、これをラスト楽曲ファイルという)に再びアクセスするためのアクセス情報(フォルダ名、ファイル名等を含むパス情報)である。   As shown in FIG. 2C, the memory 26 includes identification information (ID) read from the USB memory 30, a database relating to music files stored in the USB memory 30, PPM (Play Position Memory) information, a control program, and the like. Is stored. The database will be described later. Created by the microcontroller 28 when the USB memory 30 is connected. The PPM information is access information (path information including a folder name, a file name, and the like) for accessing again a music file being reproduced when the power is turned off (hereinafter referred to as the last music file).

次に、車載用オーディオ再生装置10における楽曲ファイルの再生方法について説明する。図3は、楽曲ファイルの再生方法を示すフローチャートである。   Next, a music file playback method in the in-vehicle audio playback device 10 will be described. FIG. 3 is a flowchart showing a method of reproducing a music file.

まず、車載用オーディオ再生装置10の電源がオンの状態で、楽曲ファイルが記憶されたUSBメモリ30が接続されると、マイクロコントローラ28は、USBメモリ30の接続を認識し(ステップS101)、USBメモリ30に記憶された楽曲ファイルに関するデータベースを作成する(ステップS102)。データベースの詳細な作成については後述する。マイクロコントローラ28は、作成されたデータベースをメモリ26に格納し、このデータベースの内容を表示部24に表示する(ステップS103)。表示の態様は、特に制限はないが、データベースに含まれる必要な項目を階層的に例えば50音順で表示する。また、スクロール機能を用いて複数の項目が同時に表示されるようにしてもよい。   First, when the in-vehicle audio playback device 10 is turned on and the USB memory 30 storing the music file is connected, the microcontroller 28 recognizes the connection of the USB memory 30 (step S101) and the USB. A database relating to the music file stored in the memory 30 is created (step S102). Detailed creation of the database will be described later. The microcontroller 28 stores the created database in the memory 26 and displays the contents of this database on the display unit 24 (step S103). The display mode is not particularly limited, but necessary items included in the database are displayed hierarchically, for example, in the order of 50 notes. A plurality of items may be displayed simultaneously using a scroll function.

入力部22を介してキーワード又は階層的な絞込み検索の指示が入力されると、マイクロコントローラ28は、データベースの検索を実行し(ステップS104)、表示部24は検索結果を表示する(ステップS105)。   When a keyword or hierarchical search instruction is input via the input unit 22, the microcontroller 28 executes a database search (step S104), and the display unit 24 displays the search result (step S105). .

次いで、入力部22を介して検索結果に含まれる楽曲ファイルが選択されると(ステップS106)、マイクロコントローラ28は、データベースに基づき該当する楽曲ファイルをUSBメモリ30から読み出し(ステップS107)、 DAC16、アンプ18及びスピーカ20を利用して、読み出した楽曲ファイルを再生する(ステップS108)。   Next, when a music file included in the search result is selected via the input unit 22 (step S106), the microcontroller 28 reads out the corresponding music file from the USB memory 30 based on the database (step S107), the DAC 16, The read music file is reproduced using the amplifier 18 and the speaker 20 (step S108).

次に、マイクロコントローラ28は、入力部22を介して車載用オーディオ再生装置10の電源をオフにする指示が入力されたか否かを判別する(ステップS109)。ステップS109でNOの場合には、ステップS104に戻る。   Next, the microcontroller 28 determines whether or not an instruction to turn off the power of the in-vehicle audio playback device 10 is input via the input unit 22 (step S109). If NO in step S109, the process returns to step S104.

ステップS109でYESの場合には、マイクロコントローラ28は、PPM情報をメモリ26に格納し(ステップS110)、本処理を終了する。   In the case of YES in step S109, the microcontroller 28 stores the PPM information in the memory 26 (step S110), and ends this process.

尚、車載用オーディオ再生装置10に対して、複数のUSBメモリ30が接続された場合には、それらのすべてのUSBメモリ30に対して順に解析が実行され、データベースが作成される。   When a plurality of USB memories 30 are connected to the in-vehicle audio playback device 10, the analysis is sequentially performed on all the USB memories 30 to create a database.

次に、データベースの作成について図4〜図6を参照して説明する。図4は、USBメモリに記憶される楽曲ファイルのファイルシステムを示す図であり、図5は、楽曲ファイルに含まれるタグ情報の一例を示す図であり、図6は、データベースの作成処理を示すフローチャートである。   Next, database creation will be described with reference to FIGS. 4 is a diagram showing a file system of music files stored in the USB memory, FIG. 5 is a diagram showing an example of tag information included in the music files, and FIG. 6 is a database creation process. It is a flowchart.

一般に、多くのファイルを格納し、それらのファイル管理を効率良くするために、ファイルは、階層構造またはツリー構造で記憶される。ファイルシステムは、メモリ26に保存された制御プログラムに従ったマイクロコントローラ28により実現される。   In general, in order to store many files and manage their files efficiently, the files are stored in a hierarchical structure or a tree structure. The file system is realized by a microcontroller 28 according to a control program stored in the memory 26.

例えば、ファイルシステムでは、図4に示すように、ルートの直下の第1層に「Folder A」(フォルダ)及び「a001.mp3〜a100.mp3」(楽曲ファイル)を有し、「Folder A」の下層である第2層に「Folder B」(フォルダ)及び楽曲ファイル(「b001.mp3〜b050.mp3」)を有し、「Folder B」の下層である第3層に「Folder C」(フォルダ)及び楽曲ファイル(「c001.mp3〜c003.mp3」)を有し、「Folder C」の下層である第4層に楽曲ファイル(「d001.mp3〜d003.mp3」)を有する。これらの楽曲ファイルに含まれるタグ情報の一例を図5に示す。   For example, as shown in FIG. 4, the file system has “Folder A” (folder) and “a001.mp3 to a100.mp3” (music file) in the first layer immediately below the root, and “Folder A”. “Folder B” (folder) and music files (“b001.mp3 to b050.mp3”) are stored in the second layer, which is the lower layer of “Folder B”, and “Folder C” ( Folder) and music files ("c001.mp3 to c003.mp3"), and music files ("d001.mp3 to d003.mp3") in the fourth layer, which is a lower layer of "Folder C". An example of tag information included in these music files is shown in FIG.

このようなファイルシステムに従って楽曲データがUSBメモリ30に格納されている場合、データベースの作成は、図6に従って、次のようにして行われる。マイクロコントローラ28は、接続されたUSBメモリ30のファイルシステムを解析し(ステップS201)、階層構造を構成するフォルダおよび楽曲ファイルの情報を収集する(ステップS202)。このとき、USBメモリ30のルートから各階層のフォルダ又は楽曲ファイルまでのパス、フォルダ名等の情報が収集され、さらに楽曲ファイルのタグ情報が収集される。尚、マイクロコントローラ28は、楽曲ファイルのパスからフォルダ名やファイル名を抽出することもできる。   When the music data is stored in the USB memory 30 according to such a file system, the database is created as follows according to FIG. The microcontroller 28 analyzes the file system of the connected USB memory 30 (step S201), and collects information on folders and music files constituting the hierarchical structure (step S202). At this time, information such as the path and folder name from the root of the USB memory 30 to the folder or music file of each layer is collected, and tag information of the music file is further collected. The microcontroller 28 can also extract the folder name and file name from the music file path.

例えば、USBメモリ30が図4に示すようなファイルシステムの状態であるとき、マイクロコントローラ28は、ルートからたどり最上位の第1層である「Folder A」(フォルダ)及び「a001.mp3〜a100.mp3」(楽曲ファイル)の名称を抽出する。次に、マイクロコントローラ28は、第2層の「Folder B」(フォルダ)及び「b001.mp3〜b050.mp3」(楽曲ファイル)の名称を抽出する。このように、マイクロコントローラ28は、最上位の階層(第1層)から最下位の階層(第4層)に向けて、ファイルシステムの階層毎にフォルダ名及び楽曲ファイルのパスを抽出する。また、マイクロコントローラ28は、各楽曲ファイルからアーティスト名、アルバム名、及びタイトル名等のタグ情報を抽出する。   For example, when the USB memory 30 is in the state of the file system as shown in FIG. 4, the microcontroller 28 follows the root from the highest layer “Folder A” (folder) and “a001.mp3 to a100”. Extract the name of “.mp3” (music file). Next, the microcontroller 28 extracts the names of “Folder B” (folder) and “b001.mp3 to b050.mp3” (music file) in the second layer. Thus, the microcontroller 28 extracts the folder name and the music file path for each layer of the file system from the highest layer (first layer) to the lowest layer (fourth layer). Further, the microcontroller 28 extracts tag information such as an artist name, an album name, and a title name from each music file.

次に、マイクロコントローラ28は、収集したフォルダの名称、楽曲ファイルの名称、及び楽曲ファイルのタグ情報をメモリ26内のデータベースに登録する(ステップS203)。データベースは、USBメモリのファイルシステムを反映するものであり、例えば図4に示すファイルシステムであれば、図7に示すような内容となる。データベースは、識別(ID)情報、ファイルパス、第1〜第4の階層及びタグ情報の項目を有し、各項目内の情報は、USBメモリ30の階層構造と、その階層構造に含まれるフォルダ名及びファイル名と、各楽曲ファイルとから抽出される。第1〜第3の階層には、フォルダ名が割り当てられている。   Next, the microcontroller 28 registers the collected folder name, music file name, and music file tag information in the database in the memory 26 (step S203). The database reflects the file system of the USB memory. For example, the file system shown in FIG. 4 has the contents shown in FIG. The database has items of identification (ID) information, file path, first to fourth layers, and tag information. Information in each item includes a hierarchical structure of the USB memory 30 and folders included in the hierarchical structure. Name and file name and each music file. Folder names are assigned to the first to third hierarchies.

マイクロコントローラ28は、USBメモリ30内のすべてのファイルを登録するまでフォルダ名、ファイル名、及びタグ情報の収集を継続し、データベースを完成し(ステップS204、ステップS205)、本処理を終了する。   The microcontroller 28 continues to collect the folder name, file name, and tag information until all files in the USB memory 30 are registered, completes the database (steps S204 and S205), and ends this process.

図8は、データベースの再構築の処理を示すフローチャートである。ここでは、車載用オーディオ再生装置10の電源がオフの状態であることを前提とする。   FIG. 8 is a flowchart showing a database restructuring process. Here, it is assumed that the power source of the in-vehicle audio playback device 10 is off.

まず、マイクロコントローラ28は、入力部22を介して車載用オーディオ再生装置10の電源をオンにする指示が入力されたか否かを判別する(ステップS301)。   First, the microcontroller 28 determines whether or not an instruction to turn on the power of the in-vehicle audio playback device 10 is input via the input unit 22 (step S301).

ステップS301でNOの場合には、本処理を終了する。一方、ステップS301でYESの場合には、マイクロコントローラ28は、USBメモリ30から識別情報を読み出し(ステップS302)、ステップS302で読み出された識別情報とメモリ26に保存されたデータベースに対応する識別情報が同一であるか否かを判別する(ステップS303)。ここでは、マイクロコントローラ28が、車載用オーディオ再生装置10の電源のオフ時に接続されていたUSBメモリと車載用オーディオ再生装置10の電源のオン時に接続されているUSBメモリとが同一であるかを判断している。   If NO in step S301, this process ends. On the other hand, if YES in step S301, the microcontroller 28 reads the identification information from the USB memory 30 (step S302), and the identification information read in step S302 and the identification corresponding to the database stored in the memory 26. It is determined whether or not the information is the same (step S303). Here, the microcontroller 28 determines whether the USB memory connected when the in-vehicle audio playback device 10 is turned off and the USB memory connected when the in-vehicle audio playback device 10 is turned on are the same. Deciding.

ステップS303でNOの場合、即ち、読み出された識別情報とメモリ26に保存されたデータベースに対応する識別情報が異なる場合は、マイクロコントローラ28は、図6のデータベース作成処理を実行する。   If NO in step S303, that is, if the read identification information is different from the identification information corresponding to the database stored in the memory 26, the microcontroller 28 executes the database creation process of FIG.

一方、ステップS303でYESの場合、即ち、読み出された識別情報とメモリ26に保存されたデータベースに対応する識別情報が同一の場合は、マイクロコントローラ28は、メモリ26に保存されているPPM情報に従って、ラスト楽曲ファイルの再生を実行し、同時にデータベースの再構築を実行して(ステップS304)、図2のステップS104に進む。ここでは、PPM情報は、図7のデータベースのID155に対応する「C:/Folder A/Folder B/c002.mp3」であるとする。   On the other hand, if YES in step S303, that is, if the read identification information and the identification information corresponding to the database stored in the memory 26 are the same, the microcontroller 28 stores the PPM information stored in the memory 26. Accordingly, the reproduction of the last music file is executed, and at the same time, the database is reconstructed (step S304), and the process proceeds to step S104 in FIG. Here, it is assumed that the PPM information is “C: / Folder A / Folder B / c002.mp3” corresponding to the database ID 155 of FIG.

データベースの作成は、上述したように、マイクロコントローラ28が、最上位の階層(第1層)から最下位の階層(第4層)に向けて、ファイルシステムの階層毎にフォルダ名、楽曲ファイル名及びタグ情報を抽出することによって実行される。   As described above, the database is created by the microcontroller 28 from the highest layer (first layer) to the lowest layer (fourth layer), folder name and music file name for each layer of the file system. And by extracting tag information.

しかしながら、上記ステップS304のデータベースの再構築の開始直後に、入力部22を介して、ラスト楽曲ファイルの再生から、ラスト楽曲ファイル(「C:/Folder A/Folder B/c002.mp3」)と同一のフォルダ内にある楽曲ファイルの再生への切り替え指示が入力されると、当該切り換え先の楽曲ファイルに関するデータベースの再構築が完了していないため、切り換え先の楽曲ファイルと関連のない楽曲ファイルに切り替わる、又はデータベースの再構築が完了するまで、処理が中断する。   However, immediately after starting the reconstruction of the database in step S304, the same as the last music file ("C: / Folder A / Folder B / c002.mp3") is obtained from the reproduction of the last music file via the input unit 22. If a switching instruction to play a music file in the folder is input, the database for the switching destination music file has not been rebuilt, so the music file is switched to a music file that is not related to the switching destination music file. Or until the database rebuilding is complete.

そこで、ステップS304のデータベースの再構築では、マイクロコントローラ28は、PPM情報に対応する楽曲データ(「C:/Folder A/Folder B/c002.mp3」)と同一の階層に含まれる楽曲ファイルのパス、楽曲ファイルのタグ情報、及びフォルダ名を最初にデータベースに登録する(ステップS304a)。その後、マイクロコントローラ28は、ファイルシステムがフォルダ名又は楽曲ファイルのパスを検出した順番に従って、当該フォルダ名、楽曲データのパス及び楽曲データのタグ情報をデータベースに登録する、即ち、最上位の階層(第1層)から最下位の階層(第4層)に向けて、ファイルシステムの階層毎にフォルダ名、楽曲データのパス及び楽曲データのタグ情報をデータベースに登録する(ステップS304b)。ステップS304a,S304bに従って、フォルダ名、楽曲データのパス及び楽曲データのタグ情報を登録したデータベースの例を図9に示す。マイクロコントローラ28は、ファイル名、ファイルパス、楽曲ファイルのタグ情報(アーティスト名、アルバム名、タイトル名)を検索キーとしてデータベースを検索することができる。   Therefore, in the reconstruction of the database in step S304, the microcontroller 28 determines the path of the music file included in the same hierarchy as the music data corresponding to the PPM information ("C: / Folder A / Folder B / c002.mp3"). First, the tag information of the music file and the folder name are registered in the database (step S304a). Thereafter, the microcontroller 28 registers the folder name, the music data path, and the music data tag information in the database in accordance with the order in which the file system detects the folder name or the music file path, that is, the highest hierarchy ( From the first layer) to the lowest layer (fourth layer), the folder name, the music data path, and the music data tag information are registered in the database for each file system layer (step S304b). FIG. 9 shows an example of a database in which folder names, music data path, and music data tag information are registered according to steps S304a and S304b. The microcontroller 28 can search the database using the file name, file path, and music file tag information (artist name, album name, title name) as search keys.

ステップS304bでは、ファイルシステムがフォルダ名、楽曲ファイルのパス及び楽曲データのタグ情報を検出した順番に従って、当該フォルダ名、楽曲ファイルのパス及び楽曲データのタグ情報をデータベースに登録したが、PPM情報に対応する楽曲ファイルを含む階層に隣接する上位層又は下位層のフォルダに含まれる楽曲ファイルのパスと楽曲ファイルのタグ情報、及び当該上位層又は下位層にあるフォルダ名をデータベースに登録するようにしてもよい(ステップS304c)。ステップS304a,S304cに従って、フォルダ名、楽曲ファイルのパス及び楽曲データのタグ情報を登録したデータベースの例を図10に示す。   In step S304b, the folder name, music file path, and music data tag information are registered in the database according to the order in which the file system detects the folder name, music file path, and music data tag information. The path of the music file included in the upper layer or lower layer folder adjacent to the hierarchy including the corresponding music file, the tag information of the music file, and the folder name in the upper layer or lower layer are registered in the database. (Step S304c). FIG. 10 shows an example of a database in which folder names, music file paths, and music data tag information are registered according to steps S304a and S304c.

以上詳細に説明したように、本実施の形態によれば、マイクロコントローラ28は、識別情報を含むUSBメモリ30(外部メディア)に記憶された楽曲ファイル及びフォルダの階層構造に従って、データベースを作成し、メモリ26は、上記識別情報、作成されたデータベース、及び電源をオフする際に再生している楽曲ファイルにアクセスするためのアクセス情報(PPM情報)を保存する。そして、マイクロコントローラ28は、電源のオン時に、USBメモリ30に含まれる識別情報とメモリ26に保存される識別情報とが同一であるか否かを判別し、それらが同一である場合に、アクセス情報に対応する楽曲ファイルと同一の階層にある楽曲ファイルのパス、楽曲ファイルのタグ情報及びフォルダ名をデータベースに最初に登録し、当該データベースを再構築する。   As described above in detail, according to the present embodiment, the microcontroller 28 creates a database according to the hierarchical structure of music files and folders stored in the USB memory 30 (external media) including the identification information, The memory 26 stores the identification information, the created database, and access information (PPM information) for accessing the music file being reproduced when the power is turned off. Then, the microcontroller 28 determines whether or not the identification information included in the USB memory 30 and the identification information stored in the memory 26 are the same when the power is turned on. The path of the music file in the same hierarchy as the music file corresponding to the information, the tag information and the folder name of the music file are first registered in the database, and the database is reconstructed.

よって、データベースの再構築直後に、アクセス情報に対応する楽曲ファイルと同一の階層にある楽曲ファイルの再生を開始しようとするユーザの期待に添った動作の実現が可能である。   Therefore, immediately after the database is reconstructed, it is possible to realize an operation that meets the user's expectation to start playing a music file in the same hierarchy as the music file corresponding to the access information.

また、アクセス情報に対応する楽曲ファイルと同一の階層にある楽曲ファイルは、同一アルバム又は同一アーティストの楽曲ファイルである可能性が高いので、データベースの再構築直後に、アクセス情報に対応する楽曲ファイルのアルバム又はアーティストと同一のアルバム又はアーティストの楽曲ファイルの再生を開始しようとするユーザの期待に添った動作の実現が可能である。   In addition, a music file in the same hierarchy as the music file corresponding to the access information is likely to be a music file of the same album or the same artist, so immediately after the database is rebuilt, the music file corresponding to the access information It is possible to realize an operation that meets the user's expectation to start playback of the music file of the same album or artist as the album or artist.

さらにまた、マイクロコントローラ28は、アクセス情報に対応する楽曲ファイルと同一の階層にある楽曲ファイルのパス、楽曲ファイルのタグ情報及びフォルダ名をデータベースに登録した後、USBメモリ30の最上位階層から順番に、各階層に含まれる楽曲ファイルのパス、楽曲ファイルのタグ情報及びフォルダ名を当該データベースに登録する。よって、データベースの再構築直後に、アクセス情報に対応する楽曲ファイルと同一の階層にある楽曲ファイルの再生を開始し、続けて外部メディアの最上位階層に含まれる楽曲ファイルの再生を実行しようとするユーザの期待に添った動作の実現が可能である。   Furthermore, the microcontroller 28 registers the path of the music file, the tag information of the music file and the folder name in the same hierarchy as the music file corresponding to the access information in the database, and then in order from the highest hierarchy of the USB memory 30. In addition, the path of the music file included in each layer, the tag information of the music file, and the folder name are registered in the database. Therefore, immediately after the database is reconstructed, playback of the music file in the same hierarchy as the music file corresponding to the access information is started, and then the music file included in the highest hierarchy of the external media is tried to be played back. It is possible to realize operations that meet user expectations.

さらに、マイクロコントローラ28は、アクセス情報に対応する楽曲ファイルと同一の階層にある楽曲ファイルのパス、楽曲ファイルのタグ情報及びフォルダ名をデータベースに登録した後、アクセス情報に対応する楽曲ファイルを含む階層に隣接する階層に含まれる楽曲ファイルのパス、楽曲ファイルのタグ情報及びフォルダ名をデータベースに登録する。よって、データベースの再構築直後に、アクセス情報に対応する楽曲ファイルと同一の階層にある楽曲ファイルの再生を開始し、続けてアクセス情報に対応する楽曲ファイルを含む階層に隣接する階層に含まれる楽曲ファイルの再生を実行しようとするユーザの期待に添った動作の実現が可能である。   Further, the microcontroller 28 registers the path of the music file in the same hierarchy as the music file corresponding to the access information, the tag information and the folder name of the music file in the database, and then includes the music file corresponding to the access information. The music file path, the music file tag information, and the folder name included in the layer adjacent to are registered in the database. Therefore, immediately after the database is reconstructed, the music file in the same hierarchy as the music file corresponding to the access information is started to be played, and then the music included in the hierarchy adjacent to the hierarchy including the music file corresponding to the access information. It is possible to realize an operation in accordance with the expectation of the user who intends to execute file reproduction.

本実施の形態では、データベースに登録される楽曲ファイルの情報は、パス情報、タグ情報、フォルダ名としたが、パス情報及びフォルダ名のみとしてもよい。この場合には、楽曲検索は、パス情報に基づいて行われる。また、データベースに登録されるファイルの情報は、楽曲ファイルに限定されるものではなく、例えば、静止画像や動画像のファイルの情報でもよい。この場合、静止画像や動画像のファイルは、静止画像や動画像のデータにタグ情報(作者、日付、ジャンルなど)を有する。   In the present embodiment, the music file information registered in the database is path information, tag information, and folder names, but only path information and folder names may be used. In this case, the music search is performed based on the path information. Further, the file information registered in the database is not limited to the music file, and may be, for example, still image or moving image file information. In this case, the still image or moving image file has tag information (author, date, genre, etc.) in the still image or moving image data.

尚、データ処理装置の機能を実現するためのソフトウェアのプログラムが記録されている記録媒体を、データ処理装置に供給し、データ処理装置のコンピュータ(即ち、マイクロコントローラ28)が記憶媒体に格納されたプログラムを読み出し実行することによっても、上記実施の形態と同様の効果を奏する。プログラムを供給するための記憶媒体としては、例えば、CD−ROM、DVD、又はSDカードなどがある。   A recording medium in which a software program for realizing the functions of the data processing apparatus is recorded is supplied to the data processing apparatus, and the computer of the data processing apparatus (ie, the microcontroller 28) is stored in the storage medium. By reading and executing the program, the same effects as in the above embodiment can be obtained. Examples of the storage medium for supplying the program include a CD-ROM, a DVD, or an SD card.

また、データ処理装置のコンピュータ(即ち、マイクロコントローラ28)が、データ処理装置の機能を実現するためのソフトウェアのプログラムを実行することによっても、上記実施の形態と同様の効果を奏する。   In addition, the same effect as that of the above-described embodiment can be obtained when the computer of the data processing apparatus (that is, the microcontroller 28) executes a software program for realizing the function of the data processing apparatus.

尚、本発明は、上述した実施の形態に限定されるものではなく、その要旨を逸脱しない範囲内で種々変形して実施することが可能である。   The present invention is not limited to the above-described embodiment, and can be implemented with various modifications within a range not departing from the gist thereof.

本発明の実施の形態に係るコンテンツ処理装置としての車載用オーディオ再生装置の構成を示すブロック図である。It is a block diagram which shows the structure of the vehicle-mounted audio reproduction apparatus as a content processing apparatus which concerns on embodiment of this invention. (A)はUSBメモリのデータ構造の一例を示す図であり、(B)は楽曲ファイルのデータ構造の一例を示す図であり、(C)はメモリのデータ構造の一例を示す図である。(A) is a figure which shows an example of the data structure of USB memory, (B) is a figure which shows an example of the data structure of a music file, (C) is a figure which shows an example of the data structure of a memory. 楽曲データの再生方法を示すフローチャートである。It is a flowchart which shows the reproduction | regeneration method of music data. USBメモリに記憶される楽曲データのファイルシステムを示す図である。It is a figure which shows the file system of the music data memorize | stored in USB memory. 楽曲ファイルに含まれるタグ情報の一例を示す図である。It is a figure which shows an example of the tag information contained in a music file. データベースの作成処理を示すフローチャートである。It is a flowchart which shows the creation process of a database. データベースの一例を示す図である。It is a figure which shows an example of a database. データベースの再構築の処理を示すフローチャートである。It is a flowchart which shows the process of reconstruction of a database. 図8のステップS304a,S304bに従って、フォルダ名や楽曲データ名を登録したデータベースの一例を示す図である。It is a figure which shows an example of the database which registered the folder name and the music data name according to step S304a of FIG. 8, S304b. 図8のステップS304a,S304cに従って、フォルダ名や楽曲データ名を登録したデータベースの一例を示す図である。It is a figure which shows an example of the database which registered the folder name and the music data name according to step S304a of FIG. 8, S304c.

符号の説明Explanation of symbols

10 車載用オーディオ再生装置
12 USBコネクタ
14 USBインターフェース(I/F)
16 ディジタル/オーディオコンバータ(DAC)
18 アンプ
20 スピーカ
22 入力部
24 表示部
26 メモリ
28 マイクロコントローラ
10 In-vehicle audio playback device 12 USB connector 14 USB interface (I / F)
16 Digital / Audio Converter (DAC)
18 Amplifier 20 Speaker 22 Input Unit 24 Display Unit 26 Memory 28 Microcontroller

Claims (7)

識別情報を含む外部メディアに記憶されたファイル及びフォルダの階層構造に従って、データベースを作成する作成手段と、
前記識別情報、前記作成手段により作成されたデータベース、及び電源をオフする際に再生しているファイルにアクセスするためのアクセス情報を保存する保存手段と、
前記電源のオン時に、前記外部メディアに含まれる識別情報と前記保存手段に保存される識別情報とが同一であるか否かを判別する判別手段と、
前記外部メディアに含まれる識別情報と前記保存手段に保存される識別情報とが同一であると判別された場合に、前記アクセス情報に対応するファイルと同一の階層にあるファイルの情報及びフォルダの情報を前記データベースに最初に登録し、当該データベースを再構築する再構築手段と
を備えることを特徴とするデータ処理装置。
Creating means for creating a database according to a hierarchical structure of files and folders stored in an external medium including identification information;
Storage means for storing the identification information, the database created by the creation means, and access information for accessing the file being reproduced when the power is turned off;
Determining means for determining whether or not the identification information included in the external medium and the identification information stored in the storage means are the same when the power is turned on;
When it is determined that the identification information included in the external medium and the identification information stored in the storage unit are the same, information on a file and folder information on the same hierarchy as the file corresponding to the access information A data processing apparatus comprising: re-establishing means for first registering the data in the database and reconstructing the database.
前記再構築手段は、前記アクセス情報に対応するファイルと同一の階層にあるファイルの情報及びフォルダの情報を前記データベースに登録した後、前記外部メディアの最上位階層から順番に、各階層に含まれるファイルの情報及びフォルダの情報を前記データベースに登録することを特徴とする請求項1に記載のデータ処理装置。 The restructuring means, after registering information of files and folders in the same hierarchy as the file corresponding to the access information in the database, is included in each hierarchy in order from the highest hierarchy of the external media 2. The data processing apparatus according to claim 1, wherein file information and folder information are registered in the database. 前記再構築手段は、前記アクセス情報に対応するファイルと同一の階層にあるファイルの情報及びフォルダの情報を前記データベースに登録した後、前記アクセス情報に対応するファイルを含む階層に隣接する階層に含まれるファイルの情報及びフォルダの情報を前記データベースに登録することを特徴とする請求項1に記載のデータ処理装置。 The restructuring means, after registering file information and folder information in the same hierarchy as the file corresponding to the access information in the database, is included in a hierarchy adjacent to the hierarchy including the file corresponding to the access information The data processing apparatus according to claim 1, wherein file information and folder information to be registered are registered in the database. 前記ファイルの情報は、ファイルパス、又はファイルパス及びファイルに含まれるタグ情報であり、前記フォルダの情報はフォルダ名であることを特徴とする請求項1乃至3のいずれか1項に記載のデータ処理装置。 4. The data according to claim 1, wherein the file information is a file path or tag information included in the file path and the file, and the folder information is a folder name. Processing equipment. 前記ファイルは、楽曲ファイル、静止画像ファイル、又は動画像ファイルのいずれか1つであることを特徴とする請求項1乃至4のいずれか1項に記載のデータ処理装置。 The data processing apparatus according to claim 1, wherein the file is any one of a music file, a still image file, and a moving image file. コンピュータを、
識別情報を含む外部メディアに記憶されたファイル及びフォルダの階層構造に従って、データベースを作成する作成手段、
前記識別情報、前記作成手段により作成されたデータベース、及び電源をオフする際に再生しているファイルにアクセスするためのアクセス情報を保存する保存手段、
前記電源のオン時に、前記外部メディアに含まれる識別情報と前記保存手段に保存される識別情報とが同一であるか否かを判別する判別手段、及び
前記外部メディアに含まれる識別情報と前記保存手段に保存される識別情報とが同一であると判別された場合に、前記アクセス情報に対応するファイルと同一のフォルダに含まれるファイルの情報及び前記アクセス情報に対応するファイルと同一の階層にあるフォルダの情報を前記データベースに最初に登録し、当該データベースを再構築する再構築手段
として機能させることを特徴とする制御プログラム。
Computer
Creating means for creating a database according to the hierarchical structure of files and folders stored in external media including identification information;
Storage means for storing the identification information, the database created by the creation means, and access information for accessing the file being reproduced when the power is turned off;
A discriminating means for discriminating whether or not the identification information included in the external medium and the identification information stored in the storage means are the same when the power is turned on; and the identification information included in the external medium and the storage When it is determined that the identification information stored in the means is the same, the information on the file included in the same folder as the file corresponding to the access information and the file corresponding to the access information are in the same hierarchy A control program for registering folder information in the database first and causing the database to function as a reconstruction means for reconstructing the database.
コンピュータを、
識別情報を含む外部メディアに記憶されたファイル及びフォルダの階層構造に従って、データベースを作成する作成手段、
前記識別情報、前記作成手段により作成されたデータベース、及び電源をオフする際に再生しているファイルにアクセスするためのアクセス情報を保存する保存手段、
前記電源のオン時に、前記外部メディアに含まれる識別情報と前記保存手段に保存される識別情報とが同一であるか否かを判別する判別手段、及び
前記外部メディアに含まれる識別情報と前記保存手段に保存される識別情報とが同一であると判別された場合に、前記アクセス情報に対応するファイルと同一のフォルダに含まれるファイルの情報及び前記アクセス情報に対応するファイルと同一の階層にあるフォルダの情報を前記データベースに最初に登録し、当該データベースを再構築する再構築手段
として機能させるためのプログラムを記録したことを特徴とするコンピュータ読み取り可能な記録媒体。
Computer
Creating means for creating a database according to the hierarchical structure of files and folders stored in external media including identification information;
Storage means for storing the identification information, the database created by the creation means, and access information for accessing the file being reproduced when the power is turned off;
A discriminating means for discriminating whether or not the identification information included in the external medium and the identification information stored in the storage means are the same when the power is turned on; and the identification information included in the external medium and the storage When it is determined that the identification information stored in the means is the same, the information on the file included in the same folder as the file corresponding to the access information and the file corresponding to the access information are in the same hierarchy A computer-readable recording medium having recorded therein a program for first registering folder information in the database and causing it to function as a reconstruction means for reconstructing the database.
JP2007139781A 2007-05-25 2007-05-25 Data processing apparatus, control program, and computer-readable recording medium Expired - Fee Related JP5025333B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007139781A JP5025333B2 (en) 2007-05-25 2007-05-25 Data processing apparatus, control program, and computer-readable recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007139781A JP5025333B2 (en) 2007-05-25 2007-05-25 Data processing apparatus, control program, and computer-readable recording medium

Publications (2)

Publication Number Publication Date
JP2008293383A JP2008293383A (en) 2008-12-04
JP5025333B2 true JP5025333B2 (en) 2012-09-12

Family

ID=40168022

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007139781A Expired - Fee Related JP5025333B2 (en) 2007-05-25 2007-05-25 Data processing apparatus, control program, and computer-readable recording medium

Country Status (1)

Country Link
JP (1) JP5025333B2 (en)

Also Published As

Publication number Publication date
JP2008293383A (en) 2008-12-04

Similar Documents

Publication Publication Date Title
JP5019836B2 (en) Electronic device having data reproduction function
US20050234999A1 (en) Method and apparatus for providing a playlist in a compact disc player
JP2006343933A (en) Data processing method, electronic equipment, and program
JP5025333B2 (en) Data processing apparatus, control program, and computer-readable recording medium
JP2008171517A (en) On-vehicle playback device
JP2008186512A (en) Content reproducing device
JP2007226867A (en) Multimedia device
JP4244011B2 (en) Data reproduction apparatus and reproduction data management method in data reproduction apparatus
JP5128178B2 (en) Data processing apparatus, control program, and computer-readable recording medium
JP2004227285A (en) Audio reproduction device
JP4587014B2 (en) Audio playback system
JP2008176891A (en) On-vehicle reproducing device
JP4924243B2 (en) Content information acquisition apparatus, program, and content information acquisition method
JP5395508B2 (en) Content reproduction apparatus and control program
JP5213358B2 (en) Database registration apparatus, database registration method, control program, and computer-readable recording medium
JP5041470B2 (en) Content data reproduction apparatus and content list creation method
JP5164534B2 (en) Content data playback device
JP4953304B2 (en) Content data playback device, content list creation method, and content data search method
KR100596566B1 (en) Digital contents playback and method for playing back the same
JP4252525B2 (en) Music player
JP2011044201A (en) Audio device, program, and musical piece file storage method
JP2012112986A (en) Music data reproducing device
JP2012089193A (en) Media reproducer
JP2008083770A (en) Audio device
JP2009252268A (en) Update management system of data in memory

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20100427

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110704

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20120613

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

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

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

Free format text: PAYMENT UNTIL: 20150629

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 5025333

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees