[go: up one dir, main page]

JP2009059190A - Cache system, data recording apparatus, program, and control method of cache system - Google Patents

Cache system, data recording apparatus, program, and control method of cache system Download PDF

Info

Publication number
JP2009059190A
JP2009059190A JP2007226271A JP2007226271A JP2009059190A JP 2009059190 A JP2009059190 A JP 2009059190A JP 2007226271 A JP2007226271 A JP 2007226271A JP 2007226271 A JP2007226271 A JP 2007226271A JP 2009059190 A JP2009059190 A JP 2009059190A
Authority
JP
Japan
Prior art keywords
data
cache
cache memory
access
storage medium
Prior art date
Legal status (The legal status 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 status listed.)
Withdrawn
Application number
JP2007226271A
Other languages
Japanese (ja)
Inventor
Norinao Hagiwara
典尚 萩原
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
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 Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP2007226271A priority Critical patent/JP2009059190A/en
Publication of JP2009059190A publication Critical patent/JP2009059190A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Memory System Of A Hierarchy Structure (AREA)

Abstract

【課題】記憶媒体に対するデータ記録を行う際に、効率よく処理の高速化が可能なキャッシュシステムを提供すること。
【解決手段】ファイルシステム30を介して記憶媒体60に対してデータの記録を行うデータ記録装置1に搭載されるキャッシュシステム90であって、セクタ単位でデータを保持する複数のエントリを含むキャッシュメモリ10と、ファイルシステムからのアクセス要求に基づき、前記キャッシュメモリに対するキャッシュヒット/ミスの判定を行い判定結果に応じて前記キャッシュメモリ及び前記記憶媒体の少なくとも一方にアクセスを行うキャッシュ制御部20とを含む。キャッシュ制御部は、ファイルシステムからのアクセス要求にかかるアクセスコマンドを受け取り、当該アクセスコマンドに基づき、アクセス対象のデータサイズが所定の条件を満たすか否か判断し、判断結果に基づき、前記キャッシュメモリに対するアクセスをスルーする制御を行う。
【選択図】 図1
Provided is a cache system capable of efficiently accelerating processing when recording data on a storage medium.
A cache system 90 is mounted on a data recording apparatus 1 that records data on a storage medium 60 via a file system 30 and includes a plurality of entries that hold data in units of sectors. 10 and a cache control unit 20 that determines a cache hit / miss for the cache memory based on an access request from the file system and accesses at least one of the cache memory and the storage medium according to the determination result. . The cache control unit receives an access command relating to an access request from the file system, determines whether the data size to be accessed satisfies a predetermined condition based on the access command, and determines whether the cache memory is Control through access.
[Selection] Figure 1

Description

本発明は、キャッシュシステム、データ記録装置、プログラム及びキャッシュシステムの制御方法に関する。   The present invention relates to a cache system, a data recording apparatus, a program, and a control method for the cache system.

カメラモジュールやオーディオモジュールからの入力データを受け取り、一旦SDRAM等に記憶した後、所定のイベント発生時には不揮発性の記憶媒体(例えばCF/SDカード)等に保存するデータ記録装置が内蔵されたドライブレコーダや監視カメラシステムが知られている。
特開2002−209173号
A drive recorder incorporating a data recording device that receives input data from a camera module or audio module, temporarily stores it in an SDRAM, etc., and then saves it in a nonvolatile storage medium (for example, a CF / SD card) when a predetermined event occurs And surveillance camera systems are known.
JP 2002-209173 A

かかるデータ記録装置では、汎用のファイルシステムを用いて不揮発性の記憶媒体へ多量の画像データファイルの書き込み処理が行われることも多い。ところがファイルシステムがデータの書き込みを行う場合には、書き込み可能領域を検索するためのリード動作もファイル毎に行われるため、不揮発性の記憶媒体(例えばCF/SDカード)へのアクセス回数が多くなり、処理速度も遅くなる。   In such a data recording apparatus, a large number of image data files are often written to a nonvolatile storage medium using a general-purpose file system. However, when the file system writes data, a read operation for searching for a writable area is also performed for each file, so that the number of accesses to a nonvolatile storage medium (for example, a CF / SD card) increases. The processing speed is also slowed down.

本発明は以上の問題点に鑑みてなされたものであり、その目的とするところは、記憶媒体に対するデータ記録を行う際に、効率よく処理の高速化が可能なキャッシュシステムを提供することである。   The present invention has been made in view of the above problems, and an object of the present invention is to provide a cache system capable of efficiently accelerating processing when recording data on a storage medium. .

(1)本発明は、
ファイルシステムを介して記憶媒体に対してデータの記録を行うデータ記録装置に搭載されるキャッシュシステムであって、
セクタ単位でデータを保持する複数のエントリを含むキャッシュメモリと、
ファイルシステムからのアクセス要求に基づき、前記キャッシュメモリに対するキャッシュヒット/ミスの判定を行い判定結果に応じて前記キャッシュメモリ及び前記記憶媒体の少なくとも一方にアクセスを行うキャッシュ制御部とを含み、
前記キャッシュ制御部は、
ファイルシステムからのアクセス要求にかかるアクセスコマンドを受け取り、当該アクセスコマンドに基づき、アクセス対象のデータサイズが所定の条件を満たすか否か判断し、判断結果に基づき、前記キャッシュメモリに対するアクセスをスルーする制御を行うことを特徴とする。
(1) The present invention
A cache system mounted on a data recording apparatus that records data on a storage medium via a file system,
A cache memory including a plurality of entries that hold data in units of sectors;
A cache control unit that determines a cache hit / miss for the cache memory based on an access request from a file system and accesses at least one of the cache memory and the storage medium according to a determination result;
The cache control unit
Control that receives an access command related to an access request from the file system, determines whether the data size to be accessed satisfies a predetermined condition based on the access command, and passes through access to the cache memory based on the determination result It is characterized by performing.

セクタとは、記憶媒体の最小の記録単位である。従って例えば1セクタがxバイトである場合には、最小の記録単位はxバイトとなるので、xバイト単位で書き込みが行われる。   A sector is a minimum recording unit of a storage medium. Therefore, for example, when one sector is x bytes, the minimum recording unit is x bytes, so writing is performed in units of x bytes.

例えば他にも複数のキャッシュを用いる場合には、前記情報記憶媒体または他のキャッシュメモリにアクセスする構成も本発明の範囲内である。   For example, when a plurality of other caches are used, a configuration for accessing the information storage medium or another cache memory is also within the scope of the present invention.

本発明では、アクセス対象のデータサイズに応じて、キャッシュ処理をおこなうか、キャッシュ処理をスルーするか制御する。例えばアクセス対象のデータサイズがnセクタ以下の場合キャッシュメモリに対しアクセスを行い、nセクタより大きい場合にはキャッシュメモリに対するアクセスをスルーするようにしてもよい。   In the present invention, whether to perform cache processing or to bypass cache processing is controlled according to the data size to be accessed. For example, when the data size to be accessed is n sectors or less, the cache memory is accessed, and when it is larger than n sectors, the access to the cache memory may be passed through.

