KR100585165B1 - Data storage apparatus and data protecting method - Google Patents

Data storage apparatus and data protecting method Download PDF

Info

Publication number
KR100585165B1
KR100585165B1 KR1020040099059A KR20040099059A KR100585165B1 KR 100585165 B1 KR100585165 B1 KR 100585165B1 KR 1020040099059 A KR1020040099059 A KR 1020040099059A KR 20040099059 A KR20040099059 A KR 20040099059A KR 100585165 B1 KR100585165 B1 KR 100585165B1
Authority
KR
South Korea
Prior art keywords
data
data protection
area
protection area
temporary recording
Prior art date
Application number
KR1020040099059A
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 KR1020040099059A priority Critical patent/KR100585165B1/en
Application granted granted Critical
Publication of KR100585165B1 publication Critical patent/KR100585165B1/en

Links

Images

Classifications

    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B20/00Signal processing not specific to the method of recording or reproducing; Circuits therefor
    • G11B20/00086Circuits for prevention of unauthorised reproduction or copying, e.g. piracy
    • G11B20/0021Circuits for prevention of unauthorised reproduction or copying, e.g. piracy involving encryption or decryption of contents recorded on or reproduced from a record carrier
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/42Recording and playback systems, i.e. in which the programme is recorded from a cycle of operations, e.g. the cycle of operations being manually controlled, after which this record is played back on the same machine
    • G05B19/427Teaching successive positions by tracking the position of a joystick or handle to control the positioning servo of the tool head, master-slave control
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F12/00Accessing, addressing or allocating within memory systems or architectures
    • G06F12/02Addressing or allocation; Relocation

Abstract

본 발명은 데이터 저장 장치의 데이터 보호 방법에 관한 것으로서, 특히 데이터 저장 장치에서 유저가 설정한 데이터 보호 영역에 액세스하고자 하는 경우 이를 임시 기록영역에 대한 액세스로 전환시켜서 데이터 보호 영역의 데이터를 보호하는 방법에 관한 것이다. BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data protection method of a data storage device. In particular, when a data storage device wants to access a data protection area set by a user, a method of protecting data in the data protection area by converting it to access to a temporary recording area. It is about.

본 발명에 의한 데이터 저장 장치에 있어서, 호스트 기기와의 데이터 송/수신 처리를 실행하는 호스트 인터페이스; 데이터 보호 영역 및 임시 기록 영역이 설정된 디스크; 상기 데이터 보호 영역에 대한 재할당 리스트를 저장하는 휘발성 메모리; 상기 호스트 인터페이스를 통하여 수신한 데이터를 기록하고자 하는 위치가 상기 데이터 보호 영역에 속하는 경우, 상기 데이터를 임시 기록영역에 기록하고, 데이터 보호 영역 내의 재할당된 위치와 임시 기록 영역 내의 지정된 위치를 나타내는 재할당 리스트를 작성하여 상기 메모리에 저장하는 콘트롤러; 및 상기 콘트롤러에 의해 지정되는 상기 디스크 상의 위치에 데이터를 기록하기 위한 신호 처리를 실행하는 기록/판독 회로를 포함함을 특징으로 한다. A data storage device according to the present invention, comprising: a host interface for executing data transmission / reception processing with a host device; A disk in which a data protection area and a temporary recording area are set; A volatile memory for storing a reassignment list for the data protection area; If the position to record data received through the host interface belongs to the data protection area, the data is recorded in the temporary recording area, and the re-assignment indicating the reassigned position in the data protection area and the designated position in the temporary recording area is shown. A controller for creating an allocation list and storing the allocation list in the memory; And a recording / reading circuit for performing signal processing for recording data at a position on the disc designated by the controller.

본 발명에 의하면 추가 비용을 들이지 않고, 또한 시스템 속도를 저하시키지 않고도 하드디스크를 유저가 사용하기 전의 상태로 유지할 수 있는 효과가 발생된다.According to the present invention, there is an effect that the hard disk can be kept in the state before user use without incurring additional costs and without slowing down the system speed.

Description

데이터 저장 장치 및 데이터 보호 방법{Data storage apparatus and data protecting method }Data storage apparatus and data protecting method

도 1은 본 발명이 적용되는 하드디스크 드라이브 구성의 평면도이다.1 is a plan view of a hard disk drive configuration to which the present invention is applied.

도 2는 본 발명에 의한 데이터 보호 방법이 적용되는 하드디스크 드라이브의 전기적인 회로 구성도이다.2 is an electrical circuit diagram of a hard disk drive to which a data protection method according to the present invention is applied.

도 3은 본 발명에 따른 하드디스크 드라이브에 있어서 디스크 상에 데이터 보호 영역 및 임시 기록 영역을 설정한 예를 도식적으로 보이는 것이다.3 schematically shows an example of setting a data protection area and a temporary recording area on a disc in the hard disc drive according to the present invention.

도 4는 본 발명에 따른 데이터 보호 방법을 보이는 흐름도이다. 4 is a flowchart illustrating a data protection method according to the present invention.

