JP2005317107A - Data processing program - Google Patents

Data processing program Download PDF

Info

Publication number
JP2005317107A
JP2005317107A JP2004133819A JP2004133819A JP2005317107A JP 2005317107 A JP2005317107 A JP 2005317107A JP 2004133819 A JP2004133819 A JP 2004133819A JP 2004133819 A JP2004133819 A JP 2004133819A JP 2005317107 A JP2005317107 A JP 2005317107A
Authority
JP
Japan
Prior art keywords
data
compression
reproduction
buffer memory
thread
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2004133819A
Other languages
Japanese (ja)
Inventor
Takehiko Yasuda
威彦 安田
Yoshiteru Adachi
佳輝 足立
Yuji Kaihatsu
勇治 開發
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP2004133819A priority Critical patent/JP2005317107A/en
Priority to PCT/JP2005/004603 priority patent/WO2005106871A1/en
Publication of JP2005317107A publication Critical patent/JP2005317107A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Signal Processing For Digital Recording And Reproducing (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a data processing program capable of executing the reproduction process using these data while suppressing a CPU load when a high speed ripping of the information data is carried out from an external memory such as a disk-like recording medium. <P>SOLUTION: A thread T1 of storage means function for storing the data stored in the disk-like medium 10 to a storage device 13, a thread T2 of compression means function for compressing the data stored in the storage device 13 by the storage means, and a thread T4 of reproduction means function for reproducing the data stored in the storage device 13 when the compression is performed by the compression means, are executed by a computer, thereby the computer functions as these means. An adoption of a thread T5 is preferable, which exerts the function of the reproduction means for reproducing the data compressed by the compression means when the data compression performed by the compression means is completed. <P>COPYRIGHT: (C)2006,JPO&NCIPI

Description

本発明は、データ処理プログラムに関し、特に、媒体ディスク等から読み取った情報の蓄積および再生装置に装備して好適なデータ処理プログラム、更にナビゲーションシステムに装備して効果的なデータ処理プログラムに関する。   The present invention relates to a data processing program, and more particularly to a data processing program suitable for use in an apparatus for storing and reproducing information read from a medium disk or the like, and further to an effective data processing program for use in a navigation system.

従来のこの種のデータ処理プログラムは、例えば図4に示すような録音再生装置の制御プログラムとして知られている(例えば特許文献1参照)。この装置は、ピックアップ31に加え、情報記録部を構成する構成要素としてアナログディジタルコンバータ(以下、単にADコンバータという)33、圧縮回路34、記録用バッファメモリ35、エンコーダ36および記録回路37を有するとともに、情報再生部を構成する構成要素として再生回路38、デコーダ39、再生用バッファメモリ40、伸張回路41およびディジタルアナログコンバータ(以下、単にDAコンバータという)42を有し、更にこれらを制御するCPU43を備えている。   A conventional data processing program of this type is known as a control program for a recording / playback apparatus as shown in FIG. 4 (see, for example, Patent Document 1). In addition to the pickup 31, this apparatus has an analog / digital converter (hereinafter simply referred to as an AD converter) 33, a compression circuit 34, a recording buffer memory 35, an encoder 36 and a recording circuit 37 as components constituting the information recording unit. The information reproduction unit includes a reproduction circuit 38, a decoder 39, a reproduction buffer memory 40, a decompression circuit 41, and a digital / analog converter (hereinafter simply referred to as a DA converter) 42, and further includes a CPU 43 for controlling them. I have.

外部からの入力データSinは、ADコンバータ33でディジタル信号に変換された後、圧縮回路34で圧縮され、記録用バッファメモリ35に一時的に蓄えられる。ここで蓄積されたデータは、エンコーダ36により圧縮符号化され、符号化情報として記録回路37に送られる。そして、この記録回路37で、CPU43からの所定の書込み制御信号に従って、符号化済み情報の媒体ディスク30への書込み処理がなされる。   Input data Sin from the outside is converted into a digital signal by the AD converter 33, compressed by the compression circuit 34, and temporarily stored in the recording buffer memory 35. The accumulated data is compressed and encoded by the encoder 36 and sent to the recording circuit 37 as encoded information. In the recording circuit 37, the encoded information is written to the medium disk 30 in accordance with a predetermined write control signal from the CPU 43.

媒体ディスク30に記録された情報は、ピックアップ31を介して再生回路38に読み込まれ、デコーダ39で復号処理された後、再生用バッファメモリ40に一旦蓄えられ、順次伸張回路41に取り込まれて伸張され、DAコンバータ42でアナログ出力される。
特開平11−273246号公報
Information recorded on the medium disk 30 is read into the reproduction circuit 38 via the pickup 31, decoded by the decoder 39, temporarily stored in the reproduction buffer memory 40, and sequentially taken into the expansion circuit 41 for expansion. The analog signal is output from the DA converter 42.
JP-A-11-273246

上述のような従来の録音再生を行なうデータ処理プログラムにおいては、媒体ディスク30の音楽情報をリッピングするためのデータエンコード処理中に、特に媒体ディスク30の高倍速読み取りのため、あるいはこの媒体ディスク30の音楽情報を伸張する必要から、任意の楽曲の再生を行なうことができないという問題があった。   In the conventional data processing program for recording and reproducing as described above, during the data encoding process for ripping the music information on the medium disk 30, especially for reading the medium disk 30 at high speed, or on the medium disk 30. There is a problem that it is not possible to reproduce an arbitrary music piece because it is necessary to expand the music information.

また、高速リッピング中にはCPU(Central Processing Unit)の負荷が大きくなり、実質的に何も他の操作ができなくなることがあった。   In addition, during high-speed ripping, the load on the CPU (Central Processing Unit) increases, and there are cases where virtually no other operations can be performed.

本発明は、従来の問題を解決するためになされたもので、ディスク状記録媒体等の外部メモリから情報データを高速リッピングするときに、そのデータを用いた再生処理をCPU負荷を抑えながら実行することのできるデータ処理プログラムを提供することを目的とする。   The present invention has been made to solve the conventional problems. When information data is ripped at high speed from an external memory such as a disk-shaped recording medium, the reproduction process using the data is executed while suppressing the CPU load. An object of the present invention is to provide a data processing program that can be used.

本発明のデータ処理装置は、上記目的達成のため、コンピュータを、外部メモリに記憶されたデータをストレージデバイスに格納する格納手段と、前記格納手段によって前記ストレージデバイスに格納されたデータを圧縮する圧縮手段と、前記圧縮手段が圧縮している場合に前記ストレージデバイスに格納されたデータを再生する再生手段として機能させることを特徴とする。   In order to achieve the above object, a data processing apparatus according to the present invention includes a storage unit that stores data stored in an external memory in a storage device, and a compression that compresses the data stored in the storage device by the storage unit. And a means for reproducing data stored in the storage device when the compression means is compressing.

この構成により、圧縮手段がデータ圧縮処理を実行している間であっても、ストレージデバイスに読み取りデータ形式で一旦格納されているデータを使って、デコード処理をすることなく再生手段による再生処理を実行することができることになる。   With this configuration, even when the compression unit is executing the data compression process, the reproduction process by the reproduction unit is performed without performing the decoding process using the data once stored in the read data format in the storage device. Will be able to execute.

本発明のデータ処理プログラムにおいては、前記再生手段は、前記圧縮手段によるデータ圧縮が完了した場合に前記圧縮手段によって圧縮されたデータを再生することを特徴とする。   In the data processing program of the present invention, the reproducing means reproduces the data compressed by the compressing means when the data compression by the compressing means is completed.

この構成により、エンコード処理が完了した状態では圧縮データのデコード処理を行ないながら、蓄積データを用いた多様な再生を行なうことができることになる。   With this configuration, it is possible to perform various reproductions using the stored data while performing the decoding process of the compressed data when the encoding process is completed.

本発明によれば、圧縮手段がデータ圧縮処理を実行している間であっても、ストレージデバイスに読み取りデータ形式で一旦格納されているデータを使って、デコード処理をすることなく再生手段による再生出力処理を実行できるので、ディスク状記録媒体等の外部メモリから情報データを高速リッピングするような場合であっても、そのデータを用いた再生処理をCPU負荷を抑えながら確実に実行することのできるデータ処理プログラムを提供することができる。   According to the present invention, even when the compression unit is executing the data compression process, the data stored once in the read data format in the storage device is used for the reproduction by the reproduction unit without performing the decoding process. Since output processing can be executed, even when information data is ripped at high speed from an external memory such as a disk-shaped recording medium, reproduction processing using the data can be reliably executed while suppressing the CPU load. A data processing program can be provided.

以下、本発明の一の実施の形態について、図面を参照しつつ説明する。   Hereinafter, an embodiment of the present invention will be described with reference to the drawings.

本実施の形態は、本発明のデータ処理プログラムを車載用ナビゲーションシステムの録音再生装置(以下、単に録音再生装置という)に装備したものである。   In this embodiment, the data processing program of the present invention is installed in a recording / reproducing apparatus (hereinafter simply referred to as a recording / reproducing apparatus) of an in-vehicle navigation system.

図1に概略構成を示すように、本実施の形態の録音再生装置は、ディスク状記録媒体1(外部メモリ)からの読み取りデータや他の外部メモリからの入力データを再生、圧縮および蓄積処理するマルチスレッド方式のプロセッサ11と、このプロセッサ11によってアクセスされる第1のバッファメモリ12と、プロセッサ11によってアクセスされる第2のバッファメモリ13とを備えている。   As shown schematically in FIG. 1, the recording / reproducing apparatus of the present embodiment reproduces, compresses and stores read data from the disk-shaped recording medium 1 (external memory) and input data from another external memory. A multi-thread processor 11, a first buffer memory 12 accessed by the processor 11, and a second buffer memory 13 accessed by the processor 11 are provided.

ディスク状記録媒体1は、所定のデータを記憶するリムーバブルな記録媒体で、例えば光学的読取りが可能なCD(Compact Disc)、DVD(Digital Versatile Disc)その他の光ディスクで構成されている。ディスク状記録媒体1に記録されるデータは、例えばCD−DA(Compact Disc Digital Audio)のようなPCM(Pulse Code Modulation)ディジタルオーディオデータであるが、MP3(MPeg audio layer 3)圧縮データでもよいし、画像データを含んでもよく、特に限定されるものではない。また、ディスク状記録媒体1は、光ディスクに限定されるものではなく、第1のバッファメモリ12および第2のバッファメモリ13のいずれよりも読出しデータの転送速度が遅くならざるを得ない着脱方式(リムーバブル)のデータ記録媒体となっている。   The disc-shaped recording medium 1 is a removable recording medium for storing predetermined data, and is composed of, for example, an optically readable CD (Compact Disc), a DVD (Digital Versatile Disc), or other optical disks. The data recorded on the disc-shaped recording medium 1 is PCM (Pulse Code Modulation) digital audio data such as CD-DA (Compact Disc Digital Audio), but may be MP3 (MPeg audio layer 3) compressed data. The image data may be included and is not particularly limited. Further, the disc-shaped recording medium 1 is not limited to an optical disc, and an attaching / detaching method in which the transfer rate of read data must be slower than either the first buffer memory 12 or the second buffer memory 13 ( It is a removable data recording medium.

このディスク状記録媒体1に記録されたデータは、CD/DVDデッキその他のディスクドライブ10によって読み取られ、所定のデータ転送速度で転送出力される。すなわち、ディスクドライブ10は外部メモリからデータを入力して転送する手段となっている。このディスクドライブ10は、CDやDVDといったディスク状記録媒体1に記録されたデータの再生のみならず、追記型、書き換え型等の所定形式のディスク状記録媒体1についてのデータ書き込みも可能なものである。   Data recorded on the disk-shaped recording medium 1 is read by a CD / DVD deck or other disk drive 10 and transferred and output at a predetermined data transfer speed. That is, the disk drive 10 is a means for inputting and transferring data from an external memory. The disc drive 10 is capable of not only reproducing data recorded on a disc-shaped recording medium 1 such as a CD or a DVD, but also writing data on a disc-shaped recording medium 1 of a predetermined format such as a write-once type or a rewritable type. is there.

プロセッサ11はCPU、メモリおよびインターフェースを含んだマイクロコンピュータ構成のもので、そのデータ処理に際しては、第1のバッファメモリ12および第2のバッファメモリ13との間で処理対象データの授受を行なうとともに、ディスクドライブ10に対しても、ダイレクトメモリアクセス方式のデータ転送処理(以下、単にDMA転送という)を実行させる。   The processor 11 has a microcomputer configuration including a CPU, a memory, and an interface. In processing the data, the processor 11 exchanges data to be processed with the first buffer memory 12 and the second buffer memory 13. The disk drive 10 is also made to execute a direct memory access type data transfer process (hereinafter simply referred to as DMA transfer).

第1のバッファメモリ12は、プロセッサ11でのデータ処理に供されるデータを読出し可能に記憶し、処理中のプロセッサ11との間でデータを授受する。この第1のバッファメモリ12は、データ記憶容量が例えば2メガバイト程度の高速バッファメモリとして機能する半導体メモリ素子で構成されている。   The first buffer memory 12 stores data used for data processing in the processor 11 in a readable manner, and exchanges data with the processor 11 being processed. The first buffer memory 12 is composed of a semiconductor memory element that functions as a high-speed buffer memory having a data storage capacity of, for example, about 2 megabytes.

プロセッサ11は、再生要求入力に対応して読み取りデータを通常再生可能な読み取り時のデータ形式、例えばPCMディジタルオーディオデータ形式で第2のバッファメモリ13の第1の記憶領域(図1中のLBA領域)に一時的に蓄えさせる格納手段としての読み取り機能スレッドT1と、録音要求入力に対応して読み取りデータの圧縮符号化処理、例えばAAC(Advanced Audio Coding)エンコード処理を行なう圧縮手段としてのエンコード機能スレッドT2と、エンコード処理されたデータを例えば1曲分の楽曲データファイルとして第2のバッファメモリ13の第2の記憶領域(図1中のFAT領域)に蓄積記録、ここでは録音させる蓄積記録機能スレッドT3と、再生要求入力に対して第2のバッファメモリ13に一時的に蓄えられた格納データ、例えばPCMディジタルオーディオデータに基づいて音声再生出力させる再生手段としての第1の再生機能スレッドT4と、エンコード処理され第2のバッファメモリ13のFAT領域に蓄積記録されたデータ、例えば1曲分のAACデータファイルを読み出して再生可能にデコード処理する圧縮完了後の再生手段としてのデコード機能スレッドT5とを実行し、更に、その他の複数のスレッドT6、例えばナビゲーション地図上の自車位置情報更新、探索処理、映像再生、ヒューマン・マシン・インターフェース(以下、HMIという)操作等のためのスレッドを実行することができる。   The processor 11 corresponds to the reproduction request input, and the first storage area (the LBA area in FIG. 1) of the second buffer memory 13 in the data format at the time of reading that can normally reproduce the read data, for example, the PCM digital audio data format. Read function thread T1 serving as a storage means for temporarily storing data, and an encode function thread serving as a compression means for performing compression encoding processing of read data corresponding to a recording request input, for example, AAC (Advanced Audio Coding) encoding processing T2 and an accumulation recording function thread for recording and recording the encoded data as a music data file for one song, for example, in the second storage area (FAT area in FIG. 1) of the second buffer memory 13 T3 and temporarily stored in the second buffer memory 13 for the playback request input First reproduction function thread T4 as reproduction means for reproducing and outputting sound based on stored data, for example, PCM digital audio data, and data that has been encoded and accumulated and recorded in the FAT area of the second buffer memory 13, for example, one song And a decoding function thread T5 as a reproducing means after completion of compression for decoding and reproducibly decoding the AAC data file, and further updating a plurality of other threads T6, for example, vehicle position information on the navigation map Threads for search processing, video playback, human machine interface (hereinafter referred to as HMI) operations, and the like can be executed.

第2のバッファメモリ13のLBA(Logical Block Addressing)領域は、記録情報を論理ブロックアドレス管理で迅速に読み出すことができる第1の記憶領域となっており、第2のバッファメモリ13のFAT(File Allocation Table)領域は、所定の一つ又は複数のOS(Operating System)で取り扱われる所定ファイル形式のファイル情報を読み出し可能に記録保存する第2の記憶領域となっている。   The LBA (Logical Block Addressing) area of the second buffer memory 13 is a first storage area from which recorded information can be quickly read out by logical block address management. The FAT (File) of the second buffer memory 13 The Allocation Table) area is a second storage area that records and saves file information in a predetermined file format that is handled by one or more predetermined operating systems (OS).

第2のバッファメモリ13は、より具体的には、例えば図2に示すように、読み取り専用の第1LBA領域A1、地図データ用FAT領域A2、音楽データ用TFAT(Transaction-safe FAT)領域A3、HMIデータ用FAT領域A4、リッピング用PCMデータ格納領域であるワーク領域A5を有している。なお、TFAT領域では、エンコード済みのAACデータがTFATファイルシステムのファイル形式で読出し可能に記録される。TFATファイルシステムは、電源電力低下時等におけるメモリカードやハードディスク上でのトランザクションデータの消失防止を図ったものである。   More specifically, for example, as shown in FIG. 2, the second buffer memory 13 includes a read-only first LBA area A1, a map data FAT area A2, a music data TFAT (Transaction-safe FAT) area A3, It has an FAT area A4 for HMI data and a work area A5 which is a ripping PCM data storage area. In the TFAT area, encoded AAC data is recorded so as to be readable in the file format of the TFAT file system. The TFAT file system is intended to prevent the loss of transaction data on a memory card or hard disk when the power supply is reduced.

第2のバッファメモリ13のアクセス速度であるデータの書込みおよび読出しの速度は、ディスクドライブ10からの読み取りデータの転送速度より速く、かつ、第1のバッファメモリ12のデータ転送速度より遅くなっている。また、第2のバッファメモリ13は、第1のバッファメモリ12の記憶容量よりも大きな記憶容量を有するストレージデバイスであり、例えば耐振動性能の優れたハードディスクドライブあるいはメモリカードで構成されている。   The speed of data writing and reading, which is the access speed of the second buffer memory 13, is faster than the transfer speed of read data from the disk drive 10 and slower than the data transfer speed of the first buffer memory 12. . The second buffer memory 13 is a storage device having a storage capacity larger than the storage capacity of the first buffer memory 12, and is composed of, for example, a hard disk drive or a memory card having excellent vibration resistance performance.

次に、図1、図2を参照して、本実施の形態の録音再生装置における読み取りデータの格納、圧縮および蓄積録音、再生にかかるデータの概略の流れを説明する。   Next, referring to FIG. 1 and FIG. 2, a general flow of data related to storage, compression and accumulation recording and reproduction of read data in the recording / reproducing apparatus of the present embodiment will be described.

ディスク状記録媒体1に記録されたCD−DAデータは、プロセッサ11の読み取り機能スレッドT1(格納手段)の要求に応じて、ATAPIドライバーを搭載したディスクドライブ10によって読み取られ、例えば170キロバイトから1.7メガバイト程度の所定のデータ転送速度で、DMA(Direct Memory Access)転送出力される。このデータの流れを、図1中に矢印daで示す。   The CD-DA data recorded on the disk-shaped recording medium 1 is read by the disk drive 10 equipped with the ATAPI driver in response to a request from the reading function thread T1 (storage means) of the processor 11, for example, from 170 kilobytes to 1. DMA (Direct Memory Access) transfer is output at a predetermined data transfer rate of about 7 megabytes. This data flow is indicated by an arrow da in FIG.

ここで転送出力された読み取りデータは、例えばディスク状記録媒体1上での記録トラックの1トラックのデータ(以下、トラックデータという)を書き込み単位として、第2のバッファメモリ13の第2LBA領域A5における複数の論理ブロックに書き込まれる。第2のバッファメモリ13へのこのようなデータの書込み(格納)は、図2中にTRK1,TRK2,TRK3・・と示すように、トラック番号順に順次論理ブロックアドレスを割り付けながら、ディスク状記録媒体1上の全記録トラックのデータについて実行される。   The read data transferred and output here is, for example, in the second LBA area A5 of the second buffer memory 13 with the data of one track of the recording track on the disk-shaped recording medium 1 (hereinafter referred to as track data) as a writing unit. Written to multiple logical blocks. Such data is written (stored) in the second buffer memory 13 as shown in FIG. 2 by assigning logical block addresses in order of track numbers as indicated by TRK1, TRK2, TRK3,. This is executed for the data of all the recording tracks on one.

したがって、書き込み完了後は、第2LBA領域A5中の論理ブロックアドレスを指定することにより、プロセッサ11が任意のトラックデータを第2のバッファメモリ13から即座に読み出すことができる。   Therefore, after the writing is completed, the processor 11 can immediately read arbitrary track data from the second buffer memory 13 by designating the logical block address in the second LBA area A5.

第2のバッファメモリ13からの格納データの読出しには、データ書き込み単位毎の論理ブロックアドレス情報を基に、AACエンコード処理のためのデータ読出し(図1に矢印dbで示す)と、このデータ読出中のトラックとは異なる他のトラックのPCMデータを再生出力に使うための再生出力(図1に矢印dcで示す)という複数の読出しパスが準備されている。   Reading stored data from the second buffer memory 13 includes reading data for AAC encoding processing (indicated by an arrow db in FIG. 1) based on logical block address information for each data writing unit, and reading this data. A plurality of read paths called reproduction output (indicated by arrow dc in FIG. 1) for using PCM data of another track different from the inner track for reproduction output are prepared.

この格納データ読出しに際しては、プロセッサ11のエンコード機能スレッドT2(圧縮手段)によるAACエンコード処理を実行し、プロセッサ11の蓄積記録機能スレッドT3により所定ファイルサイズのAACデータを順次第2のバッファメモリ13に蓄積記録(図1に矢印deで示す)して録音することができる。   When this stored data is read, AAC encoding processing by the encoding function thread T2 (compression means) of the processor 11 is executed, and AAC data of a predetermined file size is sequentially stored in the second buffer memory 13 by the storage recording function thread T3 of the processor 11. Recording can be performed by accumulation recording (indicated by an arrow de in FIG. 1).

一方、プロセッサ11の第1の再生機能スレッドT4(再生手段)により、読出し時のままのPCMデータ形式のトラックデータを順次使って、所望の楽曲のPCM再生が行なわれる。さらに、第2のバッファメモリ13に蓄積されているオーディオデータについては、プロセッサ11の第2の再生機能スレッドT5(圧縮完了後の再生手段)により、再生要求入力に応じて適宜デコード処理され、アンプ15およびスピーカ16により再生音声出力される。   On the other hand, the first reproduction function thread T4 (reproduction means) of the processor 11 sequentially uses the track data in the PCM data format as it is read and performs PCM reproduction of the desired music piece. Further, the audio data stored in the second buffer memory 13 is appropriately decoded by the second reproduction function thread T5 (reproduction means after completion of compression) of the processor 11 according to the reproduction request input, and the amplifier 15 and the speaker 16 output the reproduced sound.

上述したPCM再生とAACデコーディングによる再生との切換えは、図3に示すような判別処理を所定周期で繰り返し実行することで達成される。   Switching between the above-described PCM reproduction and reproduction by AAC decoding is achieved by repeatedly executing a discrimination process as shown in FIG. 3 at a predetermined period.

図3において、まず、ユーザー操作に基づく録音要求があるか否かがチェックされ(ステップS1)、要求があれば、プロセッサ11の読み取り機能スレッドT1によりディスク状記録媒体1からのデータの読み出しが実行され(ステップS2)、その読取りデータが第2のバッファメモリ13のLBA領域に格納される(ステップS3)。そして、その格納データを基に、エンコード機能スレッドT2によるAACエンコード処理、すなわち読取りデータの圧縮符号化が行なわれ、蓄積記録機能スレッドT3により圧縮データが例えば楽曲単位で第2のバッファメモリ13のFAT領域に所定のファイル形式で蓄積録音される(ステップS4)。   In FIG. 3, first, it is checked whether or not there is a recording request based on a user operation (step S1). If there is a request, reading of data from the disk-shaped recording medium 1 is executed by the reading function thread T1 of the processor 11. The read data is stored in the LBA area of the second buffer memory 13 (step S3). Based on the stored data, AAC encoding processing by the encoding function thread T2, that is, compression encoding of the read data is performed, and the compressed data is stored in the FAT of the second buffer memory 13 in units of music by the storage recording function thread T3. Accumulated and recorded in the area in a predetermined file format (step S4).

先のチェック時に録音要求がない場合(ステップS1でYESの場合)、あるいは、ステップS4でのデータ圧縮及び録音が開始された場合には、次いで、ユーザー操作に基づく再生要求の有無が判別される(ステップS5)。このとき、再生要求があれば(ステップS5でYESの場合)、データ圧縮のためのAACエンコード処理の実行中か否かがチェックされ(ステップS6)、AACエンコード中であれば(ステップS6でYESの場合)、第1の再生機能スレッドT4によりAACエンコード処理のための読出しとは別パスで第2のバッファメモリ13のLBA領域からPCMオーディオデータが読み出されて、再生音声出力がなされる(ステップS7)。   If there is no recording request at the time of the previous check (in the case of YES in step S1), or if data compression and recording are started in step S4, then it is determined whether there is a reproduction request based on the user operation. (Step S5). At this time, if there is a reproduction request (YES in step S5), it is checked whether or not the AAC encoding process for data compression is being executed (step S6), and if AAC encoding is in progress (YES in step S6). In this case, the first playback function thread T4 reads PCM audio data from the LBA area of the second buffer memory 13 in a different path from the reading for the AAC encoding process, and outputs playback audio ( Step S7).

ステップS6でAACエンコード処理が完了している場合には、圧縮完了後の再生手段であるデコード機能スレッドT5により再生要求のある楽曲について圧縮データのデコード処理がなされ、再生音声が出力される(ステップS8)。   If the AAC encoding process is completed in step S6, the decoding function thread T5, which is a reproducing means after compression completion, performs the decoding process of the compressed data for the music requested to be reproduced, and outputs the reproduced sound (step S6). S8).

