Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP7245876B2 - Drive recorder storage device control method and storage device control system - Google Patents
[go: Go Back, main page]

JP7245876B2 - Drive recorder storage device control method and storage device control system - Google Patents

Drive recorder storage device control method and storage device control system Download PDF

Info

Publication number
JP7245876B2
JP7245876B2 JP2021125600A JP2021125600A JP7245876B2 JP 7245876 B2 JP7245876 B2 JP 7245876B2 JP 2021125600 A JP2021125600 A JP 2021125600A JP 2021125600 A JP2021125600 A JP 2021125600A JP 7245876 B2 JP7245876 B2 JP 7245876B2
Authority
JP
Japan
Prior art keywords
fat
storage device
file
configuring
files
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.)
Active
Application number
JP2021125600A
Other languages
Japanese (ja)
Other versions
JP2022031185A (en
Inventor
ジュン・リー チア
チェン・チェン フ
ナン・ル チュン
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.)
Xiamen Sigmastar Technology Ltd
Original Assignee
Xiamen Sigmastar Technology Ltd
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
Priority claimed from US16/985,288 external-priority patent/US11435922B2/en
Application filed by Xiamen Sigmastar Technology Ltd filed Critical Xiamen Sigmastar Technology Ltd
Publication of JP2022031185A publication Critical patent/JP2022031185A/en
Application granted granted Critical
Publication of JP7245876B2 publication Critical patent/JP7245876B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0638Organizing or formatting or addressing of data
    • G06F3/0643Management of files
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • G06F9/4451User profiles; Roaming
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/16File or folder operations, e.g. details of user interfaces specifically adapted to file systems
    • G06F16/162Delete operations
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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/0601Interfaces specially adapted for storage systems
    • G06F3/0602Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
    • G06F3/0604Improving or facilitating administration, e.g. storage management
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0629Configuration or reconfiguration of storage systems
    • G06F3/0631Configuration or reconfiguration of storage systems by allocating resources to storage systems
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0655Vertical data movement, i.e. input-output transfer; data movement between one or more hosts and one or more storage devices
    • G06F3/0659Command handling arrangements, e.g. command buffers, queues, command scheduling
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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/0601Interfaces specially adapted for storage systems
    • G06F3/0668Interfaces specially adapted for storage systems adopting a particular infrastructure
    • G06F3/0671In-line storage system
    • G06F3/0673Single storage device

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Software Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Time Recorders, Dirve Recorders, Access Control (AREA)
  • Automatic Disk Changers (AREA)

Description

本発明は、一般に、制御方法および制御システムに関し、より詳細には、ドライブレコーダの記憶装置の制御方法および記憶装置制御システムに関する。 The present invention generally relates to control methods and control systems, and more particularly to control methods and storage device control systems for drive recorder storage devices.

ファイルシステムは、記憶装置(例えば、SDカードまたはハードドライブ)内のファイルを管理し、記憶装置を効率的に運用するためのシステムである。ファイルアロケーションテーブル(FAT)は、共通のファイルシステムである。 A file system is a system for managing files in a storage device (eg, SD card or hard drive) and operating the storage device efficiently. File Allocation Table (FAT) is a common file system.

図1は、FATファイルシステムを採用した記憶装置900の概略図を示す。記憶装置900は、FAT920と、ディレクトリエントリ930と、複数のデータクラスタ940とを含む。ドライブレコーダを例にとると、ファイルの書き込みおよび削除の複数の操作の後、同じファイルのデータが非連続データクラスタ940に分散して記憶され得る。例えば、図1に示すように、ファイルFAは、番号「13」、「14」、「15」、「19」、および「20」のデータクラスタに記憶される。 FIG. 1 shows a schematic diagram of a storage device 900 employing the FAT file system. Storage device 900 includes FAT 920 , directory entries 930 and a plurality of data clusters 940 . Taking a drive recorder as an example, after multiple operations of writing and deleting a file, the data of the same file can be distributed and stored in non-contiguous data clusters 940 . For example, as shown in FIG. 1, file FA is stored in data clusters numbered "13", "14", "15", "19" and "20".

ディレクトリエントリ930は、ファイル名と開始データクラスタ番号を記憶装置900に記録する。FAT920は、データクラスタのFATチェーンを記録する。例えば、ディレクトリエントリ930は、記憶装置900にファイルFAが記憶されていることを示しており、ファイルFAのデータは、番号「13」のデータクラスタ940に記憶されている。FAT920において、番号「13」のデータクラスタ940に対応する位置は「14」となっており、これは、番号「14」のデータクラスタ940に、ファイルFAの後続データが記憶されていることを示している。FAT920において、番号「14」のデータクラスタ940に対応する位置は「15」となっており、これは、番号「15」のデータクラスタ940に、ファイルFAの後続データが記憶されていることを示しており、以下同様である。FAT920において、番号「20」のデータクラスタ940に対応する位置は「EOC」となっており、これは、番号「20」のデータクラスタ940がデータクラスタ940のクラスタチェーン(EOC)の末端であることを示している。 Directory entry 930 records the file name and starting data cluster number in storage device 900 . FAT 920 records the FAT chain of data clusters. For example, directory entry 930 indicates that file FA is stored in storage device 900, and data of file FA is stored in data cluster 940 numbered "13." In the FAT 920, the position corresponding to the data cluster 940 numbered "13" is "14", which indicates that the data cluster 940 numbered "14" stores subsequent data of the file FA. ing. In the FAT 920, the position corresponding to the data cluster 940 numbered "14" is "15", which indicates that the subsequent data of the file FA is stored in the data cluster 940 numbered "15". and so on. In the FAT 920, the position corresponding to the data cluster 940 numbered "20" is "EOC", which means that the data cluster 940 numbered "20" is the end of the cluster chain (EOC) of the data cluster 940. is shown.

図2は、ドライブレコーダのファイルを書き込むための方法のフローチャートを示す。図3は、図2に従って動作する記憶装置900の概略図である。例えば、ドライブレコーダの記録処理が起動された後、記憶装置900内のFAT920がダイナミックランダムアクセスメモリ(DRAM)に複製される(ステップS901)。そして、DRAM内のFATに従って、記憶装置900内の記憶空間が十分であるかどうかが決定される(ステップS902)。記憶装置900に十分な記憶空間があれば、1つのデータクラスタが、データを書き込むための開始データクラスタ(例えば、番号「16」のデータクラスタ)として選択され(ステップS903)、FAT930にファイル名(例えば、FB)と開始データクラスタの番号(例えば、「16」)が追加される。次に、データを書き込むための別のデータクラスタ(例えば、番号「17」のデータクラスタ)が選択され(ステップS905)、DRAM内のFATに、番号「16」のデータクラスタに対応する位置で、データクラスタの番号(例えば、「17」)が記録され(ステップS906)、データクラスタにデータが書き込まれる(ステップS907)。以上のステップがファイルの書き込み処理が完了するまで繰り返される。また、DRAM内のFATが所定回数(例えば、3回)更新されると、ファイルの書き込み処理が完了するまで、記憶装置900内のFAT920がDRAM内のFATに従って更新される。ファイルの書き込み処理が完了すると、ドライブレコーダは、DRAM内のFATに従って、記憶装置900内のFAT920を再度更新する。 FIG. 2 shows a flowchart of a method for writing drive recorder files. FIG. 3 is a schematic diagram of a storage device 900 operating according to FIG. For example, after the recording process of the drive recorder is activated, the FAT920 in the storage device 900 is copied to dynamic random access memory (DRAM) (step S901). Then, according to the FAT in the DRAM, it is determined whether the storage space in the storage device 900 is sufficient (step S902). If there is enough storage space in the storage device 900, one data cluster is selected as the starting data cluster (for example, the data cluster numbered "16") for writing data (step S903), and the file name ( FB) and the number of the starting data cluster (eg "16") are added. Next, another data cluster (for example, data cluster numbered "17") for writing data is selected (step S905), and in the FAT in the DRAM, at a position corresponding to data cluster numbered "16", A data cluster number (for example, "17") is recorded (step S906), and data is written to the data cluster (step S907). The above steps are repeated until the file writing process is completed. Also, when the FAT in the DRAM is updated a predetermined number of times (for example, three times), the FAT 920 in the storage device 900 is updated according to the FAT in the DRAM until the file writing process is completed. When the file writing process is completed, the drive recorder updates the FAT 920 in the storage device 900 again according to the FAT in the DRAM.

