KR100660851B1 - Data access method in disk drive - Google Patents
Data access method in disk drive Download PDFInfo
- Publication number
- KR100660851B1 KR100660851B1 KR1020050002878A KR20050002878A KR100660851B1 KR 100660851 B1 KR100660851 B1 KR 100660851B1 KR 1020050002878 A KR1020050002878 A KR 1020050002878A KR 20050002878 A KR20050002878 A KR 20050002878A KR 100660851 B1 KR100660851 B1 KR 100660851B1
- Authority
- KR
- South Korea
- Prior art keywords
- data
- memory
- read
- platter
- frequency
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0602—Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
- G06F3/061—Improving I/O performance
- G06F3/0611—Improving I/O performance in relation to response time
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F12/00—Accessing, addressing or allocating within memory systems or architectures
- G06F12/02—Addressing or allocation; Relocation
- G06F12/08—Addressing or allocation; Relocation in hierarchically structured memory systems, e.g. virtual memory systems
- G06F12/0802—Addressing of a memory level in which the access to the desired data or data block requires associative addressing means, e.g. caches
- G06F12/0866—Addressing of a memory level in which the access to the desired data or data block requires associative addressing means, e.g. caches for peripheral storage systems, e.g. disk cache
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0628—Interfaces specially adapted for storage systems making use of a particular technique
- G06F3/0655—Vertical data movement, i.e. input-output transfer; data movement between one or more hosts and one or more storage devices
- G06F3/0656—Data buffering arrangements
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0668—Interfaces specially adapted for storage systems adopting a particular infrastructure
- G06F3/0671—In-line storage system
- G06F3/0683—Plurality of storage devices
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2212/00—Indexing scheme relating to accessing, addressing or allocation within memory systems or architectures
- G06F2212/46—Caching storage objects of specific type in disk cache
- G06F2212/463—File
Abstract
본 발명은 사용 빈도 수를 토대로 복수의 기록 및 저장 매체를 갖는 하드디스크 드라이브의 액세스 속도를 개선할 수 있는 디스크 드라이브의 액세스 방법에 관한 것으로, 본 발명에 따른 방법은, 메모리 또는 적어도 하나의 플래터중 어느 하나로부터 소정 단위의 데이터를 리드하는 단계; 리드된 소정 단위의 데이터의 사용 빈도 수를 1증가시키는 단계; 1 증가된 사용 빈도 수가 소정의 기준치 이상이고, 리드된 소정 단위의 데이터가 적어도 하나의 플래터로부터 리드된 데이터이면, 리드된 데이터를 메모리에 라이트 하는 단계; 리드된 데이터가 메모리에 라이트 되면, 메모리 및 적어도 하나의 플래터에 대한 어드레스 정보를 업데이트 하는 단계를 포함하여, 하드디스크 드라이브의 액세스 속도를 향상시켜 호스트 또는 시스템 본체의 처리 속도를 향상시킬 수 있다. The present invention relates to a method of accessing a disk drive that can improve the access speed of a hard disk drive having a plurality of recording and storage media based on the frequency of use, wherein the method according to the present invention comprises a memory or at least one platter. Reading data of a predetermined unit from any one; Increasing the frequency of use of the predetermined unit of data read by one; 1, if the increased frequency of use is equal to or greater than a predetermined reference value and the data of the predetermined unit read is data read from the at least one platter, writing the read data into the memory; When the read data is written to the memory, updating the address information of the memory and the at least one platter may increase the access speed of the hard disk drive to improve the processing speed of the host or the system main body.
Description
도 1은 본 발명에 따른 데이터 액세스 방법을 수행하는 하드디스크 드라이브의 기능 블록 도이다. 1 is a functional block diagram of a hard disk drive for performing a data access method according to the present invention.
도 2는 본 발명에 따른 데이터 액세스 방법의 동작 흐름 도이다. 2 is an operational flow diagram of a data access method according to the present invention.
도 3은 본 발명에 따라 사용 빈도 수를 관리하는 데이터 영역 단위 예시 도이다. 3 is an exemplary data area unit managing frequency of use according to the present invention.
본 발명은 데이터 액세스 방법에 관한 것으로, 특히, 복수의 기록 및 저장 매체를 갖는 하드디스크 드라이브(Hard Disk Drive, HDD라고 약하기도 함)에서 데이터 액세스 방법에 관한 것이다. The present invention relates to a data access method, and more particularly, to a data access method in a hard disk drive (also referred to as HDD) having a plurality of recording and storage media.
하드디스크 드라이브는 현재 가장 널리 사용되고 있는 보조 기억장치이다. 기존의 하드디스크 드라이브는 복수개의 플래터(platter)를 기록 및 저장 매체로 구비하고 있다. 그러나, 하드디스크 드라이브로부터/로 데이터를 액세스하기 위해서, 플래터를 구동하는 스핀들 모터(spindle motor)가 적정 회전수(Revolution Per Minute: RPM)이상이 되어야 하고, 스핀들 모터의 회전수가 상기 적정 회전수 이상 을 유지한 상태에서도 헤더를 이용하여 플래터로부터/로 데이터를 리드/라이트 함에 따라 하드디스크 드라이브로부터/로 데이터를 액세스하는데 많은 시간이 소요되고 있다. 이는 하드디스크 드라이브에 연결된 시스템 본체(또는 호스트)의 속도를 저하시키는 요인이 되고 있다. Hard disk drives are currently the most widely used auxiliary storage device. Conventional hard disk drives include a plurality of platters as recording and storage media. However, in order to access data from / to the hard disk drive, the spindle motor driving the platter must be at least Revolution Per Minute (RPM), and the rotation speed of the spindle motor is at least the appropriate rotational speed. Even when the data is maintained, it takes a long time to access data from / to a hard disk drive as data is read / written from / to a platter using a header. This is a factor that slows down the speed of the system main body (or host) connected to the hard disk drive.
이러한 문제를 해결하기 위하여, 플래터에 비해 액세스 타임(access time)이 빠른 메모리와 복수의 플래터를 혼합한 복수의 기록 및 저장 매체를 갖는 하드디스크 드라이브가 제안되고 있는 추세이다. In order to solve this problem, a hard disk drive having a plurality of recording and storage media in which an access time is faster than a platter and a plurality of platters is mixed.
본 발명이 이루고자 하는 기술적 과제는 복수의 기록 및 저장 매체를 갖는 하드디스크 드라이브의 액세스 속도를 개선할 수 있는 디스크 드라이브의 액세스 방법을 제공하는데 있다. SUMMARY OF THE INVENTION The present invention has been made in an effort to provide a disk drive access method capable of improving an access speed of a hard disk drive having a plurality of recording and storage media.
본 발명이 이루고자 하는 기술적 과제는 사용 빈도 수를 토대로 복수의 기록 및 저장 매체를 갖는 하드디스크 드라이브의 액세스 속도를 개선할 수 있는 디스크 드라이브의 액세스 방법을 제공하는데 있다. An object of the present invention is to provide a disk drive access method capable of improving the access speed of a hard disk drive having a plurality of recording and storage media based on the frequency of use.
상기 목적을 달성하기 위하여 본 발명은, 메모리와 적어도 하나의 플래터를 갖는 디스크 드라이브에 있어서, 메모리 또는 적어도 하나의 플래터중 어느 하나로부터 소정 단위의 데이터를 리드하는 단계; 리드된 소정 단위의 데이터의 사용 빈도 수를 1증가시키는 단계; 1 증가된 사용 빈도 수가 소정의 기준치 이상이고, 리 드된 소정 단위의 데이터가 적어도 하나의 플래터로부터 리드된 데이터이면, 리드된 데이터를 메모리에 라이트 하는 단계; 리드된 데이터가 메모리에 라이트 되면, 메모리 및 적어도 하나의 플래터에 대한 어드레스 정보를 업데이트 하는 단계를 포함하는 데이터 액세스 방법을 제공한다. In order to achieve the above object, the present invention provides a disk drive having a memory and at least one platter, comprising: reading a predetermined unit of data from either the memory or the at least one platter; Increasing the frequency of use of the predetermined unit of data read by one; 1, if the increased frequency of use is equal to or greater than a predetermined reference value and the read predetermined unit of data is data read from the at least one platter, writing the read data into the memory; If the read data is written to the memory, it provides a data access method comprising updating address information for the memory and at least one platter.
이하, 첨부된 도면을 참조하여 본 발명에 따른 실시 예를 상세히 설명하기로 한다.Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings.
도 1은 본 발명의 실시 예에 따른 데이터 액세스 방법을 수행할 수 있는 하드디스크 드라이브의 기능 블록 도이다. 도 1을 참조하면, 하드디스크 드라이브는 제어부(100), 플래터 드라이브(102), 플래터 유니트(103), 메모리 드라이브(104), 및 메모리(105)를 포함한다. 1 is a functional block diagram of a hard disk drive capable of performing a data access method according to an embodiment of the present invention. Referring to FIG. 1, a hard disk drive includes a
제어부(100)는 하드디스크 드라이브에 연결된 시스템 본체(미 도시됨) 또는 호스트(미 도시됨)로부터 데이터 리드 명령(또는 데이터 리드/라이트 명령)이 수신되면, 도 2에 도시된 바와 같이 데이터를 액세스한다. 도 2는 본 발명에 따른 데이터 액세스 방법의 동작 흐름도이다. When the data read command (or data read / write command) is received from the system main body (not shown) or the host (not shown) connected to the hard disk drive, the
먼저, 제어부(100)는 데이터 리드 명령이 수신되면, 수신된 데이터 리드 명령에 포함된 어드레스를 검출한다(201, 202). 제어부(100)는 어드레스 정보 관리 테이블(101)을 참조하여 상기 검출된 어드레스가 플래터 유니트(103)에 포함되어 있는 플래터(103')에 저장된 데이터의 어드레스인지 메모리(105)에 저장된 데이터의 어드레스인지를 판단한다(203).First, when a data read command is received, the
판단 결과, 플래터(103')에 저장된 데이터의 어드레스이면, 제어부(100)는 데이터 리드 명령을 플래터 드라이브(102)로 송출하여 특정 단위의 데이터를 리드하고, 리드된 데이터를 시스템 본체 또는 호스트로 송출한다(204). 만약 상기 판단 결과, 검출된 어드레스가 메모리(105)에 저장된 데이터의 어드레스이면, 제어부(100)는 데이터 리드 명령을 메모리 드라이브(104)로 송출하여 특정 단위의 데이터를 리드하고, 리드된 데이터를 시스템 본체 또는 호스트로 송출한다(204).If the determination result is an address of data stored in the platter 103 ', the
상기 특정 단위는 시스템 본체 또는 호스트에서 사용되는 운영 체계(Operating System, OS라고도 함)에 따라 사전에 결정될 수 있다. 따라서 소정 단위로 정의할 수 있다. 즉, 도 3(a) 내지 도 3(c)에 도시된 바와 특정 단위는 섹터(sector) 또는 페이지(page) 또는 클러스터(Cluster)중 하나로 결정될 수 있다. The specific unit may be determined in advance according to an operating system (also referred to as an OS) used in the system main body or the host. Therefore, it can be defined in a predetermined unit. That is, as shown in FIGS. 3A to 3C, a specific unit may be determined as one of a sector, a page, or a cluster.
이러한 특정 단위의 데이터에 대한 사용 빈도 수에 대한 정보는 도 3(a)에 도시된 바와 같이 특정 단위의 맨 뒤의 소정 영역에 기록되거나 도 3(b)에 도시된 바와 같이 특정 단위의 맨 앞의 소정 영역에 기록되거나, 도 3(c)에 도시된 바와 같이 복수개의 섹터 또는 페이지 또는 클러스터 당 하나의 소정 영역에 기록될 수 있다. The information on the frequency of use for this particular unit of data is recorded in a predetermined area at the end of the specific unit as shown in FIG. 3 (a) or at the beginning of the specific unit as shown in FIG. 3 (b). It can be recorded in a predetermined area of or in one predetermined area per a plurality of sectors or pages or clusters as shown in FIG.
상기 소정 영역의 비트는 설정된 사용 빈도 수에 대한 기준치에 따라 결정될 수 있다. 예를 들어, 사용 빈도 수에 대한 기준치가 '8'이하이면, 상기 소정 영역의 비트는 2비트가 할당될 수 있고, 사용 빈도 수에 대한 기준치가 '16'이하이면, 상기 소정 영역의 비트는 3비트가 할당될 수 있다. The bit of the predetermined region may be determined according to a reference value for a set frequency of use. For example, if the reference value for the frequency of use is '8' or less, the bit of the predetermined area may be allocated 2 bits, and if the reference value for the frequency of use is '16' or less, the bit of the predetermined area may be Three bits may be allocated.
제어부(100)는 리드된 데이터에 해당되는 사용 빈도 수를 1 증가시킨 n값을 얻는다(205). 제어부(100)는 상기 n값을 설정된 사용 빈도 수에 대한 기준치(T)와 비교한다. 상기 n값이 상기 사용 빈도 수에 대한 기준치(T)이상이면, 제어부(100)는 현재 리드된 데이터의 사용 빈도가 높은 것으로 판단하고, 현재 리드된 데이터가 메모리(105)로부터 리드한 데이터인지를 판단한다(206, 207).The
만약 현재 리드된 데이터가 메모리(105)로부터 리드한 데이터가 아니면, 제어부(100)는 메모리(105)에 데이터가 기록되지 않은 빈 영역이 존재하는지 체크한다(207, 208).If the currently read data is not the data read from the
메모리(105)에 데이터가 기록되지 않는 빈 영역이 존재하면, 제어부(100)는 메모리(105)의 빈 영역에 현재 리드한 특정 단위의 데이터를 라이트하고(209), 라이트 된 특정 단위의 데이터에 대한 사용 빈도 수를 리셋시킨다(210). 그리고, 제어부(100)는 플래터(103')로부터 리드된 데이터가 메모리(105)에 라이트 됨에 따라 어드레스 정보 관리 테이블(101)을 업데이트 한다(211). 이 때, 제어부(100)는 플래터(103')에 기록된 현재 리드된 특정 단위의 데이터를 삭제할 수 있다. If there is a blank area in which no data is recorded in the
한편, 제 208 단계에서 메모리(105)에 빈 영역이 존재하지 않으면, 제어부(100)는 메모리(105)에 저장된 특정 단위의 데이터들중에서 사용 빈도수가 최소인 데이터 영역에 기록된 데이터와 현재 리드된 특정단위의 데이터를 교체(swap)하고, 교체된 특정 단위의 데이터들의 사용 빈도 수를 리셋한다(212, 210). 다음 제어부(100)는 어드레스 정보 관리 테이블(101)을 업데이트 한다(211). On the other hand, if there is no empty area in the
제 206 단계에서 1 증가된 사용 빈도 수가 상기 사용 빈도 수에 대한 기준치(T)이상이 아니거나 제 207 단계에서 현재 리드된 특정 단위의 데이터가 메모리(105)로부터 리드된 것이면, 제어부(100)는 플래터(103') 또는 메모리(105)에 저장 되어 있는 현재 리드된 특정 단위의 데이터의 사용 빈도 수를 상기 1 증가된 사용 빈도 수로 업데이트하고 작업을 종료한다(213). If the frequency of use increased by one in
플래터 드라이브(102)는 수신된 데이터 리드 명령(또는 데이터 리드/라이트 라이트 명령)에 따라 플래터 유니트(103)에 포함되어 있는 플래터(103')로부터/로 데이터를 리드 또는 라이트 한다. 플래터 유니트(105)는 복수개의 플래터(103'), 헤드(미 도시됨), 스핀들 모터(미 도시됨)를 포함할 수 있다. 헤드(미 도시됨)는 플래터(103')에 기록된 데이터를 리드하거나 플래터(103')에 데이터를 라이트 한다. 스핀들 모터(미 도시됨)는 플래터(103')를 회전시킨다. The
메모리 드라이브(104)는 수신된 데이터 리드 명령(또는 데이터 리드/라이트 명령)에 따라 메모리(104)로부터/로 데이터를 리드 또는 라이트 한다. 메모리(105)는 NVDRAM(Non-Volatile Dynamic Random Access Memory), 플래시(Fresh) 메모리와 같은 불휘발성(Non_Volatile, NV) 메모리이다. The
플래터(103')와 메모리(105)는 도 3(a) 내지 도 3(c)중 어느 하나의 포맷으로 데이터를 기록할 수 있다. The platter 103 'and the
상술한 본 발명에 의하면, 호스트 또는 시스템 본체가 자주 액세스하는 데이터를 고속 액세스 타임을 갖는 메모리에 기록시킴으로써, 하드디스크 드라이브에 대한 데이터 액세스 타임을 고속화하여 호스트 또는 시스템 본체의 처리 속도를 향상시킬 수 있다. According to the present invention described above, by writing data frequently accessed by the host or system main body to a memory having a fast access time, the data access time for the hard disk drive can be increased to improve the processing speed of the host or system main body. .
본 발명은 상술한 실시 예에 한정되지 않으며, 본 발명의 사상 내에서 당업 자에 의한 변형이 가능함은 물론이다. 따라서, 본 발명에서 권리를 청구하는 범위는 상세한 설명의 범위 내로 정해지는 것이 아니라 후술하는 청구범위로 정해질 것이다. The present invention is not limited to the above-described embodiments, and variations of the present invention are possible within the spirit of the present invention. Therefore, the scope of claims in the present invention will not be defined within the scope of the detailed description will be defined by the claims below.
Claims (5)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020050002878A KR100660851B1 (en) | 2005-01-12 | 2005-01-12 | Data access method in disk drive |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020050002878A KR100660851B1 (en) | 2005-01-12 | 2005-01-12 | Data access method in disk drive |
Publications (2)
Publication Number | Publication Date |
---|---|
KR20060082501A KR20060082501A (en) | 2006-07-19 |
KR100660851B1 true KR100660851B1 (en) | 2006-12-26 |
Family
ID=37173159
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020050002878A KR100660851B1 (en) | 2005-01-12 | 2005-01-12 | Data access method in disk drive |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR100660851B1 (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH03240147A (en) * | 1990-02-16 | 1991-10-25 | Hitachi Ltd | Computer system |
JPH06314177A (en) * | 1993-04-28 | 1994-11-08 | Toshiba Corp | Magnetic disk device and access method |
JP2000259501A (en) | 1999-03-04 | 2000-09-22 | Toshiba Tec Corp | Control method for access to external storage device |
JP2002207620A (en) | 2001-01-10 | 2002-07-26 | Toshiba Corp | File system and data caching method of the same system |
-
2005
- 2005-01-12 KR KR1020050002878A patent/KR100660851B1/en not_active IP Right Cessation
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH03240147A (en) * | 1990-02-16 | 1991-10-25 | Hitachi Ltd | Computer system |
JPH06314177A (en) * | 1993-04-28 | 1994-11-08 | Toshiba Corp | Magnetic disk device and access method |
JP2000259501A (en) | 1999-03-04 | 2000-09-22 | Toshiba Tec Corp | Control method for access to external storage device |
JP2002207620A (en) | 2001-01-10 | 2002-07-26 | Toshiba Corp | File system and data caching method of the same system |
Also Published As
Publication number | Publication date |
---|---|
KR20060082501A (en) | 2006-07-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11854612B1 (en) | Lifetime mixed level non-volatile memory system | |
US7472219B2 (en) | Data-storage apparatus, data-storage method and recording/reproducing system | |
US7461202B2 (en) | Method and apparatus using hard disk drive for enhanced non-volatile caching | |
US10381040B1 (en) | Dynamic hybrid shingled magnetic recording device | |
US10776153B2 (en) | Information processing device and system capable of preventing loss of user data | |
KR100801015B1 (en) | Hybrid hard disk drive and data storing method | |
US7853761B2 (en) | Classifying write commands into groups based on cumulated flush time | |
JP2010108568A (en) | Magnetic disk device | |
US8862856B2 (en) | Implementing remapping command with indirection update for indirected storage | |
US7913029B2 (en) | Information recording apparatus and control method thereof | |
JP2004502237A (en) | Non-volatile cache integrated in mass storage devices | |
JP2013157068A (en) | Data storage control device, data storage device and data storage method | |
US8854758B2 (en) | Track defect map for a disk drive data storage system | |
US9658964B2 (en) | Tiered data storage system | |
KR100660851B1 (en) | Data access method in disk drive | |
US11275684B1 (en) | Media read cache | |
JP4496790B2 (en) | Data storage device and method, and recording / reproducing system | |
KR100652396B1 (en) | Address assignment method in hard disk drive | |
US20060020751A1 (en) | Medium storage device, cache segment switching method for medium storage device, and medium storage system | |
JP2005115983A (en) | Recording and reproducing device, and recording method | |
US11967370B1 (en) | Lifetime mixed level non-volatile memory system | |
JP4607504B2 (en) | Data medium with variable control field in data unit | |
JP4301026B2 (en) | Data recording apparatus, data recording method, and recording / reproducing system | |
US11657847B1 (en) | Dynamic track interference write counting for magnetic disks | |
JP4782739B2 (en) | Disk unit |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A201 | Request for examination | ||
E902 | Notification of reason for refusal | ||
E701 | Decision to grant or registration of patent right | ||
GRNT | Written decision to grant | ||
FPAY | Annual fee payment |
Payment date: 20091214 Year of fee payment: 4 |
|
LAPS | Lapse due to unpaid annual fee |