このような本実施の形態のデータ処理プログラムにおいては、コンピュータであるプロセッサ11に上述のようなスレッドT1ないしT5の処理をそれぞれ実行させることにより、プロセッサ11を、ディスク状記録媒体1に記憶されたデータを第2のバッファメモリ13に格納する格納手段(スレッドT1)と、その格納手段によって第2のバッファメモリ13に格納されたデータを圧縮する圧縮手段(スレッドT2)と、この圧縮手段が圧縮している場合に第2のバッファメモリ13に格納されたデータを再生する再生手段(スレッドT4)として機能させることができる。   In the data processing program of this embodiment, the processor 11 is stored in the disk-shaped recording medium 1 by causing the processor 11 which is a computer to execute the processes of the threads T1 to T5 as described above. Storage means (thread T1) for storing data in the second buffer memory 13, compression means (thread T2) for compressing data stored in the second buffer memory 13 by the storage means, and compression by the compression means In this case, the data stored in the second buffer memory 13 can be made to function as reproducing means (thread T4).

したがって、圧縮手段スレッドT2がデータ圧縮処理を実行している間であっても、第2のバッファメモリ13に読み取り時のデータ形式で一旦格納されているデータを使って、処理負荷の大きいデコード処理をすることなく、再生手段スレッドT4による再生処理を実行することができる。そして、さらに、圧縮データとPCMデータの再生割合を制御することで、CPU負荷を軽減し、ソフトウェアエンコードの処理能力を高めることができる。   Therefore, even during the time when the compression means thread T2 is executing the data compression process, the data stored once in the data format at the time of reading in the second buffer memory 13 is used to perform a decoding process with a large processing load. The reproduction process by the reproduction means thread T4 can be executed without doing this. Further, by controlling the reproduction ratio of the compressed data and the PCM data, it is possible to reduce the CPU load and increase the software encoding processing capability.