しかしながら、自動車事故による予期せぬ電源断は、不完全なFATチェーンに起因する読み取りエラーをもたらす可能性がある。例えば、図3に示すように、ファイルFBのデータが番号「29」のデータクラスタに書き込まれた後に予期しない電源断が発生した場合、記憶装置900内のFAT920がDRAM内のFATに従ってまだ更新されていないため、データFBのFATチェーンは不完全であり、番号「22」および「29」のデータクラスタに記憶されたファイルFBのデータは読み取ることができない。ドライブレコーダに関しては、自動車事故に関するデータの読み取りに失敗することは、極めて深刻な問題である。 However, an unexpected power outage due to a car accident can result in read errors due to an incomplete FAT chain. For example, as shown in FIG. 3, when an unexpected power failure occurs after the data of file FB is written to the data cluster numbered "29", the FAT 920 in the storage device 900 is still updated according to the FAT in the DRAM. Therefore, the FAT chain of data FB is incomplete, and the data of file FB stored in data clusters numbered "22" and "29" cannot be read. For drive recorders, failing to read data related to car accidents is a very serious problem.

本発明は、所定のファイルアロケーションテーブル(FAT)および所定のディレクトリエントリに従って記憶装置を構成し、予期せぬ電源断による読み取り失敗を防止するドライブレコーダの記憶装置の制御方法および記憶装置制御システムに関する。 The present invention relates to a drive recorder storage device control method and a storage device control system that configures a storage device according to a prescribed file allocation table (FAT) and prescribed directory entries to prevent read failures due to unexpected power failure.

本発明の一態様によれば、ドライブレコーダの記憶装置の制御方法が提供される。ドライブレコーダの記憶装置の制御方法は、記憶部に記憶された所定のディレクトリエントリに従って、記憶装置のディレクトリエントリを構成するステップと、記憶部に記憶された所定のファイルアロケーションテーブル(FAT)に従って記憶装置のFATを構成するステップと、ディレクトリエントリおよびFATに従って記憶装置にデータを書き込むようにコントローラを制御するステップと、を含む。 According to one aspect of the present invention, a method for controlling a storage device of a drive recorder is provided. A method for controlling a storage device of a drive recorder includes steps of configuring a directory entry of the storage device according to a predetermined directory entry stored in the storage unit; and controlling the controller to write data to the storage device according to the directory entries and the FAT.

本発明の別の態様によれば、記憶装置制御システムが提供される。記憶装置制御システムは、記憶部と、コントローラと、プロセッサとを含む。記憶部は、所定のディレクトリエントリおよび所定のFATを記憶する。コントローラは、記憶装置にデータを書き込む。プロセッサは、所定のディレクトリファイルに従って記憶装置のディレクトリエントリを構成するステップと、所定のFATに従って記憶装置のFATを構成するステップと、ディレクトリファイルおよびFATに従って記憶装置にデータを書き込むようにコントローラを制御するステップと、を実行する。 According to another aspect of the invention, a storage device control system is provided. A storage device control system includes a storage unit, a controller, and a processor. The storage unit stores a prescribed directory entry and a prescribed FAT. The controller writes data to the storage device. The processor controls the controller to configure directory entries of the storage device according to the predetermined directory file, configure the FAT of the storage device according to the predetermined FAT, and write data to the storage device according to the directory file and the FAT. Execute the step and

本発明の他の態様によれば、ドライブレコーダの記憶装置の制御方法が提供される。方法は、記憶部に記憶された所定のディレクトリエントリに従って、記憶装置のディレクトリエントリを構成するステップと、記憶部に記憶された所定のファイルアロケーションテーブル(FAT)に従って記憶装置のFATを構成するステップと、ディレクトリエントリおよびFATに従って記憶装置にデータを書き込むようにコントローラを制御するステップと、を含み、FAT内のエントリは、記憶装置内のそれぞれの所定のクラスタに対応し、FAT内の各エントリは、記憶装置内のそれぞれの所定のクラスタに新しいデータが書き込まれた後も変更されないままである。 According to another aspect of the present invention, there is provided a control method for a storage device of a drive recorder. The method comprises the steps of configuring the directory entries of the storage device according to predetermined directory entries stored in the storage unit and configuring the FAT of the storage device according to a predetermined file allocation table (FAT) stored in the storage unit. , controlling the controller to write data to the storage device according to the directory entries and the FAT, wherein the entries in the FAT correspond to respective predetermined clusters in the storage device, each entry in the FAT: Each given cluster in the storage device remains unchanged after new data is written.

本発明の一態様によれば、データは、少なくとも2つのファイルからのデータを含み、FATは、2つのファイルをインターリーブされたクラスタに記憶するように構成される。 According to one aspect of the invention, the data includes data from at least two files, and the FAT is configured to store the two files in interleaved clusters.

本発明の別の態様によれば、少なくとも2つのファイルは、同じビットレートを有するビデオファイルであり、記憶装置のFATを構成するステップは、少なくとも2つのファイルの各々に同じ数の所定のクラスタを割り当てるステップを含む。 According to another aspect of the invention, the at least two files are video files having the same bitrate, and the step of configuring the FAT of the storage device includes creating the same number of predetermined clusters in each of the at least two files. Including assigning step.

本発明のさらに別の態様によれば、少なくとも2つのファイルは、互いに異なるビットレートを有するビデオファイルであり、記憶装置のFATを構成するステップは、少なくとも2つのファイルのビットレートに従って、少なくとも2つのファイルの各々に所定のクラスタを割り当てるステップを含む。 According to yet another aspect of the invention, the at least two files are video files having different bitrates from each other, and the step of configuring the FAT of the storage device comprises: assigning a predetermined cluster to each of the files;

別の実施形態によれば、記憶装置制御システムが提供される。システムは、所定のディレクトリエントリおよび所定のファイルアロケーションテーブル(FAT)を記憶する記憶部と、記憶装置にデータを書き込むコントローラと、プロセッサと、を含み、プロセッサは、所定のディレクトリエントリに従って、記憶装置のディレクトリエントリを構成するステップと、所定のFATに従って記憶装置のFATを構成するステップと、ディレクトリエントリおよびFATに従って記憶装置にデータを書き込むようにコントローラを制御するステップと、を実行し、FAT内のエントリは、記憶装置内のそれぞれの所定のクラスタに対応し、FAT内の各エントリは、記憶装置内のそれぞれの所定のクラスタに新しいデータが書き込まれた後も変更されない。 According to another embodiment, a storage device control system is provided. The system includes a storage unit that stores predetermined directory entries and a predetermined file allocation table (FAT), a controller that writes data to the storage device, and a processor. configuring a directory entry; configuring a FAT of a storage device according to a predetermined FAT; controlling a controller to write data to the storage device according to the directory entry and the FAT; corresponds to each given cluster in the storage device, and each entry in the FAT remains unchanged after new data is written to each given cluster in the storage device.

本発明の上記および他の態様は、非限定的な実施形態の以下の詳細な説明に関してよりよく理解されるであろう。以下、図面を参照しながら説明する。 The above and other aspects of the present invention will become better understood with regard to the following detailed description of non-limiting embodiments. Description will be made below with reference to the drawings.

