KR20150112627A - Only read alarm method of the data storage device with a memory chip - Google Patents

Only read alarm method of the data storage device with a memory chip Download PDF

Info

Publication number
KR20150112627A
KR20150112627A KR1020140037168A KR20140037168A KR20150112627A KR 20150112627 A KR20150112627 A KR 20150112627A KR 1020140037168 A KR1020140037168 A KR 1020140037168A KR 20140037168 A KR20140037168 A KR 20140037168A KR 20150112627 A KR20150112627 A KR 20150112627A
Authority
KR
South Korea
Prior art keywords
storage device
data storage
host
warning
spare block
Prior art date
Application number
KR1020140037168A
Other languages
Korean (ko)
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 주식회사 바른전자
Priority to KR1020140037168A priority Critical patent/KR20150112627A/en
Priority to JP2015019132A priority patent/JP2015191664A/en
Publication of KR20150112627A publication Critical patent/KR20150112627A/en

Links

Images

Classifications

    • 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/08Addressing or allocation; Relocation in hierarchically structured memory systems, e.g. virtual memory systems
    • G06F12/0802Addressing of a memory level in which the access to the desired data or data block requires associative addressing means, e.g. caches
    • G06F12/0875Addressing of a memory level in which the access to the desired data or data block requires associative addressing means, e.g. caches with dedicated cache, e.g. instruction or stack

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)
  • Memory System (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The present invention relates to a method for warning write protection of a data storage device with a memory chip, which is a method of informing whether data can be safely stored in the data storage device or not. The method for warning the write protection of the data storage device comprises: a spare block state information requesting step for requesting information about the state of a spare block from a host, in which the data storage device is mounted, to the data storage device; a spare block state information providing step for delivering the information about the state of the spare block at a time when the host requested the information from the data storage unit to the host; and a warning step for informing a user by the host about risks of the write protection of the data storage device with reference to the input information about the state of the spare block. The method for warning the write-protection of the data storage device: has a direct effect of warning the user that the data storage device with a flash memory is in a write-protection state; and thus makes the user replace or initiate the data storage device at an appropriate period of time, thereby enabling the user to stably store the data according to purposes of various devices using the data storage device.

Description

메모리칩을 갖는 데이터 저장 장치의 쓰기 금지 경고 방법{Only read alarm method of the data storage device with a memory chip}[0001] The present invention relates to a data storage device having a memory chip,

본 발명은 일명 '플래시메모리'라 일컫는 메모리칩을 저장수단으로 갖는 데이터 저장 장치(메모리 카드)의 사용에 관한 발명으로 특히, 상기 데이터 저장 장치의 안전한 데이터 저장 가능 여부를 알리는 방법에 관한 것이다.The present invention relates to the use of a data storage device (memory card) having a memory chip called a 'flash memory' as storage means, and more particularly to a method of informing whether or not the data storage device can securely store data.

본 발명이 대상으로 하는 데이터 저장 장치는 '플래시메모리'라 일컫는 메모리칩을 갖는 통상의 '메모리 카드'라 일컫는 데이터 저장 장치로 도 1 플래시메모리를 갖는 데이터 저장 장치의 예와 이를 이용하는 호스트의 예를 보인 도면에 도시한 바와 같이 SD카드, 마이크로 SD카드, UFD(USB Flash Driver), eMMC(embedded Multi Media Card), SSD(Solid State Driver) 등이 있다.The data storage device to which the present invention is directed is a data storage device called a 'memory card' having a memory chip called 'flash memory'. FIG. 1 shows an example of a data storage device having a flash memory and an example of a host using the same. An SD card, a micro SD card, a USB flash drive (UFD), an embedded multimedia card (eMMC), and a solid state driver (SSD).

상기 메모리칩은 전원이 끊겨도 저장된 데이터를 보존하는 롬(ROM)의 장점과 정보의 입출력이 자유로운 램(RAM)의 장점을 동시에 지닌 메모리 반도체로서 소비전력이 작고, 전원공급이 없더라도 저장된 정보가 유지되는 특성을 갖는 비휘발성 데이터 저장 수단으로 데이터의 입출력도 자유로워 상기 도 1에 도시한 바와 같은 차량용 영상 기록 장치, MP3-플레이어, 스마트폰, 디지털TV, 디지털캠코더, 디지털카메라, 게임기, 컴퓨터 등 다양한 디지털 장치(호스트)에 널리 사용되고 있다.
The memory chip is a memory semiconductor having both the advantages of a ROM that stores stored data even when power is turned off, and the advantage of a random access memory (RAM) that information can be input and output, and consumes a small amount of power. Volatile data storage means having a characteristic of being able to input and output data in a variety of ways such as the vehicle image recording apparatus, the MP3 player, the smart phone, the digital TV, the digital camcorder, the digital camera, the game machine, It is widely used in digital devices (hosts).

이와 같은 플래시메모리를 갖는 데이터 저장 장치는 통상 데이터 업데이트가 빈번하게 이루어짐에 따라 배드블록(Bad block)이 발생하게 되고, 상기 배드블록은 스페어블록(Spare block)으로 대체된다.
In such a data storage device having a flash memory, a bad block is usually generated due to frequent updating of data, and the bad block is replaced with a spare block.

그러나, 배드블록의 발생이 스페어블록의 용량을 초과하는 경우, 메모리 카드는 쓰기 금지(write protect)가 설정되어 읽기만 되고 쓰기가 안되는 상태가 된다. 즉, 메모리 카드를 장기간 사용하게 되면 데이터 저장 불량 문제가 발생한다.
However, if the occurrence of the bad block exceeds the capacity of the spare block, the memory card is set to write protect and is in a read-only and non-writable state. That is, if the memory card is used for a long period of time, a problem of data storage failure occurs.

예를 들어, '차량용 블랙박스'라 일컫는 차량용 영상 저장 장치에서 동영상 데이터 저장용으로 설치되는 SD카드(데이터 저장 장치)의 경우, 사용자가 상기 SD카드의 쓰기 금지 상태를 인식할 수 없기 때문에 일반적으로 쓰기 금지 상태인 SD카드를 교체 내지 초기화 없이 계속 사용하고 있다.For example, in the case of an SD card (data storage device) installed for storing video data in a video storage device for a vehicle, which is referred to as a 'vehicle black box', since the user can not recognize the write prohibition state of the SD card, The SD card which is in the write inhibition state is continuously used without replacement or initialization.

이처럼 쓰기 금지 상태인 SD카드를 계속 사용함으로 인해 녹화가 이루어지지 않아 필요한 순간의 데이터(예, 동영상파일)를 활용하지 못하는 문제가 발생하고 있다.Since the SD card, which is in a write inhibited state, is continuously used, recording is not performed and data at a necessary moment (for example, moving picture file) is not utilized.

또한, 동영상(데이터) 기록에 실패한 경우, 대부분의 사용자들은 차량용 영상 저장 장치에 문제가 발생한 것으로 인식하나, 실제는 SD카드의 쓰기 금지 상태로 인해 동영상 기록이 실패한 경우가 상당히 많다.
In addition, in the case of failing to record video (data), most users perceive that a problem occurs in a video storage device for a vehicle, but in many cases, video recording has failed due to the write prohibition state of the SD card.

이처럼 사용자는 플래시메모리를 갖는 데이터 저장 장치의 쓰기 금지 상태를 알 수 없기 때문에 상기 데이터 저장 장치의 교체 내지 초기화 시기를 인식할 수 없는 치명적인 문제가 있고, 이로 인해 중요한 데이터를 유실하거나 데이터 저장 장치를 이용하는 다양한 디지털 장치(호스트)의 사용 목적을 달성할 수 없는 문제를 발생시킨다.
As described above, since the user can not know the write prohibition state of the data storage device having the flash memory, there is a fatal problem that the user can not recognize the replacement or initialization timing of the data storage device. It causes a problem that the purpose of use of various digital devices (hosts) can not be achieved.

종래기술로 출원번호 10-2009-0067917호 "자체 수리 기능을 포함하는 반도체 메모리 장치 및 그것의 자체 수리 방법"이 개시되었다.Prior art No. 10-2009-0067917 discloses a semiconductor memory device including a self-repair function and a self repair method thereof.

상기 종래기술은 고장 메모리 셀들을 어드레스에 따라 선도 메모리 셀 그룹, 보완 메모리 셀 그룹, 그리고 비보완 메모리 셀 그룹으로 분류하는 단계, 상기 선도 메모리 셀 그룹을 참조하여 제 1 초기 종결 조건 만족 여부를 판단하는 단계, 상기 제 1 초기 종결 조건을 만족하지 않는 경우, 상기 선도 메모리 셀 그룹 및 보완 메모리 셀 그룹을 참조하여 제 2 초기 종결 조건 만족 여부를 판단하는 단계, 및 상기 제 2 초기 종결 조건을 만족하지 않는 경우, 상기 고장 메모리 셀들을 스패어 메모리 블록으로 교체하는 단계를 포함한다. 이 경우, 상기 교체 동작은 상기 보완 메모리 셀 그룹을 이루는 고장 메모리 셀과 이에 대응하는 선도메모리 셀 그룹을 이루는 고장 메모리 셀이 함께 수리되도록 하는 것을 기술적 특징으로 한다.
The prior art classifies faulty memory cells into a leading memory cell group, a complementary memory cell group, and a non-complementary memory cell group according to an address, determining whether the first initial termination condition is satisfied by referring to the leading memory cell group Determining whether a first initial termination condition is satisfied by referring to the leading memory cell group and the complementary memory cell group when the first initial termination condition is not satisfied, , Replacing the faulty memory cells with a spare memory block. In this case, the replacement operation is performed such that the fault memory cells constituting the complementary memory cell group and the fault memory cells constituting the corresponding leading memory cell group are repaired together.

그러나, 상기 종래기술 역시 고장 메모리 셀들을 스패어 메모리 블록으로 교체하는 것으로 스패어 메모리 블록이 소진된 경우 즉, 메모리 카드의 쓰기 금지 상태인 경우 발생하는 쓰기 금지를 상태로 인해 야기되는 문제를 해결할 수 없는 문제가 있다.However, by replacing the faulty memory cells with the spare memory block, the above-described conventional technique can solve the problem caused by the state of the write inhibition that occurs when the spare memory block is exhausted, that is, There is no problem.

본 발명은 상기와 같은 플래시메모리를 갖는 데이터 저장 장치가 갖는 스패어 블록의 소진으로 인해 발생하는 문제를 근본적으로 해결하기 위하여 사용자가 상기 데이터 저장 장치의 스패어 블록 용량이 한계에 이르렀음을 인식할 수 있는 방법을 제공하는 것을 목적으로 한다.In order to fundamentally solve the problem caused by exhaustion of the spare block of the data storage device having the flash memory, the present invention recognizes that the spare block capacity of the data storage device has reached the limit And to provide a method that can be used.

또한, 적정한 시기에 상기 데이터 저장 장치를 교체하거나 초기화할 수 있도록 하여 데이터 저장 장치를 이용하는 다양한 장치의 사용 목적을 안정적으로 달성할 수 있도록 하는 방법을 제공하는 것을 목적으로 한다.It is another object of the present invention to provide a method for stably achieving the purpose of use of various devices using a data storage device by allowing the data storage device to be replaced or initialized at an appropriate time.

본 발명은 상기와 같은 발명이 해결하고자 하는 과제를 달성하기 위하여 데이터 저장 장치의 쓰기 금지 경고 방법에 있어서, 상기 데이터 저장 장치가 탑재되는 호스트에서 상기 데이터 저장 장치로 스패어 블록 상태 정보를 요청하는 스패어 블록 상태 정보 요청 단계; 상기 데이터 저장 장치는 상기 호스트의 스패어 블록 상태 정보 요청 시점의 스패어 블록 상태 정보를 상기 호스트에 전달하는 스패어 블록 상태 정보 제공 단계; 및 상기 호스트는 입력받은 스패어 블록 상태 정보를 참조하여 사용자에게 데이터 저장 장치의 쓰기 금지 위험을 인식시키는 경고 단계;를 포함하는 것을 기술적 특징으로 한다.
According to another aspect of the present invention, there is provided a write prohibition warning method for a data storage device, the method comprising: receiving data from a host on which the data storage device is mounted; A block state information request step; The data storage device providing spare block state information to the host at the time of requesting the spare block state information of the host; And a warning step in which the host recognizes the risk of a write inhibition of the data storage device by referring to the input state information of the spare block.

또한, 상기 스패어 블록 상태 정보는 스패어 블록의 개수인 것;으로 하고, 상기 경고 단계는 상기 스패어 블록의 개수가 상기 호스트에서 설정한 값보다 작거나, '0'인 경우, 사용자에게 데이터 저장 장치의 쓰기 금지 위험을 인식시키는 것;을 기술적 특징으로 한다.
If the number of the spare blocks is less than or equal to a value set by the host, the warning step may be a step of informing the user of the number of spare blocks, And recognizing a write prohibition risk of the storage device.

또한, 상기 스패어 블록 상태 정보 제공 단계는 상기 스패어 블록 상태 정보를 스패어 블록의 개수인 것;으로 하고, 상기 상기 스패어 블록의 개수가 '0'인 경우에만, 상기 호스트에 에러 메시지를 출력하는 것;을 기술적 특징으로 한다.
Also, the step of providing the spare block state information may be performed such that the spare block state information is a number of spare blocks, and only when the number of the spare blocks is '0' And outputting it as a technical feature.

또한, 상기 스패어 블록 상태 정보 요청 단계는 상기 호스트에 전원이 인가되어 호스트 초기 구동시 이루어지는 것;을 기술적 특징으로 한다.
Also, the step of requesting the status information of the spare block is performed when the host is powered on and the host is initialized.

또한, 상기 경고 단계는 호스트에 구비된 디스플레이 창을 통한 메시지 출력 또는 경고등의 점멸 또는 경고음 출력 중 어느 하나의 방법으로 이루어지는 것;을 기술적 특징으로 한다.
Also, the warning step is performed by any one of a message output through a display window provided in the host, a blinking of a warning lamp, or a warning sound output.

또한, 상기 호스트는 동영상을 저장하는 영상 기록 장치인 것;을 기술적 특징으로 한다.Further, the host is an image recording apparatus for storing moving images.

본 발명은 상기와 같은 과제의 해결 수단을 통해 플래시메모리를 갖는 데이터 저장 장치가 쓰기 금지 상태임을 사용자에게 경고할 수 있는 효과가 있다.The present invention has the effect of alerting the user that the data storage device having the flash memory is in a write-protected state through the solution of the above-described problems.

또한, 적정한 시기에 상기 데이터 저장 장치를 교체하거나 초기화할 수 있도록 하여 데이터 저장 장치를 이용하는 다양한 장치의 사용 목적에 맞게 안정적으로 데이터를 저장할 수 있도록 하는 효과가 있다.In addition, it is possible to replace or initialize the data storage device at a proper time, thereby stably storing data in accordance with the purpose of use of various devices using the data storage device.

도 1은 플래시메모리를 갖는 데이터 저장 장치의 예와 이를 이용하는 호스트의 예를 보인 도면,
도 2는 본 발명 메모리칩을 갖는 데이터 저장 장치의 쓰기 금지 경고 방법의 기본 개념을 설명하기 위한 도면,
도 3은 본 발명 메모리칩을 갖는 데이터 저장 장치의 쓰기 금지 경고 방법의 예를 보인 도면,
도 4는 본 발명 메모리칩을 갖는 데이터 저장 장치의 쓰기 금지 경고 방법의 또 다른 예를 보인 도면,
도 5는 본 발명 메모리칩을 갖는 데이터 저장 장치의 쓰기 금지 경고 방법의 또 다른 예를 보인 도면,
도 6은 본 발명 메모리칩을 갖는 데이터 저장 장치의 쓰기 금지 경고 방법을 차량용 블랙박스에 적용한 예를 보인 도면이다.
1 shows an example of a data storage device having a flash memory and an example of a host using the same,
2 is a diagram for explaining a basic concept of a write inhibit warning method of a data storage device having a memory chip according to the present invention;
3 is a diagram illustrating an example of a write inhibit warning method of a data storage device having a memory chip according to the present invention;
4 is a diagram showing another example of a write prohibition warning method of a data storage device having a memory chip according to the present invention.
5 is a diagram illustrating another example of a write inhibit warning method for a data storage device having a memory chip according to the present invention.
FIG. 6 is a diagram showing an example of applying a write inhibit warning method of a data storage device having a memory chip of the present invention to a vehicle black box. FIG.

후술하는 본 발명에 대한 상세한 설명은, 본 발명이 실시될 수 있는 특정 실시 예를 예시로서 도시하는 첨부 도면을 참조한다. 이들 실시 예는 당업자가 본 발명을 실시할 수 있기에 충분하도록 상세히 설명된다. 본 발명의 다양한 실시 예는 서로 다르지만 상호 배타적일 필요는 없음이 이해되어야 한다. 예를 들어, 여기에 기재되어 있는 특정 형상, 구조 및 특성은 일 실시 예에 관련하여 본 발명의 기술적 사상 및 범위를 벗어나지 않으면서 다른 실시 예로 구현될 수 있다. 또한, 각각의 개시된 실시 예 내의 개별 구성요소의 위치 또는 배치는 본 발명의 기술적 사상 및 범위를 벗어나지 않으면서 변경될 수 있음이 이해되어야 한다. 따라서, 후술하는 상세한 설명은 한정적인 의미로서 취하려는 것이 아니며, 본 발명의 범위는 그 청구항들이 주장하는 것과 균등한 모든 범위와 더불어 첨부된 청구항에 의해서만 한정된다. 도면에서 유사한 참조부호는 여러 측면에 걸쳐서 동일하거나 유사한 기능을 지칭한다.
The following detailed description of the invention refers to the accompanying drawings, which illustrate, by way of illustration, specific embodiments in which the invention may be practiced. These embodiments are described in sufficient detail to enable those skilled in the art to practice the invention. It should be understood that the various embodiments of the present invention are different, but need not be mutually exclusive. For example, certain features, structures, and characteristics described herein may be implemented in other embodiments without departing from the spirit and scope of the invention in connection with one embodiment. It should also be understood that the position or arrangement of individual components within each disclosed embodiment may be varied without departing from the spirit and scope of the present invention. The following detailed description is, therefore, not to be taken in a limiting sense, and the scope of the invention is to be limited only by the appended claims, along with the full scope of equivalents to which such claims are entitled. In the drawings, like reference numerals refer to the same or similar functions throughout the several views.

도 2 본 발명 메모리칩을 갖는 데이터 저장 장치의 쓰기 금지 경고 방법의 기본 개념을 설명하기 위한 도면에 도시한 바와 같이, 본 발명은 데이터 저장 장치의 쓰기 금지 경고 방법에 있어서, 스패어 블록 상태 정보 요청 단계(S10), 스패어 블록 상태 정보 제공 단계(S20) 및 경고 단계(S30)를 포함하여 이루어지는 것을 기술적 특징으로 한다.The present invention relates to a write inhibition warning method of a data storage device, and more particularly, to a write inhibition warning method of a data storage device having a memory chip, (S10), a spare block state information providing step (S20), and a warning step (S30).

즉, 호스트(10)를 통해 사용자(30)에게 데이터 저장 장치(20)가 쓰기 금지 위험이 있음을 경고하여 데이터 저장 장치(20)를 교체하거나 초기화하도록 유도하여 사용자(30)가 호스트(10)를 사용함에 있어 데이터 저장 장치(20)의 쓰기 금지 상태로 인해 데이터 저장이 실패하는 상황을 미연에 방지한다.
That is, the user 30 is informed via the host 10 that the data storage device 20 is at risk of writing prohibition, thereby guiding the user to replace or initialize the data storage device 20, It is possible to prevent a situation in which data storage fails due to a write inhibition state of the data storage device 20. [

상기 각 단계를 구체적으로 설명하면, 상기 스패어 블록 상태 정보 요청 단계(S10)는 데이터 저장 장치(20)를 사용하는 다양한 종류의 디지털 장치인 호스트(10)에서 호스트(10)에 설치된 데이터 저장 장치(20)의 스패어 블록 상태를 파악하기 위하여 데이터 저장 장치(20)의 스패어 블록 상태를 확인할 수 있는 정보를 데이터 저장 장치(20)에 요구한다.The step (S10) of requesting the spare block state information may be performed by the host 10, which is a digital device of various types using the data storage device 20, The data storage device 20 is requested to confirm the state of the spare block of the data storage device 20 in order to grasp the state of the spare block of the data storage device 20. [

즉, 상기 스패어 블록 상태 정보 요청 단계(S10)는 호스트(10)에서 데이터 저장 장치(20)의 컨트롤러부에 스패어 블록 상태에 관한 정보를 요청하는 명령을 내림으로써 이루어진다.That is, the step of requesting the spare block state information (S10) is performed by the host 10 issuing a command to the controller unit of the data storage device 20 to request information on the state of the spare block.

이와 같은 스패어 블록 상태 정보 요청 단계(10)는 상기 호스트(10)에 전원이 인가되어 호스트(10) 초기 구동시 이루어지는 것이 바람직하다.The spar block status information request step 10 is preferably performed when the host 10 is powered on and the host 10 is initially powered on.

즉, 호스트(10) 부팅 시에 데이터 저장 장치(20)에 스패어 블록 상태 정보를 요청하는 명령을 전달한다.
That is, at the time of booting the host 10, a command for requesting the spare block state information is transmitted to the data storage device 20.

상기 스패어 블록 상태 정보 제공 단계(S20)는 상기 호스트(10)에서 요구한 스패어 블록 상태 정보를 호스트(10)에 제공하는 단계로 상기 데이터 저장 장치(20)의 컨트롤러부는 호스트(10)의 요구(명령)에 대한 대응으로 데이터 저장 장치(20)의 스패어 블록 상태에 관한 정보를 호스트(10)에 제공한다.
The step of providing the spare block state information S20 is a step of providing the host 10 with the spare block state information requested by the host 10 and the controller unit of the data storage device 20 And provides the host 10 with information on the status of the spare block of the data storage device 20 in response to a request (command).

본 발명에서 정의하는 상기 스패어 블록 상태 정보는 데이터 저장 장치(10)의 컨트롤러부에 의해 연산되는 스패어 블록에 관한 정보로 스패어 블록 상태 정보 요청 시점의 스패어 블록의 개수 또는 전체 스패어 블록 대비 남은 스패어 블록의 비율(백분율) 등이 될 수 있다.
The spare block state information defined in the present invention is information on the spare block calculated by the controller unit of the data storage device 10 or the number of spare blocks at the time of requesting the spare block state information, (Percentage) of the remaining spare blocks.

예를 들어, 도 3 본 발명 메모리칩을 갖는 데이터 저장 장치의 쓰기 금지 경고 방법의 예를 보인 도면에 도시한 바와 같이, 상기 스패어 블록 상태 정보는 스패어 블록의 개수인 것으로 하고, 상기 경고 단계(S30)는 상기 스패어 블록의 개수가 상기 호스트(10)에서 설정한 값보다 작은 경우 사용자(30)에게 데이터 저장 장치(20)의 쓰기 금지 위험을 인식시키도록 한다.For example, as shown in FIG. 3 showing an example of a write inhibit warning method of a data storage device having a memory chip of the present invention, it is assumed that the spare block state information is the number of spare blocks, If the number of the spare blocks is less than the value set by the host 10, the user 30 is informed of the risk of the writing prohibition of the data storage device 20.

또는, 도 4 본 발명 메모리칩을 갖는 데이터 저장 장치의 쓰기 금지 경고 방법의 또 다른 예를 보인 도면에 도시한 바와 같이 상기 스패어 블록의 개수가 '0'인 경우 사용자(30)에게 데이터 저장 장치(20)의 쓰기 금지 위험을 인식시킨다.
Alternatively, as shown in another example of the write inhibit warning method of the data storage device having the memory chip of the present invention, when the number of the spare blocks is '0' (20).

즉, 상기 도 3 또는 4에 도시한 바와 같이, 호스트(10)에서 데이터 저장 장치(20)로부터 수신한 스패어 블록 상태 정보에 따라 판단하여 경고 단계(S30)를 수행하되, 스패어 블록 상태 정보를 스패어 블록의 개수로 하고 호스트(10)에서 설정한 값(설정값)보다 스패어 블록의 개수가 작은 경우 또는 스패어 블록의 개수가 '0'인 경우에만 경고 단계(S30)를 수행한다.
That is, as shown in FIG. 3 or 4, the host 10 performs the warning step S30 according to the spare block state information received from the data storage device 20, The warning step S30 is performed only when the number of spare blocks is smaller than the value (setting value) set by the host 10, or when the number of spare blocks is " 0 " .

또다른 방법으로 상기 스패어 블록 상태 정보 제공 단계(S20)는 상기 스패어 블록 상태 정보를 스패어 블록의 개수인 것으로 하고, 상기 상기 스패어 블록의 개수가 '0'인 경우에만, 상기 호스트(10)에 에러 메시지를 출력하는 것을 기술적 특징으로 한다.Alternatively, in the step of providing the spare block state information (S20), it is assumed that the spare block state information is the number of the spare blocks, and only when the number of the spare blocks is '0' 10).

즉, 도 5 본 발명 메모리칩을 갖는 데이터 저장 장치의 쓰기 금지 경고 방법의 또 다른 예를 보인 도면에 도시한 바와 같이, 호스트(10)에서 데이터 저장 장치(20)에 스패어 블록 상태 정보를 요청(S10)하면, 데이터 저장 장치(20)에서 스패어 브록 개수를 판단하여, 스패어 블록 개수가 '0'이면 호스트(10)에 에러 메시지를 출력(S20)하여 호스트(10)에서 사용자(30)에게 경고(S30)할 수 있도록 하고, 스패어 블록 개수가 1 이상이면 방법을 완료한다.
That is, as shown in FIG. 5 showing another example of the write prohibition warning method of the data storage device having the memory chip of the present invention, the host 10 requests the data storage device 20 to request the spare block state information (S10), the data storage device 20 determines the number of spare blocks. If the number of spare blocks is '0', an error message is output to the host 10 (S20) (S30). If the number of spare blocks is 1 or more, the method is completed.

상기 경고 단계(S30)는 상기 도 2에 도시한 바와 같이 호스트(10)가 데이터 저장 장치(20)로부터 입력받은 스패어 블록 상태 정보를 참조하여 사용자(30)에게 데이터 저장 장치(20)의 쓰기 금지 위험을 인식시키는 단계로 다양한 방법으로 쓰기 금지 위험을 사용자(30)에게 인식시킬 수 있으나, 호스트(10)에 구비된 디스플레이 창을 통한 메시지 출력 또는 경고등의 점멸 또는 경고음 출력 중 어느 하나의 방법으로 이루어지는 것이 바람직하다.
2, the warning step S30 refers to the state information of the spare block inputted from the data storage device 20 by the host 10 to inform the user 30 of the writing of the data storage device 20 The risk of writing may be recognized by the user 30 in various manners. However, it is also possible to use a method of outputting a message through a display window provided in the host 10, flashing a warning light or outputting a warning sound .

예를 들면, 상기 경고 단계(S30)는 호스트(10)에 구비된 디스플레이 창을 통해 경고 메시지 내지 상태 안내 메시지를 출력하거나, 경고등을 구비하고 데이터 저장 장치(20)의 스패어 블록 상태 정보에 따라 상기 경고등을 점멸시키거나 또는 경고음을 출력할 수 있는 수단을 구비하고 이를 통해 경고음을 출력하여 사용자(30)가 데이터 저장 장치(20)의 교체 시기 내지 초기화 시기를 인식할 수 있도록 한다.
For example, the warning step S30 may include outputting a warning message or a status information message through a display window provided in the host 10, or a warning lamp, And a means for blinking the warning light or outputting a warning sound to output a warning sound so that the user 30 can recognize the replacement timing and the initialization timing of the data storage device 20. [

상기에서 설명한 바와 같은 특징을 갖는 본 발명은 데이터 저장 장치(20)의 쓰기/지우기가 빈번하게 일어나는 차량용 영상 기록 장치(일명 '블랙박스'), 디지털 캠코더, 디지털 카메라 등과 동영상을 저장하는 영상 기록 장치(호스트)인 경우에 보다 유용하다.
The present invention having the above-described features of the present invention can be applied to an image recording apparatus for a vehicle (a so-called 'black box'), a digital camcorder, a digital camera, etc. in which data is frequently written / erased, (Host).

이하, 블랙박스를 실시 예로 본 발명을 상세히 설명한다.Hereinafter, the present invention will be described in detail with reference to black boxes as examples.

도 6 본 발명 메모리칩을 갖는 데이터 저장 장치의 쓰기 금지 경고 방법을 차량용 블랙박스에 적용한 예를 보인 도면에 도시한 바와 같이, 호스트인 블랙박스(100)는 MLC방식의 SD카드(200)가 장착된 상태에서 블랙박스(100)를 구동시키면, 블랙박스(100)는 상기 SD카드(200)를 인식한 후, 데이터 전송 모드로 진입하여 ACMD13 명령을 보내고, SD카드는 스패어 블록 개수를 판단하여 '1' 이상이면 에러 메시지 없이 CMD24 또는 25에 따라 동영상 녹화를 시작하고, 스패어 블록 개수가 '0'이면 에러 메시지를 블랙박스(100)로 출력하여 블랙박스(100)에 구비된 알람부(110)를 구동시켜 사용자(30)에게 SD카드(200)의 쓰기 금지 상태 위험 메시지를 전달한다.
6 is a block diagram illustrating an example in which a write prohibition warning method of a data storage device having a memory chip according to the present invention is applied to a black box for a vehicle. In the black box 100 as a host, an MLC type SD card 200 is mounted The black box 100 recognizes the SD card 200, enters a data transfer mode and sends an ACMD13 command, and the SD card determines the number of spare blocks If the number of spare blocks is '0', an error message is output to the black box 100, and the alarm unit (not shown) provided in the black box 100 110 to transmit a write-prohibited state risk message of the SD card 200 to the user 30.

이상에서는 본 발명을 바람직한 실시 예에 의거하여 설명하였으나, 본 발명의 기술적 사상은 이에 한정되지 아니하고 청구항에 기재된 범위 내에서 변형이나 변경 실시가 가능함은 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자에게 명백한 것이며, 그러한 변형이나 변경은 첨부된 특허청구범위에 속한다 할 것이다.While the present invention has been described in connection with what is presently considered to be practical exemplary embodiments, it is to be understood that the invention is not limited to the disclosed embodiments, but, on the contrary, And such variations and modifications are intended to fall within the scope of the appended claims.

10 : 호스트
20 : 데이터 저장 장치
30 : 사용자
100 : 블랙박스
110 : 알람부
200 : MLC SD카드
10: Host
20: Data storage device
30: User
100: Black box
110:
200: MLC SD card

Claims (6)

데이터 저장 장치의 쓰기 금지 경고 방법에 있어서,
상기 데이터 저장 장치가 탑재되는 호스트에서 상기 데이터 저장 장치로 스패어 블록 상태 정보를 요청하는 스패어 블록 상태 정보 요청 단계;
상기 데이터 저장 장치는 상기 호스트의 스패어 블록 상태 정보 요청 시점의 스패어 블록 상태 정보를 상기 호스트에 전달하는 스패어 블록 상태 정보 제공 단계; 및
상기 호스트는 입력받은 스패어 블록 상태 정보를 참조하여 사용자에게 데이터 저장 장치의 쓰기 금지 위험을 인식시키는 경고 단계;를 포함하는 것을 특징으로 하는 메모리칩을 갖는 데이터 저장 장치의 쓰기 금지 경고 방법.
A method for warning a write inhibit of a data storage device,
Requesting a spare block state information from the host on which the data storage device is mounted to the data storage device;
The data storage device providing spare block state information to the host at the time of requesting the spare block state information of the host; And
And a warning step of recognizing a write prohibition risk of the data storage device by referring to the input state information of the spare block.
제1항에 있어서, 상기 스패어 블록 상태 정보는
스패어 블록의 개수인 것;으로 하고,
상기 경고 단계는 상기 스패어 블록의 개수가 상기 호스트에서 설정한 값보다 작거나, '0'인 경우, 사용자에게 데이터 저장 장치의 쓰기 금지 위험을 인식시키는 것;을 특징으로 하는 메모리칩을 갖는 데이터 저장 장치의 쓰기 금지 경고 방법.
2. The method of claim 1, wherein the spare block state information
Is the number of spare blocks,
Wherein the warning step recognizes the risk of a write prohibition of the data storage device when the number of the spare blocks is less than or equal to a value set by the host. Write-protection warning method of storage device.
제1항에 있어서, 상기 스패어 블록 상태 정보 제공 단계는
상기 스패어 블록 상태 정보를 스패어 블록의 개수인 것;으로 하고,
상기 상기 스패어 블록의 개수가 '0'인 경우에만, 상기 호스트에 에러 메시지를 출력하는 것;을 특징으로 하는 메모리칩을 갖는 데이터 저장 장치의 쓰기 금지 경고 방법.
The method of claim 1, wherein the step of providing the spare block state information comprises:
Wherein the spare block state information is a number of spare blocks,
And outputting an error message to the host only when the number of the spare blocks is '0'.
제1항에 있어서, 상기 스패어 블록 상태 정보 요청 단계는
상기 호스트에 전원이 인가되어 호스트 초기 구동시 이루어지는 것;을 특징으로 하는 메모리칩을 갖는 데이터 저장 장치의 쓰기 금지 경고 방법.
The method of claim 1, wherein the step of requesting the spare block state information comprises:
Wherein the host is initialized when power is applied to the host.
제1항에 있어서, 상기 경고 단계는
호스트에 구비된 디스플레이 창을 통한 메시지 출력 또는 경고등의 점멸 또는 경고음 출력 중 어느 하나의 방법으로 이루어지는 것;을 특징으로 하는 메모리칩을 갖는 데이터 저장 장치의 쓰기 금지 경고 방법.
The method of claim 1, wherein the warning step
Wherein the message is output through a display window provided in a host or flashing of a warning light or output of a warning sound.
제1항에 있어서, 상기 호스트는
동영상을 저장하는 영상 기록 장치인 것;을 특징으로 하는 메모리칩을 갖는 데이터 저장 장치의 쓰기 금지 경고 방법.
The method of claim 1, wherein the host
Wherein the data recording device is a video recording device that stores moving pictures.
KR1020140037168A 2014-03-28 2014-03-28 Only read alarm method of the data storage device with a memory chip KR20150112627A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
KR1020140037168A KR20150112627A (en) 2014-03-28 2014-03-28 Only read alarm method of the data storage device with a memory chip
JP2015019132A JP2015191664A (en) 2014-03-28 2015-02-03 Method of warning write protection in data storage unit having memory chip

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020140037168A KR20150112627A (en) 2014-03-28 2014-03-28 Only read alarm method of the data storage device with a memory chip

Publications (1)

Publication Number Publication Date
KR20150112627A true KR20150112627A (en) 2015-10-07

Family

ID=54343854

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020140037168A KR20150112627A (en) 2014-03-28 2014-03-28 Only read alarm method of the data storage device with a memory chip

Country Status (2)

Country Link
JP (1) JP2015191664A (en)
KR (1) KR20150112627A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10877690B2 (en) 2016-10-24 2020-12-29 SK Hynix Inc. Memory system sharing capacity information with host and operating method thereof

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3519526B2 (en) * 1995-12-01 2004-04-19 コニカミノルタホールディングス株式会社 Digital still camera
JP2003141880A (en) * 2001-11-02 2003-05-16 Matsushita Electric Ind Co Ltd Nonvolatile semiconductor memory device
JP2008046923A (en) * 2006-08-17 2008-02-28 Toshiba Corp Method of controlling semiconductor memory card system
JP5473623B2 (en) * 2010-01-15 2014-04-16 キヤノン株式会社 Data recording apparatus and control method thereof
JP5455689B2 (en) * 2010-02-03 2014-03-26 キヤノン株式会社 Recording apparatus and method
US20130311700A1 (en) * 2012-05-20 2013-11-21 Chung-Jwu Chen Extending Lifetime For Non-volatile Memory Apparatus

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10877690B2 (en) 2016-10-24 2020-12-29 SK Hynix Inc. Memory system sharing capacity information with host and operating method thereof

Also Published As

Publication number Publication date
JP2015191664A (en) 2015-11-02

Similar Documents

Publication Publication Date Title
US10459837B2 (en) Data storage device with production state awareness and non-volatile memory operating method with production state awareness
KR101721154B1 (en) Memory system with configurable error thresholds and failure analysis capability
US9563550B2 (en) Flash storage device and control method for flash memory
US10324645B2 (en) Data storage device and data storage method thereof
US20150309886A1 (en) Flash memory controller and data storage device and flash memory control method
US9141308B2 (en) Controller and method for using a transaction flag for page protection
US20200035299A1 (en) Method and system for power loss protection
KR102574354B1 (en) Efficient data storage usage associated with ungraceful shutdown
US20110231621A1 (en) System recovery method, and storage medium controller and storage system using the same
US20130159604A1 (en) Memory storage device and memory controller and data writing method thereof
KR102444606B1 (en) Data storage device and operating method thereof
US10191533B2 (en) Method of enabling sleep mode, memory control circuit unit and storage apparatus
WO2016173470A1 (en) Storage method and system based on embedded multi-media card
US11036493B2 (en) Memory system and operating method thereof
CN109324932B (en) Data storage system, data storage method, and method of manufacturing solid state drive
US8335885B2 (en) Storage device and method of accessing a status thereof
US20210216458A1 (en) Memory system performing host map management
US11301145B2 (en) Storage device providing disconnection from host without loss of data
KR20150112627A (en) Only read alarm method of the data storage device with a memory chip
KR20190085642A (en) Memory system
KR102527925B1 (en) Memory system and operating method thereof
US20220179581A1 (en) Memory system and controller of memory system
CN109697137B (en) Data storage device and method of operating the same
US8627157B2 (en) Storing apparatus
US20100037004A1 (en) Storage system for backup data of flash memory and method for the same

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E601 Decision to refuse application