본 발명은 데이터 저장 장치의 데이터 보호 방법에 관한 것으로서, 특히 유저가 설정한 데이터 보호 영역에 액세스하고자 하는 경우 이를 임시 기록영역에 대한 액세스로 전환시켜서 데이터 보호 영역의 데이터를 보호하는 데이터 저장 장치 및 방법에 관한 것이다. BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data protection method of a data storage device. In particular, when a user wants to access a data protection area set by a user, the data storage device and method protects data in the data protection area by converting it to access to a temporary recording area. It is about.

일반적으로, 데이터 저장 장치의 하나인 하드디스크 드라이브는 자기 헤드에 의해 디스크에 기록된 데이터를 재생하거나, 디스크에 유저 데이터를 기록함으로써 컴퓨터 시스템 운영에 기여하게 된다. 이와 같은 하드디스크 드라이브를 사용하는 컴퓨터 시스템에서 일정 시점 이후 유저가 사용했던 데이터를 무효화하여 원래의 상태로 복원시키고자 하는 경우가 발생하는데, 예를 들면 관공서나 교육용 컴퓨터 등 많은 유저들이 사용하는 컴퓨터 시스템의 경우 유저가 사용하기 전의 하드디스크의 상태를 유지하고자 한다. In general, a hard disk drive, which is one of data storage devices, contributes to computer system operation by reproducing data recorded on a disk by a magnetic head or recording user data on the disk. In a computer system using such a hard disk drive, there is a case in which data used by a user is invalidated after a certain point of time and restored to its original state. For example, a computer system used by many users such as public offices or educational computers In this case, we want to maintain the state of the hard disk before the user uses it.

종래에는 이를 위해 응용 프로그램을 활용하는데, 이러한 응용프로그램이 활성화되면 컴퓨터 시스템을 모니터링(monitoring)하게 되고, 유저가 하드디스크에 데이터를 기록하고자 할 경우 데이터를 기록하지 못하도록 하며, 컴퓨터 시스템의 파워를 오프-온(off-on)하면 유저가 사용하기 전의 상태로 시스템이 복원된다. 그리고, 컴퓨터 시스템에 기록된 데이터를 변경시키고자 하는 경우, 응용 프로그램을 비활성화 한 후, 예를 들면 유저가 비밀번호를 입력하도록 하여 입력된 비밀번호가 미리 설정된 비밀번호와 일치하는 경우 시스템을 비활성화하여 유저가 컴퓨터 시스템의 데이터를 변경할 수 있게 한다. Conventionally, applications are used for this purpose. When such an application is activated, the computer system is monitored, and when the user wants to write data to the hard disk, the data is not recorded and the computer system is turned off. Off-on restores the system to the state it was in before the user used it. Then, if you want to change the data recorded on the computer system, after disabling the application, for example, if the user inputs a password and the input password matches the preset password, the user deactivates the computer. Allows you to change the system's data.

그러나, 이러한 응용 프로그램을 사용하게 되면 응용프로그램을 유지하는 비용이 소요되고, 또한 응용 프로그램이 항상 백그라운드(background)에서 컴퓨터 시스템을 모니터링하고 있어야 하므로 응용 프로그램의 동작에 필요한 시스템 리소스(resource)를 사용함으로써 시스템의 속도 저하를 초래한다.However, using these applications costs the cost of maintaining the application, and also requires that the application always be monitoring the computer system in the background, thus using the system resources necessary for the operation of the application. It causes the system to slow down.

본 발명이 이루고자 하는 기술적 과제는 상술한 문제점을 해결하기 위하여 데이터를 유저가 사용하기 전의 상태로 유지하는 기능을 자체적으로 담당하게 하는 데이터 저장 장치를 제공하는 것에 있다.SUMMARY OF THE INVENTION The present invention has been made in an effort to provide a data storage device which is in charge of a function of maintaining data in a state prior to use by a user in order to solve the above problems.

본 발명의 다른 목적은 데이터 저장 장치에 있어서 데이터를 유저가 사용하기 전의 상태로 유지하는 데이터 보호 방법을 제공하는데 있다. Another object of the present invention is to provide a data protection method for maintaining data in a state before a user uses the data storage device.

상기 기술적 과제를 달성하기 위한 본 발명에 의한 데이터 저장 장치는 Data storage device according to the present invention for achieving the above technical problem is

호스트 기기와의 데이터 송/수신 처리를 실행하는 호스트 인터페이스; A host interface for performing data transmission / reception processing with the host device;

데이터 보호 영역 및 임시 기록 영역이 설정된 디스크; 상기 데이터 보호 영역에 대한 재할당 리스트를 저장하는 휘발성 메모리; A disk in which a data protection area and a temporary recording area are set; A volatile memory for storing a reassignment list for the data protection area;