本発明によればアクセス対象のデータサイズで特定可能な特定の動作(例えば空き領域の検索やヘッダデータの書き込み)をターゲットとしたキャッシュメモリを構築することが可能となる。しかもキャッシュメモリのアクセス対象のデータサイズが限られるので、データサイズを小さくすることにより、キャッシュヒット率を向上させることができる。従って記憶媒体に対するデータ記録を行う際に、効率よく処理の高速化が可能なキャッシュシステムを提供することができる。   According to the present invention, it is possible to construct a cache memory targeting a specific operation (for example, searching for a free area or writing header data) that can be specified by the data size to be accessed. Moreover, since the data size to be accessed in the cache memory is limited, the cache hit rate can be improved by reducing the data size. Therefore, it is possible to provide a cache system capable of efficiently increasing the processing speed when performing data recording on a storage medium.

(2)本発明のキャッシュシステムは、
前記キャッシュ制御部は、
前記所定の条件として、アクセス対象のデータサイズがシングルセクタサイズであるか否かを判断し、シングルセクタサイズでない場合には、前記キャッシュメモリに対するアクセスをスルーする制御を行うことを特徴とする。
(2) The cache system of the present invention
The cache control unit
As the predetermined condition, it is determined whether or not the data size to be accessed is a single sector size. If the data size is not a single sector size, control to pass through access to the cache memory is performed.

ファイルシステムがデータの書き込みを行う場合には、書き込み可能領域を検索するためのリード動作が多発するため記憶媒体へのアクセス回数が多くなり、処理速度も遅くなる。かかる書き込み可能領域を検索するためのリード動作は、各セクタの領域の先頭付近に設けられたヘッダ領域等を参照して書き込み可能領域(空き領域)か否か判断することがおおいため、シングルセクタのリードとして行われることがおおい。   When the file system writes data, read operations for searching writable areas frequently occur, so the number of accesses to the storage medium increases and the processing speed also decreases. Since the read operation for searching for such a writable area often involves determining whether or not it is a writable area (empty area) by referring to a header area provided near the head of each sector area. It is a great thing to be done as a lead.

またヘッダ情報の書き込みもシングルセクタのライトとして行われることがおおい。   Also, writing of header information is often performed as a single sector write.

本発明によればシングルセクタアクセス時にのみキャッシュアクセスを行うので、キャッシュヒット率が高くなる。しかもデータ記録時には書き込み可能領域を検索するためのシングルセクタリードやヘッダ情報書き込みのためのシングルセクタライトが多発するため、記憶媒体に対するデータ記録を行う際に、効率よく処理の高速化が可能なキャッシュシステムを提供することができる。   According to the present invention, since the cache access is performed only at the time of single sector access, the cache hit rate is increased. In addition, a single sector read for searching for a writable area and a single sector write for writing header information frequently occur during data recording, so that a cache capable of efficiently increasing the processing speed when recording data on a storage medium. A system can be provided.

(3)本発明は、
記憶媒体に対してデータの記録を行うデータ記録装置に搭載されるキャッシュシステムであって、
セクタ単位でデータを保持する複数のエントリを含むキャッシュメモリと、
記憶媒体にたいしてアクセスを行う際に、前記キャッシュメモリに対するキャッシュヒット/ミスの判定を行い、判定結果に応じて前記キャッシュメモリ及び前記記憶媒体の少なくとも一方にアクセスを行うキャッシュ制御部とを含み、
前記キャッシュメモリは、
セクタサイズよりも小さなデータ領域を含む複数のエントリを含み、
前記キャッシュ制御部は、
前記アクセスが前記記憶媒体の書き込み可能領域を検索するための読み出しアクセスでない場合には、キャッシュメモリに対するアクセスをスルーする制御を行うことを特徴とする。
(3) The present invention
A cache system mounted on a data recording apparatus for recording data on a storage medium,
A cache memory including a plurality of entries that hold data in units of sectors;
A cache controller that performs a cache hit / miss determination on the cache memory when accessing the storage medium, and accesses at least one of the cache memory and the storage medium according to a determination result;
The cache memory is
Including multiple entries containing a data area smaller than the sector size,
The cache control unit
When the access is not a read access for searching a writable area of the storage medium, control is performed to pass through access to the cache memory.

データの書き込みを行う場合には、書き込み可能領域を検索するためのリード動作が多発するため記憶媒体へのアクセス回数が多くなり、処理速度も遅くなる。かかる書き込み可能領域を検索するためのリード動作は、各セクタの領域の先頭付近に設けられたヘッダ領域等を参照して書き込み可能領域(空き領域)か否か判断することがおおいため、シングルセクタのリードとして行われることがおおい。   When data is written, read operations for searching writable areas frequently occur, so that the number of accesses to the storage medium increases and the processing speed also decreases. Since the read operation for searching for such a writable area often involves determining whether or not it is a writable area (empty area) by referring to a header area provided near the head of each sector area. It is a great thing to be done as a lead.

本発明では、アクセスが前記記憶媒体の書き込み可能領域を検索するための読み出しアクセスである場合に使用するキャッシュメモリを設け、書き込み可能領域を検索するための読み出しアクセスでない場合にはキャッシュメモリへのアクセスをスルーするようにした。そして書き込み可能領域を判断するためのデータは、1セクタ分も必要ないので、キャッシュメモリを、セクタサイズよりも小さなデータ領域を含む複数のエントリを含むようにした。   In the present invention, a cache memory is provided that is used when the access is a read access for searching for a writable area of the storage medium. When the access is not a read access for searching for a writable area, the cache memory is accessed. To pass through. Since the data for determining the writable area does not need even one sector, the cache memory includes a plurality of entries including a data area smaller than the sector size.

本発明によれば、小さな容量のキャッシュメモリで、データ記録時には書き込み可能領域を検索するためのシングルセクタリードに対してヒット率の高いキャッシュシステムを提供することができる。   According to the present invention, it is possible to provide a cache system having a high hit rate with respect to a single sector read for searching a writable area at the time of data recording with a small capacity cache memory.

(4)本発明は、
上記記載のキャッシュシステムを含み、記憶媒体に対してデータの記録を行うことを特徴とするデータ記録装置である。
(4) The present invention
A data recording apparatus including the cache system described above and recording data on a storage medium.

