JP4208029B2 - Data management method - Google Patents

Data management method Download PDF

Info

Publication number
JP4208029B2
JP4208029B2 JP2007271464A JP2007271464A JP4208029B2 JP 4208029 B2 JP4208029 B2 JP 4208029B2 JP 2007271464 A JP2007271464 A JP 2007271464A JP 2007271464 A JP2007271464 A JP 2007271464A JP 4208029 B2 JP4208029 B2 JP 4208029B2
Authority
JP
Japan
Prior art keywords
data
management information
file
data block
address
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2007271464A
Other languages
Japanese (ja)
Other versions
JP2008033970A (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.)
Sony Corp
Original Assignee
Sony 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 Sony Corp filed Critical Sony Corp
Priority to JP2007271464A priority Critical patent/JP4208029B2/en
Publication of JP2008033970A publication Critical patent/JP2008033970A/en
Application granted granted Critical
Publication of JP4208029B2 publication Critical patent/JP4208029B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

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

Description

本発明は、例えばカメラ装置で撮像した画像のデータを、アドレス情報等を含む管理情報を変更することで管理するデータ管理方法に関する。   The present invention relates to a data management method for managing, for example, image data captured by a camera device by changing management information including address information and the like.

従来においては、例えばディジタルスチルカメラ装置で撮像した画像を示す画像データは、所定の容量で例えば光ディスク等の記録媒体に格納される。この光ディスクには、複数の画像データが格納されるデータ領域と、当該データ領域に格納された画像データを管理する管理情報が格納されている管理領域とを有している。そして、これらの画像データは、所定の容量を有するデータブロックとしてデータファイルを構成する。すなわち、光ディスクには、複数のデータブロックで構成された複数のデータファイルと、このデータファイルを示す管理情報が格納されている。   Conventionally, for example, image data indicating an image captured by a digital still camera device is stored in a recording medium such as an optical disk with a predetermined capacity. This optical disc has a data area for storing a plurality of image data and a management area for storing management information for managing the image data stored in the data area. These image data constitute a data file as a data block having a predetermined capacity. That is, the optical disk stores a plurality of data files composed of a plurality of data blocks and management information indicating the data files.

ここで、第1のデータファイルを構成する複数のデータブロック1〜6のうち少なくとも一部のデータブロックで第2のデータファイルを構成して、第1のデータファイルと第2のデータファイルとに分割するときの一例について説明する。   Here, the second data file is constituted by at least a part of the plurality of data blocks 1 to 6 constituting the first data file, and the first data file and the second data file are formed. An example when dividing is described.

従来において第1のデータファイルを分割するときには、先ず、図7(a)に示した第1の管理情報100及びこの第1の管理情報100が示す第1のデータファイルを光ディスクから読出す。この第1の管理情報100は、第1のデータファイルを構成するデータブロックのアドレスを示すアドレス情報と、第1のデータファイルのファイル名を示すファイル名情報102とを有する。   Conventionally, when dividing the first data file, first, the first management information 100 shown in FIG. 7A and the first data file indicated by the first management information 100 are read from the optical disc. The first management information 100 includes address information indicating the address of the data block constituting the first data file, and file name information 102 indicating the file name of the first data file.

ここで、第1の管理情報のアドレス5及びアドレス6に対応し第1のデータファイルに属するデータブロックを第2のデータファイルを構成するデータブロックとするときには、第1のデータファイルに格納されているデータブロックのうち、アドレス5及びアドレス6に対応するデータブロックの読み出しを行う。そして、光ディスクから読み出したデータブロックを一旦メモリに格納する。   Here, when data blocks belonging to the first data file corresponding to the addresses 5 and 6 of the first management information are used as data blocks constituting the second data file, they are stored in the first data file. Among the existing data blocks, the data blocks corresponding to address 5 and address 6 are read. Then, the data block read from the optical disk is temporarily stored in the memory.

次に、図7(b)に示すように、第1のデータファイルのアドレス5及びアドレス6に対応したデータブロックを格納するための第2のデータファイルを示す第2の管理情報110をメモリ上に作成する。   Next, as shown in FIG. 7B, the second management information 110 indicating the second data file for storing the data blocks corresponding to the addresses 5 and 6 of the first data file is stored in the memory. To create.

次に、上述のアドレス5及びアドレス6に対応したデータブロックを第2のファイルデータとして光ディスクに書き込むときのアドレスを作成する。ここでは、第2の管理情報110のアドレス情報にアドレス7及びアドレス8をメモリ上に書き込む。   Next, an address is created when the data block corresponding to the above address 5 and address 6 is written on the optical disc as the second file data. Here, address 7 and address 8 are written in the memory in the address information of the second management information 110.

次に、図7(c)に示すように、第1の管理情報100のアドレス5及びアドレス6のアドレス情報をメモリ上で削除する。   Next, as shown in FIG. 7C, the address information of address 5 and address 6 of the first management information 100 is deleted on the memory.

