JP4998051B2 - File name acquisition device, file name acquisition method, and program - Google Patents

File name acquisition device, file name acquisition method, and program Download PDF

Info

Publication number
JP4998051B2
JP4998051B2 JP2007091044A JP2007091044A JP4998051B2 JP 4998051 B2 JP4998051 B2 JP 4998051B2 JP 2007091044 A JP2007091044 A JP 2007091044A JP 2007091044 A JP2007091044 A JP 2007091044A JP 4998051 B2 JP4998051 B2 JP 4998051B2
Authority
JP
Japan
Prior art keywords
file name
file
acquired
name acquisition
character string
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.)
Active
Application number
JP2007091044A
Other languages
Japanese (ja)
Other versions
JP2008250668A (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.)
JVCKenwood Corp
Original Assignee
JVCKenwood Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by JVCKenwood Corp filed Critical JVCKenwood Corp
Priority to JP2007091044A priority Critical patent/JP4998051B2/en
Publication of JP2008250668A publication Critical patent/JP2008250668A/en
Application granted granted Critical
Publication of JP4998051B2 publication Critical patent/JP4998051B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、ファイルネーム取得装置、ファイルネーム取得方法、及びプログラムに関し、特にオーディオ装置に好適なファイルネーム取得装置、ファイルネーム取得方法、及びプログラムに関する。   The present invention relates to a file name acquisition device, a file name acquisition method, and a program, and more particularly to a file name acquisition device, a file name acquisition method, and a program suitable for an audio device.

近年、USB(Universal Serial Bus)フラッシュメモリやSDメモリカード(Secure Digital Memory Card)等の記憶媒体に保存された圧縮音声ファイル(例えば、MP3やWMA形式のファイルなど)を再生することができるオーディオ装置が普及している。記憶媒体に記憶されたファイルの選択や再生の際は、例えば、オーディオ装置に備えるシステムマイコンの制御によって所定のファイルが指定され、DSP(Digital Signal Processor)などのプロセッサによって当該指定されたファイルのファイルネームが取得された後、表示部に表示される。そして、オーディオ装置のユーザは、表示部に表示されたファイルネームの中から所望の音声ファイルを選択して再生することができる。   In recent years, an audio apparatus capable of playing back a compressed audio file (for example, MP3 or WMA format file) stored in a storage medium such as a USB (Universal Serial Bus) flash memory or an SD memory card (Secure Digital Memory Card). Is popular. When a file stored in a storage medium is selected or played back, for example, a predetermined file is specified under the control of a system microcomputer provided in the audio device, and the file of the specified file is specified by a processor such as a DSP (Digital Signal Processor). After the name is acquired, it is displayed on the display unit. The user of the audio device can select and reproduce a desired audio file from the file names displayed on the display unit.

また、ファイルネームが長い場合、表示部の表示領域のサイズ等によって一度に表示可能な文字数が制限される場合がある。そのため、ファイルネームをスクロール表示させる方法が知られている。   When the file name is long, the number of characters that can be displayed at one time may be limited depending on the size of the display area of the display unit. Therefore, a method for scrolling and displaying file names is known.

図4を参照して、長いファイルネームのスクロール表示について説明する。表示する文字列41は、「ABCDEFGHIJKLMNOPQRST」からなる20文字の文字列であり、表示部に表示する文字列である。   With reference to FIG. 4, the scroll display of long file names will be described. The character string 41 to be displayed is a character string of 20 characters consisting of “ABCDEFGHIJKLMNOPQRST”, and is a character string to be displayed on the display unit.

初期表示42は、表示部の表示可能文字数が12文字である場合に、表示する文字列41に基づいて表示部に最初に表示される文字列である。   The initial display 42 is a character string that is initially displayed on the display unit based on the character string 41 to be displayed when the number of displayable characters on the display unit is 12.

スクロール中43は、表示部に表示される文字列が右から左にスクロールする場合に、初期表示42に示された文字列のスクロール後に表示部に表示される文字列である。   The scrolling 43 is a character string displayed on the display unit after scrolling the character string shown on the initial display 42 when the character string displayed on the display unit scrolls from right to left.

スクロール中44は、スクロール中43に示された文字列が更にスクロールした後に表示部に表示される文字列である。   Scrolling 44 is a character string displayed on the display unit after the character string shown in scrolling 43 is further scrolled.

スクロール終了45は、スクロール中44に示された文字列が更にスクロールした後、スクロールが終了した際の表示部の状態を示したものある。   The scroll end 45 indicates a state of the display unit when the scrolling is finished after the character string shown in the scrolling 44 is further scrolled.

特許文献1には、表示部にファイルネームが表示される際に、表示部の表示領域のサイズに適した文字数の文字列であるファイルネームの別名が記憶部から取得され、表示される技術が開示されている。
特開2006−99898号公報
Patent Document 1 discloses a technique in which when a file name is displayed on the display unit, an alias of the file name, which is a character string having a number of characters suitable for the size of the display area of the display unit, is acquired from the storage unit and displayed. It is disclosed.
JP 2006-99898 A

