WO2003088042A1 - Appareil et procede d'enregistrement, support d'enregistrement, et programme - Google Patents
Appareil et procede d'enregistrement, support d'enregistrement, et programme Download PDFInfo
- Publication number
- WO2003088042A1 WO2003088042A1 PCT/JP2003/004206 JP0304206W WO03088042A1 WO 2003088042 A1 WO2003088042 A1 WO 2003088042A1 JP 0304206 W JP0304206 W JP 0304206W WO 03088042 A1 WO03088042 A1 WO 03088042A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- data
- recording
- cluster
- recording medium
- clusters
- Prior art date
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F12/00—Accessing, addressing or allocating within memory systems or architectures
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11B—INFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
- G11B27/00—Editing; Indexing; Addressing; Timing or synchronising; Monitoring; Measuring tape travel
- G11B27/10—Indexing; Addressing; Timing or synchronising; Measuring tape travel
- G11B27/34—Indicating arrangements
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0602—Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
- G06F3/0608—Saving storage space on storage systems
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0602—Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
- G06F3/061—Improving I/O performance
- G06F3/0613—Improving I/O performance in relation to throughput
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0628—Interfaces specially adapted for storage systems making use of a particular technique
- G06F3/0638—Organizing or formatting or addressing of data
- G06F3/0643—Management of files
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0668—Interfaces specially adapted for storage systems adopting a particular infrastructure
- G06F3/0671—In-line storage system
- G06F3/0673—Single storage device
- G06F3/0679—Non-volatile semiconductor memory device, e.g. flash memory, one time programmable memory [OTP]
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11B—INFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
- G11B27/00—Editing; Indexing; Addressing; Timing or synchronising; Monitoring; Measuring tape travel
- G11B27/36—Monitoring, i.e. supervising the progress of recording or reproducing
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N1/00—Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
- H04N1/21—Intermediate information storage
- H04N1/2104—Intermediate information storage for one or a few pictures
- H04N1/2112—Intermediate information storage for one or a few pictures using still video cameras
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N1/00—Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
- H04N1/21—Intermediate information storage
- H04N1/2104—Intermediate information storage for one or a few pictures
- H04N1/2112—Intermediate information storage for one or a few pictures using still video cameras
- H04N1/212—Motion video recording combined with still video recording
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N1/00—Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
- H04N1/21—Intermediate information storage
- H04N1/2104—Intermediate information storage for one or a few pictures
- H04N1/2112—Intermediate information storage for one or a few pictures using still video cameras
- H04N1/2125—Display of information relating to the still picture recording
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N1/00—Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
- H04N1/21—Intermediate information storage
- H04N1/2104—Intermediate information storage for one or a few pictures
- H04N1/2158—Intermediate information storage for one or a few pictures using a detachable storage unit
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N5/00—Details of television systems
- H04N5/76—Television signal recording
- H04N5/765—Interface circuits between an apparatus for recording and another apparatus
- H04N5/77—Interface circuits between an apparatus for recording and another apparatus between a recording apparatus and a television camera
- H04N5/772—Interface circuits between an apparatus for recording and another apparatus between a recording apparatus and a television camera the recording apparatus and the television camera being placed in the same enclosure
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F12/00—Accessing, addressing or allocating within memory systems or architectures
- G06F12/02—Addressing or allocation; Relocation
- G06F12/0223—User address space allocation, e.g. contiguous or non contiguous base addressing
- G06F12/023—Free address space management
- G06F12/0238—Memory management in non-volatile memory, e.g. resistive RAM or ferroelectric memory
- G06F12/0246—Memory management in non-volatile memory, e.g. resistive RAM or ferroelectric memory in block erasable memory, e.g. flash memory
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11B—INFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
- G11B2220/00—Record carriers by type
- G11B2220/20—Disc-shaped record carriers
- G11B2220/25—Disc-shaped record carriers characterised in that the disc is based on a specific recording technology
- G11B2220/2537—Optical discs
- G11B2220/2562—DVDs [digital versatile discs]; Digital video discs; MMCDs; HDCDs
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11B—INFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
- G11B2220/00—Record carriers by type
- G11B2220/60—Solid state media
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11B—INFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
- G11B2220/00—Record carriers by type
- G11B2220/60—Solid state media
- G11B2220/61—Solid state media wherein solid state memory is used for storing A/V content
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N2201/00—Indexing scheme relating to scanning, transmission or reproduction of documents or the like, and to details thereof
- H04N2201/21—Intermediate information storage
- H04N2201/214—Checking or indicating the storage space
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N5/00—Details of television systems
- H04N5/76—Television signal recording
- H04N5/907—Television signal recording using static stores, e.g. storage tubes or semiconductor memories
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N9/00—Details of colour television systems
- H04N9/79—Processing of colour television signals in connection with recording
- H04N9/7921—Processing of colour television signals in connection with recording for more than one processing mode
Definitions
- the present invention relates to a recording device and method, a recording medium, and a program, and more particularly, to a recording device and method, a recording medium, and a program that can increase a writing speed of a flash memory.
- flash memory data is recorded or erased in blocks (erase blocks).
- OS Operating System
- FAT File Alloc ocat
- data is managed in units of clusters composed of a plurality of sectors such as 4, 8, 16 or 32. Traditionally, this cluster size was larger than the size of the erase block in flash memory.
- the size of the erase block is larger than the size of the cluster, for example, data of multiple clusters will be stored in one erase block.
- the data of one erasure block (the data of a plurality of clusters) including that cluster was once read, stored in the memory, and the data of the required cluster was rewritten in the memory. Later, the data of multiple clusters including that cluster is written again to the original one erase block. As a result, writing takes a long time. Therefore, in order to be able to manage a flash memory with a large erase block size, it is conceivable to increase the cluster size managed by the FAT file system (to make it larger than the erase block size).
- the present invention has been made in view of such a situation, and aims to increase the writing speed of a flash memory while suppressing a decrease in utilization efficiency.
- First detecting means for detecting an erased cluster second detecting means for detecting an erasing block in which all clusters are free, and recording for recording data in a cluster of erased blocks detected by the second detecting means. Means.
- the recording medium can be a flash memory.
- An FAT system is formed on the recording medium, and the first detection means can detect a free cluster from the FAT.
- the first calculating means for calculating the remaining free space of the recording medium from the number of clusters detected by the first detecting means, and the recording medium from the number of erasure block clusters detected by the second detecting means.
- second calculation means for calculating the remaining free space of the vehicle.
- determining means for determining whether data recorded on the recording medium is moving image data, wherein the data recorded on the recording medium by the determining means is moving image data. If it is determined, the recording unit can record the data in the cluster of the erasure block detected by the second detection unit.
- a determining means for determining whether or not the data to be recorded on the recording medium is moving image data; and a displaying means when the determining means determines that the data to be recorded on the recording medium is moving image data. May display the remaining free space of the recording medium obtained by the second calculating means.
- the first detection step of detecting vacant clusters the second detection step of detecting an erasure block in which all clusters are vacant, and the processing of the second detection step Recording a data in a cluster of erased blocks.
- the program of the recording medium according to the present invention includes a first detection step of detecting empty clusters, a second detection step of detecting erase blocks in which all clusters are empty, and a process of the second detection step. Recording a data in a cluster of the detected erase block.
- the program of the present invention includes a first detection step of detecting empty clusters, a second detection step of detecting an erase block in which all clusters are empty, And a recording step of recording data in the cluster of the erased block detected by the processing of the second detection step.
- the recording device may be an independent device, or may be a block that performs a recording process of a recording / reproducing device. In addition, a block that performs a recording process of the imaging device may be used.
- FIG. 1 is a diagram showing a configuration example of a photographing apparatus to which the present invention is applied.
- FIG. 2 is a diagram showing an internal configuration of the memory stick of FIG.
- FIG. 3 is a diagram illustrating the FAT file system.
- FIG. 4 is a diagram illustrating an example of FAT data in the recording processing of FIG.
- FIG. 5 is a flow chart illustrating a process of initializing a memory stick in the imaging device of FIG.
- FIG. 6 is a diagram illustrating the relationship between clusters and blocks.
- FIG. 7 is a flowchart illustrating a recording process in the imaging device of FIG.
- FIG. 8 is a diagram for explaining another example of FAT data in the recording processing of FIG.
- FIG. 9 is a view for explaining still another example of FAT data in the recording processing of FIG. BEST MODE FOR CARRYING OUT THE INVENTION
- FIG. 1 shows a configuration example of a photographing apparatus 1 to which the present invention is applied.
- the photographing apparatus 1 is configured by, for example, a camcorder (camera-integrated video recorder) or a digital still camera (DSC).
- the CPU Central Processing Unit
- 1 1 1 1 1 1 ROM Read Only Memory
- OS OS of CPU11
- MS-DOS (trademark) is used. Further, the CPU 11 controls the entire photographing apparatus 1 in accordance with a user's instruction input via the input unit 18.
- the RAMI 3 also appropriately stores data and the like necessary for the CPU 11 to execute various processes.
- a subject is photographed by the photographing unit 14, and corresponding moving image data or still image data is output.
- the user operates a button or the like that constitutes the input unit 18 to set a moving image or a still image shooting mode (hereinafter, a moving image shooting mode to a moving image mode, and a still image shooting mode to a still image mode). You can take a picture.
- the photographing unit 14 photographs a subject based on the photographing mode selected by the user, and supplies moving image data or still image data to the image processing unit 15.
- the image processing unit 15 performs image processing such as color conversion, gamma correction, and resolution conversion on the data shot by the shooting unit 14.
- the CPU 11, the RO 12, the RAM 13, the photographing unit 14, and the image processing unit 15 are interconnected via a bus 16.
- the bus 16 is also connected to an input / output interface 17.
- input unit 1 8 made of, such as a dial, CRT (Cathode Ray Tube) s and CD (and iquid Crystal Display) good consisting of disk ⁇ play, and the like, as well as an output unit 1 to 9, a speaker
- a storage unit 20 including a hard disk and a communication unit 21 including a modem and a terminal adapter are connected.
- the communication unit 21 performs a communication process via a network (not shown).
- a memory card interface (I / F) 30 is connected to the input / output interface 17.
- the memory card interface 30 performs, for example, initialization processing on the Memory Stick (trademark) 31 as a typical flash memory attached thereto, based on instructions from the CPU 11. Also, a process of recording or reproducing moving image data or still image data that has been photographed by the photographing unit 14 and subjected to image processing by the image processing unit 15 is executed.
- erasing blocks data recording and erasing are performed in blocks (hereinafter referred to as erasing blocks).
- a drive 40 is also connected to the input / output interface 1 if necessary.
- the drive 40 is equipped with a magnetic disk 41, an optical disk 42, a magneto-optical disk 43, a semiconductor memory 44, or the like as appropriate, and a computer program read out of them is stored in a storage unit 20 as needed. Installed at
- FIG. 2 is a diagram showing an internal configuration of the memory stick 31.
- the portions corresponding to those in FIG. 1 are denoted by the corresponding reference numerals, and the description thereof will not be repeated because it is repeated.
- the memory stick 31 includes a CPU 101, an interface (I / F) 102, a flash memory 103, and a RAM 104.
- the CPU 101 receives the instruction of the CPU 11 of the photographing device 1 input from the memory card interface 30 via the interface 102 and follows the instruction. According to the instruction, the overall control of the memory stick 31 is performed. Do. Further, the CPU 101 stores data in the flash memory 103 and initializes the flash memory 103 according to the instruction of the CPU 11 of the image capturing apparatus 1.
- the RAM 104 temporarily stores data in the memory stick 31 or data stored in the flash memory 103 under the control of the CPU 101.
- FAT Fe Allocation Table
- Multiple FAT file systems can be created on memory stick 31.
- the memory stick 31 is partitioned by range for storing one file system.
- Memory Stick 3 1 has
- One partition is allocated to form one FAT file system.
- the FAT file system manages the recording area of a recording medium (in this case, memory stick 31) using two recording units, a logical sector and a cluster.
- the logical sector is generally composed of 512 bytes, and is represented by a serial number from the beginning of the memory stick 31.
- a cluster is composed of multiple (4, 8, 16 or 32) logical sectors.
- FIG. 3 shows the relationship between the logical arrangement of the FAT file system in the memory stick 31 and the data area (cluster).
- the FAT file system consists of MBR (Master Boot Record) 51, PBR (Partition Boot Record) 53, F ATI 54, FAT II 55, Root Directory 56, and Data Area 57. You.
- MBR51 is data stored at the start address of the FAT file system.
- the MBR 51 includes information unique to the memory stick 31 such as information on each file system existing on the memory stick 31 and information on each partition range of the memory stick 31.
- the data in the MBR 51 is rewritten.
- PBR 53 is data stored at the start address of each partition formed on memory stick 31.
- the area that stores management information such as FAT 154, FATII 55, and the root directory 56, and the address information of the data area 57 It contains information about the partition to run.
- F ATI 54 is an area for storing table data (FAT data) indicating the usage status of each cluster in the data area 57.
- FATII 55 stores a copy of FATI 54 data (ie, the same data).
- the root directory 56 stores data indicating information of a file subdirectory in the root directory of the memory stick 31.
- the data area 57 is an area for storing data.
- the CPU 11 manages the data area 57 in a cluster.
- clusters 0 and 1 and 0 are the reserved areas for the OS, so cluster 2 is the first cluster.
- the clusters (cluster 2, cluster 3,%) Managed by the subsequent serial numbers are effectively areas where data can be recorded.
- the FAT data of FATI 54 showing the usage status of each cluster in the data area 57 will be described with reference to FIG.
- FIG. 4 shows the FAT data of the FAT I54 in the 16-bit FAT system.
- the FAT data is table data in which information (entry) indicating in which cluster the data continuation is included for each cluster. That is, entries c O, c 1, c 2,..., Respectively, contain information on data stored in cluster 0, cluster 1, cluster 2,. .
- the FAT data starts from the data of the entry c0 of the cluster 0, which is the first logical cluster managed by the FAT data.
- entry c 2 stores information of data stored in cluster 2 of data area 57, and in this example, 2 bytes of “03” and “00” It consists of. “03” in the first byte of entry c 2 indicates that the following data is stored in cluster 3 (that is, the actual value of 2 bytes is the same as the previous lbyte value of “03”. , The subsequent lbyte value "00" is replaced by "00""03" (0003)).
- cluster 0 and cluster 1 are reserved clusters of ⁇ S, “f8” “ff” and “ff” “ff” are written in entries c 0 and c 1. That is, the first logical cluster managed by FAT is cluster 0, but the information in data area 57 is actually written from entry c2 (entry of cluster 2).
- the value of the entry c 2 is “03” “00”
- the value of the entry c 3 is “04” “00”
- the value of the entry c 4 is ⁇ ! Is "07” “00”
- f of entry c7 is “08” “00”
- entry c8 is “09” "00”
- entry c9 is "0a” "00”
- entry Since the value of c 10 is “ff” and “ff”, data 1 whose recording has started from cluster 2 must be stored in clusters 3, 4, 7, 8, 9, and 10 in that order. Understand.
- entry c5 is “06” "00”
- entry of entry c6 is “0b” "00”
- entry of entry c11 is “0c” "00”
- the value of entry c12 Is “0d” "00”
- the entry c13 entry is “0e” "00”
- the entry c14 entry is iOfJ "00j
- the entry c15 value is” 10 "" 00 "and Since the value of the entry c 16 is “ff” “ff”, the data 2 whose recording has been started from the cluster 5 is the cluster 6, 11, 12, 13, 14, 15, 16 It can be seen that they are stored in order.
- the subsequent entries c 17 and thereafter are “00” and “00”.
- the clusters after cluster 17 are empty areas.
- Addresses “0000”, “0010”, “0020”, and “0030” on the left side of the figure indicate internal addresses in which FAT I54 data is written.
- the CPU 11 performs an initialization process of the memory stick 31. This initialization process will be described with reference to the flowchart in FIG.
- the user attaches the memory stick 31 to the memory interface 30 of the imaging device 1 to initialize the memory stick 31.
- the CPU 11 controls the memory card interface 30 in step S 1 so as to obtain the erase block information from the memory stick 31.
- the CPU 101 of the memory stick 31 reads the erase block size set inside the device and outputs it via the interface 102. As a result, a value of 128 Kbytes as the erase block size is obtained. Is obtained.
- step S2 the CPU 11 controls the memory card interface 30 to acquire cluster information from the memory stick 31.
- the CPU 101 of the memory stick 31 reads the cluster size from the PBR 53 and outputs the cluster size to the CPU 11. Thereby, for example, a value of 32 Kbytes is obtained.
- step S3 the CPU 11 obtains the size of the data block based on the erase block size obtained in step S1 and the cluster size obtained in step S2.
- the size of a data block is represented by the number of clusters that make up one erase block.
- step S4 the CPU 11 adjusts the start position of the data block based on the size of the data block obtained in step S3, and performs initialization.
- the size of the data block is such that the erase block size obtained in steps S 1 and S 2 is 128 Kbytes, and the cluster size is 3 2
- step S4 a process is performed in which four clusters in the data area 57 are regarded as one data block (erase block).
- the erase block and the data block are separately described.However, since a cluster of clusters corresponding to the erase block is used as a data block, for example, the erase block n + 1 and the data block 1 are in the same area. Indicates, The actual usage status of the data area 57 is written from the entry c 2 (entry of the cluster 2). However, as described above with reference to FIG. Starts with entries c 0 and c 1 (the entry for cluster 0 and the entry for cluster 1), so the data block is aligned with cluster 0, the first logical cluster managed by FAT. The starting position of is adjusted.
- clusters 0 to 3 including the first two clusters (cluster 0 and cluster 1), which are reserved areas of the OS, are defined as one data block.
- a process is performed in which four clusters in the data area 57 are regarded as one data block.
- cluster 0 reserved area + cluster 1
- the user attaches the memory stick 31 to the memory card interface 30 of the imaging device 1 to record the moving image or still image data being shot on the memory stick 31 and configures the input unit 18 Press the recording start button.
- the CPU 11 controls the memory card interface 30 in step S 31 to acquire erasure block information from the memory stick 31.
- the CPU 10] of the memory stick 31 reads the erase block size (for example, 128 Kbytes) set in the device and notifies the CPU 11 of the erase block size. At this time, the recommended initialization parameters are notified.
- step S32 the CPU 11 controls the memory card interface 30 to acquire cluster information from the memory stick 31.
- cluster information for example, Memories
- the value of the cluster size (for example, 32 Kbytes) is obtained from PBR 53 of tick 31.
- step S33 the CPU 11 determines whether or not the memory stick 31 has been correctly initialized. That is, in step S33, it is determined whether the initialization has been performed (the start position of the data block has been adjusted) as described above with reference to the flowchart in FIG.
- step S34 the CPU 11 notifies the output unit 1 that the memory stick 31 has not been properly initialized. Display on the monitor of 9 and finish the recording process.
- the recording process is terminated.
- the memory stick 31 may be initialized again, or the recording of moving image data may be prohibited.
- step S35 the CPU 11 proceeds to step S35 to record the still image data (in the still image mode). Calculate the remaining capacity of stick 3 1.
- the remaining capacity of the memory stick 31 is calculated based on the number of all detected free clusters.
- step S35 the moving image data is recorded. Calculate the remaining capacity of the memory stick 31 in the case of (moving mode). The processing in step S35 will be described with reference to FIG.
- FIG. 8 shows FAT data of one sector of F ATI 54 in the case of a 16-bit FAT system.
- portions corresponding to those in FIG. 4 are denoted by the corresponding reference numerals, and description thereof will be omitted because it is repeated.
- the address “01f0” on the left side of the figure is an internal address where FAT 54 data is written, similarly to “0000”, “0010”, “0020”, and “0030” in FIG. Yes, and represents the second address counted from "0000". Therefore, the second byte “00” composing the entry c 2 5 5 is the 5 1 2nd byte counted from the first byte “f8” (the first data of the FAT data) composing the entry c 0. Represents data.
- the erase block size obtained in the process of step S31 is 128 Kbytes
- the cluster size obtained in the process of step S32 is 32 Kbytes.
- the data block (erased block) is composed of 4 clusters. As shown in FIG. 6, the data blocks of clusters 0 to 3 correspond to the data block 0 and the erase block n, and the data blocks 1 of clusters 4 to 7 Corresponds to erase block n + 1.
- the information of each cluster of the FAT data is also collected as entries b0 to c3 as block b0 corresponding to data block 0 (erased block n).
- entries c4 through c7 are block bl_
- entries c8 through c11 are block b2
- entries c12 through 15 are block b3
- entries c16 through c19 are Block b 4 is combined.
- the entries c20 to c23 are combined with the block b5
- the entries c24 to c27 are combined with the block b6, and the entries c28 to c31 are combined with the block b7.
- the entries c 248 to c 25 1 are combined with the block b 62, and the entries c 2552 to c 25 55 are combined with the block b 63.
- cluster information is also collected for each data block corresponding to an erase block.
- the CPU 11 detects a data block in which all clusters are vacant from the first data of the FAT 154 data, and detects a data block from the detected data block cluster. Record moving image data. Therefore, in step S35, the remaining capacity of the memory stick 31 is calculated based on the number of clusters of the detected data block.
- the data blocks in which all the clusters (four clusters) belong to the empty areas “00” and “00” are the data blocks corresponding to blocks b5 to b63, and Only the clusters of the data blocks of the above are regarded as free areas in the moving image mode.
- the entries c17 to c19 are S "00" "00”
- the entries c16 are S "ff" "ff”. That is, clusters 17 to 19 are free areas, but since cluster 16 is used, the data block corresponding to block b4 is not set as free areas.
- step S36 the CPU 11 determines that the data block corresponding to the blocks b5b6, b7,... Is an empty area, and based on the number of clusters in the data block, Calculate the remaining capacity of the memory stick 3 1, and in the case of the example in Fig. 8, the start position of the data block is adjusted to match the logical first cluster, cluster 0, which is managed by FAT Therefore, the boundary between one sector (512 byte) (the 512th byte data, that is, the second data of the entry c255) and the boundary between the data block (block b6 3) mosquito matches.
- FAT data can be read out and detected one sector at a time, so that a data block in an empty area can be efficiently detected.
- the data in the data area 57 is shifted from the cluster 2 which is the first of the areas where data can be actually recorded without any special adjustment at the start position of the data block. Has been recorded.
- the information of each cluster in the FAT data also includes entries c2 to c5 as data block 0 (erased block n) as block d0. It is summarized corresponding to. Similarly, entries c 6 through c 9 are block d 1, entries c 10 through c 13 are block d 2, entries c 14 through 17 are block d 3 and entries c 18 through c 21 are Block d 4 is combined. Also, entries c22 to c25 are combined with block d5, entries c26 to c29 are combined with block d6, and entries c30 to c33 are combined with block d7. . Furthermore, entries c 246 to c 249 are block d 61, entries c 250 to c 25 3 are block d 62, and entries c 25 54 to c 25 57 are block d 63. , Be summarized.
- the block d 63 corresponding to the data block 63 containing the data of the 512 byte which is the boundary of one sector corresponds to the sector shown in FIG. If the data block 63 is detected, the data block 63 is detected. If the data block 63 is detected, the sector in which the entries c254 and c255 (data of the 512 byte) exist. It is necessary to detect a free area in the two sectors of the entry c 2 5 6 (data of the 5 13 byte, that is, the 1 byte of the next sector) and the sector where the entry c 2 5 7 exists. , The detection speed is reduced.
- the start position of the data block is adjusted to match the cluster 0, which is the first logical cluster managed by FAT. Can be detected efficiently.
- step S37 the CPU 11 determines whether or not the photographing mode (set by the CPU 11 based on the input from the input unit 18) is the moving image mode, and If it is determined that the mode is the movie mode, in step S38, the CPU 11 determines the remaining capacity of the memory stick 31 based on the remaining capacity of the movie mode calculated in the process of step S36. It is determined whether or not there is.
- step S39 the CPU 11 sends the remaining capacity to the monitor of the output unit 19.
- the video data is deleted in units of data blocks (erased blocks). Data to the flash memory 103.
- the CPU 11 manages to record data in cluster units, but the CPU 101 records data in erase block units.
- the four consecutive clusters for which CPU 11 commands recording constitutes one erase block.
- CPU 101 stores the data of four consecutive clusters in RAMI 04, and The data can be quickly stored in the flash memory 103 as the data of the erase block.
- step S40 the CPU 11 determines whether the recording of the moving image data has been completed. If it is determined that the recording of the moving image data has not been completed, the process returns to step S35, and the subsequent processing is performed. repeat. If it is determined in step S40 that the recording of the moving image data has been completed, the recording process ends.
- step S41 the CPU 11 sets the still image mode calculated in the processing in step S35. Based on the remaining capacity, it is determined whether or not the remaining capacity of the Memory Stick 31 exists.
- step S42 the CPU 11 displays the remaining capacity on the monitor of the output unit 19 and outputs the FAT data.
- the still image data is recorded in cluster units in order from the cluster that is the first empty area detected from the first data of. For example, as shown in FIG. 8, the CPU 11 detects the first entry “c17” of “00” and “00” (empty area) in the FAT data, and sequentially starts from the corresponding cluster 17 in the order.
- the CPU 101 is instructed to record still image data in clusters, which are free areas, in cluster units.
- the CPU 101 reads the data of the erase block (data of 4 clusters) corresponding to the block b4 from the flash memory 103 and stores it in the RAM I04 once. Then, the CPU 101 updates the data of the cluster corresponding to the entry c 17 on the RAM I 04 with the data to be recorded, and then reads out four clusters (one erased block) again and responds. To be erased.
- step S40 the CPU 11 determines whether or not the recording of the still image data has been completed. If it is determined that the recording of the still image data has not been completed, the process returns to step S35. , Repeat the subsequent processing. If it is determined in step S40 that the recording of the still image data has been completed, the recording process ends.
- step S43 the CPU 11 determines that there is no remaining capacity in the memory stick 31.
- the information is controlled by the output unit 19 and displayed on the monitor.
- the number of clusters corresponding to the erase blocks of the memory stick 31 is combined into data blocks, and moving image data is recorded in units of data blocks (that is, erase blocks).
- erase blocks data blocks
- the start position of the data block is adjusted to match the logical first cluster, which is managed by FAT, cluster 0. Can be done efficiently.
- the normal OS FAT file system since the normal OS FAT file system is used, data can be recorded on the memory stick 31 in a general-purpose personal computer. Also, since the cluster size is not increased, the efficiency of memory space utilization does not deteriorate.
- step S4 of the initialization process described above with reference to the flowchart of FIG. 5 the CPU 11 adjusts the start position of the data block based on the data block and performs the initialization process.
- the CPU 101 of the memory stick 31 may be instructed to initialize the memory stick 31.
- the CPU 101 initializes the flash memory 103 based on the data block information set in the device and the start position of the data block.
- the recording may be performed in units of the data blocks described above. Also, the user may be allowed to select whether to increase the recording speed or increase the recording capacity.
- a memory stick as a flash memory is used as a recording medium.
- the present invention is not limited to this, and can be applied to various semiconductor memories.
- the series of processes described above can be executed by hardware, but can also be executed by software.
- a program that configures the software is a dedicated hardware It is installed from a program storage medium to, for example, a general-purpose personal computer that can execute various functions by installing a computer or various programs installed in a computer.
- a program storage medium for storing a program installed in a computer and made executable by the computer includes a magnetic disk 41 (including a flexible disk), an optical disk 42 (CD-ROM ( Compact Disc-Read-Only Memory, DVD (including Digital Versatile Disc), magneto-optical disc 43 (including MD (Mini-Disc) (trademark)), or semiconductor memory 4 4 (including Memory Stick (registered trademark)) or a storage unit 20 where programs are temporarily or permanently stored.
- a magnetic disk 41 including a flexible disk
- an optical disk 42 CD-ROM ( Compact Disc-Read-Only Memory, DVD (including Digital Versatile Disc), magneto-optical disc 43 (including MD (Mini-Disc) (trademark)), or semiconductor memory 4 4 (including Memory Stick (registered trademark)) or a storage unit 20 where programs are temporarily or permanently stored.
- CD-ROM Compact Disc-Read-Only Memory
- DVD including Digital Versatile Disc
- magneto-optical disc 43 including MD (Mini-Disc) (trademark)
- steps for describing a program to be recorded on a recording medium are not only performed in chronological order according to the order described, but are not necessarily performed in chronological order. It also includes the processing executed in
- system refers to an entire device including a plurality of devices.
- data can be recorded on a recording medium. Further, according to the present invention, even when the erase block size of the recording medium is increased, it is possible to promote a higher recording speed. Further, according to the present invention, a decrease in recording speed can be suppressed while maintaining compatibility with general-purpose devices.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- Memory System (AREA)
Description
Claims
Priority Applications (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020037015775A KR100970523B1 (ko) | 2002-04-03 | 2003-04-02 | 기록 장치 및 방법, 및 컴퓨터 판독가능한 기록 매체 |
US10/480,005 US7426333B2 (en) | 2002-04-03 | 2003-04-02 | Recording apparatus and method, recording medium and program |
EP03715722A EP1492014A4 (en) | 2002-04-03 | 2003-04-02 | RECORDING DEVICE AND METHOD, RECORDING MEDIUM AND PROGRAM |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2002-101673 | 2002-04-03 | ||
JP2002101673A JP2003296177A (ja) | 2002-04-03 | 2002-04-03 | 記録装置および方法、記録媒体、並びにプログラム |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2003088042A1 true WO2003088042A1 (fr) | 2003-10-23 |
Family
ID=29241919
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/JP2003/004206 WO2003088042A1 (fr) | 2002-04-03 | 2003-04-02 | Appareil et procede d'enregistrement, support d'enregistrement, et programme |
Country Status (7)
Country | Link |
---|---|
US (1) | US7426333B2 (ja) |
EP (1) | EP1492014A4 (ja) |
JP (1) | JP2003296177A (ja) |
KR (1) | KR100970523B1 (ja) |
CN (1) | CN1261880C (ja) |
TW (1) | TWI241483B (ja) |
WO (1) | WO2003088042A1 (ja) |
Families Citing this family (20)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101046083B1 (ko) | 2003-12-03 | 2011-07-01 | 파나소닉 주식회사 | 정보 기록 매체의 데이터 처리 장치 및 데이터 기록 방법 |
EP1729218A4 (en) * | 2004-04-20 | 2007-07-18 | Matsushita Electric Ind Co Ltd | NON-VOLATILE STORAGE SYSTEM |
JP2006085380A (ja) * | 2004-09-15 | 2006-03-30 | Toshiba Corp | ファイルストレージデバイス、プログラム、及び不揮発性半導体メモリの書込方法 |
CN100541448C (zh) | 2004-12-22 | 2009-09-16 | 松下电器产业株式会社 | 电子设备、格式辨别系统和格式辨别方法 |
JP2006285669A (ja) | 2005-03-31 | 2006-10-19 | Toshiba Corp | ホスト機器 |
KR100827227B1 (ko) * | 2005-06-24 | 2008-05-07 | 삼성전자주식회사 | 저성능 저장장치의 drm 권리 객체를 효율적으로관리하는 방법 및 장치 |
JP4525493B2 (ja) * | 2005-07-01 | 2010-08-18 | ソニー株式会社 | 記録制御装置、記録制御方法、及び、カメラ一体型記録装置 |
JP4781027B2 (ja) * | 2005-07-15 | 2011-09-28 | パナソニック株式会社 | データ記録制御方法及びデータ記録システム |
KR100818797B1 (ko) | 2006-10-19 | 2008-04-01 | 삼성전자주식회사 | 메모리 용량 조절 방법과 메모리 용량 조절 장치 |
KR100923990B1 (ko) * | 2007-02-13 | 2009-10-28 | 삼성전자주식회사 | 플래시 저장 장치의 특성을 기반으로 한 컴퓨팅 시스템 |
JP4981478B2 (ja) * | 2007-02-20 | 2012-07-18 | キヤノン株式会社 | 撮像装置 |
US8850102B2 (en) | 2007-08-23 | 2014-09-30 | Nokia Corporation | Flash memory with small data programming capability |
KR20100133359A (ko) * | 2007-12-24 | 2010-12-21 | 동우 화인켐 주식회사 | 이리듐 착물, 이를 포함하는 유기전기발광소자 |
JP5364340B2 (ja) * | 2008-11-07 | 2013-12-11 | 株式会社ケーヒン | バックアップ方法及び装置並びに車両用電子制御装置 |
JP2011154547A (ja) * | 2010-01-27 | 2011-08-11 | Toshiba Corp | メモリ管理装置及びメモリ管理方法 |
JP5820973B2 (ja) | 2010-12-28 | 2015-11-24 | パナソニックIpマネジメント株式会社 | データ記録装置 |
JP6326799B2 (ja) * | 2013-12-11 | 2018-05-23 | 株式会社ニコン | 電子機器 |
JP6451389B2 (ja) * | 2015-02-17 | 2019-01-16 | 株式会社リコー | 情報処理装置、インストール方法、及びインストールプログラム |
JP6411282B2 (ja) * | 2015-05-15 | 2018-10-24 | ラピスセミコンダクタ株式会社 | 半導体メモリ及びデータ書込方法 |
JP2018092654A (ja) * | 2018-02-20 | 2018-06-14 | 株式会社ニコン | 電子機器 |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH08221303A (ja) * | 1995-02-16 | 1996-08-30 | Sony Corp | 記録制御装置、および記録制御方法、並びに情報処理装置 |
Family Cites Families (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP0522496B1 (en) * | 1991-07-08 | 2002-03-06 | Denso Corporation | Thermal type flowmeter |
EP0580434B1 (en) * | 1992-07-24 | 1999-03-03 | Sony Corporation | Recording medium cartridge |
US5590306A (en) * | 1992-09-08 | 1996-12-31 | Fuji Photo Film Co., Ltd. | Memory card management system for writing data with usage and recording codes made significant |
KR0157665B1 (ko) * | 1993-09-20 | 1998-11-16 | 모리시타 요이찌 | 압축텔레비젼신호기록재생장치 |
KR100197585B1 (ko) * | 1995-01-16 | 1999-06-15 | 윤종용 | 영상(image)/오디오정보(information)를 반도체메모리에 기록/재생하기 위한 장치 |
JPH0965269A (ja) * | 1995-08-23 | 1997-03-07 | Olympus Optical Co Ltd | 撮影装置 |
JPH09319645A (ja) * | 1996-05-24 | 1997-12-12 | Nec Corp | 不揮発性半導体記憶装置 |
JPH10124384A (ja) | 1996-08-28 | 1998-05-15 | Toshiba Corp | 不揮発性半導体メモリの制御方法 |
JP3588231B2 (ja) | 1997-08-04 | 2004-11-10 | 東京エレクトロンデバイス株式会社 | データ処理システム及びブロック消去型記憶媒体 |
KR100466496B1 (ko) * | 1998-08-07 | 2005-01-13 | 가부시키가이샤 히타치세이사쿠쇼 | 기록매체, 기록장치, 재생장치, 기록방법, 및 컴퓨터가 읽기가능한 기록매체 |
JP4474716B2 (ja) | 1999-02-12 | 2010-06-09 | ソニー株式会社 | 編集装置、編集方法 |
JP4173642B2 (ja) | 1999-02-22 | 2008-10-29 | 株式会社ルネサステクノロジ | メモリカードのデータ書き込み方法 |
JP2000267904A (ja) | 1999-03-17 | 2000-09-29 | Sanyo Electric Co Ltd | データ記録装置及び方法 |
US6611907B1 (en) | 1999-10-21 | 2003-08-26 | Matsushita Electric Industrial Co., Ltd. | Semiconductor memory card access apparatus, a computer-readable recording medium, an initialization method, and a semiconductor memory card |
JP3942807B2 (ja) * | 2000-06-06 | 2007-07-11 | 株式会社ルネサステクノロジ | ブロックアラインメント機能付き半導体記憶装置 |
JP4428824B2 (ja) * | 2000-06-27 | 2010-03-10 | キヤノン株式会社 | 記録制御装置及び方法 |
WO2003005178A2 (en) | 2001-07-05 | 2003-01-16 | Matsushita Electric Industrial Co., Ltd. | Recording apparatus, medium, method, and related computer program |
-
2002
- 2002-04-03 JP JP2002101673A patent/JP2003296177A/ja active Pending
-
2003
- 2003-04-02 CN CNB038006081A patent/CN1261880C/zh not_active Expired - Fee Related
- 2003-04-02 TW TW092107554A patent/TWI241483B/zh not_active IP Right Cessation
- 2003-04-02 US US10/480,005 patent/US7426333B2/en not_active Expired - Fee Related
- 2003-04-02 WO PCT/JP2003/004206 patent/WO2003088042A1/ja active Application Filing
- 2003-04-02 KR KR1020037015775A patent/KR100970523B1/ko not_active IP Right Cessation
- 2003-04-02 EP EP03715722A patent/EP1492014A4/en not_active Withdrawn
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH08221303A (ja) * | 1995-02-16 | 1996-08-30 | Sony Corp | 記録制御装置、および記録制御方法、並びに情報処理装置 |
Non-Patent Citations (3)
Title |
---|
LEFFLER SAMUEL J. ET AL.: "The Design and Imprementation of the 4.3BSD UNIX Operating System", 1989, ADDISON-WESLEY PUBLISHING COMPANY, INC., pages: 195 - 208, XP002970450 * |
OSAMU KOBAYASHI ET AL.: "Tokushu flash EEPROM gaibu kioku sochi muke shiyo kankyo totonou", NIKKEI ELECTRONICS, no. 605, 11 April 1994 (1994-04-11), pages 75 - 91, XP002970449 * |
See also references of EP1492014A4 * |
Also Published As
Publication number | Publication date |
---|---|
EP1492014A1 (en) | 2004-12-29 |
KR100970523B1 (ko) | 2010-07-16 |
US20050031297A1 (en) | 2005-02-10 |
CN1524227A (zh) | 2004-08-25 |
JP2003296177A (ja) | 2003-10-17 |
TWI241483B (en) | 2005-10-11 |
TW200402623A (en) | 2004-02-16 |
CN1261880C (zh) | 2006-06-28 |
US7426333B2 (en) | 2008-09-16 |
KR20040093381A (ko) | 2004-11-05 |
EP1492014A4 (en) | 2007-06-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2003088042A1 (fr) | Appareil et procede d'enregistrement, support d'enregistrement, et programme | |
JP5378378B2 (ja) | 変更検出を許容するコード化リムーバブル記憶装置 | |
US6823417B2 (en) | Memory controller for memory card manages file allocation table | |
EP2117007A2 (en) | Managing the amount of data according to batch writing size and to update count, which increases with erase-block size and depends on the type of flash memory | |
JPH03232029A (ja) | メモリカードの記憶管理方式 | |
JP2003157193A (ja) | 拡張可能なdos用fatファイルシステム構造を1回だけ記録可能な媒体に設定する方法 | |
JPH04145596A (ja) | メモリカードにおけるデータ管理方式 | |
JPH0837638A (ja) | ディジタルスチルカメラ | |
WO2008016081A1 (fr) | Contrôleur de mémoire, dispositif de mémoire non-volatile, dispositif d'accès et système de mémoire non-volatile | |
JP4487954B2 (ja) | データ記録装置、データ記録方法、及びプログラム | |
JPH06197308A (ja) | 電子スチルカメラ | |
US20130290652A1 (en) | Storage control device | |
US20080239886A1 (en) | Apparatus, method and computer program for processing information | |
JP5053945B2 (ja) | 記録媒体初期化方法及び記録媒体初期化装置 | |
US7424573B2 (en) | Information processing apparatus, method, and program for formatting multiple recording media integrated as one | |
US6750908B1 (en) | Image processing apparatus using recording medium which needs data erasing processing before recording of data | |
JP3552247B2 (ja) | 電子スチルカメラ | |
JP4734898B2 (ja) | 情報処理装置、情報処理方法、プログラム | |
JP2006155461A (ja) | 情報処理装置、情報処理方法、並びにプログラム | |
TWI387874B (zh) | 存儲裝置 | |
JP2010009205A (ja) | 記録制御装置 | |
JP2007059004A (ja) | 情報処理装置および方法、プログラム並びに記録媒体 | |
US20210055877A1 (en) | Control apparatus, control method of recording apparatus, and non-transitory computer readable storage medium | |
JP2006260158A (ja) | 情報処理装置、情報処理方法、プログラム | |
JP2001016537A (ja) | 情報記憶装置 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
AK | Designated states |
Kind code of ref document: A1 Designated state(s): CN KR US |
|
AL | Designated countries for regional patents |
Kind code of ref document: A1 Designated state(s): AT BE BG CH CY CZ DE DK EE ES FI FR GB GR HU IE IT LU MC NL PT RO SE SI SK TR |
|
WWE | Wipo information: entry into national phase |
Ref document number: 2003715722 Country of ref document: EP |
|
WWE | Wipo information: entry into national phase |
Ref document number: 1020037015775 Country of ref document: KR |
|
WWE | Wipo information: entry into national phase |
Ref document number: 10480005 Country of ref document: US |
|
121 | Ep: the epo has been informed by wipo that ep was designated in this application | ||
WWE | Wipo information: entry into national phase |
Ref document number: 20038006081 Country of ref document: CN |
|
WWP | Wipo information: published in national office |
Ref document number: 2003715722 Country of ref document: EP |