KR20070017985A - Method for accessing data, apparatus and recording medium for performing that method - Google Patents

Method for accessing data, apparatus and recording medium for performing that method Download PDF

Info

Publication number
KR20070017985A
KR20070017985A KR1020067014160A KR20067014160A KR20070017985A KR 20070017985 A KR20070017985 A KR 20070017985A KR 1020067014160 A KR1020067014160 A KR 1020067014160A KR 20067014160 A KR20067014160 A KR 20067014160A KR 20070017985 A KR20070017985 A KR 20070017985A
Authority
KR
South Korea
Prior art keywords
data
recording medium
size
recording
recorded
Prior art date
Application number
KR1020067014160A
Other languages
Korean (ko)
Other versions
KR100775885B1 (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 마쓰시타 덴키 산교 가부시끼 가이샤
Priority to KR1020067014160A priority Critical patent/KR100775885B1/en
Publication of KR20070017985A publication Critical patent/KR20070017985A/en
Application granted granted Critical
Publication of KR100775885B1 publication Critical patent/KR100775885B1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/08Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers from or to individual record carriers, e.g. punched card, memory card, integrated circuit [IC] card or smart card
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K1/00Methods or arrangements for marking the record carrier in digital fashion

Abstract

본 발명은 메모리 카드의 성능에 관계없이 데이터 전송 속도를 보증하는 것을 과제로 한다.An object of the present invention is to guarantee a data transfer rate regardless of the performance of a memory card.

단계적으로 증감 가능한 데이터 크기 단위로 데이터가 기록되고, 데이터 전송 효율이 데이터 크기에 따라서 변동하는 기록 매체(101)에 미리 데이터 전송 효율을 나타내는 파라미터가 기록된다. 이어서, 데이터 액세스 장치(105)가, 기록 매체(101)에 파라미터 취득 커맨드를 발행한다. 파라미터 취득 커맨드를 수신한 기록 매체(101)가 상기 파라미터를 송신한다. 데이터 액세스 장치(105)는 수신된 파라미터를, 기록 및 판독 대상으로 하는 데이터에서 필요하게 되는 데이터 전송 효율과 대조함으로써 최적의 데이터 크기를 선택한다. 그리고, 데이터 액세스 장치(105)는 선택된 최적의 데이터 크기로 기록 매체(101)와의 사이에서 데이터의 기록 및 판독을 행한다.Data is recorded in incremental increments of data size, and a parameter indicating the data transfer efficiency is recorded in advance on the recording medium 101 whose data transfer efficiency varies with the data size. Next, the data access device 105 issues a parameter acquisition command to the recording medium 101. The recording medium 101 which received the parameter acquisition command transmits the said parameter. The data access device 105 selects an optimal data size by matching the received parameter with the data transfer efficiency required for data to be written and read. The data access device 105 then records and reads data from and to the recording medium 101 at the selected optimal data size.

Description

데이터 액세스 방법 및 그 방법이 실시되는 장치와 기록 매체{METHOD FOR ACCESSING DATA, APPARATUS AND RECORDING MEDIUM FOR PERFORMING THAT METHOD}TECHNICAL FOR ACCESSING DATA, APPARATUS AND RECORDING MEDIUM FOR PERFORMING THAT METHOD}

본 발명은 메모리 카드형 기록 매체에 대한 액세스 성능을 보증하는 기술에 관한 것이다.The present invention relates to a technique for ensuring access performance to a memory card type recording medium.

비휘발성 메모리를 이용한 메모리 카드형 기록 매체(이하, 메모리 카드라 함)는 SD 카드(등록 상표)나 컴팩트 플래시(등록 상표), 메모리 스틱(등록 상표)과 같은 물리 형상이나 인터페이스가 각각 규격화되어 있어, 디지털 카메라의 기록 매체를 비롯하여 많은 기기에서 널리 이용되고 있다.Memory card type recording media (hereinafter referred to as memory cards) using nonvolatile memory have standardized physical shapes and interfaces such as SD card (registered trademark), compact flash (registered trademark), and memory stick (registered trademark), respectively. It is widely used in many devices including recording media of digital cameras and digital cameras.

고속, 대용량의 메모리 카드가 실용화됨에 따라서, 최근에는 정지 화상의 연속 스냅 사진(continuos snapshot)이나, 동화상 및 음성을 메모리 카드에 기록하는 휴대 기기도 상품화되어 있다(예컨대, 특허 문헌 1 참조). 비휘발성 메모리에는 몇 가지의 동작 원리가 있다. 여기서는 현재의 주류인 반도체 플래시 메모리를 예로 메모리 카드의 기록/재생 기술에 관해서 설명한다.BACKGROUND OF THE INVENTION As high speed and large capacity memory cards are put into practical use, recently, continuous snapshots of still images and portable devices for recording moving images and audio onto memory cards have also been commercialized (see Patent Document 1, for example). There are several principles of operation in nonvolatile memory. Here, a description will be given of a recording / reproducing technique of a memory card, taking the current mainstream semiconductor flash memory as an example.

우선, 기록 액세스에 관해서 보면, 반도체 플래시 메모리는 하드 디스크 등의 자기 기록 매체와 달리, 이미 기록이 끝난 어드레스에 대하여 데이터를 소거하면서 덮어쓰기할 수 없다. 외관상의 덮어쓰기를 실현하기 위해서는, 이미 기록되어 있는 데이터를 일단 소거하고 나서, 다시금 데이터를 기록할 필요가 있다. 그러나, 기록이 끝난 데이터의 일부를 랜덤하게 재기록할 때마다 기억 영역의 전체 영역을 소거하여 재차 전체 영역에 데이터를 고쳐 쓰는 것은 비효율적이다. 그 때문에, 메모리 카드의 기억 영역을 복수의 소거 블록으로 분할하여, 소거 블록 단위로 소거와 기록을 실시할 수 있는 구조를 갖는 메모리 카드가 상품화되어 있다. 이 메모리 카드에서는, 임의 크기의 기록 데이터를 소거 블록의 크기로 분할하여 단편화하여, 소거 블록마다 단편 데이터를 기록해 나가는 것을 가능하게 하고 있다.First, in terms of write access, a semiconductor flash memory cannot be overwritten while erasing data to an address that has already been written, unlike a magnetic recording medium such as a hard disk. In order to realize an apparent overwriting, it is necessary to erase data already recorded once and then record the data again. However, whenever a part of recorded data is randomly rewritten, it is inefficient to erase the entire area of the storage area and rewrite the data in the entire area again. Therefore, a memory card having a structure in which the memory area of the memory card can be divided into a plurality of erase blocks and erase and write can be performed in units of erase blocks can be commercialized. In this memory card, it is possible to divide write data of arbitrary size into the size of an erase block and to fragment it, and to record the fragment data for each erase block.

소거 블록 크기보다도 작은 단편 데이터를 반도체 플래시 메모리에 기록하는 경우에는,When fragment data smaller than the erase block size is written to the semiconductor flash memory,

·기록하여야 하는 어드레스를 포함하는 소거 블록의 데이터를 일시적으로 버퍼에서 판독한다.Temporarily read the data of the erase block containing the address to be written from the buffer.

·그 후에 소거 블록을 소거한다.After that, the erase block is erased.

·일시적으로 버퍼 상에 기록하여야 하는 단편 데이터를 덮어 쓰기한다.Temporarily overwrite fragment data that should be written to the buffer.

·일시적으로 버퍼 상의 데이터를 소거 블록에 재기록한다.Temporarily rewrite the data on the buffer into the erase block.

라는 순서, 즉, 소위 판독 수정 기록(Read Modify Write) 동작이 필요하게 된다.In other words, a so-called Read Modify Write operation is required.

그렇기 때문에, 가령 단편 데이터가 소거 블록 크기보다도 작더라도, 소거 블록 크기분의 데이터를 기록하는 것과 동등 이상의 기록 지연 시간이 발생한다. 기록 지연 시간이란, 기록/판독 처리 커맨드를 발생시키고 나서 그 처리가 종료될 때까지 걸리는 시간을 나타낸다.Therefore, even if the fragment data is smaller than the erase block size, a write delay time equal to or greater than that of recording the data for the erase block size occurs. The write delay time indicates the time taken from generating a write / read processing command to ending the processing.

도 7a는 메모리 카드에 대한 기록 데이터 크기와 기록에 걸리는 시간(기록 지연 시간)의 관계를 모식적으로 나타낸다. 도 7a에 있어서, 횡축은 기록 데이터 크기이며, E는 소거 블록 크기를 나타낸다. 종축은 기록 지연 시간을 나타낸다.Fig. 7A schematically shows a relationship between the size of recording data for a memory card and the time taken for recording (write delay time). In Fig. 7A, the horizontal axis represents the write data size, and E represents the erase block size. The vertical axis represents the write delay time.

