[go: up one dir, main page]

WO2008072590A1 - ライトワンス記録装置 - Google Patents

ライトワンス記録装置 Download PDF

Info

Publication number
WO2008072590A1
WO2008072590A1 PCT/JP2007/073765 JP2007073765W WO2008072590A1 WO 2008072590 A1 WO2008072590 A1 WO 2008072590A1 JP 2007073765 W JP2007073765 W JP 2007073765W WO 2008072590 A1 WO2008072590 A1 WO 2008072590A1
Authority
WO
WIPO (PCT)
Prior art keywords
write
once
recording
access device
data
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.)
Ceased
Application number
PCT/JP2007/073765
Other languages
English (en)
French (fr)
Inventor
Takuji Maeda
Shinji Inoue
Hiroki Etoh
Masahiro Nakamura
Makoto Ochi
Yukiko Okamoto
Masahiro Nakanishi
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
Panasonic Holdings Corp
Original Assignee
Panasonic Corp
Matsushita Electric Industrial Co Ltd
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 Panasonic Corp, Matsushita Electric Industrial Co Ltd filed Critical Panasonic Corp
Priority to CN200780043286XA priority Critical patent/CN101542447B/zh
Priority to EP07850339.8A priority patent/EP2096546B1/en
Priority to JP2008549293A priority patent/JP5129156B2/ja
Priority to US12/517,844 priority patent/US8589617B2/en
Publication of WO2008072590A1 publication Critical patent/WO2008072590A1/ja
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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/0638Organizing or formatting or addressing of data
    • G06F3/0643Management of files
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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/0614Improving the reliability of storage systems
    • G06F3/0619Improving the reliability of storage systems in relation to data integrity, e.g. data losses, bit errors
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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/0679Non-volatile semiconductor memory device, e.g. flash memory, one time programmable memory [OTP]