상기 호스트 인터페이스를 통하여 수신한 데이터를 기록하고자 하는 위치가 상기 데이터 보호 영역에 속하는 경우, 상기 데이터를 임시 기록영역에 기록하고, 데이터 보호 영역 내의 재할당된 위치와 임시 기록 영역 내의 지정된 위치를 나타내는 재할당 리스트를 작성하여 상기 메모리에 저장하는 콘트롤러; 및 If the position to record data received through the host interface belongs to the data protection area, the data is recorded in the temporary recording area, and the re-assignment indicating the reassigned position in the data protection area and the designated position in the temporary recording area is shown. A controller for creating an allocation list and storing the allocation list in the memory; And

상기 콘트롤러에 의해 지정되는 상기 디스크 상의 위치에 데이터를 기록하기 위한 신호 처리를 실행하는 기록/판독 회로를 포함함을 특징으로 한다.And a write / read circuit for performing signal processing for recording data at a position on the disc designated by the controller.

상기 다른 기술적 과제를 달성하기 위하여 본 발명에 의한 데이터 저장 장치의 데이터 보호 방법은The data protection method of the data storage device according to the present invention in order to achieve the above another technical problem is

디스크 상에 데이터 보호 영역 및 임시 기록 영역을 설정하는 단계; Setting a data protection area and a temporary recording area on the disc;

상기 데이터 보호 영역에 속한 위치에 대하여 데이터 기록이 시도되는 경우 해당 데이터를 임시 기록 영역에 기록하는 단계; Recording data into a temporary recording area when data recording is attempted for a position belonging to the data protection area;

데이터 보호 영역의 재할당된 위치 및 임시 기록 영역의 지정된 위치를 나타 내는 재할당 리스트를 작성하여 휘발성 메모리에 저장하는 단계; 및 Creating and storing a reassignment list indicative of the reassigned position of the data protection area and the designated position of the temporary recording area; And

재할당 리스트를 참조하여 데이터 보호 영역의 재할당된 위치에 대한 액세스를 재할당된 위치에 대한 액세스로 전환시키는 단계를 포함하는 것을 특징으로 한다.And referencing the reassignment list to switch access to the reassigned location of the data protection area to access to the reassigned location.

이하 첨부된 도면을 참조하여 본 발명의 바람직한 실시 예에 대하여 상세히 설명하기로 한다.Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings.

도 1은 본 발명이 적용되는 하드디스크 드라이브(10)의 구성을 보여준다. 드라이브(10)는 스핀들 모터(14)에 의하여 회전되는 적어도 하나의 자기 디스크(12)를 포함하고 있다. 하드디스크 드라이브(10)는 디스크 표면(18)에 인접되게 위치한 변환기(16)를 또한 포함하고 있다.1 shows a configuration of a hard disk drive 10 to which the present invention is applied. The drive 10 includes at least one magnetic disk 12 that is rotated by a spindle motor 14. Hard disk drive 10 also includes a transducer 16 located adjacent disk surface 18.

변환기(16)는 각각의 디스크(12)의 자계를 감지하고 자화시킴으로써 회전하는 디스크(12)에서 정보를 읽거나 기록할 수 있다. 전형적으로 변환기(16)는 각 디스크 표면(18)에 결합되어 있다. 비록 단일의 변환기(16)로 도시되어 설명되어 있지만, 이는 디스크(12)를 자화시키기 위한 기록용 변환기와 디스크(12)의 자계를 감지하기 위한 분리된 읽기용 변환기로 이루어져 있다고 이해되어야 한다. 읽기용 변환기는 자기 저항(MR : Magneto-Resistive) 소자로부터 구성되어 진다. 변환기(16)는 통상적으로 헤드(Head)라 칭해지기도 한다.The transducer 16 can read or write information on the rotating disk 12 by sensing and magnetizing the magnetic field of each disk 12. Typically transducer 16 is coupled to each disk surface 18. Although illustrated and described as a single transducer 16, it should be understood that this consists of a write transducer for magnetizing the disc 12 and a separate read transducer for sensing the magnetic field of the disc 12. Read transducers are constructed from Magneto-Resistive (MR) devices. The transducer 16 is also commonly referred to as a head.

변환기(16)는 슬라이더(20)에 통합되어 질 수 있다. 슬라이더(20)는 변환기(16)와 디스크 표면(18)사이에 공기 베어링(air bearing)을 생성시키는 구조로 되어 있다. 슬라이더(20)는 헤드 짐벌 어셈블리(22)에 통합되어 있다. 헤드 짐벌 어 셈블리(22)는 보이스 코일(26)을 갖는 엑츄에이터 암(24)에 부착되어 있다. 보이스 코일(26)은 보이스 코일 모터(VCM : Voice Coil Motor 30)를 특정하는 마그네틱 어셈블리(28)에 인접되게 위치하고 있다. 보이스 코일(26)에 공급되는 전류는 베어링 어셈블리(32)에 대하여 엑츄에이터 암(24)을 회전시키는 토오크를 발생시킨다. 엑츄에이터 암(24)의 회전은 디스크 표면(18)을 가로질러 변환기(16)를 이동시킬 것이다.The transducer 16 can be integrated into the slider 20. The slider 20 is structured to create an air bearing between the transducer 16 and the disk surface 18. The slider 20 is integrated into the head gimbal assembly 22. The head gimbal assembly 22 is attached to an actuator arm 24 having a voice coil 26. The voice coil 26 is located adjacent to the magnetic assembly 28 that specifies the voice coil motor 30 (VCM). The current supplied to the voice coil 26 generates a torque for rotating the actuator arm 24 relative to the bearing assembly 32. Rotation of the actuator arm 24 will move the transducer 16 across the disk surface 18.