(5)本発明のデータ記録装置は、
データ種別の異なる複数のデータファイルを受け取り、各データファイルのデータ種別に応じて書き込み領域のディレクトリを決定し、前記記憶媒体の決定されたディレクトリに対する書き込み要求を行うデータ記録領域制御部とを含み、
前記データ記録領域制御部は、
書き込み対象となる複数のデータファイルについて同じデータ種別のデータファイルの書き込みが連続して行われるように書き込み順序を決定して、決定した順序に従って書き込み要求をおこなうことを特徴とする。
(5) The data recording apparatus of the present invention
A data recording area control unit that receives a plurality of data files of different data types, determines a directory of a write area according to the data type of each data file, and makes a write request to the determined directory of the storage medium,
The data recording area control unit
A writing order is determined so that writing of data files of the same data type is continuously performed for a plurality of data files to be written, and a writing request is made according to the determined order.

本発明によれば、アクセス対象となるディレクトリの変更頻度を下げることができるので、キャッシュヒット率の高い高速なデータ記録装置を提供することができる。   According to the present invention, since the frequency of changing the directory to be accessed can be lowered, it is possible to provide a high-speed data recording apparatus with a high cache hit rate.

(6)本発明は、
ファイルシステムを介して記憶媒体に対してデータの記録を行うデータ記録装置に搭載されるキャッシュシステムを制御するためのプログラムであって、
セクタ単位でデータを保持する複数のエントリを含むキャッシュメモリと、
ファイルシステムからのアクセス要求に基づき、前記キャッシュメモリに対するキャッシュヒット/ミスの判定を行い判定結果に応じて前記キャッシュメモリ及び前記記憶媒体の少なくとも一方にアクセスを行うキャッシュ制御部としてコンピュータを機能させ、
前記キャッシュ制御部は、
ファイルシステムからのアクセス要求にかかるアクセスコマンドを受け取り、当該アクセスコマンドに基づき、アクセス対象のデータサイズが所定の条件を満たすか否か判断し、判断結果に基づき、前記キャッシュメモリに対するアクセスをスルーする制御を行うことを特徴とする。
(6) The present invention
A program for controlling a cache system mounted on a data recording apparatus that records data on a storage medium via a file system,
A cache memory including a plurality of entries that hold data in units of sectors;
Based on an access request from a file system, a cache hit / miss is determined for the cache memory, and the computer is caused to function as a cache control unit that accesses at least one of the cache memory and the storage medium according to the determination result,
The cache control unit
Control that receives an access command related to an access request from the file system, determines whether the data size to be accessed satisfies a predetermined condition based on the access command, and passes through access to the cache memory based on the determination result It is characterized by performing.

(7)本発明は、
ファイルシステムを介して記憶媒体に対してデータの記録を行うデータ記録装置に搭載されるキャッシュシステムの制御方法であって、
ファイルシステムからのアクセス要求に基づき、セクタ単位でデータを保持する複数のエントリを含むキャッシュメモリに対するキャッシュヒット/ミスの判定を行い判定結果に応じて前記キャッシュメモリ及び前記記憶媒体の少なくとも一方にアクセスを行う際に、
ファイルシステムからのアクセス要求にかかるアクセスコマンドを受け取り、当該アクセスコマンドに基づき、アクセス対象のデータサイズが所定の条件を満たすか否か判断し、判断結果に基づき、前記キャッシュメモリに対するアクセスをスルーする制御を行うことを特徴とする。
(7) The present invention
A control method for a cache system mounted on a data recording apparatus for recording data on a storage medium via a file system,
Based on an access request from the file system, a cache hit / miss is determined for a cache memory including a plurality of entries that hold data in units of sectors, and at least one of the cache memory and the storage medium is accessed according to the determination result. When doing
Control that receives an access command related to an access request from the file system, determines whether the data size to be accessed satisfies a predetermined condition based on the access command, and passes through access to the cache memory based on the determination result It is characterized by performing.

以下、本発明の好適な実施の形態について図面を用いて詳細に説明する。なお、以下に説明する実施の形態は、特許請求の範囲に記載された本発明の内容を不当に限定するものではない。また以下で説明される構成の全てが本発明の必須構成要件であるとは限らない。   DESCRIPTION OF EMBODIMENTS Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the drawings. The embodiments described below do not unduly limit the contents of the present invention described in the claims. Moreover, not all of the configurations described below are essential constituent requirements of the present invention.

図1は本実施形態のキャッシュシステム及びデータ記録装置について説明するための図である。   FIG. 1 is a diagram for explaining a cache system and a data recording apparatus according to the present embodiment.

本実施形態のキャッシュシステム90は、ファイルシステム30を介して記憶媒体(CF/SDカード)60に対してデータの記録を行うデータ記録装置1に搭載されるキャッシュシステムである。   The cache system 90 of the present embodiment is a cache system that is mounted on the data recording apparatus 1 that records data on a storage medium (CF / SD card) 60 via the file system 30.

アプリケーション40は、データ記録装置1のデータ記録にかかる各種処理を行うソフトウエアである。またファイルシステム30は、データをファイル形式でアクセスするための汎用ソフトウエアである。本実施の形態のデータ記録装置1では、データ記録処理用のアプリケーション40がファイルシステム30を介してデータを記録するための媒体であるCF/SD(記憶媒体)60にデータを保存する処理を行う。   The application 40 is software that performs various processes related to data recording of the data recording apparatus 1. The file system 30 is general-purpose software for accessing data in a file format. In the data recording apparatus 1 of the present embodiment, the data recording processing application 40 performs processing for storing data in a CF / SD (storage medium) 60 that is a medium for recording data via the file system 30. .

CF/SDドライバ50は、CF/SD60に対してデータの読み書きを行うためのドライバーソフトエアであり、CF/SD(記憶媒体)60に対するアクセスは、CF/SDドライバ50を介して行われる。   The CF / SD driver 50 is driver software for reading / writing data from / to the CF / SD 60, and access to the CF / SD (storage medium) 60 is performed via the CF / SD driver 50.

キャッシュシステム90は、セクタ単位でデータを保持する複数のエントリを含むキャッシュメモリ10を含む。キャッシュメモリは例えば内蔵のSDRAM等を用いて構成してもよい。   The cache system 90 includes a cache memory 10 including a plurality of entries that hold data in units of sectors. The cache memory may be configured using a built-in SDRAM, for example.

キャッシュシステム90は、ファイルシステム30からのアクセス要求に基づき、キャッシュメモリ10に対するキャッシュヒット/ミスの判定を行い判定結果に応じてキャッシュメモリ10及び記憶媒体(CF/SDカード)60の少なくとも一方にアクセスを行うキャッシュ制御部20とを含む。キャッシュ制御部20は、ファイルシステムからのアクセス要求にかかるアクセスコマンドを受け取り、当該アクセスコマンドに基づき、アクセス対象のデータサイズが所定の条件を満たすか否か判断し(例えばシングルセクタ、データサイズが所定の大きさ以下)、判断結果に基づき、前記キャッシュメモリに対するアクセスをスルーする制御を行う。   Based on the access request from the file system 30, the cache system 90 determines cache hit / miss for the cache memory 10 and accesses at least one of the cache memory 10 and the storage medium (CF / SD card) 60 according to the determination result. And a cache control unit 20 for performing The cache control unit 20 receives an access command related to an access request from the file system, and determines whether or not the data size to be accessed satisfies a predetermined condition based on the access command (for example, a single sector, the data size is predetermined). Based on the determination result, control is performed to pass through access to the cache memory.