Definitions

  • the present invention provides an access device that accurately records the remaining recordable capacity when data is recorded in a write-once recording device using a write-once memory that can be recorded only once.
  • the present invention relates to a write-once recording device, a controller, an access device, and a write-once recording system that can be grasped.
  • recording media for recording digital data such as music content and video data
  • a magnetic disk, an optical disk, and a magneto-optical disk such as a magnetic disk, an optical disk, and a magneto-optical disk.
  • Memory cards which are one type of these recording media, mainly use semiconductor memory such as flash ROM as the recording element, and the size of the recording media can be reduced. Therefore, small-sized digital still cameras, mobile phone terminals, etc. It is rapidly spreading mainly in mobile devices.
  • NAND flash memory is a semiconductor element that can erase data that has already been recorded and then record another data again. Like a conventional hard disk, it forms a memory card that can be rewritten multiple times. It is possible to do.
  • OTP One Time Programmable memory
  • NAND flash memory which can be manufactured at low cost by applying conventional CMOS process technology
  • OTP memory is a write-once memory that has the restriction that it can be recorded only once in the same physical memory area. Since this memory is inexpensive to manufacture, it may be widely used as a recording element for memory cards used for long-term data storage, especially for media such as DVD-R. In other words, for applications that require multiple rewrites, such as conventional memory cards, they are sold as relatively expensive memory cards using NAND-type flash memory. For applications that do not require replacement, it is possible to use OTP memory as a relatively inexpensive memory card and use it according to user needs.
  • NTt S Noinorensum New fecnnology File System.
  • Memory cards whose data is managed by these file systems can share files between devices that interpret the same file system, so that data can be exchanged between devices.
  • This file system management information 100 is an area for storing file system management information such as an area allocation unit and the size of the area managed by the file system.
  • This information includes management information for the file system called Master Boot Record 'Partition Table, Nore 102, Notation Phone, First Sector 103, FAT (104, 105), Norate Directory Entry 106, and User Data 10 Information necessary for managing one area is stored.
  • the master boot record / partition table 102 is an area in which information for managing the area in the logical address space managed by the file system by dividing it into areas called partitions is stored.
  • the partition boot sector 103 is an area in which management information in one partition is stored.
  • FAT (104, 105) is an area where information about the storage location of the data contained in the file is stored, and usually exists in two FAT (104, 105) S memory cards with the same information. Even if one FAT (104, 105) is damaged, the other FAT (104, 105) is duplicated so that the file can be accessed.
  • the root directory entry 106 is a part in which information (directory entry) of files and directories existing directly under the root directory is stored.
  • the FAT file system there is an area for storing user data 101 such as file data following the area for storing the file system management information 100. To do.
  • the user data 101 is divided and managed for each management unit called a cluster having a size of about 16 KB or 32 KB, and the data included in the file is stored in each cluster.
  • Files that store a lot of data store data across multiple clusters, and the connections between each cluster are managed by link information stored in FAT (104, 105).
  • information (directory entry) of files and subdirectories existing in the directory immediately under the root directory is stored using a part of the user data 101.
  • FIG. 2 shows the structure of the directory entry.
  • Figure 3 shows the processing procedure for writing file data.
  • FIG. 4 is a diagram showing an example of directory entry 107, FAT (104, 105), and user data 101 before writing.
  • FIG. 5 shows an example of the directory entry 107, FAT (104, 105), and user data 101 after writing.
  • the directory entry 107 in the FAT file system is composed of 32 bytes, and stores the file name attribute, last update date, start cluster number, file size, and the like.
  • Patent Document 1 discloses a pseudo-overwrite using a function for converting a logical address and a physical address in a recording medium using an OTP memory.
  • a method has been proposed.
  • the conversion function of the logical address and physical address which is conventionally used as a replacement method for defective blocks, is applied, and a part of the area secured as a replacement area for the defective block is transferred to the data.
  • data is overwritten, it is newly allocated and the data recording position is changed by address conversion, thereby realizing pseudo-overwriting.
  • the remaining capacity is calculated based on the FAT (104, 105) read from the information recording device to the RAM on the access device.
  • FAT (104, 105) FAT Since the entry value is set to 0, the remaining capacity can be calculated by searching all FAT entries and counting the number of entries with the value set to 0.
  • FAT (104 105) is read in advance immediately after the information recording device is mounted on the access device.
  • file data It is determined whether file data can be recorded from the calculated remaining capacity. This determination can be made by comparing the remaining capacity with the data size to be written in one file data recording. For example, when file data is recorded in units of one cluster, if the remaining capacity acquired in S201 is one cluster or more, it is determined that recording is possible, and otherwise, it is determined that recording is impossible.
  • the FAT searches for an empty area for the data size to be written in one file data recording, and sets the FAT entry to a value other than 0 on the RAM. Allocate recording area on FAT by setting.
  • a file data recording command is transmitted to the recording area allocated in S203.
  • the information recording device receives the recording command whose access device capability is also issued by S204.
  • the information recording device searches a recordable area on a recording element such as a NAND flash memory and records file data.
  • the address management information is updated so that the physical address of the area where the file data is recorded in S206 corresponds to the logical address designated by the recording command from the access device in S204.
  • Patent Document 1 Japanese Patent Laid-Open No. 2006-85859
  • the access device cannot determine the remaining recordable capacity simply by referring to FAT! /.
  • the file system controller determines that recording is possible and sends a command to record data, there is a problem in that there is no free space in the OTP memory and an error may occur. It was.
  • the controller of the present invention is connected to a write-once memory capable of writing data once, and is designated when an external access device performs access to the write-once memory.
  • a controller that records and reads data based on the logical address, and the write-once memory has a fixed length.
  • the area management is divided for each management unit, the correspondence between the physical address and the logical address of each management unit is maintained, and when the access device write request is issued, the write-once is recorded as a data recording area.
  • An address conversion control unit for allocating an unrecorded area in the memory and performing an address conversion process for associating the data recording area with a logical address designated by the access device at the time of a write request; and an unrecorded area in the write-once memory
  • the physical free capacity management unit that notifies the access device of the remaining capacity that can be physically recorded by the access device, and the data based on the command from the access device! /
  • the memory access unit sequentially writes data in ascending order of the physical address of the write-once memory, and the address conversion control unit holds a correspondence relationship between the physical address and the logical address. If the same logical address is associated with multiple physical addresses! /, The data stored in the largest physical address area is used as valid data stored in the logical address area. Also good.
  • the physical free capacity management unit stores an unrecorded area in the write-once memory based on the address management information.
  • the size may be calculated, and the access device may be notified to the access device as a remaining capacity that can be physically recorded.
  • the physical free capacity management unit receives the recording command issued by the access device, and after the memory access unit performs data write processing to the write-once memory, the address management information
  • the size of the unrecorded area in the write-once memory may be calculated based on the above and the access device may be notified to the access device as a physically recordable remaining capacity! /.
  • the physical free capacity management unit is designated by the access device together with the address management information and the command when the access device receives a change information command issued prior to data recording. Based on the address and size information of the recording process, the information about the change in the remaining recordable capacity for the write-once memory before and after recording specified by the access device is ascertained and notified to the access device Do You may do it.
  • a write-once recording apparatus of the present invention is connected to a write-once memory capable of writing data once and the write-once memory, and an external access device is connected to the write-once memory.
  • a write-once recording apparatus comprising: a controller that is provided with a logical address designated when performing access to the once memory, and records and reads data based on the logical address, wherein the controller includes the write-once memory Is divided into fixed-length management units to manage the area, maintain the correspondence between the physical address and logical address of each management unit, and serve as a data recording area when a write request is issued from the access device. An unrecorded area of the write-once memory is allocated, and the access device writes the data recording area.
  • An address conversion control unit that performs an address conversion process associated with the logical address specified at the time of the write request, and the size of the unrecorded area in the write-once memory, and the remaining capacity that can be physically recorded by the access device
  • a physical free space management unit that notifies the access device, and a memory access unit that writes data to the write-once memory and reads the data from the write-once memory based on a command from the access device. It has.
  • the memory access unit sequentially writes data in ascending order of the physical address of the write-once memory, and the address conversion control unit holds a correspondence relationship between the physical address and the logical address. If the same logical address is associated with multiple physical addresses! /, The data stored in the largest physical address area is used as valid data stored in the logical address area. Also good.
  • the physical free capacity management unit stores an unrecorded area in the write-once memory based on the address management information.
  • the size may be calculated, and the access device may be notified to the access device as a remaining capacity that can be physically recorded.
  • the physical free space management unit receives the recording command issued by the access device, and after the memory access unit performs data write processing to the write-once memory, the address management information
  • the size of the unrecorded area in the write-once memory is calculated based on the You can also notify your device! /
  • the physical free capacity management unit is designated by the access device together with the address management information and the command when the access device accepts a remaining amount change acquisition command issued prior to data recording. Based on the address and size information of the recorded processing, the information about the change in the remaining recordable capacity in the write-once memory before and after recording specified by the access device is grasped, and the access device Do it like that.
  • an access device is an access device that accesses a write-once recording device having a write-once memory capable of writing data once, and is provided in the write-once recording device.
  • a logical free capacity management unit that determines whether or not recording is possible with respect to the write-once recording device based on the remaining capacity that can be recorded on the write-once and the physically recordable remaining capacity acquired from the write-once recording device. It has.
  • the logical / physical free space management unit issues a remaining-capacity acquisition command to acquire a remaining capacity that can be physically recorded in the write-once recording device. Even if you do it.
  • the logical-physical free space management unit issues a write command to the write-once recording device, and obtains a remaining capacity that can be physically recorded in the write-once recording device as a response. If you want to,
  • the logical / physical free space management unit designates information on the address and size of the recording process and issues a change information command regarding a change in the remaining amount, The remaining capacity physically recordable in the write-once recording apparatus may be acquired.
  • a write-once recording system of the present invention includes a write-once recording apparatus including a write-once memory capable of writing data once, and access for accessing the write-once recording apparatus.
  • a write-once recording system comprising an apparatus,
  • the write-once recording device is a write-once memory that can write data once, and a logical address that is connected to the write-once memory and specified when an external access device accesses the write-once memory.
  • the controller divides the write-once memory into fixed-length management units and manages the area.
  • An address conversion control unit that performs conversion processing, and a physical free space management that determines the size of an unrecorded area in the write-once memory and notifies the access device as the remaining capacity that can be physically recorded by the access device
  • a memory access unit that writes data to the write-once memory and reads data from the write-once memory based on a command from the access device, and the access device Based on the file system information built in the recording area in the write-once recording device!
  • the access device can grasp the exact remaining recordable capacity when realizing pseudo-overwriting on a memory card having an OTP memory. It is possible to avoid problems such as recording file data even though there is no free space.
  • FIG. 1 is an explanatory view showing the structure of a FAT file system.
  • FIG. 2 is an explanatory diagram showing the structure of a directory entry.
  • Figure 3 is a flowchart showing the file data writing process of the FAT file system. It is
  • Fig. 4 is an explanatory diagram showing the state of the FAT file system before writing the file data.
  • Fig. 5 is an explanatory diagram showing the state after writing the file data in the FAT file system.
  • FIG. 6 is a flowchart showing a conventional file data writing process for an information recording device that can be rewritten multiple times.
  • FIG. 7 is an explanatory diagram showing an access device and a write-once recording device according to Embodiment 1 of the present invention.
  • FIG. 8 is an explanatory diagram showing the configuration of the write-once memory in the first embodiment of the present invention.
  • FIG. 9 is an explanatory diagram showing an example of the address management information in the first embodiment of the present invention.
  • FIG. 10A is a flowchart showing the file data writing process for the write-once recording apparatus in the first embodiment of the present invention.
  • FIG. 10B is a flowchart showing the file data writing process for the write-once recording apparatus in the first embodiment of the present invention.
  • FIG. 11 is an explanatory diagram showing a state (1) of the write-once memory in the first embodiment of the present invention.
  • FIG. 12 is an explanatory view showing a state (2) of the write-once memory in the first embodiment of the present invention.
  • FIG. 13 is an explanatory view showing a state (3) of the write-once memory in the first embodiment of the present invention.
  • FIG. 14 is an explanatory view showing a state (4) of the write-once memory in the first embodiment of the present invention.
  • FIG. 15A is a flowchart showing a first modification of the file data writing process for the write-once recording apparatus in the first embodiment of the present invention.
  • FIG. 15B is a diagram for the write-once recording apparatus according to Embodiment 1 of the present invention. 10 is a flowchart showing a first modification of the file data writing process.
  • FIG. 16A is a flowchart showing a second modification of the file data writing process for the write-once recording apparatus in the first embodiment of the present invention.
  • FIG. 16B is a flowchart showing a second modification of the file data writing process for the write-once recording apparatus in the first embodiment of the present invention.
  • FIG. 17 is an explanatory diagram showing an access device and a write-once recording device according to Embodiment 2 of the present invention.
  • FIG. 18 is an explanatory diagram showing a configuration of a write-once memory according to the second embodiment of the present invention.
  • FIG. 19A is a flowchart showing file data writing processing for the write-once recording apparatus in Embodiment 2 of the present invention.
  • FIG. 19B is a flowchart showing file data write processing for the write-once recording apparatus in Embodiment 2 of the present invention.
  • FIG. 7 is a configuration diagram of the access device 1 and the write-once recording device 2A according to Embodiment 1 of the present invention.
  • the access device 1 includes a CPU 11, a RAM 12, a recording device interface (recording device IF) 13, and a ROM 14.
  • the recording device interface 13 is a connection portion between the access device 1 and the write-once recording device 2A, and is an interface that transmits and receives control signals and data.
  • the ROM 14 stores a program for controlling the access device 1, and this program operates on the CPU 11 using the RAM 12 as a temporary storage area.
  • the ROM 14 includes an application control unit 15, a logical / physical free space management unit 16, a file system control unit 17, and a recording device access unit 18.
  • the application control unit 15 controls the entire access device 1 such as data generation and power control.
  • the logical / physical free space management unit 16 issues a remaining capacity acquisition command prior to data recording to the write-once recording device. Based on the remaining capacity in the logical address space obtained from the area management information managed by the file system control unit 17 and the physically recordable remaining capacity acquired from the write-once recording device 2A, Record for device Whether or not it is possible is determined and notified to the file system control unit 17.
  • the file system control unit 17 is the same as the file system control unit installed in the conventional access device, and uses the FAT file system or the like to perform control for managing data as a file. Is what you do. When the access device accesses the write-once memory, a logical address is specified.
  • the recording device access unit 18 receives the size and logical address along with the data from the file system control unit 17 and records the specified size data in the recording area of the write-once recording device 2A. Controls the transmission and reception of commands and data for the recording device 2A.
  • the write-once recording device 2 A includes a controller having an access device interface (access device IF) 21, a CPU 22, a RAM 23, and a ROM 24, and a write-once memory (WOM) 25.
  • access device IF access device interface
  • CPU 22 CPU 22
  • RAM 23 RAM 23
  • ROM 24 write-once memory
  • WOM 25 write-once memory
  • the access device interface 21 is a connection portion between the write-once recording device 2A and the access device 1, and is an interface for transmitting and receiving control signals and data, like the recording device interface 13.
  • the write-once memory (WOM) 25 is a memory that can be written only once in each area.
  • OTP memory is used.
  • the data recorded in this memory includes file system management information, user data, address management information indicating the correspondence between logical addresses and physical addresses, and the like.
  • the ROM 24 stores a program for controlling the write-once recording apparatus 2A. This program uses the RAM 23 as a temporary storage area and operates on the CPU 22.
  • the ROM 24 also includes a command interpreter 26, a physical free space manager 27, an address translation controller 28,
  • the command interpretation unit 26 interprets the command transmitted from the access device 1. These commands include a recording command and a read command, a remaining capacity acquisition command for acquiring data about the remaining capacity, and a change information command for acquiring change information of the remaining capacity.
  • the physical free capacity management unit 27 calculates the remaining recordable capacity existing in the write-once memory 25. Calculate and manage. When the remaining capacity acquisition command is issued from the access device 1, the remaining capacity managed by the physical free capacity management unit 27 is notified to the access device 1 as a physically recordable remaining capacity. .
  • the address translation control unit 28 divides the write-once memory into fixed-length management units and manages the area, and manages the logical address used for communication with the access device 1 and each management unit in the write-once memory 25. The physical address is converted and the corresponding relationship is maintained.
  • the address conversion control unit 28 allocates an unrecorded area of the write-once memory 25 as a data recording area when a write request is issued from the access apparatus, and the access apparatus allocates the data recording area at the time of the write request. Performs address conversion processing to associate with the specified logical address.
  • the address translation control unit 28 holds the correspondence relationship between the physical address and the logical address. If the same logical address is associated with a plurality of physical addresses, the data stored in the area with the largest physical address Valid data stored in the logical address area.
  • the memory access unit 29 accesses the write-once memory 25 based on the physical address specified by the address conversion unit 28, and writes and reads data. When writing data, the memory access unit 29 sequentially writes data in ascending order of the physical address of the write-once memory.
  • FIG. 8 is a diagram showing an overall configuration of the write-once memory 25 in the first embodiment of the present invention.
  • the write-once memory 25 has a configuration in which a plurality of pages are continuously arranged, and each page is managed by allocating a page number PN from 0 to M-1 as a physical address! / RU
  • each page of the write-once memory 25 is a management unit.
  • Each page includes a data area that can be read and written from the access device 1 and a redundant area that is used as a management area in the write-once recording device 2A.
  • FIG. 9 is a diagram showing details of each page, and shows an example in which a 2048-byte data area and a 64-byte redundant area are managed as one recording unit (page).
  • the data area has data areas 1 to 4 consisting of 512 bytes.
  • the redundant area there is an area for storing information indicating which logical address the physical address of the page corresponds to! /, And an area for storing ECC used for error correction of the data area To do.
  • Embodiment 1 a case where a logical address is stored in the redundant area of the write-once memory 25 as address management information will be described.
  • the remaining capacity that can be recorded on the write-once memory 25 is managed by the physical free space management unit 27, and the access device 1 records data.
  • the address translation control unit 28 assigns a new physical address, records the data, updates the correspondence between the logical address and the physical address, and performs pseudo-overwrite processing and additional recording processing for the write-once memory 25. Realize.
  • the remaining capacity managed by the physical free capacity management unit 27 is notified to the access device 1.
  • the access device 1 records data in the write-once recording device 2A !, the access device 1 can accurately grasp the remaining recordable capacity, and the write-once recording device 2A. It is possible to avoid problems such as recording file data even though there is no free space in the file.
  • the total physical capacity of the write-once memory 25 may be managed by the write-once recording apparatus 2A as having the same size as the total capacity of the logical address space that can be read and written by the access apparatus 1.
  • the remaining capacity in the logical space and the remaining capacity in the physical address space as seen from the FAT are the same.
  • the capacity obtained by subtracting the size of the area used uniquely by the write-once recording apparatus 2A for the purpose of area management from the total physical capacity may be managed as the total capacity of the logical address space.
  • the remaining capacity in the logical address space as seen from the FAT becomes smaller than the remaining capacity in the physical address space. Is less than the remaining capacity in the logical address space.
  • the access device 1 calculates the remaining capacity A in the logical space based on the FAT (104, 105) information read from the write-once recording device 2A to the RAMI 2 on the access device 1.
  • the access device 1 issues a command (hereinafter simply referred to as a remaining capacity acquisition command) for acquiring the remaining capacity to the write-once recording apparatus 2A.
  • a remaining capacity acquisition command for acquiring the remaining capacity to the write-once recording apparatus 2A.
  • the write-once recording device 2A receives the remaining capacity acquisition command issued from the access device 1 by S302, identifies the command type by the command interpretation unit 26, and determines the physical free capacity management unit. Get the remaining space in physical space from 27. Specifically, the physical capacity that has never been recorded on the write-once memory 25 is acquired as the remaining capacity.
  • the write-once recording apparatus 2A returns the information on the remaining capacity B in the physical space acquired in S304 to the access apparatus 1 together with a response indicating that the remaining capacity acquisition process has been completed. .
  • the access device 1 can actually record the smaller value of the remaining capacity A calculated in S301 and the remaining capacity B acquired in S304. Determine as.
  • the FAT (104, 105) is searched for free space for the data size to be written in one file data recording, and the FAT entry is 0 on the RAM12. Allocate a recording area on FAT (104, 105) by setting to a value other than.
  • the access device 1 transmits a recording command to the write-once recording device 2A in order to record the file data in the recording area allocated in S309.
  • the address management information is updated so that the physical address of the area where the file data is recorded in S312 corresponds to the logical address specified by the recording command from the access device 1.
  • Address conversion control unit 28 is a write-once recording device 2A is a recording command As a response to the command, a response indicating that the recording is completed is returned to the access device 1, and the access device 1 receives the response.
  • the access apparatus 1 issues a remaining capacity acquisition command to the write-once recording apparatus 2A. Then, after acquiring the remaining capacity that can be physically recorded, the remaining capacity that can actually be recorded is determined by comparing with the remaining capacity on the FAT (104, 105). As a result, when the pseudo-overwrite is performed on the write-once memory 25, it is possible to provide an accurate remaining capacity with the power S.
  • FIGS. 11 to 14 are diagrams showing changes in information held in the write-once memory 25 and the logical address space LAS corresponding to the write-once memory 25 at the time of data recording.
  • the logical address space LAS indicated by a broken line indicates the logical address LA and the corresponding data.
  • Figure 11 shows the status when no data is recorded in the write-once memory 25! /, N! /,
  • the area and the area that stores the logical address LA in the redundant area are all initial values.
  • OxFF is set as the initial value of the data area. If OxFFFFFFFFFF is set in the area for storing the logical address!
  • the page is not assigned to any logical address.
  • the initial value (OxFF) is read. Will be.
  • the write-once memory 25 changes to the state shown in FIG. In the first embodiment, it is assumed that all are recorded in ascending order from the top of the physical address to the write-once memory 25.
  • the memory access unit 29 records data (Datal) in the page (PNO) of physical address 0, and sets the logical address corresponding to the page to 0 (exactly OxOOOOOOO 0) in the redundant area. Set. Therefore, the access device 1 receives a logical address from the write-once recording device 2A.
  • Data stored in 0 is read
  • Data stored in the page (PN0) at physical address 0 is read.
  • the remaining recordable capacity in the write-once memory 25 can be calculated by counting the number of pages set to OxFF FFFFFF force S in the area for storing logical address information.
  • OxFFFFFFFF is first set in the area for storing logical address information. All pages after the physical address page are recordable pages. Therefore, the remaining capacity can be easily calculated by subtracting the page number found here from the total number of pages.
  • the access device 1 and the write-once recording device 2A provide information on the remaining capacity managed by the write-once recording device 2A to the access device 1 Is obtained from the write-once recording device 2A and compared with the remaining capacity on FAT (104, 105), the remaining capacity that can be actually recorded is grasped.
  • FAT 104, 105
  • the present invention has been described based on the first embodiment, it is needless to say that the present invention is not limited to the first embodiment. Various modifications can be made without departing from the spirit of the present invention.
  • the example in which the access device 1 acquires information on the remaining capacity managed by the write-once recording apparatus 2A by the remaining capacity acquisition command has been described. Also good.
  • FIG. 15A and FIG. 15B are flowcharts showing the first modification.
  • steps S40 ;! to 413 are the same as S30 ;! to 313 shown in FIG.
  • S414 data is recorded in S412 and S413, the address management information is updated, the remaining capacity D held by the physical free capacity management unit 27 is acquired, and a recording end response is sent together with the remaining capacity D information. Send it out.
  • the access device receives this information and ends the process if no further storage is required. If there is data to be recorded, the remaining capacity E in the logical address space is calculated from the FAT in S417.
  • the smaller capacity is determined from the capacity D and E as the remaining capacity F, and whether or not recording is possible is determined based on this capacity. If recording is not possible, the process ends. If recording is possible, a recording area is allocated on the FAT in S420, and a file data recording command is transmitted in S421.
  • the write-once recording device 2A receives this command, it records data and updates the address management information (S422 to S424).
  • a new remaining capacity D is acquired (S425), and a recording end response is transmitted together with information on the remaining capacity D (S426).
  • the access device 1 receives this response (S427). And necessary Accordingly, the process returns to S417 and the same process is repeated.
  • the access device 1 is notified of the remaining capacity information in addition to the response indicating that the recording has been completed in response to the recording command. This eliminates the need to issue a remaining capacity acquisition command at the next file data recording time to acquire the remaining capacity, and enables file data to be recorded at high speed.
  • Te file data recording time smell for the first time as shown in FIG. 15A, there must force s to obtain a remaining capacity by issuing the remaining capacity obtaining command.
  • the physical free space management unit 27 receives the write command issued by the access device, and after the memory access unit 29 performs the data write processing to the write-once memory, the write is performed based on the address management information. It has the function of calculating the size of the unrecorded area in the once memory and notifying the access device of the remaining capacity that can be physically recorded by the access device.
  • the access device 1 informs the write once recording device 2A of the address and size information of the area to be recorded before actually issuing the recording command, and the remaining capacity is determined by the recording.
  • the information regarding how to change is acquired.
  • recording is determined based on the remaining capacity calculated from FAT (104, 105). This is the same as the conventional processing procedure shown in FIG. However, the subsequent processing is different from the conventional processing procedure.
  • FAT FAT
  • FIG. 3 when recording file data, it is necessary to record the directory entry 107 and FAT (104, 105) along with the recording of the file data.
  • the address and size of the recording process that occurs in the series of processes of the file system are determined. Specifically, the address and size of the recording process relating to the recording of the directory entry 107 and the FAT (104, 105) generated along with the recording of the file data are determined.
  • a command (hereinafter referred to as a change information command) for acquiring information indicating a change in the remaining amount is issued to the write-once recording apparatus 2A using the address and size as arguments.
  • the logical / physical free space management unit 16 sends data to the write-once recording Prior to recording, specify the address and size information of the recording process and issue a change information command regarding the change in the remaining amount to achieve the function of acquiring the remaining capacity that can be physically recorded in the write-once recording device. /!
  • the write-once recording apparatus 2A When the write-once recording apparatus 2A receives this command in S505, it calculates information indicating a change in the remaining amount that occurs when a recording command having a designated address and size is generated (S506). This information includes, for example, a combination of the current remaining capacity and the remaining capacity that is decreased by a recording command of a specified address and size.
  • the write-once recording device sends a response including this change information to the access device (S507).
  • the access device 1 receives this response in S5 08.
  • the access device 1 repeats the change information command for all recording processes that occur in the series of file system processes that have been determined earlier, and how the remaining amount changes in the series of file system processes. It is possible to know in advance what to do.
  • S 509 shown in FIG. 16B it is determined whether or not recording is possible based on the remaining amount change information. If recording is impossible, the process is terminated. If recording is possible, recording is assigned on FAT in S510, and a recording command is sent in S511. When the write-once recording apparatus 2A receives this command in S512, it proceeds to S513 and S514 to record data and update the address management information. Then, a recording end response is returned to the access device (S515). The access device 1 receives this response. Then, the processing from S51 ;! to 515 is repeated until a series of necessary data is completed.
  • the access device When the access device receives a change information command issued prior to data recording by the access device, the physical free space management unit 27 and the address management information and the address and size of the recording process specified by the access device together with the command Based on this information, the remaining recordable capacity in the write-once memory before and after performing the recording process specified by the access device The information regarding the change in the amount is grasped and notified to the access device.
  • the configuration of the address management information described in the first embodiment of the present invention is an example, and other configurations may be adopted.
  • the management unit is a page unit with a capacity of 2 kB. Different management sizes can be used.
  • the force described in the example of using an area of 4 bytes per page as an area for storing a logical address may use an area of 16 bytes per page.
  • address conversion can be performed in sector units (512-byte units) shown in FIG. 8, and sector units can be used as management units.
  • a plurality of pages may be combined into a management unit, and address conversion may be performed in this unit.
  • the address management information may be stored together in one place as described for the example in which the address management information is distributed and stored in the redundant area of the write-once memory 25.
  • FIG. 17 is a configuration diagram of an access device and a write-once recording device according to Embodiment 2 of the present invention.
  • the write-once recording apparatus 2B has P (P is a natural number) write-once memories.
  • P is a natural number
  • Each write-once memory 30-1, 30- 2, ⁇ '30-P has a logical address space for storing file system management information and user data, as shown in Fig. 7. Address management information is also stored to realize pseudo-overwriting.
  • FIG. 18 is a diagram showing a configuration of the write-once memory in the second embodiment of the present invention.
  • Each write-once memory is assigned memory numbers 1, 2, ⁇ ⁇ as identifiers.
  • the area inside each write-once memory has multiple pages consisting of a data area and a redundant area, as in FIG. Therefore, a unique physical address is determined by combining the memory number and page number.
  • Each write-once memory is assigned to a specific logical address and managed. For example, the write-once memory 30-1 with memory number 1 is allocated to the logical address space from logical address 0 to ( ⁇ -1). It-once memory 30-2 is allocated to logical address space from logical address N to (2N-1). By assigning each write-once memory to a specific logical address space in this way, the address space subject to address translation becomes small, and the overhead of address translation processing can be kept low.
  • the remaining capacity ⁇ is calculated based on the information of FAT (104, 105) read from the write-once recording device 2B to the RAMI 2 on the access device 1. At this time, the logical address space assigned to each write-once memory is specified, and only the area included in the logical address space corresponding to one write-once memory is subject to calculation.
  • Access device 1 issues a remaining capacity acquisition command to write-once recording device 2B.
  • the memory number i corresponding to the logical address specified in S601 is specified as an argument, and the remaining capacity information for the write-once memory 30-i is requested.
  • the write-once recording device 2B that has received the remaining capacity acquisition command issued from the access device 1 by S602 identifies the command type by the command interpretation unit 26, and the physical free space management unit 27 To get the remaining capacity B from.
  • the write-once recording device 2B returns, to the access device 1, the remaining capacity B information contained in the specified write-once memory as a response to the remaining capacity acquisition command, along with a response indicating that the remaining capacity acquisition processing has been completed. To do.
  • the access device 1 receives this response, and uses the smaller value of the remaining capacity A calculated in S601 and the remaining capacity B acquired in S604 in the write-once memory of the corresponding memory number i.
  • the remaining capacity that can actually be recorded is determined as Ci.
  • the processing from S601 to S607 is repeated for all write-once memories in the write-once recording device 2A.
  • the memory number i of the write-once memory in which the remaining capacity Ci has become 0 in the processing of S607 is stored, and the corresponding logical address space is searched for free space on FAT (104, 105). This can be achieved by removing it from the target.
  • a recording command is issued to the write-once recording apparatus 2B to record file data in the recording area allocated in S610.
  • the write-once recording device 2B receives the recording command issued from the access device 1, searches for a recordable area on the write-once memory, and records file data.
  • the address management information is updated so that the physical address of the area in which the file data is recorded in S613 corresponds to the logical address designated by the access device 1.
  • the write-once recording device 2A returns a recording end response indicating that the recording is completed to the access device 1.
  • the access device receives this response, returns to S601 as necessary, and repeats the same processing.
  • S601 force, et al. S616 is repeatedly performed.
  • the access device As described above, in the file data recording in the second embodiment of the present invention, the access device
  • Power S write-once recording device Issue a remaining capacity acquisition command for each multiple write-once memory to the 2B, obtain the remaining capacity that can be physically recorded, and compare it with the remaining capacity on the FAT. To grasp the remaining capacity that can be actually recorded. As a result, even if the write-once recording device 2B has a plurality of write-once memories, it is possible to grasp an accurate remaining capacity even if it is wrong.
  • the remaining capacity C of any write-once memory including the logical address space where the FAT (104, 105) exists may be always set to zero.
  • a specific write-once memory can be used for FAT recording, and file data is not written to this write-once memory.
  • this write-once memory consumes free space only for the FAT overwriting process, and the number of times of overwriting the FAT can be extended.
  • the present invention may be applied to the case where one write-once memory is divided into a plurality of areas for management and assigned to each area and a specific logical address space for management.
  • the access device and the write-once recording device obtain information on the remaining capacity managed by the write-once recording device from the write-once recording device, and the remaining capacity on the FAT. Comparing the remaining capacity that can actually be recorded. As a result, when performing a pseudo-overwrite on the write-once memory, the correct remaining capacity can be grasped, and the file data is recorded even though there is no free space in the write-once recording device. It becomes possible to avoid problems such as end.
  • Such a write-once recording device can be used as a recording medium for storing digital content such as music, still images, and moving images
  • an access device can be a PC application that accesses the write-once recording device, It can be used as an audio recorder, DVD recorder, HD D recorder, movie, digital still camera, mobile phone terminal, etc.

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)
  • Computer Security & Cryptography (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

 ライトワンスメモリ上の残容量の情報をライトワンス記録装置2Aから取得する論物空き容量管理部16をアクセス装置1内に設ける。また、ライトワンス記録装置2A内に、ライトワンスメモリ上の残容量を管理し、アクセス装置に通知する物理空き容量管理部27を設ける。アクセス装置1はファイルデータの記録に先立ち、ライトワンス記録装置2Aから、ライトワンスメモリの残容量を取得し、FAT上の残容量と比較して実際にファイルデータの記録が可能な残容量を決定することにより、ライトワンス記録装置の正確な残容量を把握することができる。

Description

明 細 書 ライトワンス記録装置 技術分野
[0001] 本発明は、 1回のみ記録が可能なライトワンス型のメモリを用いたライトワンス記録装 置にデータを記録する際にお!/、て、残り記録可能な容量を正確にアクセス装置が把 握することのできるライトワンス記録装置、コントローラ、アクセス装置、及びライトワン ス記録システムに関する。
背景技術
[0002] 音楽コンテンツや、映像データ等のデジタルデータを記録する記録媒体には、磁 気ディスク、光ディスク、光磁気ディスク等、様々な種類が存在する。これら記録媒体 の 1種類であるメモリカードは、記録素子としてフラッシュ ROM等の半導体メモリを主 に使用しており、記録媒体の小型化が図れることから、デジタルスチルカメラや携帯 電話端末等、小型の携帯機器を中心に急速に普及している。
[0003] このようなメモリカードでは、記録素子として NAND型フラッシュメモリと呼ばれる半 導体素子が主に使用されている。 NAND型フラッシュメモリは、既に記録されたデー タを一旦消去した後、再度別のデータを記録することが可能な記録素子であり、従来 のハードディスクと同様に、複数回書き換え可能なメモリカードを構成することが可能 である。
[0004] 一方、近年 NAND型フラッシュメモリとは異なる記録素子として、従来の CMOSプ 口セスの技術を応用して安価に製造することが可能な OTP (One Time Program mable)メモリが登場し、注目されている。 OTPメモリは同一の物理メモリ領域に対し て一回しか記録できないという制限を持つライトワンスメモリである。このメモリは製造 コストが安価であるため、特に DVD— R等のメディア同様、データの長期保存などの 用途に使用されるメモリカードの記録素子として普及する可能性がある。すなわち、 従来のメモリカードのように複数回の書き換えが必要な用途向けには NAND型フラ ッシュメモリを用いて比較的高価なメモリカードとして販売し、 1回記録した以後は書 き換えが不要であるような用途向けには OTPメモリを用いて比較的安価なメモリカー ドとして販売することで、ユーザニーズに応じて使レ、分けることが可能である。
[0005] また従来、メモリカードに格納されたデータはファイルシステムにより管理されており 、ユーザは格納されたデータをファイルとして容易に取り扱うことができる。従来使用
Universal Disk t ormat)、 NTt Sノアイノレンスアム (New fecnnology File System)等が存在する。これらファイルシステムによりデータが管理されたメモリカー ドは、同一のファイルシステムを解釈する機器間でファイルを共有することができるた め、機器間でデータを授受することが可能となる。 は論理アドレス空間を示しており、論理アドレス空間の先頭には、ファイルシステム管 理情報 100を保持する領域が存在する。このファイルシステム管理情報 100は、領域 割り当て単位やファイルシステムが管理する領域の大きさ等、ファイルシステムの管 理情報が格納される領域である。この情報には、マスターブートレコード 'パーティシ ヨンテーフ、、ノレ 102、ノ ーテイシヨンフ、、一トセクタ 103、 FAT (104、 105)、ノレートディレ クトリエントリ 106と呼ばれるファイルシステムの管理情報が含まれ、ユーザデータ 10 1の領域を管理するために必要な情報が各々格納されている。マスターブートレコー ド.パーティションテーブル 102は、ファイルシステムが管理する論理アドレス空間上 の領域を複数のパーティションと呼ばれる領域に分割して管理するための情報が格 納される領域である。パーティションブートセクタ 103は、 1つのパーティション内の管 理情報が格納される領域である。 FAT (104、 105)は、ファイルに含まれるデータの 格納位置に関する情報が格納される領域であり、通常、同じ情報を持つ 2つの FAT( 104、 105)力 Sメモリカード内に存在し、一方の FAT (104、 105)が破損したとしても 他方の FAT (104、 105)によりファイルにアクセスできるよう二重化されている。ルー トディレクトリエントリ 106は、ルートディレクトリ直下に存在するファイル、ディレクトリの 情報(ディレクトリエントリ)が格納される部分である。
[0007] また FATファイルシステムでは、このファイルシステム管理情報 100を保持する領 域に引き続いてファイル本体のデータなどユーザデータ 101を格納する領域が存在 する。ユーザデータ 101は、 16KBや 32KB程度の大きさを持つクラスタと呼ばれる 管理単位毎に分割管理されており、各クラスタにはファイルに含まれるデータが格納 されている。多くのデータを格納するファイル等は、複数のクラスタに跨ってデータを 格納しており、各クラスタ間の繋がりは、 FAT (104, 105)に格納されたリンク情報に より管理されている。また、ルートディレクトリ直下のディレクトリ内に存在するファイル 、サブディレクトリの情報(ディレクトリエントリ)は、このユーザデータ 101の一部を利 用して格納される。
[0008] 次に図 2から図 5を用いて FATファイルシステムにおけるファイルデータの書き込み 例を説明する。図 2は、ディレクトリエントリの構成を示した図である。図 3はファイルデ ータ書き込みの処理手順を示した図である。図 4は書き込み前のディレクトリエントリ 1 07、FAT (104、 105)、ユーザデータ 101の一例を示した図である。図 5は書き込み 後のディレクトリエントリ 107、 FAT (104、 105)、ユーザデータ 101の一例を示した 図である。
[0009] 前述の通り、 FATファイルシステムでは、ルートディレクトリエントリ 106やユーザデ ータ 101の一部に、図 5 (a)に示すファイル名やファイルサイズ、ファイル属性等の情 報を格納したディレクトリエントリ 107が格納される。 FATファイルシステムにおけるデ ィレクトエントリ 107は図 2に示すように、 32バイトで構成されており、ファイル名ゃ属 性、最終更新日時、開始クラスタ番号、ファイルサイズ等が格納される。
[0010] 次にファイルデータ書き込み処理手順について図 3を用いて説明する。
(5101)対象ファイルのディレクトリエントリ 107を読み込む。
(5102)読み込んだディレクトリエントリ 107に格納された開始クラスタ番号を取得し 、ファイルデータの先頭位置を確認する。
(5103) FAT (104、 105)を読み込み、 S102で取得したファイルデータの先頭位 置から順に FAT (104、 105)上でリンクを迪り、書き込み位置のクラスタ番号を取得 する。
(5104)データ書き込みに際し、ファイルに新たに空き領域を割り当てる必要がある か判定する。空き領域の割り当てが必要な場合 S 105の処理に進む。空き領域の割 り当てが不要な場合 S106の処理に進む。 (5105) FAT (104、 105)上で空き領域を検索し、 1クラスタの空き領域をファイル の終端に割り当てる。
(5106)現在参照しているクラスタ内に書き込めるだけのデータをユーザデータ 10
1に書き込む。
(5107)全データの書き込みが完了したか判定する。まだデータが残っている場合 S 104の処理に戻る。全データの書き込みが完了した場合 S108の処理に進む。
(5108)ディレクトリエントリ 107内に格納されたファイルサイズや最終更新日時等を 更新し、ディレクトリエントリ 107を上書きする。
(5109) FAT (104、 105)を上書きし、処理を完了する。
[0011] このファイルデータ書き込み処理により、図 4に示された 60000バイトのデータを持 つ FILE1. TXTに 10000バイトのデータを更に書き込んだ場合、図 5に示されるよう に 70000バイトのデータを持つファイルに変化する。
[0012] このように FATファイルシステムでは、ファイルデータを格納する際に、データ本体 と共にディレクトリエントリ 107や FAT (104、 105)等をカードに格納する必要がある 。これらの情報は、更新の度に同一論理アドレスに上書きする必要があることから、 1 回だけしか記録が行えない OTPメモリに対して上記 FATファイルシステムを適用す ること力 Sできな!/、とレ、う問題が生じる。
[0013] 従来、このような問題を解決する方法として、特許文献 1には OTPメモリを用いた記 録媒体において、論理アドレスと物理アドレスの変換を行う機能を用い擬似的に上書 きを実現する方法が提案されている。この従来の方法では、従来欠陥ブロックの代替 方法として使用されている論理アドレスと物理アドレスの変換機能を応用し、欠陥プロ ックの代替用の領域として確保されている領域の一部を、データの上書きが発生した 時点で新たに割り当て、アドレス変換によりデータ記録位置を交替させることにより、 擬似的な上書きを実現してレ、る。
[0014] 次に、図 6を用いて複数回書き換え可能な情報記録装置に対する従来のフアイノレ データ書き込み処理手順を説明する。
(S201)情報記録装置からアクセス装置上の RAMに読み出した FAT (104、 105 )を元に残容量を算出する。 FAT (104、 105)では、空きクラスタに対応する FATェ ントリの値が 0に設定されていることから、全 FATエントリを検索し、値が 0に設定され ているエントリの個数をカウントすることで、残容量の算出が行える。また、 FAT (104 105)の読み込みはアクセス装置に情報記録装置が装着された直後などに予め実 施しておく。
(5202)算出した残容量からファイルデータの記録が可能か判定する。この判定は 、残容量と 1回のファイルデータ記録で書き込みを行うデータサイズとの大小比較に よって実施すること力できる。例えばファイルデータの記録を 1クラスタ単位で実施す る場合、 S201で取得した残容量が 1クラスタ以上であれば記録可能と判定し、それ 以外であれば記録不可能と判定する。
(5203) S202において記録可能と判定した場合、 1回のファイルデータ記録で書 き込みを行うデータサイズ分の空き領域を FAT上で検索し、その FATエントリを RA M上で 0以外の値に設定することにより、 FAT上で記録領域を割り当てる。
(5204) , (S205) S203で割り当てた記録領域にファイルデータの記録コマンドを 送信する。情報記録装置は S204によってアクセス装置力も発行された記録コマンド を受信する。
(5206)情報記録装置は NAND型フラッシュメモリなどの記録素子上で記録可能 な領域を検索し、ファイルデータを記録する。
(5207) S206でファイルデータを記録した領域の物理アドレスと、 S204によってァ クセス装置から記録コマンドで指定された論理アドレスとが対応するよう、アドレス管 理情報を更新する。
(5208) , (S209)記録コマンドに対する応答として、記録が終了した旨の記録終 了レスポンスを情報記録装置がアクセス装置に返信し、アクセス装置はこれを受信す 以下、記録対象のファイルデータが存在する間、 S201力、ら S209の処理を、繰り返 し実施する。
このように、従来のファイルデータ記録処理手順では、残容量は FAT上で管理され ており、アクセス装置が FAT上で空きクラスタ数をカウントすることにより、残容量を把 握していた。 特許文献 1 :特開 2006— 85859号公報
発明の開示
発明が解決しょうとする課題
[0016] しかしながら、上記の従来技術には次のような問題点がある。従来の方法では、 OT Pメモリに対する擬似的な上書きを実現するために、新たに物理メモリ領域を割り当て る必要があり、上書き処理が発生する度に物理メモリ領域が消費されていく。 OTPメ モリは一回だけしか記録できないため、上記のように消費された領域には二度と記録 すること力 Sできず、上書き処理が発生する度に残り記録可能な容量が減少することに なる。この容量の減少は、メモリカード内部のアドレス変換処理により発生するため、 メモリカードアクセスするアクセス装置側のファイルシステム制御部はその容量の変化 を知ることができず、ファイルシステム制御部が認識して!/、る残り記録可能な容量と、 実際にメモリカードに記録可能な容量との間に不整合が生じる。そのためアクセス装 置は FATを参照するだけでは残り記録可能容量を把握することができな!/、。ファイル システム制御部が記録可能であると判定してデータを記録するコマンドを送出したに もかかわらず、 OTPメモリには空き領域が存在せず、エラーが発生することがあると いう問題が生じていた。
[0017] また従来のライトワンス記録装置のファイルデータ記録処理手順では、ライトワンスメ モリに対して擬似的な上書きを実施するため、残り記録可能な容量が擬似的な上書 き処理により変化してしまうという問題点が生じる。
[0018] 本発明では上記問題点に鑑み、 OTPメモリに対する擬似的な上書きを実現する場 合にお!/、て、正確な残り記録可能な空き容量をアクセス装置側のファイルシステム制 御部に通知することを特徴とするライトワンス記録装置、コントローラ、アクセス装置、 及びライトワンス記録システムを提供することを目的とする。
課題を解決するための手段
[0019] この課題を解決するために本発明のコントローラは、 1回のデータ書き込みが可能 なライトワンスメモリに接続され、外部のアクセス装置が前記ライトワンスメモリに対す るアクセスを実施する際に指定する論理アドレスが与えられ、該論理アドレスに基づ いてデータを記録し、読み出すコントローラであって、前記ライトワンスメモリを固定長 の管理単位毎に分割して領域管理し、各管理単位の物理アドレスと論理アドレスとの 対応関係を保持すると共に、前記アクセス装置力 書き込み要求が発行された際に 、データ記録領域として前記ライトワンスメモリの未記録の領域を割り当て、前記デー タ記録領域を前記アクセス装置が書き込み要求時に指定した論理アドレスに対応付 けるアドレス変換処理を行うアドレス変換制御部と、前記ライトワンスメモリ内の未記録 領域の大きさを判別し、前記アクセス装置が物理的に記録可能な残り容量として前 記アクセス装置に通知する物理空き容量管理部と、前記アクセス装置からのコマンド に基づ!/、てデータを前記ライトワンスメモリに書き込み、及び前記ライトワンスメモリか らデータを読み出すメモリアクセス部と、を具備するものである。
[0020] ここで前記メモリアクセス部は、前記ライトワンスメモリの物理アドレスの昇順にデー タを順次書き込むものであり、前記アドレス変換制御部は、前記物理アドレスと前記 論理アドレスの対応関係を保持し、複数の物理アドレスに同一の論理アドレスが対応 付けられて!/、る場合、物理アドレスの最も大きな領域に格納されて!/、るデータをその 論理アドレスの領域に格納された有効なデータとしてもよい。
[0021] ここで前記物理空き容量管理部は、前記アクセス装置がデータ記録に先立ち発行 する残容量取得コマンドを受け付けた際に、前記アドレス管理情報を元に前記ライト ワンスメモリ内の未記録領域の大きさを算出し、前記アクセス装置が物理的に記録可 能な残容量として前記アクセス装置に通知するようにしてもよい。
[0022] ここで前記物理空き容量管理部は、前記アクセス装置が発行した記録コマンドを受 け付けて前記メモリアクセス部が前記ライトワンスメモリへのデータ書き込み処理を実 施した後、前記アドレス管理情報を元に前記ライトワンスメモリ内の未記録領域の大き さを算出し、前記アクセス装置が物理的に記録可能な残容量として前記アクセス装 置に通知するようにしてもよ!/、。
[0023] ここで前記物理空き容量管理部は、前記アクセス装置がデータ記録に先立ち発行 する変化情報コマンドを受け付けた際に、前記アドレス管理情報と、前記コマンドと共 に前記アクセス装置により指定された記録処理のアドレス及びサイズの情報とを元に 、前記アクセス装置により指定された記録をする前後の前記ライトワンスメモリに対す る残り記録可能な容量の変化に関する情報を把握し、前記アクセス装置に通知する ようにしてもよい。
[0024] この課題を解決するために本発明のライトワンス記録装置は、 1回のデータ書き込 みが可能なライトワンスメモリと、前記ライトワンスメモリに接続され、外部のアクセス装 置が前記ライトワンスメモリに対するアクセスを実施する際に指定する論理アドレスが 与えられ、該論理アドレスに基づいてデータを記録し、読み出すコントローラとを具備 するライトワンス記録装置であって、前記コントローラは、前記ライトワンスメモリを固定 長の管理単位毎に分割して領域管理し、各管理単位の物理アドレスと論理アドレスと の対応関係を保持すると共に、前記アクセス装置から書き込み要求が発行された際 に、データ記録領域として前記ライトワンスメモリの未記録の領域を割り当て、前記デ ータ記録領域を前記アクセス装置が書き込み要求時に指定した論理アドレスに対応 付けるアドレス変換処理を行うアドレス変換制御部と、前記ライトワンスメモリ内の未記 録領域の大きさを判別し、前記アクセス装置が物理的に記録可能な残り容量として 前記アクセス装置に通知する物理空き容量管理部と、前記アクセス装置からのコマン ドに基づいてデータを前記ライトワンスメモリに書き込み、及び前記ライトワンスメモリ 力、らデータを読み出すメモリアクセス部と、を具備するものである。
[0025] ここで前記メモリアクセス部は、前記ライトワンスメモリの物理アドレスの昇順にデー タを順次書き込むものであり、前記アドレス変換制御部は、前記物理アドレスと前記 論理アドレスの対応関係を保持し、複数の物理アドレスに同一の論理アドレスが対応 付けられて!/、る場合、物理アドレスの最も大きな領域に格納されて!/、るデータをその 論理アドレスの領域に格納された有効なデータとしてもよい。
[0026] ここで前記物理空き容量管理部は、前記アクセス装置がデータ記録に先立ち発行 する残容量取得コマンドを受け付けた際に、前記アドレス管理情報を元に前記ライト ワンスメモリ内の未記録領域の大きさを算出し、前記アクセス装置が物理的に記録可 能な残容量として前記アクセス装置に通知するようにしてもよい。
[0027] ここで前記物理空き容量管理部は、前記アクセス装置が発行した記録コマンドを受 け付けて前記メモリアクセス部が前記ライトワンスメモリへのデータ書き込み処理を実 施した後、前記アドレス管理情報を元に前記ライトワンスメモリ内の未記録領域の大き さを算出し、前記アクセス装置が物理的に記録可能な残容量として前記アクセス装 置に通知するようにしてもよ!/、。
[0028] ここで前記物理空き容量管理部は、前記アクセス装置がデータ記録に先立ち発行 する残量変化取得コマンドを受け付けた際に、前記アドレス管理情報と、前記コマン ドと共に前記アクセス装置により指定された記録処理のアドレス及びサイズの情報と を元に、前記アクセス装置により指定された記録をする前後の前記ライトワンスメモリ に対する残り記録可能な容量の変化に関する情報を把握し、前記アクセス装置に通 失口するようにしてあよレヽ。
[0029] この課題を解決するために本発明のアクセス装置は、 1回のデータ書き込みが可能 なライトワンスメモリを有するライトワンス記録装置にアクセスするアクセス装置であつ て、前記ライトワンス記録装置内の記録領域に構築されたファイルシステム情報に基 づレ、てデータをファイルとして制御するファイルシステム制御部と、前記ファイルシス テム制御部が管理する領域管理情報力 得られる前記ライトワンス記録装置に論理 的に記録可能な残容量と、前記ライトワンス記録装置から取得した物理的に記録可 能な残容量とを元に、前記ライトワンス記録装置に対する記録可否を判定する論物 空き容量管理部と、を具備するものである。
[0030] ここで前記論物空き容量管理部は、前記ライトワンス記録装置に対するデータ記録 に先立ち、残容量取得コマンドを発行し、前記ライトワンス記録装置に物理的に記録 可能な残容量を取得するようにしてもょレ、。
[0031] ここで前記論物空き容量管理部は、前記ライトワンス記録装置に対して書き込みコ マンドを発行し、そのレスポンスとして、前記ライトワンス記録装置に物理的に記録可 能な残容量を取得するようにしてもょレ、。
[0032] ここで前記論物空き容量管理部は、前記ライトワンス記録装置に対するデータ記録 に先立ち、記録処理のアドレス及びサイズの情報を指定して残量の変化に関する変 化情報コマンドを発行し、前記ライトワンス記録装置に物理的に記録可能な残り容量 を取得するようにしてもよい。
[0033] この課題を解決するために本発明のライトワンス記録システムは、 1回のデータ書き 込みが可能なライトワンスメモリを具備したライトワンス記録装置と、前記ライトワンス記 録装置にアクセスするアクセス装置からなるライトワンス記録システムであって、前記 ライトワンス記録装置は、 1回のデータ書き込みが可能なライトワンスメモリと、前記ラ イトワンスメモリに接続され、外部のアクセス装置が前記ライトワンスメモリに対するァク セスを実施する際に指定する論理アドレスが与えられ、該論理アドレスに基づいてデ ータを記録し、読み出すコントローラとを具備するものであり、前記コントローラは、前 記ライトワンスメモリを固定長の管理単位毎に分割して領域管理し、各管理単位の物 理アドレスと論理アドレスとの対応関係を保持すると共に、前記アクセス装置から書き 込み要求が発行された際に、データ記録領域として前記ライトワンスメモリの未記録 の領域を割り当て、前記データ記録領域を前記アクセス装置が書き込み要求時に指 定した論理アドレスに対応付けるアドレス変換処理を行うアドレス変換制御部と、前記 ライトワンスメモリ内の未記録領域の大きさを判別し、前記アクセス装置が物理的に記 録可能な残り容量として前記アクセス装置に通知する物理空き容量管理部と、前記 アクセス装置からのコマンドに基づ!/、てデータを前記ライトワンスメモリに書き込み、 及び前記ライトワンスメモリからデータを読み出すメモリアクセス部と、を有し、前記ァ クセス装置は、前記ライトワンス記録装置内の記録領域に構築されたファイルシステ ム情報に基づ!/、てデータをファイルとして制御するファイルシステム制御部と、前記フ アイルシステム制御部が管理する領域管理情報から得られる前記ライトワンス記録装 置に論理的に記録可能な残容量と、前記ライトワンス記録装置から取得した物理的 に記録可能な残容量とを元に、前記ライトワンス記録装置に対する記録可否を判定 する論物空き容量管理部と、を具備するものである。
発明の効果
[0034] 本発明によれば、 OTPメモリを備えたメモリカードに対する擬似的な上書きを実現 する場合にぉレ、て、正確な残り記録可能容量をアクセス装置が把握することができ、 メモリカードに空き領域が存在しないにも拘らずファイルデータを記録してしまうなど の問題を回避することが可能となる。
図面の簡単な説明
[0035] [図 1]図 1は FATファイルシステムの構成を示した説明図である。
[図 2]図 2はディレクトリエントリの構成を示した説明図である。
[図 3]図 3は FATファイルシステムのファイルデータ書き込み処理を示したフローチヤ ートである。
園 4]図 4は FATファイルシステムのファイルデータ書き込み前の状態を示した説明 図である。
園 5]図 5は FATファイルシステムのファイルデータ書き込み後の状態を示した説明 図である。
園 6]図 6は複数回書き換え可能な情報記録装置に対する従来のファイルデータ書 き込み処理を示したフローチャートである。
[図 7]図 7は本発明の実施の形態 1におけるアクセス装置、及びライトワンス記録装置 を示した説明図である。
園 8]図 8は本発明の実施の形態 1におけるライトワンスメモリの構成を示した説明図 である。
園 9]図 9は本発明の実施の形態 1におけるアドレス管理情報の一例を示した説明図 である。
園 10A]図 10Aは本発明の実施の形態 1におけるライトワンス記録装置に対するファ ィルデータ書き込み処理を示したフローチャートである。
園 10B]図 10Bは本発明の実施の形態 1におけるライトワンス記録装置に対するファ ィルデータ書き込み処理を示したフローチャートである。
園 11]図 11は本発明の実施の形態 1におけるライトワンスメモリの状態(1)を示した 説明図である。
園 12]図 12は本発明の実施の形態 1におけるライトワンスメモリの状態(2)を示した 説明図である。
園 13]図 13は本発明の実施の形態 1におけるライトワンスメモリの状態(3)を示した 説明図である。
園 14]図 14は本発明の実施の形態 1におけるライトワンスメモリの状態(4)を示した 説明図である。
園 15A]図 15Aは本発明の実施の形態 1におけるライトワンス記録装置に対するファ ィルデータ書き込み処理の変形例 1を示したフローチャートである。
園 15B]図 15Bは本発明の実施の形態 1におけるライトワンス記録装置に対するファ ィルデータ書き込み処理の変形例 1を示したフローチャートである。
[図 16A]図 16Aは本発明の実施の形態 1におけるライトワンス記録装置に対するファ ィルデータ書き込み処理の変形例 2を示したフローチャートである。
[図 16B]図 16Bは本発明の実施の形態 1におけるライトワンス記録装置に対するファ ィルデータ書き込み処理の変形例 2を示したフローチャートである。
[図 17]図 17は本発明の実施の形態 2におけるアクセス装置、及びライトワンス記録装 置を示した説明図である。
[図 18]図 18は本発明の実施の形態 2におけるライトワンスメモリの構成を示した説明 図である。
[図 19A]図 19Aは本発明の実施の形態 2におけるライトワンス記録装置に対するファ ィルデータ書き込み処理を示したフローチャートである。
[図 19B]図 19Bは本発明の実施の形態 2におけるライトワンス記録装置に対するファ ィルデータ書き込み処理を示したフローチャートである。
符号の説明
1 アクセス装置
2A, 2B ライトワンス記録装置
11 , 22 CPU
12, 23 RAM
13 記録装置インタフェース
14, 24 ROM
15 アプリケーション制御部
16 論物空き容量管理部
17 ファイルシステム制御部
18 記録装置アクセス部
21 アクセス装置インタフェース
25, 30- 1 , 30— 2, - - · 30-Ρ ライトワンスメモリ
26 コマンド解釈部
27 物理空き容量管理部 28 アドレス変換制御部
29 メモリアクセス部
100 ファイルシステム管理情報
101 ユーザデータ
102 マスターブートレコード 'パーティションテーブル
103 パーティションブートセクタ
104, 105 FAT
106 ノレートディレクトリエントリ
107 ディレクトリエントリ
発明を実施するための最良の形態
[0037] 以下、本発明のライトワンス記録装置、コントローラ、アクセス装置、及びライトワンス 記録システムについて、図面を参照しつつ説明する。
[0038] (実施の形態 1)
図 7は本発明の実施の形態 1におけるアクセス装置 1、ライトワンス記録装置 2Aの 構成図である。図 7においてアクセス装置 1は、 CPU11、 RAM12、記録装置インタ フェース(記録装置 IF) 13、 ROM14を含む。記録装置インタフェース 13は、アクセス 装置 1とライトワンス記録装置 2Aとの接続部であり、制御信号及びデータを送受信す るインタフェースである。
[0039] ROM14にはアクセス装置 1を制御するプログラムが格納されており、このプロダラ ムは RAM12を一時記憶領域として使用し、 CPU11上で動作する。 ROM14は、ァ プリケーシヨン制御部 15、論物空き容量管理部 16、ファイルシステム制御部 17、記 録装置アクセス部 18を含んでいる。
[0040] アプリケーション制御部 15は、データの生成や電源の制御などアクセス装置 1全体 を制御するものである。
[0041] 論物空き容量管理部 16は、ライトワンス記録装置に対するデータ記録に先立ち、 残容量取得コマンドを発行する。そしてファイルシステム制御部 17が管理する領域 管理情報から得られる論理アドレス空間上での残容量と、ライトワンス記録装置 2Aか ら取得した物理的に記録可能な残容量とを元に、ライトワンス記録装置に対する記録 可否を判定し、ファイルシステム制御部 17に通知するものである。
[0042] ファイルシステム制御部 17は、従来のアクセス装置に搭載されているファイルシス テム制御部と同様のものであり、 FATファイルシステムなどを用いて、データをフアイ ルとして管理するための制御を行うものである。アクセス装置がライトワンスメモリに対 してアクセスする際には、論理アドレスを指定する。
[0043] 記録装置アクセス部 18は、ファイルシステム制御部 17からデータと共にサイズと論 理アドレスを渡され、指定されたサイズのデータをライトワンス記録装置 2Aの記録領 域内に記録するなど、ライトワンス記録装置 2Aに対するコマンドやデータの送受信を 制御するものである。
[0044] 一方、図 7においてライトワンス記録装置 2Aは、アクセス装置インタフェース(ァクセ ス装置 IF) 21、 CPU22、 RAM23、 ROM24を有するコントローラと、ライトワンスメモ リ(WOM) 25とを含む。
[0045] アクセス装置インタフェース 21は、ライトワンス記録装置 2Aとアクセス装置 1との接 続部であり、記録装置インタフェース 13と同様に、制御信号及びデータを送受信す るインタフェースである。
[0046] ライトワンスメモリ(WOM) 25は、各領域に 1回だけの書き込みが可能なメモリであり 、例えば OTPメモリが用いられる。このメモリに記録するデータには、ファイルシステ ム管理情報や、ユーザデータ、論理アドレスと物理アドレスの対応関係を示すアドレ ス管理情報などが含まれる。
[0047] ROM24にはライトワンス記録装置 2Aを制御するプログラムが格納されており、この プログラムは RAM23を一時記憶領域として使用し、 CPU22上で動作する。また、 R OM24はコマンド解釈部 26、物理空き容量管理部 27、アドレス変換制御部 28、ライ
[0048] コマンド解釈部 26は、アクセス装置 1から送信されたコマンドを解釈するものである 。このコマンドとしては、記録コマンド、読み出しコマンドに加えて、残容量についての データを取得するための残容量取得コマンド、残容量の変化情報を取得するための 変化情報コマンドがある。
[0049] 物理空き容量管理部 27は、ライトワンスメモリ 25上に存在する記録可能な残容量を 算出し管理している。そしてアクセス装置 1から残容量取得コマンドが発行された場 合、物理空き容量管理部 27が管理している残容量を物理的に記録可能な残容量と してアクセス装置 1に通知するものである。
[0050] アドレス変換制御部 28は、ライトワンスメモリを固定長の管理単位毎に分割して領 域管理し、アクセス装置 1との通信で使用する論理アドレスとライトワンスメモリ 25上の 各管理単位の物理アドレスとを変換し、その対応関係を保持するものである。又アド レス変換制御部 28は、アクセス装置から書き込み要求が発行された際に、データ記 録領域としてライトワンスメモリ 25の未記録の領域を割り当て、データ記録領域をァク セス装置が書き込み要求時に指定した論理アドレスに対応付けるアドレス変換処理 を行う。アドレス変換制御部 28は、物理アドレスと論理アドレスの対応関係を保持し、 複数の物理アドレスに同一の論理アドレスが対応付けられている場合、物理アドレス の最も大きな領域に格納されているデータをその論理アドレスの領域に格納された 有効なデータとする。
[0051] メモリアクセス部 29は、アドレス変換部 28で指示された物理アドレスに基づいてライ トワンスメモリ 25にアクセスしてデータの書き込み、読み出しを行うものである。データ を書き込む際には、メモリアクセス部 29は、ライトワンスメモリの物理アドレスの昇順に データを順次書き込む。
[0052] 図 8は本発明の実施の形態 1におけるライトワンスメモリ 25の全体構成を示す図で ある。ライトワンスメモリ 25は、ページが複数個連続的に配置された構成となっており 、それぞれのページには、物理アドレスとしてページ番号 PNが 0〜M— 1まで割り振 られて管理されて!/、る。ここではライトワンスメモリ 25の各ページを管理単位とする。 各ページは、アクセス装置 1から読み書き可能なデータ領域と、ライトワンス記録装置 2A内の管理用領域として使用される冗長領域とから構成される。
[0053] 図 9は各ページの詳細を示す図であり、 2048バイトのデータ領域と、 64バイトの冗 長領域が 1つの記録単位 (ページ)として管理されている例を示している。データ領域 は 512バイトから成るデータ領域 1〜4を有している。冗長領域には、そのページの物 理アドレスがどの論理アドレスに対応して!/、るかを示す情報を格納する領域や、デー タ領域のエラー訂正に使用される ECCを格納する領域が存在する。本発明の実施 の形態 1では、アドレス管理情報としてライトワンスメモリ 25の冗長領域に論理アドレ スが格納される場合につ!/、て説明する。
[0054] 本実施の形態のライトワンス記録装置 2Aでは、ライトワンスメモリ 25上での残り記録 可能な残容量を物理空き容量管理部 27により管理すると共に、アクセス装置 1がデ ータの記録を指示した場合にアドレス変換制御部 28により新たな物理アドレスを割り 当ててデータを記録した上で論理アドレスと物理アドレスの対応関係を更新し、ライト ワンスメモリ 25に対する擬似的な上書き処理、追記処理を実現する。更に、アクセス 装置 1から残容量取得コマンドが発行された場合、物理空き容量管理部 27が管理し ている残容量をアクセス装置 1に通知する。これにより、アクセス装置 1がライトワンス 記録装置 2Aにデータを記録する場合にお!/ヽて、正確な残りの記録可能容量をァク セス装置 1が把握することができ、ライトワンス記録装置 2Aに空き領域が存在しない にも拘らずファイルデータを記録してしまうなどの問題を回避することが可能となる。
[0055] ライトワンスメモリ 25の全物理容量は、アクセス装置 1が読み書き可能な論理アドレ ス空間の全容量と同一の大きさとしてライトワンス記録装置 2Aで管理しても良い。こ の場合には新しいライトワンスメモリ 25であれば、 FATから見た論理空間上の残容量 と物理アドレス空間上の残容量は同一となる。また全物理容量からライトワンス記録 装置 2Aが領域管理などの目的のため独自に使用する領域の大きさを差し引いた容 量を論理アドレス空間の全容量として管理しても良い。この場合には新しいライトワン スメモリ 25であれば、 FATから見た論理アドレス空間上の残容量は物理アドレス空 間上の残容量よりも小さくなり、上書きなどを繰り返していくにつれて物理アドレス空 間上の残容量が論理アドレス空間上の残容量よりも小さくなる。
[0056] 次に図 10A,図 10Bを用いて、実施の形態 1におけるライトワンス記録装置 2Aに対 するファイルデータ書き込み処理手順を説明する。
(5301)アクセス装置 1は、ライトワンス記録装置 2Aからアクセス装置 1上の RAMI 2に読み出した FAT (104、 105)の情報を元に論理空間上での残容量 Aを算出する
(5302)アクセス装置 1がライトワンス記録装置 2Aに対して残容量を取得するため のコマンド(以下、単に残容量取得コマンドという)を発行する。このコマンドは、ライト ワンス記録装置 2A内のライトワンスメモリ 25に対して記録できる物理空間上での残り
Figure imgf000019_0001
(S303) , (S304)ライトワンス記録装置 2Aは、 S302によってアクセス装置 1から発 行された残容量取得コマンドを受信し、コマンド解釈部 26によりコマンドの種別を識 別し、物理空き容量管理部 27から物理空間上の残容量を取得する。具体的には、ラ イトワンスメモリ 25上で一度も記録が行われていない物理容量の大きさなどを残容量 として取得する。
(5305)ライトワンス記録装置 2Aは、残容量取得コマンドに対する応答として、残 容量取得処理が完了した旨のレスポンスと共に S304で取得した物理空間上での残 容量 Bの情報をアクセス装置 1に返信する。
(5306) , (S307)アクセス装置 1は、レスポンスを受信すると、 S301で算出した残 容量 Aと、 S304で取得した残容量 Bの小さい方の値を、実際に記録が可能な残容 量 Cとして決定する。
(5308)決定した残容量 Cを元にファイルデータの記録が可能か判定し、不可であ れば処理を終了する。
(5309) S308において記録可能と判定した場合、 1回のファイルデータ記録で書 き込みを行うデータサイズ分の空き領域を FAT (104、 105)上で検索し、その FAT エントリを RAM12上で 0以外の値に設定することにより、 FAT (104、 105)上で記録 領域を割り当てる。
(5310)アクセス装置 1は S309で割り当てた記録領域にファイルデータを記録する ため、ライトワンス記録装置 2Aに記録コマンドを送信する。
(5311) , (S312)ライトワンス記録装置 2Aはアクセス装置 1から発行された記録コ マンドを受信すると、アドレス変換制御部 28はライトワンスメモリ 25上で記録可能な領 域を検索し、メモリアクセス部 29によりファイルデータを記録する。
(5313) S312でファイルデータを記録した領域の物理アドレスと、アクセス装置 1か らの記録コマンドで指定された論理アドレスとが対応するよう、アドレス管理情報を更 新する。
(5314) , (S315)アドレス変換制御部 28はライトワンス記録装置 2Aは記録コマン ドに対する応答として、記録が完了した旨のレスポンスをアクセス装置 1に返信し、ァ クセス装置 1はこれを受信する。
以下、記録対象のファイルデータが存在する間、 S301力、ら S315の処理を、繰り返 し実行する。
[0057] このように、本発明の実施の形態 1におけるライトワンス記録装置 2Aにファイルデー タを記録する場合には、アクセス装置 1がライトワンス記録装置 2Aに対して、残容量 取得コマンドを発行し、物理的に記録可能な残り容量を取得した上で、 FAT (104、 105)上の残容量と比較して実際に記録可能な残り容量を把握する。これにより、ライ トワンスメモリ 25に対して擬似的な上書きを実施する場合において、正確な残容量を 巴提すること力 Sでさる。
[0058] 次に、図 11から 14は夫々データ記録時におけるライトワンスメモリ 25とそれに対応 する論理アドレス空間 LASの保持情報の変化を示す図である。ここで破線で示す論 理アドレス空間 LASは、この論理アドレス LAとそれに対応するデータを示している。 図 11はライトワンスメモリ 25に何もデータが記録されて!/、な!/、状態を示しており、ライ トワンスメモリ 25の物理アドレスであるページ番号 PNO〜PN (M— 1)のデータ領域 と、冗長領域のうちの論理アドレス LAを格納する領域は全て初期値になっている。こ こではデータ領域の初期値として、 OxFFが設定されている場合を想定している。又 論理アドレスを格納する領域に OxFFFFFFFFが設定されて!/、る場合、そのページ がどの論理アドレスにも割り当てられていないことを示している。すなわち、図 11の状 態では全ての論理アドレスにページが割り当てられていないため、アクセス装置 1が ライトワンス記録装置 2Aから各論理アドレスに格納されたデータを読み出すと、初期 値 (OxFF)が読み出されることになる。
[0059] 次にアクセス装置 1が論理アドレス 0の領域に 1ページ分のデータを記録した場合、 ライトワンスメモリ 25は図 12の状態に変化する。本実施の形態 1では、ライトワンスメ モリ 25に対して全て物理アドレスの先頭から昇順に記録されるものとする。図 12に示 すようにメモリアクセス部 29は、データ(Datal)を物理アドレス 0のページ(PNO)に 記録し、冗長領域にそのページが対応する論理アドレスを 0 (正確には OxOOOOOOO 0)と設定する。そのため、アクセス装置 1がライトワンス記録装置 2Aから論理アドレス 0に格納されたデータを読み出すと、物理アドレス 0のページ (PN0)に格納された D atalが読み出されることになる。
[0060] 同様にアクセス装置 1が論理アドレス 1 (正確には OxOOOOOOOl)の領域に 1ページ 分のデータ(Data2)を記録した場合、図 13の状態に変化する。図 13では、 Data2 は物理アドレス 1のページ(PN1)に格納されており、そのページが対応する論理アド レスは 1と設定されている。そのため、アクセス装置 1がライトワンス記録装置 2Aから 論理アドレス 1に格納されたデータを読み出すと、物理アドレス 1のページ (PN1)に 格納された Data2が読み出されることになる。
[0061] 次にアクセス装置 1が論理アドレス 0の領域に 1ページ分のデータを記録した場合、 図 14の状態に変化する。図 14ではデータ(Data3)は物理アドレス 2のページに格 納されており、そのページが対応する論理アドレスは 0と設定されている。ここで論理 アドレス 0の領域には既にデータが記録されていたため、図 14の状態ではライトワン スメモリ 25内において論理アドレスの情報を格納する領域には、 2箇所に" 0"の値が 存在することになる。ライトワンスメモリ 25に対して物理アドレスの先頭から昇順に記 録されるので、複数個所に同一の論理アドレスの情報が格納されて!/、る場合には、 物理アドレスの大きなページに格納されているデータが有効となる。そのため図 14の 状態では、アクセス装置 1がライトワンス記録装置 2Aから論理アドレス 0に格納された データを読み出すと、物理アドレス 2のページ(PN2)に格納された Data3が読み出 されることになる。このようにして、本発明の実施の形態 1ではライトワンスメモリに対す る擬似的な上書きを実現する。
[0062] また、ライトワンス記録装置 2A内の物理空き容量管理部 27では、ライトワンスメモリ
25内の論理アドレスの情報を格納する領域に初期値 OxFFFFFFFFが設定されて いる場合、そのページが記録可能ページであると判定する。そのため、ライトワンスメ モリ 25内の残り記録可能な残容量は、論理アドレスの情報を格納する領域に OxFF FFFFFF力 S設定されているページの数をカウントすることにより算出すること力 Sできる
。特に、ライトワンスメモリ 25に対し物理アドレスの先頭から昇順に記録するものとした 場合、ライトワンスメモリ 25は物理アドレスの先頭から順に記録され、消費される。そ のため、論理アドレスの情報を格納する領域に最初に OxFFFFFFFFが設定されて いる物理アドレスのページ以降は全てが記録可能なページとなる。従って全ページ 数から、ここで見出されたページ番号を減算することにより、残容量を容易に算出す ること力 Sでさる。
[0063] 以上のように、本発明の実施の形態 1におけるアクセス装置 1、及びライトワンス記 録装置 2Aは、ライトワンス記録装置 2Aが管理している残容量に関する情報を、ァク セス装置 1がライトワンス記録装置 2Aから取得し、 FAT(104、 105)上の残容量と比 較して実際に記録可能な残り容量を把握する。これにより、ライトワンスメモリ 25に対 して擬似的な上書きを実施する場合にお!/、て、正確な残容量を把握することが可能 となる。
[0064] (変形例 1)
尚、本発明を実施の形態 1に基づいて説明してきたが、本発明は実施の形態 1に 限定されないのは勿論である。本発明の趣旨を逸脱しない範囲で実施変更すること ができる。本発明の実施の形態 1において、残容量取得コマンドによりライトワンス記 録装置 2Aが管理している残容量に関する情報をアクセス装置 1が取得する例につ いて説明したが、その他の方法を用いても良い。
[0065] 図 15A,図 15Bはこの変形例 1を示すフローチャートである。図 15Aにおいて、ス テツプ S40;!〜 413は図 8に示す S30;!〜 313と同様である。 S414では S412, S41 3でデータを記録し、アドレス管理情報を更新した後、物理空き容量管理部 27が保 持している残容量 Dを取得し、残容量 Dの情報と共に記録終了のレスポンスを送出 する。アクセス装置はこの情報を受信し、更に記憶する必要がなければ処理を終える 。記録するデータが残っている場合には、 S417において FATから論理アドレス空間 上の残容量 Eを算出する。そして S409と同様に容量 Dと Eとからより少ない容量を残 容量 Fとし、この容量を元に記録可否を判定する。記録ができなければ処理を終え、 記録が可能な場合には S420において FAT上で記録領域を割当て、 S421におい てファイルデータの記録コマンドを送信する。ライトワンス記録装置 2Aはこのコマンド を受信すると、データを記録し、アドレス管理情報を更新する(S422〜S424)。そし て新たに残容量 Dを取得し(S425)、残容量 Dの情報と共に記録終了のレスポンスを 送信する(S426)。アクセス装置 1はこのレスポンスを受信する(S427)。そして必要 に応じて S417に戻って同様の処理を繰り返す。
[0066] このように変形例 1では、記録コマンドに対し記録を終了した旨のレスポンスに加え て残容量の情報をアクセス装置 1に通知している。これにより、次回のファイルデータ 記録時に残容量取得コマンドを発行して残容量を取得する必要がなくなり、高速にフ アイルデータを記録することが可能となる。但し、初回のファイルデータ記録時におい ては、図 15Aに示すように、残容量取得コマンドを発行して残容量を取得する必要 力 sある。
[0067] この場合は物理空き容量管理部 27は、アクセス装置が発行した書き込みコマンドを 受け付けてメモリアクセス部 29がライトワンスメモリへのデータ書き込み処理を実施し た後、アドレス管理情報を元にライトワンスメモリ内の未記録領域の大きさを算出し、 アクセス装置が物理的に記録可能な残容量としてアクセス装置に通知する機能を有 している。
[0068] (変形例 2)
次に本実施の形態の変形例 2について説明する。この実施の形態では、アクセス 装置 1は記録コマンドを実際に発行する前に今から記録しょうとしている領域のァドレ スとサイズの情報をライトワンス記録装置 2Aに通知し、その記録により残容量がどの ように変化するかに関する情報を取得するようにしたものである。図 16A,図 16Bのフ ローチャートにおいて、 S 01 , S502では FAT (104、 105)から算出した残容量を 元に記録可否判定を行う。この点は図 6に示した従来の処理手順と同様である。しか しながら、その後の処理が従来の処理手順とは異なる。ファイルシステムでは、図 3で 示したようにファイルデータの記録時には、ファイルデータの記録と共に、ディレクトリ エントリ 107や FAT (104、 105)の記録が必要となる。そのため、 S503では、フアイ ルシステムの一連の処理で発生する記録処理のアドレス、サイズを決定する。即ち、 具体的にはファイルデータの記録と共に、それに伴い発生するディレクトリエントリ 10 7や FAT (104、 105)の記録に関する記録処理のアドレス、サイズを決定する。そし て、 S504において、このアドレス、サイズを引数として残量の変化を示す情報を取得 するためのコマンド(以下、変化情報コマンドという)をライトワンス記録装置 2Aに発 行する。この場合、論物空き容量管理部 16は、ライトワンス記録装置に対するデータ 記録に先立ち、記録処理のアドレス及びサイズの情報を指定して残量の変化に関す る変化情報コマンドを発行し、ライトワンス記録装置に物理的に記録可能な残り容量 を取得する機能を達成して!/、る。
[0069] ライトワンス記録装置 2Aは、 S505においてこのコマンドを受け取ると、指定された アドレス、サイズの記録コマンドが発生した場合に生じる残量の変化を示す情報を算 出する(S506)。この情報は例えば、現在の残容量と、指定されたアドレス、サイズの 記録コマンドにより減少する残容量との組などがある。ライトワンス記録装置はこの変 化情報を含めたレスポンスをアクセス装置に送出する(S507)。アクセス装置 1は S5 08においてこのレスポンスを受信する。アクセス装置 1は変化情報コマンドを先に決 定したファイルシステムの一連の処理で発生する全記録処理分に対して繰り返し実 施することにより、ファイルシステムの一連の処理で残量がどのように変化するかを予 め把握することが可能となる。
[0070] 次いで図 16Bに示す S 509ではこの残量変化情報を元に記録可否を判定する。記 録が不可であれば処理を終了し、記録可能であれば S 510において FAT上で記録 を割当て、 S511において記録コマンドを送出する。ライトワンス記録装置 2Aは S512 においてこのコマンドを受信すると、 S513, S514に進んでデータを記録し、アドレス 管理情報を更新する。そして記録終了レスポンスをアクセス装置に返信する(S515) 。アクセス装置 1はこのレスポンスを受信する。そして S51;!〜 515の処理は一連の必 要なデータを終えるまで繰り返す。
[0071] この方法を用いることにより、ファイルデータ、ディレクトリエントリ 107、 FAT (104、
105)が全て記録されて始めてファイルシステムの整合性が保たれる場合に、フアイ ルデータ、ディレクトリエントリ 107まで記録した段階で残容量がなくなり、 FAT (104 、 105)が記録できず、ファイルシステムの整合性が保てなくなることを防ぐことができ
[0072] 物理空き容量管理部 27は、アクセス装置がデータ記録に先立ち発行する変化情 報コマンドを受け付けた際に、アドレス管理情報と、コマンドと共に前記アクセス装置 により指定された記録処理のアドレス及びサイズの情報とを元に、アクセス装置により 指定された記録処理を実施する前後のライトワンスメモリに対する残り記録可能な容 量の変化に関する情報を把握し、アクセス装置に通知する。
[0073] また、図 16A,図 16Bのフローでは変化情報コマンドを必要回数分繰り返す例につ いて説明したが、 1回のコマンドで複数回数分の記録コマンドに関する残量の変化に 関する情報を取得するようにしても良い。
[0074] また、本発明の実施の形態 1で説明したアドレス管理情報の構成は一例であり、そ の他の構成を取っても良い。ここでは管理単位として 2kBの容量を持つページ単位 としている力 異なったサイズを管理単位とすることができる。例えば、論理アドレスを 格納する領域として 1ページ当たり 4バイトの領域を使用する例について記載した力 1ページ当たり 16バイトの領域を使用してもよい。こうすれば図 8に示すセクタ単位(5 12バイト単位)でアドレス変換を行うことができ、セクタ単位を管理単位とすることがで きる。また逆に複数ページをまとめて管理単位とし、この単位でアドレス変換を行うよ うにしてもよい。また、アドレス管理情報をライトワンスメモリ 25の冗長領域に分散して 格納する例について説明した力 1箇所にまとめてアドレス管理情報を格納してもよ い。
[0075] (実施の形態 2)
図 17は本発明の実施の形態 2におけるアクセス装置、ライトワンス記録装置の構成 図である。実施の形態では、ライトワンス記録装置 2Bは P (Pは自然数)個のライトワン スメモリを有している。各ライトワンスメモリ 30— 1 , 30- 2, · ' · 30— Pの中には、図 7 と同様にファイルシステム管理情報やユーザデータが格納される論理アドレス空間が 存在し、ライトワンスメモリに対する擬似的な上書きを実現するためにアドレス管理情 報も格納されている。
[0076] 図 18は、本発明の実施の形態 2におけるライトワンスメモリの構成を示した図である 。各ライトワンスメモリには識別子としてメモリ番号 1 , 2, · ' ·Ρが割り当てられている。 各ライトワンスメモリの内部の領域は図 8と同様にデータ領域と冗長領域からなるぺー ジが複数存在する。従ってメモリ番号とページ番号を組み合わせることで、一意な物 理アドレスが決定されることになる。また、各ライトワンスメモリは特定の論理アドレスに 割り当てられ、管理されている。例えば、メモリ番号 1のライトワンスメモリ 30— 1は、論 理アドレス 0から(Ν— 1)の論理アドレス空間に割り当てられており、メモリ番号 2のラ イトワンスメモリ 30— 2は、論理アドレス Nから(2N— 1)の論理アドレス空間に割り当 てられている。このように各ライトワンスメモリを特定の論理アドレス空間に割り当てるこ とで、アドレス変換対象のアドレス空間が小規模になり、アドレス変換処理のオーバ 一ヘッドを低く抑えることができるというメリットが生じる。
次に図 19A,図 19Bを用いて、本発明の実施の形態 2におけるライトワンス記録装 置 2Bに対するファイルデータ書き込み処理手順を説明する。
(5601)ライトワンス記録装置 2Bからアクセス装置 1上の RAMI 2に読み出した FA T (104、 105)の情報を元に残容量 Αを算出する。このとき、各ライトワンスメモリに対 して割り当てられて!/、る論理アドレス空間を特定し、ライトワンスメモリ 1枚分に対応す る論理アドレス空間に含まれる領域のみを算出対象とする。
(5602)アクセス装置 1がライトワンス記録装置 2Bに対して残容量取得コマンドを発 行する。このコマンドでは引数として S601で特定した論理アドレスに対応するメモリ 番号 iを指定し、そのライトワンスメモリ 30— iに対する残容量の情報を要求する。
(5603) , (S604) S602によってアクセス装置 1から発行された残容量取得コマン ドを受信したライトワンス記録装置 2Bは、コマンド解釈部 26によりコマンドの種別を識 別し、物理空き容量管理部 27から残容量 Bを取得する。
(5605)ライトワンス記録装置 2Bは、残容量取得コマンドに対する応答として、残容 量取得処理が完了した旨のレスポンスと共に、特定したライトワンスメモリに含まれる 残容量 Bの情報をアクセス装置 1に返信する。
(5606) , (S607)アクセス装置 1は、このレスポンスを受信し、 S601で算出した残 容量 Aと、 S604で取得した残容量 Bの小さい方の値を、該当メモリ番号 iのライトワン スメモリに実際に記録が可能な残容量 Ciとして決定する。 S601から S607までの処 理を、ライトワンス記録装置 2A内に存在する全ライトワンスメモリに対して繰り返し実 施する。
(5608)その後アクセス装置 1は各ライトワンスメモリに対する Ci (i= l〜P)の総和 力 ライトワンス記録装置 2Aの残容量 Dを算出する。
(5609) S608で決定した残容量 Dを元にファイルデータの記録が可能かどうかを 判定する。記録が不可であれば処理を終了する。 (5610) S609において記録可能と判定した場合、 1回のファイルデータ記録で書 き込みを行うデータサイズ分の空き領域を FAT (104、 105)上で検索し、その FAT エントリを RAM12上で 0以外の値に設定することにより、 FAT (104、 105)上で記録 領域を割り当てる。このとき、各ライトワンスメモリで残容量が異なるため、残容量が存 在するライトワンスメモリに対応する論理アドレス空間に限定して FAT(104、 105)上 で空き領域を検索する。具体的には、 S607の処理において残容量 Ciが 0となったラ イトワンスメモリのメモリ番号 iを記憶しておき、対応する論理アドレス空間を FAT (10 4、 105)上の空き領域検索の対象から外すことで実現できる。
(5611) S610で割り当てた記録領域にファイルデータを記録するためライトワンス 記録装置 2Bに記録コマンドを発行する。
(5612) , (S613)ライトワンス記録装置 2Bは、アクセス装置 1から発行された記録 コマンドを受信し、ライトワンスメモリ上で記録可能な領域を検索し、ファイルデータを 記録する。
(5614) S613でファイルデータを記録した領域の物理アドレスと、アクセス装置 1か ら指定された論理アドレスとが対応するよう、アドレス管理情報を更新する。
(5615) , (S616)記録コマンドに対する応答として、記録が終了した旨の記録終 了レスポンスをライトワンス記録装置 2Aがアクセス装置 1に返信する。アクセス装置は このレスポンスを受信し、必要に応じて S601に戻って同様の処理を繰り返す。 このように記録対象のファイルデータが存在する間、 S601力、ら S616の処理を、繰 り返し実施する。
[0078] このように、本発明の実施の形態 2におけるファイルデータ記録では、アクセス装置
1力 Sライトワンス記録装置 2Bに対して、複数のライトワンスメモリ毎に残容量取得コマ ンドを発行し、物理的に記録可能な残り容量を取得した上で、 FAT上の残容量と比 較して実際に記録可能な残容量を把握する。これにより、ライトワンス記録装置 2Bが 複数のライトワンスメモリを有する場合にぉレ、ても、正確な残容量を把握することが可 能となる。
[0079] 尚、本発明を実施の形態 2に基づいて説明してきた力 本発明はここでの説明に限 定されないのは勿論である。本発明の趣旨を逸脱しない範囲で実施変更することが できる。本発明の実施の形態 1において記載した各種の変更を、実施の形態 2に適 用しても良い。
[0080] また、図 19Aのフローの S607の処理において、 FAT (104、 105)が存在する論理 アドレス空間を含むいずれかのライトワンスメモリの残容量 Cを常に 0と設定しても良 い。このようにすることで、特定のライトワンスメモリを FATの記録用とすることができ、 このライトワンスメモリへはファイルデータが書き込まれなくなる。その結果、このライト ワンスメモリは FATの擬似的な上書き処理にのみ空き領域を消費していくことになり 、 FATを上書きする回数を延ばすことが可能となる。
[0081] また、 1枚のライトワンスメモリ内を複数領域に分割して管理し、各々の領域と特定 の論理アドレス空間に割り当てて管理する場合に本発明を適用しても良い。
[0082] 本発明に関わるアクセス装置、及びライトワンス記録装置は、ライトワンス記録装置 が管理している残容量に関する情報を、アクセス装置がライトワンス記録装置から取 得し、 FAT上の残容量と比較して実際に記録可能な残り容量を把握する。これにより 、ライトワンスメモリに対して擬似的な上書きを実施する場合において、正確な残容量 を把握することができ、ライトワンス記録装置に空き領域が存在しないにも拘らずファ ィルデータを記録してしまうなどの問題を回避することが可能となる。
産業上の利用可能性
[0083] このようなライトワンス記録装置は、音楽や静止画、動画などのデジタルコンテンツ を格納する記録媒体として利用することができ、またアクセス装置は、ライトワンス記 録装置にアクセスする PCアプリケーション、オーディオレコーダ、 DVDレコーダ、 HD Dレコーダ、ムービー、デジタルスチルカメラ、携帯電話端末等として利用することが できる。