정보는 전형적으로 디스크(12)의 환상 트랙 내에 저장된다. 각 트랙(34)은 일반적으로 복수의 섹터를 포함하고 있다. 각 섹터는 데이터 필드(data field)와 식별 필드(identification field)를 포함하고 있다. 식별 필드는 섹터 및 트랙(실린더)을 식별하는 그레이 코드(Gray code)로 구성되어 있다. 변환기(16)는 다른 트랙에 있는 정보를 읽거나 기록하기 위하여 디스크 표면(18)을 가로질러 이동된다.The information is typically stored in an annular track of the disc 12. Each track 34 generally includes a plurality of sectors. Each sector includes a data field and an identification field. The identification field is composed of a gray code identifying a sector and a track (cylinder). The transducer 16 is moved across the disk surface 18 to read or write information on other tracks.

도 2는 본 발명이 적용되는 하드디스크 드라이브의 전기적인 회로를 보여준다.2 shows an electrical circuit of a hard disk drive to which the present invention is applied.

도 2에 도시된 하드디스크 드라이브는 디스크(12), 변환기(16), 프리 앰프(210), 기록/판독 채널(220), 버퍼(230), 콘트롤러(240), 비휘발성 메모리(250), 휘발성 메모리(260), 보이스 코일 모터 구동부(270) 그리고 호스트 인터페이스(280)를 구비한다.The hard disk drive shown in FIG. 2 includes a disk 12, a converter 16, a preamplifier 210, a write / read channel 220, a buffer 230, a controller 240, a nonvolatile memory 250, The volatile memory 260 includes a voice coil motor driver 270 and a host interface 280.

설명의 편의를 위하여, 프리 앰프(210) 및 기록/판독 채널(220)을 포함하는 회로 구성을 기록/판독 회로라 칭하기로 한다.For convenience of description, a circuit configuration including the preamplifier 210 and the write / read channel 220 will be referred to as a write / read circuit.

비휘발성 메모리(250)에는 하드디스크 드라이브를 제어하기 위한 각종 프로 그램 및 데이터들이 저장되어 있으며, 휘발성 메모리(260)에는 부팅시마다 디스크(12)의 메인터넌스 실린더(Maintenance Cylinder) 영역에서 읽어낸 하드디스크 드라이브 동작에 필요한 데이터들이 로딩된다. The nonvolatile memory 250 stores various programs and data for controlling the hard disk drive, and the volatile memory 260 reads the hard disk drive from the maintenance cylinder area of the disk 12 at every boot. The data required for the operation is loaded.

버퍼(230)에는 라이트(WRITE) 모드에서 호스트 인터페이스(280)를 통하여 호스트 기기로부터 수신되는 데이터가 순차적으로 저장되고, 리드(READ) 모드에서 디스크(12)로부터 읽어낸 데이터가 순차적으로 저장된다.Data received from the host device through the host interface 280 in the WRITE mode is sequentially stored in the buffer 230, and data read from the disk 12 in the READ mode is sequentially stored.

프리 앰프(210)는 변환기(16)에서 감지된 신호를 증폭시키는 증폭 회로 및 변환기(16)에 최적의 리드 채널 파라미터 값에 따라서 리드 전류를 공급하기 위한 리드 전류 제어 회로와 온도에 따른 라이트 전류를 공급하기 위한 라이트 전류 제어 회로가 내장되어 있다.The preamplifier 210 may provide an amplifier circuit for amplifying a signal sensed by the converter 16 and a read current control circuit for supplying a read current to the converter 16 according to an optimal read channel parameter value, and a write current according to temperature. Built-in light current control circuit for supply.

도 1 및 도 2에 도시된 하드디스크 드라이브의 동작을 설명하면 다음과 같다.Referring to the operation of the hard disk drive shown in Figure 1 and 2 as follows.

데이터 리드 모드에서, 하드디스크 드라이브는 디스크(12)로부터 변환기(16 ; 일명 헤드라 칭함)에 의하여 감지된 전기적인 신호를 프리 앰프(210)에서 신호 처리에 용이하도록 증폭시킨다. 그리고 나서, 기록/판독 채널(220)에서는 증폭된 아날로그 신호를 호스트 기기(도면에 미도시)가 판독할 수 있는 디지털 신호로 부호화시키고, 스트림 데이터로 변환하여 버퍼(230)에 일시 저장시킨 후에 호스트 인터페이스(280)를 통하여 호스트 기기로 전송한다. In the data read mode, the hard disk drive amplifies the electrical signal sensed by the converter 16 (also called a head) from the disk 12 in the preamplifier 210 to facilitate signal processing. Then, in the recording / reading channel 220, the amplified analog signal is encoded into a digital signal that can be read by a host device (not shown), converted into stream data, and temporarily stored in the buffer 230, and then the host. It transmits to the host device through the interface 280.