しかしながら、上記従来のオーディオ装置では、DSPによって取得されたファイルネームが長い場合、ファイルネームの取得ために割り当てられたメモリ容量や通信の制約により、ファイルネームとして取り扱うことができる文字数が制限される場合がある。   However, in the above-described conventional audio apparatus, when the file name acquired by the DSP is long, the number of characters that can be handled as the file name is limited due to the memory capacity allocated for acquiring the file name and communication restrictions. There is.

そのため、例えば、ファイルネームは拡張子(WMA形式のファイルであれば、「.wma」部分を言う。)を含めて30文字であるのに対し、表示部には20文字しか表示できないといったことが生じる。このような場合、スクロールさせても表示部に表示される文字列は、ファイルネームの頭から20文字までであるため、ファイルの拡張子まで表示することができず、ユーザはファイルの形式が何であるか知ることができない。再生を開始(すなわち、ファイルをオープン)すれば、DSPによってファイル形式に関する情報がファイルから取得されるため、ファイル形式を表示部に表示することができるが、再生前のファイルについては、表示することができない。   Therefore, for example, the file name is 30 characters including the extension (in the case of a WMA format file, the “.wma” portion), whereas the display unit can display only 20 characters. Arise. In such a case, the character string displayed on the display section even when scrolling is limited to 20 characters from the beginning of the file name, so the file extension cannot be displayed, and the user can use any file format. I can't know if it exists. When playback is started (that is, the file is opened), information on the file format is acquired from the file by the DSP, so that the file format can be displayed on the display unit, but the file before playback is displayed. I can't.

また、特許文献1のような方法では、記憶部にファイルネームの別名を管理するテーブルを別途準備する必要がある。また、拡張子が表示されないため、ファイル形式を確認することができない。   Further, in the method as disclosed in Patent Document 1, it is necessary to separately prepare a table for managing file name aliases in the storage unit. Moreover, since the extension is not displayed, the file format cannot be confirmed.

本発明の課題は、ファイルネームが取得可能文字数を超えている場合に、ファイルをオープンすることなく、取得した文字数のファイルネームに拡張子を付加して得られた文字列をファイルネームとして取り扱うファイルネーム取得装置、ファイルネーム取得方法、及びプログラムを簡単な構成によって提供することである。   An object of the present invention is to handle a character string obtained by adding an extension to a file name of the number of acquired characters as a file name without opening the file when the file name exceeds the number of characters that can be acquired A name acquisition device, a file name acquisition method, and a program are provided with a simple configuration.

請求項1に記載の発明は、ファイルネーム取得装置において、
データをファイルとして記憶し、当該ファイルに関する情報を管理するファイルシステムが格納された記憶部と、
前記ファイルシステムからファイルネームを取得するファイルネーム取得部と、
前記ファイルネーム取得部によって取得されたファイルネームが当該ファイルネーム取得部によって取得可能な文字数以上である場合は、前記ファイルシステムから当該ファイルネームに対応するファイルのファイル形式に関する情報である拡張子の文字列を取得し、当該ファイルネーム取得部によって取得することができる文字数の文字列に対して当該拡張子の文字列を付加することで得られる文字列を、前記ファイルネーム取得部が取り扱うファイルネームとするように制御する制御部と、
を備えたことを特徴とする。
The invention according to claim 1 is a file name acquisition device,
A storage unit storing a file system for storing data as a file and managing information on the file;
A file name acquisition unit for acquiring a file name from the file system;
If the file name acquired by the file name acquisition unit is greater than or equal to the number of characters that can be acquired by the file name acquisition unit, characters of an extension that is information on the file format of the file corresponding to the file name from the file system A string obtained by adding a character string of the extension to a character string of the number of characters that can be acquired by the file name acquisition unit, and a file name handled by the file name acquisition unit A control unit for controlling to
It is provided with.

請求項2に記載の発明は、請求項1に記載のファイルネーム取得装置において、
前記ファイルネーム取得部は、前記ファイルシステムが管理するファイルネームとして、ロングファイルネーム及びショートファイルネームを取得し、
前記制御部は、前記ファイルネーム取得部によって取得されたロングファイルネームが当該ファイルネーム取得部によって取得可能な文字数以上である場合は、当該ファイルネーム取得部によって取得されたショートファイルネームから前記拡張子の文字列を取得し、当該ファイルネーム取得部によって取得することができるロングファイルネームの文字列に対して当該拡張子の文字列を付加することで得られる文字列を、前記ファイルネーム取得部が取り扱うファイルネームとするように制御すること、
を特徴とする。
The invention according to claim 2 is the file name acquisition device according to claim 1,
The file name acquisition unit acquires a long file name and a short file name as a file name managed by the file system,
The control unit, when the long file name acquired by the file name acquisition unit is more than the number of characters that can be acquired by the file name acquisition unit, from the short file name acquired by the file name acquisition unit The file name acquisition unit obtains the character string obtained by adding the character string of the extension to the character string of the long file name that can be acquired by the file name acquisition unit. Control the file name to handle,
It is characterized by.

請求項3に記載の発明は、請求項1又は請求項2に記載のファイルネーム取得装置において、
前記制御部により前記ファイルネーム取得部が取り扱うように制御したファイルネームを表示する表示部を有すること
を特徴とする。
The invention according to claim 3 is the file name acquisition device according to claim 1 or 2,
It has a display part which displays the filename controlled so that the said filename acquisition part may handle by the said control part.

