US20040013008A1 - Recording/reproducing apparatus and recording/reproducing method - Google Patents

Recording/reproducing apparatus and recording/reproducing method Download PDF

Info

Publication number
US20040013008A1
US20040013008A1 US10/333,545 US33354503A US2004013008A1 US 20040013008 A1 US20040013008 A1 US 20040013008A1 US 33354503 A US33354503 A US 33354503A US 2004013008 A1 US2004013008 A1 US 2004013008A1
Authority
US
United States
Prior art keywords
file
recording
reproducing
fragmented
defragmenting
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.)
Abandoned
Application number
US10/333,545
Other languages
English (en)
Inventor
Yoichi Kondo
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Panasonic Corp
Original Assignee
Individual
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 Individual filed Critical Individual
Assigned to MATSUSHITA ELECTRIC INDUSTRIAL CO., LTD. reassignment MATSUSHITA ELECTRIC INDUSTRIAL CO., LTD. ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: KONDO, YOICHI
Publication of US20040013008A1 publication Critical patent/US20040013008A1/en
Assigned to PANASONIC CORPORATION reassignment PANASONIC CORPORATION CHANGE OF NAME (SEE DOCUMENT FOR DETAILS). Assignors: MATSUSHITA ELECTRIC INDUSTRIAL CO., LTD.
Abandoned legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0602Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
    • G06F3/061Improving I/O performance
    • G06F3/0613Improving I/O performance in relation to throughput
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0655Vertical data movement, i.e. input-output transfer; data movement between one or more hosts and one or more storage devices
    • G06F3/0656Data buffering arrangements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0668Interfaces specially adapted for storage systems adopting a particular infrastructure
    • G06F3/0671In-line storage system
    • G06F3/0673Single storage device
    • G06F3/0674Disk device
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B20/00Signal processing not specific to the method of recording or reproducing; Circuits therefor
    • G11B20/10Digital recording or reproducing
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B27/00Editing; Indexing; Addressing; Timing or synchronising; Monitoring; Measuring tape travel
    • G11B27/02Editing, e.g. varying the order of information signals recorded on, or reproduced from, record carriers
    • G11B27/031Electronic editing of digitised analogue information signals, e.g. audio or video signals
    • G11B27/034Electronic editing of digitised analogue information signals, e.g. audio or video signals on discs
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B2220/00Record carriers by type
    • G11B2220/20Disc-shaped record carriers