Claims

請求の範囲
[1] 1回のデータ書き込みが可能なライトワンスメモリに接続され、外部のアクセス装置 が前記ライトワンスメモリに対するアクセスを実施する際に指定する論理アドレスが与 えられ、該論理アドレスに基づいてデータを記録し、読み出すコントローラであって、 前記ライトワンスメモリを固定長の管理単位毎に分割して領域管理し、各管理単位 の物理アドレスと論理アドレスとの対応関係を保持すると共に、前記アクセス装置から 書き込み要求が発行された際に、データ記録領域として前記ライトワンスメモリの未記 録の領域を割り当て、前記データ記録領域を前記アクセス装置が書き込み要求時に 指定した論理アドレスに対応付けるアドレス変換処理を行うアドレス変換制御部と、 前記ライトワンスメモリ内の未記録領域の大きさを判別し、前記アクセス装置が物理 的に記録可能な残り容量として前記アクセス装置に通知する物理空き容量管理部と 前記アクセス装置からのコマンドに基づ!/、てデータを前記ライトワンスメモリに書き 込み、及び前記ライトワンスメモリからデータを読み出すメモリアクセス部と、を具備す るコン卜ローラ。
[2] 前記メモリアクセス部は、
前記ライトワンスメモリの物理アドレスの昇順にデータを順次書き込むものであり、 前記アドレス変換制御部は、
前記物理アドレスと前記論理アドレスの対応関係を保持し、複数の物理アドレスに 同一の論理アドレスが対応付けられて!/、る場合、物理アドレスの最も大きな領域に格 納されているデータをその論理アドレスの領域に格納された有効なデータとする請求 項 1記載のコントローラ。
[3] 前記物理空き容量管理部は、
前記アクセス装置がデータ記録に先立ち発行する残容量取得コマンドを受け付け た際に、前記アドレス管理情報を元に前記ライトワンスメモリ内の未記録領域の大きさ を算出し、前記アクセス装置が物理的に記録可能な残容量として前記アクセス装置 に通知する請求項 1記載のコントローラ。
[4] 前記物理空き容量管理部は、 前記アクセス装置が発行した記録コマンドを受け付けて前記メモリアクセス部が前 記ライトワンスメモリへのデータ書き込み処理を実施した後、前記アドレス管理情報を 元に前記ライトワンスメモリ内の未記録領域の大きさを算出し、前記アクセス装置が物 理的に記録可能な残容量として前記アクセス装置に通知する請求項 1記載のコント口 一マノ
[5] 前記物理空き容量管理部は、
前記アクセス装置がデータ記録に先立ち発行する変化情報コマンドを受け付けた 際に、前記アドレス管理情報と、前記コマンドと共に前記アクセス装置により指定され た記録処理のアドレス及びサイズの情報とを元に、前記アクセス装置により指定され た記録をする前後の前記ライトワンスメモリに対する残り記録可能な容量の変化に関 する情報を把握し、前記アクセス装置に通知する請求項 1記載のコントローラ。
[6] 1回のデータ書き込みが可能なライトワンスメモリと、
前記ライトワンスメモリに接続され、外部のアクセス装置が前記ライトワンスメモリに対 するアクセスを実施する際に指定する論理アドレスが与えられ、該論理アドレスに基 づいてデータを記録し、読み出すコントローラとを具備するライトワンス記録装置であ つて、
前記コントローラは、
前記ライトワンスメモリを固定長の管理単位毎に分割して領域管理し、各管理単位 の物理アドレスと論理アドレスとの対応関係を保持すると共に、前記アクセス装置から 書き込み要求が発行された際に、データ記録領域として前記ライトワンスメモリの未記 録の領域を割り当て、前記データ記録領域を前記アクセス装置が書き込み要求時に 指定した論理アドレスに対応付けるアドレス変換処理を行うアドレス変換制御部と、 前記ライトワンスメモリ内の未記録領域の大きさを判別し、前記アクセス装置が物理 的に記録可能な残り容量として前記アクセス装置に通知する物理空き容量管理部と 前記アクセス装置からのコマンドに基づ!/、てデータを前記ライトワンスメモリに書き 込み、及び前記ライトワンスメモリからデータを読み出すメモリアクセス部と、を具備す るライトワンス記録装置。
[7] 前記メモリアクセス部は、
前記ライトワンスメモリの物理アドレスの昇順にデータを順次書き込むものであり、 前記アドレス変換制御部は、
前記物理アドレスと前記論理アドレスの対応関係を保持し、複数の物理アドレスに 同一の論理アドレスが対応付けられて!/、る場合、物理アドレスの最も大きな領域に格 納されているデータをその論理アドレスの領域に格納された有効なデータとする請求 項 6記載のライトワンス記録装置。
[8] 前記物理空き容量管理部は、
前記アクセス装置がデータ記録に先立ち発行する残容量取得コマンドを受け付け た際に、前記アドレス管理情報を元に前記ライトワンスメモリ内の未記録領域の大きさ を算出し、前記アクセス装置が物理的に記録可能な残容量として前記アクセス装置 に通知する請求項 6記載のライトワンス記録装置。
[9] 前記物理空き容量管理部は、
前記アクセス装置が発行した記録コマンドを受け付けて前記メモリアクセス部が前 記ライトワンスメモリへのデータ書き込み処理を実施した後、前記アドレス管理情報を 元に前記ライトワンスメモリ内の未記録領域の大きさを算出し、前記アクセス装置が物 理的に記録可能な残容量として前記アクセス装置に通知する請求項 6記載のライトヮ ンス記録装置。
[10] 前記物理空き容量管理部は、
前記アクセス装置がデータ記録に先立ち発行する残量変化取得コマンドを受け付 けた際に、前記アドレス管理情報と、前記コマンドと共に前記アクセス装置により指定 された記録処理のアドレス及びサイズの情報とを元に、前記アクセス装置により指定 された記録をする前後の前記ライトワンスメモリに対する残り記録可能な容量の変化 に関する情報を把握し、前記アクセス装置に通知する請求項 6記載のライトワンス記 録装置。
[11] 1回のデータ書き込みが可能なライトワンスメモリを有するライトワンス記録装置にァ クセスするアクセス装置であって、
前記ライトワンス記録装置内の記録領域に構築されたファイルシステム情報に基づ いてデータをファイルとして制御するファイルシステム制御部と、
前記ファイルシステム制御部が管理する領域管理情報から得られる前記ライトワン ス記録装置に論理的に記録可能な残容量と、前記ライトワンス記録装置から取得し た物理的に記録可能な残容量とを元に、前記ライトワンス記録装置に対する記録可 否を判定する論物空き容量管理部と、を具備するアクセス装置。
[12] 前記論物空き容量管理部は、
前記ライトワンス記録装置に対するデータ記録に先立ち、残容量取得コマンドを発 行し、前記ライトワンス記録装置に物理的に記録可能な残容量を取得する請求項 11 記載のアクセス装置。
[13] 前記論物空き容量管理部は、
前記ライトワンス記録装置に対して書き込みコマンドを発行し、そのレスポンスとして 、前記ライトワンス記録装置に物理的に記録可能な残容量を取得する請求項 11記 載のアクセス装置。
[14] 前記論物空き容量管理部は、
前記ライトワンス記録装置に対するデータ記録に先立ち、記録処理のアドレス及び サイズの情報を指定して残量の変化に関する変化情報コマンドを発行し、前記ライト ワンス記録装置に物理的に記録可能な残り容量を取得する請求項 11記載のァクセ ス装置。
[15] 1回のデータ書き込みが可能なライトワンスメモリを具備したライトワンス記録装置と 、前記ライトワンス記録装置にアクセスするアクセス装置からなるライトワンス記録シス テムであって、
前記ライトワンス記録装置は、
1回のデータ書き込みが可能なライトワンスメモリと、
前記ライトワンスメモリに接続され、外部のアクセス装置が前記ライトワンスメモリに対 するアクセスを実施する際に指定する論理アドレスが与えられ、該論理アドレスに基 づいてデータを記録し、読み出すコントローラとを具備するものであり、
前記コントローラは、
前記ライトワンスメモリを固定長の管理単位毎に分割して領域管理し、各管理単位 の物理アドレスと論理アドレスとの対応関係を保持すると共に、前記アクセス装置から 書き込み要求が発行された際に、データ記録領域として前記ライトワンスメモリの未記 録の領域を割り当て、前記データ記録領域を前記アクセス装置が書き込み要求時に 指定した論理アドレスに対応付けるアドレス変換処理を行うアドレス変換制御部と、 前記ライトワンスメモリ内の未記録領域の大きさを判別し、前記アクセス装置が物理 的に記録可能な残り容量として前記アクセス装置に通知する物理空き容量管理部と 前記アクセス装置からのコマンドに基づ!/、てデータを前記ライトワンスメモリに書き 込み、及び前記ライトワンスメモリからデータを読み出すメモリアクセス部と、を有し、 前記アクセス装置は、
前記ライトワンス記録装置内の記録領域に構築されたファイルシステム情報に基づ いてデータをファイルとして制御するファイルシステム制御部と、
前記ファイルシステム制御部が管理する領域管理情報から得られる前記ライトワン ス記録装置に論理的に記録可能な残容量と、前記ライトワンス記録装置から取得し た物理的に記録可能な残容量とを元に、前記ライトワンス記録装置に対する記録可 否を判定する論物空き容量管理部と、を具備するライトワンス記録システム。
PCT/JP2007/073765 2006-12-15 2007-12-10 ライトワンス記録装置 Ceased WO2008072590A1 (ja)

