JP4071460B2 - How to manage file information - Google Patents
How to manage file information Download PDFInfo
- Publication number
- JP4071460B2 JP4071460B2 JP2001200161A JP2001200161A JP4071460B2 JP 4071460 B2 JP4071460 B2 JP 4071460B2 JP 2001200161 A JP2001200161 A JP 2001200161A JP 2001200161 A JP2001200161 A JP 2001200161A JP 4071460 B2 JP4071460 B2 JP 4071460B2
- Authority
- JP
- Japan
- Prior art keywords
- file information
- file
- information
- check code
- memory
- 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
Links
Images
Landscapes
- Techniques For Improving Reliability Of Storages (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Description
【0001】
【発明の属する技術分野】
この発明は、ファイル情報の管理方法に関するものである。特に、CD−ROM(Compact Disc ROM)、CD−R(CD Recordable)等のリムーバルメディアより取得したファイル情報の信頼性を検証するための技術に関する。
【0002】
【従来の技術】
従来、一般に広く普及している音楽用CD(CD−DA)に記録できる曲数は99曲に限定されていた。しかし近年、MP3(MPEG-1, Audio layer-III)、AAC(Advanced Audio Coding)、WMA(Windows Media Audio)等に代表されるように、音楽データの圧縮技術は急速に進展している。これらの技術により音楽データを圧縮することで、記録容量の許す限りの曲数をCD−ROM、CD−R等に記録することが出来る。そして、これらのディスクに記録された曲は、音楽データファイルとして扱われ、ディレクトリまたはフォルダという概念で管理されている。
【0003】
このように、大量の音楽データファイルがディスクに記録されるようになると、直接ディスク内を検索する方法では、目標となるファイルへのアクセスに膨大な時間がかかることになる。そこで、ディスクに記録された各々のファイルの開始・終了アドレスやデータサイズ等の情報を、ディスク再生装置内の補助メモリ内に予め書き込んでおく。そして、この補助メモリ内の情報を用いることで、ディスク内に記録されたファイルへの高速アクセスを実現している。なお、補助メモリへのファイル情報の書き込みは、ディスク再生装置にディスクがセットされた時点で行われる。
【0004】
ところで、ディスク再生装置がオフ状態(スタンバイ状態)をはさんで再びオン状態に復帰した場合には、ファイル情報の再取得をせずに、補助メモリ内に保存されているファイル情報を用いて音楽データにアクセス出来ることが望ましい。そのためには、補助メモリ内に保存されているファイル情報の信頼性が重要となる。なぜなら、例えばスタンバイ状態中にファイル情報が破壊された場合等には、ディスクへのアクセスを正常に行うことが出来なくなるからである。そこで、補助メモリ内におけるファイル情報の管理方法が種々提案されている。
【0005】
【発明が解決しようとする課題】
従来のファイル情報の管理方法について図7(a)、(b)を用いて説明する。図7(a)、(b)は、補助メモリのメモリ空間の構成を示す概念図である。
【0006】
まず図7(a)に示す管理方法では、補助メモリのメモリ空間200内にファイル情報230を書き込むと同時に、メモリ空間200内の2点(若しくは3点)に同一データ(チェックデータ)260、260を書き込んでいる。そして、チェックデータ260、260の内容が同一か否かにより、ファイル情報230が正常であるか否かを判定する。
【0007】
しかし、この方法ではファイル情報そのものを見ておらず、信頼性に大きな不安を抱えるものであった。
【0008】
他方で、図7(b)に示す管理方法では、メモリ空間200内にファイル情報230を書き込むと同時に、ファイル情報230全体についてのチェックコード240を作成している。そして、ファイル情報230とチェックコード240とを照合することにより、ファイル情報230が正常か否かを判定する。
【0009】
しかし、この方法ではファイル情報が正常でないと判定されると、そのファイル情報の全てを破棄することになる。従って、ファイル情報のどの位置が破損しているのか、またどの程度の破損率であるか、といった情報が得られない。更に、メモリ空間200内にはファイル情報を格納するための一定容量の領域が予め確保される。ここで、実際にディスクに記録されているファイル、フォルダ数が、メモリ空間200に確保された当該領域の予定する数よりも少ない場合には、無効なデータが残存する空き領域が生ずる。しかし、図7(b)の方法では、この空き領域内に残存するデータも含めて、当該領域全体のデータに基づいてチェックコードを作成している。また、個々のファイル情報に着目しても、該ファイル情報の格納される領域が固定長である場合には、未使用領域を含めてチェックコードを作成せねばならない。従って、チェックコードの作成に必要な処理量が無駄に増加するという問題があった。
【0010】
この発明は、ファイル情報を個々に管理出来ると共に、チェックコードの作成に必要な処理量を削減できるファイル情報の管理方法を提供する。
【0011】
【課題を解決するための手段】
この発明の一態様に係るファイル情報の管理方法は、情報記録媒体に記録されている複数のファイル情報を読み出すステップと、前記ファイル情報に基づいて作成されたチェックコードを付加して該ファイル情報を補助メモリに記録するステップと、前記ファイル情報と前記チェックコードとを照合し、該ファイル情報が正常か否かを判定するステップと、前記判定するステップにおいて、前記ファイル情報が正常であると判定された場合には前記補助メモリ内のファイル情報を使用し、正常ではないと判定された場合には前記情報記録媒体から前記ファイル情報を再取得するステップとを具備し、前記チェックコードを付加して前記ファイル情報を補助メモリに記録するステップは、前記チェックコードを各々のファイル情報毎に作成、付加し、前記チェックコードが付加された複数の前記ファイル情報は、前記補助メモリ内において予め決められたメモリ容量を有する情報ブロック毎に格納され、前記情報ブロック内に前記ファイル情報を格納した結果、該情報ブロック内に空き領域が存在する場合には、前記チェックコードは、該空き領域内に存するデータを無視し、該情報ブロック内に占める該ファイル情報のみによって作成され、前記ファイル情報は、該ファイルのファイル名及びファイル名長を含み、前記チェックコードは、前記情報ブロック内における前記ファイル名の先頭から前記ファイル名長以降のデータを無視して作成される。
【0014】
【発明の実施の形態】
以下、この発明の実施形態を図面を参照して説明する。この説明に際し、全図にわたり、共通する部分には共通する参照符号を付す。
【0015】
この発明の第1の実施形態に係るファイル情報の管理方法について説明する。図1はディスク再生装置の概要を示すブロック図である。
【0016】
図示するように、ディスク再生装置10は、再生部11、デジタル信号プロセッサ(DSP)12、メモリ13、CPU14、操作パネル15、及びスピーカ16、17を有している。
【0017】
再生部11にはディスク18がセットされ、ディスク18に記録されたデータを再生する。ディスク18は、CD−DA、CD−ROM、CD−R等を含むものである。そして、ディスク18がCD−DAである場合には、ディスク18より得られるデジタルステレオ信号をアナログステレオ信号に変換し、スピーカ16で再生する。ディスク18がCD−ROM、CD−Rである場合には、ディスク18より得られるデジタル信号をデジタル信号プロセッサ12へ供給する。
【0018】
デジタル信号プロセッサ12は、再生部11から送られたデジタル信号をデコードする。デジタル信号プロセッサ12にはメモリ13が接続されており、メモリ13には、デジタル信号をデコードして得られたディスク内の情報が記録される。メモリ13は、例えばSRAM(Static Random Access Memory)等の半導体メモリである。更に、デジタル信号をデコードして得られた音楽データはアナログステレオ信号に変換され、スピーカ17で再生される。なお、メモリ13は、デジタル信号プロセッサ12に内蔵されているものでも良いし、外付けのものでも良い。
【0019】
CPU14には操作パネル15が接続されている。操作パネル15には再生、停止、スキップ等のキー、及びテンキーが設けられている。そして、ディスク再生装置10の使用者による操作パネル15の操作に従って、CPU14は再生部11、デジタル信号プロセッサ12を制御する。
【0020】
また、ディスク18の保持するデータがMP3、AAC、WMA等の形式で圧縮されたものである場合、曲情報は個々の音楽データファイルとして扱われる。そしてディスク内でディレクトリまたはフォルダという概念で管理される。通常のCD−RやCD−ROMの場合、記録可能なフォルダ数は最大で256個、そしてフォルダとファイルとの合計が最大で512個とされている。なお、これ以降は、特に断りの無い限り、ファイルとフォルダとを区別せずに「ファイル」という言葉で説明する。
【0021】
次に上記ディスク再生装置におけるファイル情報の管理方法について図2を用いて説明する。図2は本管理方法のフローチャートである。
【0022】
まず上述のように再生部11にディスク18がセットされる(ステップS1)。ここでセットされるディスクは、曲情報を個々のファイルとして取り扱う圧縮技術(MP3、AAC、WMA等)を用いて作成されたCD−ROM、CD−R等である。
【0023】
次に、再生部11でディスク18から得られたデジタル信号を、デジタル信号プロセッサ12でデコードする。そして、ディスク18内に記録されているファイル情報を読み出し、メモリ13内に記録する(ステップS2)。引き続き、メモリ内に記録したファイル情報に基づいてチェックコードを作成し、メモリ13内に記録する(ステップS3)。このステップS2、S3について図3を用いて詳細に説明する。図3はメモリ空間の概念図である。
【0024】
図示するように、メモリ13のメモリ空間20には、例えば512個のファイル情報が記録出来る領域21が確保される。この領域21のメモリ容量として約8kバイトを与えることにより、1つのファイル情報には16バイトの容量が割り当てられる。この1つのファイル情報に割り当てられる16バイトの領域22を情報ブロックと以下呼ぶことにする。情報ブロック22に格納されるファイル情報23は、例えば当該ファイルのディスク内における先頭アドレス、最終アドレス、及びそのファイルサイズを含む、例えば14バイトからなる情報である。ファイルのアドレスは、「分(minute)、秒(second)、フレーム(flame)」によって表現される。なお、フレームとは、1秒を75分割した時間の単位である。
【0025】
そして、デジタル信号プロセッサ12は、このファイル情報23に基づいて、チェックコード24をファイル毎に作成する(ステップS3)。このチェックコードは、例えばチェック・サム(check sum)、CRC(cyclic redundancy check)、ECC(error correcting code)等の周知の方式により作成されたものである。チェック・サムとは、ファイル情報を示す2進数の値を加算し、その下位ビットの数値のいずれかをチェックコードとするものである。CRCは、巡回符号を用いる方式である。またECCは、デジタル信号の誤りを自動的に訂正できる方式であり、ハミング符号、リードソロモン・コード、BCH符号、Fire符号、岩垂符号等の符号を選択して付加する。このようなチェックコードが個々のファイル情報毎に作成され、当該ファイル情報と共に情報ブロック内に格納される。1つのファイル上に付加されるチェックコードは必ずしも1つではなく、例えばチェック・サムによるものと、CRCによるものの2つのチェックコードが付加されても良い。むしろ、複数のチェックコードを付加することが、ファイル情報管理の信頼性を高める観点からは好ましい。なお、1つの情報ブロックの容量は16バイトであり、ファイル情報は14バイトであるから、チェックコードに対しては2バイトが割り当てられる。
【0026】
このようにして、ファイル情報23及びチェックコード24が、メモリ13における情報ブロック22に記録されていく。なお、ディスク内のファイル数が512個未満であれば、領域21の一部は空き領域25となる(図4参照)が、この空き領域24についてはチェックコードを作成しない。
【0027】
その後のディスク演奏等の後、ディスク再生装置がオフ状態(スタンバイ状態)となり(ステップS4)、再びオン状態になった(ステップS5)と仮定する。すると、DSP12はメモリ13に記録されているファイル情報とチェックコードとを照合する(ステップS6)。
【0028】
照合の結果、ファイル情報とチェックコードとが一致した場合(ステップS7)には、メモリ13に記録されているファイル情報は正常であると判断する。他方、ファイル情報とチェックコードとが不一致であった場合(ステップS7)には、メモリ13に記録されているファイル情報は破壊されていることを意味するため、ディスク18からファイル情報を再取得する(ステップS8)。なお、ファイル情報の再取得は、破壊されたファイル情報のみについて行っても良いし、全てのファイル情報について行っても良い。
【0029】
このようにしてメモリ13に記録したファイル情報を検証し、以後はこのファイル情報を用いてディスク18へのアクセスを行う。
【0030】
上記のようなファイル情報の管理方法であると、個々のファイル情報毎にチェックコードを作成・付加している。従って、(1)ファイル情報毎に正常であるか否かを判定でき、ファイル情報の破損率、破壊されたファイル情報のディスク内における分布等の検証が容易となる。また、ファイル情報のいずれかが破壊された場合、ディスクからのファイル情報の再取得は全てのファイル情報に対して行う必要はなく、破壊されたファイル情報のみ再取得すれば足りる。そのため、再取得に必要な時間、消費電力等を削減できる。
【0031】
また、メモリ13内において、ファイル情報を格納するために確保された領域21の空き領域25については、チェックコードの作成・付加を行わない。従って、(2)チェックコード作成を必要最小限に抑えることが出来ると共に、ファイル情報とチェックコートとの照合に必要な処理時間を削減できる。
【0032】
次にこの発明の第2の実施形態に係るファイル情報の管理方法について説明する。本実施形態は、上記第1の実施形態におけるファイル情報にファイル名を加えたものである。図5はメモリ空間における情報ブロックの概念図である。
【0033】
図示するように、本実施形態に係るファイル情報の管理方法では、ファイル情報として当該ファイルの先頭、最終アドレス、ファイルサイズの他に、ファイル名及びその名前長も管理する。そして、これらのアドレス、ファイルサイズ、ファイル名、及びその名前長に基づいてチェックコードを作成する。メモリ13内において個々のファイル情報毎に割り当てられる情報ブロック22は、チェックコード、アドレス、ファイルサイズ、及びファイル名長に対しては16バイト、ファイル名に対しては128バイトの領域が確保される。従って、メモリ空間には、512×144バイト≒74kバイトの容量を有する領域が、ファイル情報を格納するために確保されることになる。なお、ファイル名に対して128バイトの容量が確保されているが、ファイル名が短く、128バイト全ての容量を必要とせず、余った領域が空き領域となる場合(図6参照)がある。この場合には、空き領域の内容は無視してチェックコードを作成する。すなわち、ファイル名が10バイトであったとすると、残りの118バイトは空き領域である。この空き領域には、前に記録されたファイル名等が残っていることになる。そこで、ファイル名長に当該ファイル名は10バイトであることが記録されているから、この情報に基づき、ファイル名が格納される領域については、先頭から10バイトまでに記録されているデータのみを用い、それ以降の11バイト〜128バイトまでのデータは無視してチェックコードを作成する。
【0034】
上記のような方法によれば、個々のファイル毎に割り当てられたメモリ空間において、使用しない領域内のデータを考慮せず、有効なデータのみを用いてチェックコードを作成している。すなわち、必要最低限のデータのみを用いてチェックコードを作成している。従って、第1の実施形態で説明した効果に加えて、チェックコード作成の処理時間を削減できる。
【0035】
また、ファイル名は通常、曲の題名であることが多い。この場合には、ファイル名を含むファイル情報を、例えば操作パネル15に設けられた表示部に送出することで、表示部に現在演奏されている曲名を表示させることが出来る。従来では、チェックコードを情報ブロック全体のデータを用いて作成していたために、ファイル名が短い場合であっても、情報ブロック内の全てのデータを表示部に送る必要があった。しかし本実施形態では、有効なデータのみを用いてチェックコードを作成している。従って、情報ブロック内における有効なデータのみを表示部に送れば良い。すなわち、ファイル名に割り当てられた情報ブロックにおける空き領域内のデータは送る必要がない。そのため、表示部との間で授受を行うデータ量を削減できる。このことは、ファイル名に限らず、その他のデータをファイル情報として有する場合であっても同様である。
【0036】
上記説明してきたように、第1、第2の実施形態に係るファイル情報の管理方法によれば、ファイル情報を個々に管理出来ると共に、チェックコードの作成に必要な処理量を削減できるファイル情報の管理方法が提供できる。
【0037】
なお、上記実施形態では、音楽データの記録媒体としてCD−R、CD−ROMを例に挙げて説明したが、音楽データをファイル、フォルダといった形で記録されているものであれば限定されない。特に、大容量のDVD(Digital Versatile Disc)等であれば、更に本願発明の効果が顕著に現れるといってよい。なぜなら、従来のCD−RやCD−ROMでは最大ファイル数が512であるが、DVDで扱うファイル数は、この数倍〜数十倍になる。従って、1つのファイルが破壊された場合に全ファイルの再取得を行うのは非常に非効率的である。しかし、本発明によれば、個々のファイル単位で管理が可能であり、ファイル情報を効率的に管理出来る。
【0038】
また、上記実施形態では、まず全てのファイルについてのファイル情報をメモリに書き込んだ後に、ファイル情報毎にチェックコードを作成している。しかし、個々のファイル情報をメモリに書き込む毎に、当該ファイル情報に対応するチェックコードを作成、付加しても構わない。
【0039】
また、メモリ内で格納できる最大ファイル数を512にして説明したが、勿論これは単なる一例に過ぎず、仕様によってその値は自由に選択できる。
【0040】
なお、本願発明は上記実施形態に限定されるものではなく、実施段階ではその要旨を逸脱しない範囲で種々に変形することが可能である。更に、上記実施形態には種々の段階の発明が含まれており、開示される複数の構成要件における適宜な組み合わせにより種々の発明が抽出されうる。例えば、実施形態に示される全構成要件からいくつかの構成要件が削除されても、発明が解決しようとする課題の欄で述べた課題が解決でき、発明の効果の欄で述べられている効果が得られる場合には、この構成要件が削除された構成が発明として抽出されうる。
【0041】
【発明の効果】
以上説明したように、この発明によれば、ファイル情報を個々に管理出来ると共に、チェックコードの作成に必要な処理量を削減できるファイル情報の管理方法を提供できる。
【図面の簡単な説明】
【図1】この発明の第1の実施形態に係るファイル情報の管理方法を実現するディスク再生装置のブロック図。
【図2】この発明の第1の実施形態に係るファイル情報の管理方法のフローチャート。
【図3】この発明の第1の実施形態に係るファイル情報の管理方法によってファイル情報を格納されたメモリ空間の概念図。
【図4】この発明の第1の実施形態に係るファイル情報の管理方法によってファイル情報を格納されたメモリ空間の概念図。
【図5】この発明の第2の実施形態に係るファイル情報の管理方法によって管理されるファイル情報の概念図。
【図6】この発明の第2の実施形態に係るファイル情報の管理方法によって管理されるファイル情報の概念図。
【図7】従来のファイル情報の管理方法によってファイル情報を格納されたメモリ空間の概念図であり、(a)図はチェックデータを書き込む方法、(b)図は従来のチェックコードを使用する方法によるメモリ空間。
【符号の説明】
10…ディスク再生装置
11…再生部
12…DSP
13…メモリ
14…CPU
15…操作パネル
16、17…スピーカ
18…ディスク
20、200…メモリ空間
21、210…ファイル情報格納領域
22…ファイル情報を格納するために確保された領域
23、230…ファイル情報
24、240…チェックコード
25…空き領域
260…チェックデータ[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a file information management method. In particular, the present invention relates to a technique for verifying the reliability of file information acquired from a removable medium such as a CD-ROM (Compact Disc ROM) and a CD-R (CD Recordable).
[0002]
[Prior art]
Conventionally, the number of songs that can be recorded on a music CD (CD-DA) that has been widely spread has been limited to 99 songs. However, in recent years, as represented by MP3 (MPEG-1, Audio layer-III), AAC (Advanced Audio Coding), WMA (Windows Media Audio), and the like, music data compression techniques are rapidly progressing. By compressing the music data by these techniques, the number of songs as much as the recording capacity allows can be recorded on a CD-ROM, CD-R, or the like. And the music recorded on these discs is handled as a music data file and is managed by the concept of directory or folder.
[0003]
As described above, when a large amount of music data files are recorded on the disc, the method of directly searching the disc takes a long time to access the target file. Therefore, information such as the start / end address and data size of each file recorded on the disc is written in advance in the auxiliary memory in the disc reproducing apparatus. By using the information in the auxiliary memory, high speed access to the files recorded in the disk is realized. The file information is written into the auxiliary memory when the disc is set in the disc reproducing apparatus.
[0004]
By the way, when the disc playback device returns to the on state again after the off state (standby state), the music information is stored using the file information stored in the auxiliary memory without re-acquiring the file information. It is desirable to have access to data. For that purpose, the reliability of the file information stored in the auxiliary memory is important. This is because, for example, when the file information is destroyed during the standby state, the disk cannot be normally accessed. Various file information management methods in the auxiliary memory have been proposed.
[0005]
[Problems to be solved by the invention]
A conventional file information management method will be described with reference to FIGS. 7A and 7B are conceptual diagrams showing the configuration of the memory space of the auxiliary memory.
[0006]
First, in the management method shown in FIG. 7A, the file information 230 is written in the
[0007]
However, this method does not look at the file information itself, and has great anxiety about reliability.
[0008]
On the other hand, in the management method shown in FIG. 7B, the file information 230 is written into the
[0009]
However, in this method, when it is determined that the file information is not normal, all of the file information is discarded. Therefore, information such as which position of the file information is damaged and what degree of damage is not obtained. Furthermore, a predetermined capacity area for storing file information is secured in the
[0010]
The present invention, together with capable of managing file information individually, that provides management method of the file information that can reduce the amount of processing required to create the check code.
[0011]
[Means for Solving the Problems]
Managing file information according to one embodiment of this invention, the file information is added a step of reading a plurality of file information recorded in the information recording medium, the check code is created based on the file information In the auxiliary memory, the file information and the check code are collated to determine whether the file information is normal, and in the determination step, the file information is determined to be normal The file information in the auxiliary memory is used when it is determined, and the file information is reacquired from the information recording medium when it is determined that the file is not normal, and the check code is added. The step of recording the file information in the auxiliary memory is to create and attach the check code for each file information. And the check code plurality of the file information is added, the stored information for each block having a predetermined memory capacity are in the auxiliary memory, the result of storing the file information in the information block, said If there is an empty area in the information block, the check code ignores data existing in the empty area and is created only by the file information occupying the information block. The check code is generated by ignoring data after the file name length from the beginning of the file name in the information block .
[0014]
DETAILED DESCRIPTION OF THE INVENTION
Embodiments of the present invention will be described below with reference to the drawings. In the description, common parts are denoted by common reference symbols throughout the drawings.
[0015]
A file information management method according to the first embodiment of the present invention will be described. FIG. 1 is a block diagram showing an outline of a disk reproducing apparatus.
[0016]
As shown in the figure, the
[0017]
A
[0018]
The
[0019]
An
[0020]
If the data held on the
[0021]
Next, a method for managing file information in the disc reproducing apparatus will be described with reference to FIG. FIG. 2 is a flowchart of this management method.
[0022]
First, the
[0023]
Next, the digital signal obtained from the
[0024]
As shown in the figure, in the
[0025]
Then, the
[0026]
In this way, the
[0027]
After the subsequent performance of the disc, etc., it is assumed that the disc playback device is turned off (standby state) (step S4) and turned on again (step S5). Then, the
[0028]
As a result of the collation, when the file information matches the check code (step S7), it is determined that the file information recorded in the
[0029]
Thus, the file information recorded in the
[0030]
In the file information management method as described above, a check code is created and added for each file information. Therefore, (1) it can be determined whether or not each file information is normal, and it becomes easy to verify the damage rate of the file information, the distribution of the destroyed file information in the disk, and the like. Further, when any of the file information is destroyed, it is not necessary to reacquire the file information from the disk, and it is sufficient to reacquire only the destroyed file information. Therefore, the time required for reacquisition, power consumption, etc. can be reduced.
[0031]
Also, no check code is created / added to the empty area 25 of the
[0032]
Next, a file information management method according to the second embodiment of the present invention will be described. In the present embodiment, a file name is added to the file information in the first embodiment. FIG. 5 is a conceptual diagram of information blocks in the memory space.
[0033]
As shown in the figure, in the file information management method according to the present embodiment, the file name and its name length are managed as the file information in addition to the head, final address, and file size of the file. Then, a check code is created based on these addresses, file size, file name, and name length. In the
[0034]
According to the method as described above, the check code is created using only valid data in the memory space allocated for each individual file without considering the data in the unused area. That is, the check code is created using only the minimum necessary data. Therefore, in addition to the effects described in the first embodiment, the processing time for creating the check code can be reduced.
[0035]
The file name is usually the title of a song. In this case, by sending file information including the file name to, for example, a display unit provided on the
[0036]
As described above, according to the file information management method according to the first and second embodiments, file information can be individually managed and the amount of processing required for creating a check code can be reduced. Management methods can be provided.
[0037]
In the above embodiment, CD-R and CD-ROM have been described as examples of music data recording media. However, the present invention is not limited as long as music data is recorded in the form of a file or a folder. In particular, in the case of a large capacity DVD (Digital Versatile Disc) or the like, it can be said that the effects of the present invention are further remarkably exhibited. This is because a conventional CD-R or CD-ROM has a maximum number of files of 512, but the number of files handled by a DVD is several to several tens of times. Therefore, it is very inefficient to re-acquire all files when one file is destroyed. However, according to the present invention, management can be performed in units of individual files, and file information can be managed efficiently.
[0038]
In the above embodiment, first, file information for all files is written in the memory, and then a check code is created for each file information. However, each time the individual file information is written into the memory, a check code corresponding to the file information may be created and added.
[0039]
The maximum number of files that can be stored in the memory has been described as 512, but of course this is merely an example, and the value can be freely selected according to the specification.
[0040]
Note that the present invention is not limited to the above-described embodiment, and various modifications can be made without departing from the scope of the invention in the implementation stage. Furthermore, the above embodiments include inventions at various stages, and various inventions can be extracted by appropriately combining a plurality of disclosed constituent elements. For example, even if some constituent requirements are deleted from all the constituent requirements shown in the embodiment, the problem described in the column of the problem to be solved by the invention can be solved, and the effect described in the column of the effect of the invention Can be extracted as an invention.
[0041]
【The invention's effect】
As described above, according to the present invention, it is possible to provide a file information management method capable of individually managing file information and reducing the amount of processing necessary for creating a check code.
[Brief description of the drawings]
FIG. 1 is a block diagram of a disc playback apparatus that implements a file information management method according to a first embodiment of the invention.
FIG. 2 is a flowchart of a file information management method according to the first embodiment of the invention.
FIG. 3 is a conceptual diagram of a memory space in which file information is stored by the file information management method according to the first embodiment of the invention.
FIG. 4 is a conceptual diagram of a memory space in which file information is stored by the file information management method according to the first embodiment of the invention.
FIG. 5 is a conceptual diagram of file information managed by the file information management method according to the second embodiment of the invention.
FIG. 6 is a conceptual diagram of file information managed by the file information management method according to the second embodiment of the invention.
7A and 7B are conceptual diagrams of a memory space in which file information is stored by a conventional file information management method, where FIG. 7A is a method of writing check data, and FIG. 7B is a method of using a conventional check code. By memory space.
[Explanation of symbols]
DESCRIPTION OF
13 ...
DESCRIPTION OF
Claims (3)
前記ファイル情報に基づいて作成されたチェックコードを付加して該ファイル情報を補助メモリに記録するステップと、
前記ファイル情報と前記チェックコードとを照合し、該ファイル情報が正常か否かを判定するステップと、
前記判定するステップにおいて、前記ファイル情報が正常であると判定された場合には前記補助メモリ内のファイル情報を使用し、正常ではないと判定された場合には前記情報記録媒体から前記ファイル情報を再取得するステップと
を具備し、前記チェックコードを付加して前記ファイル情報を補助メモリに記録するステップは、前記チェックコードを各々のファイル情報毎に作成、付加し、
前記チェックコードが付加された複数の前記ファイル情報は、前記補助メモリ内において予め決められたメモリ容量を有する情報ブロック毎に格納され、
前記情報ブロック内に前記ファイル情報を格納した結果、該情報ブロック内に空き領域が存在する場合には、前記チェックコードは、該空き領域内に存するデータを無視し、該情報ブロック内に占める該ファイル情報のみによって作成され、
前記ファイル情報は、該ファイルのファイル名及びファイル名長を含み、
前記チェックコードは、前記情報ブロック内における前記ファイル名の先頭から前記ファイル名長以降のデータを無視して作成される
ことを特徴とするファイル情報の管理方法。Reading a plurality of file information recorded on the information recording medium;
Adding a check code created based on the file information and recording the file information in an auxiliary memory;
Collating the file information with the check code and determining whether the file information is normal;
If it is determined in the determining step that the file information is normal, the file information in the auxiliary memory is used, and if it is determined that the file information is not normal, the file information is read from the information recording medium. Re-acquiring, and adding the check code and recording the file information in an auxiliary memory includes creating and adding the check code for each file information ,
The plurality of file information to which the check code is added are stored for each information block having a predetermined memory capacity in the auxiliary memory,
As a result of storing the file information in the information block, if there is an empty area in the information block, the check code ignores the data existing in the empty area and occupies the information block. Created by file information only,
The file information includes a file name and a file name length of the file,
The method of managing file information, wherein the check code is created by ignoring data after the file name length from the beginning of the file name in the information block .
前記判定するステップにおいて正常ではないと判定されたファイル情報についてのみ再取得し、該ファイル情報に基づくチェックコードを再度作成、付加する
ことを特徴とする請求項1記載のファイル情報の管理方法。The step of reacquiring the file information includes:
The only reacquire the file information is determined not as normal in determining, creating a check code based on the file information again, how to manage file information claim 1 Symbol mounting, characterized in that the addition.
ことを特徴とする請求項1または2記載のファイル情報の管理方法。The file information is created using any one of a group consisting of a method using a lower bit of the sum of each bit constituting the file information, a method using an error correction code, and a method using a cyclic code. managing file information according to claim 1 or 2, wherein the plurality of the check codes are added.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2001200161A JP4071460B2 (en) | 2001-06-29 | 2001-06-29 | How to manage file information |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2001200161A JP4071460B2 (en) | 2001-06-29 | 2001-06-29 | How to manage file information |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2003015963A JP2003015963A (en) | 2003-01-17 |
JP4071460B2 true JP4071460B2 (en) | 2008-04-02 |
Family
ID=19037328
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2001200161A Expired - Fee Related JP4071460B2 (en) | 2001-06-29 | 2001-06-29 | How to manage file information |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4071460B2 (en) |
-
2001
- 2001-06-29 JP JP2001200161A patent/JP4071460B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2003015963A (en) | 2003-01-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4028367B2 (en) | Music data storage device and storage method | |
KR100959306B1 (en) | System and method for searching for duplicate data | |
US8085632B2 (en) | Recording apparatus | |
WO2001082292A1 (en) | Decoder | |
US7903504B2 (en) | Method and apparatus for recording data tracks into large storage device | |
JP2001014800A (en) | Optical disk recording device and recording control method | |
JP4071460B2 (en) | How to manage file information | |
JP3923827B2 (en) | Multisession disc playback method and playback apparatus | |
JP2008507796A (en) | Apparatus and method for generating an identification data block for a data carrier | |
WO2002041319A2 (en) | Digital media format | |
USRE43019E1 (en) | Encoding recording data on optical disks | |
US6804745B2 (en) | Disc access apparatus and disc access method | |
JP4163399B2 (en) | Audio compressed data playback device | |
US20050175108A1 (en) | Apparatus and method for playing audio packet stored in a video cd-rom separatedly | |
WO2003054861A2 (en) | Digital audio player enabling auto-adaptation to the environment | |
JP2008021385A (en) | Content recording method and content recording device | |
WO2005034121A1 (en) | Reproduction device | |
JP3874121B2 (en) | Recording apparatus and recording method | |
JP3524774B2 (en) | Information recording / reproducing device | |
JP2001250331A (en) | Information reproducing device | |
JP2005251287A (en) | Voice reproducing device | |
JPH06150623A (en) | Recording and reproducing device | |
JP2000134566A (en) | Recording and reproducing device and recording and reproducing method | |
JP2002258995A (en) | Portable digital information reproducing device and method for controlling the same |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20050314 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20071025 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20071030 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20071212 |
|
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: 20080115 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20080117 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110125 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120125 Year of fee payment: 4 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130125 Year of fee payment: 5 |
|
LAPS | Cancellation because of no payment of annual fees |