キャッシュ制御部20は、前記所定の条件として、アクセス対象のデータサイズがシングルセクタサイズであるか否かを判断し、シングルセクタサイズでない場合には、前記キャッシュメモリ10に対するアクセスをスルーする制御を行うようにしてもよい。   As the predetermined condition, the cache control unit 20 determines whether or not the data size to be accessed is a single sector size. If the data size is not a single sector size, the cache control unit 20 performs control to pass through the access to the cache memory 10. You may do it.

アプリケーション40、ファイルシステム30、キャッシュ制御部20、CF/SDドライバ50は、例えばデータ記録装置のCPUで、各種処理を実現するためのプログラムを実行することにより実現することができる。   The application 40, the file system 30, the cache control unit 20, and the CF / SD driver 50 can be realized, for example, by executing a program for realizing various processes by the CPU of the data recording apparatus.

図2は本実施の形態のキャッシュメモリ10の構成例を示す。キャッシュメモリ10のエントリとして、セクタ番号(記憶部のセクタアドレス)が格納されるタグ部12とセクタ番号(セクタアドレス)に対応したデータ部14(1セクタ分のデータが記憶可能な複数のデータ領域)を含むようにしてもよい。   FIG. 2 shows a configuration example of the cache memory 10 according to the present embodiment. As an entry of the cache memory 10, a tag portion 12 storing a sector number (sector address of a storage portion) and a data portion 14 corresponding to the sector number (sector address) (a plurality of data areas capable of storing data for one sector) ) May be included.

タグ部12は、例えばエントリ数(例えば256個)分の4バイトのセクタ番号格納エリアで構成することができる。またデータ部14は、例えばエントリ数(例えば256個)分のセクタサイズ(例えば512バイト)の実データ(記憶媒体のデータ)保持領域で構成することができる。   The tag unit 12 can be configured with, for example, a 4-byte sector number storage area corresponding to the number of entries (for example, 256). Further, the data section 14 can be configured by a real data (storage medium data) holding area having a sector size (for example, 512 bytes) corresponding to the number of entries (for example, 256).

タグ部12及びデータ部14の各領域には対応するエントリアドレス13,15が割り当てられている。従って、アクセス対象となるセクタアドレスから、エントリアドレスを求め、タグ部12の当該エントリアドレス13に格納されているセクタアドレスがアクセス対象となるアドレスであればキャッシュヒットと判断し、当該エントリアドレスを有するデータ部14にアクセスするようにしてもよい。   Corresponding entry addresses 13 and 15 are assigned to the areas of the tag part 12 and the data part 14, respectively. Therefore, the entry address is obtained from the sector address to be accessed, and if the sector address stored in the entry address 13 of the tag unit 12 is the address to be accessed, it is determined as a cache hit and has the entry address. The data unit 14 may be accessed.

アクセス対象であるセクタアドレスとエントリアドレスの関係は適宜設定可能であるが、例えばセクタアドレスをエントリ数で除算した余りに応じて、エントリアドレスを割り当てるようにしてもよい(セクタ番号の下位ビットでエントリアドレスを割り当てるようにしてもよい)。   The relationship between the sector address to be accessed and the entry address can be set as appropriate. For example, the entry address may be assigned according to the remainder obtained by dividing the sector address by the number of entries (the entry address using the lower bits of the sector number). May be assigned).

なおキャッシュメモリは、ライトスルー方式で構成してもよいし、ライトバック方式で構成してもよい。たたし、2セクタより大きなサイズ(例えば3セクタ以上)の場合にキャッシュスルーを行う構成の場合にはライトバック方式で構成すると制御が複雑になるので、ライトスルー方式で構成してもよい。   Note that the cache memory may be configured by a write-through method or a write-back method. However, in the case of a configuration in which the cache-through is performed when the size is larger than 2 sectors (for example, 3 sectors or more), since the control becomes complicated when the write-back method is used, the write-through method may be used.

図3は、本実施の形態のキャッシュ制御部の処理の流れをしめすフローチャート図である。   FIG. 3 is a flowchart showing the processing flow of the cache control unit of the present embodiment.

まずファイルシステムから記憶媒体へのアクセスコマンドを受け取る(ステップS10)。アクセスコマンドには、例えばアクセス対象となるセクタアドレス、アクセス種別(リード要求かライト要求か)、アクセス対象のデータサイズ、ライト要求である場合にはライトするデータ等の情報を含んでいる。   First, an access command to the storage medium is received from the file system (step S10). The access command includes information such as a sector address to be accessed, an access type (whether it is a read request or a write request), a data size to be accessed, and data to be written in the case of a write request.

アクセスコマンドに基づき、アクセス種別(リード要求かライト要求か)、及びアクセス対象のデータサイズを取得する(ステップS20)。   Based on the access command, an access type (whether it is a read request or a write request) and an access target data size are acquired (step S20).

そしてアクセス種別がリード要求である場合には(ステップS30)、読み込み制御処理を行う(ステップS40)。読み込み制御処理の内容は図4において説明する。   If the access type is a read request (step S30), read control processing is performed (step S40). The contents of the read control process will be described with reference to FIG.

またアクセス種別がライト要求である場合には(ステップS30)書き込み制御処理を行う(ステップS50)。書き込み制御処理の内容は図5において説明する。   If the access type is a write request (step S30), a write control process is performed (step S50). The contents of the write control process will be described with reference to FIG.

図4は、本実施の形態の読み込み制御処理の処理の流れを示すフローチャート図である。   FIG. 4 is a flowchart showing the flow of the read control process according to this embodiment.

アクセス対象のデータサイズがシングルセクタサイズである場合には(ステップS110)、キャッシュメモリに対するキャッシュヒット/ミスの判定を行う(ステップS120)。   If the data size to be accessed is a single sector size (step S110), the cache hit / miss determination for the cache memory is performed (step S120).

キャッシュヒットでない場合(ステップS130)、またはアクセス対象のデータサイズがシングルセクタサイズでない場合には(ステップS110)、キャッシュメモリに対するアクセスをスルーして、CF/SDの読み込みドライバをコールする(ステップS140)。   If it is not a cache hit (step S130), or if the data size to be accessed is not a single sector size (step S110), access to the cache memory is made through and a CF / SD read driver is called (step S140). .

キャッシュヒットである場合には(ステップS130)、キャッシュメモリの該当するエントリからデータをコピーして、ファイルシステムに返す(ステップS150)。   If it is a cache hit (step S130), data is copied from the corresponding entry in the cache memory and returned to the file system (step S150).