Priority Applications (4)

Application Number Priority Date Filing Date Title
CN200780043286XA CN101542447B (zh) 2006-12-15 2007-12-10 一次写入记录装置
EP07850339.8A EP2096546B1 (en) 2006-12-15 2007-12-10 Write once recording device
JP2008549293A JP5129156B2 (ja) 2006-12-15 2007-12-10 アクセス装置、および、ライトワンス記録システム
US12/517,844 US8589617B2 (en) 2006-12-15 2007-12-10 Write once recording device

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2006-337925 2006-12-15
JP2006337925 2006-12-15

Publications (1)

Publication Number Publication Date
WO2008072590A1 true WO2008072590A1 (ja) 2008-06-19

Family

ID=39511610

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2007/073765 Ceased WO2008072590A1 (ja) 2006-12-15 2007-12-10 ライトワンス記録装置

Country Status (5)

Country Link
US (1) US8589617B2 (ja)
EP (1) EP2096546B1 (ja)
JP (1) JP5129156B2 (ja)
CN (1) CN101542447B (ja)
WO (1) WO2008072590A1 (ja)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102203726A (zh) * 2008-09-10 2011-09-28 茵芬尼特麦默里有限公司 使用otp储存设备的方法
JP5362594B2 (ja) * 2008-06-09 2013-12-11 パナソニック株式会社 アクセス装置、及び残容量算出方法
JP2018097732A (ja) * 2016-12-15 2018-06-21 株式会社東芝 電子装置、通信装置及びプログラム

