Apparatus and method for digital data management

Abstract: The present invention provides an apparatus and a method for managing as the file on the computer the data such as moving pictures and audio which are demanded to be inputted, outputted at the real-time. In the conventional file apparatus, the data were composed of the discrete blocks of the fixed capacity. The present invention manages the blocks as the compound body of significant data and blank data, normally manages the amount of the significant data within the block into the capacity or more which is determined by the transfer speed of the data to be handled, the performance of the storage media, and so on so that the high speed property of the edition by the discrete block style and the real-time contiguous input-output of the data may be realized at the same time.

Description: BACKGROUND OF THE INVENTION The present invention generally relates to a data management apparatus and a data management method for managing a large amount of information such as pictures, audio and other information so as to effect an editing operation. In recent years, the information processing system is used even in the processing of the digital audio data, in the processing of the digital moving picture data, and so on, with a high demand that the mass data should be managed as the file on the computer to edit them at a high speed. Especially the important thing in this case is an apparatus and a method for data management for managing the data in a processable form at a high speed, and these developments are strongly desired. The conventional embodiment of the above described data management apparatus and the data management method will be described hereinafter with reference to the drawings. Fig. 8 is a conceptual diagram of the construction of the conventional data management apparatus for illustrating the conventional digital data management apparatus and the digital data management method. Referring to Fig. 8, reference numeral 21 is a memory means for storing the data, reference numeral 22 is an input-output means for inputting, outputting the data into the memory means 21, reference numeral 23 is a management means for managing the data on the memory means 21 through the input-output means 22. Reference numeral 24 within the management means 23 is a data management means for dividing the areas on the storage means 21 into a plurality of blocks of the constant size to manage them, reference numeral 25 is a block management means for managing a plurality of blocks as one file. The operation of the conventional data management apparatus constructed hereinabove and the conventional data management method will be described hereinafter. The data management means 24 within the management means 23 manages the continued areas on the storage means 21 as the block. The block management means 25 obtains the information about the storage location and so on on the storage means 21 of the respective blocks from the data management means 24, and manages the logical concatenation information and so on so that one file may be configured with a plurality of blocks of one or more. When the access operation is effected into one file to output it, the management means 23, first, refers to the block concatenation information for each of the files the block management means 25 is managing. Then, the location information on the storage means 21 of the respective blocks is obtained from the data management means 24 to drive the input-output means 22 so as to have the sequential access into the respective blocks on the storage means 21, so that the data of each block configuring the file from the storage means 21 may be sequentially outputted. Fig. 9 is a diagram showing the relationship between the management information for the data management the management means 23 has and the data of the storage means 21. The operation of the management means 23 will be described with reference to it. In Fig. 9, reference numeral 21 is a storage means for storing the data, reference numeral 22 is a system memory for storing the information for effecting the data management, reference numeral 23 shows one file in the storage means 21, with one file 23 being composed of the data blocks of 23a, 23b and 23c. Reference numeral 24 is a data block address storage part, which is on the system memory 22 so as to store the address on the storage means 21 of the data blocks 23a, 23b, 23c configuring the file 23. The block management means 25 obtains the address as the storage location information of the data blocks 23a through 23c from the data management means 24 and respectively stores them on the elements 24a, 24b, 24c composing the data block address storage part 24. The management means 23 reads respectively from the composing elements 24a, 24b, 24c of the data block address storage part the address in the storage means 23 of the data blocks 23a, 23b, 23c configuring the file 23 from the data block address storage part 24 on the system memory 22. The management means 23 may manage the file 23 through the accessing of the memory means 21 in accordance with the read address information, the number information and the sequential information thereof. The editing of the file will be described hereinafter by way of an example of the deletion of the data block from the file. When the data block 23b is deleted from the file 23, the management means 23 deletes the element 24b with the address of the data block 23b being stored on it from the data block address storage part 24 so as to write the address of the data block 23 to be stored in the 24c onto the element 24b of the data block address storage part 24. The data block 23b is to be deleted from the file 23 by the above described steps. But in such a method as described hereinabove, all has to be rewritten in the worst case after the editing was caused about the elements 24a, 24b, 24c constituting the data block address storage part 24 in the editing operation of the file. When the number of the data blocks constituting the file 23 increases, grave bad influences are applied upon the processing speed of the system, with a problem that the demand of editing the mass file cannot be satisfied at a high speed. From the IBM TECHNICAL DISCLOSURE BULLETIN, vol. 21, no. 9, February 1979, New York, US, pages 3798 - 3800, GIBBARD, WALKER: "Efficient Storage Space Utilization" a method of managing data is disclosed which dynamically allocates storing space by managing the data in storage pools, which in turn are divided into numbered storage sub-pools, each of which consists of a number of consecutive storage blocks. A storage allocation control subpool is used to record the availability of storage blocks within the storage subpools. Storage subpools are divided into allocation units containing a fixed number of consecutive storage blocks. Storage is allocated in extents of consecutive allocation units within a single storage subpool. From EP-A3-0 165 382 a data processing system and a related method of operation is known according to which storage locations of data blocks are managed on non-eraseable storage media. SUMMARY OF THE INVENTION Accordingly, an essential object of the present invention is to provide an apparatus and a method for digital data management, which is adapted to manage on the computer the mass of data required to be processed without interruption at the input and output operations so as to easily process them at a high speed. In accomplishing this and other objects, the data management apparatus for reducing the number of data blocks in a data file to enhance real-time sequential data input-output operations according to the present invention comprises: storage means for storing data; input-output means, operatively coupled to said storage means, for inputting and outputting data stored in said storage means; and management means, operatively coupled to said input-output means, for managing data stored in said storage means, whereby, said management means includes: (a) data management means for managing each of a plurality of logically adjacent storage areas of said storage means respectively constituting a plurality of data blocks and for identifying within each data block at least one data area having data stored therein and any empty areas not having data stored therein; (b) block management means for managing at least one data block as a data file based on concatenation information of the data blocks; and (c) regulation means for (c1) receiving concatenation information of data blocks of a data file from the data management means and the block management means, and information regarding the data size of data areas within said data block of the data file and the data size of said data block of the data file; and (c2) driving said input-output means to move data areas of one data block of the data file to another data block of the data file so as to reduce a number of data blocks of the data file; (d) whereby, if the data size of the data areas of the received data block is less than a predetermined value, said regulation means receives concatenation information of adjacent data blocks of the data file, so as to maintain at least a predetermined constant data size of the combined data areas of each data block of the data file, the predetermined constant data size being determined based on performance characteristics of said storage means and a data input-output speed of said input-output means to effect real-time sequential data input-output operations. In accordance with the above described construction, the present invention has the data management means manage the continued areas on the memory means as the blocks, and further, divides the block interior into the data storage area and the free area to manage them. The block management means receives the information of the storage location and so on of the block on the storage means from the data management means, and manages the concatenation information and so on so as to configure one file from one block or more. Further, the regulation means investigates the size of the data storage area of the optional block from the data management means. If the size of the data memory area of the block is smaller than the predetermined value, the information such as storage location information and so on the memory means of the contiguous blocks to configure the file from the block management means, and also, receives the information about the size of the data storage areas and the free area of these contiguous blocks from the data management means. Thereafter, the regulation means drives the input-output means so as to move onto the block one portion or all of the data from the contiguous blocks of one or more, so that the size of the data storage area within the block may be normally regulated into the predetermined constant value or more which is determined by the performance of the storage means and the input-output speed of the data in the input-output means, and is sufficient to effect the real-time continuous data inputting, outputting operations in the input-output means. This fact makes it possible to provide an apparatus and a method for digital data management which are adapted to manage on the computer as the file the mass data to be demanded to be processed without interruption at the input-output operation so as to effect the processing operation on them at a high speed and with ease. As described hereinabove, an apparatus and a method for digital data management of the present invention, which makes it possible to input, output the data without interruption at the input-output operation time by the management, into a constant value of the proper size, of the data storage area within the block by the regulation means. Also, since the existence of the free area is allowed within the block the data management means manages, the increase and decrease of the data to be caused by the editing of the file may be easily absorbed simply by the change in one portion of the file, thus making it possible to process even the mass data at the high speed without any requirement of the regular data rearrangement. Accordingly, by this fact, an apparatus and a method for digital data management may be provided, which are adapted to manage on the computer as the file the mass data to be demanded to be processed without interruption at the input-output operation time, and capable of easily processing them at the high speed. BRIEF DESCRIPTION OF THE DRAWINGS These and other objects and features of the present invention will become apparent from the following description taken in conjunction with the preferred embodiment thereof with reference to the accompanying drawings, in which; Fig. 1 is a construction conceptual diagram for illustrating an apparatus and a method for digital data management in one embodiment of the present invention; Fig. 2 is a diagram showing the relationship between the management information the management means has and the information stored in the storage means; Fig. 3 is a conceptual diagram for illustrating the file editing method of the present invention; Fig. 4 is a conceptual diagram for illustrating the blocks one embodiment manages; Fig. 5 is a conceptual diagram for illustrating the blocks another embodiment manages; Fig. 6 is a flow chart showing one example of the operation flow of the regulation means in the present invention; Fig. 7 is a flow chart showing another example of the operation flow of the regulation means of the present invention; Fig. 8 is a construction conceptual diagram for illustrating the conventional apparatus and method for digital data management; and Fig. 9 is also a diagram showing the relationship between the management information the management means has and the information stored in the storage means. DETAILED DESCRIPTION OF THE INVENTION Before the description of the present invention proceeds, it is to be noted that like parts are designated by like reference numerals throughout the accompanying drawings. An apparatus and a method for digital data management in one embodiment of the present invention will be described hereinafter with reference to the drawings. Fig. 1 is a conceptual diagram showing the construction of the data management apparatus in one embodiment of the present invention. In Fig. 1, reference numeral 1 is a storage means for storing the data, reference numeral 2 is an input-output means for inputting, outputting the data with respect to the storage means 1, reference numeral 3 is a management means for managing the data on the storage means 1 through the input-output means 2. Reference numeral 4 in the management means 3 is a data management means for managing the data on the storage means 1 as a plurality of blocks of a constant size, reference numeral 5 is a block management means for managing a plurality of blocks as one file, reference numeral 6 is a regulation means which is adapted to receive the information from the data management means 4 and the block management means 5, and to move the input-output means 2 so as to move the data of the logically contiguous blocks. Fig. 2 is a diagram showing the relationship between the management information the management means 3 has and the information stored in the storage means 1. In Fig. 2, reference numeral 11 is a storage means for storing the data as the file, reference numeral 12 is a system memory for storing the information, where the management means 3 manages the data as the file, reference numeral 13 shows one file in the storage means 11 with the file 13 being composed of the data blocks of 13a, 13b and 13c. Reference numeral 14 is a block order storage part located on the system memory 12, in which part the block management means 5 stores the order on the storage means 11 of the data blocks 13a, 13b, 13c configuring the file 13, reference numerals 14a, 14b, 14c are data block address storage parts in which the data management means 4 stores the addresses on the storage means 11 of the data blocks 13a, 13b, 13c, reference numeral 15 is a block order address storage part in which the block management means 5 stores the addresses on the memory 12 of the block order storage part 14 and the number of the data block order address storage part constituting the block order storage part 14. In accordance with the construction as described hereinabove, first, a method of managing the data as the file in the block unit to be managed by the data management means 4. First, the management means 3 reads the addresses in the system memory 12 of the block order storage part 14 and the number of the data block address storage parts constituting the block order storage part 14 from the block order address storage part 15 through the block management means 5. Then, the block order storage part 14 is accessed in accordance with the address of the read block order storage part 14 so as to read the addresses of the data blocks 13a, 13b, 13c in the storage means 11 from the data block address storage parts 14a, 14b, 14c within the block order storage part 14. The order of the data block configuring the file 13 is equal to the order of the data block address storage parts 14a, 14b, 14c stored in the block order storage part 14. In this manner, the system may know the addresses on the storage means 11 of the data blocks 13a, 13b, 13c configuring the file 13 and the order of the data block constituting the file 13, and may manage the file 13 on the storage means 11. A method of editing the block unit of the digital data of the present invention will be described hereinafter with reference to the drawings. Fig. 3 shows a conceptual diagram after the deleting and editing operations have been effected so as to illustrate a method of editing the digital data as the file. In Fig. 3, reference numerals 11 through 15 are equal to those of Fig. 2. Reference numeral 15a is a first element of the block order address storage part 15, reference numeral 15b is a second element of the block order address storage part 15, reference numeral 15c is a third element of the block order address storage part 15. The explanation will be effected by way of an example, where the data block 13b is deleted from the file 13. In order to delete the data block 13b from the file 13, first, the number of the data block address storage parts in the block order storage part 14 stored in the first element 15a of the block order address storage part 15 is changed into one from three. Then, the address on the memory 12 of the data block address storage part 14 with the address of the data block 13c being stored in it is stored in the second element 15b of the block order storage part 15, and also, the number of the data block address storage parts is stored as one. The deleting edition is completed. The accessing operation into the file with the editing being completed in this manner is performed as follows. First, the management means 3 reads the first address in the system memory 12 of the block order storage part 14 and the number of the first data block address storage parts constituting the block order storage part 14 from the first element 15a of the block order address storage part 15 through the block management means 5. Also, the management means 3 reads the second address in the system memory 12 of the block order memory part 14 and the number of the second data block address storage part constituting the block order storage part 14 from the second element 15b of the block order address storage part 15 through the block management means 5. Then, in accordance with the first address of the read block order storage part 14, the block order storage part 14 is accessed through the block management means 5, and reads the address of the data block 13a in the storage means 11 from the data block address storage part 14a within the block order storage part 14. Further, in accordance with the second address of the read block order storage part 14, the block order storage part 14 is accessed through the block management means 5, and reads the address of the data block 13c in the storage means 11 from the data block address storage part 14c within the block order storage part 14. The order of the data block configuring the file 13 is equal to the order of the data block address storage part to be read from the block order address storage part 15 and the block order storage part 14. In this manner, the management means 3 may know the address on the storage means 11 of the data blocks 13a, 13c configuring the file 13, and the order of the data block configuring the file 13, and may manage the file 13 after the deleting, editing operations have been effected on the storage means 11. A method of managing the data by much smaller unit than the block unit to be managed by the data management means 4 will be described hereinafter. Fig. 4 shows a conceptual diagram of a plurality of blocks configuring one portion of the file on the storage means 1 of Fig. 1. In Fig. 4, reference numerals 31 through 34 and reference numerals 35 through 37 respectively show discrete blocks arranged on the storage means 1. They are logically contiguous so as to configure one portion of the file. The block is divided in the interior thereof into a plurality of areas, the portions colored as in reference numeral 38 through reference numeral 41 show the data storage areas with the data being stored therein, the portions shown with the blank as in reference numeral 42 through reference numeral 45 show the empty areas with the data being not stored therein. Reference numeral 46 shows the size of the data storage area, in which the regulation means 6 effects the regulating operation into the constant value. Fig. 5 shows another conceptual diagram of a plurality of blocks configuring one portion of the file on the storage means 1 of Fig. 1. In Fig. 5, reference numerals 51 through 54 and reference numerals 55 through 57 are blocks each being arranged discretely on the storage means 1, and contiguous logically to constitute one portion of the file. The interior of the block is divided into a plurality of records. The record colored as in the reference numeral 58 means the data storage record with the record being stored therein, and the record shown blank as in the reference numeral 59 means the empty record. Reference numeral 60 shows the number of the data storage record in which the regulation means 6 effects the regulating operation into the constant value. The operation of the data management apparatus of the present invention and the method for data management will be described in accordance with Fig. 1 and Fig. 4. The data management means 4 within the management means 3 manages the continued areas on the storage means 1 as the block, with one portion of them being conceptually shown as in the block 31 through the block 37. The data management means 4 further divides the interior of the block logically into the data storage area and the free area to manage them. The block 31 shows an example where the block interior is divided into a data storage area 38 with the data being stored therein and a free area 42 with the data being not stored therein. In this diagram, although the data storage area starts from the head of the block, it may start from the halfway of the block. Also, the data storage area and the free area may exist by plurality within the block. Also, the size of the free area may be zero. The block management means 5 obtains the information of the position and so on on the storage means 1 of the respective block from the data management means 4, and manages the logical concatenation information and so on so as to configure one file from a plurality of blocks of one or more. Fig. 6 shows one example of the operation flow of the regulation means 6. It will be described hereinafter with reference to Fig. 6. The regulation means 6 receives the information about the size of the data storage area of the optional block from the data management means 4 (Step S1). If the size of the data management area of the block is smaller than the constant value (Step S2), the information of the contiguous block configuring the file is obtained from the block management mean 5, and the information about the size of the data storage area and the free area of the contiguous blocks from the data management means 4. Thereafter, the regulation means 6 drives the input-output means 2 so that one portion or all the portions of the data may be moved into the block from the contiguous blocks of one or more so as to normally regulate the size of the data storage area within the block into a constant value or more. Now, assume that the size of the block is 16 k byte and the constant value of the size of the data storage area within the block the regulation means 6 tries to regulate is set into 12 k byte. Fig. 4 (a) shows a condition where a block with the size of the data storage area being less than the constant value has been caused by the change in the file. The size of the data storage area of the block 31 is 4 k byte, the size of the data storage area of the block 32 is 14 k byte, the size of the data storage area of the block 33 is 12 k byte, the size of the data storage area of the block 34 is 12 k byte. Since the data storage area of the block 31 is 4 k byte and is less than the established constant value, the regulation means 6 obtains the information about the block after the logically contiguous block 32 from the data management means 4 and the block management means 5. The regulation means 6 adds the size of the data storage area of the contiguous block, and sequentially examines the contiguous blocks until the conditions where the addition results become larger than the multiple of the established constant value and is smaller than the multiple of the block size. In the example shown in Fig. 4, the addition results of the size of the data storage area when the examination is effected as fast as the block 33 satisfy the conditions of becoming 4 k + 14 k + 12 k = 30 k, becoming larger than 12 k x 2 = 24 k, and becoming smaller than 16 k x 2 + 32 k. The regulation means 6 moves the data of the 11 k byte from the block 32 to the block 31 so as to constitute the block 35. Also, the data of the 12 k byte is moved from the block 33 to the block 32 to constitute the block 36. The changing is not required after the block 34. In this manner, the regulation means 6 changes a plurality of blocks shown in Fig. 4 (a) as in Fig. 4 (b) so as to effect the regulation so that the size of the data storage area within the block may become the constant value or more. In accordance with Fig. 1 and Fig. 5, the operation of the apparatus for digital data management and a method for digital data management in another embodiment of the present invention will be described. The data management means 4 within the management means 3 manages the continued areas on the storage means 1 as the block, with one portion thereof being shown conceptually as shown in the blocks 51 through 57. The data management means 4 further divides the block interior into the data storage record of one or more and into the empty record of zero or more so as to manage them. What is colored as in the record 58 is the record with the data being stored in it. The blank record as in the record 59 is the empty record with the data being not stored in it. Although the record of the fixed length is shown as imagined in the drawing, the record may be made even into the variable length. Also, the data storage record may be start from the halfway of the block, and may not be continued within the block. The block management means 5 obtains the information of the position and so on on the storage means 1 of each block from the data management means 4 so as to manage the logical concatenation information and so on so that one file may be configured from a plurality of blocks of one or more. Fig. 7 shows another example of the operation flow of the regulation means 6. It will be described hereinafter with reference to Fig. 7. The regulation means 6 receives the information about the number of the data storage records of the optional block from the data management means 4 (Step n). If the number of the data storage records of the block is smaller than the constant value, the information of the contiguous blocks configuring the file may be obtained from the block management means 5 and the information about the number of the data storage records and the empty records of the contiguous blocks from the data management means 4. Thereafter, the regulation means 6 moves the input-output means 2 so as to move the record into the block from the contiguous block of one or more so that the number of the data storage records within the block is normally regulated into the constant value or more. Now, assume that the record number within the block is 12, and the number of the data storage records within the block the regulation means 6 tries to regulate is set into eight records. Fig. 4 (a) shows a condition where the block with the number of the data storage records being less than the constant value has been caused by the change in the file. The number of the data storage records of the block 31 is 4, the number of the data storage records of the block 32 is 10, the number of the data storage records of the block 31 is 8, the number of the data storage records of the block 31 is 8. The number of the data storage records of the block 31 is 4 and is less than the predetermined constant value 8, the regulation means 6 obtains the information about the block after the logically contiguous block 32 is obtained from the data management means 4 and the block management means 5. The regulation means 6 sequentially examines the contiguous blocks until the conditions are satisfied where the number of the data storage records of the contiguous blocks are added, the addition results are larger than the multiple of the determined constant value, and are smaller than the multiple of the block size. In the example, when the examination is effected as far as the block 33, the addition results of the number of the data storage records become 4 + 10 + 8 = 22 so as to satisfy the conditions of becoming larger than 8 x 2 = 16, and becoming smaller than 12 x 2 = 24. The regulation means 6 moves the data of the seven records from the block 32 to the block 31 to constitute the block 35. Also, the eight records are moved from the block 33 into the block 32 to constitute the block 36. The changing is not effected after the block 34. In this manner, the regulation means 6 changes a plurality of blocks shown in Fig. 4 (a) as in Fig. 4 (b) so as to effect the regulating operation for the number of the data storage records within the block to become the constant value or more. When the block interior has been divided into a plurality of fixed length record, the data movement unit between the blocks is limited into the record, but the information the data management means 4 manages will become less. A secondary storage apparatus, which is generally used, such as magnetic disk, optical disk or the like will be used for the storage means 1, 11. Although these apparatuses require the seek at the access into each block, the data amount within the block is managed at the constant value of the proper size by the regulation means 6 as in the apparatus and the method for digital data management, the proper size, for example, a buffer of two block portions is provided on the input-output means 2 so that the data may be inputted, outputted without interruption at the input-output operations. Although the size of the data storage area within the block to be regulated by the regulation means 6 and the number of the data storage records, namely, the data amount within the block may be optionally set, it may be determined by the specification of the performance of the storage means 1, 11, the necessary data output speed and so on as in the equation (1), Lb = Vo · Vr · Ta / (Vr - Vo) wherein Lb is a size (byte) of the data storage area, Vo is a data output speed, Vr is a disk transfer speed (byte/second), Ta is a disk access time (second). When a standard magnetic disk having 52 ms in disk access time, and 960 K byte in disk transfer speed, is to be used for the storage means 1, 11, and 170 K byte/second is required in the continuous output speed of the data from the input-output means 2, the size of the data storage area will suffice if it is 11 K byte or more. In the present embodiment, although the data of one block is supposed to be inputted, outputted at one access into the storage means 1, 11, two blocks or more may be inputted, outputted. Also, in the apparatus and the method for digital data management of the present invention, as the existence of the free area is allowed within the block the data management means 4 manages, the increase and the decrease of the data to be caused by the edition of the file may be easily absorbed simply by the change in the one portion of the file, and the data is not required to be periodically arranged. The size of the data storage area of the block which is less than the constant value in the data storage area is assumed to be Eo, the size of the data storage area of the blocks continuous logically to the block are E1, E2, ... Ej, with the addition of them being represented with Sj. Assume that the constant value to be regulated by the regulation means 6 is Rmin, the block size is Rmax, and the size of the data storage area within all the blocks has only to be Rmin or more and to be Rmax or less. If the minimum j which satisfies the equation (2) is obtained, the number j + 1 of the blocks necessary for the regulation of the block which is less than the constant value Rmin in the size of the data storage area may be obtained. N X Rmin ≤ Sj ≤ N X Rmax In the equation (2), N is an integer of 1 or more. Since 0 < Rmin < Rmax, and 0 ≤ SO < Rmin, it is possible to prove the equation (3) from the equation (2). j ≤ Rmax / (Rmax - Rmin) As the j which may be obtained from the size Rmin of the data storage area and the block size Rmax shows a finite part from the equation (3), the regulation means 6 may retain the size of the data storage area of all the blocks at the constant value or more by the movement of the data from the block of the finite part. Since the seek time into the next block does not have to be taken into consideration about the final block configuring the file, the size of the data storage area may be the constant value or lower. Also, the size of the data storage area to be regulated by the regulation means and the number of the data storage records may be different for each file. In this case the block management means 5 retains these information.