具体的には、例えばCD一枚分の全曲リッピングが完了するまでは、PCM再生処理を実行し、リッピング中にはエンコード処理に十分なCPU時間割当を行なうことができるから、リッピング速度を向上させることができる。また、高速リッピング中でも次曲や全曲を指定して再生できる。ただし、1曲以上リッピングできていないようなエンコード処理開始直後の場合には、リッピングを中止して再生処理してもよい。   Specifically, for example, PCM playback processing is executed until ripping of all CDs for one CD is completed, and CPU time allocation sufficient for encoding processing can be performed during ripping, so that the ripping speed is improved. be able to. You can also specify and play the next song or all songs even during high-speed ripping. However, when the encoding process is started immediately after ripping of one or more songs, the ripping may be stopped and the reproduction process may be performed.

さらに、本発明のデータ処理プログラムにおいては、圧縮手段によるデータ圧縮が完了した場合に、圧縮完了後の再生手段スレッドT5が圧縮手段によって圧縮されたデータを再生するので、エンコード処理が完了した状態では圧縮データのデコード処理を行なって、蓄積データを用いた多様な再生を行なうことができる。   Furthermore, in the data processing program of the present invention, when the data compression by the compression means is completed, the reproduction means thread T5 after completion of the compression reproduces the data compressed by the compression means. A variety of reproductions using stored data can be performed by decoding compressed data.