そして、メモリ上に格納されているアドレス7及びアドレス8に対応するデータブロック及び第1の管理情報100、第2の管理情報110を光ディスクに書き込むことで、第1の管理情報100のアドレス1〜6に対応したデータブロックで構成された第1のデータファイルを、第1の管理情報100のアドレス1〜4に対応したデータブロックで構成される第1のデータファイルと、第2の管理情報110のアドレス7,8に対応したデータブロックで構成される第2のデータファイルとに分割する。   Then, by writing the data block corresponding to the addresses 7 and 8 stored in the memory, the first management information 100, and the second management information 110 to the optical disc, the addresses 1 to 1 of the first management information 100 are written. 6, the first data file composed of data blocks corresponding to addresses 1 to 4 of the first management information 100, and the second management information 110. Are divided into second data files composed of data blocks corresponding to the addresses 7 and 8.

また、従来のデータ管理方法として、図8に例えば小画像データ1を削除するときの一例を示す。なお、このように小画像データ1を削除すると、小画像管理情報150に格納されている小画像アドレス1も削除される。   Further, as a conventional data management method, for example, FIG. 8 shows an example when the small image data 1 is deleted. When the small image data 1 is deleted in this way, the small image address 1 stored in the small image management information 150 is also deleted.

このとき、従来のデータ管理方法では、先ず、図8(a)に示した小画像管理情報150のうち、小画像アドレス2〜8及びこれら小画像アドレス2〜8に対応した小画像データ2〜8を光ディスクから読み出すとともに一旦メモリに格納する。次に、従来のデータ管理方法では、図8(b)に示すように、上記工程で一旦メモリに格納された小画像アドレス2〜8を小画像管理情報150を光ディスクに書き込むとともに、小画像アドレス2〜8に対応した画像データ2〜8までを光ディスクに書き込むことで小画像データ1の削除を行う。   At this time, in the conventional data management method, first, among the small image management information 150 shown in FIG. 8A, small image addresses 2 to 8 and small image data 2 to 2 corresponding to these small image addresses 2 to 8 are used. 8 is read from the optical disc and temporarily stored in the memory. Next, in the conventional data management method, as shown in FIG. 8B, the small image management information 150 is written in the optical disk with the small image addresses 2 to 8 once stored in the memory in the above process, and the small image address. The small image data 1 is deleted by writing image data 2 to 8 corresponding to 2 to 8 on the optical disc.

特開平06−231016号公報Japanese Patent Laid-Open No. 06-231016

ところで、上述したデータの管理を行う手法では、第1のデータファイルに格納されているデータブロックのうち、第2のデータファイルに格納するデータブロックの読み書きを行う必要がある。   By the way, in the method of managing data described above, it is necessary to read / write data blocks stored in the second data file among the data blocks stored in the first data file.

しかし、このような手法では、データファイルの分割を行うときに、データブロックを読み書きすることが必須の条件となり、従って第1のデータファイルを構成するデータブロックを読み書きすることに時間がかかってしまう。さらに、第1のデータファイルを構成するデータブロックの容量が大きくなれば、この問題はさらに顕著となってしまう。   However, in such a method, when data files are divided, it is indispensable to read and write data blocks, and thus it takes time to read and write data blocks constituting the first data file. . Furthermore, this problem becomes more prominent if the capacity of the data blocks constituting the first data file increases.

また、上述したデータ管理方法では、小画像データ1を削除するとき、小画像データ2〜8を一旦光ディスクからメモリに読み出して、小画像データ2〜8を書き込むという動作を行う必要があり読み書きを行う時間を要する。   In the data management method described above, when deleting the small image data 1, it is necessary to read the small image data 2 to 8 once from the optical disk to the memory and write the small image data 2 to 8, so that reading and writing are performed. It takes time to do.

そこで、本発明は、上述したような実情に鑑みて提案されたものであり、データファイルを分割するときに要する時間を短縮化することができるデータ管理方法を提供することを目的とする。   Therefore, the present invention has been proposed in view of the above-described circumstances, and an object thereof is to provide a data management method capable of shortening the time required for dividing a data file.

本発明は、 データファイルを構成する複数の所定容量のデータブロックと、上記データファイルのファイル名を示すデータファイル情報と上記データファイルを構成する上記各データブロックのアドレス情報とから構成される管理情報とを有する記録媒体に格納されている上記データブロックを管理し、上記データファイルの分割を行うデータ管理方法において、複数の所定容量のデータブロックからなる第1のデータファイルを示す第1の管理情報を上記記録媒体から読出す第1の管理情報読出工程と、上記第1のデータファイルの少なくとも一部のデータブロックで構成される第2のデータファイルを示す第2の管理情報を作成する第2の管理情報作成工程とを有し、上記第1の管理情報読出工程において、分割位置の直後のデータブロックを含む画像データが記録された上記所定容量のデータブロックを含む複数のデータブロックからなる第1のデータファイルを示す第1の管理情報を読出し、上記第2の管理情報作成工程では、上記第1の管理情報読出工程において読み出された上記第1の管理情報のアドレス情報に含まれる上記分割位置の直後のデータブロックを含むデータブロックのアドレス情報を移動させ、上記分割位置の直後のデータブロックを含むデータブロックを示す上記第2の管理情報のアドレス情報とし、上記分割位置の直後のデータブロックを含むデータブロックで構成される上記第2のデータファイルを示す第2の管理情報を作成し、上記分割位置の直後のデータブロックを含むデータブロックを上記第2のデータファイルのデータブロックとすることを特徴とする。 The present invention provides management information comprising a plurality of data blocks of a predetermined capacity constituting a data file, data file information indicating the file name of the data file, and address information of each data block constituting the data file In the data management method for managing the data block stored in the recording medium having the above and dividing the data file, first management information indicating a first data file composed of a plurality of data blocks having a predetermined capacity A first management information reading step for reading out from the recording medium, and a second management information indicating a second data file comprising a second data file composed of at least a part of data blocks of the first data file Management information creation step, and in the first management information reading step, the data block immediately after the division position is First management information indicating a first data file composed of a plurality of data blocks including the data block having the predetermined capacity in which image data including images is recorded is read. In the second management information creation step, The address information of the data block including the data block immediately after the division position included in the address information of the first management information read in the first management information reading step is moved, and the data immediately after the division position The second management information indicating the second data file including the data block including the data block immediately after the division position is generated as address information of the second management information indicating the data block including the block. The data block including the data block immediately after the division position is used as the data block of the second data file. The features.