図5は、本実施の形態の書き込み制御処理の処理の流れをしめすフローチャート図である。   FIG. 5 is a flowchart showing the flow of the write control process according to this embodiment.

アクセス対象のデータサイズはシングルセクタサイズである場合には(ステップS210)、キャッシュメモリの該当するエントリに対してから書き込みデータを上書きし、データをコピーしてステップS230にいく(ステップS220)。   If the data size to be accessed is a single sector size (step S210), the write data is overwritten from the corresponding entry in the cache memory, the data is copied, and the process proceeds to step S230 (step S220).

アクセス対象のデータサイズはシングルセクタサイズである場合には(ステップS210)、CF/SDの読み込みドライバをコールする(ステップS230)。   If the data size to be accessed is a single sector size (step S210), the CF / SD read driver is called (step S230).

上記実施の形態によれば、アクセス対象のデータサイズで特定可能な特定の動作(例えば空き領域の検索やヘッダデータの書き込み)をターゲットとしたキャッシュメモリを構築することが可能となる。しかもキャッシュメモリのアクセス対象のデータサイズが限られるので、データサイズを小さくすることにより、キャッシュヒット率を向上させることができる。   According to the embodiment described above, it is possible to construct a cache memory that targets a specific operation that can be specified by the data size to be accessed (for example, searching for a free area or writing header data). Moreover, since the data size to be accessed in the cache memory is limited, the cache hit rate can be improved by reducing the data size.

またシングルセクタアクセス時にのみキャッシュアクセスを行うので、キャッシュヒット率が高くなる。しかもデータ記録時には書き込み可能領域を検索するためのシングルセクタリードやヘッダ情報書き込みのためのシングルセクタライトが多発するため、記憶媒体に対するデータ記録を行うさいに、効率よく処理の高速化が可能なキャッシュシステムを提供することができる。   Further, since cache access is performed only during single sector access, the cache hit rate is increased. In addition, a single sector read for searching a writable area and a single sector write for writing header information frequently occur at the time of data recording, so a cache that can efficiently process at the time of data recording on a storage medium. A system can be provided.

図6は本実施の画像データ記録システムの一例であるドライブレコーダ100のハードウエアブロック図である。   FIG. 6 is a hardware block diagram of the drive recorder 100 which is an example of the image data recording system of the present embodiment.

ドライブレコーダ100(画像データ記録システム1を含む)は、車などの移動体に搭載されるシステム(例えば自動車に搭載されるドライブレコーダシステム)として構成されていてもよい。   The drive recorder 100 (including the image data recording system 1) may be configured as a system mounted on a moving body such as a car (for example, a drive recorder system mounted on an automobile).

本実施の形態に係るドライブレコーダ100は、画像データ記録処理用集積回路装置(IC)101を含むが、その他画像データ記録処理用IC101に接続されるカメラモジュール170−1、170−2、オーディオモジュール190、各種センサ180、CF/SDカード(記憶部媒体)160、SDRAM150を含む構成でもよい。   The drive recorder 100 according to the present embodiment includes an integrated circuit device (IC) 101 for image data recording processing, but other camera modules 170-1 and 170-2, audio modules connected to the image data recording processing IC 101. 190, various sensors 180, CF / SD card (storage unit medium) 160, and SDRAM 150 may be included.

データ記録処理用IC101は、CPU210、画像処理回路160−1、160−2、カメラI/F172−1、172−2、割り込みコントローラ240、DMAC(Direct Memory Access Controller)220、A/Dコンバータ(センサI/F)182、音処理回路192、オーディオI/F194、RTC180、CF/SDインターフェース162、メモリI/F152、ROM250、RAM250、タイマー230等を含む。   The data recording processing IC 101 includes a CPU 210, image processing circuits 160-1 and 160-2, camera I / Fs 172-1 and 172-2, an interrupt controller 240, a DMAC (Direct Memory Access Controller) 220, an A / D converter (sensor). I / F) 182, sound processing circuit 192, audio I / F 194, RTC 180, CF / SD interface 162, memory I / F 152, ROM 250, RAM 250, timer 230, and the like.

CPU210は、ROM240に格納された制御プログラムに従い、データ記録処理用の各種処理を行うもので、アプリケーション40、ファイルシステム30、キャッシュ制御部20、CF/SDドライバ50として機能する。   The CPU 210 performs various processes for data recording processing in accordance with a control program stored in the ROM 240, and functions as the application 40, the file system 30, the cache control unit 20, and the CF / SD driver 50.

またCPU210とDMAC220が協動することにより、カメラモジュール170−1、170−2が取得した画像データや、オーディオモジュール190が取得した音データや、各種センサ180が取得した計測値をSDRAM(第1の記憶部)50にリアルタイムに記憶させる。   In addition, the CPU 210 and the DMAC 220 cooperate with each other to store image data acquired by the camera modules 170-1 and 170-2, sound data acquired by the audio module 190, and measurement values acquired by the various sensors 180 in the SDRAM (first Storage section) 50 in real time.

ここでカメラモジュール170−1、170−2が取得した画像データは例えばCPU210がダイレクトにSDRAM(第1の記憶部)に転送する構成でもよいし、CPU210がDMAC220に命令してDMAC220がSDRAMに転送する構成でもよい。   Here, the image data acquired by the camera modules 170-1 and 170-2 may be transferred directly to the SDRAM (first storage unit), for example, by the CPU 210, or the CPU 210 instructs the DMAC 220 to transfer the image data to the SDRAM. The structure to do may be sufficient.

カメラI/F172−1、172−2はカメラモジュール170−1、170−2に接続され、カメラモジュール170−1、170−2で撮像された画像の画像データを受け付ける処理を行う。画像処理回路160−1、160−2は、カメラI/F172−1、172−2からうけとった画像データに対してリサイズ(切り取り)、JPEG圧縮等の画像処理を行い、記録用フォーマットの画像データを生成するもので、JPEGエンコーダ162−1、162−1等を含む。   The camera I / Fs 172-1 and 172-2 are connected to the camera modules 170-1 and 170-2 and perform processing for receiving image data of images captured by the camera modules 170-1 and 170-2. The image processing circuits 160-1 and 160-2 perform image processing such as resizing (cutting) and JPEG compression on the image data received from the camera I / Fs 172-1 and 172-2, and image data in a recording format. JPEG encoders 162-1 and 162-1 are included.