以上のように、本発明のデータ処理プログラムは、圧縮手段がデータ圧縮処理を実行している間であっても、ストレージデバイスに読み取りデータ形式で一旦格納されているデータを使って、デコード処理をすることなく再生手段による再生処理を実行でき、ディスク状記録媒体等の外部メモリから情報データを高速リッピングするような場合であっても、そのデータを用いた再生処理をCPU負荷を抑えながら確実に実行することができるという効果を有し、媒体ディスク等から読み取った情報の蓄積および再生装置に装備して好適なデータ処理プログラム、更にナビゲーションシステムに装備して効果的なデータ処理プログラムとして有用である。   As described above, the data processing program of the present invention performs the decoding process using the data once stored in the read data format in the storage device even while the compression unit executes the data compression process. Even when information data is ripped at high speed from an external memory such as a disk-shaped recording medium, the reproduction process using the data can be reliably performed while suppressing the CPU load. It has the effect of being able to be executed, and is useful as a data processing program suitable for storing and reproducing information read from a medium disk or the like, and also as an effective data processing program equipped for a navigation system. .

本発明の一の実施の形態におけるデータ処理プログラムを装備した車載用ナビゲーションシステムの録音再生装置の概略構成を示すブロック図The block diagram which shows schematic structure of the recording / reproducing apparatus of the vehicle-mounted navigation system provided with the data processing program in one embodiment of this invention 本発明の一の実施の形態におけるストレージデバイスの記憶領域の構造を説明する説明図Explanatory drawing explaining the structure of the storage area of the storage device in one embodiment of this invention 本発明の一の実施の形態におけるデータ処理プログラムの要部フローチャートThe principal part flowchart of the data processing program in one embodiment of this invention 従来の録音再生装置の構成を示すブロック図Block diagram showing the configuration of a conventional recording / playback apparatus