本発明に係るデータ管理方法では、第1の管理情報読出工程において、分割位置の直後のデータブロックを含む画像データが記録された上記所定容量のデータブロックを含む複数のデータブロックからなる第1のデータファイルを示す第1の管理情報を読出し、第2の管理情報作成工程では、上記第1の管理情報読出工程において読み出された上記第1の管理情報のアドレス情報に含まれる上記分割位置の直後のデータブロックを含むデータブロックのアドレス情報を移動させ、上記分割位置の直後のデータブロックを含むデータブロックを示す第2の管理情報のアドレス情報とし、上記分割位置の直後のデータブロックを含むデータブロックで構成される上記第2のデータファイルを示す第2の管理情報を作成し、上記分割位置の直後のデータブロックを含むデータブロックを上記第2のデータファイルのデータブロックとすることで、第1のデータファイルを分割するときにデータブロックを読み書きするデータ量を減らすことができる。したがって、このデータ管理方法によれば、従来のようにアドレス情報とともに当該アドレス情報に対応したデータブロックの読み書きを行うことなくデータブロックの移動等を行うことができるので、従来の手法と比較してデータの移動等を行うのに要する時間を短縮化することができる。   In the data management method according to the present invention, in the first management information reading step, a first data block including a plurality of data blocks including a data block having the predetermined capacity in which image data including a data block immediately after the division position is recorded. First management information indicating a data file is read, and in the second management information creation step, the division position included in the address information of the first management information read in the first management information read step is read. The address information of the data block including the data block immediately after is moved, and the address information of the second management information indicating the data block including the data block immediately after the division position is used, and the data including the data block immediately after the division position is used. The second management information indicating the second data file composed of blocks is created, and the data immediately after the division position is created. A data block including a data block by data block of the second data file, it is possible to reduce the amount of data to read and write data blocks when dividing the first data file. Therefore, according to this data management method, it is possible to move the data block without reading / writing the data block corresponding to the address information together with the address information as in the prior art. It is possible to shorten the time required for data movement or the like.

本発明の実施の形態につき図面を参照しながら詳細に説明する。   Embodiments of the present invention will be described in detail with reference to the drawings.

このデータ管理方法は、例えば静止画像を撮像して所定の容量の画像データからなるデータブロックを生成するデータ記録再生装置に適用することができる。   This data management method can be applied to, for example, a data recording / reproducing apparatus that captures a still image and generates a data block including image data having a predetermined capacity.

このデータファイル管理方法が適用可能なデータ記録再生装置1は、例えば図1及び図2に示すように、光ディスク20が格納されこの光ディスク20に対してデータの書き込み及び読み出しを行うディスクドライブ2と、ディスクI/F(インターフェース)3と、上記ディスクドライブ2,ディスクI/F3等を制御する制御手段としてのCPU(Central Processing Unit)4とを備えている。   A data recording / reproducing apparatus 1 to which this data file management method can be applied includes, for example, as shown in FIGS. 1 and 2, a disk drive 2 in which an optical disk 20 is stored and data is written to and read from the optical disk 20, A disk I / F (interface) 3 and a CPU (Central Processing Unit) 4 as control means for controlling the disk drive 2, the disk I / F 3 and the like are provided.

また、データ記録再生装置1は、CPU4のプログラムを記憶しているROM(Read Only Memory)5と、CPU4の記録領域になるDRAM(Dynamic Random Access Memory)6と、操作用のキーボード7と、キーボード7から入力された信号をバス上に供給するキーI/F(インターフェース)8と、画像データを記録するVRAM(Video Random Access Memory)9と、画像を映すモニター10とを備える。データ記録再生装置1においては、上記CPU4,ROM5,DRAM6,ディスクI/F3,キーI/F8,VRAM9が、バスを介して相互に信号の授受を行うようになされている。   The data recording / reproducing apparatus 1 includes a ROM (Read Only Memory) 5 that stores a program of the CPU 4, a DRAM (Dynamic Random Access Memory) 6 that is a recording area of the CPU 4, a keyboard 7 for operation, and a keyboard. 7 includes a key I / F (interface) 8 that supplies a signal input from the bus 7 to the bus, a video random access memory (VRAM) 9 that records image data, and a monitor 10 that displays an image. In the data recording / reproducing apparatus 1, the CPU 4, ROM 5, DRAM 6, disk I / F 3, key I / F 8, and VRAM 9 exchange signals with each other via a bus.