カメラモジュール170−1、170−2は、入射光を電気信号に変換する受光素子と、受光素子に光を入射させる光学系(例えば、レンズやミラーなどの光学素子によって構成された光学系)と、受光素子から出力された電気信号に所定の処理を行う処理部等で構成され、例えばCCDカメラ等で実現してもよい。カメラモジュール170−1、170−2は車などの移動体に搭載され、時系列に複数の画像データを取得するように構成されていてもよい。例えば1秒間に30フレームの割合で画像データを取得するように構成されていてもよい。なおカメラモジュールは3以上接続可能に構成することもできる。   The camera modules 170-1 and 170-2 include a light receiving element that converts incident light into an electrical signal, and an optical system that makes the light incident on the light receiving element (for example, an optical system configured by an optical element such as a lens or a mirror). A processing unit that performs predetermined processing on the electrical signal output from the light receiving element may be used, and may be realized by a CCD camera, for example. The camera modules 170-1 and 170-2 may be mounted on a moving body such as a car and configured to acquire a plurality of image data in time series. For example, the image data may be acquired at a rate of 30 frames per second. Note that three or more camera modules can be connected.

オーディオI/F194はオーディオジュール190に接続され、オーディオモジュール90で集音された音データを受け付ける処理を行う。音処理回路192は、オーディオI/F194からうけとった音データに対して圧縮等の音処理を行い、記録用フォーマットの音データを生成する。   The audio I / F 194 is connected to the audio module 190 and performs processing for receiving sound data collected by the audio module 90. The sound processing circuit 192 performs sound processing such as compression on the sound data received from the audio I / F 194 to generate sound data in a recording format.

オーディオジュール190は例えばマイク等で構成してもよい。   The audio module 190 may be constituted by a microphone or the like, for example.

各種センサ180は、例えば衝突等の事故を検出するためのセンサで、例えば加速度センサやジャイロセンサ等により実現可能であるが、事故の衝撃を検出可能な他のセンサ等で実現することも可能である。   The various sensors 180 are sensors for detecting an accident such as a collision, for example, and can be realized by, for example, an acceleration sensor or a gyro sensor, but can also be realized by another sensor that can detect an impact of an accident. is there.

A/Dコンバータ(センサI/F)182は、各種センサに接続され、各種センサ180の計測値を受け付け、受け付けた計測値のアナログ/デジタル変換を行う。   The A / D converter (sensor I / F) 182 is connected to various sensors, receives the measurement values of the various sensors 180, and performs analog / digital conversion of the received measurement values.

CF(Compact Flash)/SD(Secure Digital)カード169は、書き換え可能な不揮発性メモリであり、記憶媒体して機能する。   A CF (Compact Flash) / SD (Secure Digital) card 169 is a rewritable nonvolatile memory and functions as a storage medium.

本実施の形態のデータ記録処理用IC101は、カメラモジュール170−1、170−2の出力を一定間隔でJPEGデータにエンコードし、SDRAM150に記憶し続ける。SDRAM150はリングバッファとして使用してもよい。各種センサ180の計測値に基づきデータ保存イベントを検出するとトリガを発生させ、トリガが発生したら、前後数十秒のデータをSDRAM150から読み出してCF/SD160に保存する。また同時に、オーディオ入力や外部パルス入力やアナログ入力データもSDRAM150に記憶し続け、トリガが発生したら、前後数十秒のデータをSDRAM150から読み出してCF/SD160に保存するようにしてもよい。   The data recording processing IC 101 of this embodiment encodes the outputs of the camera modules 170-1 and 170-2 into JPEG data at regular intervals and continues to store them in the SDRAM 150. The SDRAM 150 may be used as a ring buffer. When a data storage event is detected based on the measurement values of the various sensors 180, a trigger is generated. When the trigger is generated, data of several tens of seconds before and after is read from the SDRAM 150 and stored in the CF / SD 160. At the same time, audio input, external pulse input, and analog input data may be continuously stored in the SDRAM 150, and when a trigger occurs, data of several tens of seconds before and after may be read from the SDRAM 150 and stored in the CF / SD 160.

SDRAM150から読み出してCF/SD160に保存する場合に、図1〜図5で説明したキャッシュ制御が行われる。本実施の形態の形態のキャッシュメモリ252はRAM250の領域の一部に設けても良い。   When the data is read from the SDRAM 150 and stored in the CF / SD 160, the cache control described with reference to FIGS. The cache memory 252 according to this embodiment may be provided in a part of the RAM 250 area.

なお例えば2つカメラモジュール170−1、170−2や、オーディオモジュール190、各種センサ180からのデータに対して、異なるデータ種別を設定してもよい。この場合、本実施の形態では、データ種別の異なる複数のデータファイルを受け取ることになるので、CPU210を、各データファイルのデータ種別に応じて書き込み領域のディレクトリを決定し、前記記憶媒体の決定されたディレクトリに対する書き込み要求を行うデータ記録領域制御部として機能させてもよい。そして、書き込み対象となる複数のデータファイルについて同じデータ種別のデータファイルの書き込みが連続して行われるように書き込み順序を決定して、決定した順序に従って書き込み要求をおこなうようにしてもよい。このようにすると、アクセス対象となるディレクトリの変更頻度を下げることができるので、キャッシュヒット率の高い高速なデータ記録装置を実現することができる。   For example, different data types may be set for data from the two camera modules 170-1 and 170-2, the audio module 190, and various sensors 180. In this case, in this embodiment, since a plurality of data files having different data types are received, the CPU 210 determines the directory of the writing area according to the data type of each data file, and determines the storage medium. It may be made to function as a data recording area control unit for making a write request to the directory. Then, the write order may be determined so that data files of the same data type are continuously written for a plurality of data files to be written, and a write request may be made according to the determined order. In this way, since the frequency of changing the directory to be accessed can be reduced, a high-speed data recording device with a high cache hit rate can be realized.

本発明は、上述の実施の形態に限定されるものではなく、種々の変形が可能である。本発明は、実施の形態で説明した構成と実質的に同一の構成(例えば、機能、方法及び結果が同一の構成、あるいは目的及び効果が同一の構成)を含む。また、本発明は、実施の形態で説明した構成の本質的でない部分を置き換えた構成を含む。また、本発明は、実施の形態で説明した構成と同一の作用効果を奏する構成又は同一の目的を達成することができる構成を含む。また、本発明は、実施の形態で説明した構成に公知技術を付加した構成を含む。   The present invention is not limited to the above-described embodiment, and various modifications can be made. The present invention includes configurations that are substantially the same as the configurations described in the embodiments (for example, configurations that have the same functions, methods, and results, or configurations that have the same objects and effects). In addition, the invention includes a configuration in which a non-essential part of the configuration described in the embodiment is replaced. In addition, the present invention includes a configuration that exhibits the same operational effects as the configuration described in the embodiment or a configuration that can achieve the same object. Further, the invention includes a configuration in which a known technique is added to the configuration described in the embodiment.