한편, 데이터 라이트 모드에서, 하드디스크 드라이브는 호스트 인터페이스(280)를 통하여 호스트 기기로부터 데이터를 입력받아 버퍼(230)에 일시 저장시킨 후에, 버퍼(230)로부터 데이터를 출력하여 기록/판독 채널(220)에 의하여 기록 채널에 적합한 바이너리 데이터 스트림으로 변환시킨 후에 프리 앰프(210)에 의하여 증폭된 기록 전류를 변환기(16)를 통하여 디스크(12)에 기록시킨다.In the data write mode, the hard disk drive receives data from the host device through the host interface 280 and temporarily stores the data in the buffer 230, and then outputs data from the buffer 230 to the write / read channel 220. After the conversion into a binary data stream suitable for the recording channel, the write current amplified by the preamplifier 210 is recorded on the disc 12 through the converter 16.

콘트롤러(240)는 하드디스크 드라이브를 총괄적으로 제어하며, 호스트 인터페이스(280)를 통하여 수신되는 커맨드(command)를 분석하여 해당 커맨드를 실행하도록 제어한다. The controller 240 controls the hard disk drive as a whole and analyzes the command received through the host interface 280 to execute the command.

도 3은 본 발명에 따른 하드디스크 드라이브에 있어서 디스크 상에 데이터 보호 영역 및 임시 기록 영역을 설정한 예를 도식적으로 보이는 것이다.3 schematically shows an example of setting a data protection area and a temporary recording area on a disc in the hard disc drive according to the present invention.

본 발명의 일 실시 예에서 하드디스크는 도 3에 도시된 바와 같이 유저가 재생만 할 수 있고 기록은 할 수 없는 데이터 보호 영역(302)과 유저가 사용하기 전의 상태로 유지하고자 하는 경우 데이터를 일시적으로 저장하는 임시 기록 영역(temporal recording area, 302)을 갖는다. 그러나, 본 발명은 이에 한정되지 않고 데이터 보호 영역과 임시 기록 영역을 다양하게 선택할 수 있도록 설계할 수도 있다.According to an embodiment of the present invention, as shown in FIG. 3, the hard disk temporarily stores data when the user wants to keep the data protection area 302 which can only be reproduced and cannot record, and the state before the user uses it. It has a temporary recording area 302 for storing. However, the present invention is not limited to this and can be designed so that various data protection areas and temporary recording areas can be selected.

도 4는 본 발명에 따른 데이터 보호 방법을 보이는 흐름도이다. 4 is a flowchart illustrating a data protection method according to the present invention.

본 발명에 따른 데이터 저장 장치 및 데이터 보호 방법을 도 2 내지 도 4를 중심으로 설명하기로 한다.A data storage device and a data protection method according to the present invention will be described with reference to FIGS. 2 to 4.

먼저, 하드디스크 내의 데이터를 유지 및 보호하고자 하는 경우, 호스트 기기는 미리 정의된 별도의 커맨드(command)를 하드디스크 드라이브에 전송한다. 이때 호스트 기기는 미리 정의된 별도의 커맨드와 하드디스크의 데이터를 유지 및 보 호하고자 하는 영역의 시작 논리 블록 어드레스(start LBA), 마지막 논리 블록 어드레스(end LBA)를 함께 전송한다. 해당하는 커맨드를 받은 하드디스크 드라이브는 이러한 설정이 완료되었다는 표시로 플래그(flag) A를 비휘발성(non-volatile) 메모리(250)에 저장한다. First, when the data of the hard disk is to be maintained and protected, the host device transmits a predetermined separate command to the hard disk drive. At this time, the host device transmits a separate predefined command and the start logical block address (start LBA) and the last logical block address (end LBA) of the area to maintain and protect the data of the hard disk. The hard disk drive which has received the corresponding command stores the flag A in the non-volatile memory 250 as an indication that this setting is completed.

콘트롤러(240)는 호스트 기기로부터 전송되는 리드 커맨드(read command) 및 라이트 커맨드(write command)에 대해 플래그 A가 설정되었는지를 체크하여, 설정되어 있지 않은 경우 정상 동작을 하고, 설정되어 있는 경우 본 발명의 일 실시예인 도 4의 흐름도와 같이 동작한다. The controller 240 checks whether the flag A is set for the read command and the write command transmitted from the host device, performs normal operation if it is not set, and if the controller 240 is set, the present invention. It operates as shown in the flowchart of FIG.

플래그 A가 설정되어 있을 경우에, 콘트롤러(240)는 호스트 인터페이스(280)를 통해 호스트 기기로부터 전송되는 커맨드(command)를 수신하여 분석한다(s400).When the flag A is set, the controller 240 receives and analyzes a command transmitted from the host device through the host interface 280 (S400).