なお、光ディスク20は、図2に示すように、複数のデータブロックを記録するためのデータ領域21と、当該データ領域21の内周側に設けられ、データ領域21に記録されているデータブロックの管理情報を記録するための管理領域22とが備えられている。上記管理領域22に記録される管理情報は、例えば上記データブロックが格納されるデータファイルのデータファイル名を示すデータファイル情報22aと各データブロックのアドレスを示すアドレス情報22bとからなる。   As shown in FIG. 2, the optical disc 20 is provided with a data area 21 for recording a plurality of data blocks, and an inner circumference side of the data area 21, and the data blocks recorded in the data area 21. A management area 22 for recording management information is provided. The management information recorded in the management area 22 includes, for example, data file information 22a indicating the data file name of the data file in which the data block is stored and address information 22b indicating the address of each data block.

このアドレス情報22bは、例えば図3(a)に示すように、データ領域に格納されている各データブロックのアドレスを示し、いわゆるリンク構造となっている。すなわち、図3(a)に示したアドレス情報22bは、アドレス1にデータブロック1を示すアドレスが格納されており、アドレス2にデータブロック2を示すアドレスが格納されており、アドレス3にデータブロック3を示すアドレスが格納されている。   This address information 22b indicates the address of each data block stored in the data area as shown in FIG. 3A, for example, and has a so-called link structure. That is, in the address information 22b shown in FIG. 3A, the address indicating the data block 1 is stored in the address 1, the address indicating the data block 2 is stored in the address 2, and the data block is stored in the address 3. An address indicating 3 is stored.

また、このアドレス情報22bは、例えば図3(b)に示すように、いわゆる木構造となっており、各アドレス1〜6に間接ブロック22cが格納され、この間接ブロック22cの各アドレス1〜10に各データブロックを示すアドレスを格納していても良い。   The address information 22b has a so-called tree structure, for example, as shown in FIG. 3B. Indirect blocks 22c are stored in the addresses 1 to 6, and the addresses 1 to 10 of the indirect block 22c are stored. May store an address indicating each data block.

さらに、アドレス情報22bは、例えば図3(c)に示すように、いわゆる木構造となっており、各アドレス1〜6に一次間接ブロック22cを格納し、この一次間接ブロック22cの各アドレス1〜10に2次間接ブロック22dを格納していても良い。そして、このアドレス情報22bは、2次間接ブロック22dの各アドレス1〜10に各データブロックを示すアドレスを格納していても良い。   Furthermore, the address information 22b has a so-called tree structure as shown in FIG. 3C, for example, and stores the primary indirect block 22c in each address 1 to 6, and each address 1 to 1 in the primary indirect block 22c. 10 may store the secondary indirect block 22d. The address information 22b may store an address indicating each data block in each address 1 to 10 of the secondary indirect block 22d.

一方、データ領域には、データファイル毎に複数のデータブロックが格納されている。このデータブロックは、例えば一枚の静止画像を示す所定の容量の情報である。   On the other hand, the data area stores a plurality of data blocks for each data file. This data block is information of a predetermined capacity indicating, for example, one still image.

次に、データ記録再生装置1の各構成部について説明する。   Next, each component of the data recording / reproducing apparatus 1 will be described.

ROM5には、CPU4のプログラムが記憶される。DRAM6は、CPU4のための変数領域とされ、一時的にデータ又はプログラムを記憶する。   The ROM 5 stores a program for the CPU 4. The DRAM 6 is a variable area for the CPU 4 and temporarily stores data or programs.

ディスクI/F3は、CPU4とディスクドライブ2とのインターフェースである。この実施の形態では、光ディスク20がディスクドライブ2内に収納されており、データ記録時にディスクI/F3を介して入力されたデータがディスクドライブ2によって光ディスク20に書き込まれる。また、データ記録再生装置1においては、データ再生時にディスクドライブ2によって光ディスク20から読み出されたデータが、ディスクI/F3を介してVRAM9等に供給される。   The disk I / F 3 is an interface between the CPU 4 and the disk drive 2. In this embodiment, the optical disk 20 is stored in the disk drive 2, and data input via the disk I / F 3 at the time of data recording is written to the optical disk 20 by the disk drive 2. In the data recording / reproducing apparatus 1, data read from the optical disk 20 by the disk drive 2 during data reproduction is supplied to the VRAM 9 and the like via the disk I / F 3.

キーボード7は、例えばユーザによって操作されてそれに応じた信号をキーI/F8に送出する。キーI/F8は、キーボード7からの信号をバス上に供給する。   The keyboard 7 is operated by a user, for example, and sends a signal corresponding thereto to the key I / F 8. The key I / F 8 supplies a signal from the keyboard 7 on the bus.