請求項4に記載の発明は、請求項1から請求項3のいずれか1項に記載のファイルネーム取得装置において、
前記記憶部は、前記表示装置に脱着可能であること
を特徴とする。
The invention according to claim 4 is the file name acquisition device according to any one of claims 1 to 3,
The storage unit is detachable from the display device.

請求項5に記載の発明は、ファイルネーム取得方法において、
データをファイルとして記憶し、当該ファイルに関する情報を管理するファイルシステムを記憶部に格納する記憶工程と、
前記ファイルシステムからファイルネームをファイルネーム取得部により取得するファイルネーム取得工程と、
前記ファイルネーム取得工程によって取得されたファイルネームが当該ファイルネーム取得工程によって取得可能な文字数以上である場合は、前記ファイルシステムから当該ファイルネームに対応するファイルのファイル形式に関する情報である拡張子の文字列を取得し、当該ファイルネーム取得部によって取得することができる文字数の文字列に対して当該拡張子の文字列を付加することで得られる文字列を、前記ファイルネーム取得部が取り扱うファイルネームとするように制御する制御工程と、
を備えたことを特徴とする。
The invention according to claim 5 is the file name acquisition method,
Storing the data as a file and storing a file system that manages information about the file in the storage unit;
A file name acquisition step of acquiring a file name from the file system by a file name acquisition unit;
If the file name acquired by the file name acquisition step is greater than or equal to the number of characters that can be acquired by the file name acquisition step, an extension character that is information on the file format of the file corresponding to the file name from the file system A string obtained by adding a character string of the extension to a character string of the number of characters that can be acquired by the file name acquisition unit, and a file name handled by the file name acquisition unit A control process for controlling
It is provided with.

請求項6に記載の発明は、コンピュータを
データをファイルとして記憶し、当該ファイルに関する情報を管理するファイルシステムが格納された記憶手段、
前記ファイルシステムからファイルネームを取得するファイルネーム取得手段、
前記ファイルネーム取得手段によって取得されたファイルネームが当該ファイルネーム取得手段によって取得可能な文字数以上である場合は、前記ファイルシステムから当該ファイルネームに対応するファイルのファイル形式に関する情報である拡張子の文字列を取得し、当該ファイルネーム取得手段によって取得することができる文字数の文字列に対して当該拡張子の文字列を付加することで得られる文字列を、前記ファイルネーム取得手段が取り扱うファイルネームとするように制御する制御手段、
として機能させるためのプログラムであることを特徴とする。
Invention of Claim 6 memorize | stores the computer as data as a file, The memory | storage means in which the file system which manages the information regarding the said file was stored,
File name acquisition means for acquiring a file name from the file system;
If the file name acquired by the file name acquisition unit is greater than or equal to the number of characters that can be acquired by the file name acquisition unit, characters of an extension that is information on the file format of the file corresponding to the file name from the file system A string obtained by adding a character string of the extension to a character string of the number of characters that can be acquired by the file name acquisition means, and a file name handled by the file name acquisition means Control means to control,
It is a program for making it function as.

本発明によれば、ファイルネームが取得可能文字数を超えている場合に、ファイルをオープンすることなく、取得した文字数のファイルネームに拡張子を付加して得られた文字列をファイルネームとして取り扱うファイルネーム取得装置、ファイルネーム取得方法、及びプログラムを簡単な構成によって提供することができる。   According to the present invention, when a file name exceeds the number of characters that can be acquired, a file that handles a character string obtained by adding an extension to the file name of the acquired number of characters as a file name without opening the file A name acquisition device, a file name acquisition method, and a program can be provided with a simple configuration.

以下、図面を参照して、本発明の好適な一実施形態を説明する。ただし、発明の範囲は本実施の形態に限定されない。   Hereinafter, a preferred embodiment of the present invention will be described with reference to the drawings. However, the scope of the invention is not limited to this embodiment.

[オーディオ装置の構成]
本実施形態は、オーディオ装置に装備された表示装置の例である。
まず、オーディオ装置の全体構成を説明する。なお、オーディオ装置1としては、ホームオーディオ、カーオーディオ、携帯型オーディオ装置等が挙げられる。
[Configuration of audio device]
The present embodiment is an example of a display device provided in an audio device.
First, the overall configuration of the audio device will be described. Examples of the audio device 1 include home audio, car audio, and portable audio devices.

図1に示すように、オーディオ装置1は、記憶部2、アナログ音声入力部5、CD(Compact Disk)メカ部6、セレクター7、ADC(Analog Digital Converter)8、DSP9、DAC(Digital Analog Converter)10、アンプ部11、スピーカ12、表示部13、操作部14、システムマイコン15、接続用スロット16、接続用コネクタ17を備えて構成される。   As shown in FIG. 1, the audio device 1 includes a storage unit 2, an analog audio input unit 5, a CD (Compact Disk) mechanism unit 6, a selector 7, an ADC (Analog Digital Converter) 8, a DSP 9, and a DAC (Digital Analog Converter). 10, an amplifier unit 11, a speaker 12, a display unit 13, an operation unit 14, a system microcomputer 15, a connection slot 16, and a connection connector 17.