符号の説明Explanation of symbols

1 ディスク状記録媒体
11 プロセッサ(コンピュータ)
12 第1のバッファメモリ
13 第2のバッファメモリ(ストレージデバイス)
A1 読み取り専用の第1LBA領域
A2 地図データ用FAT領域
A3 音楽データ用TFAT(Transaction-safe FAT)領域
A4 HMIデータ用FAT領域
A5 リッピング用PCMデータ格納領域であるワーク領域
1 Disc-shaped recording medium 11 Processor (computer)
12 First buffer memory 13 Second buffer memory (storage device)
A1 First read-only LBA area A2 FAT area for map data A3 TFAT (Transaction-safe FAT) area for music data A4 FAT area for HMI data A5 Work area that is a PCM data storage area for ripping

Claims (2)

コンピュータを、
外部メモリに記憶されたデータをストレージデバイスに格納する格納手段と、
前記格納手段によって前記ストレージデバイスに格納されたデータを圧縮する圧縮手段と、
前記圧縮手段が圧縮している場合に前記ストレージデバイスに格納されたデータを再生する再生手段として機能させることを特徴とするデータ処理プログラム。
Computer
Storage means for storing data stored in an external memory in a storage device;
Compression means for compressing data stored in the storage device by the storage means;
A data processing program that functions as a reproducing unit that reproduces data stored in the storage device when the compressing unit compresses the data.
前記再生手段は、前記圧縮手段によるデータ圧縮が完了した場合に前記圧縮手段によって圧縮されたデータを再生することを特徴とする請求項1に記載のデータ処理プログラム。 The data processing program according to claim 1, wherein the reproduction unit reproduces the data compressed by the compression unit when data compression by the compression unit is completed.
JP2004133819A 2004-04-28 2004-04-28 Data processing program Pending JP2005317107A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2004133819A JP2005317107A (en) 2004-04-28 2004-04-28 Data processing program
PCT/JP2005/004603 WO2005106871A1 (en) 2004-04-28 2005-03-16 Data processor and data processing program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004133819A JP2005317107A (en) 2004-04-28 2004-04-28 Data processing program