이 도면으로부터 분명한 바와 같이, 메모리 카드의 인터페이스를 절단면으로 하여 메모리 카드에 있어서의 데이터의 기록 및 판독 동작을 보았을 때, 어느 데이터 크기로 하나의 기록 커맨드를 메모리 카드에 부여하여, 데이터 크기분의 데이터가 전부 기록될 때까지의 기록 지연 시간(즉, 기록 처리 시간)은 커맨드 처리의 오버헤드에 부가하여, 기록을 행한 소거 블록(E)의 수에 비례한다. 따라서, 기록 데이터 크기의 증가에 대한 기록 지연 시간은 도 7a에 도시한 바와 같이, 거의 계단형으로 증가하는 물리적인 특성을 갖는다.As is apparent from this figure, when the data recording and reading operation on the memory card is observed with the interface of the memory card as the cut surface, one write command is given to the memory card at a certain data size, and the data for the data size is given. The write delay time (i.e., the write processing time) until all of them are written is proportional to the number of erased blocks E that have written in addition to the overhead of the command processing. Therefore, the write delay time with respect to the increase in the size of the write data has a physical property of increasing substantially stepwise, as shown in Fig. 7A.

한편, 판독 액세스에 대해서는, 기록 액세스와 같이 반도체 플래시 메모리에 있어서의 소거 블록과 같은 물리적인 특성에 의한 제한은 없다. 도 7b는 메모리 카드에 대한 판독 데이터 크기와 판독에 걸리는 시간(판독 지연 시간)의 관계를 모식적으로 나타낸다. 도 7b의 횡축, 종축은 도 7a와 마찬가지이다.On the other hand, the read access is not limited by physical characteristics such as an erase block in the semiconductor flash memory like the write access. 7B schematically shows a relationship between the size of read data for a memory card and the time taken to read (read delay time). The horizontal axis | shaft and vertical axis | shaft of FIG. 7B are the same as that of FIG. 7A.

메모리 카드의 인터페이스를 절단면으로 하여 메모리 카드에 있어서의 데이터의 기록 및 판독 동작을 보았을 때, 어느 데이터 크기로 하나의 판독 커맨드를 메모리 카드에 부여하여, 데이터 크기분의 데이터가 전부 판독될 때까지의 판독 지연 시간은 커맨드 처리의 오버헤드와 판독한 데이터 크기에 비례한 전송 시간의 합이 된다.When the writing and reading operations of the data on the memory card are observed with the interface of the memory card as the cut surface, a read command is given to the memory card at a certain data size until the data for all the data sizes is read. The read delay time is the sum of the overhead of command processing and the transfer time in proportion to the read data size.

도 7b로부터 분명한 바와 같이, 하나의 커맨드로 판독하는 데이터 크기가 작은 경우에는, 커맨드 처리의 오버헤드를 무시할 수 없게 되어, 판독 액세스에 일정 이상의 고속성이 요구되는 메모리 카드의 애플리케이션에 있어서 그 영향이 나온다.As apparent from Fig. 7B, when the data size to be read by one command is small, the overhead of the command processing cannot be ignored, so that the influence in the application of the memory card that requires a certain or higher speed for read access is required. Comes out.

도 8은 커맨드 처리의 오버헤드와 기록 또는 판독의 액세스 데이터 크기의 관계를 모식적으로 도시한다. 커맨드 처리의 오버헤드는 액세스 데이터 크기에 의존하지 않고 거의 일정한 처리 시간이 필요하다. 그 때문에, 액세스 데이터 크기가 작을수록 커맨드 처리의 오버헤드가 상대적으로 커진다.Fig. 8 schematically shows the relationship between the overhead of command processing and the access data size of write or read. The overhead of the command processing does not depend on the access data size and requires almost constant processing time. Therefore, the smaller the access data size, the larger the overhead of command processing is.

이러한 기록/재생 특성을 갖는 메모리 카드에서는, 요구되는 액세스 성능을 만족하는 데에 충분한 여유를 고려한 데이터 속도로 기록 또는 판독하도록 설계되어 있다. 그 때문에, 현재의 메모리 카드의 읽기/쓰기 기구에서는 메모리 카드의 성능을 한계 끝까지 다 쓸 수가 없다.In a memory card having such a recording / reproducing characteristic, it is designed to record or read at a data rate in consideration of sufficient margin to satisfy the required access performance. Therefore, in the current memory card read / write mechanism, the performance of the memory card cannot be used up to the limit.

<특허문헌 1> 일본 특허 공개 2003-32629호 공보<Patent Document 1> Japanese Unexamined Patent Publication No. 2003-32629

<발명이 해결하고자 하는 과제>Problems to be Solved by the Invention

오늘날 영상 기술의 향상과 영상 장치의 소형화 촉진에 따라서 동화상을 보다 고화질의 상태로 메모리 카드에 기록시켜 두었다가 재생시키고자 하는 요구가 증가되고 있다. 이러한 요구에 부응하기 위해서, 메모리 카드의 데이터의 기록/재생 속도는 증대되는 경향에 있다. 그러나, 소거 블록 크기는 메모리 카드(반도체 플래시 메모리)에 따라 다양하며, 통일된 규격이 존재하지 않는다.Today, with the improvement of image technology and the miniaturization of video devices, there is an increasing demand for recording and reproducing moving images on a memory card in a higher quality state. In order to meet these demands, the recording / reproducing speed of data on the memory card tends to increase. However, the erase block size varies depending on the memory card (semiconductor flash memory), and there is no unified standard.

메모리 카드의 외부 사양은 SD 카드(상표)나 컴팩트 플래시(상표), 메모리 스틱(상표)과 같은 물리 형상이나 인터페이스의 상세한 사양이 규격화되어, 각 사의 기기에서 공통으로 사용할 수 있게 되어 있다. 그러나, 메모리 카드의 내부 사양에서는, 소거 블록 크기가 규정되어 있지 않다. 그렇기 때문에, 임의의 기록 데이터 크기에 대하여 어떠한 내부 동작을 통해 메모리 카드에 데이터 기록이 이루어지는지는 메모리 카드마다 제각각이며, 데이터 액세스 장치로부터는 알 수가 없다.The external specifications of the memory card are standardized in detailed specifications of physical shapes and interfaces such as an SD card (trademark), a compact flash (trademark), and a memory stick (trademark). However, in the internal specification of the memory card, the erase block size is not specified. As a result, it is not possible for each memory card to know what kind of internal data is written to the memory card through any internal operation for any record data size, and it is unknown from the data access device.

이 점이 고속 기록을 필요로 하는 고화질의 동화상 기록에 있어서 종종 문제를 야기하고 있으며, 동일한 규격의 메모리 카드의 경우라 하더라도, 고속 기록이 가능한 카드와 불가능한 카드가 시장에서 난립하고 있다.This often causes problems in high quality moving picture recording requiring high speed recording, and even in the case of memory cards of the same standard, cards capable of high speed recording and impossible cards are struggling in the market.

이것이 예컨대, 다음과 같은 문제점을 일으킨다. 디지털 스틸 카메라에서는, 고속 연속 스냅 사진 성능을 높이기 위해서는 고속 기록이 필요하게 된다. 이러한 특성을 갖는 디지털 스틸 카메라에서는, 고속의 처리가 가능하고 또 최대 연속 스냅 사진 장수에 따른 메모리 용량을 갖는 일시 버퍼 메모리를 카메라에 설치한다. 연속 스냅 사진의 촬영시에는 일시 버퍼에 데이터를 축적한 후에 메모리 카드에 데이터 복사를 함으로써 고속 연속 스냅 사진 성능을 보증하고 있다. 그러나, 이 구조에서는, 촬영 조작이 완료된 뒤부터 메모리 카드에 데이터를 복사하기 때문에, 촬영 조작 완료된 후, 일정 시간은 메모리 카드를 빼낼 수 없다. 만약 촬영 조작 완료된 후, 일정 시간이 경과하기 전에 메모리 카드를 디지털 스틸 카메라로부터 꺼내면, 전송(복사) 도중에 데이터는 파손되어 버린다.This causes, for example, the following problem. In digital still cameras, high-speed recording is required to improve high-speed continuous snapshot performance. In a digital still camera having such a characteristic, a temporary buffer memory capable of high-speed processing and having a memory capacity corresponding to the maximum number of continuous snapshots is provided in the camera. When shooting continuous snapshots, data is stored in a temporary buffer and then copied to a memory card to ensure high speed continuous snapshot performance. However, in this structure, since data is copied to the memory card after the shooting operation is completed, the memory card cannot be removed for a predetermined time after the shooting operation is completed. If the memory card is taken out of the digital still camera after a certain time has elapsed after the shooting operation is completed, the data is damaged during transfer (copying).