VRAM9は、モニター10に表示する画像についての画像データを記憶するためのメモリである。データ記録再生装置1においては、例えば光ディスク20に画像データを記録した場合に、この画像データが光ディスク20の再生時にディスクドライブ2によって読み出され、ディスクI/F3及びバスを介してVRAM9に供給され、このVRAM9に記憶された画像データがモニター10によって静止画像あるいは動画像として表示されるようになっている。   The VRAM 9 is a memory for storing image data regarding an image displayed on the monitor 10. In the data recording / reproducing apparatus 1, for example, when image data is recorded on the optical disc 20, the image data is read by the disc drive 2 during reproduction of the optical disc 20, and supplied to the VRAM 9 via the disc I / F 3 and the bus. The image data stored in the VRAM 9 is displayed on the monitor 10 as a still image or a moving image.

CPU4は、データ記録再生装置1を構成する各部の制御を行う。このCPU4は、例えばあるデータファイルを分割するときには、ROM5に格納されてプログラムを実行する。   The CPU 4 controls each part constituting the data recording / reproducing apparatus 1. For example, when dividing a data file, the CPU 4 stores the data file in the ROM 5 and executes the program.

つぎに、上述したデータ記録再生装置1を用いて光ディスク20に格納されているデータを管理する一例について説明する。   Next, an example of managing data stored in the optical disc 20 using the data recording / reproducing apparatus 1 described above will be described.

このデータ記録再生装置1は、図4に示すように、分割される対象となる第1のデータファイルを示す第1の管理情報40を読み込み、第1のデータファイルを構成する複数のデータブロックうちの一部で構成される第2のデータファイルを示す第2の管理情報41を作成し、第1の管理情報40の一部のアドレス情報40aを第2の管理情報41のアドレス情報41aとするように移動させる。   As shown in FIG. 4, the data recording / reproducing apparatus 1 reads the first management information 40 indicating the first data file to be divided, and among the plurality of data blocks constituting the first data file. The second management information 41 indicating the second data file composed of a part of the first management information 40 is created, and the partial address information 40a of the first management information 40 is used as the address information 41a of the second management information 41. To move.

すなわち、このデータ記録再生装置1では、先ず、キーボード7から第1の管理情報40が示す第1のデータファイルを、第1のデータファイルと第2のデータファイルとするように分割を行う入力信号がキーI/F8を介してCPU4に入力される。そして、このような入力信号が入力されたCPU4ではROM5に格納されたデータ管理プログラムを起動する。そして、CPU4では図4(a)に示すように、光ディスク20の管理領域22に格納された分割対象となる第1のデータファイルを示す第1の管理情報40をディスクドライブ2に収納されている光ディスク20から読み込む。そして、CPU4は、この第1の管理情報40を一旦DRAM6に格納する。   That is, in the data recording / reproducing apparatus 1, first, an input signal for dividing the first data file indicated by the first management information 40 from the keyboard 7 into a first data file and a second data file. Is input to the CPU 4 via the key I / F 8. The CPU 4 to which such an input signal is input starts a data management program stored in the ROM 5. In the CPU 4, as shown in FIG. 4A, the first management information 40 indicating the first data file to be divided and stored in the management area 22 of the optical disk 20 is stored in the disk drive 2. Read from the optical disc 20. Then, the CPU 4 temporarily stores the first management information 40 in the DRAM 6.

次に、CPU4では、図4(b)に示すように、ROM5から取り込んだデータ管理プログラムに従って第1のデータファイルを構成する複数のデータブロックのうち、一部のデータブロックで構成される第2のデータファイルを示す第2の管理情報41をDRAM6上で作成する。   Next, in the CPU 4, as shown in FIG. 4B, a second data block composed of some data blocks among a plurality of data blocks constituting the first data file in accordance with the data management program fetched from the ROM 5. The second management information 41 indicating the data file is created on the DRAM 6.

次に、CPU4では、図4(c)に示すように、第1の管理情報40のアドレス4及びアドレス5をDRAM6から読み込んで第2の管理情報41に第1の管理情報40のアドレス5及びアドレス6を書き込む。これにより、第2のデータファイルは、アドレス5及びアドレス6が示すデータブロックで構成されることとなる。   Next, in the CPU 4, as shown in FIG. 4C, the address 4 and the address 5 of the first management information 40 are read from the DRAM 6, and the address 5 and the address of the first management information 40 are stored in the second management information 41. Write address 6. As a result, the second data file is composed of data blocks indicated by address 5 and address 6.

このとき、CPU4では、DRAM6に格納されている第1の管理情報40のアドレス5及びアドレス6を削除することにより、第1のデータファイルからアドレス5及びアドレス6に対応したデータブロックが削除されたこととなる。   At this time, the CPU 4 deletes the data block corresponding to the address 5 and the address 6 from the first data file by deleting the address 5 and the address 6 of the first management information 40 stored in the DRAM 6. It will be.

このように、このデータ記録再生装置1では、第1の管理情報40の一部のアドレス5,6を第2の管理情報41のアドレス5,6とするように移動することで、第1のデータファイルを構成する複数のデータブロックの一部を第2のデータファイルを構成するデータブロックとすることができる。したがって、このデータ記録再生装置1では、従来のように、第1のデータファイルを、第1のデータファイルと第2のデータファイルになるようにデータブロックを移動させて分割を行うとき、光ディスク20に格納されたデータブロックを読み込んで再び光ディスク20の第2のデータファイルに格納して分割させるようなことなくデータファイルの分割を行うことができる。したがって、このデータ記録再生装置1によれば、従来と比較して短時間でデータファイルの分割を行うことができる。   As described above, in the data recording / reproducing apparatus 1, the first management information 40 is moved so that the partial addresses 5 and 6 of the first management information 40 become the addresses 5 and 6 of the second management information 41. A part of a plurality of data blocks constituting the data file can be used as a data block constituting the second data file. Therefore, in this data recording / reproducing apparatus 1, when the data block is moved and divided so that the first data file becomes the first data file and the second data file as in the prior art, the optical disk 20 is divided. The data file can be divided without reading the data block stored in the second data file and storing it again in the second data file of the optical disc 20 for division. Therefore, according to the data recording / reproducing apparatus 1, it is possible to divide the data file in a short time compared to the conventional case.