Publications (1)

Publication Number Publication Date
JP2005317107A true JP2005317107A (en) 2005-11-10

Family

ID=35444366

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004133819A Pending JP2005317107A (en) 2004-04-28 2004-04-28 Data processing program

Country Status (1)

Country Link
JP (1) JP2005317107A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8547810B2 (en) 2006-01-27 2013-10-01 Fujitsu Ten Limited Recording and reproducing device, recording and reproducing method, and vehicle-mounted recording and reproducing device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8547810B2 (en) 2006-01-27 2013-10-01 Fujitsu Ten Limited Recording and reproducing device, recording and reproducing method, and vehicle-mounted recording and reproducing device

Similar Documents

Publication Publication Date Title
WO2005106661A1 (en) Data processing program and data processing device
CN100505065C (en) Data processing circuit, data processing apparatus, data processing method, data processing control method
KR100367295B1 (en) An apparatus and method for writing a region code in a DVD driver
JP2003264800A (en) Information reproducing device
JP5301666B2 (en) Data recording apparatus and audio system
JP2005317107A (en) Data processing program
WO2005106871A1 (en) Data processor and data processing program
JP2002269913A (en) Information reproducing device and information reproducing method
JP2004102701A (en) Information processor, information processing method, program, and storage medium
JP4305262B2 (en) Ring buffer control method, ring buffer device, and data recording / reproducing device
JP2005317108A (en) Data processor
JP2004348785A (en) Data reproducing device and method for controlling the same
JP2008243300A (en) Reproducing device and recording device
JP3991228B2 (en) MP3 audio data playback processing method
JP2005228421A (en) Digital information recording/reproducing apparatus
JP2001325135A (en) Device and method for storing/reproducing data
JP4912165B2 (en) Audio recording / reproducing apparatus and audio recording / reproducing method
JP2001250331A (en) Information reproducing device
JP2001282588A (en) File management device
US7652955B2 (en) Audio encoding method and apparatus for electronic shock protection function in audio player
JP2001357612A (en) Recording and reproducing device
JP2002074824A (en) Speech information processing device and method therefor
JP2005078690A (en) Recording and reproduction control apparatus and method, and recording medium
JPWO2007080675A1 (en) Write-once file compatible disc playback apparatus and write-once file compatible disc playback method
JPH06250700A (en) Device and method for recording and/or reproducing data and data recording medium