이와 같은 메모리 카드를 꺼낼 때의 문제는 일시 버퍼 메모리를 사용하지 않고, 직접 메모리 카드에 기록을 행할 수 있으면 해결된다. 그러나, 메모리 카드의 현재의 규격에 있어서 최저 액세스 성능을 보증하는 것은 곤란하다. 최저 액세스 성능을 현재의 규격에 있어서 보증하려면, 기록 및 판독 속도에 관한 메모리 카드의 성능을 높이면 되지만, 요구되는 최저 액세스 성능은 애플리케이션에 따라서 다르며, 액세스 성능으로서 필요 이상의 성능을 메모리 카드에 탑재하면, 오버스펙에 기인한 메모리 카드의 비용 증가로 이어진다.This problem when removing the memory card can be solved by writing directly to the memory card without using the temporary buffer memory. However, it is difficult to guarantee the lowest access performance in the current standard of the memory card. In order to guarantee the lowest access performance in the current standard, the performance of the memory card regarding the writing and reading speed may be increased. However, the minimum access performance required varies depending on the application. This leads to an increase in the cost of the memory card due to overspec.

오버스펙에 기인한 메모리 카드의 비용 증가를 초래하는 일이 없이, 애플리케이션이 요구하는 기록/재생 데이터 속도를 실현하여, 메모리 카드로의 액세스 성능을 보증하기 위해서는, 메모리 카드의 내부 사양 정보에 기초하여 메모리 카드마다 액세스하는 데이터 크기를 최적으로 제어할 필요가 있다.In order to realize the recording / reproducing data rate required by the application and guaranteeing the access performance to the memory card without incurring an increase in the cost of the memory card due to overspecification, it is based on the internal specification information of the memory card. It is necessary to optimally control the size of data accessed for each memory card.

그러나, 그와 같이 하여 데이터 크기를 최적으로 제어했다고 해도, 오늘날의 메모리 카드에 최적화하여 설계된 데이터 액세스 장치는 성능 향상이 예측되는 미래의 메모리 카드에 대하여 최적의 기록을 할 수 있다는 보증은 없다. 따라서, 메모리 카드의 내부 사양이 변하면, 데이터 액세스 장치 측의 소프트웨어를 버전업하는 등의 처리가 필요하게 된다.However, even in this way, even if the data size is optimally controlled, there is no guarantee that a data access device designed for today's memory card can be optimally written to a future memory card whose performance improvement is expected. Therefore, when the internal specifications of the memory card change, processing such as upgrading the software on the data access device side is required.

이상과 같이, 메모리 카드의 성능을 최대한으로 끌어낸 고속 기록을 필요로 하는 애플리케이션에 대하여, 현재로서는 대응하는 기술이 확립되어 있지 않다.As described above, no corresponding technology is currently established for applications that require high-speed recording that maximizes the performance of the memory card.

<과제를 해결하기 위한 수단>Means for solving the problem

상기 과제를 해결하기 위해서, 본 발명에서는, 단계적으로 증감 가능한 데이터 크기 단위로 데이터가 기록됨과 동시에 데이터가 기록될 때에 있어서 데이터 전송 효율이 상기 데이터 크기에 따라서 변동되는 기록 매체에, 데이터 액세스 장치가 데이터를 기록 및 판독하는 데이터 액세스 장치나 방법을 다음과 같이 구성한다.In order to solve the above problems, according to the present invention, a data access apparatus stores data in a recording medium whose data transfer efficiency varies depending on the data size when data is recorded and data is recorded in incremental increments. A data access device or method for recording and reading the data is configured as follows.

즉, 본 발명에서는,That is, in the present invention,

미리 상기 기록 매체에, 그 기록 매체에 상기 데이터 크기 각각으로 데이터가 기록될 때에 있어서 데이터 전송 효율을 나타내는 파라미터를 기록한다. 그리고, 데이터의 기록 및 판독에 있어서 상기 데이터 액세스 장치가 우선 상기 기록 매체에 파라미터 취득 커맨드를 송신한다. 이어서, 상기 파라미터 취득 커맨드를 수신한 상기 기록 매체가 상기 파라미터를 상기 데이터 액세스 장치로 송신한다. 나아가서는, 상기 파라미터를 수신한 상기 데이터 액세스 장치가 그 데이터 액세스 장치에서 기록 및 판독 대상으로 하는 데이터에서 필요하게 되는 데이터 전송 효율에 상기 파라미터를 대조함으로써, 데이터 기록시에 있어서 최적의 데이터 크기를 설정한다. 그리고, 설정한 상기 최적의 데이터 크기로 상기 데이터 액세스 장치가 상기 기록 매체와의 사이에서 데이터의 기록 및 판독을 행한다.In the recording medium, parameters representing the data transfer efficiency are recorded before data is recorded in each of the data sizes on the recording medium. Then, in recording and reading data, the data access device first sends a parameter acquisition command to the recording medium. Subsequently, the recording medium which has received the parameter acquisition command transmits the parameter to the data access device. Furthermore, by setting the optimum data size at the time of data recording, by matching the parameter with the data transfer efficiency required for the data to be written and read by the data access device receiving the parameter do. Then, the data access device writes and reads data between the recording medium and the optimal data size.

<발명의 효과>Effect of the Invention

본 발명에 따르면, 개개의 기록 매체의 특성에 맞춘 최적의 기록/재생 액세스 성능을 실현하는 것이 가능하게 된다. 나아가서는, 기기 측의 소프트웨어의 버전업을 필요로 하지 않고서 미래의 기록 매체에 대하여 기록/재생 액세스 성능을 보증할 수 있다.According to the present invention, it becomes possible to realize the optimum recording / reproducing access performance in accordance with the characteristics of the individual recording media. Furthermore, the recording / reproducing access performance can be guaranteed for future recording media without the need for software version upgrade on the device side.

도 1은 실시 형태 1에 의한 메모리 카드와 데이터 액세스 장치의 구성도이다.1 is a configuration diagram of a memory card and a data access device according to the first embodiment.

도 2는 메모리 카드에 있어서의 사용자 영역과 시스템 영역의 도면이다.2 is a diagram of a user area and a system area in a memory card.

도 3은 시스템 영역에 기록하는 기록 데이터 크기와 지연 시간의 대응표이다.3 is a correspondence table of the recording data size and the delay time recorded in the system area.

도 4는 실시 형태 1에 있어서의 메모리 카드 및 데이터 액세스 장치의 처리 흐름이다.4 is a process flow of the memory card and the data access device according to the first embodiment.

도 5는 실시 형태 2에 있어서의 메모리 카드와 데이터 액세스 장치의 구성도이다.5 is a configuration diagram of a memory card and a data access device according to the second embodiment.

도 6은 실시 형태 2에 있어서의 메모리 카드 및 데이터 액세스 장치의 처리 흐름이다.6 is a process flow of the memory card and the data access device according to the second embodiment.

도 7a는 기록 데이터 크기와 기록 지연 시간과의 관계를 나타내는 모식도이다.7A is a schematic diagram showing the relationship between the recording data size and the recording delay time.

도 7b는 기록 데이터 크기와 기록 지연 시간과의 관계를 나타내는 모식도이다.7B is a schematic diagram showing the relationship between the recording data size and the recording delay time.

도 8은 커맨드 처리의 오버헤드와 액세스 데이터 크기와의 관계도이다.Fig. 8 is a diagram showing the relationship between the overhead of command processing and the access data size.

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

101 : 메모리 카드101: memory card

102 : 커맨드 해석 수단102: command interpreting means

103 : 지연 파라미터103: delay parameter

104 : 지연 파라미터 판독 수단104: delay parameter reading means

105 : 데이터 액세스 장치105: data access device

106 : 지연 파라미터 판독 커맨드 발행 수단106: delay parameter read command issuing means

107 : 데이터 재생 수단107: data reproduction means

108 : 데이터 기록 수단108: data recording means

109 : 최적의 데이터 크기 선택 수단109: means for selecting the optimal data size

202 : 기억 영역202: storage area

203 : 사용자 영역203: user area

204 : 시스템 영역204 system area

601 : 메모리 카드601 memory card

602 : 커맨드 해석 수단602 command interpreting means

603 : 지연 파라미터603: delay parameter

604 : 지연 파라미터 판독 수단604: delay parameter reading means

605 : 최적의 데이터 크기 선택 수단605: means for selecting the optimal data size

607 : 최적의 데이터 크기 판독 커맨드 발행 수단607: means for issuing an optimum data size read command

608 : 데이터 재생 수단608: data reproduction means

609 : 데이터 기록 수단609: data recording means

(실시 형태 1)(Embodiment 1)