上記実施の形態では、ファイルシステムを介して記憶媒体に対してデータの記録を行うデータ記録装置に搭載されるキャッシュシステムを例にとり説明したがこれに限られない。例えば、記憶媒体に対してデータの記録を行うデータ記録装置に搭載されるキャッシュシステムであって、セクタ単位でデータを保持する複数のエントリを含むキャッシュメモリと、記憶媒体にたいしてアクセスを行う際に、前記キャッシュメモリに対するキャッシュヒット/ミスの判定を行い、判定結果に応じて前記キャッシュメモリ及び前記記憶媒体の少なくとも一方にアクセスを行うキャッシュ制御部とを含み、前記キャッシュメモリは、セクタサイズよりも小さなデータ領域を含む複数のエントリを含み、前記キャッシュ制御部は、前記アクセスが前記記憶媒体の書き込み可能領域を検索するための読み出しアクセスでない場合には、キャッシュメモリに対するアクセスをスルーする制御を行うキャッシュシステムも本発明の権利範囲内である。   In the above embodiment, the cache system mounted on the data recording apparatus that records data on the storage medium via the file system has been described as an example, but the present invention is not limited to this. For example, in a cache system mounted on a data recording apparatus that records data on a storage medium, when accessing a storage medium and a cache memory including a plurality of entries that hold data in sector units, A cache control unit that performs a cache hit / miss determination on the cache memory and accesses at least one of the cache memory and the storage medium according to a determination result, and the cache memory includes data smaller than a sector size. A cache system that includes a plurality of entries including an area, and wherein the cache control unit performs control to pass through access to a cache memory when the access is not a read access for searching a writable area of the storage medium. Rights of the present invention Is an internal.

本実施形態のキャッシュシステム及びデータ記録装置について説明するための図。The figure for demonstrating the cache system and data recording device of this embodiment. 本実施の形態のキャッシュメモリの構成例を示す図。2 is a diagram illustrating a configuration example of a cache memory according to the present embodiment. FIG. 本実施の形態のキャッシュ制御部の処理の流れをしめすフローチャート図。The flowchart figure which shows the flow of a process of the cache control part of this Embodiment. 本実施の形態の読み込み制御処理の処理の流れを示すフローチャート図。The flowchart figure which shows the flow of a process of the reading control process of this Embodiment. 本実施の形態の書き込み制御処理の処理の流れをしめすフローチャート。The flowchart which shows the flow of a process of the write-control process of this Embodiment. 本実施の画像データ記録システムの一例であるドライブレコーダのハードウエアブロック図。The hardware block diagram of the drive recorder which is an example of the image data recording system of this Embodiment.

符号の説明Explanation of symbols

1 画像記録装置、20 キャッシュ制御部、30 ファイルシステム、40 アプリケーション、50 CF/SDドライバ、60 CF/SD、90 キャッシュシステム 1 image recording device, 20 cache control unit, 30 file system, 40 application, 50 CF / SD driver, 60 CF / SD, 90 cache system

Claims (7)

ファイルシステムを介して記憶媒体に対してデータの記録を行うデータ記録装置に搭載されるキャッシュシステムであって、
セクタ単位でデータを保持する複数のエントリを含むキャッシュメモリと、
ファイルシステムからのアクセス要求に基づき、前記キャッシュメモリに対するキャッシュヒット/ミスの判定を行い判定結果に応じて前記キャッシュメモリ及び前記記憶媒体の少なくとも一方にアクセスを行うキャッシュ制御部とを含み、
前記キャッシュ制御部は、
ファイルシステムからのアクセス要求にかかるアクセスコマンドを受け取り、当該アクセスコマンドに基づき、アクセス対象のデータサイズが所定の条件を満たすか否か判断し、判断結果に基づき、前記キャッシュメモリに対するアクセスをスルーする制御を行うことを特徴とするキャッシュシステム。
A cache system mounted on a data recording apparatus that records data on a storage medium via a file system,
A cache memory including a plurality of entries that hold data in units of sectors;
A cache control unit that determines a cache hit / miss for the cache memory based on an access request from a file system and accesses at least one of the cache memory and the storage medium according to a determination result;
The cache control unit
Control that receives an access command related to an access request from the file system, determines whether the data size to be accessed satisfies a predetermined condition based on the access command, and passes through access to the cache memory based on the determination result A cache system characterized by
請求項1において、
前記キャッシュ制御部は、
前記所定の条件として、アクセス対象のデータサイズがシングルセクタサイズであるか否かを判断し、シングルセクタサイズでない場合には、前記キャッシュメモリに対するアクセスをスルーする制御を行うことを特徴とするキャッシュシステム。
In claim 1,
The cache control unit
As the predetermined condition, a determination is made as to whether or not the data size to be accessed is a single sector size. If the data size is not a single sector size, control is performed to pass through access to the cache memory. .
記憶媒体に対してデータの記録を行うデータ記録装置に搭載されるキャッシュシステムであって、
セクタ単位でデータを保持する複数のエントリを含むキャッシュメモリと、
記憶媒体にたいしてアクセスを行う際に、前記キャッシュメモリに対するキャッシュヒット/ミスの判定を行い、判定結果に応じて前記キャッシュメモリ及び前記記憶媒体の少なくとも一方にアクセスを行うキャッシュ制御部とを含み、
前記キャッシュメモリは、
セクタサイズよりも小さなデータ領域を含む複数のエントリを含み、
前記キャッシュ制御部は、
前記アクセスが前記記憶媒体の書き込み可能領域を検索するための読み出しアクセスでない場合には、キャッシュメモリに対するアクセスをスルーする制御を行うことを特徴とするキャッシュシステム。
A cache system mounted on a data recording apparatus for recording data on a storage medium,
A cache memory including a plurality of entries that hold data in units of sectors;
A cache controller that performs a cache hit / miss determination on the cache memory when accessing the storage medium, and accesses at least one of the cache memory and the storage medium according to a determination result;
The cache memory is
Including multiple entries containing a data area smaller than the sector size,
The cache control unit
When the access is not a read access for searching a writable area of the storage medium, control is performed to pass through access to the cache memory.
請求項1乃至3のキャッシュシステムを含み、記憶媒体に対してデータの記録を行うことを特徴とするデータ記録装置。   4. A data recording apparatus comprising the cache system according to claim 1 for recording data on a storage medium. 請求項4において、
データ種別の異なる複数のデータファイルを受け取り、各データファイルのデータ種別に応じて書き込み領域のディレクトリを決定し、前記記憶媒体の決定されたディレクトリに対する書き込み要求を行うデータ記録領域制御部とを含み、
前記データ記録領域制御部は、
書き込み対象となる複数のデータファイルについて同じデータ種別のデータファイルの書き込みが連続して行われるように書き込み順序を決定して、決定した順序に従って書き込み要求をおこなうことを特徴とするデータ記録装置。
In claim 4,
A data recording area control unit that receives a plurality of data files of different data types, determines a directory of a write area according to the data type of each data file, and makes a write request to the determined directory of the storage medium,
The data recording area control unit
A data recording apparatus, wherein a writing order is determined so that data files of the same data type are continuously written for a plurality of data files to be written, and a writing request is made according to the determined order.
ファイルシステムを介して記憶媒体に対してデータの記録を行うデータ記録装置に搭載されるキャッシュシステムを制御するためのプログラムであって、
セクタ単位でデータを保持する複数のエントリを含むキャッシュメモリと、
ファイルシステムからのアクセス要求に基づき、前記キャッシュメモリに対するキャッシュヒット/ミスの判定を行い判定結果に応じて前記キャッシュメモリ及び前記記憶媒体の少なくとも一方にアクセスを行うキャッシュ制御部としてコンピュータを機能させ、
前記キャッシュ制御部は、
ファイルシステムからのアクセス要求にかかるアクセスコマンドを受け取り、当該アクセスコマンドに基づき、アクセス対象のデータサイズが所定の条件を満たすか否か判断し、判断結果に基づき、前記キャッシュメモリに対するアクセスをスルーする制御を行うことを特徴とするプログラム。
A program for controlling a cache system mounted on a data recording apparatus that records data on a storage medium via a file system,
A cache memory including a plurality of entries that hold data in units of sectors;
Based on an access request from a file system, a cache hit / miss is determined for the cache memory, and the computer is caused to function as a cache control unit that accesses at least one of the cache memory and the storage medium according to the determination result,
The cache control unit
Control that receives an access command related to an access request from the file system, determines whether the data size to be accessed satisfies a predetermined condition based on the access command, and passes through access to the cache memory based on the determination result The program characterized by performing.
ファイルシステムを介して記憶媒体に対してデータの記録を行うデータ記録装置に搭載されるキャッシュシステムの制御方法であって、
ファイルシステムからのアクセス要求に基づき、セクタ単位でデータを保持する複数のエントリを含むキャッシュメモリに対するキャッシュヒット/ミスの判定を行い判定結果に応じて前記キャッシュメモリ及び前記記憶媒体の少なくとも一方にアクセスを行う際に、
ファイルシステムからのアクセス要求にかかるアクセスコマンドを受け取り、当該アクセスコマンドに基づき、アクセス対象のデータサイズが所定の条件を満たすか否か判断し、判断結果に基づき、前記キャッシュメモリに対するアクセスをスルーする制御を行うことを特徴とするキャッシュシステムの制御方法。
A control method for a cache system mounted on a data recording apparatus for recording data on a storage medium via a file system,
Based on an access request from the file system, a cache hit / miss is determined for a cache memory including a plurality of entries that hold data in units of sectors, and at least one of the cache memory and the storage medium is accessed according to the determination result. When doing
Control that receives an access command related to an access request from the file system, determines whether the data size to be accessed satisfies a predetermined condition based on the access command, and passes through access to the cache memory based on the determination result A control method for a cache system.
JP2007226271A 2007-08-31 2007-08-31 Cache system, data recording apparatus, program, and control method of cache system Withdrawn JP2009059190A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007226271A JP2009059190A (en) 2007-08-31 2007-08-31 Cache system, data recording apparatus, program, and control method of cache system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007226271A JP2009059190A (en) 2007-08-31 2007-08-31 Cache system, data recording apparatus, program, and control method of cache system

