KR19990030283A - Storage devices, data processing systems and data recording and reading methods - Google Patents

Storage devices, data processing systems and data recording and reading methods Download PDF

Info

Publication number
KR19990030283A
KR19990030283A KR1019980040766A KR19980040766A KR19990030283A KR 19990030283 A KR19990030283 A KR 19990030283A KR 1019980040766 A KR1019980040766 A KR 1019980040766A KR 19980040766 A KR19980040766 A KR 19980040766A KR 19990030283 A KR19990030283 A KR 19990030283A
Authority
KR
South Korea
Prior art keywords
area management
management information
flag
data
area
Prior art date
Application number
KR1019980040766A
Other languages
Korean (ko)
Other versions
KR100527610B1 (en
Inventor
미쓰히로 히라바야시
겐이치 나카니시
아키라 사스사
Original Assignee
이데이 노부유끼
소니 가부시끼 가이샤
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 이데이 노부유끼, 소니 가부시끼 가이샤 filed Critical 이데이 노부유끼
Publication of KR19990030283A publication Critical patent/KR19990030283A/en
Application granted granted Critical
Publication of KR100527610B1 publication Critical patent/KR100527610B1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F12/00Accessing, addressing or allocating within memory systems or architectures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F12/00Accessing, addressing or allocating within memory systems or architectures
    • G06F12/02Addressing or allocation; Relocation
    • G06F12/0223User address space allocation, e.g. contiguous or non contiguous base addressing
    • G06F12/023Free address space management
    • G06F12/0238Memory management in non-volatile memory, e.g. resistive RAM or ferroelectric memory
    • G06F12/0246Memory management in non-volatile memory, e.g. resistive RAM or ferroelectric memory in block erasable memory, e.g. flash memory

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Techniques For Improving Reliability Of Storages (AREA)
  • Read Only Memory (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Memory System (AREA)

Abstract

영역 관리 정보가 전송 효율에 영향을 주지 않으면서 분산되어 기억될 수 있고 셀 구조의 변경에도 불구하고 기존의 기억 장치와의 호환성이 유지될 수 있는 기억 장치, 데이터 처리 시스템 및 데이터 기록 및 판독 방법. 플래시메모리(21), 변환 유닛(25) 및 제어기(26)가 제공된다. 변환 유닛(25)은 입력된 영역 관리 정보를 상기 영역 관리 정보에 대응하며 여분의 데이터가 부가된 영역 관리 플래그로 변환한다. 제어기(26)는 영역 관리 플래그가 플래시메모리(21)에 기억되도록 한다. 상기 변환 유닛(25)은 플래시메모리(21)로부터 판독된 영역 관리 플래그를 원래의 영역 관리 정보로 변환한다. 제어기(26)는 이 영역 관리 정보를 출력한다.A storage device, a data processing system, and a data recording and reading method in which area management information can be distributed and stored without affecting transmission efficiency, and compatibility with existing storage devices can be maintained despite a change in cell structure. The flash memory 21, the conversion unit 25 and the controller 26 are provided. The conversion unit 25 converts the input area management information into an area management flag corresponding to the area management information and to which extra data is added. The controller 26 causes the area management flag to be stored in the flash memory 21. The conversion unit 25 converts the area management flag read from the flash memory 21 into original area management information. The controller 26 outputs this area management information.

Description

기억 장치, 데이터 처리 시스템 및 데이터 기록 및 판독 방법Storage devices, data processing systems and data recording and reading methods

발명의 분야Field of invention

본 발명은 임의 데이터와, 이 임의 데이터(optional data)를 제어하기 위한 데이터 관리 정보, 및 상기 데이터를 저장하는 영역의 상태를 관리하기 위한 영역 관리 정보를 기억하기 위한 기억 장치와, 이러한 기억 장치를 사용하는 데이터 처리 시스템에 관한 것이다. 본 발명은 또한 임의 데이터와, 이 임의 데이터를 제어하기 위한 데이터 관리 정보 및 상기 데이터를 기억하는 영역의 상태를 관리하기 위한 영역 관리 정보를 기억 장치에 기억시키거나 또는 기억 장치로부터 판독하기 위한 데이터 기록 및 판독 방법에 관한 것이다.The present invention provides a storage device for storing arbitrary data, data management information for controlling this optional data, and area management information for managing the state of an area storing the data, and such a storage device. A data processing system to be used. The present invention also provides data storage for storing or reading out arbitrary data, data management information for controlling the arbitrary data, and area management information for managing the state of the area storing the data in the storage device. And a reading method.

관련 기술의 설명Description of the related technology

지금까지, 기록 매체로서 플래시메모리(전기적으로 소거가능하고 프로그램 가능한 읽기 전용 메모리(ROM))를 사용하는 카드형 외부 기억 장치(이하, 메모리 카드로 언급)가 전자 장치에 사용되는 외부 기억 장치로서 제안되어 왔다.To date, card type external storage devices (hereinafter referred to as memory cards) that use flash memory (electrically erasable and programmable read-only memory (ROM)) as recording media have been proposed as external storage devices used in electronic devices. Has been.

이러한 메모리 카드에 있어서, 임의 데이터 및 보조 데이터로서의 관리 정보가 기록 매체인 메모리에 저장된다. 이들 데이터 및 관리 정보가 메모리 카드에서 예를들면 호스트 측 컴퓨터로 전송되는 경우, 데이터 및 관리 정보는, 데이터 또는 관리 정보를 출력하기 전에 셀 고장에 의해 생성되는 에러 데이터를 정정하기 위해서, 에러 정정 코드를 사용하여 정정된다.In such a memory card, management data as arbitrary data and auxiliary data are stored in a memory which is a recording medium. When these data and management information are transferred from a memory card to, for example, a host-side computer, the data and management information is used to correct an error data generated by a cell failure before outputting the data or management information. Is corrected using.

상기 관리 정보로서, 메모리 상에서 데이터를 유지하고 있는 영역이 사용가능한지를 나타내는 정보와 같은, 데이터 기억용 영역의 상태를 관리하기 위한 정보(영역 관리 정보)는, 기억되어 있는 데이터의 시퀀스를 나타내는 논리적인 어드레스와 같은, 데이터(데이터 관리 정보)를 관리하기 위한 데이터 종속 정보(data-dependent information)에 부가해서 기억되는 경우가 있다.As the management information, information (area management information) for managing the state of the data storage area, such as information indicating whether or not the area holding data on the memory is available, is logically indicative of the sequence of stored data. It may be stored in addition to data-dependent information for managing data (data management information) such as an address.

이러한 영역관리 정보는 메모리 내의 영역에 관련하는 정보, 즉 데이터와 무관한 정보이기 때문에, 데이터가 기억된 후에 정보를 재기록할 필요가 발생할 것이고, 그러므로 영역 관리 정보는 통상적으로 데이터를 재기록하지 않으면서 독립적으로 재기록되어야 할 것이다.Since such area management information is information related to an area in the memory, that is, information that is not related to data, there will be a need to rewrite the information after the data is stored, and therefore the area management information is usually independent without rewriting the data. Should be rewritten.

또한, 만약 에러가 발생하게 되면, 통상의 에러 정정 부호를 사용하여 에러 정정을 수행하고, 에러 정정 부호는 정보가 재기록될 때마다 재기록되어야 한다. 따라서, 영역 관리 정보에 대해서, 에러 정정 코드를 사용하지 않으면서 에러를 정정하기 위해서는 동일한 정보가 복수의 비트로 분산된 상태에서 기억되는 것이 바람직하다.Also, if an error occurs, error correction is performed using a normal error correction code, and the error correction code must be rewritten each time the information is rewritten. Therefore, in order to correct an error without using an error correction code, it is preferable that the same information is stored in a state in which a plurality of bits are dispersed in the area management information.

그러나, 만약 영역 관리 정보가 복수의 비트에 분산된 상태에서 기억되는 경우, 메모리 카드로부터 데이터를 판독할 때 전송 데이터는 그 길이가 증가되고, 따라서 전송 효율을 저하시킨다. 최근에, 단일의 셀에 복수의 비트의 정보를 기억하는 기술이 제안되었다. 만약 하나의 셀에 기억되는 비트의 수가 증가되면, 에러를 정정하기 위한 분산 비트의 수가 증가되어야 하고, 따라서 전송 효율은 더 저하된다.However, if the area management information is stored in a state dispersed in a plurality of bits, the transmission data increases in length when reading data from the memory card, thus lowering the transmission efficiency. Recently, a technique for storing a plurality of bits of information in a single cell has been proposed. If the number of bits stored in one cell is increased, the number of distributed bits for correcting the error should be increased, and thus the transmission efficiency is further lowered.

또한, 만약 메모리 카드의 셀 구조가 변경되어 정보 분산 방식이 변경되면, 호스트 측에서 메모리 카드로 전송되는 데이터의 상태, 호스트 측이 메모리 카드의 메모리를 관리하기 위한 드라이버의 구성, 또는 인터페이스 명세사항(specifications)을 변경해야 하기 때문에 현존하는 메모리 카드와의 호환성을 유지하기가 어렵게 된다. 특히, 디지털 카메라와 같은 내장형 드라이버를 구비하는 전자기기의 경우에 있어서, 소프트웨어 버전 업그레이드 방법이 사용될 수 없기 때문에 새로운 메모리 카드는 사용될 수 없게된다.In addition, if the cell structure of the memory card is changed and the information distribution scheme is changed, the status of data transmitted from the host side to the memory card, the configuration of a driver for the host side to manage the memory of the memory card, or the interface specification ( It is difficult to maintain compatibility with existing memory cards because of changes in specifications. In particular, in the case of an electronic device having a built-in driver such as a digital camera, a new memory card cannot be used because a software version upgrade method cannot be used.

발명의 요약Summary of the Invention

따라서 본 발명의 목적은 전송 효율을 저하시키지 않으면서 영역 관리 정보가 분산 기억될 수 있고 셀 구조가 변경되더라도 기존의 기억 장치와의 호환성이 유지될 수 있는 기억 장치, 데이터 처리 시스템 및 데이터 기록 및 판독 방법을 제공하는 것이다.Accordingly, an object of the present invention is to provide a storage device, a data processing system and data recording and reading, in which area management information can be distributed and stored without degrading transmission efficiency and compatibility with existing storage devices can be maintained even if the cell structure is changed. To provide a way.

본 발명의 일 양상에 있어서, 본 발명은 데이터와 상기 데이터가 기억되는 영역의 상태를 관리하기 위한 영역 관리 정보를 기억하는 기억 수단과, 입력된 영역 관리 정보를 상기 영역 관리 정보에 대응하며 여분 데이터(redundant data)가 부가되어 있는 영역 관리 플래그로 변환하거나 또는 상기 기억 수단으로부터 판독된 영역 관리 플래그를 원래의 영역 관리 정보로 변환하는 변환 수단과, 상기 변환 수단에 의해 변환된 영역 관리 플래그를 기억 수단에 기록하거나 또는 기억 수단으로부터 영역 관리 플래그를 판독하여 변환 수단으로 공급하고 상기 변환 수단에 의해 변환된 원래의 영역 관리 정보를 출력하기 위한 제어 수단을 구비한다.In one aspect of the present invention, the present invention provides storage means for storing data and area management information for managing a state of an area in which the data is stored, and input area management information corresponding to the area management information and having extra data. storage means for converting the area management flag to which (redundant data) is added or for converting the area management flag read from the storage means into original area management information, and the area management flag converted by the conversion means. And control means for reading or supplying the area management flag from the storage means to the conversion means and outputting the original area management information converted by the conversion means.

이러한 기억 장치에 있어서, 입력된 영역 관리 정보는 변환 수단에 의해 영역 관리 정보보다 많은 수의 비트를 갖는 영역 관리 정보로 변환된다. 변환 수단에 의해 변환된 영역 관리 플래그는 제어 수단에 의해 기억 수단에 기록된다.In such a storage device, the input area management information is converted into area management information having a larger number of bits than the area management information by the conversion means. The area management flag converted by the conversion means is recorded in the storage means by the control means.

이러한 기억 장치에 있어서, 제어 수단에 의해 기억 수단으로부터 판독된 영역 관리 플래그는 변환 수단에 의해 원래의 영역 관리 정보로 변환된다. 변환 수단에 의해 이렇게 변환된 영역 관리 정보는 제어 수단의 제어 하에서 출력된다.In such a storage device, the area management flag read from the storage means by the control means is converted into the original area management information by the conversion means. The area management information thus converted by the conversion means is output under the control of the control means.

이 기억 장치에 있어서, 변환 수단은 영역 관리 정보와 영역 관리 플래그가 서로 연관되어 기록되어 있는 변환 테이블을 포함하는 것이 바람직하다. 변환 수단은 변환 테이블을 참조함으로써 입력된 영역 관리 정보를 영역 관리 플래그로 변환한다.In this storage device, the conversion means preferably includes a conversion table in which area management information and area management flags are recorded in association with each other. The conversion means converts the input area management information into the area management flag by referring to the conversion table.

이러한 기억 장치에 있어서, 변환 수단은 기억 수단의 관리 정보 기억 영역에서 판독된 영역 관리 플래그의 패턴으로부터 원래의 영역 관리 정보를 판별하는 플래그 판별 회로를 포함하는 것이 바람직하다. 이 경우, 변환 수단은 기억 수단에서 판독된 영역 관리 플래그를 원래의 영역 관리 정보로 변환한다.In such a storage device, the converting means preferably includes a flag discriminating circuit for discriminating the original area management information from the pattern of the area management flag read in the management information storage area of the storage means. In this case, the converting means converts the area management flag read by the storage means into the original area management information.

다른 양상에 있어서, 본 발명은, 데이터와 상기 데이터를 기억하는 영역의 상태를 관리하기 위한 영역 관리 정보를 기억하기 위한 기억 장치와, 상기 데이터 및 영역 관리 정보를 기억 장치로 전송하거나 또는 기억 장치로부터 공급된 데이터 및 영역 관리 정보를 처리하기 위한 데이터 처리 장치를 포함하는 데이터 처리 시스템을 제공한다. 기억 장치는 데이터 처리 장치로부터 공급된 영역 관리 정보를 이 영역 관리 정보에 대응하며 여분 데이터가 부가되어 있는 영역 관리 플래그로 변환한다. 기억 장치는 또한 기억된 영역 관리 플래그를 원래의 영역 관리 정보로 변환하여 데이터 처리 장치로 원래의 영역 관리 정보를 제공한다.In another aspect, the present invention provides a storage device for storing data and area management information for managing a state of an area storing the data, and transferring the data and area management information to or from the storage device. A data processing system including a data processing apparatus for processing supplied data and area management information is provided. The storage device converts the area management information supplied from the data processing device into an area management flag corresponding to this area management information and to which extra data is added. The storage device also converts the stored area management flag into original area management information to provide the original area management information to the data processing device.

바람직하게는, 기억 장치는 영역 관리 정보와 영역 관리 플래그가 서로 연관되어 기록되어 있는 변환 테이블을 구비하며 입력된 영역 관리 정보는 변환 테이블을 참조함으로써 영역 관리 플래그로 변환된다.Preferably, the storage device has a conversion table in which the area management information and the area management flag are recorded in association with each other, and the input area management information is converted into the area management flag by referring to the conversion table.

바람직하게는, 기억 장치는 기억된 영역 관리 플래그의 패턴으로부터 원래의 영역 관리 정보를 판별하기 위한 플래그 판별 회로를 구비하며 기억된 영역 관리 플래그는 이 플래그 판별 회로를 사용하여 영역 관리 정보로 변환된다.Preferably, the storage device includes a flag discrimination circuit for discriminating original area management information from the pattern of the stored area management flag, and the stored area management flag is converted into area management information using this flag discrimination circuit.

바람직하게는, 기억 장치는 플래시메모리를 구비하고 영역 관리 정보를 정보의 비트당 적어도 3 비트의 영역 관리 플래그로 변환하고, 플래시메모리의 적어도 3 셀에 상기 플래그를 분산하여 기억한다.Preferably, the storage device has a flash memory and converts the area management information into an area management flag of at least 3 bits per bit of information, and distributes and stores the flag in at least three cells of the flash memory.

여전히 다른 양상에 있어서, 본 발명은 데이터와 상기 데이터를 기억하는 영역의 상태를 관리하기 위한 영역 관리 정보가 기억 장치에 기억되어 있는 또는 기억 장치에 기록된 데이터와 영역 관리 정보가 기억 장치로부터 판독되는 데이터 기록 및 판독 방법을 제공한다. 상기 방법은 데이터 기록동안 기억 장치에 기록되는 영역 관리 정보를 이 영역 관리 정보에 대응하며 여분의 데이터가 부가된 영역 관리 플래그로 변환하는 단계와, 상기 변환된 플래그를 기억 장치에 기록하는 단계와, 데이터 판독동안 판독된 영역 관리 플래그를 원래의 영역 관리 정보로 변환하는 단계 및 이렇게 변환된 원래의 영역 관리 정보를 상기 기억 장치로부터 출력하는 단계를 포함한다.In still another aspect, the present invention provides a method in which the area management information for managing the data and the state of the area storing the data is stored in the storage device or the data and area management information recorded in the storage device are read out from the storage device. Provided is a method for recording and reading data. The method includes converting area management information recorded in the storage device during data recording into an area management flag corresponding to the area management information and to which extra data is added, recording the converted flag in the storage device; Converting the area management flag read during the data reading into the original area management information, and outputting the thus converted area management information from the storage device.

바람직하게는, 기억 장치는 영역 관리 정보와 영역 관리 플래그가 서로 연관되어 기록되어 있는 변환 테이블을 구비하며, 입력된 영역 관리 정보는 데이터 기록동안 변환 테이블을 참조함으로써 영역 관리 플래그로 변환된다.Preferably, the storage device has a conversion table in which the area management information and the area management flag are recorded in association with each other, and the input area management information is converted into the area management flag by referring to the conversion table during data recording.

바람직하게는, 기억 장치는 판독된 영역 관리 플래그의 패턴으로부터 원래의 영역 관리 정보를 판별하기 위한 플래그 판별 회로를 구비하고, 판독된 영역 관리 플래그는 데이터 판독동안 이 판별 회로를 사용하여 원래의 영역 관리 정보로 변환된다.Preferably, the storage device has a flag discrimination circuit for discriminating original area management information from the pattern of the read area management flag, and the read area management flag uses this discrimination circuit during data reading to manage the original area management. Is converted to information.

바람직하게는, 기억 장치는 플래시메모리를 구비하고, 영역 관리 정보는 정보의 비트당 적어도 3 비트의 영역 관리 플래그로 변환되며 플래시메모리의 적어도 3 셀에 분산되어 기록된다.Preferably, the storage device has a flash memory, and the area management information is converted into an area management flag of at least 3 bits per bit of information and distributed and recorded in at least 3 cells of the flash memory.

도 1은 데이터 처리 장치의 구조를 도시하는 블록도.1 is a block diagram showing the structure of a data processing apparatus;

도 2는 메모리 카드의 구조를 도시하는 블록도.2 is a block diagram showing the structure of a memory card;

도 3은 플래시메모리의 기억 영역의 구조를 도시하는 개략도.3 is a schematic diagram showing the structure of a storage area of a flash memory;

도 4는 분산 관리 정보를 나타내는 개략도.4 is a schematic diagram showing distributed management information.

도 5는 영역 관리 플래그의 일 예를 도시하는 개략도.5 is a schematic diagram illustrating an example of an area management flag.

도 6은 추가 관리 정보를 나타내는 개략도.6 is a schematic diagram showing additional management information.

도 7은 집합 관리 정보의 구조를 나타내는 개략도.7 is a schematic diagram showing the structure of aggregation management information.

도 8은 영역 관리 플래그의 다른 실시예를 나타내는 개략도.8 is a schematic diagram showing another embodiment of an area management flag;

도 9는 영역 관리 플래그의 또 다른 실시예를 나타내는 개략도.9 is a schematic diagram showing another embodiment of an area management flag;

* 도면의 주요 부분에 대한 부호의 설명 *Explanation of symbols on the main parts of the drawings

10 : 데이터 처리 장치 11 : 데이터 처리 유닛10: data processing device 11: data processing unit

12 : 직렬 인터페이스 회로 13 : 레지스터12: serial interface circuit 13: register

14, 26 : 제어기 20 : 메모리 카드14, 26: controller 20: memory card

21 : 플래시메모리 22 : 직렬/병렬-병렬/직렬 인터페이스 회로21: flash memory 22: serial / parallel-parallel / serial interface circuit

25 : 변환 유닛 27 : 변환 테이블25: conversion unit 27: conversion table

28 : 플래그 판별 회로 29 : 변환 제어기28 flag determination circuit 29 conversion controller

이하, 도면을 참조하여 본 발명의 양호한 실시예가 상세히 설명될 것이다.Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the drawings.

도 1에 도시된 실시예에 있어서, 본 발명은 호스트 측 장치인 데이터 처리 장치(10)와 직렬 인터페이스를 통해 상기 데이터 처리 장치(10)에 연결된 외부 기억 장치인 메모리 카드(20)로 구성된 시스템(1)에 적용된다.In the embodiment shown in Fig. 1, the present invention is a system composed of a data processing apparatus 10 which is a host side apparatus and a memory card 20 which is an external storage device connected to the data processing apparatus 10 via a serial interface ( Applies to 1).

본원에서 도시된 상기 시스템은 직렬 인터페이스를 통해 데이터 처리 장치(10)와 메모리 카드(20) 사이에서 데이터를 교환하도록 적응되지만, 본 발명은 병렬 인터페이스를 통해 데이터가 교환되는 시스템에도 적용될 수 있다.While the system shown here is adapted to exchange data between the data processing device 10 and the memory card 20 via a serial interface, the present invention can also be applied to a system where data is exchanged through a parallel interface.

이 시스템(1)에서 사용된 데이터 처리 장치(10)는 소정의 프로그램을 실행하기 위한 데이터 처리 유닛(11)과, 외부 장치인 메모리 카드(20)와 데이터를 교환하기 위한 직렬 인터페이스 회로(12)와, 상기 데이터 처리 유닛(11)과 직렬 인터페이스 회로(12) 사이에 제공되어 상기 데이터 처리 유닛(11)으로부터 전송된 데이터를 일시적으로 기억하기 위한 레지스터(13), 및 상기 데이터 처리 유닛(11), 직렬 인터페이스 회로(12) 및 레지스터(13)에 연결되어 이러한 소자에 의한 처리를 제어하기 위한 제어기(14)를 포함한다.The data processing apparatus 10 used in this system 1 includes a data processing unit 11 for executing a predetermined program and a serial interface circuit 12 for exchanging data with a memory card 20 which is an external device. And a register 13 provided between the data processing unit 11 and the serial interface circuit 12 to temporarily store data transferred from the data processing unit 11, and the data processing unit 11. And a controller 14 coupled to the serial interface circuit 12 and the register 13 for controlling the processing by such devices.

만약, 데이터 처리 유닛(11)이 소정의 프로그램을 수행할 때, 데이터가 외부 기억 장치인 메모리 카드(20)에 기억되어야 한다고 데이터 처리 장치(10)가 판정하는 경우, 데이터 처리 유닛(11)은 제어기(14)의 제어에 기초해서 기억용 데이터나, 상기 데이터를 관리하는데 필요한 관리 정보, 또는 제어 데이터인 기록 명령을 레지스터(13)에 기록한다.If the data processing unit 10 determines that data should be stored in the memory card 20 which is an external storage device when the data processing unit 11 performs a predetermined program, the data processing unit 11 Based on the control of the controller 14, a recording command, which is storage data, management information necessary for managing the data, or control data, is recorded in the register 13.

직렬 인터페이스 회로(12)는 제이기(14)의 제어 하에서, 레지스터(13)로부터 기억용 데이터, 관리 정보 또는 기록 명령을 판독하고, 이들을 직렬 데이터로 변환하여 클록 신호 및 상태 신호와 함께 전송한다. 관리 정보는 데이터를 관리하기 위한 정보인 데이터 관리 정보와 데이터를 기록하는 영역의 상태를 관리하기 위한 영역 관리 정보로 구성된다.The serial interface circuit 12 reads storage data, management information or a write command from the register 13 under the control of the jayer 14, converts them into serial data, and transmits them with the clock signal and the status signal. The management information is composed of data management information, which is information for managing data, and area management information, for managing the state of an area for recording data.

또한, 만약 데이터 처리 장치(10)의 데이터 처리 유닛(11)이, 소정의 프로그램을 수행하기 위해, 외부 기억 장치인 메모리 카드(20)로부터 데이터가 판독되어야 한다고 판정하는 경우, 데이터 처리 유닛(11)은 제어기(14)의 제어 하에서 제어 데이터인 판독된 명령을 레지스터에 기록한다. 직렬 인터페이스 회로(12)는, 제어기(14)의 제어 하에서, 레지스터(13)로부터 판독된 명령을 판독하고, 클록 신호 및 상태 신호와 함께 직렬 데이터로 전송한다.Further, if the data processing unit 11 of the data processing apparatus 10 determines that data should be read from the memory card 20 which is an external storage device in order to perform a predetermined program, the data processing unit 11 ) Writes a read command, which is control data, into a register under the control of the controller 14. The serial interface circuit 12 reads the command read from the register 13 under the control of the controller 14 and transmits it as serial data along with a clock signal and a status signal.

판독된 명령에 따라 메모리 카드(20)로부터 전송된 데이터 또는 관리 정보는 직렬 인터페이스 회로(12)에 의해 병렬 데이터로 변환되어, 레지스터(13)에 기록된다. 데이터 처리 유닛(11)은, 제어기(14)의 제어 하에서 처리를 수행하기 위해 이들 소정의 데이터 또는 관리 정보를 레지스터(13)로부터 판독한다.Data or management information transmitted from the memory card 20 in accordance with the read command is converted into parallel data by the serial interface circuit 12 and written to the register 13. The data processing unit 11 reads these predetermined data or management information from the register 13 to perform a process under the control of the controller 14.

본 발명의 시스템에 사용되는 데이터 처리 장치가 메모리 카드(20)와 같은 외부 기억 장치와 데이터 교환을 할 수 있다는 점에서 본 발명의 시스템에 사용되는 데이터 처리 장치에 대한 특별한 제한점은 존재하지 않는다. 그러므로, 개인용 컴퓨터나, 디지털 스틸 카메라 또는 디지털 비디오 카메라와 같은 다양한 데이터 처리 장치가 사용될 수 있을 것이다.There is no particular limitation on the data processing device used in the system of the present invention in that the data processing device used in the system of the present invention can exchange data with an external storage device such as the memory card 20. Therefore, various data processing devices such as a personal computer, a digital still camera or a digital video camera may be used.

이 시스템(1)에 있어서, 데이터 처리 장치와 메모리 카드(20)는 직렬 인터페이스, 특히 적어도 세 개의 데이터 라인(SCLK, STATE 및 DIO)을 통해서 서로 연결된다. 즉, 데이터 처리 장치(10)와 메모리 카드(20)는, 적어도, 데이터 전송동안 클록 신호를 전송하기 위한 제 1의 데이터 라인(SCLK)과, 데이터 전송에 요구되어 지는 상태 신호를 전송하기 위한 제 2의 데이터 라인(STATE), 및 메모리 카드(20)에 기록되어 있는 데이터 또는 메모리 카드(20)로부터 판독된 데이터를 직렬로(serially) 전송하기 위한 제 3의 데이터 라인(DIO)에 의해 서로 연결되고, 이들 데이터 라인을 통해 데이터를 교환한다.In this system 1, the data processing device and the memory card 20 are connected to each other via a serial interface, in particular at least three data lines SCLK, STATE and DIO. That is, the data processing apparatus 10 and the memory card 20 are at least a first data line SCLK for transmitting a clock signal during data transmission, and a data signal for transmitting a status signal required for data transmission. Connected to each other by a second data line (STATE) and a third data line (DIO) for serially transferring data written to the memory card 20 or data read from the memory card 20. Data is exchanged through these data lines.

도 2를 참조하면, 메모리 카드(20)는 메모리 상에 소정의 데이터 또는 관리 정보를 유지하기 위한 플래시메모리(21)와, 데이터 처리 장치(10)와 데이터를 교환하기 위한 직렬/병렬-병렬/직렬 인터페이스 회로(SP-PS interfacing circuit; 22)를 포함한다. 메모리 카드(20)는 또한 플래시메모리(21)와 S/P-P/S 인터페이스 회로(22) 사이에 제공되어 S/P-P/S 인터페이스 회로(22)로부터 제공되는 데이터 또는 관리 정보의 일시적인 기억을 위한 레지스터(23)와 상기 레지스터(23)에 연결되어 레지스터(23)에 기록된 데이터 또는 데이터 관리 정보를 에러 정정 코드에 기초하여 에러를 정정하는 에러 정정 회로(24)를 포함한다. 메모리 카드(20)는 또한 레지스터(23)로부터 판독된 영역 관리 정보를 이러한 영역 관리 정보와 여기에 부가된 여분 데이터(redundant data)로 구성된 정보(이하 영역 관리 플래그)로 변환하거나 또는 플래시메모리(21)로부터 판독된 영역 관리 플래그를 원래의 영역 관리 정보로 변화하기 위한 변환 유닛(25)을 포함한다. 메모리 카드(20)는 또한 플래시메모리(21), S/P-P/S 인터페이스 회로(22), 레지스터(23) 및 변환 유닛(25)에 연결되고 이들의 처리 동작을 제어하기 위한 제어기(26)를 더 포함한다.Referring to FIG. 2, the memory card 20 includes a flash memory 21 for holding predetermined data or management information on the memory, and a serial / parallel-parallel / for exchanging data with the data processing apparatus 10. A serial interface circuit (SP-PS interfacing circuit) 22. The memory card 20 is also provided between the flash memory 21 and the S / PP / S interface circuit 22 to register for temporary storage of data or management information provided from the S / PP / S interface circuit 22. And an error correction circuit 24 connected to the register 23 to correct an error based on an error correction code in the data or data management information recorded in the register 23. The memory card 20 also converts the area management information read from the register 23 into information (hereinafter referred to as the area management flag) composed of such area management information and redundant data added thereto or the flash memory 21 Conversion unit 25 for changing the area management flag read from the " The memory card 20 is also connected to the flash memory 21, the S / PP / S interface circuit 22, the register 23 and the conversion unit 25 and has a controller 26 for controlling their processing operations. It includes more.

S/P-P/S 인터페이스 회로(22)는 적어도 상기 언급된 세 개의 데이터 라인(SCLK, STATE 및 DIO)을 통해 데이터 처리 장치(10)의 직렬 인터페이스 회로(12)에 연결되어, 이들 데이터 라인(SCLK, STATE 및 DIO)을 통해 데이터 처리 장치와 데이터의 교환을 수행한다. 즉, S/P-P/S 인터페이스 회로(22)는 데이터 처리 장치(10)의 직렬 인터페이스 회로(12)로부터 전송된 직렬 데이터를 레지스터(23)에 기록되는 병렬 데이터로 변환한다. 또한, S/P-P/S 인터페이스 회로(22)는 레지스터(23)로부터 판독된 병렬 데이터를 직렬 데이터로 변환하여, 데이터 처리 장치(10)의 직렬 인터페이스 회로(12)로 변환된 직렬 데이터를 송출한다.The S / PP / S interface circuit 22 is connected to the serial interface circuit 12 of the data processing apparatus 10 via at least three data lines SCLK, STATE and DIO mentioned above, so that these data lines SCLK , STATE and DIO) to exchange data with the data processing device. In other words, the S / P-P / S interface circuit 22 converts the serial data transmitted from the serial interface circuit 12 of the data processing apparatus 10 into parallel data recorded in the register 23. In addition, the S / PP / S interface circuit 22 converts the parallel data read from the register 23 into serial data, and sends the converted serial data to the serial interface circuit 12 of the data processing apparatus 10. .

직렬 데이터는 S/P-P/S 인터페이스 회로(22)와 데이터 처리 장치(10) 사이에서의 제 1의 데이터 라인(SCLK)을 통해 전송되고 이때 처리 장치(10)로부터 전송되는 클록 신호에 의해 동기가 수행된다. 이때, 제 3의 데이터 라인(DIO)을 통해 교환되는 직렬 데이터의 데이터 형태는 제 2의 데이터 라인(STATE)을 통해 교환되는 상태 신호에 의해 판별된다. 데이터 형태는, 예를들면, 플래시메모리(21)에 저장될 데이터와, 플래시메모리(21)로부터 판독된 데이터 및 메모리 카드(20)의 동작을 제어하기 위한 제어 데이터로 열거될 수 있을 것이다.The serial data is transmitted via the first data line SCLK between the S / PP / S interface circuit 22 and the data processing device 10 and is synchronized by a clock signal transmitted from the processing device 10 at this time. Is performed. At this time, the data type of the serial data exchanged through the third data line DIO is determined by the status signal exchanged through the second data line STATE. The data type may be enumerated, for example, as data to be stored in the flash memory 21, data read from the flash memory 21 and control data for controlling the operation of the memory card 20.

만약 데이터 처리 장치(10)로부터 전송된 데이터가 기록 명령이나 또는 판독된 명령과 같은 제어 데이터인 경우, S/P-P/S 인터페이스 회로(22)는 제어 데이터를 제어기(26)로 공급한다.If the data transmitted from the data processing apparatus 10 is control data such as a write command or a read command, the S / P-P / S interface circuit 22 supplies the control data to the controller 26.

제어기(26)는 S/P-P/S 인터페이스 회로(22)로부터 공급된 제어 데이터에 기초해서 메모리 카드(20)의 동작을 제어한다.The controller 26 controls the operation of the memory card 20 based on the control data supplied from the S / P-P / S interface circuit 22.

레지스터(23)는 플래시메모리(21)와 S/P-P/S 인터페이스 회로(22) 사이에서 교환되는 데이터를 일시적으로 저장한다.The register 23 temporarily stores data exchanged between the flash memory 21 and the S / P-P / S interface circuit 22.

에러 정정 회로(24)는 레지스터(23)에 기록된 데이터에 S/P-P/S 인터페이스 회로(22)에 의해 에러 정정 코드를 부가한다. 에러 정정 회로(24)는 또한 플래시메모리(21)로부터 판독되고 레지스터(23)에 기록된 데이터에 에러 정정 처리를 수행한다.The error correction circuit 24 adds an error correction code by the S / P-P / S interface circuit 22 to the data recorded in the register 23. The error correction circuit 24 also performs error correction processing on the data read from the flash memory 21 and written in the register 23.

변환 유닛(25)은 레지스터(23)로부터 판독된 관리 정보의 영역 관리 정보를 영역 관리 플래그로 변환하고, 플래시메모리(21)로부터 판독된 영역 관리 플래그를 원래의 영역 관리 정보로 변환한다.The conversion unit 25 converts the area management information of the management information read from the register 23 into an area management flag, and converts the area management flag read from the flash memory 21 into the original area management information.

만약 기록될 데이터, 관리 정보 및 기록 명령이 데이터 처리 장치(10)로부터 메모리 카드(20)로 직렬 데이터로서 전송되는 경우, S/P-P/S 인터페이스 회로(22)는 이들 데이터를 병렬 데이터로 변환하여 기록 명령을 제어기(26)로 전송하는 것과 동시에, 소정의 데이터와 관리 정보를 제어기(26)의 제어 하에서 레지스터(23)에 기록한다.If data to be recorded, management information, and a recording command are transmitted from the data processing apparatus 10 to the memory card 20 as serial data, the S / PP / S interface circuit 22 converts these data into parallel data. At the same time as sending a write command to the controller 26, predetermined data and management information are written to the register 23 under the control of the controller 26.

이렇게 레지스터(23)에 기록된 소정의 데이터나 관리 정보에 대해서, 영역 관리 정보와는 다른 에러 정정 코드가 에러 정정 회로(24)에 의해 부가된다.The error correction code different from the area management information is added by the error correction circuit 24 to the predetermined data and management information recorded in the register 23 in this way.

제어기(26)는 레지스터(23)로부터 소정의 데이터와 관리 정보를 판독하고 판독된 데이터나 정보를 S/P-P/S 인터페이스 회로(22)로부터 전송된 기록 명령에 기초해서 플래시메모리(21)에 기록한다. 이때, 제어기(26)는 먼저 레지스터(23)로부터 판독된 관리 정보의 영역 관리 정보를 변환 유닛(25)으로 전송한다. 변환 유닛(25)에 전송된 영역 관리 정보는 이 변환 유닛(25)에 의해 영역 관리 플래그로 변환된다. 제어기(26)는 변환 유닛(25)에 의해 변환된 영역 관리 플래그가 플래시메모리(21)에 기록되도록 한다.The controller 26 reads predetermined data and management information from the register 23 and writes the read data or information to the flash memory 21 based on a write command sent from the S / PP / S interface circuit 22. do. At this time, the controller 26 first transmits the area management information of the management information read out from the register 23 to the conversion unit 25. The area management information transmitted to the conversion unit 25 is converted into an area management flag by this conversion unit 25. The controller 26 causes the area management flag converted by the conversion unit 25 to be recorded in the flash memory 21.

판독된 명령이 데이터 처리 장치(10)에서 메모리 카드(20)로 전송될 때, S/P-P/S 인터페이스 회로(22)는 이 판독된 명령을 제어기(26)로 전송한다.When the read command is transmitted from the data processing apparatus 10 to the memory card 20, the S / P-P / S interface circuit 22 transmits this read command to the controller 26.

제어기(26)는 S/P-P/S 인터페이스 회로(22)로부터 전송된 판독 명령에 기초해서 플래시메모리(21)로부터 소정의 데이터와 관리 정보를 판독하고 판독된 데이터 또는 정보를 레지스터(23)에 기록하도록 동작한다. 제어기(26)는 플래시메모리(21)로부터 전송된 영역 관리 플래그가 변환 유닛(25)으로 전송되도록 한다. 변환 유닛(25)으로 전송된 영역 관리 플래그는 이 변환 유닛(25)에 의해 원래의 영역 관리 정보로 다시 변환된다. 제어기(26)는 변환 유닛(25)에 의해 변환된 원래의 영역 관리 정보가 레지스터(23)에 기록되도록 한다.The controller 26 reads predetermined data and management information from the flash memory 21 based on a read command sent from the S / PP / S interface circuit 22 and writes the read data or information into the register 23. To work. The controller 26 causes the area management flag sent from the flash memory 21 to be sent to the conversion unit 25. The area management flag sent to the conversion unit 25 is converted back to the original area management information by this conversion unit 25. The controller 26 causes the original area management information converted by the conversion unit 25 to be written to the register 23.

만약 레지스터(23)에 기록되는 데이터 또는 관리 정보의 데이터 관리 정보에 임의의 에러가 존재하는 경우, 에러 정정 코드에 기초하여 에러 정정 회로(24z0에 의해 정정된다.If any error exists in the data recorded in the register 23 or the data management information of the management information, it is corrected by the error correction circuit 24z0 based on the error correction code.

S/P-P/S 인터페이스 회로(22)는 제어기(26)의 제어 하에서 레지스터(23)로부터 소정의 데이터와 관리 정보를 판독하고 판독된 데이터 또는 정보를 데이터 처리 장치(10)로 전송되는 직렬 데이터로 변환하도록 동작한다.The S / PP / S interface circuit 22 reads predetermined data and management information from the register 23 under the control of the controller 26 and converts the read data or information into serial data transmitted to the data processing apparatus 10. It works to convert.

상기 상술된 내용은 에러 정정 회로(24)가 메모리 카드(20)에 제공되고 에러 정정이 메모리 카드(20) 내에서 수행되는 시스템에 관한 것이다. 그러나, 본 발명은 데이터 처리 장치가 에러 정정 회로를 구비하고 에러 정정이 데이터 처리 장치에 의해 수행되는 시스템에 적용될 수 있다. 이러한 경우, 데이터 처리 장치(10)와 메모리 카드(20) 사이에서 교환되는 것은 에러 정정 코드가 부가된 데이터이다.The above description relates to a system in which an error correction circuit 24 is provided to the memory card 20 and error correction is performed in the memory card 20. However, the present invention can be applied to a system in which the data processing apparatus includes an error correction circuit and error correction is performed by the data processing apparatus. In this case, what is exchanged between the data processing apparatus 10 and the memory card 20 is data to which an error correction code has been added.

메모리 카드(20)에 탑재된 플래시메모리(21)의 기억 영역의 구조가 하기에 설명될 것이다.The structure of the storage area of the flash memory 21 mounted on the memory card 20 will be described below.

플래시메모리(21)의 기억 영역은 기억 단위인 다수의 셀로 구성되고 도 3의 (a)에 도시된 바와 같이 데이터 소거 단위인 복수의 블록으로 나누어진다. 이들 블록에 대해서 각각의 고유의 물리적 어드레스가 할당된다.The storage area of the flash memory 21 is composed of a plurality of cells which are storage units and is divided into a plurality of blocks which are data erasing units as shown in Fig. 3A. Each unique physical address is assigned to these blocks.

각 블록은 데이터 소거 단위인 동시에 파일 관리용 최소 단위이다. 즉, 파일은 하나 또는 복수의 블록에 기억되고 동일 블록이 복수의 파일에 의해 활용되지 않도록 디자인된다.Each block is a data erasing unit and a minimum unit for file management. That is, the file is designed to be stored in one or more blocks and the same block is not utilized by the plurality of files.

각 블록은 복수의 셀로 구성되고 그 각각에는 1과 0의 두 상태를 취할 수 있는 정보가 기억된다.Each block is composed of a plurality of cells, each of which stores information capable of taking two states, one and zero.

초기에, 각 블록의 모든 비트는 1로 설정되어 비트에 기초한 변경은 1에서 0으로만 가능하도록 되어 있다. 따라서, 만약 1과 0으로 구성된 데이터가 플래시메모리(21)에 기록될 때, 1에 대한 비트는 유지되고, 동시에 0에 대한 비트는 데이터 기록 이전에 1에서 0으로 변경된다.Initially, all bits in each block are set to 1 so that a bit-based change can only be made from 1 to 0. Thus, if data consisting of 1s and 0s is written to the flash memory 21, the bits for 1 are retained and at the same time the bits for 0 are changed from 1 to 0 before data writing.

만약 일단 기록된 데이터가 플래시메모리(21)에서 소거될 때, 데이터는 블록의 모든 비트를 1로 설정하기 위해 블록 단위로 한꺼번에 초기화된다. 이것은 블록이 다시 데이터 기록을 허용하는 상태가 되도록 한꺼번에 블록에 기록되어 있는 데이터를 소거한다.If the data once written is erased in the flash memory 21, the data is initialized at once in block units to set all bits of the block to one. This erases the data written to the block all at once so that the block is again in a state that allows data writing.

플래시메모리(21)의 각 블록은, 도 3의 (b)에 도시된 바와 같이, 데이터 기록 또는 판독 단위인 다수의 페이지로 구성된다. 각 페이지는 예를들면 512바이트의 기록 용량을 갖는 기억 단위를 나타낸다. 플래시메모리(21)에 데이터를 기록할 때, 레지스터(23)로부터 페이지 단위로 판독된 데이터는 페이지 단위로 플래시메모리(21)에 기록된다. 플래시메모리(21)로부터 데이터를 판독할 때, 데이터는 제어기(25)에 의해 페이지 단위로 판독되고 그 다음 레지스터(23)로 전송된다.Each block of the flash memory 21 is composed of a plurality of pages which are data writing or reading units, as shown in Fig. 3B. Each page represents a storage unit having a recording capacity of, for example, 512 bytes. When data is written to the flash memory 21, the data read from the register 23 in units of pages is written to the flash memory 21 in units of pages. When reading data from the flash memory 21, the data is read out page by page by the controller 25 and then transferred to the register 23.

데이터 기록 또는 판독 단위를 나타내는 각 페이지는 데이터 기억 영역과 관리 정보 기억 영역을 구비한다. 데이터 기억 영역은 임의 데이터를 기록하는 영역을 의미하고, 관리 정보 기억 영역은 데이터 기억 영역에 기록되어 있는 데이터의 관리에 필요한 정보(관리 정보)를 저장하는 영역을 나타낸다.Each page representing a data recording or reading unit has a data storage area and a management information storage area. The data storage area means an area for recording arbitrary data, and the management information storage area indicates an area for storing information (management information) necessary for management of data recorded in the data storage area.

관리 정보 기억 영역은 16바이트의 영역을 구비하는데, 여기서 처음 3바이트는 블록에 기초한 일괄적인 초기화 없이 정보가 재기록될 수 있는 오버라이트 영역(overwrite area)으로 설정된다. 나머지 13바이트는 정보 재기록시 블록에 기초한 일괄적인 초기화를 위한 일반 영역으로 설정된다.The management information storage area has an area of 16 bytes, where the first 3 bytes are set as an overwrite area in which information can be rewritten without a batch-based initialization. The remaining 13 bytes are set to the general area for batch initialization based on the information re-proxy block.

관리 정보는 블록을 구성하는 각 페이지의 관리 정보 기억 영역에 기억된다. 특히, 블록을 관리하는데 필요한 정보로서, 소위 분산 관리 정보(distributed management information)가 도 3의 (c)에 도시된 바와 같이, 각 블록의 선두 페이지의 관리 정보 기억 영역에 기억된다. 또한, 각 블록의 페이지 2로부터의 각 페이지의 관리 정보 기억 영역에는 예비 분산 관리 정보로서 선두 페이지의 관리 정보 기억 영역에 기억되어 있는 분산 관리 정보와 동일한 관리 정보가 기억되어 있다. 그러나, 각 블록의 최종 페이지의 관리 정보 기억 영역에는, 분산 관리 정보만으로는 불충분한 정보를 보충하는 소위 추가 관리 정보가 기억되어 있다.The management information is stored in the management information storage area of each page constituting the block. In particular, as information necessary for managing blocks, so-called distributed management information is stored in the management information storage area of the first page of each block, as shown in Fig. 3C. The management information storage area of each page from page 2 of each block stores the same management information as the distributed management information stored in the management information storage area of the first page as preliminary distributed management information. However, in the management information storage area of the last page of each block, so-called additional management information that stores insufficient information only by the distributed management information is stored.

따라서, 각각의 블록을 관리하기 위한 분산 관리 정보는 메모리 카드(20)에 탑재된 플래시메모리(21)의 각 블록의 관리 정보 기억 영역에 기억된다. 해당 블록이 파일의 선두 블록(leading end block)인지 아닌지에 관한 정보나, 파일이 복수의 파일로 구성된 경우에는, 블록 연계를 나타내는 정보가 이 분산 관리 정보에 의해 획득될 수 있다.Therefore, distributed management information for managing each block is stored in the management information storage area of each block of the flash memory 21 mounted in the memory card 20. Information on whether or not the corresponding block is a leading end block of the file, or when the file is composed of a plurality of files, information indicating block association can be obtained by this distributed management information.

각 블록의 분산 관리 정보를 수집함으로써, 메모리 카드(20)는 플래시메모리(21) 전체를 관리하기 위한 정보로서 소위 집합 관리 정보(collective management information)를 형성하여 플래시메모리(21)에 파일로서 집합 관리 정보를 기억한다.By collecting distributed management information of each block, the memory card 20 forms so-called collective management information as information for managing the entire flash memory 21, and collectively manages it as a file in the flash memory 21. Remember the information.

만약 데이터가 데이터 처리 장치(10)와 메모리 카드(20) 사이에서 교환되는 경우, 데이터 처리 장치(10)는 통상적으로 플래시메모리(21)로부터 집합 관리 정보를 판독하여 각 블록을 액세스하는데 필요한 정보를 획득한다. 이것은 각 블록에 기억되어 있는 분산 관리 정보에 대한 액세스의 필요성을 제거하여 보다 고속의 데이터 액세스를 가능하게 한다.If data is exchanged between the data processing apparatus 10 and the memory card 20, the data processing apparatus 10 typically reads the collective management information from the flash memory 21 to obtain information necessary to access each block. Acquire. This eliminates the need for access to distributed management information stored in each block, thereby enabling faster data access.

분산 관리 정보, 추가 관리 정보 및 집합 관리 정보는 하기에 더욱 상세히 논의될 것이다.Distributed management information, additional management information and aggregation management information will be discussed in more detail below.

분산 관리 정보는 각 페이지에 제공된 16바이트의 관리 정보 기억 영역에 기억되어 있는 블록 관리용 관리 정보이다. 이 분산 관리 정보는, 도 4에 도시된 바와 같이, 1 바이트의 가능/불가능(possible/not possible) 플래그와, 1 바이트의 블록 플래그와, 4비트의 최종 플래그와, 4 비트의 참조 플래그와, 1 바이트의 관리 플래그와, 2 바이트의 논리적 어드레스와, 2 바이트의 연결 플래그와, 2 바이트의 분산 관리 정보용 에러 정정 코드 및 3 바이트의 에러 정정 플래그로 구성된다. 이들 플래그 중, 가능/불가능 플래그와, 블록 플래그와, 최종 플래그 및 참조 플래그는 관리 정보 기억 영역의 처음 3 바이트의 오버라이트 영역에 기억된다.The distributed management information is block management information stored in a 16-byte management information storage area provided on each page. This distributed management information includes one byte of possible / not possible flags, one byte of block flags, four bits of last flags, four bits of reference flags, It consists of a 1-byte management flag, a 2-byte logical address, a 2-byte concatenation flag, a 2-byte error correction code for distributed management information, and a 3-byte error correction flag. Among these flags, the enable / disable flag, the block flag, the last flag and the reference flag are stored in the overwrite area of the first 3 bytes of the management information storage area.

관리 정보 기억 영역 중 13 바이트의 일반 영역에는 관리 플래그, 논리적 어드레스, 예비 영역, 분산 관리 정보용 에러 정정 코드 및 데이터용 에러 정정 코드가 기억된다. 나머지 3 바이트의 일반 영역은 예비 영역으로 설정된다.In the general area of 13 bytes of the management information storage area, a management flag, a logical address, a spare area, an error correction code for distributed management information, and an error correction code for data are stored. The general area of the remaining 3 bytes is set as a spare area.

가능/불가능 플래그는 블록이 사용 가능한 상태에 있는지 또는 사용 불가능한 상태에 있는지를 나타낸다. 즉, 만약 복원될 수 없는 에러가 블록에서 생성되면, 가능/불가능 플래그는 해당 블록이 사용 불가능한 상태에 있는 것으로 특정한다.The enable / disable flag indicates whether the block is in an available state or in an unavailable state. That is, if an error that cannot be recovered is generated in a block, the enable / disable flag specifies that the block is in an unavailable state.

블록 플래그는 블록의 사용 상태를 나타낸다. 특히, 블록 플래그는 미사용, 선두 사용, 사용 및 미소거의 4 상태를 나타낸다. 이들 중, 미사용은 블록이 아직 사용되지 않거나 또는 이미 소거되어 전체가 1의 비트를 갖는 초기 상태를 나타내는 것으로, 데이터가 즉시 기록될 수 있음을 나타낸다. 선두 사용은 해당 블록이 파일의 선두에서 사용되고 있는 상태를 나타낸다. 사용은 해당 블록이 파일의 선두 이외에서 사용되고 있는 상태를 나타낸다. 즉, 만약 블록 플래그가 사용이라면, 이것은 해당 블록이 다른 블록에 연결되어 있음을 나타낸다. 미소거는 블록에 기록되어 있는 데이터가 불필요한 상태를 나타낸다. 이 메모리 카드(20)에 있어서, 만약 블록에 기억되어 있는 불필요한 데이터가 소거되면, 블록 플래그는 먼저 미소거 상태로 설정되고, 처리 시간에 여유가 있을 때, 자신의 블록 플래그가 미소거인 블록은 소거된다. 이것은 메모리 카드(20)가 데이터 소거 처리를 보다 효율적으로 하도록 한다.The block flag indicates the use state of the block. In particular, the block flag indicates four states of unused, leading used, used, and minutely. Of these, unused indicates an initial state in which the block is not yet used or is already erased so that the whole has a bit of 1, indicating that data can be written immediately. Head use indicates the state in which the block is being used at the beginning of the file. Usage indicates that the block is being used outside of the beginning of the file. That is, if the block flag is used, this indicates that the block is connected to another block. A microgger indicates a state in which data recorded in a block is unnecessary. In this memory card 20, if the unnecessary data stored in the block is erased, the block flag is first set to the non-trivial state, and when there is room in the processing time, the block having its own block flag is micro-erased is erased. do. This allows the memory card 20 to make the data erase process more efficient.

최종 플래그는 파일이 해당 블록에서 종료하는지를 나타내는 플래그로서 특히 블록 계속 및 최종 블록의 두 상태를 나타내는 플래그이다. 블록 계속 상태는 해당 블록에 기억되어 있는 파일이 종료되지 않고 다른 블록으로 계속됨을 의미한다. 최종 블록 상태는 해당 블록에 기억되어 있는 파일이 이 블록에서 종료함을 의미한다.The final flag is a flag indicating whether a file ends in the block, in particular, a flag indicating two states of block continuing and final block. The block continue state means that the file stored in the block does not end but continues to another block. The final block state means that the file stored in that block ends at this block.

참조 플래그는 추가 관리 정보에 대한 참조를 나타내는 것으로, 특히 참조 정보가 존재하지 않음 및 참조 정보 존재의 두 상태로 나타난다. 참조 정보가 존재하지 않음의 상태는 블록의 최종 페이지의 관리 정보 기억 영역에 유효한 추가 관리 정보가 존재하지 않음을 나타낸다. 참조 정보 존재의 상태는 블록의 최종 페이지의 관리 정보 기억 영역에 유효한 관리 정보가 존재함을 나타낸다.The reference flag indicates a reference to additional management information, in particular, in two states: no reference information exists and reference information present. The state of no reference information exists indicates that no additional management information is available in the management information storage area of the last page of the block. The state of reference information present indicates that valid management information exists in the management information storage area of the last page of the block.

관리 플래그는 블록 속성, 예를들면, 읽기 전용 블록 또는 기록 가능 블록과 같은 속성을 나타낸다.The management flag indicates a block attribute, such as an attribute such as a read only block or a writeable block.

논리적 어드레스는 해당 블록의 논리적 어드레스를 나타낸다. 논리적 어드레스의 값은, 예를들면 데이터 재기록을 수행할 때에 필요에 따라 갱신된다. 하지만, 논리적 어드레스의 값은 동일한 논리적 어드레스의 값이 복수의 블록에 의해 동시에 소유되지 않도록 설정된다.The logical address represents the logical address of the block. The value of the logical address is updated as necessary, for example, when performing data rewrite. However, the value of the logical address is set such that the value of the same logical address is not owned simultaneously by a plurality of blocks.

연결 어드레스는 해당 연결 블록에 연결된 다른 블록의 논리적 어드레스를 나타낸다. 즉, 만약 해당 블록에 연결된 파일이 다른 블록에 연결되면, 연결 어드레스는 파일의 나머지 부분이 기억되어 있는 논리적 어드레스의 값을 나타낸다.The connection address represents a logical address of another block connected to the connection block. That is, if a file linked to the block is linked to another block, the link address indicates the value of the logical address where the rest of the file is stored.

분산 관리 정보용 에러 정정 코드는 관리 플래그, 논리적 어드레스, 연결 어드레스 및 예비 영역에 기록되어 있는 분산 관리 정보의 데이터용 에러 정정 코드이다.The error correction code for distributed management information is an error correction code for data of distributed management information recorded in a management flag, a logical address, a connection address, and a spare area.

데이터용 에러 정정 코드는 이 데이터용 에러 정정 코드가 기록되어 있는 페이지의 데이터 기억 영역에 기억되어 있는 데이터를 대상으로 하는 에러 정정 코드이다.The data error correction code is an error correction code for data stored in the data storage area of the page on which the data error correction code is recorded.

상기 언급된 분산 관리 정보의 가능/불가능 플래그, 블록 플래그, 최종 플래그 및 참조 플래그는 데이터 기억 영역의 상태를 관리하기 위한 정보, 즉 영역 관리 정보를 나타낸다. 데이터와 무관하게 참조 플래그를 재기록할 필요가 발생하기 때문에, 상기 언급된 분산 관리 정보용 에러 정정 코드의 대상에서 벗어나고 정보 항목(information item)을 나타내는 코드와 동일한 코드의 소정량의 여분의 데이터가 부가되어 있는 플래그(영역 관리 플래그)로서 관리 정보 기억 영역에 기록된다.The above-mentioned enable / disable flag, block flag, last flag and reference flag of the distributed management information indicate information for managing the state of the data storage area, that is, area management information. Since there is a need to rewrite the reference flag irrespective of the data, a predetermined amount of extra data of the same code as the code representing the information item is added, which is out of the object of the above-mentioned error correction code for distributed management information. The flag (area management flag) is recorded in the management information storage area.

특히 영역 관리 정보의 이들 항목은, 도 5에 도시된 바와 같이, 관리 정보 기억 영역의 오버라이트 영역에 여분 데이터가 부가된 영역 관리 플래그로서 기억된다.In particular, these items of area management information are stored as area management flags in which extra data is added to the overwrite area of the management information storage area, as shown in FIG.

즉, 가능/불가능 플래그는 상기 블록이 사용 가능한 상태에 있는지 또는 사용 불가능한 상태에 있는지에 따라 각각 1 비트의 정보 1과 1 비트의 정보 0에 의해 나타난다. 관리 정보 기억 영역에서의 기억을 위해, 가능/불가능 플래그는 여분 데이터의 부가에 의해 예를들면 11111111 또는 0의 1 바이트의 정보로 기억 이전에 변환된다.That is, the enable / disable flag is represented by one bit of information 1 and one bit of information 0, respectively, depending on whether the block is in an available or unavailable state. For storage in the management information storage area, the enable / disable flag is converted before storage to 1 byte of information, for example 11111111 or 0, by addition of extra data.

블록 플래그는 블록이 미사용, 선두 사용, 사용 및 미소거인지에 따라 각각 11, 10, 1 및 0의 2 비트 정보에 의해 나타내어진다. 관리 정보 기억 영역에서의 기억을 위해, 여분 데이터의 부가에 의해 예를들면 1111 1111, 1111 0000, 0000 1111, 0000 0000의 1 바이트 정보로 변환된다.The block flag is represented by two bit information of 11, 10, 1, and 0, respectively, depending on whether the block is unused, headed, used, and unsigned. For storage in the management information storage area, extra data is converted into 1-byte information, for example, 1111 1111, 1111 0000, 0000 1111, 0000 0000.

최종 플래그는 블록 계속 또는 최종 블록 각각에 대해 1 또는 0의 1 비트 정보로 표현된다. 관리 정보 기억 영역에서의 기억을 위해, 최종 플래그는 여분 데이터의 부가에 의해 예를들면 1111 또는 0의 4 비트 정보로 기억 이전에 변환된다.The last flag is represented by one bit information of one or zero for each block last or last block. For storage in the management information storage area, the final flag is converted before storage into 4-bit information, for example 1111 or 0, by addition of extra data.

참조 플래그는 참조 정보가 존재하지 않음 또는 참조 정보 존재에 대해 각각 1 또는 0의 1 비트 정보로 표현된다. 관리 정보 기억 영역에서의 기억을 위해, 참조 플래그는 기억 이전에 1111 또는 0의 4 비트 정보로 변환된다.The reference flag is represented by 1 bit information of 1 or 0 respectively for no reference information or for reference information present. For storage in the management information storage area, the reference flag is converted into 4-bit information of 1111 or 0 before storage.

영역 관리 정보에 여분 데이터가 부가된 영역 관리 플래그인 영역 관리 정보가 관리 정보 기억 영역에 기억되기 때문에, 해당 플래그를 유지하는 셀의 고장에 의해 에러가 발생하는 경우라도 영역 관리 플래그의 1과 0의 수를 비교함으로써 원래의 영역 관리 정보는 인식될 수 있다.Since area management information, which is an area management flag to which extra data is added to the area management information, is stored in the management information storage area, even if an error occurs due to a failure of the cell holding the flag, 1 and 0 By comparing the numbers, the original area management information can be recognized.

추가 관리 정보는 블록의 최종 페이지의 16 바이트 관리 정보 기억 영역에 기억되는 정보이고, 다른 불충분한 정보를 보충하기 위한 추가 정보를 포함한다.The additional management information is information stored in the 16-byte management information storage area of the last page of the block, and includes additional information for supplementing other insufficient information.

이 추가 관리 정보는, 예를들면 1 바이트의 가능/불가능 플래그, 1 바이트의 블록 플래그, 4 비트의 최종 플래그, 4 비트의 참조 플래그, 1 바이트의 식별 번호, 2 바이트의 유효 데이터 크기, 추가 관리 정보용의 2 바이트의 에러 정정 코드 및 데이터용의 3 바이트의 에러 정정 코드로 구성된다.This additional management information may include, for example, one byte enable / disable flag, one byte block flag, four bits last flag, four bits reference flag, one byte identification number, two bytes of valid data size, and additional management. It consists of an error correction code of 2 bytes for information and an error correction code of 3 bytes for data.

가능/불가능 플래그, 블록 플래그, 최종 플래그, 참조 플래그 및 데이터용 에러 정정 코드는 분산 관리 정보에 대한 것들과 유사하다. 추가 정보용 에러 정정 코드는 분산 관리 정보용 에러 정정 코드와 동일하고 추가 관리 정보의 영역 관리 플래그를 제외한 식별 번호, 유효 데이터 크기 및 예비 영역에 기록되어 있는 데이터에 대해 사용된다.The enable / disable flags, block flags, final flags, reference flags and error correction codes for data are similar to those for distributed management information. The error correction code for the additional information is the same as the error correction code for the distributed management information and is used for the data recorded in the identification number, the effective data size, and the spare area except for the area management flag of the additional management information.

식별 번호와 유효 데이터 크기는 다른 불충분한 분산 관리 정보를 보충하는 추가 정보로서 추가 관리 정보에 포함된다.The identification number and the valid data size are included in the additional management information as additional information supplementing other insufficient distributed management information.

분산 관리 정보와 유사하게, 추가 관리 정보는, 추가된 여분 데이터를 구비하는 영역 관리 플래그로서, 가능/불가능 플래그, 블록 플래그, 최종 플래그 및 참조 플래그이고, 관리 정보 기억 영역의 최초 3 바이트의 오버라이트 영역에 기억된다.Similarly to the distributed management information, the additional management information is an area management flag with added extra data, which is an enable / disable flag, a block flag, a final flag and a reference flag, and overwrites the first 3 bytes of the management information storage area. Are memorized in the area.

관리 정보 기억 영역의 13 바이트의 일반 영역에는 식별 번호, 유효 데이터 크기, 추가 관리 정보용 에러 정정 코드 및 데이터용 에러 정정 코드가 기록되어 있다. 일반 영역의 나머지 5 바이트는 예비 영역으로서 설정된다.In the 13-byte general area of the management information storage area, an identification number, an effective data size, an error correction code for additional management information, and an error correction code for data are recorded. The remaining 5 bytes of the general area are set as spare areas.

식별 번호는 에러 처리용 정보이다. 식별 번호의 값은 블록 데이터가 재기록될 때마다 증가된다. 만약 몇 몇 종류의 에러가 생성되어 동일한 논리적 어드레스를 갖는 복수의 블록이 존재하는 경우, 식별 번호는 이들 블록에 기록된 데이터가 새로운 것인지 아니면 옛날 것인지를 판별하기 위해 사용된다. 한편, 1 바이트의 영역은 0 내지 255의 값을 갖는 식별 번호를 위해 사용되는데, 새로운 논리적 어드레스를 사용하는 경우 그 값은 초기값으로 0이 설정된다. 만약 식별 번호가 255를 초과하는 경우, 그 값은 0으로 재설정된다. 만약 동일한 논리적 번호를 갖는 복수의 블록이 존재하는 경우, 식별 번호의 더 작은 값을 갖는 블록이 유효하게 된다.The identification number is information for error processing. The value of the identification number is incremented each time block data is rewritten. If some kind of error is generated and there are a plurality of blocks having the same logical address, the identification number is used to determine whether the data written in these blocks is new or old. On the other hand, an area of 1 byte is used for an identification number having a value of 0 to 255. When a new logical address is used, the value is set to 0 as an initial value. If the identification number exceeds 255, the value is reset to zero. If there are a plurality of blocks with the same logical number, the block with the smaller value of the identification number becomes valid.

유효 데이터 크기는 블록에서 유효한 데이터의 크기를 나타낸다. 즉, 만약 블록에 데이터 기억 영역 내에 빈자리가 존재하는 경우, 유효 데이터 크기는 해당 데이터 기억 영역 내에 기록되어 있는 데이터 크기 값을 나타낸다. 이때, 참조 플래그는 참조 정보 존재로 설정된다. 만약 블록의 데이터 기억 영역 내에 빈자리가 존재하지 않는 경우, 유효 데이터 크기는 블록의 데이터 기억 영역 내에 빈자리가 존재하지 않는 다는 것을 나타내는 정보로서 Oxffff로 설정된다.The effective data size represents the size of valid data in the block. In other words, if a vacant position exists in the data storage area in the block, the effective data size represents the data size value recorded in the data storage area. At this time, the reference flag is set to the presence of reference information. If no free space exists in the data storage area of the block, the effective data size is set to Oxffff as information indicating that no free space exists in the data storage area of the block.

한편, 상기 상술된 분산 관리 정보와 추가 관리 정보는 블록 내의 정보가 갱신될 때마다 최근의 정보를 나타내기 위해서 갱신된다.On the other hand, the above-mentioned distributed management information and additional management information are updated to show the latest information each time the information in the block is updated.

집합 관리 정보는 각 블록의 분산 관리 정보를 수집함으로써 형성되는 정보이고 파일로서 플래시메모리(21)에 기억된다. 즉, 도 7에 도시된 바와 같이, 모든 파일의 관리를 위한 정보이며 함께 수집된 집합 관리 정보의 파일은 블록에 기초한 분산 관리 정보로부터 형성되고, 소정 블록의 데이터 기억 영역에 기억된다. 집합 관리 정보는 단일의 블록에 또는 복수의 블록에 걸쳐 기억될 것이다. 데이터 처리 장치(10)는 통상적으로 이 집합 관리 정보에 의해 각 블록을 액세스하기 위한 정보를 획득한다.The set management information is information formed by collecting distributed management information of each block and stored in the flash memory 21 as a file. That is, as shown in Fig. 7, the file of the collective management information collected together with the information for the management of all the files is formed from the distributed management information based on the block and stored in the data storage area of the predetermined block. The aggregation management information may be stored in a single block or over a plurality of blocks. The data processing apparatus 10 typically obtains information for accessing each block by this set management information.

데이터 관리를 위해 필요한 정보인 관리 정보 중에서, 영역 관리 정보는 변환 유닛(25)에 의해 여분의 데이터를 갖는 영역 관리 플래그로 변환되어, 메모리 카드(20)의 플래시메모리(21)의 관리 정보 기억 영역에 기억되고, 특히 관리 정보 기억 영역의 오버라이트 영역에 기억된다. 플래시메모리(21)로부터 판독되는 관리 정보 플래그는 변환 유닛(25)에 의해 원래의 영역 관리 정보로 변환되고 이것은 레지스터(23)와 S/P-P/S 인터페이스 회로(22)를 통해 데이터 처리 장치(10)로 전송된다.Of the management information which is information necessary for data management, the area management information is converted into an area management flag having excess data by the conversion unit 25, and the management information storage area of the flash memory 21 of the memory card 20 is converted. Is stored in the overwrite area of the management information storage area. The management information flag read out from the flash memory 21 is converted into the original area management information by the conversion unit 25, which is transferred to the data processing apparatus 10 via the register 23 and the S / PP / S interface circuit 22. Is sent.

레지스터(23)로부터 판독된 영역 관리 정보를 영역 관리 플래그로 변환하기 위한 또는 플래시메모리(21)로부터 판독된 영역 관리 플래그를 원래의 영역 관리 플래그로 변환하기 위한 변환 유닛(25)이 상세히 설명될 것이다.The conversion unit 25 for converting the area management information read from the register 23 into the area management flag or for converting the area management flag read from the flash memory 21 to the original area management flag will be described in detail. .

변환 유닛(25)은, 도 1에 도시된 바와 같이, 변환 테이블(27), 플래그 판별 회로(28) 및 변환 제어기(29)를 포함한다.The conversion unit 25 includes the conversion table 27, the flag determination circuit 28, and the conversion controller 29, as shown in FIG.

변환 테이블(27)에는, 영역 관리 정보와 영역 관리 플래그가 서로 연관되어 기록된다. 이러한 변환 테이블(27)에서, 가능/불가능 플래그와 관련해서, 영역 관리 정보의 1과 이것에 대응하는 영역 관리 플래그의 1111 1111이 기록되고, 영역 관리 정보의 0과 이것에 대응하는 영역 관리 플래그의 0000 0000이 기록되어 있다.In the conversion table 27, area management information and area management flags are recorded in association with each other. In this conversion table 27, in relation to the enable / disable flag, 1 of the area management information and 1111 1111 of the area management flag corresponding thereto are recorded, and 0 of the area management information and the area management flag corresponding thereto are recorded. 0000 0000 is recorded.

또한, 변환 테이블(27)에는, 블록 플래그와 관련해서, 영역 관리 정보의 11과 관련된 영역 관리 플래그의 1111 1111이 기록되고, 영역 관리 정보의 10과 관련된 영역 관리 플래그의 1111 0000이 기록되고, 영역 관리 정보의 1과 관련된 영역 관리 플래그의 0000 1111이 기록되고, 영역 관리 정보의 0과 관련된 영역 관리 플래그의 0000 0000이 기록되어 있다.Further, in the conversion table 27, 1111 1111 of the area management flag associated with 11 of the area management information is recorded, 1111 0000 of the area management flag associated with 10 of the area management information is recorded in relation to the block flag. 0000 1111 of the area management flag associated with 1 of the management information is recorded, and 0000 0000 of the area management flag associated with 0 of the area management information is recorded.

또한, 변환 테이블(27)에는, 최종 플래그와 관련하여, 영역 관리 정보의 1과 관련된 영역 관리 플래그의 0000 1111이 기록되고, 영역 관리 정보의 0과 관련된 영역 관리 플래그의 0000 1111이 기록되어 있다.Further, in the conversion table 27, 0000 1111 of the area management flag associated with one of the area management information is recorded in relation to the final flag, and 0000 1111 of the area management flag associated with 0 of the area management information is recorded.

또한 변환 테이블(27)에는, 참조 플래그와 관련하여, 영역 관리 정보의 1과 관련된 영역 관리 플래그의 1111이 기록되고, 영역 관리 정보의 0과 관련된 영역 관리 플래그의 0이 기록되어 있다.In addition, in the conversion table 27, 1111 of the area management flag associated with 1 of the area management information is recorded in relation to the reference flag, and 0 of the area management flag associated with 0 of the area management information is recorded.

영역 관리 정보가 변환 유닛(25)으로 전송될 때, 변환 제어기(29)는 변환 테이블(27)을 참조하여 공급된 영역 관리 정보를 이 영역 관리 정보와 관련된 영역 관리 플래그로 변환한다.When the area management information is sent to the conversion unit 25, the conversion controller 29 converts the supplied area management information with reference to the conversion table 27 into an area management flag associated with this area management information.

플래그 판별 회로(28)는 플래시메모리(21)로부터 판독된 영역 관리 플래그의 패턴으로부터 원래의 영역 관리 정보를 판별한다. 즉, 플래그 판별 회로(28)는, 플래시메모리(21)에 기록된 영역 관리 플래그에, 셀의 고장 등에 기인하는 에러가 발생하는 경우에도, 이 에러를 갖는 영역 관리 플래그의 패턴으로부터 원래의 영역 관리 정보를 판별하도록 구성된다.The flag determination circuit 28 determines the original area management information from the pattern of the area management flag read out from the flash memory 21. That is, the flag determination circuit 28 performs the original area management from the pattern of the area management flag having this error even when an error due to a cell failure or the like occurs in the area management flag recorded in the flash memory 21. Configured to determine the information.

특히, 만약, 최종 플래그와 관련하여, 영역 관리 정보의 1이 영역 관리 플래그(1111)로서 메모리(21)에 기억되어 있고, 셀의 고장에 기인하여 영역 관리 플래그에서 에러가 생성되어, 1111이 1110, 1101, 1011 또는 111로 변환된다고 가정하자. 이 경우, 플래그 판별 회로(28)는 영역 관리 플래그의 0과 1의 개수를 비교하여 많은 수, 즉 1을 갖는 정보가 원래의 영역 관리 정보라고 판별한다.In particular, if, in relation to the last flag, one of the area management information is stored in the memory 21 as the area management flag 1111, and an error is generated in the area management flag due to the failure of the cell, and 1111 is 1110. Suppose that is converted to 1101, 1011 or 111. In this case, the flag discrimination circuit 28 compares the number of 0's and 1's of the area management flag and determines that the information having a large number, i.e., the original area management information.

변환 제어기(29)는 원래의 영역 관리 정보인, 플래그 판별 회로(28)에 의해 판별된 정보를 레지스터(23)에 기록한다.The conversion controller 29 writes the information determined by the flag determination circuit 28, which is the original area management information, into the register 23.

상기의 설명은 1 바이트의 영역 관리 플래그로서 가능/불가능 플래그에 대한 1 비트의 영역 관리 정보를 플래시메모리(21)에 기억시키고, 1 바이트의 영역 관리 플래그로서 블록 플래그에 대한 2 비트의 영역 관리 정보를 기억시키고, 동시에 4 비트의 영역 관리 플래그로서 최종 플래그에 대한 1 비트의 영역 관리 정보를 플래시메모리(21)에 기억시키고, 4 비트의 영역 관리 플래그로서 참조 플래그에 대한 1 비트의 영역 관리 정보를 플래시메모리(21)에 기억시키는 경우에 관한 것이다. 여분 데이터를 추가하는 방법은 이러한 구성에 제한되지 않는데, 그 이유는 플래시메모리(21)의 셀의 고장율에 기초하여, 셀에 고장이 발생하는 경우에도, 원래의 영역 관리 정보가 판별될 수 있는 범위 내에서, 여분 데이터의 추가가 임의로 선택될 수 있기 때문이다.In the above description, the 1-bit area management information for the enable / disable flag is stored in the flash memory 21, and the 2-bit area management information for the block flag as the 1-byte area management flag. At the same time, the 1-bit area management information for the final flag is stored in the flash memory 21 as the 4-bit area management flag, and the 1-bit area management information for the reference flag is stored as the 4-bit area management flag. This relates to a case where the flash memory 21 is stored. The method of adding the extra data is not limited to this configuration, because the reason that the original area management information can be determined even when a failure occurs in the cell based on the failure rate of the cell of the flash memory 21. This is because addition of redundant data can be arbitrarily selected within.

만약 셀 고장율이 낮다면, 여분 데이터의 두 비트가 1 비트의 영역 관리 정보에 부가되어 3 비트의 영역 관리 플래그로 변환되어 3 개의 셀에 분산되어 기억될 수 있다. 이러한 경우에 있어서, 만약 고장이 상기 3 개의 셀 중 하나에서 발생하면, 원래의 영역 관리 정보는 플래그 판별 회로(28)에 의한 0과 1의 개수를 비교함으로써 판별될 수 있다. 그러나, 만약 영역 관리 정보에 추가되는 여분 데이터의 비트 수가 증가된다면, 데이터 신뢰성은 그에 따라 증가할 것이다.If the cell failure rate is low, two bits of redundant data may be added to one-bit area management information, converted into three-bit area management flags, and distributed and stored in three cells. In this case, if a failure occurs in one of the three cells, the original area management information can be determined by comparing the number of zeros and ones by the flag discrimination circuit 28. However, if the number of bits of redundant data added to the area management information is increased, data reliability will increase accordingly.

본 발명의 메모리 카드(20)는, 상기 설명한 바와 같은 변환 유닛(25)을 구비하고, 입력된 영역 관리 정보를 이 관리 정보에 여분 데이터를 부가한 영역 관리 플래그로 변환하여 플래시메모리(21)에 기억함으로써, 플래시메모리(21)의 셀의 고장 등에 기인하여 기억된 영역 관리 플래그에 에러가 발생하는 경우에 있어서도, 에러 정정 코드를 사용하지 않으면서 상기 플래그의 에러를 정정하여 원래의 영역 관리 정보를 출력하는 것이 가능하다.The memory card 20 of the present invention includes the conversion unit 25 as described above, converts the input area management information into an area management flag in which extra data is added to this management information, and converts it into the flash memory 21. By storing, even when an error occurs in the stored area management flag due to a failure of a cell of the flash memory 21, the original area management information is corrected by correcting the error of the flag without using an error correction code. It is possible to output.

또한, 메모리 카드(20)와 데이터 처리 장치(10)간의 데이터 교환을 위해, 추가된 여분 데이터를 갖지 않는 영역 관리 정보, 즉 원래의 영역 관리 정보가 전송되어, 여분 데이터를 부가하는 경우의 문제점인 전송 효율의 악화를 초래하지 않는다. 또한, 만약 여분 데이터를 부가하는 방법이 변경되더라도, 이러한 변경에 대처하여 메모리 카드간의 상호 교환성을 보장하기 위해서 데이터 처리 장치(10)의 구조를 변경할 필요가 없다.Also, in order to exchange data between the memory card 20 and the data processing apparatus 10, area management information that does not have additional redundant data, that is, original area management information is transmitted, thereby adding a problem. It does not cause deterioration of transmission efficiency. In addition, even if the method of adding extra data is changed, it is not necessary to change the structure of the data processing apparatus 10 in order to cope with such a change and to ensure interchangeability between memory cards.

이상은, 하나의 셀에 1 비트의 정보가 기억되는, 즉 2치형 플래시메모리(bi-level flash memory)에 관해 설명되었지만, 본 발명은 하나의 셀에 2 비트 이상의 정보가 기억되는, 즉 다치형 플래시메모리(multi-valued flash memory)를 탑재한 메모리 카드에도 적용 가능하다.The foregoing has described the bi-level flash memory in which one bit of information is stored in one cell, that is, the present invention is a multi-value type in which two or more bits of information are stored in one cell. It is also applicable to memory cards equipped with flash memory (multi-valued flash memory).

단일의 셀에 2 비트의 정보를 저장하기 위한 플래시메모리에 있어서, 단일 셀의 고장의 경우 2 비트의 에러가 생성된다. 따라서, 이러한 플래시메모리(21)에 예를들면 1 비트의 영역 관리 정보를 저장하기 위해서, 영역 관리 정보는 되도록 적어도 5 비트의 영역 관리 플래그로 변환되어 세 개의 셀에 저장되어야 한다. 만약, 단일의 셀에 2 비트의 정보를 저장하기 위한 플래시메모리에 있어서, 1 비트의 영역 관리 정보가 세 개의 셀에 기억되는 적어도 5 비트의 영역 관리 플래그로 변환된다면, 영역 관리 플래그를 유지하고 있는 상기 셀 중 한 셀이 잘못되어 두 비트의 에러를 생성하는 경우라도 영역 관리 플래그의 1과 0의 수를 비교하는 변환 유닛(25)의 플래그 판별 회로(28)에 의해 원래의 영역 관리 정보는 식별될 수 있다.In a flash memory for storing two bits of information in a single cell, in the case of a single cell failure, two bits of error are generated. Therefore, in order to store, for example, one bit of area management information in the flash memory 21, the area management information should be converted into at least five bits of area management flags and stored in three cells. In a flash memory for storing two bits of information in a single cell, if one bit of area management information is converted into at least five bits of area management flags stored in three cells, the area management flag is held. The original area management information can be identified by the flag discrimination circuit 28 of the conversion unit 25 which compares the number of 1s and 0s of the area management flags even if one of the cells is wrong and generates an error of two bits. Can be.

특히, 하나의 셀에 두 비트의 정보를 저장하기 위한 플래시메모리의 관리 정보 기억 영역에 영역 관리 정보를 저장할 때, 여분 데이터가 영역 관리 정보에 부가되고 그로 인해 발생하는 데이터는, 도 8에 도시된 바와 같이, 영역 관리 플래그로서 기억된다. 한편, 변환 유닛(25)의 플래그 판별 회로(28)가 원래의 영역 관리 정보를 식별하기 위해서는, 1 비트의 영역 관리 정보를 5 비트의 영역 관리 플래그로 변환하면 충분하다. 그러나, 데이터가 짝수 비트로 변환될 때 더 쉽게 처리될 수 있기 때문에, 도 8에 도시된 실시예는 1 비트의 영역 관리 정보가 6 비트 또는 1 바이트의 영역 관리 플래그로 변환되어 기억되고, 동시에 두 비트의 영역 관리 정보는 12 비트의 영역 관리 플래그로 변환되어 기억된다.In particular, when storing the area management information in the management information storage area of the flash memory for storing two bits of information in one cell, the extra data is added to the area management information and the data generated thereby is shown in FIG. As described above, it is stored as an area management flag. On the other hand, in order for the flag determination circuit 28 of the conversion unit 25 to identify original area management information, it is sufficient to convert 1 bit of area management information into a 5 bit area management flag. However, since data can be more easily processed when data is converted to even bits, the embodiment shown in Fig. 8 converts and stores one bit of area management information into a six bit or one byte of area management flag and stores it at the same time. Area management information is converted into a 12-bit area management flag and stored.

즉, 블록이 사용 가능한 상태에 있음을 나타내는 가능/불가능 플래그의 1 비트의 영역 관리 정보 1은 1 바이트의 영역 관리 플래그 1111 1111로 변환되어 4 개의 셀에 기억되고, 블록이 사용 불가능한 상태를 나타내는 가능/불가능 플래그의 1 비트의 영역 관리 정보 0은 1 바이트의 영역 관리 플래그 0000 0000으로 변환되어 4 개의 셀에 기억된다.That is, 1 bit of region management information 1 of the enable / disable flag indicating that the block is in an available state is converted into 1 byte of region management flag 1111 1111 and stored in four cells, which indicates that the block is unavailable. One-bit area management information 0 of the / non-available flag is converted into one-byte area management flag 0000 0000 and stored in four cells.

한편, 블록이 미사용 중임을 나타내는 블록 플래그의 2 비트의 영역 관리 정보 11은 12 비트의 영역 관리 플래그 111111 111111로 변환되어 6 개의 셀에 기억되고, 블록이 선두 사용 중임을 나타내는 블록 플래그의 2 비트의 영역 관리 정보 10은 12 비트의 영역 관리 플래그 111111 000000으로 변환되어 6 개의 셀에 기억된다. 유사하게, 블록이 사용 중임을 나타내는 블록 플래그의 2 비트의 영역 관리 정보는 12 비트의 영역 관리 플래그 000000 111111로 변환되어 6 개의 셀에 기억되고, 블록이 미소거임을 나타내는 블록 플래그의 2 비트의 영역 관리 플래그 0은 12 비트의 영역 관리 플래그 000000 000000으로 변환되어 6 개의 셀에 기억된다.On the other hand, the 2-bit area management information 11 of the block flag indicating that the block is not in use is converted into a 12-bit area management flag 111111 and 111111 and stored in 6 cells, and the 2-bit area of the block flag indicating that the block is in use. The area management information 10 is converted into a 12-bit area management flag 111111 000000 and stored in six cells. Similarly, the 2-bit area management information of the block flag indicating that the block is in use is converted into a 12-bit area management flag 000000 111111 and stored in 6 cells, and the 2-bit area of the block flag indicating that the block is microscopic. The management flag 0 is converted into a 12-bit area management flag 000000 000000 and stored in six cells.

블록이 블록 계속에 있음을 나타내는 최종 플래그의 1 비트 영역 관리 정보 1은 6 비트의 영역 관리 플래그 111111로 변환되어 세 개의 셀에 기억되고, 블록이 블록 최종에 있음을 나타내는 최종 플래그의 1 비트 영역 관리 정보 0은 6 비트의 영역 관리 플래그 0으로 변환되어 세 개의 셀에 기억된다.1-bit area management information 1 of the last flag indicating that the block is in the block continuation 1 bit area management information of the last flag indicating that the block is at the end of the block is converted into a 6-bit area management flag 111111 and stored in three cells. The information 0 is converted into 6-bit area management flag 0 and stored in three cells.

참조 정보가 존재하지 않음을 나타내는 기준 플래그의 1 비트 영역 관리 정보 1은 6 비트의 영역 관리 플래그 111111로 변환되어 세 개의 셀에 기억되고, 참조 정보 존재를 나타내는 기준 플래그의 1 비트 영역 관리 정보 0은 6 비트의 영역 관리 플래그 0으로 변환되어 세 개의 셀에 기억된다.The 1-bit area management information 1 of the reference flag indicating that there is no reference information is converted into a 6-bit area management flag 111111 and stored in three cells, and the 1-bit area management information 0 of the reference flag indicating the reference information exists. It is converted to a 6-bit area management flag 0 and stored in three cells.

영역 관리 정보에 여분 데이터를 부가하고 그 결과 신호를 영역 관리 플래그로서 기억함으로써, 셀의 고장에 기인하는 에러가 발생하여 111111이 111100, 110011 또는 1111로 바뀔지라도, 원래의 영역 관리 정보 1은 최종 플래그의 0과 1의 개수를 비교함으로써 플래그 판별 회로(28)에 의해 식별될 수 있을 것이다.By adding extra data to the area management information and storing the resultant signal as the area management flag, even if 111111 is changed to 111100, 110011 or 1111 due to an error due to a cell failure, the original area management information 1 is the final flag. By comparing the number of 0's and 1's may be identified by the flag discrimination circuit 28.

이러한 경우, 영역 관리 정보와 상기 언급된 영역 관리 플래그는 서로 연관되어 변환 테이블(27)에 기록된다.In this case, the area management information and the above-mentioned area management flag are recorded in the conversion table 27 in association with each other.

또한, 만약 영역 관리 정보를 영역 관리 플래그로 변환하여 관리 정보 기록 영역에 기록하는 경우에는, 영역 관리 플래그 전체로 4 바이트가 사용된다. 따라서, 16 바이트의 관리 정보 기록 영역의 처음 4 바이트는 오버라이트 영역으로 설정된다.In addition, if the area management information is converted into the area management flag and recorded in the management information recording area, 4 bytes are used as the whole area management flag. Therefore, the first 4 bytes of the 16-byte management information recording area are set as the overwrite area.

블록이 미사용중임을 나타내는 블록 플래그의 영역 관리 정보 11은 6 비트의 영역 관리 플래그 111111로 변환되어 세 개의 셀에 분산 기억되고, 블록이 선두 사용중임을 나타내는 블록 플래그의 영역 관리 정보 10은 6 비트의 영역 관리 플래그 101010으로 변환되어 세 개의 셀에 분산 기억된다. 한편, 블록이 사용중임을 나타내는 블록 플래그의 영역 관리 정보 1은 6 비트의 영역 관리 플래그 10101로 변환되어 세 개의 셀에 기억되고, 블록이 미소거임을 나타내는 블록 플래그의 영역 관리 정보 0은 6 비트의 영역 관리 플래그 0으로 변환되어 세 개의 셀에 분산 기억된다.The area management information 11 of the block flag indicating that the block is not in use is converted into a 6-bit area management flag 111111 and distributed and stored in three cells. The area management information 10 of the block flag indicating that the block is in use is a 6-bit area. It is converted into management flag 101010 and stored in three cells. On the other hand, the area management information 1 of the block flag indicating that the block is in use is converted into a 6-bit area management flag 10101 and stored in three cells, and the area management information 0 of the block flag indicating that the block is small is a 6-bit area. The management flag is converted to 0 and distributed and stored in three cells.

이 경우, 플래그 판별 회로(28)는 2 비트 단위로 코드 패턴을 인식하고 다수의 패턴을 원래의 영역 관리 정보로서 판별한다.In this case, the flag discrimination circuit 28 recognizes a code pattern in units of 2 bits and discriminates a plurality of patterns as original area management information.

특히, 만약 블록이 선두 사용임을 나타내는 영역 관리 정보 10이 6 비트의 영역 관리 플래그 101010으로 변화되어 세 개의 셀에 분산 기억되고, 하나의 셀이 고장난 경우에는, 영역 관리 플래그 101010은 1010, 11010, 111010, 100010, 100110, 101110, 101000, 101001 또는 101011로 변하게 된다. 이 경우, 플래그 판별 회로(28)는 2 비트 단위로 영역 관리 플래그의 코드 패턴을 인식하고, 다수의 10 패턴을 원래의 영역 관리 정보인 것으로 판별한다.In particular, if the area management information 10 indicating that the block is the first use is changed to 6-bit area management flag 101010 and distributed and stored in three cells, and one cell fails, the area management flag 101010 is 1010, 11010, 111010. , 100010, 100110, 101110, 101000, 101001 or 101011. In this case, the flag discrimination circuit 28 recognizes the code pattern of the area management flag in units of 2 bits, and determines a plurality of 10 patterns as the original area management information.

2 비트의 영역 관리 정보인 블록 플래그가 영역 관리 플래그로서 기억되는 경우, 사용되는 비트의 수가 감소될 수 있다.When a block flag that is two bits of area management information is stored as an area management flag, the number of bits used can be reduced.

이상의 설명에 있어서, 본 발명은 외부 장치인 메모리 카드(20)와 이 메모리 카드(20)와 데이터 처리 장치(10)를 구비하는 시스템(1)에 적용되었다. 그러나, 본 발명은 내부 메모리를 구비하는 데이터 처리 장치에 적용될 수 있다. 이 경우, 내부 메모리에 영역 관리 정보를 기억시키기 위해서, 영역 관리 정보를 이 영역 관리 정보에 여분의 데이터를 부가한 영역 관리 플래그로 변화하여 기억시키고, 또한 내부 메모리로부터 영역 관리 플래그를 판독할 때에 이 영역 관리 플래그를 원래의 영역 관리 정보로 변환하여 판독하면 충분하다.In the above description, the present invention has been applied to a memory card 20 that is an external device, and a system 1 including the memory card 20 and the data processing device 10. However, the present invention can be applied to a data processing apparatus having an internal memory. In this case, in order to store the area management information in the internal memory, the area management information is changed and stored in the area management flag in which extra data is added to this area management information, and when the area management flag is read from the internal memory. It is sufficient to convert the area management flag into original area management information and read it.

Claims (12)

데이터와 상기 데이터를 기억하기 위한 영역의 상태를 관리하기 위한 영역 관리 정보를 기억하기 위한 기억 수단과;Storage means for storing data and area management information for managing a state of an area for storing the data; 입력된 영역 관리 정보를 상기 영역 관리 정보와 이에 부가된 여분 데이터에 대응하는 영역 관리 플래그로 변환하거나, 또는 상기 기억 수단으로부터 판독된 상기 영역 관리 플래그를 원래의 영역 관리 정보로 변환하기 위한 변환 수단; 및Conversion means for converting the inputted area management information into an area management flag corresponding to the area management information and the extra data added thereto or converting the area management flag read from the storage means into original area management information; And 상기 변환 수단에 의해 변환된 상기 영역 관리 플래그를 상기 기억 수단에 기록하거나, 또는 상기 기억 수단으로부터 상기 영역 관리 플래그를 판독하고 상기 판독된 플래그를 상기 변환 수단으로 공급하여 상기 변환 수단에 의해 변환된 상기 원래의 영역 관리 정보를 출력하기 위한 제어 수단을 포함하는 기억 장치.The area management flag converted by the conversion means is written into the storage means, or the area management flag is read from the storage means and the read flag is supplied to the conversion means to be converted by the conversion means. And a storage means for outputting original area management information. 제 1항에 있어서,The method of claim 1, 상기 변환 수단은 상기 영역 관리 정보와 상기 영역 관리 플래그가 서로 연관되어 기록되어 있는 변환 테이블을 포함하고, 상기 영역 관리 정보는 이 변환 테이블을 사용하여 영역 관리 플래그로 변환되는 기억 장치.And the conversion means includes a conversion table in which the area management information and the area management flag are recorded in association with each other, and the area management information is converted into an area management flag using this conversion table. 제 1항에 있어서,The method of claim 1, 상기 변환 수단은 상기 기억 장치로부터 판독된 영역 관리 플래그의 패턴으로부터 원래의 영역 관리 정보를 판별하기 위한 플래그 판별 회로를 포함하고, 상기 변환 수단은 이 플래그 판별 회로를 사용하여 기억 수단으로부터 판독된 영역 관리 플래그를 영역 관리 정보로 변환하는 기억 장치.The conversion means includes a flag discrimination circuit for discriminating original area management information from the pattern of the area management flag read out from the storage device, and the conversion means uses the flag discrimination circuit to manage area read out from the storage means. Storage device that converts flags into area management information. 제 1항에 있어서,The method of claim 1, 상기 기억 수단은 플래시메모리이고, 상기 변환 수단은 상기 영역 관리 정보를 정보의 한 비트당 적어도 3 비트를 갖는 영역 관리 플래그로 변환하며, 상기 제어 수단은 상기 영역 관리 플래그가 상기 플래시메모리의 적어도 3 비트에 분산되어 저장되도록 하는 기억 장치.The storage means is a flash memory, and the converting means converts the area management information into an area management flag having at least 3 bits per bit of information, the control means wherein the area management flag is at least 3 bits of the flash memory; Memory that is distributed to and stored on. 데이터와 상기 데이터를 기억하기 위한 영역의 상태를 관리하기 위한 영역 관리 정보를 기억하기 위한 기억 장치; 및A storage device for storing area management information for managing data and a state of an area for storing the data; And 상기 데이터와 영역 관리 정보를 상기 기억 장치로 전송하거나 또는 상기 기억 장치와 상기 영역 관리 정보로부터 공급된 데이터를 처리하기 위한 데이터 처리 장치를 포함하고,A data processing device for transferring said data and area management information to said storage device or for processing data supplied from said storage device and said area management information, 상기 기억 장치는 상기 데이터 처리 장치로부터 공급된 영역 관리 정보를 부가된 여분의 데이터를 가진 이 영역 관리 정보에 대응하는 영역 관리 플래그로 변환하고, 상기 기억 장치는 또한 기억된 영역 관리 플래그를 원래의 영역 관리 정보로 변환하여 상기 데이터 처리 장치에 상기 원래의 영역 관리 정보를 제공하는 데이터 처리 시스템.The storage device converts the area management information supplied from the data processing device into an area management flag corresponding to this area management information with added extra data, and the storage device also converts the stored area management flag into the original area. A data processing system converting into management information and providing the original area management information to the data processing apparatus. 제 5항에 있어서,The method of claim 5, 상기 기억 장치는 상기 영역 관리 정보와 상기 영역 관리 플래그가 서로 연관되어 기록되어 있는 변환 테이블을 구비하고, 상기 입력되는 영역 관리 정보는 상기 변환 테이블을 참조함으로써 상기 영역 관리 플래그로 변환되는 데이터 처리 시스템.And the storage device has a conversion table in which the area management information and the area management flag are recorded in association with each other, and the input area management information is converted into the area management flag by referring to the conversion table. 제 5항에 있어서,The method of claim 5, 상기 기억 장치는 상기 기억된 영역 관리 플래그의 패턴으로부터 상기 원래의 영역 관리 정보를 판별하기 위한 플래그 판별 회로를 구비하고, 상기 기억된 영역 관리 플래그는 이 플래그 판별 회로를 사용하여 상기 영역 관리 정보로 변환되는 데이터 처리 시스템.The storage device has a flag discrimination circuit for discriminating the original area management information from the pattern of the stored area management flag, and the stored area management flag is converted into the area management information using this flag discrimination circuit. Data processing system. 제 5항에 있어서,The method of claim 5, 상기 기억 장치는 플래시메모리를 구비하고, 상기 기억 장치는 상기 영역 관리 정보를 정보의 한 비트당 적어도 3비트의 영역 관리 플래그로 변환하고, 상기 플래그를 상기 플래시메모리의 적어도 3 비트에 분산하며 이렇게 분산된 상태에서 상기 플래그를 상기 셀에 기억하는 데이터 처리 시스템.The storage device has a flash memory, the storage device converts the area management information into an area management flag of at least 3 bits per bit of information, distributes the flag to at least 3 bits of the flash memory, and so on A data processing system which stores the flag in the cell in the activated state. 데이터와 상기 데이터를 기억하기 위한 영역의 상태를 관리하기 위한 영역 관리 정보를 기억 장치에 기록시키거나, 또는 상기 기억 장치에 기록된 상기 데이터와 영역 관리 정보를 상기 기억 장치로부터 판독하는 데이터 기록 및 판독 방법에 있어서,Data recording and reading for recording area management information for managing data and state of an area for storing the data in a storage device or for reading the data and area management information recorded in the storage device from the storage device. In the method, 데이터 기록동안 상기 기억 장치에 입력되는 상기 영역 관리 정보를 상기 영역 관리 정보와 이에 부가된 여분의 데이터에 대응하는 영역 관리 플래그로 변환하여, 변환된 플래그를 상기 기억 장치에 기록하는 단계; 및Converting the area management information input to the storage device during data recording into an area management flag corresponding to the area management information and the extra data added thereto, and recording the converted flag in the storage device; And 데이터 판독동안 판독된 영역 관리 플래그를 원래의 영역 관리 정보로 변환하여 상기 기억 장치로부터 출력하는 단계를 포함하는 데이터 기록 및 판독 방법.Converting the area management flag read during data reading to original area management information and outputting from the storage device. 제 9항에 있어서,The method of claim 9, 상기 기억 장치는 상기 영역 관리 정보와 상기 영역 관리 플래그가 서로 연관되어 기록되어 있는 변환 테이블을 구비하고,The storage device has a conversion table in which the area management information and the area management flag are recorded in association with each other, 데이터 기록동안, 입력되는 영역 관리 정보는 이 변환 테이블을 참조함으로써 영역 관리 플래그로 변환되는 데이터 기록 및 판독 방법.During data recording, the inputted area management information is converted into an area management flag by referring to this conversion table. 제 9항에 있어서,The method of claim 9, 상기 기억 장치는 상기 판독된 영역 관리 플래그의 패턴으로부터 상기 원래의 영역 관리 정보를 판별하기 위한 플래그 판별 회로를 구비하며,The storage device includes a flag determination circuit for discriminating the original area management information from the pattern of the read area management flag, 데이터 판독동안, 상기 판독된 영역 관리 플래그는 이 판별 회로를 사용하여 상기 원래의 영역 관리 정보로 변환되는 데이터 기록 및 판독 방법.During data reading, the read area management flag is converted into the original area management information using this determination circuit. 제 9항에 있어서,The method of claim 9, 상기 기억 장치는 플래시메모리를 구비하며, 상기 영역 관리 정보는 정보의 한 비트당 적어도 3 비트의 영역 관리 플래그로 변환되어 상기 플래시메모리의 적어도 3 셀에 분산되어 상기 플래시메모리의 적어도 3 셀에 기록되는 데이터 기록 및 판독 방법.The storage device has a flash memory, wherein the area management information is converted into at least 3 bits of area management flag per bit of information and distributed to at least 3 cells of the flash memory and recorded in at least 3 cells of the flash memory. How to record and read data.
KR1019980040766A 1997-09-30 1998-09-30 Storage devices, data processing systems, and how to record and read data KR100527610B1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP26717397A JP3119214B2 (en) 1997-09-30 1997-09-30 Storage device, data processing system, and data writing and reading methods
JP97-267173 1997-09-30

Publications (2)

Publication Number Publication Date
KR19990030283A true KR19990030283A (en) 1999-04-26
KR100527610B1 KR100527610B1 (en) 2006-03-28

Family

ID=17441126

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019980040766A KR100527610B1 (en) 1997-09-30 1998-09-30 Storage devices, data processing systems, and how to record and read data

Country Status (3)

Country Link
US (1) US6219768B1 (en)
JP (1) JP3119214B2 (en)
KR (1) KR100527610B1 (en)

Families Citing this family (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6122195A (en) * 1997-03-31 2000-09-19 Lexar Media, Inc. Method and apparatus for decreasing block write operation times performed on nonvolatile memory
JP3233079B2 (en) 1997-09-30 2001-11-26 ソニー株式会社 Data processing system and data processing method
JP3788205B2 (en) * 1997-09-30 2006-06-21 ソニー株式会社 Storage device, data processing system, data writing and reading method, and data processing device
JP3454700B2 (en) * 1998-01-20 2003-10-06 富士通株式会社 Information storage device and control method thereof
US6601140B1 (en) * 1999-04-07 2003-07-29 Sony Corporation Memory unit, data processing unit, and data processing method using memory unit type
US7380272B2 (en) * 2000-05-17 2008-05-27 Deep Nines Incorporated System and method for detecting and eliminating IP spoofing in a data transmission network
US6763424B2 (en) * 2001-01-19 2004-07-13 Sandisk Corporation Partial block data programming and reading operations in a non-volatile memory
JP2002342164A (en) * 2001-05-22 2002-11-29 Hitachi Ltd Storage device, data processor, and method for controlling storing part
EP2058739B1 (en) * 2001-06-28 2011-09-21 Sony Corporation Electronic device, information processing device, adapter device, and information exchange system
US20030056141A1 (en) * 2001-09-18 2003-03-20 Lai Chen Nan Control method used in and-gate type system to increase efficiency and lengthen lifetime of use
JP2003196142A (en) * 2001-12-25 2003-07-11 Sony Corp Write-once type memory device and file management method
JP3935139B2 (en) 2002-11-29 2007-06-20 株式会社東芝 Semiconductor memory device
US7904635B2 (en) * 2003-03-04 2011-03-08 Netac Technology Co., Ltd. Power cut data recovery and data management method for flash media
US20050138090A1 (en) * 2003-12-17 2005-06-23 Oliver Augenstein Method and apparatus for performing a backup of data stored in multiple source medium
JP2005190288A (en) * 2003-12-26 2005-07-14 Tdk Corp Memory controller, flash memory system therewith, and method for controlling flash memory
US7631138B2 (en) * 2003-12-30 2009-12-08 Sandisk Corporation Adaptive mode switching of flash memory address mapping based on host usage characteristics
US8504798B2 (en) 2003-12-30 2013-08-06 Sandisk Technologies Inc. Management of non-volatile memory systems having large erase blocks
JP2005222201A (en) * 2004-02-04 2005-08-18 Matsushita Electric Ind Co Ltd Memory access device and semiconductor memory card
US7434092B2 (en) * 2005-02-22 2008-10-07 Silicon Storage Techonology, Inc. Semiconductor memory and method of storing configuration data
US7734668B2 (en) * 2005-07-26 2010-06-08 Brother Kogyo Kabushiki Kaisha Information management system, information processing device, and program
JP4241703B2 (en) * 2005-09-30 2009-03-18 ブラザー工業株式会社 Information management system, information processing apparatus, and information management program

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5690349A (en) * 1979-12-25 1981-07-22 Fujitsu Ltd Error correction code circuit
JPS62206658A (en) * 1986-03-07 1987-09-11 Hitachi Ltd Memory controller
JP2753254B2 (en) * 1988-04-06 1998-05-18 株式会社日立製作所 Packet exchange system
JPH02193236A (en) * 1989-01-21 1990-07-30 Fuji Photo Film Co Ltd Storage management system for memory card
CA2031512C (en) * 1989-04-28 1994-06-14 Fujio Sugata Signal generating and receiving apparatuses based on synchronous transfer mode
JP3391479B2 (en) * 1992-09-14 2003-03-31 富士写真フイルム株式会社 Memory card management method and method
JP2647312B2 (en) * 1992-09-11 1997-08-27 インターナショナル・ビジネス・マシーンズ・コーポレイション Batch erase nonvolatile semiconductor memory device
JP2974526B2 (en) * 1992-12-18 1999-11-10 富士通株式会社 Data transfer processing method and data transfer processing device
US5784377A (en) * 1993-03-09 1998-07-21 Hubbell Incorporated Integrated digital loop carrier system with virtual tributary mapper circuit
US5737550A (en) * 1995-03-28 1998-04-07 Advanced Micro Devices, Inc. Cache memory to processor bus interface and method thereof

Also Published As

Publication number Publication date
JP3119214B2 (en) 2000-12-18
JPH11110305A (en) 1999-04-23
KR100527610B1 (en) 2006-03-28
US6219768B1 (en) 2001-04-17

Similar Documents

Publication Publication Date Title
KR100527610B1 (en) Storage devices, data processing systems, and how to record and read data
KR100527609B1 (en) Storage, data processing systems and data recording and reading methods
US6330634B1 (en) External storage apparatus having redundant boot blocks, and data processing method therefor
US8310896B2 (en) Memory system and method of writing into nonvolatile semiconductor memory
US6144607A (en) Memory management apparatus and memory management method
US7890732B2 (en) Memory card and semiconductor device
CN102163133B (en) Method and apparatus for using a one-time or few-time programmable memory with a host device designed for erasable/rewriteable memory
KR100742849B1 (en) Data storage, data processing system, data processing method and data processing apparatus
US20060026340A1 (en) Memory card, card controller mounted on the memory card, and device for processing the memory card
US6345333B1 (en) Method and apparatus for reverse rewriting
JP3620478B2 (en) Storage device, data processing system using the storage device, and data read method
EP2041703A1 (en) Portable electronic device and control method thereof
JP3788205B2 (en) Storage device, data processing system, data writing and reading method, and data processing device
JP2910745B2 (en) Storage device and data processing method
JP4127307B2 (en) Data storage device, data processing system, data processing method, and data processing device

Legal Events

Date Code Title Description
A201 Request for examination
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20121029

Year of fee payment: 8

FPAY Annual fee payment

Payment date: 20131025

Year of fee payment: 9

FPAY Annual fee payment

Payment date: 20141024

Year of fee payment: 10

LAPS Lapse due to unpaid annual fee