도 1∼도 5를 참조하여 DV 방식의 디지털 비디오 데이터를 실시간 기록하는 시스템 구성을 예로 한 본 발명의 실시 형태 1을 설명한다. 도 1은 메모리 카드형 기록 매체(이하, 메모리 카드라 함)와 데이터 액세스 장치의 관계를 나타내고 있으 며, 기록 매체인 메모리 카드(101)는 데이터 액세스 장치(105)에 대하여 착탈이 자유롭게 장착되는 소형 카드형 기록 매체로서, 커맨드 해석 수단(102), 지연 파라미터(103) 및 지연 파라미터 판독 수단(104)을 갖는다. 각 수단(102, 103, 104)은 메모리 카드(101)에 미리 인스톨된 소프트웨어로 구성된다. 본 실시 형태에서는, 지연 파라미터 판독 수단(104)으로부터 파라미터를 판독하여 데이터 액세스 장치(105)로 송신하는 수단이 구성된다.A first embodiment of the present invention will be described with reference to FIGS. 1 to 5 as an example of a system configuration for real-time recording of DV system digital video data. Fig. 1 shows a relationship between a memory card type recording medium (hereinafter referred to as a memory card) and a data access device. The memory card 101, which is a recording medium, is a small size in which the data access device 105 is detachably mounted. As a card-type recording medium, it has a command analyzing means 102, a delay parameter 103 and a delay parameter reading means 104. Each means 102, 103, 104 is composed of software preinstalled on the memory card 101. In this embodiment, a means for reading a parameter from the delay parameter reading means 104 and transmitting it to the data access device 105 is configured.

데이터 액세스 장치(105)는 지연 파라미터 판독 커맨드 발행 수단(106), 지정 데이터 크기에 의한 데이터 재생 수단(107), 지정 데이터 크기에 의한 데이터 기록 수단(108) 및 최적의 데이터 크기 선택 수단(109)을 갖는다. 지연 파라미터 판독 커맨드 발행 수단(106)은 "파라미터 취득 커맨드를 발행하는 수단"을 구성하고, 최적의 데이터 크기 선택 수단(109)은 "데이터 기록시에 있어서의 데이터 크기를 선택하는 수단"을 구성하고, 데이터 재생 수단(107)과 데이터 기록 수단(108)은 "데이터의 기록 및 판독을 행하는 수단"을 구성한다. 이들 수단은 예컨대, 데이터 액세스 장치(105)에 미리 인스톨되는 소프트웨어로 구성되는데, 데이터 재생 수단(107)이나 데이터 기록 수단(108)의 적어도 일부는 하드웨어로 구성된다.The data access device 105 includes delay parameter read command issuing means 106, data reproducing means 107 by the designated data size, data recording means 108 by the designated data size, and an optimum data size selecting means 109. Has The delay parameter read command issuing means 106 constitutes " means for issuing parameter acquisition commands ", and the optimum data size selecting means 109 constitutes " means for selecting a data size at the time of data writing " The data reproducing means 107 and the data recording means 108 constitute " means for recording and reading data ". These means are constituted, for example, by software preinstalled in the data access device 105, and at least part of the data reproducing means 107 or the data recording means 108 is constituted by hardware.

메모리 카드(101)의 기억 영역(202)은 도 2에 도시한 바와 같이, 사용자 영역(203)과 시스템 영역(204)을 갖는다. 시스템 영역(204)은 메모리 카드(201)의 제조시에 초기 데이터를 기록하는 영역으로서, 사용자가 데이터를 재기록할 수 없는 영역이다. 지연 파라미터(103)는 시스템 영역(204)에 미리 저장되어 있다. 본 실시 형태에서는 시스템 영역(204)으로 파라미터의 기억부가 구성된다.The storage area 202 of the memory card 101 has a user area 203 and a system area 204 as shown in FIG. The system area 204 is an area for recording initial data at the time of manufacture of the memory card 201, and is an area in which the user cannot rewrite data. The delay parameter 103 is stored in advance in the system area 204. In the present embodiment, the storage area for parameters is configured in the system area 204.

도 3은 메모리 카드(구체적으로는 그 내부에 실장되는 반도체 플래시 메모리)에 대한 기록 데이터 크기와 기록 지연 시간과의 관계를 나타내는 테이블(대응표)의 예이다. 이 테이블로부터 데이터 크기 각각으로 데이터가 기록될 때에 있어서 데이터 전송 효율을 나타내는 파라미터(본 실시 형태에서는, 지연 파라미터(103)라 부름)가 구성된다. 도 3에 있어서는, 평균 데이터 속도가 기재되어 있지만, 평균 데이터 속도는 테이블에 포함되지 않는다. 도 3은 이 파라미터에 의해서 평균 데이터 속도가 일률적으로 구해지는 것을 나타내고 있다. 평균 데이터 속도란, 매초마다 어느 만큼의 데이터를 전송할 수 있는지(M Byte/sec)를 나타내는 정보로서, 데이터 전송 효율을 나타내는 정보의 일례이다.3 is an example of a table (corresponding table) showing the relationship between the write data size and the write delay time for a memory card (specifically, a semiconductor flash memory mounted therein). When data is recorded from each of the data sizes from this table, a parameter representing the data transfer efficiency (in this embodiment, referred to as delay parameter 103) is configured. In Fig. 3, the average data rate is described, but the average data rate is not included in the table. 3 shows that the average data rate is determined uniformly by this parameter. The average data rate is information indicating how much data can be transferred (MByte / sec) every second, and is an example of information indicating data transmission efficiency.

기록 지연 시간이란, 상술한 바와 같이 기록/판독 처리 커맨드를 발생시키고 나서 그 처리가 종료될 때까지 걸리는 시간을 나타낸다. 도 3에 도시한 바와 같이, 기록 지연 시간은 데이터 크기에 따라서 변동한다. 데이터 크기가 커지면, 지연 시간은 길어진다. 이 기록 지연 시간으로부터 데이터를 기록 및 판독하는 데 걸리는 시간에 관한 정보를 구성한다.As described above, the write delay time indicates a time taken from generating a write / read processing command and ending the processing. As shown in Fig. 3, the write delay time varies depending on the data size. The larger the data size, the longer the latency. Information relating to the time taken to record and read data from this recording delay time is configured.

지연 파라미터(103)로서 기록되는 기록 데이터 크기는 도 7a, 도 7b에 나타내는 특성으로부터 분명한 바와 같이, 메모리 카드(101)(반도체 플래시 메모리)의 소거 블록 크기(E)의 정수배의 크기로 되어 있다. 메모리 카드(101)에는 지연 파라미터(103)를 판독하기 위한 지연 파라미터 판독 커맨드가 준비되어 있다.The recording data size recorded as the delay parameter 103 is an integer multiple of the erase block size E of the memory card 101 (semiconductor flash memory), as is apparent from the characteristics shown in Figs. 7A and 7B. The memory card 101 is prepared with a delay parameter read command for reading the delay parameter 103.

이하, 도 4의 흐름도를 참조하여 실시 형태 1의 동작 및 데이터 액세스 방법을 설명한다. 우선, 메모리 카드(101)에는 미리 지연 파라미터(103)가 기억된다. 이상의 전처리를 행한 뒤에, 메모리 카드(101)가 데이터 액세스 장치(105)에 장전된다. Hereinafter, the operation and data access method of Embodiment 1 will be described with reference to the flowchart of FIG. 4. First, the delay parameter 103 is stored in advance in the memory card 101. After the above preprocessing, the memory card 101 is loaded into the data access device 105.

DV 방식은 대부분의 가정용 디지털 무비에 채용되어 있는 압축 기록 방식으로서, 데이터는 25 Mbit/초 = 3.125 MByte/초의 데이터 속도로 전송된다. 이 데이터를 실시간으로 코마 누락 없이 메모리 카드(101)에 기록하기 위해서는, 1초 동안에 3.125 MByte의 비율로 도중에 끊기는 일이 없이 데이터를 기록하는 전송 효율이 필요하게 된다. DV 방식의 디지털 비디오 데이터를 실시간으로 기록하는 데이터 액세스 장치(105)는 실시간 데이터 기록이 필요하게 되는 시점보다 시간적으로 전에 있어서, 지연 파라미터 판독 커맨드를 메모리 카드(101)에 발행한다(S401). 메모리 카드(101)에서는, 커맨드 해석 수단(102)이 지연 파라미터 판독 커맨드를 추출하고, 추출된 커맨드에 따라서 시스템 영역(204)으로부터 지연 파라미터(103)를 판독하여 데이터 액세스 장치(105)로 송신한다(S402). 데이터 액세스 장치(105)에서는 최적의 데이터 크기 선택 수단(109)에 있어서, 수신된 지연 파라미터(103)로부터 3.125 MByte/초를 달성할 수 있는 기록 데이터 크기가 선택된다. 예컨대, 도 3에 도시한 바와 같은 지연 파라미터(103)의 값이었다고 가정하면, 데이터 액세스 장치(105)는 DV 방식의 기록 데이터 속도를 보증하려면 128 KB의 데이터 크기(블록)로 기록 처리하면 된다는 것을 판단하여, 그 데이터 크기를 최적의 데이터 크기로서 선택한다(S403).The DV method is a compressed recording method employed in most home digital movies, and data is transmitted at a data rate of 25 Mbit / sec = 3.125 MByte / sec. In order to record this data in real time on the memory card 101 without missing a coma, transfer efficiency for recording data without interruption at a rate of 3.125 MBytes for one second is required. The data access device 105 for recording the DV system digital video data in real time issues a delay parameter read command to the memory card 101 in time before the time point at which real-time data recording is required (S401). In the memory card 101, the command analyzing means 102 extracts a delay parameter read command, reads the delay parameter 103 from the system area 204 in accordance with the extracted command, and transmits it to the data access device 105. (S402). In the data access device 105, in the optimum data size selecting means 109, a recording data size that can achieve 3.125 MBytes / sec is selected from the received delay parameter 103. For example, assuming the value of the delay parameter 103 as shown in FIG. 3, the data access device 105 may record in 128 KB of data size (block) to guarantee the DV data recording data rate. Judgment is made, and the data size is selected as the optimal data size (S403).