記憶部2としては、HDD(Hard Disk Drive)等が用いられる。記憶部2には、オーディオ装置1が再生可能なディジタル音声データがMP3ファイルやWMAファイル等の形式によってファイル化されて記憶されている。また、記憶部2には、ファイルシステムが格納されており、当該ファイルに関する情報が当該ファイルシステムによって記憶・管理されている。   As the storage unit 2, an HDD (Hard Disk Drive) or the like is used. The storage unit 2 stores digital audio data that can be reproduced by the audio apparatus 1 as a file in the form of an MP3 file, a WMA file, or the like. In addition, a file system is stored in the storage unit 2, and information regarding the file is stored and managed by the file system.

ここで、ファイルシステムとは、ファイル化されたデータを記憶部内で管理するソフトウェアや管理情報のことを言う。管理情報としては、ファイルのロングファイルネーム、ショートファイルネーム、ファイル形式に関する情報などがある。   Here, the file system means software or management information for managing filed data in the storage unit. The management information includes a file long file name, a short file name, information on a file format, and the like.

ファイルシステムとしては、例えば、Windows(登録商標)システムにおけるFATやNTFS等が知られている。SDメモリカード3やUSBフラッシュメモリ4にもファイルシステムが格納されている。   As a file system, for example, FAT and NTFS in a Windows (registered trademark) system are known. A file system is also stored in the SD memory card 3 and the USB flash memory 4.

また、ロングファイルネームは、表示部13に表示されるファイルの名称である。ショートファイルネームは、ロングファイルネームと比較して限られた文字数制限(例えば、8文字)において命名されたファイルの名称である。どちらのファイルネームも拡張子を有している。   The long file name is the name of the file displayed on the display unit 13. The short file name is a name of a file that is named with a limited number of characters (for example, 8 characters) compared to the long file name. Both file names have an extension.

アナログ音声入力部5は、図示しない外部装置等から出力されたアナログ音声信号を入力する入力部である。   The analog voice input unit 5 is an input unit that inputs an analog voice signal output from an external device (not shown) or the like.

CDメカ部6は、CDドライブ等の装置でありCDに記録されたデータを読み取り、出力する。   The CD mechanism unit 6 is a device such as a CD drive and reads and outputs data recorded on the CD.

セレクター7は、オーディオ装置1が再生等する音声データのソースの選択を行う回路である。システムマイコン15から入力した制御信号に応じてソースの選択が切り替えられる。   The selector 7 is a circuit that selects a source of audio data to be reproduced by the audio apparatus 1. The source selection is switched according to the control signal input from the system microcomputer 15.

ADC8は、入力したアナログ信号をディジタル信号に変換して出力するA/D変換回路である。   The ADC 8 is an A / D conversion circuit that converts an input analog signal into a digital signal and outputs the digital signal.

DSP9は、信号処理用のプロセッサであり、エンコーダ9a及びデコーダ9bを備える。エンコーダ9aはアナログ音声入力部5を介して入力されADC8により変換されたディジタル信号をエンコードする。デコーダ9bは、記憶部2、SDメモリカード3、USBフラッシュメモリ4からの圧縮信号をデコードして再生処理を行う。この再生処理に際して、記憶部2、SDメモリカード3、USBフラッシュメモリ4に格納されたファイルシステムからファイルネームなどの各種情報を取得する。   The DSP 9 is a signal processing processor and includes an encoder 9a and a decoder 9b. The encoder 9a encodes a digital signal input via the analog audio input unit 5 and converted by the ADC 8. The decoder 9b decodes the compressed signals from the storage unit 2, the SD memory card 3, and the USB flash memory 4 and performs a reproduction process. In this reproduction process, various information such as a file name is acquired from the file system stored in the storage unit 2, the SD memory card 3, and the USB flash memory 4.

DAC10は、DSP9から出力されるディジタル信号をアナログ信号に変換して出力する回路である。   The DAC 10 is a circuit that converts a digital signal output from the DSP 9 into an analog signal and outputs the analog signal.

アンプ部11は、DAC10から出力されるアナログ信号を増幅してスピーカ12に出力するD/A変換回路である。   The amplifier unit 11 is a D / A conversion circuit that amplifies an analog signal output from the DAC 10 and outputs the amplified analog signal to the speaker 12.

スピーカ12は、アンプ部11から出力されるアナログ信号を音波として出力する装置である。   The speaker 12 is a device that outputs an analog signal output from the amplifier unit 11 as a sound wave.

表示部13は、オーディオ装置1の動作モード、曲情報等の各種情報の他、オーディオ装置1が再生可能な音声データファイルのファイルネームを表示し、また、各種の操作入力スイッチ画面も表示する。   The display unit 13 displays the file name of the audio data file that can be reproduced by the audio apparatus 1 in addition to various information such as the operation mode of the audio apparatus 1 and music information, and also displays various operation input switch screens.

操作部14は、各種操作キーを備えた装置であり、オーディオ装置1のユーザによる操作キーの操作に応じて操作信号をシステムマイコン15へ出力する。   The operation unit 14 is a device having various operation keys, and outputs an operation signal to the system microcomputer 15 in accordance with operation of the operation keys by the user of the audio device 1.