従来技術のFATファイルシステムを採用する記憶装置の概略図である。1 is a schematic diagram of a storage device employing a prior art FAT file system; FIG. 従来技術のドライブレコーダのファイルを書き込むための方法のフローチャートである。1 is a flow chart of a method for writing files of a prior art drive recorder; 図2の動作を実行する記憶装置の概略図である。3 is a schematic diagram of a storage device that performs the operations of FIG. 2; FIG. 本発明の一実施形態による制御システムのブロック図である。1 is a block diagram of a control system according to one embodiment of the invention; FIG. 本発明の一実施形態によるドライブレコーダの記憶装置の制御方法のフローチャートである。4 is a flow chart of a method for controlling a storage device of a drive recorder according to an embodiment of the present invention; 本発明の一実施形態による、ディレクトリファイルおよびファイルアロケーションテーブル(FAT)が構成されている記憶装置の概略図である。1 is a schematic diagram of a storage device configured with directory files and a file allocation table (FAT) according to an embodiment of the present invention; FIG. 本発明の一実施形態による記憶装置へのデータ書き込みのフローチャートである。4 is a flowchart of writing data to a storage device according to one embodiment of the present invention; 図7の動作を実行する記憶装置の概略図である。8 is a schematic diagram of a storage device that performs the operations of FIG. 7; FIG. 本発明の一実施形態による、事前構成された連続データクラスタの構成を示す。Fig. 3 shows the organization of pre-configured contiguous data clusters according to an embodiment of the invention; 本発明の一実施形態による、異なるまたは同じアプリケーションからの複数のファイルをサポートする事前構成された連続データクラスタの構成を示す。FIG. 4 illustrates the configuration of preconfigured contiguous data clusters to support multiple files from different or the same application, according to one embodiment of the present invention; 図10に示すファイル記憶手法の潜在的な欠点を示す概略図である。11 is a schematic diagram illustrating a potential drawback of the file storage approach shown in FIG. 10; FIG. 図10に示すファイル記憶手法の潜在的な欠点を示す概略図である。11 is a schematic diagram illustrating a potential drawback of the file storage approach shown in FIG. 10; FIG. 本発明の一実施形態による、インターリーブされたFATが構成されている記憶装置の概略図である。1 is a schematic diagram of a storage device configured with interleaved FATs according to an embodiment of the present invention; FIG. 本発明の一実施形態による、インターリーブ手法と一致する複数のクラスタへのデータ記憶方法を示す。Figure 4 illustrates a method of storing data in multiple clusters consistent with an interleaving technique, according to one embodiment of the present invention; 本発明の一実施形態による、修正された、インターリーブされたFATが構成されている記憶装置の概略図である。1 is a schematic diagram of a storage device configured with a modified interleaved FAT according to one embodiment of the present invention; FIG. 本発明の一実施形態による、修正されたインターリーブ手法と一致する複数のクラスタへのデータ記憶方法を示す。Figure 4 illustrates a method of storing data in multiple clusters consistent with a modified interleaving technique, according to one embodiment of the present invention; 本発明の一実施形態による、別の修正された、インターリーブされたFATが構成されている記憶装置の概略図である。FIG. 4 is a schematic diagram of another modified interleaved FAT configured storage device according to an embodiment of the present invention; 本発明の一実施形態による、別の修正されたインターリーブ手法と一致する複数のクラスタへのデータ記憶方法を示す。FIG. 4 illustrates a method of storing data in multiple clusters consistent with another modified interleaving technique, according to an embodiment of the present invention; FIG.

従来技術のドライブレコーダの記憶装置の課題を考慮し、本発明は、所定のファイルアロケーションテーブル(FAT)および所定のディレクトリエントリに従って記憶装置のFATおよびディレクトリエントリを構成し、予期せぬ電源断による読み取り失敗を防止するドライブレコーダの記憶装置の制御方法および記憶装置制御システムを提供する。 Considering the problem of the storage device of the prior art drive recorder, the present invention configures the FAT and directory entries of the storage device according to a predetermined File Allocation Table (FAT) and predetermined directory entries to prevent readout due to unexpected power failure. Provided are a drive recorder storage device control method and a storage device control system that prevent failure.

図4は、本発明の一実施形態による制御システム100のブロック図を示す。例えば、制御システム100は、制御チップである。本実施形態では、制御システム100は、ビデオカメラ200および記憶装置400に接続されている。制御システム100およびビデオカメラ200は、例えばドライブレコーダに設けられてもよい。記憶装置400は、例えばSDカードまたはハードドライブであり、ドライブレコーダに内蔵または外付けされてもよい。制御システム100は、記憶部110と、コントローラ120と、プロセッサ130とを含む。記憶部110は、所定のディレクトリエントリおよび所定のFATを記憶する。コントローラ120は、記憶装置400にデータを書き込む。プロセッサ130は、記憶装置400のディレクトリエントリおよびFATを構成する。 FIG. 4 shows a block diagram of control system 100 in accordance with one embodiment of the present invention. For example, control system 100 is a control chip. In this embodiment, control system 100 is connected to video camera 200 and storage device 400 . Control system 100 and video camera 200 may be provided, for example, in a drive recorder. The storage device 400 is, for example, an SD card or hard drive, and may be internal or external to the drive recorder. Control system 100 includes storage 110 , controller 120 , and processor 130 . Storage unit 110 stores a predetermined directory entry and a predetermined FAT. Controller 120 writes data to storage device 400 . Processor 130 configures the directory entries and FAT of storage device 400 .

図5は、本発明の一実施形態によるドライブレコーダの記憶装置の制御方法のフローチャートを示す。本実施形態では、プロセッサ130は、ドライブレコーダが起動する度に、または記憶装置400が交換される度に、記憶装置400内にディレクトリエントリおよびFATが存在するかどうかを確認する(ステップS501)。存在しない場合、プロセッサ130は、記憶部110内の所定のディレクトリエントリおよび所定のFATに従って、ディレクトリエントリおよびFATを記憶装置400に直接構成し(ステップS503)、存在する場合、プロセッサ130は、さらに、記憶装置400内のディレクトリエントリおよびFATが、記憶部110内の所定のディレクトリエントリおよび所定のFATと同一であるかどうかを確認する(ステップS502)。異なる場合、プロセッサ130は、記憶部110内の所定のディレクトリエントリおよび所定のFATに応じて、記憶装置400内のディレクトリエントリおよびFATを直接構成する(ステップS503)。 FIG. 5 shows a flow chart of a control method for a drive recorder storage device according to an embodiment of the present invention. In this embodiment, the processor 130 checks whether the directory entry and FAT exist in the storage device 400 each time the drive recorder is started or the storage device 400 is replaced (step S501). If not present, the processor 130 directly configures the directory entry and the FAT in the storage device 400 according to the predetermined directory entry and the predetermined FAT in the storage unit 110 (step S503). It is checked whether the directory entry and FAT in storage device 400 are the same as the prescribed directory entry and prescribed FAT in storage unit 110 (step S502). If not, processor 130 directly configures the directory entry and FAT in storage device 400 according to the prescribed directory entry and prescribed FAT in storage unit 110 (step S503).

図6は、本発明の一実施形態による、ディレクトリエントリおよびFATが構成されている記憶装置400の概略図を示す。記憶装置400は、所定のFATに従って構成されるFAT420と、所定のFATに従って構成されるディレクトリエントリ430と、複数のデータクラスタ440とを含む。 FIG. 6 shows a schematic diagram of a storage device 400 configured with directory entries and FATs, according to one embodiment of the present invention. Storage device 400 includes FAT 420 configured according to a predetermined FAT, directory entries 430 configured according to a predetermined FAT, and a plurality of data clusters 440 .