호스트 기기로부터 전송된 커맨드가 라이트 커맨드(write command)일 경우, 콘트롤러(240)는 라이트 커맨드와 함께 수신된 논리 블록 어드레스(LBA)가 데이터 보호 영역(302)과 임시 기록 영역(304) 중 어느 영역에 포함되는가를 판단한다(s410). When the command transmitted from the host device is a write command, the controller 240 determines whether the logical block address LBA received with the write command is any of the data protection area 302 and the temporary recording area 304. It is determined whether it is included in (S410).

단계(s410)의 판단 결과, 논리 블록 어드레스(LBA)가 임시 기록 영역(304)에 포함되는 경우, 콘트롤러(240)는 데이터를 임시 기록 영역(302))에 기록하도록 제어한다(s420).As a result of the determination in step S410, when the logical block address LBA is included in the temporary recording area 304, the controller 240 controls to record data in the temporary recording area 302 (S420).

단계(s410)의 판단 결과, 만일 논리 블록 어드레스(LBA)가 데이터 보호 영역(302)에 속하는 경우, 콘트롤러(240)는 논리 블록 어드레스를 임시 기록 영역(304)으로 재할당한다. (s430), 여기서 재할당 내용을 나타내는 재할당 리스트는 휘발성 (volatile) 메모리(260)에 저장시킴으로써 하드디스크 드라이브가 파워 오프되는 경우 재할당 리스트가 소멸된다. As a result of the determination in step s410, if the logical block address LBA belongs to the data protection area 302, the controller 240 reallocates the logical block address to the temporary recording area 304. FIG. The reassignment list indicating the reassignment contents is stored in the volatile memory 260 so that the reassignment list is destroyed when the hard disk drive is powered off.

그리고 나서, 콘트롤러(240)는 데이터를 임시 기록 영역(304)에 기록하도록 제어한다(s420).Then, the controller 240 controls to record the data in the temporary recording area 304 (S420).

호스트 기기로부터 전송된 커맨드가 리드 커맨드(read command)일 경우, 콘트롤러(240)는 휘발성(volatile) 메모리(260)에 저장되어 있는 재할당 리스트를 검색하도록 제어한다(s440).If the command transmitted from the host device is a read command, the controller 240 controls to retrieve a reassignment list stored in the volatile memory 260 (S440).

그 다음, 콘트롤러(240)는 리드 커맨드(read command)에 해당하는 논리 블록 어드레스(LBA)가 휘발성 메모리(260)에서 검색된 재할당 리스트에 있는지를 판단한다(s450).Next, the controller 240 determines whether a logical block address LBA corresponding to a read command is in the reassignment list found in the volatile memory 260 (S450).

단계 (s450)의 판단 결과, 리드 커맨드에 해당하는 논리 블록 어드레스(LBA)가 휘발성 메모리(260)에서 검색된 재할당 리스트에 있는 경우, 임시 기록 영역으로부터 데이터를 재생한다(s460).As a result of the determination in step S450, when the logical block address LBA corresponding to the read command is in the reassignment list retrieved from the volatile memory 260, data is reproduced from the temporary recording area (s460).

단계 (s450)의 판단 결과, 리드 커맨드에 해당하는 논리 블록 어드레스(LBA)가 휘발성 메모리(260)에서 검색된 재할당 리스트에 없는 경우, 종래의 하드디스크에서 데이터를 재생하던 방식으로 데이터를 재생한다(s470).If the logical block address LBA corresponding to the read command is not in the reassignment list found in the volatile memory 260 as a result of the determination in step S450, the data is reproduced in the manner of reproducing the data from the conventional hard disk ( s470).

마지막으로, 유저가 데이터 저장 장치 사용을 종료하기 위해 파워를 오프(off)하는 경우 휘발성 메모리(260)에 저장된 재할당 리스트가 지워지게 되어 유저가 시스템을 사용하기 전의 상태가 유지되게 된다. Finally, when the user powers off to terminate the use of the data storage device, the reassignment list stored in the volatile memory 260 is cleared so that the state before the user uses the system is maintained.

이상과 같이 본 발명에 따른 하드디스크 드라이브는 기록 동작이 아닌 경우 에는 데이터 보호 영역에 대한 액세스(access)를 허용하되, 기록 동작이 발생했을 경우에는 재할당 리스트를 휘발성 메모리에 기록하고, 데이터를 임시 기록 영역에 기록하고, 이후의 재생 및 기록 동작에 있어서는 재할당 리스트를 참조하여 하드디스크에 대해 액세스하도록 한다.As described above, the hard disk drive according to the present invention allows access to the data protection area when the recording operation is not performed. When the recording operation occurs, the hard disk drive writes the reallocation list into the volatile memory and temporarily stores the data. Recording is performed in the recording area, and in subsequent playback and recording operations, the hard disk is accessed with reference to the reassignment list.