システムマイコン15は、制御部として機能し、ROM(Read Only Memory)15a及びRAM(Random Access Memory)15bを備え、ROM15a等から制御プログラムを読み出してRAM15bに展開し、当該プログラムとの協働によりオーディオ装置1内の各部を集中的に制御し、また各種演算を行う。   The system microcomputer 15 functions as a control unit, and includes a ROM (Read Only Memory) 15a and a RAM (Random Access Memory) 15b. The system microcomputer 15 reads a control program from the ROM 15a and the like and develops it in the RAM 15b. Each unit in the apparatus 1 is intensively controlled and performs various calculations.

接続用スロット16は、外部メモリとしてのSDメモリカード3の接続用スロットである。接続用コネクタ17は、外部メモリとしてのUSBフラッシュメモリ4の接続用コネクタである。   The connection slot 16 is a connection slot for the SD memory card 3 as an external memory. The connection connector 17 is a connector for connecting the USB flash memory 4 as an external memory.

[ファイルネーム取得装置の構成]
以上のオーディオ装置1において、本発明に係るファイルネーム取得装置の好適な態様では、ファイルネーム取得装置は、ファイルシステムによって音楽データファイルを記憶・管理する記憶部2と、当該ファイルシステムからファイルネームを取得するDSP9と、当該ファイルネームを表示部13に表示するためにDSP9よりファイルネームを取得するシステムマイコン15によって具現化される。
[Configuration of file name acquisition device]
In the audio device 1 described above, in a preferred aspect of the file name acquisition device according to the present invention, the file name acquisition device includes a storage unit 2 for storing and managing music data files by the file system, and a file name from the file system. The DSP 9 to be acquired and the system microcomputer 15 that acquires the file name from the DSP 9 in order to display the file name on the display unit 13 are embodied.

[動作]
次に、図2を参照して、ファイルネームの表示動作例について説明する。
この動作例は、USBフラッシュメモリ4に記憶されたWMA形式の音楽データファイルのファイルネームを、表示部13に表示するためにDSP9が取得する制御フローの例である。
[Operation]
Next, an example of a file name display operation will be described with reference to FIG.
This operation example is an example of a control flow that the DSP 9 acquires in order to display the file name of the WMA format music data file stored in the USB flash memory 4 on the display unit 13.

この制御処理は、USBフラッシュメモリ4に格納されたファイルシステムが管理するロングファイルネームをDSP9が取得する際に開始する。   This control process starts when the DSP 9 acquires a long file name managed by the file system stored in the USB flash memory 4.

まず、DSP9からロングファイルネームが取得される(ステップS1)。   First, a long file name is acquired from the DSP 9 (step S1).

次いで、取得されたロングファイルネームの文字列における最後の文字列が、拡張子である場合(ステップS2:Yes)、システムマイコンはロングファイルネームのファイルネームを全て取得することができたため、取得したロングファイルネームをそのままシステムマイコンで取り扱うファイルネームとして取り扱い、表示部13に表示する(ステップS3)。   Next, when the last character string in the acquired long file name character string is an extension (step S2: Yes), the system microcomputer has acquired all the file names of the long file names, and thus acquired them. The long file name is handled as it is as a file name handled by the system microcomputer and displayed on the display unit 13 (step S3).

また、取得したロングファイルネームの文字列における最後の文字列が、拡張子ではない場合(ステップS2:No)、つまり、システムマイコンがロングファイルネームの文字列の全文字数を取得できずに、拡張子を表す文字列が取得されないまたは拡張子を表す文字列が途中までしか取得されない場合、USBフラッシュメモリ4内に格納されているファイルシステムが有するショートファイルネームがDSP9によって取得される(ステップS4)。   If the last character string in the acquired long file name character string is not an extension (step S2: No), that is, the system microcomputer cannot acquire the total number of characters of the long file name character string, If the character string representing the child is not obtained or the character string representing the extension is only obtained partway, the short file name of the file system stored in the USB flash memory 4 is obtained by the DSP 9 (step S4). .

次いで、取得されたショートファイルネームから拡張子部分の文字列が取得される(ステップS5)。   Next, the character string of the extension portion is acquired from the acquired short file name (step S5).

次いで、ステップS1にて取得されるロングファイルネームの文字列の先頭から前記取得可能文字数分の文字列が取得され、この文字列の末尾から拡張子の文字数(例えば、「.wma」であれば4文字)分の文字列が除去される(ステップS6)。   Next, a character string corresponding to the number of acquirable characters is acquired from the beginning of the character string of the long file name acquired in step S1. If the number of characters of the extension (for example, “.wma”) A character string of 4 characters) is removed (step S6).

次いで、ステップS1にて得られた文字列の末尾にステップS5にて取得された拡張子の文字列が付加され、システムマイコン15が取り扱うファイルネームとし、表示部13に表示され(ステップS6)この処理は終了する。   Next, the character string with the extension obtained in step S5 is added to the end of the character string obtained in step S1, and the file name handled by the system microcomputer 15 is displayed on the display unit 13 (step S6). The process ends.

以上の制御フローでは、USBフラッシュメモリ4に記憶された音楽データファイルのファイルネームが表示部13に表示される場合の例を説明したが、記憶部2又はSDメモリカード3等の他の記憶媒体に記憶された音楽データファイルのファイルネームが表示される場合も同様の制御フローとなる。   In the above control flow, the example in which the file name of the music data file stored in the USB flash memory 4 is displayed on the display unit 13 has been described, but other storage media such as the storage unit 2 or the SD memory card 3 The same control flow is performed when the file name of the music data file stored in is displayed.