図6に示すように、ディレクトリエントリ430において、プロセッサ130は、ファイルに対応するファイル名FCおよびファイルFCに対応する開始データクラスタを、番号「11」のデータクラスタとして構成し、FAT420において、プロセッサ130は、さらに、ファイルFCに対応するFATチェーンを、番号「11」から「15」のデータクラスタとして構成する。同様に、ディレクトリエントリ430において、プロセッサ130は、対応するファイル名FDおよびファイルFDに対応する開始データクラスタを、番号「16」のデータクラスタとして構成し、FAT420において、プロセッサ130は、さらに、ファイルFDに対応するFATチェーンを、番号「16」から「20」のデータクラスタとして構成する。 As shown in FIG. 6, in directory entry 430, processor 130 configures the file name FC corresponding to the file and the starting data cluster corresponding to file FC as the data cluster numbered "11", and in FAT 420, processor 130 further configures the FAT chain corresponding to the file FC as data clusters numbered "11" to "15". Similarly, in directory entry 430, processor 130 configures the corresponding file name FD and the starting data cluster corresponding to file FD as the data cluster numbered "16", and in FAT 420, processor 130 further configures file FD , as data clusters numbered "16" to "20".

すなわち、ファイルFCのデータは、番号「11」から「15」のデータクラスタに記憶されるように予め設定され、ファイルFDのデータは、番号「16」から「20」のデータクラスタに記憶されるように予め設定されている。なお、ディレクトリエントリ430およびFAT420は既に構成されているが、記憶装置400では、図6に示すように、ファイルFCおよびファイルFDに対応するデータクラスタ(すなわち、番号「11」から「20」のデータクラスタ)は、ファイルFCおよびファイルFDに対応するデータと共に記憶されない。 That is, the data of the file FC is preset to be stored in the data clusters numbered "11" to "15", and the data of the file FD is stored in the data clusters numbered "16" to "20". It is preset as Although the directory entry 430 and the FAT 420 have already been configured, in the storage device 400, as shown in FIG. clusters) are not stored with the data corresponding to files FC and FD.

図7は、本発明の一実施形態による記憶装置400へのデータ書き込みのフローチャートを示す。本実施形態では、プロセッサ130は、コントローラ120を制御して、ディレクトリエントリ430およびFAT420に従って記憶装置400にデータを書き込む。 FIG. 7 shows a flowchart of writing data to storage device 400 according to one embodiment of the present invention. In this embodiment, processor 130 controls controller 120 to write data to storage device 400 according to directory entries 430 and FAT 420 .

例えば、ドライブレコーダが記録を開始すると、プロセッサ130は、ディレクトリエントリ430に従って、データを書き込むためのファイルを選択する(ステップS704)。一実施形態では、ディレクトリエントリ430内のファイル名は時間情報を運ぶので、プロセッサ130は、ディレクトリエントリ430内のファイル名に従って、データを書き込むための最も古いファイルを選択することができる。例えば図6を見ると、ファイルFCが最も古いファイルである。 For example, when the drive recorder starts recording, processor 130 selects a file for writing data according to directory entry 430 (step S704). In one embodiment, the filenames in directory entry 430 carry time information so that processor 130 can select the oldest file to write data to according to the filenames in directory entry 430 . For example, looking at FIG. 6, file FC is the oldest file.

次に、プロセッサ130は、そのファイルに対応するディレクトリエントリ430内のファイル名を変更する(ステップS705)。上記の例に続き、プロセッサ130は、図8に示すように、ディレクトリエントリ430において、プロセッサ130がデータを書き込むために選択するファイルのファイル名を「FC」から「FE」に変更する。ディレクトリエントリ430において、ファイルFEに対応する開始データクラスタは変更されず、依然として番号「11」のデータクラスタであることに留意されたい。さらに、FAT420において、ファイルFEに対応するFATチェーンは変更されず、番号「11」から「15」のデータクラスタのままである。 Next, processor 130 changes the file name in directory entry 430 corresponding to that file (step S705). Continuing the above example, processor 130 changes the file name of the file that processor 130 selects to write data from "FC" to "FE" in directory entry 430, as shown in FIG. Note that in directory entry 430, the starting data cluster corresponding to file FE is unchanged and is still the data cluster numbered "11". Further, in FAT420, the FAT chain corresponding to file FE is unchanged and remains data clusters numbered "11" to "15".

プロセッサ130は、コントローラ120を制御して、ファイル用に構成された記憶装置400内のデータクラスタにデータを書き込む(ステップS706)。上記の例に続き、プロセッサ130は、図8に示すように、記憶装置400内の番号「11」から「15」のデータクラスタに順次データを書き込むようにコントローラ120を制御する。 Processor 130 controls controller 120 to write data to data clusters in storage device 400 configured for the file (step S706). Continuing with the above example, processor 130 controls controller 120 to sequentially write data to data clusters numbered "11" through "15" in storage device 400, as shown in FIG.

次に、プロセッサ130は、データの書き込みを継続するかどうかを決定する(ステップS707)。データの書き込みが継続される場合、ステップS704~S706が繰り返され、そうでない場合、処理は終了する。 Processor 130 then determines whether to continue writing data (step S707). If the writing of data continues, steps S704-S706 are repeated, otherwise the process ends.

以上のことから、プロセッサ130が記憶装置400にデータを書き込む過程において、FAT420は更新されないことが分かる。したがって、ドライブレコーダが予期せぬ電源断に遭遇した場合でも、FAT内のファイルに対応するFATチェーンはそのまま維持され、記憶装置400内のファイル内のデータは依然として完全に読み取ることができる。 From the above, it can be seen that the FAT 420 is not updated while the processor 130 writes data to the storage device 400 . Therefore, even if the drive recorder encounters an unexpected power loss, the FAT chain corresponding to the files in the FAT will remain intact and the data in the files in the storage device 400 can still be read completely.

さらに、従来技術では、プロセッサは、データを書き込むために空のデータクラスタを検索するのに時間を費やす必要がある。ファイルの書き込みおよび削除の複数の操作の後、空のデータクラスタは通常フラグメントにあり、そのためファイル書き込み性能が低下する。従来技術と比較して、本発明におけるファイルのデータクラスタは事前構成されており、変更されず、これは、プロセッサがデータを書き込むための空のクラスタの検索に時間を費やす必要がないことを意味し、これによりファイル書き込み性能が向上する。一実施形態では、ファイルのクラスタは、ファイル書き込み性能をさらに向上させるために(図6に示すように)連続しているものとして構成されてもよい。 Furthermore, in the prior art, the processor has to spend time searching for empty data clusters to write data. After multiple file write and delete operations, empty data clusters are usually in fragments, which degrades file write performance. Compared to the prior art, the data clusters of the file in the present invention are preconfigured and unchanged, which means the processor does not have to spend time searching for empty clusters to write data. This will improve file write performance. In one embodiment, clusters of files may be configured as contiguous (as shown in FIG. 6) to further improve file write performance.

さらに、従来技術では、プロセッサは、データを書き込む前に利用可能な空間が十分であるかどうかを決定する必要がある。利用可能な空間が不十分である場合、プロセッサは、少なくとも1つのファイルに対応するファイル名および開始データクラスタをディレクトリエントリから削除する必要があり、また、少なくとも1つのファイルに対応するFATチェーンをFATから削除する必要があり、これはファイル書き込み性能を低下させる。従来技術と比較して、本発明のプロセッサ130は、データを書き込む前に利用可能な空間が十分であるかどうかを決定する必要も、ディレクトリファイルからファイル名および開始データクラスタを削除し、FATからFATチェーンを削除する必要もないので、ファイル書き込み性能がさらに向上する。 Additionally, in the prior art, the processor must determine if the available space is sufficient before writing data. If insufficient space is available, the processor should remove the filename and starting data cluster corresponding to at least one file from the directory entry, and remove the FAT chain corresponding to at least one file from the FAT , which degrades file write performance. Compared to the prior art, the processor 130 of the present invention also removes the file name and starting data cluster from the directory file and removes the file name and starting data cluster from the FAT without having to determine if the available space is sufficient before writing data. File write performance is further improved since the FAT chain does not need to be deleted.