Publications (1)

Publication Number Publication Date
JP2009059190A true JP2009059190A (en) 2009-03-19

Family

ID=40554862

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007226271A Withdrawn JP2009059190A (en) 2007-08-31 2007-08-31 Cache system, data recording apparatus, program, and control method of cache system

Country Status (1)

Country Link
JP (1) JP2009059190A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1040170A (en) * 1996-07-26 1998-02-13 Toshiba Corp Disk cache system
JP2004362479A (en) * 2003-06-06 2004-12-24 Sharp Corp File management device, file recording device, file management method, file management program, and recording medium recording file management program
JP2005339348A (en) * 2004-05-28 2005-12-08 Renesas Technology Corp Semiconductor device
JP2006013824A (en) * 2004-06-24 2006-01-12 Nec Corp Storage system and method for backup data, information server used by the same, mobile terminal, and program
JP2007080198A (en) * 2005-09-16 2007-03-29 Canon Inc Digital equipment using randomly accessible recording media
WO2007058253A1 (en) * 2005-11-16 2007-05-24 Nikon Corporation Electronic still camera

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1040170A (en) * 1996-07-26 1998-02-13 Toshiba Corp Disk cache system
JP2004362479A (en) * 2003-06-06 2004-12-24 Sharp Corp File management device, file recording device, file management method, file management program, and recording medium recording file management program
JP2005339348A (en) * 2004-05-28 2005-12-08 Renesas Technology Corp Semiconductor device
JP2006013824A (en) * 2004-06-24 2006-01-12 Nec Corp Storage system and method for backup data, information server used by the same, mobile terminal, and program
JP2007080198A (en) * 2005-09-16 2007-03-29 Canon Inc Digital equipment using randomly accessible recording media
WO2007058253A1 (en) * 2005-11-16 2007-05-24 Nikon Corporation Electronic still camera

Similar Documents

Publication Publication Date Title
US20090058995A1 (en) Data recording system, program, semiconductor device, and drive recorder
JP2009076050A (en) Data recording system, program, semiconductor device, and drive recorder
US10573343B2 (en) Video image recording control apparatus, video image recording control method, and video image recording control program
WO2005096220A1 (en) Memory card and memory card system
CN112799595B (en) Data processing method, device and storage medium
US20190355394A1 (en) Video management method and apparatus, image capturing device, and storage medium
WO2021059924A1 (en) Recording control device, recording control method, and recording control program
JP4585599B1 (en) Data storage device and cache control method
CN101981551A (en) Apparatus and method for cache utilization
JP5332240B2 (en) Drive recorder and computer program
CN112182559A (en) Stack overflow detection method, device, electronic device and storage medium
JP2020201546A (en) Performance evaluation device, performance evaluation method, and performance evaluation program for nonvolatile semiconductor storage device
JP2006172206A5 (en)
KR20240048323A (en) Data storage system for automated driving, operation method of data storage system for automated driving, and operation method of system
KR102692838B1 (en) Enhanced read-ahead capability for storage devices
JPH07114500A (en) Non-volatile memory storage device
KR20150137661A (en) Method and apparatus for fragmentation prevention of non-volatile memory for blackbox device
JP2009059190A (en) Cache system, data recording apparatus, program, and control method of cache system
US20140317354A1 (en) Electronic device, data caching system and method
JP5573220B2 (en) Drive recorder apparatus, recording method, program, and recording medium
JP2009231900A (en) Image pickup device
JP7494474B2 (en) Recording control device, recording control method, and program
JP5515218B2 (en) Data access method and data access apparatus
CN119440430A (en) Image data management method and storage device
KR101559241B1 (en) Method and system for storing representative images of video event data recorder

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20100805

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120404

A761 Written withdrawal of application

Free format text: JAPANESE INTERMEDIATE CODE: A761

Effective date: 20120601