また、データ記録再生装置1は、小画像データからなるデータブロックを管理することがある。この小画像データは、例えば画像選択用としてモニター10に表示するときに使用される。そして、この小画像データを管理する小画像管理情報50は、図5に示すように、小画像データで構成されたデータファイルを示している。この小画像管理情報50は、ファイル情報と、各小画像データ1〜8に対応した小画像アドレス1〜8を示すアドレス情報を含んでいる。   Further, the data recording / reproducing apparatus 1 may manage data blocks composed of small image data. This small image data is used, for example, when displayed on the monitor 10 for image selection. The small image management information 50 for managing the small image data indicates a data file composed of the small image data as shown in FIG. The small image management information 50 includes file information and address information indicating small image addresses 1 to 8 corresponding to the small image data 1 to 8.

この小画像データ1〜8は、上述した各データブロックを示す各アドレスの約半分程度の容量を有し、2つの小画像データで1つのデータブロックとして取り扱われる。すなわち、上述したデータ記録再生装置の動作において第1のデータファイルを分割して、第1のデータファイルと第2のデータファイルとするときには、データブロック毎でしか分割することができないこととなる。   The small image data 1 to 8 have a capacity of about half of each address indicating each data block described above, and are handled as one data block by two small image data. That is, when the first data file is divided into the first data file and the second data file in the operation of the data recording / reproducing apparatus described above, it can be divided only for each data block.

このような小画像データ1の削除を行うとき、データ記録再生装置1では、先ず図6(a)に示すような第1のデータファイルを示す第1の小画像管理情報50にCPU4で上述した図4に示した処理と同様の処理を行う。すなわち、このデータ記録再生装置1では、第1の小画像管理情報50で示される第1のデータファイルを、第1のデータファイル50と第2のデータファイル50aとなるように分割する。このような処理を行うことで、小画像データ1,2からなる第1のデータファイルと小画像データ3〜8からなる第2のデータファイルを作成する。このとき、第1の小画像管理情報50は、図6(b)に示すように、アドレス1,2を含む第1の小画像管理情報50と、アドレス3〜8を含む第2の小画像管理情報50aとにDRAM6上で分割される。   When such deletion of the small image data 1 is performed, the data recording / reproducing apparatus 1 first adds the first small image management information 50 indicating the first data file as shown in FIG. Processing similar to that shown in FIG. 4 is performed. That is, in the data recording / reproducing apparatus 1, the first data file indicated by the first small image management information 50 is divided so as to be the first data file 50 and the second data file 50a. By performing such processing, a first data file composed of small image data 1 and 2 and a second data file composed of small image data 3 to 8 are created. At this time, as shown in FIG. 6B, the first small image management information 50 includes the first small image management information 50 including addresses 1 and 2 and the second small image including addresses 3 to 8. The management information 50a is divided on the DRAM 6.

次に、第1のデータファイルのうち小画像データ1を削除するとき、第1の小画像管理情報50について、図6(c)に示すように第1の小画像管理情報50のうちアドレス1を削除する。このとき、CPU4では、第1の小画像管理情報50及びアドレス2に対応した小画像データ2を光ディスク20から読み込んでDRAM6に一旦格納し、DRAM6に格納された第1の小画像管理情報50のアドレス2及びアドレス2に対応した小画像データ2を光ディスク20の第1の小画像管理情報50に書き込むとともに小画像データ2を書き込む。このデータ記録再生装置1では、このような処理を行うことにより、小画像データ1〜8が格納された第1のデータファイルを、小画像データ1〜2で構成される第1のデータファイルと小画像データ3〜8で構成される第2のデータファイルとすることができる。   Next, when the small image data 1 is deleted from the first data file, the first small image management information 50 has the address 1 in the first small image management information 50 as shown in FIG. Is deleted. At this time, the CPU 4 reads the first small image management information 50 and the small image data 2 corresponding to the address 2 from the optical disk 20, temporarily stores them in the DRAM 6, and stores the first small image management information 50 stored in the DRAM 6. The small image data 2 corresponding to the address 2 and the address 2 is written to the first small image management information 50 of the optical disc 20 and the small image data 2 is written. In this data recording / reproducing apparatus 1, by performing such processing, the first data file storing the small image data 1 to 8 is changed to the first data file composed of the small image data 1 and 2. A second data file composed of small image data 3 to 8 can be obtained.