Families Citing this family (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5962918B2 (ja) * 2012-03-09 2016-08-03 パナソニックIpマネジメント株式会社 記憶装置、ホスト装置、記憶システム
US9201784B2 (en) * 2012-09-07 2015-12-01 Kabushiki Kaisha Toshiba Semiconductor storage device and method for controlling nonvolatile semiconductor memory
US10528529B1 (en) * 2014-12-23 2020-01-07 EMC IP Holding Company LLC Multi-core journal system and method
EP3384393B1 (en) * 2015-12-02 2020-03-11 Telefonaktiebolaget LM Ericsson (publ) Method and memory availability managing module for managing availability of memory pages
US10228856B2 (en) * 2016-01-28 2019-03-12 Hewlett Packard Enterprise Development Lp Storage space management in a thin provisioned virtual environment
JP7337800B2 (ja) * 2017-12-05 2023-09-04 ディフェンダー サイバー テクノロジーズ リミテッド ワンタイムパッドを使用した安全なコンテンツルーティング
KR102545229B1 (ko) * 2018-05-04 2023-06-21 에스케이하이닉스 주식회사 메모리 시스템 및 그것의 동작 방법
CN109273041B (zh) * 2018-08-29 2020-09-01 珠海市一微半导体有限公司 一种otp的写入方法
CN109326307B (zh) * 2018-09-07 2020-12-11 江苏菲利斯通信息科技有限公司 光盘流式刻录方法
EP3909196B1 (en) 2019-01-08 2023-12-20 Defender Cyber Technologies Ltd. One-time pads encryption hub
CN111240884B (zh) * 2019-12-25 2024-06-07 上海亮牛半导体科技有限公司 Efuse的纠错方法
US11656773B2 (en) * 2020-04-28 2023-05-23 EMC IP Holding Company LLC Automatic management of file system capacity using predictive analytics for a storage system
CN113568560A (zh) * 2020-04-29 2021-10-29 瑞昱半导体股份有限公司 存取一次性可编程记忆体的方法及相关的电路
US11740789B2 (en) 2020-05-18 2023-08-29 EMC IP Holding Company LLC Automated storage capacity provisioning using machine learning techniques
CN117725024A (zh) 2022-09-08 2024-03-19 戴尔产品有限公司 使用文件系统利用率预测的自动文件系统容量管理

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1997017652A1 (en) * 1995-11-10 1997-05-15 Sony Corporation Information processing apparatus and method
JP2006085859A (ja) 2004-08-16 2006-03-30 Sony Corp 記録方法、記録装置、再生方法、再生装置、記録媒体

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002050131A (ja) * 2000-08-03 2002-02-15 Hitachi Ltd 追記型記録媒体の記録制御方法
US6857054B2 (en) * 2002-06-28 2005-02-15 Hewlett-Packard Development Company, L.P. Write-once memory storage device
US20040160799A1 (en) * 2003-02-17 2004-08-19 Park Yong Cheol Write-once optical disc, and method and apparatus for allocating spare area on write-once optical disc
CN1641785A (zh) * 2004-01-06 2005-07-20 联发科技股份有限公司 计算光盘片内一轨道的数据容量的方法
EP1768407A1 (en) 2004-06-14 2007-03-28 Matsushita Electric Industrial Co., Ltd. Content use method and content recording device
US7752412B2 (en) * 2006-09-29 2010-07-06 Sandisk Corporation Methods of managing file allocation table information
JP2008139908A (ja) 2006-11-29 2008-06-19 Matsushita Electric Ind Co Ltd メモリ制御装置、コンピュータシステム及びデータ再生記録装置
US7680991B2 (en) * 2007-05-31 2010-03-16 International Business Machines Corporation Correlated analysis of wasted space and capacity efficiency in complex storage infrastructures

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1997017652A1 (en) * 1995-11-10 1997-05-15 Sony Corporation Information processing apparatus and method
JP2006085859A (ja) 2004-08-16 2006-03-30 Sony Corp 記録方法、記録装置、再生方法、再生装置、記録媒体

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5362594B2 (ja) * 2008-06-09 2013-12-11 パナソニック株式会社 アクセス装置、及び残容量算出方法
US9015444B2 (en) 2008-06-09 2015-04-21 Panasonic Intellectual Property Management Co., Ltd. Access apparatus and available storage space calculation method
CN102203726A (zh) * 2008-09-10 2011-09-28 茵芬尼特麦默里有限公司 使用otp储存设备的方法
JP2018097732A (ja) * 2016-12-15 2018-06-21 株式会社東芝 電子装置、通信装置及びプログラム

Also Published As

Publication number Publication date
CN101542447A (zh) 2009-09-23
US20110022807A1 (en) 2011-01-27
EP2096546A4 (en) 2011-09-21
JP5129156B2 (ja) 2013-01-23
EP2096546B1 (en) 2018-08-08
CN101542447B (zh) 2013-06-05
JPWO2008072590A1 (ja) 2010-03-25
US8589617B2 (en) 2013-11-19
EP2096546A1 (en) 2009-09-02

Similar Documents

Publication Publication Date Title
JP5129156B2 (ja) アクセス装置、および、ライトワンス記録システム
US11048624B2 (en) Methods for multi-stream garbage collection
KR100877448B1 (ko) 비휘발성 기억 시스템
CN100543702C (zh) 文件记录装置及其控制方法和执行方法
US8161225B2 (en) Semiconductor memory card, access device and method
TW571243B (en) Memory controller for memory card manages file allocation table
US8607016B2 (en) FAT analysis for optimized sequential cluster management
CN101027651B (zh) 最佳顺序性簇管理的fat分析
JP4533956B2 (ja) フラッシュメモリシステムのデータ記憶容量の解放
JP5577238B2 (ja) アクセス装置、情報記録装置、コントローラ、及び情報記録システム
JP5400875B2 (ja) メモリコントローラ、不揮発性記憶装置、アクセス装置、不揮発性記憶システム、データ書き込み方法、および、プログラム
CN101268449B (zh) 数据记录装置以及数据记录方法
US8185705B2 (en) Information recording medium, information recording medium accessing apparatus and accessing method
WO2010146767A1 (ja) 不揮発性記憶装置、アクセス装置、不揮発性記憶システム及びメモリコントローラ
CN102939593A (zh) 无限存储器
JP4807683B2 (ja) データ記憶装置
JP4441577B2 (ja) 固定サイズ格納ブロックを有するメモリシステムにおける変換データ単位格納
KR101378031B1 (ko) 데이터 파일을 직접적으로 저장하는 메모리 블록의 관리
JP5068754B2 (ja) 改良されたホストインターフェイス
JP2009503740A (ja) データファイルを直接記憶する再プログラム可能な不揮発性メモリ内のファイルデータの索引付け
JP2009205590A (ja) アクセスモジュール、情報記録モジュール、コントローラ、及び情報記録システム
JP2006155461A (ja) 情報処理装置、情報処理方法、並びにプログラム
JP2006178633A (ja) 情報処理装置、情報処理方法、プログラム
JP2006178632A (ja) 情報処理装置、情報処理方法、プログラム
CN100468361C (zh) 信息记录介质、对信息记录介质的访问装置以及访问方法

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: 200780043286.X

Country of ref document: CN

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 07850339

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 2008549293

Country of ref document: JP

WWE Wipo information: entry into national phase

Ref document number: 2007850339

Country of ref document: EP

WWE Wipo information: entry into national phase

Ref document number: 12517844

Country of ref document: US

NENP Non-entry into the national phase

Ref country code: DE