Definitions

  • the present invention relates to an apparatus for and a method of recording and reproducing a video signal or an audio signal.
  • a prior art recording and reproducing apparatus has had features of a high-speed jump-to-scene function, a high-speed edit function and the like which utilize a highly advanced random access capability of a disk storage medium which is used as a main storage medium.
  • the present invention is for solving these problems with the prior art, and accordingly, aims at providing a recording and reproducing apparatus and a recording and reproducing method which do not invite a problem that other processing can not be executed for a long time during execution of the file defragment processing.
  • a recording and reproducing apparatus comprises:
  • a file transfer managing unit which detects a fragmented file from among files which are stored in the disk apparatus, checks a state of a free area within the disk apparatus, and moves the file using the data buffer such that the fragmented file will be defragmented, wherein
  • the file transfer managing unit when the file transfer managing unit detects fragmentation of a file to be reproduced during reproduction, the file transfer managing unit automatically moves the file such that the fragmented file will be defragmented.
  • the file transfer managing unit ensures that a file which is held in the data buffer for reproduction and which is to be moved will not be overwritten until the file has been moved.
  • the file transfer managing unit upon stop of reproduction, interrupts file moving for defragmenting the fragmented file.
  • the disk apparatus is a disk apparatus which can be removed from the recording and reproducing apparatus.
  • the disk apparatus is thus not limited to a fixed HDD (Hard Disk Drive) for example, which permits to provide a versatile recording and reproducing apparatus.
  • HDD Hard Disk Drive
  • the file transfer managing unit monitors the number of processing requests for recording or reproduction, and when the number of the processing requests exceeds a certain number, the file transfer managing unit interrupts file moving for defragmenting the fragmented file.
  • the file transfer managing unit monitors an information volume of processing requests for recording or reproduction, and when the information volume of the processing requests which have not been executed yet exceeds a certain value, the file transfer managing unit interrupts file moving for defragmenting the fragmented file.
  • the file transfer managing unit monitors a byte count of readable byte buffered in the data buffer, and when the byte count of readable byte is smaller than a certain count, the file transfer managing unit interrupts file moving for defragmenting the fragmented file.
  • the file transfer managing unit secures on the disk apparatus a free area which is necessary for defragmenting the fragmented file in relation to the file such that the secured area will not be used during recording.
  • the file transfer managing unit releases the secured area upon issuance of a new recording request and detection of a shortage of a demanded recording area.
  • the file transfer managing unit detects a change made to a file which is associated with the secured area and releases the secured area.
  • a recording and reproducing method of recording and reproducing a video signal or an audio signal comprises:
  • a defragmenting step of, upon detection of a fragmented file from among files which are stored in the data buffer, automatically moving the file such that fragmented file will be defragmented.
  • the recording and reproducing method comprises a step of ensuring that a file which is held in the data buffer for reproduction and which is to be moved will not be overwritten until the file has been moved during reproduction.
  • the recording and reproducing method comprises a step at which upon stop of reproduction, the file transfer managing unit interrupts file moving for defragmenting the fragmented file.
  • the recording and reproducing method comprises a step of monitoring the number of processing requests for recording or reproduction, and interrupting file moving for defragmenting the fragmented file when the number of the processing requests exceeds a certain number.
  • the recording and reproducing method comprises a step of monitoring an information volume of processing requests for recording or reproduction, and interrupting file moving for defragmenting the fragmented file when the information volume of the processing requests which have not been executed yet exceeds a certain value.
  • the recording and reproducing method comprises a step of monitoring a byte count of readable byte buffered in the data buffer, and interrupting file moving for defragmenting the fragmented file when the byte count of readable byte is smaller than a certain count.
  • the recording and reproducing method comprises a step of securing on the disk apparatus a free area which is necessary for defragmenting the fragmented file in relation to the file when file moving for defragmenting the fragmented file is interrupted, such that the secured area will not be used during recording.
  • the recording and reproducing method comprises a step of releasing the secured area upon issuance of a new recording request and detection of a shortage of a demanded recording area.
  • the recording and reproducing method comprises a step of detecting a change made to a file which is associated with the secured area and releasing the secured area.
  • the present invention provides an effect that it is possible to realize an apparatus for and a method of recording and reproducing a video signal or an audio signal, which execute the file defragment processing in the background during a reproducing operation to thereby eliminate a burden upon a user and maintain a disk medium always in a stable state with less fragmentation of files.
  • FIG. 1 is a block diagram showing a structure of a recording and reproducing apparatus according to a preferred embodiment 1 of the present invention
  • FIG. 2 is an explanatory diagram showing an internal structure of a file transfer managing unit 5 ;
  • FIG. 3 is an explanatory diagram showing an internal structure of fragmented file detection information 43 ;
  • FIG. 4 is an explanatory diagram showing a state inside a data buffer 1 as it is during a reproducing operation and file movement;
  • FIG. 5 is a flow chart showing an operation between the data buffer 1 and a data outputting unit 4 ;
  • FIG. 6 is a flow chart showing an operation between a disk apparatus 2 and the data buffer 1 ;
  • FIG. 7 is an explanatory diagram showing a condition within disk apparatus 2 until defragmentation
  • FIG. 8 is a flow chart showing a file moving interruption judging operation
  • FIG. 9 is an explanatory diagram showing an internal structure of an interrupted file information list 44 ;
  • FIG. 10 is an explanatory diagram showing a condition within disk apparatus 2 until securing of an area for continued file moving in response to a file moving interruption;
  • FIG. 11 is a flow chart showing a secured area release judging (detection of a recording capacity shortage) operation
  • FIG. 12 is a flow chart showing a secured area release judging (change of an interrupted file) operation.
  • FIG. 13 is an explanatory diagram showing a condition within disk apparatus 2 until release of a secured area.
  • FIGS. 1 through 7 A recording and reproducing apparatus and a recording and reproducing method according to a preferred embodiment 1 of the present invention will now be described with reference to FIGS. 1 through 7.
  • FIG. 1 is a block diagram showing a structure of the recording and reproducing apparatus according to the preferred embodiment 1 of the present invention.
  • the apparatus according to the preferred embodiment 1 comprises a data buffer 1 , a disk apparatus 2 , a data inputting unit 3 , a data outputting unit 4 and a file transfer managing unit 5 .
  • the data buffer 1 is a buffer which is disposed between the data inputting unit 3 , the data outputting unit 4 and the disk apparatus 2 and in which data are temporarily buffered during recording and reproducing operations.
  • the disk apparatus 2 is a non-volatile memory which stores data which are inputted and outputted during the recording and reproducing operations.
  • the disk apparatus 2 is a disk apparatus (which is a DVD recording apparatus for instance) which can be removed.
  • the data inputting unit 3 transmits data inputted from outside during the recording operation to the data buffer 1 .
  • the data outputting unit 4 receives reproduced data which are read from the disk apparatus 2 during the reproducing operation and buffered in the data buffer 1 , and outputs the data to outside.
  • the file transfer managing unit 5 detects a fragmented file and searches for a free area within the disk apparatus 2 during the reproducing operation. When detecting a fragmented file as a result of the search, the file transfer managing unit 5 automatically moves the fragmented file to a continuous area within the disk apparatus 2 via the data buffer 1 in an attempt to defragment the fragmented file. Fragmented files are one chunk of files which are recorded scatteringly over a plurality of areas within the disk apparatus 2 . Defragmenting fragmented file means to move the fragmented file via the data buffer 1 and re-record in one continuous area within the disk apparatus 2 .
  • FIG. 2 shows an internal structure of the file transfer managing unit 5 .
  • the file transfer managing unit 5 comprises an input/output managing unit 11 , a data buffer managing unit 21 and a disk apparatus managing unit 41 .
  • the input/output managing unit 11 comprises a reproduction request detecting flag 12 , a processing request counter 13 , an information volume counter 14 , a recording request detecting flag 15 and a recorded file size 16 , and manages an input/output condition during recording and reproduction.
  • the data buffer managing unit 21 comprises a reproduced data writing address pointer 22 , a reproduced data reading address pointer 23 , a moved data reading address pointer 24 , a free bytes counter 25 , outputted bytes counter 26 , a moved bytes counter 27 , a tolerable processing request count 28 , a tolerable information volume 29 , a tolerable byte count 30 and a readable bytes counter 31 , and manages a state inside of the data buffer 1 .
  • the disk apparatus managing unit 41 comprises a fragmented file detecting flag 42 , fragmented file detection information 43 and an interrupted file information list 44 , and manages a state within the disk apparatus 2 .
  • FIG. 3 is an explanatory diagram showing an internal structure of the fragmented file detection information 43 .
  • the fragmented file detection information 43 comprises a fragmentation count 51 , a total file size 52 , fragmented file information 53 and a move destination's start address 56 .
  • the fragmented file information 53 comprises a fragmented file start address 54 and a file fragment size 55 , and its information count is equal to the fragmentation count 51 .
  • the fragmented file detection information 43 sets up information regarding a fragmented file which is stored in the disk apparatus 2 at the time of detection of file fragmentation.
  • the file transfer managing unit 5 checks a storage condition of a corresponding file to be reproduced which is stored in the disk apparatus 2 .
  • this file is a fragmented file as a result of the check
  • the fragmented file detecting flag 42 is set to ON
  • the number of fragmented files is set as the fragmentation count 51
  • the total size of the fragmented files is set as the total file size 52 .
  • the fragmented file information 53 information regarding each fragmented file is set in the order of fragmentation for the number of the fragmented files.
  • the start address of each fragmented file is set as the fragmented file start address 54
  • the size of each fragmented file is set as the fragmented file size 55 .
  • a continuous area in which a free area exceeds the total file size 52 is searched within the disk apparatus 2 , and the start address of the continuous area is set as the move destination's start address 56 .
  • the file transfer managing unit 5 In the event that the file to be reproduced is a fragmented file during the reproducing operation, the file transfer managing unit 5 buffers the data read from the disk apparatus 2 into the data buffer 1 and thereafter outputs the buffered data to the data outputting unit 4 . Further, the file transfer managing unit 5 moves the file to the continuous area within the disk apparatus 2 , so as to defragment the fragmented file.
  • FIG. 4 shows a state within the data buffer 1 in such a situation.
  • the reproduced data writing address pointer 22 denotes an address at which data read from the disk apparatus 2 are buffered into the data buffer 1 .
  • a direction of reproduced data writing address pointer 61 expresses a direction in which an address is moved during writing. As the data read from the disk apparatus 2 are buffered, the reproduced data writing address pointer 22 is automatically updated toward the direction of reproduced data writing address pointer 61 .
  • the reproduced data reading address pointer 23 denotes an address for transfer from the data buffer 1 to the data outputting unit 4 .
  • a direction of reproduced data reading address pointer 62 expresses a direction in which an address is moved during reading of data from the data buffer 1 . As data are transferred from the data buffer 1 to the data outputting unit 4 , the reproduced data reading address pointer 23 is automatically updated toward the direction of reproduced data reading address pointer 62 .
  • the moved data reading address pointer 24 denotes an address for reading out data which are to be moved from the data buffer 1 to the disk apparatus 2 for defragmenting the fragmented file.
  • a direction of moved data reading address pointer 63 expresses a direction in which an address is moved during reading of data from the data buffer 1 . As data are moved, the moved data reading address pointer 24 is automatically updated toward the direction of moved data reading address pointer 63 .
  • a free buffer area 64 is a free area which is not used within the data buffer 1 .
  • the free bytes counter 25 denotes a byte count of the free buffer area 64 .
  • a readable data area 65 is an area within the data buffer 1 which stores such data which are read from the disk apparatus 2 and can be transferred to the data outputting unit 4 .
  • the readable bytes counter 31 denotes a byte count of the readable data area 65 .
  • An outputted data area 67 is an area within the data buffer 1 which stores data whose transfer to the data outputting unit 4 has completed.
  • the outputted bytes counter 26 denotes a byte count of the outputted data area 67 .
  • a moved data area 66 is an area which stores data whose transfer to the disk apparatus 2 from the data buffer 1 has completed.
  • the moved bytes counter 27 denotes a byte count of the moved data area 66 .
  • FIG. 5 is a flow chart showing an algorithm for data transfer from the data buffer 1 to the data outputting unit 4 during processing which is performed in the background during the reproducing operation to move a file for defragmenting the fragmented file.
  • step S 1 whether there is a request for outputting to the data outputting unit 4 is determined.
  • the sequence proceeds to a step S 5 when there is not a request, whereas the sequence proceeds to a step S 2 when there is a request.
  • step S 2 demanded bytes of data are outputted from the data buffer 1 to the data outputting unit 4 .
  • step S 3 the outputted byte count is subtracted from the readable bytes counter 31 .
  • step S 4 the outputted byte count is added to the outputted bytes counter 26 .
  • step S 5 the outputted bytes counter 26 is compared with the moved bytes counter 27 , and the sequence proceeds to a step S 6 when the outputted bytes counter 26 is the same as or larger than the moved bytes counter 27 but to a step S 9 when the moved bytes counter 27 is larger.
  • step S 6 the count in the moved bytes counter 27 is added to the free bytes counter 25 .
  • step S 6 makes the moved data area 66 shown in FIG. 4 treated as a portion of the free buffer area 64 .
  • step S 9 the count in the outputted bytes counter 26 is added to the free bytes counter 25 .
  • step S 9 makes the outputted data area 67 shown in FIG. 4 treated as a portion of the free buffer area 64 .
  • FIG. 6 is a flow chart showing an algorithm for an operation between the disk apparatus 2 and the data buffer 1 during processing which is performed by the file transfer managing unit 5 in the background during the reproducing operation to move a file for defragmenting the fragmented file.
  • a step S 21 whether there is a movable piece of data in the data buffer 1 is determined.
  • the byte count of movable data is calculated by the following formula:
  • step S 24 when this formula yields zero (there is no movable piece of data), but to a step S 22 when this formula yields other value than zero (there is a movable piece of data).
  • the movable data are moved from the data buffer 1 to the disk apparatus 2 .
  • the movable pieces of data which form the fragmented file are recorded one after another in one continuous recording area within the disk apparatus 2 .
  • the moved byte count is added to the moved bytes counter 27 .
  • step S 24 whether there is a free area within the data buffer 1 which can store data which will be transferred from the disk apparatus 2 .
  • the sequence proceeds to a step S 28 when the free bytes counter 25 is zero (there is no such free area), but to a step S 25 when the free bytes counter 25 has other value than zero (there is such a free area).
  • step S 25 data are transferred to the free buffer area 64 within the data buffer 1 from the disk apparatus 2 .
  • step S 26 the transferred byte count is added to the readable bytes counter 31 .
  • step S 28 the outputted bytes counter 26 is compared with the moved bytes counter 27 , and the sequence proceeds to a step S 29 when the outputted bytes counter 26 is the same as or larger than the moved bytes counter 27 but to a step S 32 when the moved bytes counter 27 is larger.
  • step S 29 the count in the moved bytes counter 27 is added to the free bytes counter 25 .
  • step S 30 the count in the moved bytes counter 27 is subtracted from the outputted bytes counter 26 .
  • step S 29 makes the moved data area 66 shown in FIG. 4 treated as a portion of the free buffer area 64 .
  • step S 32 the count in the outputted bytes counter 26 is added to the free bytes counter 25 .
  • step S 34 makes the outputted data area 67 shown in FIG. 4 treated as a portion of the free buffer area 64 .
  • Such management of the data buffered in the data buffer 1 prohibits the buffered data from getting overwritten until a file has been moved for defragmenting the fragmented file, thereby making it possible to output data to the data outputting unit 4 and move the file to the continuous area within the disk apparatus 2 .
  • FIG. 7 is an explanatory diagram for describing processes of moving a file during file moving processing for defragmenting the fragmented file until a fragmented file within the disk apparatus 2 has been moved to a continuous area within the disk apparatus 2 .
  • Files A 1 , A 2 and A 3 in the section (1) are fragmented files of a file A, while denoted at B, C, D and E are other files.
  • FREE 1 and FREE 2 are free areas in which a file can be stored. Assume now that the FREE 2 area is larger than the capacity of the file A (A 1 +A 2 +A 3 ).
  • the section (2) illustrates a condition that Al and A 2 have been moved to FREE 2 which is shown in the section (1).
  • the section (3) illustrates a condition that A 3 has been moved FREE 4 which is shown in the section (2), the file A has accordingly been stored in a continuous area and fragmentation has been therefore eliminated.
  • FIG. 8 is a flow chart showing an algorithm for an operation performed by the file transfer managing unit 5 to interrupt file moving processing for defragmenting the fragmented file upon satisfaction of a designated condition during processing which is performed in the background during the reproducing operation in order to move a fragmented file for defragmenting it.
  • the reproduction request detecting flag 12 is a flag which is set to ON during the reproducing operation, and it is determined that reproduction has completed and the sequence proceeds to a step S 42 when this flag is not ON. When this flag is ON, the sequence proceeds to a step S 43 .
  • step S 42 processing to interrupt file moving for defragmenting the fragmented file is executed.
  • the tolerable processing request count 28 is compared with the processing request counter 13 .
  • the sequence proceeds to the step S 42 when the processing request counter 13 is found to exceed the tolerable processing request count 28 as a result of the comparison.
  • the processing request counter 13 is the same or smaller than the tolerable processing request count 28 , the sequence proceeds to a step S 44 .
  • Set as the tolerable processing request count 28 is the number of processing which can be performed by this recording and reproducing apparatus which treats each one of recording processing, reproduction processing and file moving processing for defragmenting the fragmented file as one processing.
  • the processing request counter 13 counts the total number of processing requests which are being currently executed.
  • the tolerable information volume 29 is compared with the information volume counter 14 .
  • the sequence proceeds to the step S 42 when the information volume counter 14 is found to exceed the tolerable information volume 29 .
  • the sequence proceeds to a step S 45 .
  • Set as the tolerable information volume 29 is the volume of information which can be transferred in the disk apparatus 2 .
  • the information volume counter 14 counts the volume of information for each one of the processing requests which are being currently executed.
  • the tolerable byte count 30 is compared with the readable bytes counter 31 .
  • the sequence proceeds to the step S 42 when the tolerable byte count 30 is found to exceed the readable bytes counter 31 .
  • the sequence proceeds to a step S 46 when the tolerable byte count 30 is the same as or smaller than the readable bytes counter 31 .
  • Set to the tolerable byte count 30 is a data byte count of a minimum volume of read data which needs be buffered in the data buffer 1 to continue the ongoing reproducing operation without a break.
  • FIGS. 9 through 10 A recording and reproducing apparatus and a recording and reproducing method according to a preferred embodiment 3 of the present invention will now be described with reference to FIGS. 9 through 10.
  • FIG. 9 shows a structure of the interrupted file information list 44 which holds information regarding all interrupted files during file moving interruption processing for defragmenting the fragmented file at the step S 42 which is shown in FIG. 8.
  • the interrupted file information list 44 holds information regarding all interrupted files within the disk apparatus 2 for which file moving for defragmenting the fragmented file has been interrupted.
  • Set in an interrupted file counter 71 is the number of fragmented files for which file moving for defragmenting the fragmented file is currently in a halt.
  • Interrupted file information 72 comprises a file identification number 73 , a start address of secured area 74 and a secured area size 75 .
  • Set as the file identification number 73 is the identification number of a fragmented file for which file moving for defragmenting the fragmented file has been interrupted. This number is assigned uniquely to each file within the disk apparatus 2 .
  • Set as the start address of secured area 74 is the start address of one continuous free area which includes a recording area whose capacity covers fragmented files which have not been moved yet. The byte count of a secured free area is set as the secured area size 75 . There are the same number of the interrupted file information 72 as the count of the interrupted file counter 71 .
  • FIG. 10 shows processes of a file arrangement within the disk apparatus 2 since file moving for defragmenting the fragmented file until interruption.
  • Files A 1 , A 2 and A 3 in the section (1) are fragmented files of a file A, while denoted at B, C, D and E are other files.
  • FREE 1 and FREE 2 are free areas in which a file can be stored. Assume now that the FREE 2 area is larger than the capacity of the file A (A 1 +A 2 +A 3 ).
  • the section (2) illustrates a condition that A 1 and A 2 have been moved to FREE 2 which is shown in the section (1).
  • the section (3) illustrates a condition that file moving interruption processing occurred after moving has completed as the section (2) and a recording area whose size is equivalent to the capacity of A 3 is accordingly secured in the FREE 3 area.
  • FIG. 11 is a flow chart showing an algorithm for an operation which the file transfer managing unit 5 performs to release a secured area for resumption of file moving for defragmenting the fragmented file upon detection of a recording capacity shortage in response to a new recording request.
  • the recording request detecting flag 15 is a flag which is set to ON when there is a new recording request, and it is therefore determined that there is a new recording request and the sequence proceeds to a step S 52 when this flag is ON but this processing is terminated when this flag is not ON.
  • a free area is searched for within the disk apparatus 2 and whether there is a free area having a recording file size of 16 or larger is determined.
  • a file size (byte count) to newly record in accordance with a new recording request is set as the recording file size 16 .
  • the sequence proceeds to a step S 53 , whereas the sequence proceeds to a step S 54 the free area is the same as or larger than the recording file size 16 .
  • the area secured for resumption of file moving for defragmenting the fragmented file (for instance, a secured area shown in (3) in FIG. 10) is released. This allows to record a file in the released area.
  • FIG. 12 is a flow chart showing an algorithm for an operation which the file transfer managing unit 5 performs to release a secured area for resumption of file moving for defragmenting the fragmented file upon detection of a change made to a file for which file moving for defragmenting the fragmented file has been interrupted.
  • step S 61 whether there is a change made to a file for which file moving for defragmenting the fragmented file has been interrupted is determined. The sequence proceeds to a step S 62 when there is a change made to the file, but a step S 63 when there is not a change made to the file.
  • an area secured for resumption of file moving processing for defragmenting the fragmented file (for example, the secured area shown in the section (3) in FIG. 10) is released. This makes it possible to record a file in the released area.
  • FIG. 13 shows a storage condition of a file within the disk apparatus 2 for which file moving processing for defragmenting the fragmented file is in a halt and a condition as it is after release of the secured area.
  • the section (1) represents a condition that an area whose size is the same as that of the fragmented file A 3 which has not been moved yet is secured after and continuous to an A 1 +A 2 area.
  • the section (2) represents a condition that the area secured for the file A is released and integrated with FREE 4 which is shown in the section (1).
  • the recording and reproducing apparatus and the recording and reproducing method according to the present invention require to execute the file moving processing for defragmenting the fragmented file in the background of reproduction. Hence, it is possible to maintain a disk medium always in a stable state with less file fragmentation without forcing a burden upon a user.
  • the present invention is used as a recording apparatus for recording information of a video signal or an audio signal, a reproducing apparatus for the same, and a recording method and a reproducing method for the same.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Signal Processing For Digital Recording And Reproducing (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Management Or Editing Of Information On Record Carriers (AREA)
US10/333,545 2001-05-11 2002-04-30 Recording/reproducing apparatus and recording/reproducing method Abandoned US20040013008A1 (en)

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP2001142176A JP2002342132A (ja) 2001-05-11 2001-05-11 記録再生装置及び記録再生方法
JP2001-142176 2001-05-11
PCT/JP2002/004342 WO2002101556A1 (fr) 2001-05-11 2002-04-30 Appareil d'enregistrement/reproduction et procede d'enregistrement/reproduction

Publications (1)

Publication Number Publication Date
US20040013008A1 true US20040013008A1 (en) 2004-01-22

Family

ID=18988527

Family Applications (1)

Application Number Title Priority Date Filing Date
US10/333,545 Abandoned US20040013008A1 (en) 2001-05-11 2002-04-30 Recording/reproducing apparatus and recording/reproducing method

Country Status (6)

Country Link
US (1) US20040013008A1 (zh)
JP (1) JP2002342132A (zh)
KR (1) KR100502521B1 (zh)
CN (2) CN100345121C (zh)
TW (1) TW556109B (zh)
WO (1) WO2002101556A1 (zh)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050025450A1 (en) * 2002-12-03 2005-02-03 Takaya Ono Recording control apparatus, recording control method, and program used therewith
US20090049238A1 (en) * 2006-02-14 2009-02-19 Ji Zhang Disk drive storage defragmentation system
US20090327370A1 (en) * 2006-07-22 2009-12-31 Warp Disk Software V/Carsten Schmidt Defragmentation of digital storage media
US20120284474A1 (en) * 2011-05-06 2012-11-08 International Business Machines Corporation Enabling recovery during data defragmentation
US10414435B1 (en) * 2017-06-29 2019-09-17 Northrop Grumman Systems Corporation Apparatus and method for attenuating vibration transmission

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005267240A (ja) * 2004-03-18 2005-09-29 Hitachi Global Storage Technologies Netherlands Bv デフラグメントを行う方法及び記憶装置
JP4356624B2 (ja) * 2005-02-07 2009-11-04 株式会社日立製作所 記録再生装置、記録装置、記録再生方法及び記録方法
JP4916688B2 (ja) * 2005-09-06 2012-04-18 ソニー・エリクソン・モバイルコミュニケーションズ株式会社 携帯情報端末及びデフラグ制御方法
JP4949176B2 (ja) * 2007-09-10 2012-06-06 ソニー株式会社 情報処理装置、記録方法およびコンピュータプログラム
JP5296763B2 (ja) * 2010-11-11 2013-09-25 株式会社バッファロー 記憶装置、記憶プログラム及び制御方法
CN107665098B (zh) * 2017-09-05 2020-12-18 联想(北京)有限公司 信息处理方法、存储设备及计算机存储介质

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6205529B1 (en) * 1997-09-25 2001-03-20 Emc Corporation Method and apparatus for defragmenting a storage device using a copy function in the device control logic
US20010016792A1 (en) * 2000-02-18 2001-08-23 Pioneer Corporation Apparatus and method for correcting information storage position
US6571261B1 (en) * 2000-07-13 2003-05-27 International Business Machines Corporation Defragmentation utility for a shared disk parallel file system across a storage area network
US6772305B2 (en) * 2001-01-31 2004-08-03 Hewlett Packard Development Company Lp Data reading and protection

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05242477A (ja) * 1992-02-28 1993-09-21 Victor Co Of Japan Ltd 書換え可能な記録媒体に対する記録再生方法
JPH0778097A (ja) * 1993-09-08 1995-03-20 Fuji Xerox Co Ltd ファイル再配置システム
JPH07200369A (ja) * 1993-12-28 1995-08-04 Matsushita Electric Ind Co Ltd データ記憶装置
JP3421898B2 (ja) * 1995-04-10 2003-06-30 ソニー株式会社 データ記録装置およびデータ管理方法
JP2001006345A (ja) * 1999-06-17 2001-01-12 Sony Corp ディスク記録再生装置

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6205529B1 (en) * 1997-09-25 2001-03-20 Emc Corporation Method and apparatus for defragmenting a storage device using a copy function in the device control logic
US20010016792A1 (en) * 2000-02-18 2001-08-23 Pioneer Corporation Apparatus and method for correcting information storage position
US6571261B1 (en) * 2000-07-13 2003-05-27 International Business Machines Corporation Defragmentation utility for a shared disk parallel file system across a storage area network
US6772305B2 (en) * 2001-01-31 2004-08-03 Hewlett Packard Development Company Lp Data reading and protection

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050025450A1 (en) * 2002-12-03 2005-02-03 Takaya Ono Recording control apparatus, recording control method, and program used therewith
EP1426958A3 (en) * 2002-12-03 2005-08-03 Sony Corporation Recording control apparatus, recording control method, and program used therewith
US7697823B2 (en) 2002-12-03 2010-04-13 Sony Corporation Recording control apparatus, recording control method, and program used therewith
US20090049238A1 (en) * 2006-02-14 2009-02-19 Ji Zhang Disk drive storage defragmentation system
US8015352B2 (en) * 2006-02-14 2011-09-06 Software Site Applications, Limited Liability Company Disk drive storage defragmentation system
US20090327370A1 (en) * 2006-07-22 2009-12-31 Warp Disk Software V/Carsten Schmidt Defragmentation of digital storage media
US20120284474A1 (en) * 2011-05-06 2012-11-08 International Business Machines Corporation Enabling recovery during data defragmentation
US10414435B1 (en) * 2017-06-29 2019-09-17 Northrop Grumman Systems Corporation Apparatus and method for attenuating vibration transmission

Also Published As

Publication number Publication date
WO2002101556A1 (fr) 2002-12-19
CN100345121C (zh) 2007-10-24
KR20030020920A (ko) 2003-03-10
JP2002342132A (ja) 2002-11-29
CN101034578A (zh) 2007-09-12
KR100502521B1 (ko) 2005-07-21
CN1462390A (zh) 2003-12-17
TW556109B (en) 2003-10-01

Similar Documents

Publication Publication Date Title
US8327076B2 (en) Systems and methods of tiered caching
JP4699672B2 (ja) バンド幅効率の改善方法
JP4402103B2 (ja) データ記憶装置、そのデータ再配置方法、プログラム
JPH05307440A (ja) データ記憶フォーマット変換方式及びその変換方法及びアクセス制御装置及びデータアクセス方法
US20040013008A1 (en) Recording/reproducing apparatus and recording/reproducing method
US20150095566A1 (en) Reading Speed of Updated File by Tape Drive File System
JP3796858B2 (ja) 光ディスク読出装置
US6701413B2 (en) Disk drive performing a read-ahead operation of the data from the disk
US7613892B2 (en) Recording device, recording method, recording medium, and program
US8077567B2 (en) Recording and reproducing apparatus and recording and reproducing method
JP2004334459A (ja) 記録再生装置、記録再生方法、および記録再生プログラム
EP1684288B1 (en) Information recorder, information recording method, and recording medium containing program
JP2008269520A (ja) 記録装置及び記録方法
US20080101187A1 (en) Optical disc recording apparatus
EP1213652B1 (en) Disk medium managing method
US7624228B2 (en) Disk drive and method of controlling cache memory therein
JP2005317139A (ja) 記録再生装置
KR100389110B1 (ko) 저속 기억 장치를 위한 환형 큐의 관리 방법
JP2001195198A (ja) ドライブ装置及び、バッファ管理方法
JPS6359640A (ja) ログ情報フアイル制御方式
JPH11242802A (ja) 磁気テープの劣化領域管理方式及び磁気テープの劣化領域管理方法及び磁気テープ装置制御プログラムを格納した記録媒体
JP2001043662A (ja) ディスク媒体管理方法
US8472294B2 (en) Information reproduction device and information reproduction method
JP2001312376A (ja) 回転媒体記憶装置及び回転媒体記録制御方法
WO2005098859A1 (en) Recording of data with special storage space requirements on a storage medium

Legal Events

Date Code Title Description
AS Assignment

Owner name: MATSUSHITA ELECTRIC INDUSTRIAL CO., LTD., JAPAN

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNOR:KONDO, YOICHI;REEL/FRAME:014404/0555

Effective date: 20030114

AS Assignment

Owner name: PANASONIC CORPORATION, JAPAN

Free format text: CHANGE OF NAME;ASSIGNOR:MATSUSHITA ELECTRIC INDUSTRIAL CO., LTD.;REEL/FRAME:021897/0624

Effective date: 20081001

Owner name: PANASONIC CORPORATION,JAPAN

Free format text: CHANGE OF NAME;ASSIGNOR:MATSUSHITA ELECTRIC INDUSTRIAL CO., LTD.;REEL/FRAME:021897/0624

Effective date: 20081001

STCB Information on status: application discontinuation

Free format text: ABANDONED -- FAILURE TO RESPOND TO AN OFFICE ACTION