このようなデータ記録再生装置1では、各小画像データの分割を第1のデータファイル及び第1の管理情報について行った後に、必要に応じて1データブロックに満たない小画像データ及びアドレスについて削除を行うので、従来の画像データの削除と比較して高速で画像データの削除を行うことができる。すなわち、上述したデータ記録再生装置1では、1データブロック単位で扱える範囲内でデータファイルを分割するので、光ディスク20から読み出して書き込むデータ量を少なくすることができ、小画像データを削除する時間を短縮することができる。   In such a data recording / reproducing apparatus 1, after each small image data is divided for the first data file and the first management information, the small image data and addresses that are less than one data block are deleted as necessary. Therefore, image data can be deleted at a higher speed than conventional image data deletion. That is, in the data recording / reproducing apparatus 1 described above, since the data file is divided within a range that can be handled in units of one data block, the amount of data read and written from the optical disc 20 can be reduced, and the time for deleting the small image data is reduced. It can be shortened.

本発明に係るデータ管理方法が適用可能なデータ記録再生装置の一例を示すブロック図である。It is a block diagram which shows an example of the data recording / reproducing apparatus which can apply the data management method based on this invention. データ領域と管理領域とを有する光ディスクの一例を示す図である。It is a figure which shows an example of the optical disk which has a data area and a management area. 光ディスクの管理領域に格納された管理情報を示す図であり、(a)がリンク構造の一例を示す図であり、(b)が木構造の一例を示す図であり、(c)が木構造の他の一例を示す図である。It is a figure which shows the management information stored in the management area | region of an optical disk, (a) is a figure which shows an example of a link structure, (b) is a figure which shows an example of a tree structure, (c) is a tree structure It is a figure which shows another example of. 本発明に係るデータ管理方法の一例を示す図であり、(a)が第1のデータファイルに対応した第1の管理情報の一例を示す図であり、(b)が第2のデータファイルに対応した第2の管理情報を作成したときの一例を示す図であり、(c)が第1の管理情報のアドレス5及びアドレス6を移動して第2の管理領域として第1のデータファイルを分割するときの一例を示す図である。It is a figure which shows an example of the data management method which concerns on this invention, (a) is a figure which shows an example of the 1st management information corresponding to a 1st data file, (b) is a 2nd data file It is a figure which shows an example when corresponding 2nd management information is produced, (c) moves the address 5 and the address 6 of 1st management information, and uses a 1st data file as a 2nd management area. It is a figure which shows an example when dividing | segmenting. 小画像管理情報及び小画像管理情報のアドレスに対応した小画像データとの関係を示す図である。It is a figure which shows the relationship with the small image data corresponding to the address of small image management information and small image management information. 本発明に係る他のデータ管理方法を示す図であり、(a)が第1のデータファイルに対応した第1の小画像管理情報の一例を示す図であり、(b)が第1の小画像管理情報を分割して第2のデータファイルに対応した第2の小画像管理情報を作成したときの一例であり、(c)が第1の小画像管理情報の一部を削除したときの一例を示す図である。It is a figure which shows the other data management method based on this invention, (a) is a figure which shows an example of the 1st small image management information corresponding to a 1st data file, (b) is a 1st small image management information. It is an example when the second small image management information corresponding to the second data file is created by dividing the image management information, and (c) is a case where a part of the first small image management information is deleted. It is a figure which shows an example. 従来のデータ管理方法の一例を示す図であり、(a)が第1の管理情報を示す図であり、(b)がアドレス5及びアドレス6に対応したデータブロックを第2の管理情報のアドレスとしたときの図であり、(c)が第1の管理情報のアドレス5及びアドレス6を削除したときの一例を示す図である。It is a figure which shows an example of the conventional data management method, (a) is a figure which shows 1st management information, (b) is the address of 2nd management information in the data block corresponding to the address 5 and the address 6 (C) is a diagram showing an example when address 5 and address 6 of the first management information are deleted. 従来の手法において小画像管理情報の一部を削除するときの一例を示す図であり、(a)が小画像管理情報の一例を示す図であり、(b)が小画像管理情報の一部を削除したときの一例を示す図である。It is a figure which shows an example when deleting a part of small image management information in the conventional method, (a) is a figure which shows an example of small image management information, (b) is a part of small image management information It is a figure which shows an example when deleting.

符号の説明Explanation of symbols

20 光ディスク   20 Optical disc

Claims (5)