図9は、本発明の一実施形態による、事前構成された連続データクラスタの構成を示す。図6に関連して説明したように、FATが連続したデータクラスタの形式で事前構成されている場合、ファイルは図9に示すようにクラスタに順次記憶される。すなわち、例えばセキュアデジタル(SD)カードでは、メモリはN個のセクションに分割され、各セクションは、例えば連続した1000クラスタのデータ空間を有する。ファイルはこれらのN個のセクションに順次書き込まれ、新しいファイルは以前の古いファイルを循環的に上書きする。図9に示す手法は、例えば、一度に1つのビデオファイルのみを記録する単純なアプリケーションにはよく機能するが、製品アプリケーションの複雑さが増すにつれて、例えば、同時に2つ以上のビデオ(または他の種類の)ファイルを記録することができるアプリケーションがますます多くなっている。 FIG. 9 illustrates the organization of preconfigured contiguous data clusters according to one embodiment of the present invention. If the FAT is preconfigured in the form of contiguous data clusters, as described in connection with FIG. 6, the files are stored sequentially in clusters as shown in FIG. That is, in a Secure Digital (SD) card, for example, the memory is divided into N sections, each section having a data space of, for example, 1000 contiguous clusters. Files are written sequentially into these N sections, with new files cyclically overwriting previous old files. The technique shown in FIG. 9 works well for simple applications, e.g., recording only one video file at a time, but as the complexity of production applications increases, e.g., two or more videos (or other There are more and more applications that can record files of any kind.

これに関して、図10は、本発明の一実施形態による、異なるアプリケーションからの複数のファイルをサポートする事前構成された連続データクラスタの構成を示す。例えば、より高い解像度およびより低い解像度のビデオにそれぞれ対応する大/小ファイルの形態の2つのタイプのファイルを、実質的に同時にメモリに記憶することができる。別の例では、例えば、同様にメモリに実質的に同時に記憶された、フロントレンズおよびリアレンズに対応するビデオファイルを含むマルチレンズアプリケーションが実装されてもよい。したがって、図10に示すように、一例では、フロント(F)カメラとリア(R)カメラには、ビデオファイルを記憶するために同じ数のセクション(例えば、N個)が割り当てられる。各ビデオファイルの記録時間が例えば1分間である場合、FファイルXおよびRファイルXは、1分間にわたって同時に書き込まれることとなる。 In this regard, FIG. 10 illustrates the configuration of preconfigured contiguous data clusters supporting multiple files from different applications, according to one embodiment of the present invention. For example, two types of files in the form of large/small files corresponding respectively to higher resolution and lower resolution video can be stored in memory substantially simultaneously. In another example, for example, a multi-lens application may be implemented that includes video files corresponding to front and rear lenses, also stored substantially simultaneously in memory. Thus, as shown in FIG. 10, in one example, the front (F) and rear (R) cameras are allocated the same number of sections (eg, N) for storing video files. If the recording time of each video file is, for example, 1 minute, the F file X and the R file X will be written simultaneously for 1 minute.

図11Aおよび図11Bは、図10に示すファイル記憶手法の潜在的な欠点を示す概略図である。図11Aでは、SDストレージ1110は、ブートセクタ1120、FAT1130、ディレクトリエントリ1140、および複数のデータクラスタ1150を含み、これらは図11Bでは論理的に1160および1170としても示されている。さらに、2つのビデオファイルを同時に記憶したいという状況では、例えばFファイルXおよびRファイルXを同時にSDストレージ1110に書き込む従来の方法は、図11Bに示すように、FファイルXがクラスタ1100~2099に連続して記憶され、RファイルXがクラスタ20100~21099に連続して記憶される、クラスタによる記憶に依存する。この場合、FAT1130は、異なるファイルを所定のクラスタに記憶するように事前構成される。 11A and 11B are schematic diagrams illustrating potential drawbacks of the file storage approach shown in FIG. 11A, SD storage 1110 includes boot sector 1120, FAT 1130, directory entry 1140, and multiple data clusters 1150, also shown logically as 1160 and 1170 in FIG. 11B. Furthermore, in a situation where you want to store two video files at the same time, the conventional method of writing, for example, F-file X and R-file X to SD storage 1110 at the same time is to store F-file X in clusters 1100-2099, as shown in FIG. 11B. It relies on storage by clusters, where R-file X is stored contiguously in clusters 20100-21099. In this case, FAT 1130 is preconfigured to store different files in predetermined clusters.

しかしながら、このように複数のファイルが同時にSDストレージ1110に書き込まれると、連続したSD書き込み動作の効率が低下する望ましくない現象が生じる。より具体的には、SD書き込み動作はクラスタに基づいており、したがって、FファイルXおよびRファイルXが(実質的に)同時にSDストレージ1110に書き込まれるとき、実際の挙動としては、FファイルXがいくつかのクラスタに書き込まれた後、RファイルXをいくつかのクラスタに書き込むようにシステムが切り替わる。システムは、図11Bの番号1~8で示すように、2つのファイルを切り替え続ける。その結果、SDストレージ1110は、次の隣接クラスタで連続的に書き込みを行うことができず、代わりに、別のファイルを書き込むために遠いクラスタに「ジャンプ」する。この現象は、SD書き込み動作効率を低下させる「ランダムライト」または「ランダムジャンプ」と呼ばれることがある。 However, when multiple files are written to the SD storage 1110 at the same time in this way, an undesirable phenomenon occurs that reduces the efficiency of consecutive SD write operations. More specifically, SD write operations are based on clusters, so when F-file X and R-file X are (substantially) simultaneously written to SD storage 1110, the actual behavior is that F-file X After several clusters have been written, the system switches to writing R-file X to several clusters. The system continues to switch between the two files as indicated by numbers 1-8 in FIG. 11B. As a result, the SD storage 1110 cannot continuously write in the next adjacent cluster, but instead "jumps" to a distant cluster to write another file. This phenomenon is sometimes called "random write" or "random jump" which reduces SD write operation efficiency.

図12Aは、本発明の一実施形態による、インターリーブされたディレクトリファイルおよびFATが構成されている記憶装置の概略図であり、図12Bは、本発明の一実施形態による、インターリーブ手法と一致する複数のクラスタへのデータ記憶方法を示す。図12Aでは、SDストレージ1210は、ブートセクタ1220、FAT1230、ディレクトリエントリ1240、および複数のデータクラスタ1250を含み、これらは図12Bでは論理的に1260としても示されている。 FIG. 12A is a schematic diagram of a storage device configured with interleaved directory files and FATs, according to one embodiment of the present invention, and FIG. shows how data is stored in clusters. In FIG. 12A, SD storage 1210 includes boot sector 1220, FAT 1230, directory entry 1240, and multiple data clusters 1250, also shown logically as 1260 in FIG. 12B.

図11Aおよび図11Bを参照して説明されたランダムライト問題に対処するために、FAT1230に記憶された関連ビデオファイルのクラスタリストは、インターリーブされるようにフォーマットまたは構成される。重要なことに、クラスタインターリーブでは、ランダムライト現象が排除される。このインターリーブ分布手法は、クラスタ内の各ビデオファイルのビットレートの構成比に基づくことができる。 To address the random write problem described with reference to FIGS. 11A and 11B, cluster lists of related video files stored in FAT 1230 are formatted or configured to be interleaved. Importantly, cluster interleaving eliminates the random write phenomenon. This interleaved distribution technique can be based on the bitrate composition ratio of each video file in the cluster.

一例として、FファイルXとRファイルXのビットレート比が1:1であるとする。そのような場合、FAT1230は、FファイルXおよびRファイルXの各連続クラスタが互いに等しくインターリーブされ、複数のデータクラスタ1250および1260に示すように記憶されたデータクラスタをもたらすようにフォーマットまたは構成される。 As an example, assume that the bit rate ratio between F file X and R file X is 1:1. In such a case, FAT 1230 is formatted or configured so that each successive cluster of F-file X and R-file X is interleaved equally with each other, resulting in data clusters stored as shown in multiple data clusters 1250 and 1260. .

もちろん、FファイルとXとRファイルXのビットレート比をK倍に拡大することもでき、一般的にはK:K(例えば、K=2)で表される。そのような場合、2つのビデオファイルのクラスタリストは、図13Aおよび図13Bに示すようにインターリーブすることができ、これは、インターリーブされるクラスタ比が単一クラスタから単一クラスタに限定されないという点で、「修正された」インターリーブされたディレクトリファイルおよびFATと呼ばれることがある。したがって、図13Aは、ブートセクタ1320、FAT1330、ディレクトリエントリ1340、および複数のデータクラスタ1350を含むSDストレージ1310を示し、これらは図13Bでは論理的に1360としても示されており、図示のように、各FファイルX、RファイルXは、インターリーブ方式で2つのクラスタ(K=2)が割り当てられている。したがって、各独立したファイルのための追加のクラスタに対する要求が増大した場合でも、インターリーブされたFAT1330およびデータクラスタ1350は、ランダムライト現象に対処する。 Of course, the bitrate ratio of the F file, X, and R file, X, can be scaled up by K times, and is generally expressed as K:K (eg, K=2). In such cases, the cluster lists of the two video files can be interleaved as shown in FIGS. 13A and 13B, in that the interleaved cluster ratio is not limited from single cluster to single cluster. , sometimes referred to as "modified" interleaved directory files and FATs. Thus, Figure 13A shows an SD storage 1310 including a boot sector 1320, a FAT 1330, a directory entry 1340, and a plurality of data clusters 1350, also shown logically as 1360 in Figure 13B, as shown. , F file X, and R file X are assigned two clusters (K=2) in an interleaved manner. Thus, interleaved FAT 1330 and data clusters 1350 address the random write phenomenon even as the demand for additional clusters for each independent file increases.

図14Aは、本発明の一実施形態による、別の修正された、インターリーブされたFATが構成されている記憶装置の概略図であり、図14Bは、本発明の一実施形態による、別の修正されたインターリーブ手法と一致する複数のクラスにデータが記憶される方法を示す。図14Aは、ブートセクタ1420、FAT1430、ディレクトリエントリ1440、および複数のデータクラスタ1450を含むSDストレージ1410を示し、これらは図14Bでは論理的に1460としても示されている。図14Aおよび図14Bは、FファイルXおよびRファイルXのビットレート比が必ずしも1:1の比を有する必要はなく、代わりに2:1などの不等比を有し得ることを示している。したがって、FAT1430に示すように、RファイルXに割り当てられた1つのクラスタごとに2つのクラスタがFファイルXに割り当てられる。複数のデータクラスタ1450および1460は、この同じ割り当て例を示している。 FIG. 14A is a schematic diagram of another modified interleaved FAT organized storage device according to an embodiment of the present invention, and FIG. 14B is another modified according to an embodiment of the present invention. shows how data is stored in multiple classes consistent with the interleaving scheme used. FIG. 14A shows SD storage 1410 including boot sector 1420, FAT 1430, directory entry 1440, and multiple data clusters 1450, also shown logically as 1460 in FIG. 14B. FIGS. 14A and 14B show that the bitrate ratios of F file X and R file X do not necessarily have a 1:1 ratio, but can instead have unequal ratios such as 2:1. . Thus, two clusters are allocated to F-file X for each cluster allocated to R-file X, as shown in FAT 1430 . Multiple data clusters 1450 and 1460 illustrate this same allocation example.

上記から、複数のファイルをファイルごとに、別々であるが連続して割り当てられたクラスタに記憶するときに、望ましくないランダムライト現象が発生する可能性があることが当業者には理解されよう。この現象により、SD書き込み性能が低下する。本明細書に記載のインターリーブ手法は、この欠陥に対処する。さらに、ビデオファイル間のビットレート比に従って、フォーマット中に各(ビデオ)ファイルのクラスタリストインターリーブが構成される。ファイルが記録されると、システムは、ビットレート比に従ってファイル間でSD書き込みを切り替える。そして、有意に、SDランダムライトが回避され、SD書き込み効率を維持することを有効にする連続的なクラスタ書き込みがもたらされる。 From the above, it will be appreciated by those skilled in the art that undesirable random write phenomena can occur when storing multiple files for each file in separate but contiguously allocated clusters. This phenomenon degrades the SD write performance. The interleaving approach described herein addresses this deficiency. Furthermore, the cluster list interleaving of each (video) file is constructed in the format according to the bitrate ratio between the video files. As files are recorded, the system switches SD writes between files according to the bitrate ratio. And, significantly, SD random writes are avoided, resulting in sequential cluster writes that help maintain SD write efficiency.

図4~図7の実施形態に関して述べたように、予期せぬ電源異常の場合、完全なデータリンクが存在するため、最後に書き込まれたデータを依然として見つけることができる。また、記録をループする場合、古いファイルは削除されず、ディレクトリエントリ(430、1140、1240、1340、1440)においてファイル名のみが変更されるため、シフトの効率が向上する。これらの利点の両方は、本明細書に記載のインターリーブ手法に関連して残っている。 As discussed with respect to the embodiments of Figures 4-7, in the event of an unexpected power failure, the last written data can still be found because there is a complete data link. Also, when looping recording, the shift is more efficient because old files are not deleted, only the file name is changed in the directory entries (430, 1140, 1240, 1340, 1440). Both of these advantages remain associated with the interleaving approach described herein.

インターリーブ手法はまた、各クラスタの割り当てを構成するために、実質的に同時に記録される(ビデオ)ファイル間のビットレート比を使用することができる。フォーマット段階では、クラスタリストがインターリーブされる。このファイル群(例えば、FファイルXおよびRファイルX)が実質的に同時に記録されると、システムは、構成されたクラスタ数の比に従って、異なるファイルへのSDライトをインターレースする。この組み合わせは、連続的なクラスタ書き込みを達成し、SD書き込みの効率を維持することができる。 The interleaving approach can also use the bit rate ratio between substantially simultaneously recorded (video) files to configure the allocation of each cluster. During the formatting stage, the cluster list is interleaved. When this group of files (eg, F file X and R file X) are recorded at substantially the same time, the system interlaces SD writes to different files according to the configured cluster number ratio. This combination can achieve sequential cluster writes and maintain the efficiency of SD writes.

最後に、記載されたクラスタリストインターリーブ機構は、2つのビデオファイル(例えば、FファイルXおよびRファイルX)のみに限定されず、3つ以上のインターリーブされたビデオファイルクラスタにも適用できることに留意されたい。 Finally, it is noted that the described cluster list interleaving mechanism is not limited to only two video files (e.g., F file X and R file X), but can also be applied to three or more interleaved video file clusters. sea bream.

本発明を例として、また上記の実施形態に関して説明したが、本発明はこれらに限定されないことを理解されたい。逆に、様々な修正ならびに類似の配置および手順を網羅することが意図されており、したがって、添付の特許請求の範囲は、そのような修正ならびに類似の配置および手順をすべて包含するように最も広い解釈が与えられるべきである。 While the present invention has been described by way of example and with respect to the above embodiments, it should be understood that the present invention is not so limited. On the contrary, it is intended to cover various modifications and similar arrangements and procedures, and therefore the scope of the appended claims is the broadest to encompass all such modifications and similar arrangements and procedures. An interpretation should be given.

本出願は、2017年9月20日に出願された米国特許出願第15/709,813号の一部継続出願であり、2017年6月27日に出願された台湾特許出願第106121373号の利益を主張し、両方の主題は参照により本明細書に組み込まれる。
This application is a continuation-in-part of U.S. patent application Ser. and both subject matter are incorporated herein by reference.

Claims (20)

ドライブレコーダの記憶装置の制御方法であって、
記憶部に記憶された所定のディレクトリエントリに従って、前記記憶装置のディレクトリエントリを構成するステップと、
前記記憶部に記憶された所定のファイルアロケーションテーブル(FAT)に従って前記記憶装置のFATを構成するステップと、
前記ディレクトリエントリおよび前記FATに従って前記記憶装置にデータを書き込むようにコントローラを制御するステップと、を含み、
前記FAT内のエントリは、前記記憶装置内のそれぞれの所定のクラスタに対応し、前記FAT内の各エントリは、前記記憶装置内の前記それぞれの所定のクラスタに新しいデータが書き込まれた後も変更され
前記データは、少なくとも2つのファイルからのデータを含み、前記FATは、前記2つのファイルをインターリーブされたクラスタに記憶するように構成される、制御方法。
A control method for a storage device of a drive recorder,
configuring directory entries of the storage device according to predetermined directory entries stored in the storage unit;
configuring the FAT of the storage device according to a predetermined file allocation table (FAT) stored in the storage unit;
controlling a controller to write data to the storage device according to the directory entry and the FAT;
Entries in the FAT correspond to respective predetermined clusters in the storage device, and each entry in the FAT changes after new data is written to the respective predetermined clusters in the storage device. not ,
The method of control, wherein the data includes data from at least two files, and wherein the FAT is configured to store the two files in interleaved clusters.
前記少なくとも2つのファイルは、同じビットレートを有するビデオファイルであり、前記記憶装置の前記FATを構成するステップは、前記少なくとも2つのファイルの各々に同じ数の前記所定のクラスタを割り当てるステップを含む、請求項に記載の制御方法。 wherein the at least two files are video files having the same bitrate, and configuring the FAT of the storage device includes assigning the same number of the predetermined clusters to each of the at least two files; The control method according to claim 1 . 前記少なくとも2つのファイルは、互いに異なるビットレートを有するビデオファイルであり、前記記憶装置の前記FATを構成するステップは、前記少なくとも2つのファイルの前記ビットレートに従って、前記少なくとも2つのファイルの各々に前記所定のクラスタを割り当てるステップを含む、請求項に記載の制御方法。 The at least two files are video files having bitrates different from each other, and the step of configuring the FAT of the storage device comprises: converting each of the at least two files according to the bitrates of the at least two files; 2. A control method according to claim 1 , comprising the step of assigning predetermined clusters. 前記記憶装置の前記ディレクトリエントリを構成するステップは、
ファイルに対応するファイル名を前記ディレクトリエントリに構成するステップを含む、請求項1に記載の制御方法。
Configuring the directory entries of the storage device comprises:
2. A control method according to claim 1, comprising configuring a file name corresponding to a file in said directory entry.
前記記憶装置の前記ディレクトリエントリを構成するステップは、
前記ファイルに対応する開始データクラスタを前記ディレクトリエントリに構成するステップを含む、請求項に記載の制御方法。
Configuring the directory entries of the storage device comprises:
5. The control method of claim 4 , comprising configuring a starting data cluster corresponding to said file in said directory entry.
前記記憶装置の前記FATを構成するステップは、
前記ファイルに対応するFATチェーンを前記FATに構成するステップを含む、請求項に記載の制御方法。
The step of configuring the FAT of the storage device comprises:
6. The control method of claim 5 , comprising configuring a FAT chain corresponding to said file in said FAT.
前記ディレクトリエントリおよび前記FATに従って前記記憶装置にデータを書き込むように前記コントローラを制御するステップは、
前記ディレクトリエントリ内で、前記ファイルに対応する前記ファイル名を更新するステップと、
前記ファイル用に構成された前記記憶装置内のデータクラスタにデータを書き込むように前記コントローラを制御するステップと、を含む、請求項に記載の制御方法。
controlling the controller to write data to the storage device according to the directory entry and the FAT;
updating the file name corresponding to the file in the directory entry;
and controlling the controller to write data to data clusters in the storage device configured for the file.
前記ディレクトリエントリにおいて、前記ファイルに対応する前記開始データクラスタは変更されないままである、請求項に記載の制御方法。 8. A control method according to claim 7 , wherein in said directory entry said starting data cluster corresponding to said file remains unchanged. 前記FATにおいて、前記ファイルに対応する前記FATチェーンは変更されないままである、請求項に記載の制御方法。 9. The control method of claim 8 , wherein in the FAT, the FAT chain corresponding to the file remains unchanged. 前記FATを構成するステップは、 The step of configuring the FAT includes:
前記少なくとも2つのファイルに対応する特定の比のクラスタを構成するステップを含む、請求項1に記載の制御方法。 2. A control method as claimed in claim 1, comprising the step of constructing a specific ratio of clusters corresponding to said at least two files.
記憶装置制御システムであって、
所定のディレクトリエントリおよび所定のファイルアロケーションテーブル(FAT)を記憶する記憶部と、
記憶装置にデータを書き込むコントローラと、
プロセッサと、を含み、前記プロセッサは、
前記所定のディレクトリエントリに従って、前記記憶装置のディレクトリエントリを構成するステップと、
前記所定のFATに従って前記記憶装置のFATを構成するステップと、
前記ディレクトリエントリおよび前記FATに従って前記記憶装置にデータを書き込むように前記コントローラを制御するステップと、を実行し、
前記FAT内のエントリは、前記記憶装置内のそれぞれの所定のクラスタに対応し、前記FAT内の各エントリは、前記記憶装置内の前記それぞれの所定のクラスタに新しいデータが書き込まれた後も変更されないままであ
前記データは、少なくとも2つのファイルからのデータを含み、前記FATは、前記2つのファイルをインターリーブされたクラスタに記憶するように構成される、記憶装置制御システム。
A storage device control system,
a storage unit that stores a predetermined directory entry and a predetermined file allocation table (FAT);
a controller that writes data to a storage device;
a processor, the processor comprising:
configuring directory entries of the storage device according to the predetermined directory entries;
configuring the FAT of the storage device according to the predetermined FAT;
controlling the controller to write data to the storage device according to the directory entry and the FAT;
Entries in the FAT correspond to respective predetermined clusters in the storage device, and each entry in the FAT changes after new data is written to the respective predetermined clusters in the storage device. and
A storage control system, wherein the data includes data from at least two files, and wherein the FAT is configured to store the two files in interleaved clusters.
前記少なくとも2つのファイルは、同じビットレートを有するビデオファイルであり、前記記憶装置の前記FATを構成するステップは、前記少なくとも2つのファイルの各々に同じ数の所定のクラスタを割り当てるステップを含む、請求項11に記載の記憶装置制御システム。 The at least two files are video files having the same bitrate, and the step of configuring the FAT of the storage device comprises assigning the same number of predetermined clusters to each of the at least two files. Item 12. The storage device control system according to Item 11 . 前記少なくとも2つのファイルは、互いに異なるビットレートを有するビデオファイルであり、前記記憶装置の前記FATを構成するステップは、前記少なくとも2つのファイルの前記ビットレートに従って、前記少なくとも2つのファイルの各々に前記所定のクラスタを割り当てるステップを含む、請求項11に記載の記憶装置制御システム。 The at least two files are video files having bitrates different from each other, and the step of configuring the FAT of the storage device comprises: converting each of the at least two files according to the bitrates of the at least two files; 12. The storage control system of claim 11 , including the step of allocating predetermined clusters. 前記記憶装置の前記ディレクトリエントリを構成するステップは、
ファイルに対応するファイル名を前記ディレクトリエントリに構成するステップを含む、請求項11に記載の記憶装置制御システム。
Configuring the directory entries of the storage device comprises:
12. The storage control system of claim 11, comprising configuring a file name corresponding to a file in said directory entry.
前記記憶装置の前記ディレクトリエントリを構成するステップは、
前記ファイルに対応する開始データクラスタを前記ディレクトリエントリに構成するステップを含む、請求項14に記載の記憶装置制御システム。
Configuring the directory entries of the storage device comprises:
15. The storage control system of claim 14 , comprising configuring a starting data cluster corresponding to said file in said directory entry.
前記記憶装置の前記FATを構成するステップは、
前記ファイルに対応するFATチェーンを前記FATに構成するステップを含む、請求項15記載の記憶装置制御システム。
The step of configuring the FAT of the storage device comprises:
16. The storage control system of claim 15 , comprising configuring a FAT chain corresponding to said file in said FAT.
前記ディレクトリエントリおよび前記FATに従って前記記憶装置にデータを書き込むように前記コントローラを制御するステップは、
前記ディレクトリエントリ内で、前記ファイルに対応する前記ファイル名を変更するステップと、
前記ファイル用に構成された前記記憶装置内のデータクラスタにデータを書き込むように前記コントローラを制御するステップと、を含む、請求項16に記載の記憶装置制御システム。
controlling the controller to write data to the storage device according to the directory entry and the FAT;
renaming the file name corresponding to the file within the directory entry;
and controlling the controller to write data to data clusters in the storage device configured for the file.
前記ディレクトリエントリにおいて、前記ファイルに対応する前記開始データクラスタは変更されないままである、請求項17に記載の記憶装置制御システム。 18. The storage control system of claim 17 , wherein in said directory entry said starting data cluster corresponding to said file remains unchanged. 前記FATにおいて、前記ファイルに対応する前記FATチェーンは変更されないままである、請求項18に記載の記憶装置制御システム。 19. The storage control system of claim 18 , wherein in the FAT, the FAT chain corresponding to the file remains unchanged. 前記記憶装置の前記FATを構成するステップは、前記少なくとも2つのファイルに対応する特定の比のクラスタを構成するステップを含む、請求項11に記載の記憶装置制御システム。 12. The storage device control system of claim 11, wherein configuring the FAT of the storage device comprises configuring a specific ratio of clusters corresponding to the at least two files.
JP2021125600A 2020-08-05 2021-07-30 Drive recorder storage device control method and storage device control system Active JP7245876B2 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US16/985,288 US11435922B2 (en) 2017-06-27 2020-08-05 Control method for storage device of driving recorder and storage device control system
US16/985,288 2020-08-05

Publications (2)

Publication Number Publication Date
JP2022031185A JP2022031185A (en) 2022-02-18
JP7245876B2 true JP7245876B2 (en) 2023-03-24

Family

ID=78100704

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2021125600A Active JP7245876B2 (en) 2020-08-05 2021-07-30 Drive recorder storage device control method and storage device control system

Country Status (4)

Country Link
JP (1) JP7245876B2 (en)
KR (1) KR102521528B1 (en)
CN (1) CN113535268A (en)
TW (1) TWI774451B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001043631A (en) 1999-07-29 2001-02-16 Sharp Corp Data recording method and data recording device
JP2001325128A (en) 2000-05-15 2001-11-22 Sony Corp File management method, recording or playback device
JP2004355707A (en) 2003-05-28 2004-12-16 Hitachi Global Storage Technologies Inc Recording / reproducing method and magnetic disk device
US20100312807A1 (en) 2009-06-04 2010-12-09 Panasonic Corporation Recording device, recording method and program
US20160150270A1 (en) 2014-11-20 2016-05-26 Novatek Microelectronics Corp. Storing method and Processing Device Thereof
JP2017503300A (en) 2014-01-17 2017-01-26 エムティーオメガ カンパニー, リミテッドEmtomega Co., Ltd. FAT file system, vehicle multimedia data storage device using the same, and method therefor
US20180373728A1 (en) 2017-06-27 2018-12-27 Mstar Semiconductor, Inc. Control method for storage device of driving recorder and storage device control system

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100620332B1 (en) * 2002-11-08 2006-09-13 엘지전자 주식회사 Method and apparatus for recording a multi-component stream and a high-density recording medium having a multi-component stream recorded theron and reproducing method and apparatus of said recording medium
US7720356B2 (en) * 2002-11-12 2010-05-18 Lg Electronics Inc Recording medium having data structure for managing reproduction of multiple reproduction path video data recorded thereon and recording and reproducing methods and apparatuses
TWI541816B (en) * 2011-06-20 2016-07-11 鑫創科技股份有限公司 Traffic recorder, flash memory device and management method thereof
KR101373703B1 (en) * 2012-05-23 2014-03-13 주식회사 코아로직 Apparatus and method for processing image for vehicle
CN109308267B (en) * 2017-07-28 2021-12-03 星宸科技股份有限公司 Control method and control system of storage device of driving recorder

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001043631A (en) 1999-07-29 2001-02-16 Sharp Corp Data recording method and data recording device
JP2001325128A (en) 2000-05-15 2001-11-22 Sony Corp File management method, recording or playback device
JP2004355707A (en) 2003-05-28 2004-12-16 Hitachi Global Storage Technologies Inc Recording / reproducing method and magnetic disk device
US20100312807A1 (en) 2009-06-04 2010-12-09 Panasonic Corporation Recording device, recording method and program
JP2011014129A (en) 2009-06-04 2011-01-20 Panasonic Corp Recording device, recording method and program
JP2017503300A (en) 2014-01-17 2017-01-26 エムティーオメガ カンパニー, リミテッドEmtomega Co., Ltd. FAT file system, vehicle multimedia data storage device using the same, and method therefor
US20160150270A1 (en) 2014-11-20 2016-05-26 Novatek Microelectronics Corp. Storing method and Processing Device Thereof
US20180373728A1 (en) 2017-06-27 2018-12-27 Mstar Semiconductor, Inc. Control method for storage device of driving recorder and storage device control system

Also Published As

Publication number Publication date
CN113535268A (en) 2021-10-22
KR20220017832A (en) 2022-02-14
TW202207038A (en) 2022-02-16
JP2022031185A (en) 2022-02-18
TWI774451B (en) 2022-08-11
KR102521528B1 (en) 2023-04-13

Similar Documents

Publication Publication Date Title
JP4452363B2 (en) File system
JP3607153B2 (en) File management method and apparatus
WO2007115492A1 (en) A method of storing files in a data storage device and data storage device thereof
US20110213915A1 (en) Nonvolatile storage device, access device and nonvolatile storage system
KR20080029677A (en) File storage system and method for storing and retrieving files on the system
US7747810B2 (en) Address assigning method, disk drive, and data writing method
JP2006277737A (en) Nonvolatile memory device with address prediction function
JP7245876B2 (en) Drive recorder storage device control method and storage device control system
KR100778603B1 (en) Tiered Storage Devices and Their Management Methods
JP2001136476A (en) Video Stream Processing Method for Time Delayed Viewing
JP2001265628A (en) File recording management system
JP2006331076A (en) Data storage system and storage method
US11435922B2 (en) Control method for storage device of driving recorder and storage device control system
US10769109B2 (en) Control method for storage device of driving recorder and storage device control system
JPWO2008146473A1 (en) Formatting device
KR20020025202A (en) Disk medium managing method
CN109308267B (en) Control method and control system of storage device of driving recorder
JP4183660B2 (en) File management method and apparatus
JP3607279B2 (en) File management method and apparatus
JP5023003B2 (en) Metadata management method and data recording apparatus
JP4277707B2 (en) Information recording method
JP3183253B2 (en) Dynamic capacity increase method and dynamic capacity increase method for disk device
KR20080066277A (en) Data management device and method
JP2006260751A (en) Method for allocating storage space and recording data on dvd rewritable disk
JP2004078445A (en) File system, file management method, and file management device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20210908

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20221013

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20221018

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20230111

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20230228

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20230313

R150 Certificate of patent or registration of utility model

Ref document number: 7245876

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250