また、本実施の形態では、ステップS6にて、前記取得可能文字数分のロングファイルネームの文字列から拡張子の文字数分の文字列が除去された後に、ステップS7にて拡張子の文字列が付加されることとしたが、この形式に限定されない。拡張子の文字数分の文字列は除去されずに、そのまま拡張子の文字列が付加されることとしても良い。   Further, in the present embodiment, after the character string for the number of extension characters is removed from the long file name character string for the number of acquirable characters in step S6, the extension character string is converted in step S7. Although added, it is not limited to this format. The character string corresponding to the number of characters of the extension may be added as it is without being removed.

また、ステップS4にて、拡張子の文字列を取得するためにショートファイルネームを取得しているが、この方法に限定されず、他の方法によって拡張子の文字列情報を取得しても良い。例えば、ファイルシステムに拡張子の文字列情報が独立して管理されている場合には、その拡張子の文字列情報を取得することとしても良い。或いは、ファイルシステムにファイル形式の情報が管理されている場合には、その情報を取得し、予めROM15a等のメモリに記憶された対応テーブル等に基づいて拡張子の文字列に変換することとしても良い。   In step S4, the short file name is acquired to acquire the extension character string. However, the present invention is not limited to this method, and the extension character string information may be acquired by another method. . For example, when the character string information of the extension is managed independently in the file system, the character string information of the extension may be acquired. Alternatively, when file format information is managed in the file system, the information may be acquired and converted into an extension character string based on a correspondence table stored in advance in a memory such as the ROM 15a. good.

また、ステップS7にて行われる文字列の表示方法は、表示対象の文字列の文字数が表示部13に一度に表示できる文字数を超えている場合は、スクロールして表示し、超えていない場合は、スクロールせずに表示する。なお、これは表示方法の例であり、この方法に限定されない。   Further, the display method of the character string performed in step S7 is to scroll and display when the number of characters of the character string to be displayed exceeds the number of characters that can be displayed on the display unit 13 at one time. , Display without scrolling. This is an example of a display method and is not limited to this method.

図3を参照して、ロングファイルネームが表示部13に表示される方法の一例を説明する。ロングファイルネーム21は、ファイルシステムによって管理された「ABCDEFGHIJKLMNOPQRSTUVWXYZ.WMA」の文字列からなる30文字のファイルネームである。   With reference to FIG. 3, an example of a method for displaying a long file name on the display unit 13 will be described. The long file name 21 is a 30-character file name consisting of a character string “ABCDEFGHIJKLMNOPQRSTUVWXYZ.WMA” managed by the file system.

取得された文字列22は、ファイルネームの取得可能文字数が20文字である場合に、システムマイコン15によってロングファイルネーム21がDSP9から取得される文字列である。   The acquired character string 22 is a character string from which the long file name 21 is acquired from the DSP 9 by the system microcomputer 15 when the number of characters that can be acquired by the file name is 20.

表示される文字列23は、取得された文字列22に、ファイルシステムから取得した拡張子の文字列を付加した文字列であり、表示部13に表示される。   The displayed character string 23 is a character string obtained by adding the character string of the extension acquired from the file system to the acquired character string 22 and is displayed on the display unit 13.

初期表示24は、表示部13の表示可能文字数が12文字である場合に、表示される文字列23に基づいて表示部13に最初に表示される文字列である。   The initial display 24 is a character string that is initially displayed on the display unit 13 based on the displayed character string 23 when the number of characters that can be displayed on the display unit 13 is 12.

スクロール中25は、表示部13に表示される文字列が右から左にスクロールする場合に、初期表示24に示された文字列のスクロール後に表示部13に表示される文字列である。   The scrolling 25 is a character string displayed on the display unit 13 after scrolling the character string shown on the initial display 24 when the character string displayed on the display unit 13 scrolls from right to left.

スクロール中26は、スクロール中25に示された文字列が更にスクロールした後に表示部13に表示される文字列である。   The scrolling 26 is a character string displayed on the display unit 13 after the character string shown in the scrolling 25 is further scrolled.

スクロール終了27は、スクロール中26に示された文字列が更にスクロールした後、スクロールが終了した際の表示部13の状態を示したものある。   The scroll end 27 indicates the state of the display unit 13 when the scrolling is finished after the character string shown in the scroll 26 is further scrolled.

[効果]
以上のように本実施の形態によれば、RAM15bに割り当てられたメモリ容量や通信の制約等によって生じる取り扱い可能文字数をファイルネームの文字数が超えている場合に、ファイルをオープンすることなく、簡単な構成によってファイルネームに拡張子をつけて表示することができる。
[effect]
As described above, according to the present embodiment, when the number of characters in the file name exceeds the number of characters that can be handled due to the memory capacity allocated to the RAM 15b, communication restrictions, or the like, the file can be easily opened without opening it. The file name can be displayed with an extension depending on the configuration.

また、ファイルを記憶する記憶媒体に必ず備えているファイルシステムから拡張子に関する情報を取得するため、拡張子に関する情報などを別途記憶部2等にて管理するする必要がない。   In addition, since the information about the extension is acquired from the file system that is always provided in the storage medium for storing the file, it is not necessary to separately manage the information about the extension in the storage unit 2 or the like.