이와 같은 동작에 의해 본 발명은 추가 비용을 들이지 않고, 또한 시스템 속도를 저하시키지 않고도 하드디스크의 데이터를 유저가 사용하기 이전의 상태를 유지하게 할 수 있게 한다.This operation enables the present invention to maintain the state before the user uses the data on the hard disk without incurring additional costs and without slowing down the system speed.

첨부된 도면에 도시되어 설명된 특정의 실시 예들은 단지 본 발명의 예로서 이해되어 지고, 본 발명의 범위를 한정하는 것이 아니며, 본 발명이 속하는 기술 분야에서 본 발명에 기술된 기술적 사상의 범위에서도 다양한 다른 변경이 발생될 수 있으므로, 본 발명은 보여지거나 기술된 특정의 구성 및 배열로 제한되지 않는 것은 자명하다. 즉, 본 발명은 하드디스크 드라이브를 포함하는 각종 하드디스크 드라이브에 적용될 수 있을 뿐만 아니라, 다양한 종류의 데이터 저장 장치에 적용될 수 있음은 당연한 사실이다.Specific embodiments shown and described in the accompanying drawings are only to be understood as an example of the present invention, not to limit the scope of the invention, but also within the scope of the technical spirit described in the present invention in the technical field to which the present invention belongs As various other changes may occur, it is obvious that the invention is not limited to the specific constructions and arrangements shown or described. That is, it is a matter of course that the present invention can be applied not only to various hard disk drives including hard disk drives but also to various kinds of data storage devices.

상술한 바와 같이, 본 발명에 의하면 추가 비용을 들이지 않고, 또한 시스템 속도를 저하시키지 않고도 데이터 저장 장치의 데이터를 유저가 사용하기 전의 상태로 유지할 수 있는 효과가 발생된다.As described above, according to the present invention, there is an effect that the data of the data storage device can be kept in a state before the user is used without incurring additional costs and without slowing down the system speed.

Claims (5)

데이터 저장 장치에 있어서,In the data storage device, 호스트 기기와의 데이터 송/수신 처리를 실행하는 호스트 인터페이스;A host interface for performing data transmission / reception processing with the host device; 데이터 보호 영역 및 임시 기록 영역이 설정된 디스크;A disk in which a data protection area and a temporary recording area are set; 상기 데이터 보호 영역에 대한 재할당 리스트를 저장하는 휘발성 메모리;A volatile memory for storing a reassignment list for the data protection area; 상기 호스트 인터페이스를 통하여 수신한 데이터를 기록하고자 하는 위치가 상기 데이터 보호 영역에 속하는 경우, 상기 데이터를 임시 기록 영역에 기록하고, 데이터 보호 영역 내의 재할당된 위치와 임시 기록 영역 내의 지정된 위치를 나타내는 재할당 리스트를 작성하여 상기 메모리에 저장하는 콘트롤러; 및If the position to record data received through the host interface belongs to the data protection area, the data is recorded in the temporary recording area, and the reassignment indicating the reassigned position in the data protection area and the designated position in the temporary recording area is indicated. A controller for creating an allocation list and storing the allocation list in the memory; And 상기 콘트롤러에 의해 지정되는 상기 디스크 상의 위치에 데이터를 기록하기 위한 신호 처리를 실행하는 기록/판독 회로를 포함함을 특징으로 하는 데이터 저장 장치.And a write / read circuit for performing signal processing for recording data at a position on the disc designated by the controller. 제1항에 있어서,The method of claim 1, 데이터 보호 영역에 대한 정보를 저장하는 비휘발성 메모리를 더 구비하며, It further comprises a nonvolatile memory for storing information about the data protection area, 상기 콘트롤러는 상기 호스트 기기로부터 수신되는 데이터 보호 영역 설정을 위한 명령에 응답하여 상기 디스크 상에 데이터 보호 영역을 설정하고, 설정된 데이터 보호 영역에 대한 정보를 상기 비휘발성 메모리에 저장하는 것을 특징으로 하는 데이터 저장 장치.The controller sets a data protection area on the disc in response to a command for setting a data protection area received from the host device, and stores the information on the set data protection area in the nonvolatile memory. Storage device. 제2항에 있어서, The method of claim 2, 데이터 보호 영역에 대한 정보는 범위 및 보호 기능의 설정 여부인 것을 특징으로 하는 데이터 저장 장치.The information on the data protection area is data storage device, characterized in that whether the scope and protection function is set. 디스크 상에 데이터 보호 영역 및 임시 기록 영역을 설정하는 단계;Setting a data protection area and a temporary recording area on the disc; 상기 데이터 보호 영역에 속한 위치에 대하여 데이터 기록이 시도되는 경우 해당 데이터를 임시 기록 영역에 기록하는 단계;Recording data into a temporary recording area when data recording is attempted for a position belonging to the data protection area; 데이터 보호 영역의 재할당된 위치 및 임시 기록 영역의 지정된 위치를 나타내는 재할당 리스트를 작성하여 휘발성 메모리에 저장하는 단계; 및Creating and storing a reassignment list indicative of the reassigned location of the data protection area and the designated location of the temporary recording area; And 재할당 리스트를 참조하여 데이터 보호 영역의 재할당된 위치에 대한 액세스를 재할당된 위치에 대한 액세스로 전환시키는 단계를 포함하는 데이터 저장 장치의 데이터 보호 방법.And converting access to the reallocated location of the data protection region to access to the reallocated location with reference to the reassignment list. 제4항에 있어서, 상기 데이터 보호 영역 및 임시 기록 영역에 대한 정보를 비휘발성 메모리에 저장하는 단계를 더 구비하는 것을 특징으로 하는 데이터 저장 장치의 데이터 보호 방법.5. The method of claim 4, further comprising storing information about the data protection area and the temporary recording area in a nonvolatile memory.
KR1020040099059A 2004-11-30 2004-11-30 Data storage apparatus and data protecting method KR100585165B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020040099059A KR100585165B1 (en) 2004-11-30 2004-11-30 Data storage apparatus and data protecting method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020040099059A KR100585165B1 (en) 2004-11-30 2004-11-30 Data storage apparatus and data protecting method