データファイルを構成する複数の所定容量のデータブロックと、上記データファイルのファイル名を示すデータファイル情報と上記データファイルを構成する上記各データブロックのアドレス情報とから構成される管理情報とを有する記録媒体に格納されている上記データブロックを管理し、上記データファイルの分割を行うデータ管理方法において、
複数の所定容量のデータブロックからなる第1のデータファイルを示す第1の管理情報を上記記録媒体から読出す第1の管理情報読出工程と、
上記第1のデータファイルの少なくとも一部のデータブロックで構成される第2のデータファイルを示す第2の管理情報を作成する第2の管理情報作成工程とを有し、
上記第1の管理情報読出工程において、分割位置の直後のデータブロックを含む画像データが記録された上記所定容量のデータブロックを含む複数のデータブロックからなる第1のデータファイルを示す第1の管理情報を読出し、
上記第2の管理情報作成工程では、上記第1の管理情報読出工程において読み出された上記第1の管理情報のアドレス情報に含まれる上記分割位置の直後のデータブロックを含むデータブロックのアドレス情報を移動させ、上記分割位置の直後のデータブロックを含むデータブロックを示す上記第2の管理情報のアドレス情報とし、上記分割位置の直後のデータブロックを含むデータブロックで構成される上記第2のデータファイルを示す第2の管理情報を作成し、
上記分割位置の直後のデータブロックを含むデータブロックを上記第2のデータファイルのデータブロックとすることを特徴とするデータ管理方法。
A record having a plurality of data blocks of a predetermined capacity constituting a data file, management information comprising data file information indicating the file name of the data file and address information of each data block constituting the data file In a data management method for managing the data block stored in a medium and dividing the data file ,
A first management information reading step of reading from the recording medium first management information indicating a first data file comprising a plurality of data blocks of a predetermined capacity;
A second management information creating step of creating second management information indicating a second data file composed of at least a part of data blocks of the first data file,
In the first management information reading step, a first management showing a first data file composed of a plurality of data blocks including a data block of the predetermined capacity in which image data including a data block immediately after the division position is recorded. Read information,
In the second management information creation step, the address information of the data block including the data block immediately after the division position included in the address information of the first management information read in the first management information read step The second data composed of the data block including the data block immediately after the division position, and the address information of the second management information indicating the data block including the data block immediately after the division position. Create second management information indicating the file,
A data management method, wherein a data block including a data block immediately after the division position is used as a data block of the second data file.
上記管理情報がリンク構造を有することを特徴とする請求項1に記載のデータ管理方法。   The data management method according to claim 1, wherein the management information has a link structure. 上記管理情報が木構造を有することを特徴とする請求項1に記載のデータ管理方法。   The data management method according to claim 1, wherein the management information has a tree structure. 上記データブロック所定の容量の画像データであることを特徴とする請求項1に記載のデータ管理方法。 The data management method according to claim 1, wherein the data block is image data having a predetermined capacity . 分割前の第1のデータファイルに属する一部データを削除する場合において、
削除する上記一部データを含むデータブロックの直後を分割位置として分割を行い、
分割後の第1のデータファイルの削除する上記一部データを含むデータブロックに対して、削除する上記一部データを含むデータブロックの全データのうちの削除しないデータを書き込むことにより、削除する上記一部データの削除を行う請求項1に記載のデータ管理方法。
When deleting some data belonging to the first data file before division,
Perform the division with the data block including the partial data to be deleted as the division position,
Deletion of the data block including the partial data to be deleted in the first data file after the division by writing data that is not deleted among all data of the data block including the partial data to be deleted The data management method according to claim 1, wherein partial data is deleted.
JP2007271464A 2007-10-18 2007-10-18 Data management method Expired - Fee Related JP4208029B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007271464A JP4208029B2 (en) 2007-10-18 2007-10-18 Data management method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007271464A JP4208029B2 (en) 2007-10-18 2007-10-18 Data management method

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP9277688A Division JPH11120043A (en) 1997-10-09 1997-10-09 Data managing method

Publications (2)

Publication Number Publication Date
JP2008033970A JP2008033970A (en) 2008-02-14
JP4208029B2 true JP4208029B2 (en) 2009-01-14

Family

ID=39123239

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007271464A Expired - Fee Related JP4208029B2 (en) 2007-10-18 2007-10-18 Data management method

Country Status (1)

Country Link
JP (1) JP4208029B2 (en)

Also Published As

Publication number Publication date
JP2008033970A (en) 2008-02-14

Similar Documents

Publication Publication Date Title
JP4801314B2 (en) Method and apparatus for storing data in or reading data from a storage medium, and storage medium
JP4158774B2 (en) Playback method
JP4208029B2 (en) Data management method
JP4965990B2 (en) Playback apparatus and file information display method
JP2000215644A (en) Video recording/reproducing apparatus
JP2006323462A (en) File-copying device and file-copying method
JP5762014B2 (en) REPRODUCTION DEVICE AND REPRODUCTION DEVICE CONTROL METHOD
JPH03192436A (en) Information recording and reproducing system
JP2007128286A (en) Reproducing apparatus, reproducing method and reproducing program
JP2004171670A (en) Recording and reproducing device and recording and reproducing method
JPH11120043A (en) Data managing method
JP2005285301A (en) Recorder, reproducer, recording method, reproducing method and program
JP2013118510A (en) Image processing apparatus and image processing method
JP3443304B2 (en) Video recording device
JP4281571B2 (en) Recording apparatus and method, and program
JP2008269726A (en) Recording and reproducing device
JP2007087149A (en) Data recording device
JP4715493B2 (en) Memory control device and memory control method
JP3650992B2 (en) Information recording method and information recording system used therefor
JP3574189B2 (en) Data recording method, data reproducing method and apparatus
JP4865207B2 (en) Image recording / playback device
JP4152839B2 (en) Information recording / reproducing apparatus, information recording / reproducing method, and program
JP4235658B2 (en) Information processing method and information processing apparatus
JPH1186512A (en) Data rewriting method for optical disk
JP4147484B2 (en) Recording apparatus, recording method, and program

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080527

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080728

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

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

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

Free format text: PAYMENT UNTIL: 20111031

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20121031

Year of fee payment: 4

LAPS Cancellation because of no payment of annual fees