オーディオ装置の構成の一例を示すブロック図である。It is a block diagram which shows an example of a structure of an audio apparatus. システムマイコンが行う制御フローを示すフローチャートである。It is a flowchart which shows the control flow which a system microcomputer performs. ロングファイルネームの表示方法の一例を示す図である。It is a figure which shows an example of the display method of a long file name. 従来のオーディオ装置におけるファイルネームの表示方法の一例を示す図である。It is a figure which shows an example of the display method of the file name in the conventional audio apparatus.

符号の説明Explanation of symbols

1 オーディオ装置
2 記憶部
3 SDメモリカード
4 USBフラッシュメモリ
5 アナログ音声入力部
6 CDメカ部
7 セレクター
8 ADC
9 DSP
9a エンコーダ
9b デコーダ
10 DAC
11 アンプ部
12 スピーカ
13 表示部
14 操作部
15 システムマイコン
15a ROM
15b RAM
16 接続用スロット
17 接続用コネクタ
DESCRIPTION OF SYMBOLS 1 Audio apparatus 2 Memory | storage part 3 SD memory card 4 USB flash memory 5 Analog audio | voice input part 6 CD mechanism part 7 Selector 8 ADC
9 DSP
9a Encoder 9b Decoder 10 DAC
11 Amplifier unit 12 Speaker 13 Display unit 14 Operation unit 15 System microcomputer 15a ROM
15b RAM
16 Slot for connection 17 Connector for connection

Claims (6)

データをファイルとして記憶し、当該ファイルに関する情報を管理するファイルシステムが格納された記憶部と、
前記ファイルシステムからファイルネームを取得するファイルネーム取得部と、
前記ファイルネーム取得部によって取得されたファイルネームが当該ファイルネーム取得部によって取得可能な文字数以上である場合は、前記ファイルシステムから当該ファイルネームに対応するファイルのファイル形式に関する情報である拡張子の文字列を取得し、当該ファイルネーム取得部によって取得することができる文字数の文字列に対して当該拡張子の文字列を付加することで得られる文字列を、前記ファイルネーム取得部が取り扱うファイルネームとするように制御する制御部と、
を備えたことを特徴とするファイルネーム取得装置。
A storage unit storing a file system for storing data as a file and managing information on the file;
A file name acquisition unit for acquiring a file name from the file system;
If the file name acquired by the file name acquisition unit is greater than or equal to the number of characters that can be acquired by the file name acquisition unit, characters of an extension that is information on the file format of the file corresponding to the file name from the file system A string obtained by adding a character string of the extension to a character string of the number of characters that can be acquired by the file name acquisition unit, and a file name handled by the file name acquisition unit A control unit for controlling to
A file name acquisition device comprising:
前記ファイルネーム取得部は、前記ファイルシステムが管理するファイルネームとして、ロングファイルネーム及びショートファイルネームを取得し、
前記制御部は、前記ファイルネーム取得部によって取得されたロングファイルネームが当該ファイルネーム取得部によって取得可能な文字数以上である場合は、当該ファイルネーム取得部によって取得されたショートファイルネームから前記拡張子の文字列を取得し、当該ファイルネーム取得部によって取得することができるロングファイルネームの文字列に対して当該拡張子の文字列を付加することで得られる文字列を、前記ファイルネーム取得部が取り扱うファイルネームとするように制御すること、
を特徴とする請求項1に記載のファイルネーム取得装置。
The file name acquisition unit acquires a long file name and a short file name as a file name managed by the file system,
The control unit, when the long file name acquired by the file name acquisition unit is more than the number of characters that can be acquired by the file name acquisition unit, from the short file name acquired by the file name acquisition unit The file name acquisition unit obtains the character string obtained by adding the character string of the extension to the character string of the long file name that can be acquired by the file name acquisition unit. Control the file name to handle,
The file name acquisition device according to claim 1.
前記制御部により前記ファイルネーム取得部が取り扱うように制御したファイルネームを表示する表示部を有することを特徴とする、請求項1又は請求項2に記載のファイルネーム取得装置。   The file name acquisition apparatus according to claim 1, further comprising a display unit configured to display a file name controlled so as to be handled by the file name acquisition unit by the control unit. 前記記憶部は、前記表示装置に脱着可能であること
を特徴とする請求項1から請求項3のいずれか1項に記載のファイルネーム取得装置。
The file name acquisition device according to any one of claims 1 to 3, wherein the storage unit is detachable from the display device.
データをファイルとして記憶し、当該ファイルに関する情報を管理するファイルシステムを記憶部に格納する記憶工程と、
前記ファイルシステムからファイルネームをファイルネーム取得部により取得するファイルネーム取得工程と、
前記ファイルネーム取得工程によって取得されたファイルネームが当該ファイルネーム取得工程によって取得可能な文字数以上である場合は、前記ファイルシステムから当該ファイルネームに対応するファイルのファイル形式に関する情報である拡張子の文字列を取得し、当該ファイルネーム取得部によって取得することができる文字数の文字列に対して当該拡張子の文字列を付加することで得られる文字列を、前記ファイルネーム取得部が取り扱うファイルネームとするように制御する制御工程と、
を備えたことを特徴とするファイルネーム取得方法。
Storing the data as a file and storing a file system that manages information about the file in the storage unit;
A file name acquisition step of acquiring a file name from the file system by a file name acquisition unit;
If the file name acquired by the file name acquisition step is greater than or equal to the number of characters that can be acquired by the file name acquisition step, an extension character that is information on the file format of the file corresponding to the file name from the file system A string obtained by adding a character string of the extension to a character string of the number of characters that can be acquired by the file name acquisition unit, and a file name handled by the file name acquisition unit A control process for controlling
A file name acquisition method characterized by comprising:
コンピュータを
データをファイルとして記憶し、当該ファイルに関する情報を管理するファイルシステムが格納された記憶手段、
前記ファイルシステムからファイルネームを取得するファイルネーム取得手段、
前記ファイルネーム取得手段によって取得されたファイルネームが当該ファイルネーム取得手段によって取得可能な文字数以上である場合は、前記ファイルシステムから当該ファイルネームに対応するファイルのファイル形式に関する情報である拡張子の文字列を取得し、当該ファイルネーム取得手段によって取得することができる文字数の文字列に対して当該拡張子の文字列を付加することで得られる文字列を、前記ファイルネーム取得手段が取り扱うファイルネームとするように制御する制御手段、
として機能させるためのプログラム。
A storage means for storing a file system for storing data as a file and managing information relating to the file;
File name acquisition means for acquiring a file name from the file system;
If the file name acquired by the file name acquisition unit is greater than or equal to the number of characters that can be acquired by the file name acquisition unit, characters of an extension that is information on the file format of the file corresponding to the file name from the file system A string obtained by adding a character string of the extension to a character string of the number of characters that can be acquired by the file name acquisition means, and a file name handled by the file name acquisition means Control means to control,
Program to function as.
JP2007091044A 2007-03-30 2007-03-30 File name acquisition device, file name acquisition method, and program Active JP4998051B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007091044A JP4998051B2 (en) 2007-03-30 2007-03-30 File name acquisition device, file name acquisition method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007091044A JP4998051B2 (en) 2007-03-30 2007-03-30 File name acquisition device, file name acquisition method, and program