Claims: A data management apparatus for reducing the number of data blocks in a data file to enhance real-time sequential data input-output operations, comprising: storage means (1) for storing data; input-output means (2), operatively coupled to said storage means (1), for inputting and outputting data stored in said storage means (1); and management means (3), operatively coupled to said input-output means (2), for managing data stored in said storage means (1), characterized in that, said management means (3) includes: (a) data management means (4) for managing each of a plurality of logically adjacent storage areas of said storage means (1) respectively constituting a plurality of data blocks (13a, 13b, 13c) and for identifying within each data block (13a, 13b, 13c) at least one data area having data stored therein and any empty areas not having data stored therein; (b) block management means (5) for managing at least one data block (13a, 13b, 13c) as a data file (13) based on concatenation information of the data blocks (13a, 13b, 13c); and (c) regulation means (6) for (c1) receiving concatenation information of data blocks (13a, 13b, 13c) of a data file (13) from the data management means (4) and the block management means (5), and information regarding the data size of data areas within said data block of the data file (13) and the data size of said data block of the data file (13); and (c2) driving said input-output means (2) to move data areas of one data block (13a, 13b, 13c) of the data file (13) to another data block (13a, 13b, 13c) of the data file (13) so as to reduce a number of data blocks (13a, 13b, 13c) of the data file; (d) whereby, if the data size of the data areas of the received data block is less than a predetermined value, said regulation means (6) receives concatenation information of adjacent data blocks of the data file, so as to maintain at least a predetermined constant data size of the combined data areas of each data block (13a, 13b, 13c) of the data file (13), the predetermined constant data size being determined based on performance characteristics of said storage means (1) and a data input-output speed of said input-output means (2) to effect real-time sequential data input-output operations. A data management apparatus as defined in claim 1, wherein said predetermined constant data size varies for each data file (13) managed by said block management means (5). A data management apparatus as defined in claim 1 or 2, wherein said data management means (4) manages each of a plurality of logically adjacent storage areas of said storage means (1) respectively constituting a plurality of data blocks (13a, 13b, 13c), and identifies within each data block (13a, 13b, 13c) at least one data record having data stored therein and any empty records not having data stored therein. A data management apparatus as defined in claim 1, wherein said input-output means (2) inputs or outputs data of at least one data block (13a, 13b, 13c) upon each access operation. In a data management apparatus comprising storage means (1) for storing data; input-output means (2), operatively coupled to said storage means (1), for inputting and outputting data stored in said storage means (1); and management means (3), operatively coupled to said input-output means (2), for managing data stored in said storage means (1), a data management method for reducing the number of data blocks in a data file to enhance real-time sequential data input-output operations, characterized by the steps of: (a) managing, using data management means (4), each of a plurality of logically adjacent storage areas of a storage means (1) respectively constituting a plurality of data blocks (13a, 13b, 13c) and identifying within each data block (13a, 13b, 13c) at least one data area having data stored therein and any empty areas not having data stored therein; (b) managing, using block management means (5), at least one data block (13a, 13b, 13c) as a data file (13) based on concatenation information of the data blocks (13a, 13b, 13c); (c1) receiving, using regulation means (6), concatenation information of data blocks (13a, 13b, 13c) of a data file (13) from the data management means (4) and the block management means (5), and information regarding the data size of data areas within said data block of the data file (13) and the data size of said data block of the data file (13); and (c2) driving, using the regulation means (6), said input-output means (2) to move data areas of one data block (13a, 13b, 13c) of the data file (13) to another data block (13a, 13b, 13c) of the data file (13), so as to reduce a number of data blocks (13a, 13b, 13c) of the data file; and (d) if the data size of the data areas of the received data block is less than a predetermined value, receiving, using the regulation means (6), concatenation information of adjacent data blocks of the data file, so as to maintain at least a predetermined constant data size of the combined data areas of each data block (13a, 13b, 13c) of the data file (13), the predetermined constant data size being determined based on performance characteristics of said storage means (1) and a data input-output speed of said input-output means (2) to effect real-time sequential data input-output operations. A data management method as defined in claim 5, comprising the step of managing, using the data management means (4), each of a plurality of logically adjacent storage areas of the storage means (1) respectively constituting a plurality of data blocks (13a, 13b, 13c), and identifying within each data block (13a, 13b, 13c) at least one data record having data stored therein and any empty records not having data stored therein. A data management method as defined in claim 5, comprising the steps of: storing data management means (4), addresses of the data block (13a, 13b, 13c) in plural respective data block address storage parts (14a, 14b, 14c) of a block order storage part (14); managing, using block management means (5), at least one data blocks (13a, 13b, 13c) as a data file (13) based on concatenation information of the at least one data block (13a, 13b, 13c) according to addresses stored in the block order storage part (14a, 14b, 14c), and storing address information of the block order storage part (14a, 14b, 14c) containing the data block address storage parts and a number of the data block address storage parts of the block order storage part in a block order address storage part (15); and reading, using management means (3), the address information of the block order storage part (14) containing the data block address storage parts and the number of the data block address storage parts of the block order storage part stored in the block order address storage part (15), accessing the block order storage part in accordance with the thus read information to obtain an address of a data block of the storage means (1), and accessing data in the storage means (1) via an input-output means (2) in accordance with the thus read address of the data block (13a, 13b, 13c). A data management method as defined in claim 5 or 7, comprising the steps of: editing, using management means (3), one of said data blocks (13a, 13b, 13c) of the storage means (1) by rewriting an address of the data block address storage parts (14a, 14b, 14c) of the block order storage part (14) corresponding to said one data block to by stored in the block order storage part (14) and the number of data block address storage parts of the block order storage part stored in the block order address storage part (15).

Inventors: ENDO KOICHIRO, KITAGAWA HIDEMASA, MORI YOSHIHIRO, SUZUKI KISOKO, TOMIMOTO TETSUO, ENDO, KOICHIRO, KITAGAWA, HIDEMASA, MORI, YOSHIHIRO, SUZUKI, KISOKO, TOMIMOTO, TETSUO
Applicants: MATSUSHITA ELECTRIC IND CO LTD, MATSUSHITA ELECTRIC INDUSTRIAL CO., LTD.
Application year: 1990
Main classification: G06F17
IPC codes: G06F17