구체적으로는, 최적의 데이터 크기 선택 수단(109)은, 지연 파라미터를 구성하는 기록 데이터 크기를 기록 지연 시간으로 제산함으로써 평균 데이터 속도값을 산정한다(평균 데이터 속도값 = 기록 데이터 크기/기록 지연 시간). 또한 최적의 데이터 크기 선택 수단(109)은, 전송하는 데이터 방식 등에 있어서 규정되는 원하는 평균 데이터 속도를 달성할 수 있는 최소의 기록 데이터 크기를 최적의 데이터 크기로서 선택한다. 원하는 평균 데이터 속도가 3.125 MByte/초인 상기한 예에서는, 최적의 데이터 크기 선택 수단(109)은 이 평균 데이터 속도를 상회하지만 최소의 평균 데이터 속도(이 경우는 3.61 MByte/초)가 되는 기록 데이터 크기 128 KB를 최적의 데이터 크기로서 선택한다.Specifically, the optimum data size selecting means 109 calculates an average data rate value by dividing the recording data size constituting the delay parameter by the recording delay time (average data rate value = recording data size / recording delay time). ). Further, the optimum data size selecting means 109 selects as the optimal data size the minimum recorded data size that can achieve the desired average data rate defined in the data system to be transmitted or the like. In the above example where the desired average data rate is 3.125 MBytes / sec, the optimal data size selecting means 109 exceeds the average data rate but the recorded data size becomes the minimum average data rate (3.61 MBytes / sec in this case). 128 KB is selected as the optimal data size.

이러한 데이터 크기의 선택 처리에 기초하여 데이터 액세스 장치(105)[구체적으로는, 최적의 데이터 크기 선택 수단(109)]는 데이터 기록 수단(108)을 128 KB로 액세스를 행하도록 기록 커맨드를 발행한다(S404). 기록 커맨드를 수신한 데이터 기록 수단(108)은 기록 데이터 크기 128 KB에서의 데이터 기록 처리를 메모리 카드(101)에 실행한다(S405). 이에 따라, DV 방식의 디지털 비디오 데이터가 항상 128 KB의 기록 데이터 크기로 메모리 카드(101)에 기록된다.Based on this data size selection process, the data access device 105 (specifically, the optimum data size selection means 109) issues a write command to access the data recording means 108 at 128 KB. (S404). The data recording means 108 which has received the recording command executes the data recording processing on the recording data size 128 KB to the memory card 101 (S405). Accordingly, the DV system digital video data is always recorded in the memory card 101 with a recording data size of 128 KB.

이와 같이 실시 형태 1에서는, 내부의 상세 사양이 다른 메모리 카드(101)라도, 요구 성능을 만족하는 기록 데이터 크기를 최적으로 선택하는 것이 가능하게 되어, 기록 액세스 성능을 보증할 수 있다.As described above, in the first embodiment, even in the memory card 101 having different internal detailed specifications, it is possible to optimally select the size of the recording data that satisfies the required performance, thereby ensuring the recording access performance.

한편, 실시 형태 1에 있어서는 DV 방식의 디지털 비디오 데이터의 기록을 예로서 설명하였지만, 본 발명은 DV 방식의 디지털 비디오 데이터의 기록에 한정되는 것은 아니다. 판독에 관해서도 최적의 데이터 크기를 선택하는 곳까지는 완전히 같으며, 데이터 재생 수단(107)으로 선택된 최적의 데이터 크기를 설정하여 재생 액 세스하는 부분만이 다르다.On the other hand, in the first embodiment, the recording of the DV system digital video data has been described as an example, but the present invention is not limited to the recording of the DV system digital video data. Regarding reading, the same is true to the point where the optimum data size is selected, and only the portions which access the reproduction by setting the optimum data size selected by the data reproducing means 107 are different.

(실시 형태 2)(Embodiment 2)

도 5, 도 6을 참조하여, 본 발명의 실시 형태 2를 설명한다. 한편, 실시 형태 2의 기본 구성은 도 1∼도 4에 나타내는 실시 형태 1과 마찬가지이기 때문에, 이들 구성에 관한 설명을 생략한다.5 and 6, Embodiment 2 of the present invention will be described. In addition, since the basic structure of Embodiment 2 is the same as that of Embodiment 1 shown in FIGS. 1-4, description regarding these structures is abbreviate | omitted.

도 5는 메모리 카드와 데이터 액세스 장치의 관계를 도시한다. 메모리 카드(601)는 커맨드 해석 수단(602), 지연 파라미터(603), 지연 파라미터 판독 수단(604) 및 최적의 데이터 크기 선택 수단(605)을 갖는다. 각 수단(602, 604, 605)은 메모리 카드(601)에 미리 인스톨된 소프트웨어로 구성딘다. 데이터 액세스 장치(606)는 최적의 데이터 크기 판독 커맨드 발행 수단(607), 지정 데이터 크기에 의한 데이터 재생 수단(608) 및 지정 데이터 크기에 의한 데이터 기록 수단(609)을 갖는다. 이들 수단(606∼609)은 예컨대, 데이터 액세스 장치(606)에 미리 인스톨되는 소프트웨어로 구성된다. 데이터 재생 수단(608)이나 데이터 기록 수단(609)의 적어도 일부는 하드웨어로 구성된다.5 shows a relationship between a memory card and a data access device. The memory card 601 has a command interpreting means 602, a delay parameter 603, a delay parameter reading means 604, and an optimum data size selecting means 605. Each of the means 602, 604, and 605 is made up of software pre-installed on the memory card 601. The data access device 606 has an optimum data size read command issuing means 607, data reproducing means 608 by the designated data size, and data recording means 609 by the designated data size. These means 606 to 609 are constituted of, for example, software that is preinstalled in the data access device 606. At least part of the data reproducing means 608 or the data recording means 609 is made of hardware.

최적의 데이터 크기 판독 커맨드 발행 수단(607)은 "데이터 액세스 장치에서 기록 및 판독 대상으로 하는 데이터에서 필요하게 되는 필요한 데이터 전송 효율을 나타내는 정보를 기록 매체에 송신하는 수단"을 구성한다. 또한, 데이터 재생 수단(608)과 데이터 기록 수단(609)은 "필요한 데이터 전송 효율을 나타내는 정보를 수신한 기록 매체가 송신하는 최적의 데이터 크기를 나타내는 정보에 기초하여 데이터 기록시에 있어서의 데이터 크기를 설정하여 그 데이터 크기로 상기 기록 매체 와의 사이에서 데이터의 기록 및 판독을 행하는 수단"을 구성한다. 또한, 최적의 데이터 크기 판독 커맨드는, “필요한 데이터 전송 효율을 나타내는 정보"를 구성한다.The optimum data size read command issuing means 607 constitutes "means for transmitting to the recording medium information indicating the required data transfer efficiency required for data to be recorded and read in the data access apparatus". The data reproducing means 608 and the data recording means 609 are " data size at the time of data recording on the basis of information indicating the optimal data size transmitted by the recording medium which has received the information indicating the required data transmission efficiency. And means for performing data recording and reading to and from the recording medium at the data size thereof. In addition, the optimum data size read command constitutes "information indicating required data transfer efficiency".

지연 파라미터 판독 수단(104)은 "데이터 액세스 장치가 송신하는 필요한 데이터 전송 효율을 나타내는 정보를 수신하여 기억부에 기억된 파라미터에 대조함으로써 데이터 기록시에 있어서 최적의 데이터 크기를 선택하는 수단"과, "선택된 최적의 데이터 크기를 나타내는 정보를 데이터 액세스 장치에 송신하는 수단"을 구성한다.The delay parameter reading means 104 includes " means for selecting an optimal data size at the time of data recording by receiving information indicating the required data transfer efficiency transmitted by the data access device and matching the parameter stored in the storage unit " &Quot; means for transmitting information indicating the selected optimal data size to the data access device ".