Publications (2)

Publication Number Publication Date
JP2008250668A JP2008250668A (en) 2008-10-16
JP4998051B2 true JP4998051B2 (en) 2012-08-15

Family

ID=39975540

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007091044A Active JP4998051B2 (en) 2007-03-30 2007-03-30 File name acquisition device, file name acquisition method, and program

Country Status (1)

Country Link
JP (1) JP4998051B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102298596B (en) * 2010-06-23 2014-07-30 北京爱国者信息技术有限公司 File manager and file management method for the same

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000078517A (en) * 1998-08-28 2000-03-14 Konica Corp Digital still camera
JP2001154893A (en) * 1999-11-25 2001-06-08 Pfu Ltd File retrieving device and computer readable recording medium
JP2002149701A (en) * 2000-11-10 2002-05-24 Canon Inc System and method for database management, storage medium, and program
JP3875861B2 (en) * 2001-08-20 2007-01-31 株式会社ケンウッド Information recording apparatus, information recording method, and program
JP2004185450A (en) * 2002-12-05 2004-07-02 Oki Electric Ind Co Ltd Management method for long file name
JP2005117538A (en) * 2003-10-10 2005-04-28 Matsushita Electric Ind Co Ltd Image compression information display method and display device

Also Published As

Publication number Publication date
JP2008250668A (en) 2008-10-16

Similar Documents

Publication Publication Date Title
JP5631639B2 (en) AV equipment
JP4500730B2 (en) Karaoke device and electronic sample device
JP2007025001A (en) Sound recording device, method, and program
JP4998051B2 (en) File name acquisition device, file name acquisition method, and program
KR20000017494A (en) Portable mp3 player having various functions
JP2007080304A (en) Audio equipment and musical piece reproducing method
JP5304611B2 (en) Screen display control device and device including the same
US6525251B1 (en) Method of displaying the title and words of songs on a digital music player
JP3615194B2 (en) Information reproducing apparatus and information reproducing method with image display
JP4994182B2 (en) Audio equipment
JP2007179632A (en) In-vehicle reproduction system
KR100708298B1 (en) Apparatus and Method for Providing Word Information Digital Audio Source of Mobile Communication Terminal
KR100708197B1 (en) Apparatus for reproducing audio/video using flexible screen
JP4713764B2 (en) Data playback device
JP2008108334A (en) Reproducing device and program
JP4187444B2 (en) Audio recording / playback device
JP2007263994A (en) Karaoke reproduction device
JP3866056B2 (en) Audio signal reproducing apparatus and audio signal reproducing method
JP2010123152A (en) Sound recording device, program, and sound recording method
JP4222665B2 (en) Audio recording / playback device
JP3875861B2 (en) Information recording apparatus, information recording method, and program
JP5945448B2 (en) Electronic device, recording method and program
JP3611985B2 (en) Digital voice recording and playback device
JP2006065958A (en) Digital data reproducing device, digital data reproduction processing device, and digital data reproduction method
KR101164248B1 (en) Universal serial bus interlock car audio system and control method thereof

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20100305

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110225

A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20111012

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20120412

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

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

R150 Certificate of patent or registration of utility model

Ref document number: 4998051

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20150525

Year of fee payment: 3