Publications (1)

Publication Number Publication Date
KR100585165B1 true KR100585165B1 (en) 2006-06-01

Family

ID=37182177

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020040099059A KR100585165B1 (en) 2004-11-30 2004-11-30 Data storage apparatus and data protecting method

Country Status (1)

Country Link
KR (1) KR100585165B1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09237228A (en) * 1996-02-29 1997-09-09 Toshiba Corp Access control method
KR19990004962A (en) * 1997-06-30 1999-01-25 구자홍 Security device of computer terminal system and its security method
US5887131A (en) 1996-12-31 1999-03-23 Compaq Computer Corporation Method for controlling access to a computer system by utilizing an external device containing a hash value representation of a user password
KR20000009381A (en) * 1998-07-23 2000-02-15 윤종용 Memory writing protection apparatus of computer system
KR20050011953A (en) * 2003-07-24 2005-01-31 삼성전자주식회사 Memory system with lockable buffer memory and information processing system including the same

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09237228A (en) * 1996-02-29 1997-09-09 Toshiba Corp Access control method
US5887131A (en) 1996-12-31 1999-03-23 Compaq Computer Corporation Method for controlling access to a computer system by utilizing an external device containing a hash value representation of a user password
KR19990004962A (en) * 1997-06-30 1999-01-25 구자홍 Security device of computer terminal system and its security method
KR20000009381A (en) * 1998-07-23 2000-02-15 윤종용 Memory writing protection apparatus of computer system
KR20050011953A (en) * 2003-07-24 2005-01-31 삼성전자주식회사 Memory system with lockable buffer memory and information processing system including the same

Similar Documents

Publication Publication Date Title
JP4733400B2 (en) Automatic data update method in data storage system and disk drive using the same
KR101517761B1 (en) Method for managing data storage position and data storage system using the same
US7337263B2 (en) Method of varying recording density of data storage medium and disk drive using the method
US6584583B2 (en) Method and apparatus for restoring data damaged by a computer virus on a magnetic information recording disk in a hard disk drive
KR100215705B1 (en) Method for recording information without damaging before hand recorded information
US7487388B2 (en) Method of recovering reallocation sectors in data storage system and disc drive using the same
JP2005235218A (en) Hard disc drive, method for partitioning hard disk drive, storage medium, method for setting and selecting section, and method for accessing file
KR100564573B1 (en) Method for protecting data in data storage system and disc drive using the same
JP4317527B2 (en) Head operation control method in data storage device, disk drive using the same, and disk drive design method
KR100585165B1 (en) Data storage apparatus and data protecting method
KR100524989B1 (en) Method for improving retry process in data storage system and disc drive using the same
KR100618880B1 (en) Method for authenticating harddisk drive and recording medium therefor
JP4078155B2 (en) Magnetic disk apparatus and control method thereof
KR20070096081A (en) Method for restoring the master boot record of storage medium and disk drive using the same
KR100585130B1 (en) Method for monitoring write status of hard disk drive
KR100640619B1 (en) Method for setting operation parameters of harddisk drive and recording media therefor
KR100383638B1 (en) Method for recording virus backup program on magnetic disk in magnetic disk recording device for preventing computer virus
KR100723512B1 (en) Cache buffer control method and disk drive using the same
KR20110112125A (en) Disk device and write method
KR100699877B1 (en) Method for preserving data of the defect sector and disc drive using the same
JP2005190613A (en) Concurrent recording/reproducing method of data, seek operation controlling method, and magnetic disk device using same
JP2503371B2 (en) Disk system
KR100496167B1 (en) How to use the maintenance area of the disk for storing information
KR100660896B1 (en) Method for executing a vendor specific command and disk drive using the same
KR20050079734A (en) Apparatus for controlling read current according to temperature and disc drive using the same

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: 20100429

Year of fee payment: 5

LAPS Lapse due to unpaid annual fee