실시 형태 2에서는, 실시 형태 1에 있어서의 지연 파라미터 판독 커맨드 대신에, 원하는 지연 시간을 인수로 하는 최적의 데이터 크기 판독 커맨드를 작성하여 메모리 카드(601)에 미리 기억시키고 있으며, 나아가서는 최적의 데이터의 선택을 행하는 수단인 최적의 데이터 크기 선택 수단(605)을 메모리 카드(601)에 설치하고 있고, 이들 점에 있어서 실시 형태 1과 다르다.In the second embodiment, instead of the delay parameter read command in the first embodiment, an optimal data size read command having a desired delay time is created and stored in advance in the memory card 601. An optimal data size selecting means 605, which is a means for selecting a, is provided in the memory card 601, and differs from the first embodiment in these respects.

이하, 도 6의 흐름도를 참조하여 실시 형태 2의 동작 및 데이터 액세스 방법을 설명한다. 우선, 메모리 카드(601)에는 미리 지연 파라미터(103)가 기억된다. 이상의 전처리를 행한 뒤에, 메모리 카드(601)가 데이터 액세스 장치(606)에 장전된다.Hereinafter, an operation and a data access method of Embodiment 2 will be described with reference to the flowchart of FIG. 6. First, the delay parameter 103 is stored in advance in the memory card 601. After the above preprocessing, the memory card 601 is loaded into the data access device 606.

이어서, DV 방식의 디지털 비디오 데이터를 실시간으로 기록하는 데이터 액세스 장치(606)는 메모리 카드(601)에 원하는 평균 데이터 속도를 인수로 하는 최적의 데이터 크기 판독 커맨드를 발행한다(S601). 최적의 데이터 크기 판독 커맨드 는 상술한 바와 같이, 필요한 데이터 전송 효율을 나타내는 정보를 구성하고 있다. 이 커맨드는 구체적으로는, 메모리 카드(601)와의 사이에서 전송하는 데이터 방식에 있어서 필요하게 되는 데이터 전송 효율을 나타낸다. 최적의 데이터 크기 판독 커맨드 발행 수단(607)은 메모리 카드(601)와의 사이에서 전송하는 데이터 방식 등의 정보로부터 그 데이터 전송에 최적이 되는 데이터 크기를 나타내는 최적의 데이터 크기 판독 커맨드를 생성하여 발행한다.Subsequently, the data access device 606 for recording the DV system digital video data in real time issues an optimal data size read command taking the desired average data rate as a factor to the memory card 601 (S601). The optimal data size read command constitutes information indicating required data transfer efficiency, as described above. This command specifically shows the data transfer efficiency required in the data system to be transferred between the memory card 601. The optimum data size read command issuing means 607 generates and issues an optimal data size read command indicating the data size that is optimal for the data transfer from information such as a data system transferred between the memory card 601 and the like. .

메모리 카드(601)에서는, 커맨드 해석 수단(602)의 커맨드 해석에 기초하여 최적의 데이터 크기 판독 커맨드를 판독한다. 지연 파라미터 판독 수단(604)은 판독한 판독 커맨드에 따라서, 시스템 영역(204)에 기록되어 있는 지연 파라미터(603)를 판독한다(S602). 최적의 데이터 크기 선택 수단(605)은 판독한 지연 파라미터(603)에 기초하여 평균 데이터 속도값을 계산한다. 지연 파라미터(603)는 실시 형태 1과 마찬가지로, 예컨대, 설정 가능한 기록 데이터 크기와 이들 기록 데이터 크기 각각에 있어서의 지연 시간과의 관계를 나타내는 테이블(대상표)로 구성된다.In the memory card 601, an optimal data size read command is read based on the command interpretation of the command analyzing means 602. The delay parameter reading means 604 reads the delay parameter 603 recorded in the system area 204 in accordance with the read command that has been read (S602). The optimum data size selection means 605 calculates an average data rate value based on the read delay parameter 603. As in the first embodiment, the delay parameter 603 is constituted of, for example, a table (target table) indicating the relationship between the settable record data sizes and the delay time in each of these record data sizes.

최적의 데이터 크기 선택 수단(605)은 기록 데이터 크기를 지연 시간으로 제산함으로써 평균 데이터 속도값을 산정한다(평균 데이터 속도값 = 기록 데이터 크기/지연 시간). 또한 최적의 데이터 크기 선택 수단(605)은 최적의 데이터 크기 판독 커맨드에 있어서의 인수로 지정되는 원하는 평균 데이터 속도를 달성할 수 있는 최소의 기록 데이터 크기를 최적의 데이터 크기로서 선택한다(S603). 예컨대, 상기 인수로 지정되는 원하는 평균 데이터 속도가 3.125 MByte/초인 경우, 최적의 데이 터 크기 선택 수단(605)은 이 평균 데이터 속도를 상회하지만 최소의 평균 데이터 속도(이 경우는 3.61 MByte/초)가 되는 기록 데이터 크기 128 KB를 최적의 데이터 크기로서 선택한다.The optimum data size selecting means 605 calculates the average data rate value by dividing the recording data size by the delay time (average data rate value = recording data size / delay time). In addition, the optimum data size selection means 605 selects as the optimal data size the minimum write data size that can achieve the desired average data rate specified by the argument in the optimum data size read command (S603). For example, if the desired average data rate specified by the argument is 3.125 MBytes / sec, the optimal data size selecting means 605 will exceed this average data rate but the minimum average data rate (in this case 3.61 MBytes / sec) 128 KB of recording data size is selected as the optimal data size.

최적의 데이터 크기 선택 수단(605)은 선택한 최적의 데이터 크기를 나타내는 정보를 데이터 액세스 장치(606)로 송신한다. 데이터 액세스 장치(606)는 최적의 데이터 크기 판독 커맨드 발행 수단(607)에 의해 발행된 최적의 데이터 크기 판독 커맨드의 반환값으로서, 원하는 데이터 속도에 의한 기록을 보증하는 기록 데이터 크기(상술한 예에서는, 128 KB)를 나타내는 정보를 메모리 카드(601)로부터 수신하여 취득한다. 이에 따라, 데이터 액세스 장치(606)는 데이터 기록 수단(609)이나 데이터 재생 수단(608)에 128 KB에서의 액세스를 행하는 기록 커맨드를 발생시키고(S604), 기록 커맨드를 수신한 데이터 기록 수단(609)은 항상 128 KB의 기록 데이터 크기로 DV 방식의 디지털 비디오 데이터를 메모리 카드(601)에 기록 액세스한다(S605).The optimum data size selection means 605 transmits information indicating the selected optimal data size to the data access device 606. The data access device 606 is a return value of the optimum data size read command issued by the optimum data size read command issuing means 607, and records data size that guarantees recording at a desired data rate (in the example described above). , 128 KB) is received from the memory card 601 and obtained. Accordingly, the data access device 606 generates a recording command for accessing the data recording means 609 or the data reproducing means 608 at 128 KB (S604), and the data recording means 609 for receiving the recording command. ) Always accesses the DV system digital video data to the memory card 601 with a recording data size of 128 KB (S605).

이와 같이 본 발명에 따르면 내부의 상세 사양이 다른 메모리 카드에 있어서도, 요구 성능을 만족하는 기록 데이터 크기를 최적으로 선택하는 것이 가능하게 되어, 기록 액세스 성능을 보증할 수 있다.As described above, according to the present invention, even in a memory card having different internal detailed specifications, it is possible to optimally select the recording data size that satisfies the required performance, thereby ensuring the recording access performance.

한편, 실시 형태 2에 있어서는 DV 방식의 디지털 비디오 데이터의 기록을 예로 들었지만, 본 발명은 DV 방식의 디지털 비디오 데이터의 기록에 한정되는 것이 아니다. 판독에 관해서도 최적의 데이터 크기를 선택하는 곳까지는 완전히 마찬가지이며, 지정 데이터 크기에 의한 데이터 재생 수단(608)으로 선택된 최적의 데이 터 크기를 설정하여 재생 액세스하는 부분만이 다르다.On the other hand, in the second embodiment, recording of DV video digital video data is taken as an example, but the present invention is not limited to recording DV video digital video data. Regarding reading, the same applies to the selection of the optimum data size, and only the part which accesses reproduction by setting the optimal data size selected by the data reproducing means 608 by the designated data size is different.

본 발명은 비휘발성 메모리를 내부에 실장하는 메모리 카드를 기록 매체로 하여, 기록/재생의 액세스 성능을 보증이 필요하게 되는 애플리케이션에서 이용할 수 있다.According to the present invention, a memory card having a non-volatile memory mounted therein as a recording medium can be used in applications where the access performance of recording / reproducing is required.

Claims (18)

단계적으로 증감 가능한 데이터 크기 단위로 데이터가 기록됨과 동시에 데이터가 기록될 때에 있어서 데이터 전송 효율이 상기 데이터 크기에 따라서 변동하고 상기 데이터 크기 각각으로 데이터가 기록될 때에 있어서 데이터 전송 효율을 나타내는 파라미터가 기록된 기록 매체에, 데이터를 기록 및 판독하는 데이터 액세스 장치로서,When data is recorded in incremental incremental data size units, the data transfer efficiency varies with the data size when data is recorded, and when the data is recorded with each of the data sizes, a parameter representing the data transfer efficiency is recorded. A data access apparatus for recording and reading data on a recording medium, 상기 기록 매체에 파라미터 취득 커맨드를 발행하는 수단과;Means for issuing a parameter acquisition command to the recording medium; 상기 파라미터 취득 커맨드를 수신한 상기 기록 매체가 송신하는 상기 파라미터를, 상기 데이터 액세스 장치에서 기록 및 판독 대상으로 하는 데이터에서 필요하게 되는 데이터 전송 효율과 대조함으로써, 데이터 기록시에 있어서 최적의 데이터 크기를 선택하는 수단과;By matching the parameter transmitted by the recording medium which has received the parameter acquisition command with the data transfer efficiency required for data to be recorded and read by the data access device, an optimal data size is obtained during data recording. Means for selecting; 선택된 최적의 데이터 크기로 상기 기록 매체와의 사이에서 데이터의 기록 및 판독을 행하는 수단Means for recording and reading data from and to the recording medium at a selected optimal data size 을 포함하는 데이터 액세스 장치.Data access device comprising a. 제1항에 기재한 데이터 액세스 장치에 의해 단계적으로 증감 가능한 데이터 크기 단위로 데이터가 기록 및 판독되는 기록 매체로서,A recording medium in which data is recorded and read in units of data sizes that can be incrementally increased or decreased by the data access apparatus according to claim 1, 상기 파라미터가 기록된 기억부와; A storage unit in which the parameter is recorded; 상기 데이터 액세스 장치가 송신하는 상기 파라미터 취득 커맨드를 수신하 여, 상기 기억부에 기억하고 있는 상기 파라미터를 판독하여 상기 데이터 액세스 장치로 송신하는 수단Means for receiving the parameter acquisition command sent by the data access device, reading the parameter stored in the storage unit, and transmitting it to the data access device. 을 포함하는 기록 매체.Recording medium comprising a. 제1항에 있어서, 상기 파라미터는, 상기 데이터 크기와, 상기 데이터 크기로 데이터를 상기 기록 매체에 기록 및 판독하는 데에 걸리는 시간에 관한 정보를 서로 대응시킨 테이블인 것인 데이터 액세스 장치.The data access apparatus according to claim 1, wherein the parameter is a table in which the data size and the data size correspond to each other information on the time taken to write and read data to and from the recording medium. 제1항에 있어서, 상기 기록 매체는 반도체 메모리이고,The recording medium of claim 1, wherein the recording medium is a semiconductor memory, 상기 데이터 크기는 상기 기록 매체의 소거 블록 크기의 정수배의 크기인 것인 데이터 액세스 장치.And the data size is an integer multiple of the erase block size of the recording medium. 제1항에 있어서, 상기 기록 매체는 데이터 액세스 장치에 대하여 착탈이 자유롭게 장착되는 카드형 기록 매체인 것인 데이터 액세스 장치.The data access apparatus according to claim 1, wherein the recording medium is a card-type recording medium detachably attached to the data access apparatus. 단계적으로 증감 가능한 데이터 크기 단위로 데이터가 기록됨과 동시에 데이터가 기록될 때에 있어서 데이터 전송 효율이 상기 데이터 크기에 따라서 변동하고, 상기 데이터 크기 각각으로 데이터가 기록될 때에 있어서 데이터 전송 효율을 나타내는 파라미터가 기록된 기록 매체에, 데이터를 기록 및 판독하는 데이터 액세스 장치로서,When data is recorded in incremental increments of data size and at the same time data is recorded, the data transfer efficiency varies according to the data size, and when data is recorded in each of the data sizes, a parameter indicating the data transfer efficiency is recorded. A data access apparatus for recording and reading data on a recorded recording medium, 상기 데이터 액세스 장치에서 기록 및 판독 대상으로 하는 데이터에서 필요하게 되는 필요한 데이터 전송 효율을 나타내는 정보를 상기 기록 매체에 송신하는 수단과;Means for transmitting to the recording medium information indicative of necessary data transmission efficiency required for data to be recorded and read in the data access apparatus; 상기 필요한 데이터 전송 효율을 나타내는 정보를 수신한 상기 기록 매체가 송신하는 최적의 데이터 크기를 나타내는 정보에 기초하여 데이터 기록시에 있어서의 데이터 크기를 설정하여, 상기 데이터 크기로 상기 기록 매체와의 사이에서 데이터의 기록 및 판독을 행하는 수단The data size at the time of data recording is set on the basis of the information indicating the optimal data size transmitted by the recording medium which has received the information indicating the required data transfer efficiency, and the data size is used as the data size. Means for writing and reading data 을 포함하는 데이터 액세스 장치.Data access device comprising a. 제6항에 기재한 데이터 액세스 장치에 의해 단계적으로 증감 가능한 데이터 크기 단위로 데이터가 기록 및 판독되는 기록 매체로서,A recording medium in which data is recorded and read in units of data sizes that can be incrementally increased or decreased by the data access device according to claim 6, 상기 파라미터가 기록된 기억부와;A storage unit in which the parameter is recorded; 상기 데이터 액세스 장치가 송신하는 상기 필요한 데이터 전송 효율을 나타내는 정보를 수신하여, 상기 필요한 데이터 전송 효율을 나타내는 정보를 상기 기억부에 기억된 파라미터와 대조함으로써, 데이터 기록시에 있어서 최적의 데이터 크기를 선택하는 수단과;The optimum data size is selected at the time of data recording by receiving the information indicating the necessary data transmission efficiency transmitted by the data access device and matching the information indicating the necessary data transmission efficiency with the parameter stored in the storage unit. Means for doing so; 선택된 최적의 데이터 크기를 나타내는 정보를, 상기 데이터 액세스 장치로 송신하는 수단Means for transmitting to the data access device information indicative of the selected optimal data size. 을 포함하는 기록 매체.Recording medium comprising a. 제6항에 있어서, 상기 파라미터는, 상기 데이터 크기와, 상기 데이터 크기로 데이터를 상기 기록 매체에 기록 및 판독하는 데에 걸리는 시간에 관한 정보를 서로 대응시킨 테이블인 것인 데이터 액세스 장치.The data access apparatus according to claim 6, wherein the parameter is a table in which the data size and the data size correspond to each other information on the time taken to write and read data to and from the recording medium. 제6항에 있어서, 상기 기록 매체는 반도체 메모리이고,The recording medium of claim 6, wherein the recording medium is a semiconductor memory; 상기 데이터 크기는 상기 기록 매체의 소거 블록 크기의 정수배의 크기인 것인 데이터 액세스 장치.And the data size is an integer multiple of the erase block size of the recording medium. 제6항에 있어서, 상기 기록 매체는 데이터 액세스 장치에 대하여 착탈이 자유롭게 장착되는 카드형 기록 매체인 것인 데이터 액세스 장치.7. The data access apparatus according to claim 6, wherein the recording medium is a card-type recording medium detachably attached to the data access apparatus. 단계적으로 증감 가능한 데이터 크기 단위로 데이터가 기록됨과 동시에 데이터가 기록될 때에 있어서 데이터 전송 효율이 상기 데이터 크기에 따라서 변동하는 기록 매체에, 데이터 액세스 장치가 데이터를 기록 및 판독하는 데이터 액세스 방법으로서,A data access method in which a data access device writes and reads data on a recording medium whose data transfer efficiency varies in accordance with the data size when data is recorded at the same time as data is recorded in incremental increments. 미리 상기 기록 매체에, 그 기록 매체에 상기 데이터 크기 각각으로 데이터가 기록될 때에 있어서 데이터 전송 효율을 나타내는 파라미터를 기록하는 단계와;Recording a parameter indicative of data transfer efficiency in advance when data is recorded in each of the data sizes on the recording medium; 데이터의 기록 및 판독을 행함에 있어서 상기 데이터 액세스 장치가 상기 기록 매체에 파라미터 취득 커맨드를 송신하는 단계와;Transmitting, by the data access apparatus, a parameter acquisition command to the recording medium in recording and reading data; 상기 파라미터 취득 커맨드를 수신한 상기 기록 매체가 상기 파라미터를 상 기 데이터 액세스 장치로 송신하는 단계와;The recording medium receiving the parameter acquisition command sending the parameter to the data access device; 상기 파라미터를 수신한 상기 데이터 액세스 장치가 그 데이터 액세스 장치에서 기록 및 판독 대상으로 하는 데이터에서 필요하게 되는 데이터 전송 효율에 상기 파라미터를 대조함으로써, 데이터 기록시에 있어서 최적의 데이터 크기를 설정하는 단계와;Setting the optimum data size at the time of data recording by matching the parameter to the data transfer efficiency required for the data to be written and read by the data access device receiving the parameter; ; 상기 데이터 액세스 장치가 설정된 상기 최적의 데이터 크기로 상기 기록 매체와의 사이에서 데이터의 기록 및 판독을 행하는 단계The data access device performing recording and reading of data between the recording medium and the optimal data size set; 를 포함하는 데이터 액세스 방법.Data access method comprising a. 제11항에 있어서, 상기 파라미터는, 상기 데이터 크기와, 상기 데이터 크기로 데이터를 상기 기록 매체에 대하여 기록 및 판독하는 데에 걸리는 시간에 관한 정보를 서로 대응시킨 테이블인 것인 데이터 액세스 방법.12. The data access method according to claim 11, wherein the parameter is a table in which the data size and the data size correspond to each other information on the time taken to record and read data to and from the recording medium. 제11항에 있어서, 상기 기록 매체는 반도체 메모리이고,12. The apparatus of claim 11, wherein the recording medium is a semiconductor memory, 상기 데이터 크기는 상기 기록 매체의 소거 블록 크기의 정수배의 크기인 것인 데이터 액세스 방법.And the data size is an integer multiple of the erase block size of the recording medium. 제11항에 있어서, 상기 기록 매체는 데이터 액세스 장치에 대하여 착탈이 자유롭게 장착되는 카드형 기록 매체인 것인 데이터 액세스 방법.12. The data access method according to claim 11, wherein the recording medium is a card-type recording medium detachably attached to the data access device. 단계적으로 증감 가능한 데이터 크기 단위로 데이터가 기록됨과 동시에 데이터가 기록될 때에 있어서 데이터 전송 효율이 상기 데이터 크기에 따라서 변동하는 기록 매체에, 데이터 액세스 장치가 데이터를 기록 및 판독하는 데이터 액세스 방법으로서,A data access method in which a data access device writes and reads data on a recording medium whose data transfer efficiency varies in accordance with the data size when data is recorded at the same time as data is recorded in incremental increments. 미리 상기 기록 매체에, 그 기록 매체에 상기 데이터 크기 각각으로 데이터가 기록될 때에 있어서 데이터 전송 효율을 나타내는 파라미터를 기록하는 단계와;Recording a parameter indicative of data transfer efficiency in advance when data is recorded in each of the data sizes on the recording medium; 데이터의 기록 및 판독을 행함에 있어서 상기 데이터 액세스 장치가, 그 데이터 액세스 장치에서 기록 및 판독 대상으로 하는 데이터에서 필요하게 되는 필요한 데이터 전송 효율을 나타내는 정보를 상기 기록 매체에 송신하는 단계와;Transmitting, by the data access apparatus, information indicating necessary data transfer efficiency required for data to be recorded and read in the data access apparatus, to the recording medium in performing data recording and reading; 상기 필요한 데이터 전송 효율을 나타내는 정보를 수신한 상기 기록 매체가, 상기 필요한 데이터 전송 효율을 나타내는 정보를 상기 파라미터와 대조함으로써, 데이터 기록시에 있어서 최적의 데이터 크기를 선택하는 단계와;Selecting, by the recording medium which has received the information indicating the required data transmission efficiency, an optimal data size during data recording by matching the information indicating the required data transmission efficiency with the parameter; 상기 기록 매체가 선택된 상기 최적의 데이터 크기를 나타내는 정보를 상기 데이터 액세스 장치로 송신하는 단계와;Transmitting information indicating the optimal data size selected by the recording medium to the data access device; 상기 최적의 데이터 크기를 나타내는 정보를 수신한 상기 데이터 액세스 장치가, 상기 최적의 데이터 크기를 나타내는 정보에 기초하여 데이터 기록시에 있어서의 데이터 크기를 설정하여 상기 기록 매체와의 사이에서 데이터의 기록 및 판독을 행하는 단계The data access device, having received the information indicating the optimal data size, sets the data size at the time of data recording based on the information indicating the optimal data size, and records the data with the recording medium. Step of reading 를 포함하는 데이터 액세스 방법.Data access method comprising a. 제15항에 있어서, 상기 파라미터는, 상기 데이터 크기와, 상기 데이터 크기로 데이터를 상기 기록 매체에 기록 및 판독하는 데에 걸리는 시간에 관한 정보를 서로 대응시킨 테이블인 것인 데이터 액세스 방법.16. The data access method according to claim 15, wherein the parameter is a table in which the data size and the data size correspond to information on the time taken to write and read data to and from the recording medium. 제15항에 있어서, 상기 기록 매체는 반도체 메모리이고,16. The recording medium according to claim 15, wherein the recording medium is a semiconductor memory, 상기 데이터 크기는 상기 기록 매체의 소거 블록 크기의 정수배의 크기인 것인 데이터 액세스 방법.And the data size is an integer multiple of the erase block size of the recording medium. 제15항에 있어서, 상기 기록 매체는 데이터 액세스 장치에 대하여 착탈이 자유롭게 장착되는 카드형 기록 매체인 것인 데이터 액세스 방법. 16. The data access method according to claim 15, wherein the recording medium is a card-type recording medium detachably attached to the data access device.
KR1020067014160A 2004-05-07 2005-04-27 Method for accessing data, apparatus and recording medium for performing that method KR100775885B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020067014160A KR100775885B1 (en) 2004-05-07 2005-04-27 Method for accessing data, apparatus and recording medium for performing that method

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JPJP-P-2004-00138614 2004-05-07
KR1020067014160A KR100775885B1 (en) 2004-05-07 2005-04-27 Method for accessing data, apparatus and recording medium for performing that method

Publications (2)

Publication Number Publication Date
KR20070017985A true KR20070017985A (en) 2007-02-13
KR100775885B1 KR100775885B1 (en) 2007-11-15

Family

ID=41636685

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020067014160A KR100775885B1 (en) 2004-05-07 2005-04-27 Method for accessing data, apparatus and recording medium for performing that method

Country Status (1)

Country Link
KR (1) KR100775885B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20170114837A (en) * 2016-04-06 2017-10-16 에스케이하이닉스 주식회사 Data processing system and operating method of data processing system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06350907A (en) * 1993-06-07 1994-12-22 Fuji Photo Film Co Ltd Electronic still camera
JPH11149352A (en) 1997-11-17 1999-06-02 Hitachi Ltd Data transfer controller and video recorder

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20170114837A (en) * 2016-04-06 2017-10-16 에스케이하이닉스 주식회사 Data processing system and operating method of data processing system

Also Published As

Publication number Publication date
KR100775885B1 (en) 2007-11-15

Similar Documents

Publication Publication Date Title
JP4392601B2 (en) Data access device and recording medium
JP3825465B2 (en) Memory card and memory card system
KR100345632B1 (en) A memory device and a method for controlling the same
US20090157756A1 (en) File System For Storing Files In Multiple Different Data Storage Media
US20080288710A1 (en) Semiconductor Memory Device and Its Control Method
KR20060114698A (en) File recording device
JP4722704B2 (en) INFORMATION RECORDING MEDIUM, ACCESS DEVICE AND ACCESS METHOD FOR INFORMATION RECORDING MEDIUM
US20070168605A1 (en) Information storage device and its control method
US7913029B2 (en) Information recording apparatus and control method thereof
US20070168603A1 (en) Information recording apparatus and control method thereof
US20050286855A1 (en) Data recording apparatus
JPWO2008013227A1 (en) Nonvolatile storage device, access device, and nonvolatile storage system
US8572307B2 (en) Memory controller, memory card, and nonvolatile memory system
JP4608434B2 (en) Data processing apparatus and data recording method for information recording medium
US7613892B2 (en) Recording device, recording method, recording medium, and program
KR100775885B1 (en) Method for accessing data, apparatus and recording medium for performing that method
US7480749B1 (en) Main memory as extended disk buffer memory
JP4211563B2 (en) Playback / recording device
CN113785308A (en) Recording apparatus, recording method, program, and memory card
WO2018186455A1 (en) Available-space management method for nonvolatile memory, access device which stores data to information storage device with nonvolatile memory, information storage device, and information storage system
US20080120464A1 (en) Apparatus and method for managing data
US20210303212A1 (en) Data processing method and memory controller utilizing the same
JP4219299B2 (en) Recording device cache method and data recording apparatus
JP4972909B2 (en) Data recording device
US20050015542A1 (en) Multiple write storage 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: 20121019

Year of fee payment: 6

FPAY Annual fee payment

Payment date: 20131018

Year of fee payment: 7

FPAY Annual fee payment

Payment date: 20141022

Year of fee payment: 8

FPAY Annual fee payment

Payment date: 20151016

Year of fee payment: 9

FPAY Annual fee payment

Payment date: 20161020

Year of fee payment: 10

FPAY Annual fee payment

Payment date: 20171018

Year of fee payment: 11

FPAY Annual fee payment

Payment date: 20181022

Year of fee payment: 12