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
JP5485846B2 - Information recording device - Google Patents
[go: Go Back, main page]

JP5485846B2 - Information recording device - Google Patents

Information recording device Download PDF

Info

Publication number
JP5485846B2
JP5485846B2 JP2010209029A JP2010209029A JP5485846B2 JP 5485846 B2 JP5485846 B2 JP 5485846B2 JP 2010209029 A JP2010209029 A JP 2010209029A JP 2010209029 A JP2010209029 A JP 2010209029A JP 5485846 B2 JP5485846 B2 JP 5485846B2
Authority
JP
Japan
Prior art keywords
data
file
information
written
setting file
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.)
Expired - Fee Related
Application number
JP2010209029A
Other languages
Japanese (ja)
Other versions
JP2012064094A (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.)
Denso Ten Ltd
Original Assignee
Denso Ten 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
Application filed by Denso Ten Ltd filed Critical Denso Ten Ltd
Priority to JP2010209029A priority Critical patent/JP5485846B2/en
Publication of JP2012064094A publication Critical patent/JP2012064094A/en
Application granted granted Critical
Publication of JP5485846B2 publication Critical patent/JP5485846B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Description

本発明は、取得した情報を不揮発性メモリ上のデータファイルに記録する情報記録装置に、関する。   The present invention relates to an information recording apparatus that records acquired information in a data file on a nonvolatile memory.

比較的記憶容量の大きい記憶媒体にデータをサイクリックに少しずつ書き込んでいく場合、新しいデータほど長く保存されるように、データの書き込みが完了する都度、所定の記憶領域にデータ書込済みブロックの特定情報を記憶しておき、次回にデータを書き込む際には、当該記憶領域から特定情報を読み出し、読み出した特定情報に基づいて次にデータ書込を行うべきブロックを特定し、当該ブロックからデータ書込を再開する必要がある。そして、書込位置のアクセスを容易にするには、予め記憶領域を複数のデータファイルに分割し、データ書込済みブロックを階層的に管理することが、望ましい。   When writing data to a storage medium with a relatively large storage capacity little by little, each time data writing is completed so that newer data is stored for a longer time, data written blocks are stored in a predetermined storage area. When the specific information is stored and data is written next time, the specific information is read from the storage area, the block on which data is to be written next is specified based on the read specific information, and the data is read from the block. It is necessary to resume writing. In order to facilitate access to the writing position, it is desirable to divide the storage area into a plurality of data files in advance and manage the data written blocks hierarchically.

しかしながら、フラッシュメモリ等の不揮発性記憶素子を用いる記憶媒体においては、書込回数に上限があるので、データの書込の都度、記憶媒体の記憶領域における特定領域に在る情報を更新すると、比較的短時間で当該領域を構成する記憶素子の書込回数の上限に達してしまう。そこで、データ書込済みブロックの特定情報を情報記憶装置内のRAM(Random Access Memory)内に記憶しておき、常時は、当該RAM内に記憶されているデータ書込済みブロックの特定情報を読み出し、データ書込を行った場合には、当該RAM上の特定情報を更新することが考えられる。   However, in a storage medium using a non-volatile storage element such as a flash memory, there is an upper limit on the number of times of writing. Therefore, when information in a specific area in the storage area of the storage medium is updated each time data is written, The upper limit of the number of times of writing of the memory element constituting the area is reached in a short time. Therefore, the specific information of the data written block is stored in a RAM (Random Access Memory) in the information storage device, and the specific information of the data written block stored in the RAM is always read. When data is written, it is conceivable to update specific information on the RAM.

特開平6-12267号公報Japanese Patent Laid-Open No. 6-12267

しかしながら、RAM上の特定情報は、RAMに対する電源の瞬断等の異常の発生により、簡単に破壊され得る。この場合、記憶媒体に記憶されている特定情報を用いて、次にデータを書込むべきブロックを決定することも考えられるが、記憶媒体における特定情報を記憶する領域の書込み回数を減らすために特定情報の書込み頻度を減らしている場合には、記憶媒体に記憶されている特定情報は、過去数回前にデータ書込を完了したブロックを示していることが多いので、これをそのまま用いて次回のデータ書込を行うべきブロックを決定すると、書込対象ブロックが実際には遡ることにより、最新に書き込まれたデータが上書きによって喪失されてしまう可能性がある。   However, the specific information on the RAM can be easily destroyed by the occurrence of an abnormality such as a momentary power interruption to the RAM. In this case, the specific information stored in the storage medium may be used to determine the block to which data is to be written next, but it is specified to reduce the number of times the area storing the specific information in the storage medium is written. When the frequency of writing information is reduced, the specific information stored in the storage medium often indicates a block for which data writing has been completed several times in the past. When the block to which the data is to be written is determined, there is a possibility that the latest written data may be lost due to overwriting because the writing target block actually goes back.

そこで、RAM上の特定情報に異常が発生した場合であっても、記憶媒体に記憶されているデータが、上書きによって喪失されることのない情報記憶装置の提供を、課題とする。   Accordingly, an object is to provide an information storage device in which data stored in a storage medium is not lost due to overwriting even when an abnormality occurs in specific information on a RAM.

本案による情報記憶装置は、記録対象データを不揮発性メモリに存在する複数のデータファイルに対して順番に情報記録を行う情報記録装置であって、現在書込み対象として設定しているデータファイルと当該データファイルにおけるデータ書込み済みのブロックとを特定する特定情報を記憶する揮発性メモリと、前記揮発性メモリに格納されている特定情報に基づき、次にデータ書込みを行うべきデータファイルにおけるブロックを特定して、前記記録対象データの前記不揮発性メモリへの書込み処理を実行する制御部と、を備え
、前記制御部は、前記書込み処理を、前記不揮発性メモリに存在する設定ファイルに、少なくとも現在書込対象として設定しているデータファイルを特定する特定情報を記録した状態で行うものであり、前記揮発性メモリに異常が発生したことを検出した場合には、前記不揮発性メモリに記録されている設定ファイルを読出し、当該設定ファイルにて現在書込み対象として設定されているデータファイルの次のデータファイルを書込み対象として書込み処理を実行することを特徴とする。
The information storage device according to the present invention is an information recording device for sequentially recording information to be recorded on a plurality of data files existing in a non-volatile memory. A volatile memory for storing specific information for specifying a block in which data has been written in the file, and a block in the data file to which data is to be written next are specified based on the specific information stored in the volatile memory. A control unit that executes a process for writing the recording target data to the nonvolatile memory, and the control unit performs the writing process on at least a current writing target in a setting file existing in the nonvolatile memory. Is performed in a state in which specific information for identifying the data file set as is recorded. When a failure is detected in the volatile memory, the setting file recorded in the non-volatile memory is read, and the data file next to the data file currently set in the setting file is read. Write processing is executed as a write target.

以上のように構成されることにより、制御部は、揮発性メモリに格納されている特定情報によって特定されているデータファイルの次のデータファイルを書込対象として特定する。しかしながら、揮発性メモリに異常が発生した場合には、揮発性メモリ上に記憶されている特定情報が信用できなくなる。そこで、制御部が、特定情報の内容を、現在書込対象と特定されているデータファイルの次のデータファイルを新たな書込対象とする旨に、更新する。その結果、制御部は、当該特定情報を参照することにより、書込対象データファイルが当該次のデータファイルであると認識できるので、当該次のデータファイルにデータを書き込むことができる。その結果、異常発生時における書込対象データファイルにおける書込済みデータが上書きによって喪失されることが防止される。   With the configuration as described above, the control unit specifies the data file next to the data file specified by the specifying information stored in the volatile memory as a writing target. However, when an abnormality occurs in the volatile memory, the specific information stored on the volatile memory cannot be trusted. Therefore, the control unit updates the content of the specific information so that the data file next to the data file currently specified as a write target is set as a new write target. As a result, the control unit can recognize that the data file to be written is the next data file by referring to the specific information, and can write data to the next data file. As a result, the written data in the write target data file at the time of occurrence of an abnormality is prevented from being lost due to overwriting.

以上のように構成された本案によると、RAM上の特定情報に異常が発生した場合であっても、記憶媒体に記憶されているデータが、上書きによって喪失されることがない。   According to the present configuration configured as described above, data stored in the storage medium is not lost due to overwriting even when abnormality occurs in specific information on the RAM.

データ記憶装置を含む車載ネットワークシステムの概略構成を示すブロック 図The block diagram which shows schematic structure of the vehicle-mounted network system containing a data storage device メモリカードのフォーマット図Memory card format FAT領域のデータ構成例を示す図The figure which shows the data structural example of a FAT area | region ルートディレクトリ領域のデータ構成例を示す図A diagram showing an example of the data structure of the root directory area データ領域のデータ構成例を示す図Diagram showing data structure example of data area 設定ファイルの内容を示す図Figure showing the contents of the configuration file データ記憶装置のマイクロコンピュータがプログラムを実行することによって実現される各機能及びRAM及びメモリカード上の各種情報を示すソフトウェア構成図Software configuration diagram showing various functions implemented by the microcomputer of the data storage device executing programs and various information on the RAM and memory card 各プログラムによるデータ処理の流れを示すデータフロー図Data flow diagram showing the flow of data processing by each program CANデータのフォーマット図CAN data format 車両情報を格納したCANデータレコードのフォーマット図Format diagram of CAN data record storing vehicle information CAN通信制御部が実行する処理を示すフローチャートThe flowchart which shows the process which a CAN communication control part performs 記録データ生成部が実行する処理を示すフローチャートFlow chart showing processing executed by recording data generation unit レコード蓄積用バッファからSD書込みバッファへのデータ転送時においてメモリマネージャが実行する処理を示すフローチャートFlowchart showing processing executed by the memory manager during data transfer from the record storage buffer to the SD write buffer SD書込みバッファに格納されたデータのメモリカード17への書込時においてメモリマネージャが実行する処理を示すフローチャートThe flowchart which shows the process which a memory manager performs at the time of writing to the memory card 17 of the data stored in SD write buffer 図14のS008にて実行される書込要求処理サブルーチンを示すフローチャート14 is a flowchart showing a write request processing subroutine executed in S008 of FIG. 設定ファイル読込み処理サブルーチンを示すフローチャートFlow chart showing setting file read processing subroutine 電源ON時においてメモリマネージャが実行する処理を示すフローチャートFlow chart showing processing executed by memory manager when power is turned on イグニッションON時にメモリマネージャが実行する処理を示すフローチャートFlow chart showing processing executed by memory manager when ignition is ON RAM化けを監視するためにメモリマネージャが定期的に実行する処理を示すフローチャートFlowchart showing processing periodically executed by the memory manager to monitor RAM corruption イグニッションOFF時にメモリマネージャが実行する処理を示すフローチャートFlow chart showing processing executed by memory manager when ignition is OFF データファイルへのデータ書込中に異常が発生したことを示すデータ領域の論理マップLogical map of the data area indicating that an error occurred while writing data to the data file データファイルへのデータ書込中に異常が発生した場合におけるデータ領域の状態の遷移を示す論理マップLogical map showing transition of data area state when an error occurs while writing data to data file

以下、図面に基づいて、この発明を実施した形態を例示的に説明する。以下に示す実施形態は例示であり、本発明はこれらに限定されるものではない。   Hereinafter, embodiments of the present invention will be exemplarily described based on the drawings. Embodiment shown below is an illustration and this invention is not limited to these.

図1は、本実施形態によるデータ記憶装置(情報記憶装置に相当)を含む車載ネットワークシステムの概略構成を示すブロック図である。図1に示すように、車両の各電子部品(アクチュエータ,メータ等)を夫々制御するための各種ECU(Electric Control Unit)2や、車両の状態を検出するための各種センサ3は、車載ネットワークの一種である
CAN(Controller Area Network)によって相互に通信可能に接続されている。ここに
、各種ECU2には、エンジン制御ECU,ABS(Antilock Brake System)ECU,
等が含まれる。また、各種センサには、加速度センサ,排気温センサ,O2センサ,各種
スイッチやペダル類が、含まれる。これら各種ECU2及び各種センサ3は、夫々、他のECU2宛のデータを所定フォーマットのフレーム(図9)に格納して、CANへ送出する。このようにしてCANへ送出されたフレーム(以下、「CANデータ」という)は、これを必要とするECU2によって取り込まれて、当該ECU2による電子部品の制御に用いられる。データ記憶装置1は、このようにしてCAN上を流通しているCANデータのうち、車両情報(制御情報及び状態情報)を含むものを傍受して、後日における故障検査に備えて外部のメモリカード17に記憶するためのECUであるので、他のECU2と同様にCANに接続されている。ここで、CANは車載ネットワークの一種であるが、ECU間を如何なる車載ネットワークを通じて接続するかは、必要とされるデータ帯域やコストに依る。従って、他の種類の車載ネットワーク(例えば、LIN[Local Interconnect Network],FlexRay[ダイムラー社の登録商標])に接続されているECUが存在する場合には、データ記憶装置1は、当該他の種類の車載ネットワークにも、接続されることが望ましい。
FIG. 1 is a block diagram showing a schematic configuration of an in-vehicle network system including a data storage device (corresponding to an information storage device) according to the present embodiment. As shown in FIG. 1, various ECUs (Electric Control Units) 2 for controlling each electronic component (actuator, meter, etc.) of the vehicle, and various sensors 3 for detecting the state of the vehicle, They are connected to each other by a kind of CAN (Controller Area Network). Here, various ECUs 2 include an engine control ECU, an ABS (Antilock Brake System) ECU,
Etc. are included. The various sensors include an acceleration sensor, an exhaust temperature sensor, an O 2 sensor, various switches, and pedals. Each of these various ECUs 2 and various sensors 3 stores data addressed to other ECUs 2 in a predetermined format frame (FIG. 9), and sends them to the CAN. The frame sent to the CAN in this way (hereinafter referred to as “CAN data”) is taken in by the ECU 2 that requires it and used for control of the electronic components by the ECU 2. The data storage device 1 intercepts data including vehicle information (control information and status information) among the CAN data distributed on the CAN in this way, and prepares for an external memory card in preparation for failure inspection at a later date. Since it is an ECU for storing in 17, it is connected to CAN like the other ECUs 2. Here, CAN is a kind of in-vehicle network, but what in-vehicle network connects ECUs depends on a required data band and cost. Therefore, when there is an ECU connected to another type of in-vehicle network (for example, LIN [Local Interconnect Network], FlexRay [registered trademark of Daimler Co., Ltd.]), the data storage device 1 is connected to the other type. It is desirable to be connected to the in-vehicle network.

データ記憶装置1は、CANとのインタフェースをなすCANトランシーバ16,CANデータに対する処理を実行するマイクロコンピュータ14及び当該マイクロコンピュータ14に接続された外部メモリスロットとしてのメモリカードスロット15の他、電源(バッテリー)4からの12Vの電源電圧を減圧してマイクロコンピュータに5Vの電源電圧を供給するとともにメモリカードスロット15に3.3Vの電源電圧を供給する電源回路12を内蔵している。   The data storage device 1 includes a CAN transceiver 16 that interfaces with CAN, a microcomputer 14 that executes processing for CAN data, a memory card slot 15 as an external memory slot connected to the microcomputer 14, and a power source (battery ) The power supply circuit 12 for reducing the power supply voltage of 12V from 4 to supply the power supply voltage of 5V to the microcomputer and supplying the power supply voltage of 3.3V to the memory card slot 15 is incorporated.

CANトランシーバ16は、CANの物理層を終端する装置であり、CAN上で2線式作動電圧方式で変調されているCANデータを、H/Lの二値信号に変換して、マイクロコンピュータ14に伝達する。   The CAN transceiver 16 is a device that terminates the physical layer of the CAN. The CAN transceiver 16 converts CAN data modulated by the two-wire operating voltage method on the CAN into a binary signal of H / L, and sends it to the microcomputer 14. introduce.

マイクロコンピュータ14は、ハードウェア構成として、プログラムを実行する図示せぬプロセッサの他、RAM21,ROM22,電圧電源監視部24及び入力情報監視部23を、有している。   As a hardware configuration, the microcomputer 14 includes a RAM 21, a ROM 22, a voltage power supply monitoring unit 24, and an input information monitoring unit 23 in addition to a processor (not shown) that executes a program.

このうち、入力情報監視部23は、イグニッションスイッチ5から他のECUに入力されるイグニッション信号の状態(ON/OFF)を監視し、検査結果をプロセッサに入力する。また、電源電圧監視部24は、プロセッサがウェイクアップ状態にある間に電源(バッテリー)4の電圧を監視し、監視結果をプロセッサに入力する。これら各機能は、プ
ログラムを実行することによってプロセッサが実現する機能である。
Among these, the input information monitoring unit 23 monitors the state (ON / OFF) of an ignition signal input from the ignition switch 5 to another ECU, and inputs the inspection result to the processor. The power supply voltage monitoring unit 24 monitors the voltage of the power supply (battery) 4 while the processor is in the wake-up state, and inputs the monitoring result to the processor. Each of these functions is a function realized by the processor by executing a program.

なお、データ記録装置1は、イグニッションスイッチやアクセサリスイッチを介さずに直接バッテリに接続されているので、イグニッションスイッチがOFFの間も電源が供給されている。これは、主として、RAM21のデータを保持するためである。そして、イグニッションスイッチがONである間のみRAM21へのデータの記録処理が行われ、イグニッションスイッチがOFFである間はスタンバイ状態(省電力モード)となる。但し、イグニッションスイッチがOFFである間もRAM21へのデータ記録がなされるように、改変されても良い。   Since the data recording apparatus 1 is directly connected to the battery without passing through the ignition switch or the accessory switch, the power is supplied even while the ignition switch is OFF. This is mainly for holding the data in the RAM 21. The data recording process to the RAM 21 is performed only while the ignition switch is ON, and the standby state (power saving mode) is maintained while the ignition switch is OFF. However, it may be modified so that data can be recorded in the RAM 21 even while the ignition switch is OFF.

ROM22は、プロセッサが読み出して実行する各種プログラム(図7)を格納しているとともに、FAT(File Allocation Table)ファイルシステムにおける各領域(予約
領域,FAT領域,ルートディレクトリ領域,データ領域)の定義の他、FAT領域及びルートディレクトリ領域に夫々記述すべき具体的内容を、固定的に有している。
The ROM 22 stores various programs to be read and executed by the processor (FIG. 7) and defines the areas (reserved area, FAT area, root directory area, data area) in the FAT (File Allocation Table) file system. In addition, specific contents to be described in the FAT area and the root directory area are fixed.

RAM21(揮発性メモリに相当)は、プロセッサが上記各種プログラムに従った処理を実行することによって各種バッファを構築し、また、後述する設定ファイル情報45や設定ファイル番号43等のデータを一時記憶する作業領域である。   The RAM 21 (corresponding to a volatile memory) constructs various buffers by the processor executing processes according to the various programs, and temporarily stores data such as setting file information 45 and setting file number 43 described later. It is a work area.

メモリカード17(不揮発性メモリに相当)は、書込回数に上限があるフラッシュメモリ等の不揮発性記憶素子から記憶領域が構成されるカード型のリムーバブル記憶メディアである。このような性質のメモリカードの規格は各種存在している。その一例として、SDメモリーカード(パナソニック株式会社、サンディスク社、株式会社東芝の商標)が挙げられる。もっとも、メモリカードスロット15に代えてUSBインタフェースが設けられるならば、メモリカード17に代えてUSBフラッシュメモリを用いることも可能である。   The memory card 17 (corresponding to a non-volatile memory) is a card-type removable storage medium in which a storage area is composed of a non-volatile storage element such as a flash memory having an upper limit on the number of writing. There are various standards for memory cards having such properties. One example is an SD memory card (a trademark of Panasonic Corporation, SanDisk Corporation, Toshiba Corporation). However, if a USB interface is provided in place of the memory card slot 15, a USB flash memory can be used in place of the memory card 17.

かかるメモリカード17のファイルフォーマットとしては、通常、FATが用いられる。図2に示すように、FATに従った記憶媒体の記憶領域は、初期化により、予約領域,FAT領域,ルートディレクトリ領域及びデータ領域に、区分される。このうち、予約領域は、ブートパラメータブロック,ディスクラベル,ブートコード等が格納される領域である。   As the file format of the memory card 17, FAT is usually used. As shown in FIG. 2, the storage area of the storage medium according to the FAT is divided into a reserved area, a FAT area, a root directory area, and a data area by initialization. Among these, the reserved area is an area for storing a boot parameter block, a disk label, a boot code, and the like.

また、FAT領域は、データ領域の位置を示すポインタの集合体である。即ち、FATにおいては、データ領域は、ブロック(クラスタ)を単位として各ファイルに割り当てられる。そこで、図3に示すように、FAT領域では、データ領域を構成する各ブロック(クラスタ)毎に、同一のファイルに割り当てられた後続のブロック(クラスタ)のブロック番号又は終了を示すマーク,若しくは、空きであることを示すマークが、記述されているのである。   The FAT area is a collection of pointers indicating the position of the data area. That is, in FAT, a data area is allocated to each file in units of blocks (clusters). Therefore, as shown in FIG. 3, in the FAT area, for each block (cluster) constituting the data area, a block number or a mark indicating the end of the subsequent block (cluster) assigned to the same file, or A mark indicating that it is empty is described.

また、ルートディレクトリ領域は、図4に示すように、データ領域に格納されている各ファイル毎に、先頭ブロック(クラスタ)のブロック番号(初期データ領域),ファイル名,データサイズ,等の属性情報が、記述される領域である。   Further, as shown in FIG. 4, the root directory area is attribute information such as the block number (initial data area) of the first block (cluster), file name, data size, etc. for each file stored in the data area. Is the area to be described.

以上のことから明らかなように、FAT領域に記載された情報及びルートディレクトリ領域に記載された情報の総体がファイル管理情報であり、メモリカード17にアクセスしたコンピュータ14は、これらの領域の記述を見ることにより、各ファイルに割り当てられたデータ領域中の一ないし複数のブロック(クラスタ)の位置を認識し、これらブロック(クラスタ)に格納されたデータを、一まとまりのファイルデータとして読み出すのである。例えば、図3及び図4の例においては、ブロック番号1,2の二つのブロック(ク
ラスタ)が、ファイル名(ini1.***)を有する設定ファイル46(図7参照)に割り当てられており、ブロック番号2,4の二つのブロック(クラスタ)が、ファイル名(ini2.***)を有する設定ファイル46(図7参照)に割り当てられており、ブロック番号5,6,7,8の四つのブロック(クラスタ)が、ファイル名(data1.***)を有するデータフ
ァイルに割り当てられており、ブロック番号9,10,11,12の四つのブロック(クラスタ)が、ファイル名(data2.***)を有するデータファイルに割り当てられており、
ブロック番号21,22,23,24の四つのブロック(クラスタ)が、ファイル名(datan.***)を有するデータファイルに割り当てられていることが判る。なお、図4の例で
は、データサイズの値はブロック(クラスタ)の数を示しているが、記憶装置の最小記憶単位であるセクタは通常512バイト/セクタであるので、1ブロック(クラスタ)が1セクタからなる場合には、データサイズが2である各設定ファイル46(ini1.***,ini2.***)のバイト数は1024バイトであり、データサイズが4である各データファイル(data1.***,data2.***,…datan.***)のバイト数は2048バイトである。
As is clear from the above, the total of the information described in the FAT area and the information described in the root directory area is file management information, and the computer 14 accessing the memory card 17 can describe the description of these areas. By viewing, the position of one or a plurality of blocks (clusters) in the data area assigned to each file is recognized, and the data stored in these blocks (clusters) is read as a set of file data. For example, in the examples of FIGS. 3 and 4, two blocks (clusters) with block numbers 1 and 2 are assigned to the configuration file 46 (see FIG. 7) having the file name (ini1. ***). , Two blocks (clusters) with block numbers 2 and 4 are assigned to the setting file 46 (see FIG. 7) having the file name (ini2. ***), and block numbers 5, 6, 7, and 8 are assigned. Four blocks (clusters) are assigned to a data file having a file name (data1. ***), and four blocks (clusters) with block numbers 9, 10, 11, and 12 are assigned to the file name (data2. ***) is assigned to a data file with
It can be seen that four blocks (clusters) with block numbers 21, 22, 23, and 24 are assigned to the data file having the file name (datan. ***). In the example of FIG. 4, the value of the data size indicates the number of blocks (clusters). However, since the sector which is the minimum storage unit of the storage device is usually 512 bytes / sector, one block (cluster) is included. In the case of 1 sector, each setting file 46 (ini1. ***, ini2. ***) having a data size of 2 has 1024 bytes and each data file has a data size of 4 ( The number of bytes of data1. ***, data2. ***, ... datan. ***) is 2048 bytes.

本実施形態においては、上述したように、FAT領域及びルートディレクトリ領域の具体的内容が、夫々、ROM22内に予め固定的に用意されており、メモリカード17の初期化の際に、メモリカード17の記憶領域上に画定されたFAT領域及びルートディレクトリ領域に夫々複写され、以後においても、これら領域の更新はなされないということである。そして、FAT領域及びルートディレクトリ領域の具体的内容は、互いに同一データサイズの二つの設定ファイル46(ini1.***,ini2.***)と、互いに同一サイズのn個のデータファイル(data1.***,data2.***,…datan.***)とに、データ領域の全ブロッ
ク(クラスタ)が割り当てられるというものである。従って、メモリカード17の初期化の時点で、データ領域には二つの設定ファイル46(ini1.***,ini2.***)と、n個のデータファイル(data1.***,data2.***,…datan.***)とが存在していることになり、そ
の後において、これらのファイルのファイル属性は変更されることがない。その結果、データ領域中の各データファイルが何度更新されたとしても、FAT領域及びルートディレクトリ領域の書込回数が上限に達することはありえず、また、これらFAT領域及びルートディレクトリ領域の記載内容とデータ領域の各ファイルの属性とが互いに齟齬する事態は生じないので、メモリカード17をメモリカードスロット15から取り外して、データ記憶装置1外の検査装置(コンピュータ)に接続すれば、データ領域中の各データファイルを読み出すことができる。
In the present embodiment, as described above, the specific contents of the FAT area and the root directory area are fixedly prepared in advance in the ROM 22, and the memory card 17 is initialized when the memory card 17 is initialized. This is copied to the FAT area and the root directory area defined on the storage area, and these areas are not updated thereafter. The specific contents of the FAT area and the root directory area are two setting files 46 (ini1. ***, ini2. ***) having the same data size and n data files (data1) having the same size. . ***, data2. ***,... Datan. ***), all blocks (clusters) of the data area are allocated. Therefore, at the time of initialization of the memory card 17, two setting files 46 (ini1. ***, ini2. ***) and n data files (data1. ***, data2. ***, ... datan. ***) exist, and thereafter the file attributes of these files are not changed. As a result, no matter how many times each data file in the data area is updated, the number of writes to the FAT area and the root directory area cannot reach the upper limit, and the contents of the FAT area and the root directory area are described. And the attributes of each file in the data area do not occur, so if the memory card 17 is removed from the memory card slot 15 and connected to an inspection device (computer) outside the data storage device 1, the data area Each data file can be read out.

なお、各設定ファイル46は、専らマイクロコンピュータ14によって参照されるファイルであり、図6に示すように、現在書込対象とされているデータファイルを特定するデータファイル番号,当該データファイルを書込対象に決定した時点以後にデータが書込まれたブロック(クラスタ)のうちの最後のものを示すブロック番号,書込回数,及び、チェックサム(SUM値)が記憶されたファイルである。このうち、データファイル番号及びブロック番号の組合せが、「アドレス情報」に当たる。   Each setting file 46 is a file that is exclusively referred to by the microcomputer 14 and, as shown in FIG. 6, writes a data file number that identifies the data file currently being written, and the data file. This is a file in which a block number indicating the last one of blocks (clusters) into which data has been written after the time point determined as a target, the number of times of writing, and a checksum (SUM value) are stored. Among these, the combination of the data file number and the block number corresponds to “address information”.

上述したように、データ領域における各データファイルは固定長を有するものとして初期化時に生成されるが、初期化時点においては、実際にはスタック値が格納されているだけである。そして、データはブロック(クラスタ)単位で追記していくことができるところ、その後に書き込まれた実質的なデータの存在する範囲は、FAT領域及びルートディレクトリ領域を読んでも不明である。また、マイクロコンピュータ14は、新しいデータ程長く保存されるように、各データファイルをサイクリックに書込対象ファイルとして指定し、且つ、個々のデータファイルの先頭から順に書込対象ブロック(クラスタ)として指定して、新たに得られたデータを上書きしていく必要がある。その為、マイクロコンピュータ14が既にデータの書込を行った範囲を認識するとともに、次にデータ書込を行うべきブロック(クラスタ)を特定できるように、これを特定する設定ファイル46が、データ領域に格納されているのである。   As described above, each data file in the data area is generated at the time of initialization as having a fixed length. However, at the time of initialization, only the stack value is actually stored. The data can be additionally written in units of blocks (clusters). However, the range in which the substantial data written thereafter exists is unknown even if the FAT area and the root directory area are read. In addition, the microcomputer 14 cyclically designates each data file as a write target file so that new data is stored for a longer time, and as a write target block (cluster) in order from the top of each data file. It is necessary to specify and overwrite newly obtained data. For this reason, the setting file 46 for specifying the block (cluster) to which data is to be written next and the block (cluster) to which data is to be written next can be specified. Is stored.

但し、データ領域には、二つの設定ファイル46が用意されている。これは、設定ファイル46を交互に更新することにより、各設定ファイル46が割り当てられたブロック(クラスタ)の不揮発性記憶素子の書込回数を半減させ、それにより、書込回数が上限に達するまでに要する期間を引き延ばすためである。かかる目的を実現するために、データ領域には、最後に更新された設定ファイル46がどちらであるかを指定する設定ファイル番号47を記述したファイルが格納されて、RAM21にも、同内容の設定ファイル番号43が格納されている。マイクロコンピュータ14は、主としてRAM21上の設定ファイル番号43を参照することにより、次に更新すべき設定ファイル46を認識することができるのである。   However, two setting files 46 are prepared in the data area. This is because the setting file 46 is alternately updated to halve the number of times of writing to the nonvolatile memory element of the block (cluster) to which each setting file 46 is assigned, and thereby the number of times of writing reaches the upper limit. This is in order to extend the period required for. In order to realize such an object, a file in which a setting file number 47 for designating which setting file 46 was last updated is stored in the data area. File number 43 is stored. The microcomputer 14 can recognize the setting file 46 to be updated next by referring mainly to the setting file number 43 on the RAM 21.

さらに、各設定ファイル46が割り当てられたブロック(クラスタ)の不揮発性記憶素子の書込回数を節減するため、本実施形態では、設定ファイル46に書き込むべき項目のうち書込回数を除く全項目についての情報(以下、「設定ファイル情報45」という)が、RAM21上に記憶されて、マイクロコンピュータ14の参照に供されている。即ち、マイクロコンピュータ14は、当該設定ファイル情報45を読むことで、どのデータファイルにおけるどのブロック(クラスタ)にデータを書き込むべきかを決定し、データ書込後には、当該設定ファイル情報45のみを更新するのである。   Furthermore, in order to reduce the number of times of writing to the nonvolatile memory element of the block (cluster) to which each setting file 46 is assigned, in this embodiment, all items except for the number of times of writing are items to be written to the setting file 46. (Hereinafter referred to as “setting file information 45”) is stored on the RAM 21 and used for reference by the microcomputer 14. That is, the microcomputer 14 determines which block (cluster) in which data file should be written by reading the setting file information 45, and updates only the setting file information 45 after writing the data. To do.

もっとも、メモリカード17上の設定ファイル46を全く更新しないとなると、何らかの原因に因って設定ファイル情報45が喪失された時に、設定ファイル46の内容とデータ領域の内容との齟齬を是正できなくなってしてしまう。そこで、本実施形態においては、後述する,異常検出モジュール36がバッテリの瞬断やリセットのような異常発生を検知した際(S301),後述するメモリマネージャ34がRAM化けの様な設定ファイル情報の異常を検知した際(S503),入力情報監視部23の監視結果に基づいてイグニッション信号のOFFが検知された際(S605),等に、夫々、設定ファイル情報45の内容によって設定ファイルを更新するのである(図16)。なお、上述したRAM化けを検出するために、RAM21上には、同一内容を有する3個の設定ファイル情報(A〜C)45が相互に独立に格納され、同時に更新されることとされている。そして、3個の設定ファイル情報(A〜C)45の内容に齟齬が発見された場合に、RAM21化けがあったものと認識されるのである。   However, if the setting file 46 on the memory card 17 is not updated at all, when the setting file information 45 is lost for some reason, it becomes impossible to correct the discrepancy between the contents of the setting file 46 and the contents of the data area. Will do. Therefore, in the present embodiment, when the abnormality detection module 36, which will be described later, detects an abnormality occurrence such as a momentary battery interruption or reset (S301), the memory manager 34 (to be described later) sets the setting file information such as RAM corruption. When an abnormality is detected (S503), when the ignition signal OFF is detected based on the monitoring result of the input information monitoring unit 23 (S605), the setting file is updated according to the contents of the setting file information 45, respectively. (FIG. 16). In order to detect the above-mentioned garbled RAM, three setting file information (A to C) 45 having the same contents are stored in the RAM 21 independently of each other and updated at the same time. . When a defect is found in the contents of the three setting file information (A to C) 45, it is recognized that the RAM 21 has been garbled.

図7は、ROM22に格納されたプログラムをプロセッサが実行することによって実現される各機能及びRAM21上及びメモリカード17上に記憶される各情報を示すソフトウェア構成図である。図7に示すように、プロセッサによって実現される機能は、ECUシステム管理部31,CAN通信制御部32,記録データ生成部33及びメモリマネージャ34に、大別される。   FIG. 7 is a software configuration diagram showing each function realized by the processor executing the program stored in the ROM 22 and each information stored on the RAM 21 and the memory card 17. As shown in FIG. 7, the functions realized by the processor are roughly divided into an ECU system management unit 31, a CAN communication control unit 32, a recording data generation unit 33, and a memory manager 34.

ECUシステム管理部31は、データ記憶装置1を構成する各回路を制御する機能であって、時刻情報作成部35及び異常検出部36を支配下に有している。   The ECU system management unit 31 is a function for controlling each circuit constituting the data storage device 1 and has a time information creation unit 35 and an abnormality detection unit 36 under control.

時刻情報作成部35は、ソフトウェアタイマであり、記録データ生成部33に対して、現在時刻を通知する。   The time information creation unit 35 is a software timer and notifies the recording data generation unit 33 of the current time.

異常検出部36は、電源電圧監視部24からの監視情報に基づいて、電源(バッテリ)4の着脱,リセット,その他の原因に因る電源瞬断や電圧低下を検知し、また、入力情報監視部23の監視結果に基づいて、イグニッション信号のONを検知し、これらのイベント発生を、メモリマネージャ34に通知する処理を実行する。   The abnormality detection unit 36 detects an instantaneous power supply interruption or a voltage drop due to attachment / detachment of the power supply (battery) 4, reset, or other causes based on the monitoring information from the power supply voltage monitoring unit 24, and also monitors input information Based on the monitoring result of the unit 23, the ignition signal ON is detected, and processing for notifying the memory manager 34 of the occurrence of these events is executed.

また、ECUシステム管理部31は、マイクロコンピュータ14全体のウェイクアップ
状態とスリープ状態との間での遷移を管理し、入力情報監視部23の監視結果がイグニッション信号のOFFであれば、他のプログラムによる必要な処理が完了した後に、マイクロコンピュータ14全体をスリープ状態に遷移させ、他方、スリープ状態にあっても入力情報監視部23の監視結果をチェックし、それがイグニッション信号のONを示すならば、マイクロコンピュータ14全体をウェイクアップ状態に遷移させる。
Further, the ECU system management unit 31 manages the transition between the wake-up state and the sleep state of the entire microcomputer 14, and if the monitoring result of the input information monitoring unit 23 is OFF of the ignition signal, another program After the necessary processing is completed, the entire microcomputer 14 is shifted to the sleep state. On the other hand, even if the microcomputer 14 is in the sleep state, the monitoring result of the input information monitoring unit 23 is checked, and if it indicates that the ignition signal is ON. The entire microcomputer 14 is changed to the wake-up state.

CAN通信制御部32は、CANトランシーバ18から伝達されたCANデータに対し、CANドライバ27を用いて、CANプロトロコルの論理層についての処理を行う。   The CAN communication control unit 32 uses the CAN driver 27 for the CAN data transmitted from the CAN transceiver 18 to perform processing for the logical layer of the CAN protocol.

記録データ生成部33は、CAN通信制御部32から渡された車両情報及び時刻情報作成部35から渡された時刻情報を、所定のフォーマットにまとめて、メモリマネージャ34に渡す。   The recording data generation unit 33 compiles the vehicle information passed from the CAN communication control unit 32 and the time information passed from the time information creation unit 35 into a predetermined format and passes them to the memory manager 34.

メモリマネージャ34は、メモリカードドライバ42を用いてメモリカード17にアクセスし、メモリカード17上の各領域を管理し、各データファイルに対するデータの書き込みや、各設定ファイルの更新を行う。   The memory manager 34 accesses the memory card 17 using the memory card driver 42, manages each area on the memory card 17, writes data to each data file, and updates each setting file.

以下、図8のデータフロー図,図9及び図10のフォーマット図,並びに、図11乃至図14のフローチャートを参照して、上述した各機能によるCANデータに対する具体的処理内容を説明する。   Hereinafter, specific processing contents for the CAN data by each function described above will be described with reference to the data flow diagram of FIG. 8, the format diagrams of FIGS. 9 and 10, and the flowcharts of FIGS. 11 to 14.

先ず、図9の概略フォーマット図に示すように、CANデータは、CANIDを格納する「CANID」フィールド,流通対象データを格納する「データ」フィールド,当該「データ」フィールドのバイト長が記述される「DLC」フィールド,CANデータの発行時刻が記述される「タイムスタンプ」フィールドを、有している。   First, as shown in the schematic format diagram of FIG. 9, the CAN data describes a “CANID” field for storing CANID, a “data” field for storing distribution target data, and a byte length of the “data” field. “DLC” field, and a “time stamp” field in which the CAN data issue time is described.

そして、CAN通信制御部32は、CANドライバ37を用いて、CANトランシーバ18から伝達されたCANデータを、随時、受信バッファ47に格納する。他方、CAN通信制御部32は、図11に示すように、定期的に、受信バッファ47にCANデータが格納されているかどうかをチェックし(S001)、受信バッファにCANデータがある場合に限り、受信バッファ47内のCANデータを、記録データ生成部33に転送する(S002)。   Then, the CAN communication control unit 32 stores the CAN data transmitted from the CAN transceiver 18 in the reception buffer 47 as needed using the CAN driver 37. On the other hand, as shown in FIG. 11, the CAN communication control unit 32 periodically checks whether or not CAN data is stored in the reception buffer 47 (S001), and only when CAN data exists in the reception buffer. The CAN data in the reception buffer 47 is transferred to the recording data generation unit 33 (S002).

異常検出部36が記録データ生成部40に通知するダイアグ情報は、CANトランシーバ16,メモリカード17又はマイクロコンピュータ14自身の動作が異常であるか全て動作が正常であるかを示すフラグ及び異常の要因を特定する情報を、含んでいる。   The diagnosis information notified by the abnormality detection unit 36 to the recording data generation unit 40 includes a flag indicating whether the operation of the CAN transceiver 16, the memory card 17, or the microcomputer 14 itself is abnormal, or whether the operation is normal, and the cause of the abnormality It contains information that identifies

記録データ生成部33は、図12に示すように、CAN通信制御部32から転送されたCANデータを受信する毎に、時刻情報作成部35から時刻情報を取得し(S003)、受信したCANデータとS003にて取得した時刻情報とから、記録用データを作成し、メモリマネージャ34に転送する(S004)。   As shown in FIG. 12, the recording data generation unit 33 acquires time information from the time information creation unit 35 every time it receives CAN data transferred from the CAN communication control unit 32 (S003), and receives the received CAN data. And the time information acquired in S003, recording data is created and transferred to the memory manager 34 (S004).

図10のフォーマット図に示すように、この記録用データは、CANIDが格納される「識別子(CANID)」フィールド,時刻情報が格納される「時刻情報」フィールド,CANデータ中の流通対象データが格納される「データ」フィールド,及び、チェックサムの値が格納される「SUM」フィールドからなる全長12バイトのレコードである。   As shown in the format diagram of FIG. 10, the recording data includes an “identifier (CANID)” field in which CANID is stored, a “time information” field in which time information is stored, and distribution target data in the CAN data. A 12-byte record consisting of a “data” field and a “SUM” field in which a checksum value is stored.

メモリマネージャ34は、記録データ生成部33から記録用データの転送を受ける度に、受け取った記録用データを、N個の12バイトレコードをリング形式で蓄積できるレコード蓄積用バッファ48に、サイクリックな順序で格納(上書き)していく。   Each time the recording data is transferred from the recording data generating unit 33, the memory manager 34 cyclically stores the received recording data in a record storage buffer 48 that can store N 12-byte records in a ring format. Store (overwrite) in order.

また、メモリマネージャ34は、図13に示すように、定期的に、所定量,即ち、メモリカードドライバ42が一度の書込処理でメモリカード17への書込みが行える最大データ量(512バイト)以上のデータが、レコード蓄積用バッファ48に格納されているかどうかをチェックし(S005)、上記所定量(512バイト)以上のデータが格納されている場合のみ、上記所定量(512バイト)分のデータを、SD書込みバッファ49に転送する(S006)。   Further, as shown in FIG. 13, the memory manager 34 periodically exceeds a predetermined amount, that is, the maximum data amount (512 bytes) that the memory card driver 42 can write to the memory card 17 by one writing process. Whether or not the data is stored in the record storage buffer 48 (S005), and only when the data of the predetermined amount (512 bytes) or more is stored, the data of the predetermined amount (512 bytes) Are transferred to the SD write buffer 49 (S006).

この所定容量は、マイクロコンピュータのメモリ(RAM21)の容量にどの程度余裕があるかによって設定されるが、車載用に用いられるマイクロコンピュータは、メモリカードへの記録処理を行う一般的なコンピュータに比べてメモリ容量が少ないため、この一度に書き込みを行うデータ量である所定容量も比較的少なくなっており、よって、メモリカードへの書き込み頻度も比較的多くなってしまう。   The predetermined capacity is set depending on how much capacity of the memory (RAM 21) of the microcomputer is sufficient, but the microcomputer used for in-vehicle use is more than a general computer that performs recording processing on a memory card. Since the memory capacity is small, the predetermined capacity, which is the amount of data written at one time, is relatively small, and therefore the frequency of writing to the memory card is also relatively large.

また、メモリマネージャ34は、図14に示すように、定期的に、SD書込みバッファ49にデータが格納されているかどうかをチェックし(S007)、SD書込みバッファ49にデータが格納されている場合のみ、SD書込みバッファ49内に格納されている上記所定量(512バイト)分のデータについての書込要求処理を実行する(S008)。   Further, as shown in FIG. 14, the memory manager 34 periodically checks whether data is stored in the SD write buffer 49 (S007), and only when data is stored in the SD write buffer 49. Then, write request processing is executed for the predetermined amount (512 bytes) of data stored in the SD write buffer 49 (S008).

図15は、S008にて実行される書込要求処理サブルーチンを示す。このサブルーチンに入って最初のS101では、メモリマネージャ34は、RAM21上の3個の設定ファイル情報(A〜C)45を読み込む。   FIG. 15 shows a write request processing subroutine executed in S008. In the first step S101 after entering this subroutine, the memory manager 34 reads the three setting file information (A to C) 45 on the RAM 21.

次のS102では、メモリマネージャ34は、S101にて読み込んだ3個の設定ファイル情報(A〜C)45の内容が相互に一致しているか否かに基づいて、設定ファイル情報(A〜C)45が正常であるか異常であるかをチェックする。そして、3個の設定ファイル情報(A〜C)45の内容が相互に一致していた場合には、メモリマネージャ34は、各設定ファイル情報(A〜C)45は正常であると判断して、処理をS104へ進める。   In the next S102, the memory manager 34 sets the setting file information (A to C) based on whether or not the contents of the three setting file information (A to C) 45 read in S101 match each other. Check whether 45 is normal or abnormal. If the contents of the three setting file information (A to C) 45 match each other, the memory manager 34 determines that each setting file information (A to C) 45 is normal. , The process proceeds to S104.

S104では、メモリマネージャ34は、RAM21に記憶されている設定ファイル情報(A〜C)45を読み込んで、データ書込対象のデータファイル及び当該データファイルにおけるデータ書込済みのブロック(クラスタ)の範囲を認識する。そして、メモリマネージャ34は、認識した情報に基づいて、書込対象のデータファイル中のデータ量がファイル容量の上限(132Mバイト)以上であるかどうかをチェックする。そして、データ量が上限(132Mバイト)未満であれば、当該データファイルにSD書込バッファ49上のデータを追記できるので、メモリマネージャ34は、S105において、RAM21に記憶されている設定ファイル情報(A〜C)45における書込済みブロック(クラスタ)の番号を一つ進めた後に、S108において、データ書込対象のデータファイルにおける上記番号に対応したブロック(クラスタ)に、SD書込バッファ49上のデータを書き込んでから、処理を図14のメインルーチンに戻し、全処理を終了する。   In S104, the memory manager 34 reads the setting file information (A to C) 45 stored in the RAM 21, and the range of the data file to which data is to be written and the block (cluster) into which the data has been written in the data file. Recognize Then, the memory manager 34 checks whether the data amount in the data file to be written is equal to or larger than the upper limit (132 Mbytes) of the file capacity based on the recognized information. If the amount of data is less than the upper limit (132 Mbytes), the data on the SD write buffer 49 can be added to the data file. Therefore, in S105, the memory manager 34 sets the setting file information ( (A to C) After the number of the written block (cluster) in 45 is advanced by one, in S108, the block (cluster) corresponding to the number in the data file to be written is transferred to the SD write buffer 49. After the data is written, the process is returned to the main routine of FIG.

これに対して、データ量が上限(132Mバイト)以上であるとS104にて判定した場合には、当該データファイルにSD書込バッファ49上のデータを追記できないので、メモリマネージャ34は、S106において、メモリカード17中の設定ファイル番号47の値を他方の値へ変更し、変更後の設定ファイル番号47が示す書込対象データファイル46に記録されている書込対象データファイルのファイル番号の値を、現時点のファイル番号の値が指定するデータファイルの次のデータファイルを示す値に書き換え、書込済みブロック(クラスタ)のブロック番号を0番に書き換える。次のS107では、メモリマネージャ34は、RAM21上の設定ファイル番号43の値を他方の値へ変更し、各設
定ファイル情報(A〜C)45における書込対象データファイルのファイル番号の値を、現時点のファイル番号の値が指定するデータファイルの次のデータファイルを示す値に書き換え、書込済みブロック(クラスタ)のブロック番号を0番に書き換える。しかる後に、メモリマネージャ34は、S108において、データ書込対象のデータファイルにおける上記番号に対応したブロック(クラスタ)に、SD書込バッファ49上のデータを書き込んでから、処理を図14のメインルーチンに戻し、全処理を終了する。
On the other hand, if it is determined in S104 that the data amount is equal to or greater than the upper limit (132 Mbytes), the data on the SD write buffer 49 cannot be added to the data file. The value of the setting file number 47 in the memory card 17 is changed to the other value, and the value of the file number of the writing target data file recorded in the writing target data file 46 indicated by the changed setting file number 47 Is rewritten to a value indicating the next data file of the data file designated by the value of the current file number, and the block number of the written block (cluster) is rewritten to 0. In the next S107, the memory manager 34 changes the value of the setting file number 43 on the RAM 21 to the other value, and sets the value of the file number of the write target data file in each setting file information (A to C) 45 as follows. The value of the current file number is rewritten to a value indicating the next data file of the specified data file, and the block number of the written block (cluster) is rewritten to 0. Thereafter, in S108, the memory manager 34 writes the data on the SD write buffer 49 to the block (cluster) corresponding to the number in the data file to be written, and then the process is performed in the main routine of FIG. To return to the end of all processing.

なお、この際の書き込み処理は、FATのファイルシステムを用いず、メモリカード17に記録されているFAT領域及びルートディレクトリ領域の情報で指定される、書き込みを行いたいデータファイル及びブロックのアドレスを直接指定して書き込み処理をすることで行われる。   In this case, the writing process does not use the FAT file system, but directly specifies the address of the data file and block to be written, which are specified by the information of the FAT area and the root directory area recorded in the memory card 17. This is done by specifying and writing.

一方、S102でのチェックにおいて、3個の設定ファイル情報(A〜C)45の内容の一部にでも齟齬がある場合には、マイクロコンピュータ14は、RAM化けに因って設定ファイル情報(A〜C)45に異常が生じ、設定ファイル情報(A〜C)45の内容が信用できなくなったとみなして、処理をS103へ進める。   On the other hand, in the check in S102, if there is a defect in part of the contents of the three setting file information (A to C) 45, the microcomputer 14 determines that the setting file information (A ~ C) 45 is regarded as abnormal and the contents of the setting file information (A ~ C) 45 are regarded as unreliable, and the process proceeds to S103.

S103では、メモリマネージャ34は、設定ファイル読込み処理を実行する。図16は、S103にて実行される設定ファイル読込み処理サブルーチンを示すフローチャートである。このサブルーチンに入って最初のS201では、メモリマネージャ34は、二つの設定ファイル46を、メモリカード17のデータ領域から読み込む。   In S103, the memory manager 34 executes setting file reading processing. FIG. 16 is a flowchart showing a setting file read processing subroutine executed in S103. In the first step S201 after entering this subroutine, the memory manager 34 reads the two setting files 46 from the data area of the memory card 17.

次のS202では、メモリマネージャ34は、S201にて読み込んだ二つの設定ファイル46のうち、対象とする設定ファイル46の内容が正常であるか異常であるかをチェックする。ここで、対象とする設定ファイル46とは、当該サブルーチンが開始されて最初にS202が実行された場合には、メモリカード17のデータ領域に格納された設定ファイル番号47が示す設定ファイル46である。S202がS206の後に実行された場合には、設定ファイル番号47が示す設定ファイル46でない方の設定ファイル46である。   In the next S202, the memory manager 34 checks whether the content of the target setting file 46 is normal or abnormal among the two setting files 46 read in S201. Here, the target setting file 46 is the setting file 46 indicated by the setting file number 47 stored in the data area of the memory card 17 when S202 is first executed after the subroutine is started. . When S202 is executed after S206, the setting file 46 is not the setting file 46 indicated by the setting file number 47.

そして、当該設定ファイル46の内容が正常であれば、メモリマネージャ34は、S203において、メモリカード17のデータ領域中の設定ファイル番号47の値を他方の値へ変更し、変更後の設定ファイル番号47が示す書込対象データファイル46に記録されている書込対象データファイルのファイル番号の値を、現時点のファイル番号の値が指定するデータファイルの次のデータファイルを示す値に書き換え、書込済みブロック(クラスタ)のブロック番号を0番に書き換える。次のS204では、メモリマネージャ34は、RAM21上の設定ファイル番号43の値を他方の値へ変更し、各設定ファイル情報(A〜C)45における書込対象データファイルのファイル番号の値を、現時点のファイル番号の値が指定するデータファイルの次のデータファイルを示す値に書き換え、書込済みブロック(クラスタ)のブロック番号を0番に書き換える。しかる後に、メモリマネージャ34は、処理を、元のルーチンに戻す。   If the contents of the setting file 46 are normal, the memory manager 34 changes the value of the setting file number 47 in the data area of the memory card 17 to the other value in S203, and the changed setting file number The file number value of the write target data file recorded in the write target data file 46 indicated by 47 is rewritten to a value indicating the next data file of the data file specified by the current file number value and written. The block number of a completed block (cluster) is rewritten to 0. In the next S204, the memory manager 34 changes the value of the setting file number 43 on the RAM 21 to the other value, and sets the value of the file number of the write target data file in each setting file information (A to C) 45 as follows. The value of the current file number is rewritten to a value indicating the next data file of the specified data file, and the block number of the written block (cluster) is rewritten to 0. Thereafter, the memory manager 34 returns the processing to the original routine.

これに対して、当該設定ファイル46の内容が異常(所定項目の情報が含まれていない場合を含む)であるとS202にて判断した場合には、メモリマネージャ34は、S205において、S201にて読み込んだ全ての設定ファイル46が異常であるかどうかをチェックする。そして、S202の処理の対象とされた設定ファイル46でない方の設定ファイル46が正常である場合には、メモリマネージャ34は、S206において、対象とする設定ファイル46を変更し、処理をS201に戻す。他方、S201にて読み込んだ全ての設定ファイル46が異常である場合には、メモリマネージャ34は、処理をS207へ進める。   On the other hand, if it is determined in S202 that the contents of the setting file 46 are abnormal (including the case where the information of the predetermined item is not included), the memory manager 34 in S205, in S201. It is checked whether or not all the setting files 46 read are abnormal. If the setting file 46 that is not the setting file 46 to be processed in S202 is normal, the memory manager 34 changes the target setting file 46 in S206, and returns the process to S201. . On the other hand, if all the setting files 46 read in S201 are abnormal, the memory manager 34 advances the process to S207.

S207では、メモリマネージャ34は、メモリカード17のデータ領域中の全設定ファイル46を初期化する。即ち、先頭のデータファイル(図5の例ではdata1.***)を書
込対象とするとともに書込済みのブロック(クラスタ)が無いとする内容を、ROM22から読み出して各設定ファイル46に書き込む。
In S207, the memory manager 34 initializes all setting files 46 in the data area of the memory card 17. That is, the content that the first data file (data1. *** in the example of FIG. 5) is to be written and that there is no written block (cluster) is read from the ROM 22 and written to each setting file 46. .

次のS208では、メモリマネージャ34は、RAM21上の各設定ファイル情報(A〜C)45を初期化する。即ち、先頭のデータファイル(図5の例ではdata1.***)を書
込対象とするとともに書込済みのブロック(クラスタ)が無いとする内容を、ROM22から読み出して各設定ファイル情報(A〜C)45に書き込む。しかる後に、メモリマネージャ34は、処理を、元のルーチンに戻す。
In the next S208, the memory manager 34 initializes each setting file information (A to C) 45 on the RAM 21. That is, the contents that the first data file (data1. *** in the example of FIG. 5) is to be written and there is no written block (cluster) are read from the ROM 22 and each setting file information (A To C) 45. Thereafter, the memory manager 34 returns the processing to the original routine.

上述したECUシステム管理部31から、電源[バッテリ]4の交換,リセット等に因る電源瞬断後の電源電圧付加の通知を受けると、メモリマネージャ34は、図17に示す処理を実行し、S301において、設定ファイル読込み処理を実行する。即ち、メモリマネージャ34は、上述した図16に示す設定ファイル読込み処理サブルーチンに従った処理を実行する。   Upon receiving notification from the above-described ECU system management unit 31 that the power supply [battery] 4 has been replaced, reset, or the like, resulting in the addition of the power supply voltage after an instantaneous power interruption, the memory manager 34 executes the processing shown in FIG. In S301, a setting file reading process is executed. That is, the memory manager 34 executes processing in accordance with the setting file reading processing subroutine shown in FIG.

また、マイクロコンピュータ14はイグニッション信号がONとなるとスリープモード等の省電力モードから復帰するが、上述したECUシステム管理部31からイグニッション信号ONの通知を受けると、メモリマネージャ34は、S401において、イグニッションスイッチがOFFの間も電源が供給されることで保持されていたRAM21上の3個の設定ファイル情報(A〜C)45の内容が相互に一致しているか否かに基づいて、設定ファイル情報(A〜C)45が正常であるか異常であるかをチェックする。そして、3個の設定ファイル情報(A〜C)45の内容が相互に齟齬している場合には、メモリマネージャ34は、各設定ファイル情報(A〜C)45が異常であると判断して、処理をS402へ進める。   When the ignition signal is turned on, the microcomputer 14 returns from the power saving mode such as the sleep mode. When the microcomputer 14 receives the ignition signal ON notification from the ECU system management unit 31 described above, the memory manager 34, in S401, The setting file information is based on whether or not the contents of the three setting file information (A to C) 45 on the RAM 21 held by the power being supplied while the switch is OFF match each other. (AC) Check whether 45 is normal or abnormal. If the contents of the three setting file information (A to C) 45 are inconsistent with each other, the memory manager 34 determines that each setting file information (A to C) 45 is abnormal. The process proceeds to S402.

これに対して、3個の設定ファイル情報(A〜C)45の内容が相互に一致していた場合には、メモリマネージャ34は、各設定ファイル情報(A〜C)45は正常であると判断して、処理を終了する。   On the other hand, if the contents of the three setting file information (A to C) 45 match each other, the memory manager 34 indicates that each setting file information (A to C) 45 is normal. Judgment is made and the process is terminated.

S402では、メモリマネージャ34は、設定ファイル読込み処理を実行する。即ち、メモリマネージャ34は、上述した図16に示す設定ファイル読込み処理サブルーチンに従った処理を実行する。   In S402, the memory manager 34 executes a setting file reading process. That is, the memory manager 34 executes processing in accordance with the setting file reading processing subroutine shown in FIG.

次のS403では、メモリマネージャ34は、S402(S201)にて読み込んだ設定ファイル46の内容と同内容の3個の設定ファイル情報(A〜C)45を、RAM21に書き込む(上書きする)。また、マイクロコンピュータ14は、メモリカード17のデータ領域中の設定ファイル番号47により、RAM21上の設定ファイル番号43を上書きする。   In the next S403, the memory manager 34 writes (overwrites) the three setting file information (A to C) 45 having the same contents as the contents of the setting file 46 read in S402 (S201) to the RAM 21. Further, the microcomputer 14 overwrites the setting file number 43 on the RAM 21 with the setting file number 47 in the data area of the memory card 17.

メモリマネージャ34は、以上のようにしてデータファイルへのデータ書き込みを行うのと並行して、定期的に、RAM化けの異常を監視するために、図19の処理を実行する。   The memory manager 34 periodically executes the process of FIG. 19 in order to monitor abnormalities of RAM corruption in parallel with the data writing to the data file as described above.

図19において、最初のS501では、RAM21上の3個の設定ファイル情報(A〜C)45を読み込む。   In FIG. 19, in the first S501, three setting file information (A to C) 45 on the RAM 21 are read.

次のS502では、メモリマネージャ34は、S501にて読み込んだ3個の設定ファ
イル情報(A〜C)45の内容が相互に一致しているか否かに基づいて、設定ファイル情報が正常であるか異常であるかをチェックする。そして、3個の設定ファイル情報(A〜C)45の内容が相互に一致している場合には、各設定ファイル情報(A〜C)45は正常であると判断して、当該処理を終了する。
In next step S502, the memory manager 34 determines whether the setting file information is normal based on whether or not the contents of the three setting file information (A to C) 45 read in S501 match each other. Check for abnormalities. If the contents of the three setting file information (A to C) 45 match each other, it is determined that each setting file information (A to C) 45 is normal, and the process is terminated. To do.

これに対して、3個の設定ファイル情報(A〜C)45の内容の一部にでも齟齬がある場合には、メモリマネージャ34は、RAM化けに因って設定ファイル情報(A〜C)45に異常が生じ、設定ファイル情報(A〜C)45の内容が信用できなくなったとみなして、処理をS503へ進める。   On the other hand, if there is a defect in some of the contents of the three setting file information (A to C) 45, the memory manager 34 determines that the setting file information (A to C) due to the garbled RAM. It is assumed that an abnormality has occurred in 45 and the content of the setting file information (A to C) 45 has become untrustworthy, and the process proceeds to S503.

S503では、メモリマネージャ34は、設定ファイルの読込み処理を実行する。即ち、メモリマネージャ34は、図16に示す設定ファイル読込み処理サブルーチンを実行する。   In S503, the memory manager 34 executes a setting file reading process. That is, the memory manager 34 executes a setting file read processing subroutine shown in FIG.

次に、メモリマネージャ34は、入力情報監視部23がイグニッション信号のOFFを検知すると、RAM21上の設定ファイル情報(A〜C)45の内容を設定ファイルに退避させるために、図20の処理を実行する。   Next, when the input information monitoring unit 23 detects that the ignition signal is OFF, the memory manager 34 performs the process of FIG. 20 in order to save the contents of the setting file information (A to C) 45 on the RAM 21 to the setting file. Run.

メモリマネージャ34は、図20の最初のS601において、RAM21上の設定ファイル情報(A〜C)45を読み込む。   The memory manager 34 reads the setting file information (A to C) 45 on the RAM 21 in the first S601 of FIG.

次のS602では、マイクロコンピュータ14は、S601にて読み込んだ3個の設定ファイル情報(A〜C)45の内容が相互に一致しているか否かに基づいて、設定ファイル情報が正常であるか異常であるかをチェックする。そして、3個の設定ファイル情報(A〜C)45の内容の一部にでも齟齬がある場合には、メモリマネージャ34は、設定ファイル情報(A〜C)45に異常が生じ、設定ファイル情報(A〜C)45の内容が信用できなくなったとみなして、S605において、設定ファイル読込み処理を実行する。即ち、メモリマネージャ34は、図16に示す設定ファイル読込み処理サブルーチンを実行する。   In next step S602, the microcomputer 14 determines whether the setting file information is normal based on whether or not the contents of the three setting file information (A to C) 45 read in step S601 match each other. Check for abnormalities. If some of the contents of the three setting file information (A to C) 45 are flawed, the memory manager 34 has an abnormality in the setting file information (A to C) 45, and the setting file information (A to C) Assuming that the contents of 45 cannot be trusted, a setting file reading process is executed in S605. That is, the memory manager 34 executes a setting file read processing subroutine shown in FIG.

これに対して、3個の設定ファイル情報(A〜C)45の内容が相互に一致している場合には、メモリマネージャ34は、各設定ファイル情報(A〜C)45は正常であると判断して、処理をS602からS603へ進める。S603では、メモリマネージャは、メモリカード17中の設定ファイル番号47の値を他方の値へ変更し、変更後の設定ファイル番号47が示す書込対象データファイル46に記録されている書込済みブロック(クラスタ)のブロック番号を一つ進める。次のS604では、メモリマネージャ34は、RAM21上の設定ファイル番号43の値を他方の値へ変更し、各設定ファイル情報(A〜C)45に記録されている書込済みブロック(クラスタ)のブロック番号を一つ進める。   On the other hand, if the contents of the three setting file information (A to C) 45 match each other, the memory manager 34 indicates that each setting file information (A to C) 45 is normal. Judgment is made and the process proceeds from S602 to S603. In S603, the memory manager changes the value of the setting file number 47 in the memory card 17 to the other value, and the written block recorded in the write target data file 46 indicated by the changed setting file number 47 Advance the (cluster) block number by one. In the next S604, the memory manager 34 changes the value of the setting file number 43 on the RAM 21 to the other value, and the written block (cluster) recorded in each setting file information (A to C) 45 is changed. Advance the block number by one.

そして、マイクロコンピュータ14はイグニッション信号がOFFとなるとスリープモード等の省電力モードに移行する。なお、イグニッション信号がOFFの間もCANデータを受信して記録する必要がある場合には、省電力モードには移行せずに上記通常モードで動作するように構成することもできる。   The microcomputer 14 shifts to a power saving mode such as a sleep mode when the ignition signal is turned off. In addition, when it is necessary to receive and record CAN data even when the ignition signal is OFF, the normal mode can be configured without shifting to the power saving mode.

以上に説明した本実施形態によると、上述したように、メモリカード17のFAT領域及びルートディレクトリ領域を更新する必要がないので、当該領域の書込回数が上限に達することによりメモリカード17の寿命が短期間で尽きてしまうという問題がない。   According to the present embodiment described above, as described above, since it is not necessary to update the FAT area and the root directory area of the memory card 17, the life of the memory card 17 is reached when the number of times of writing in the area reaches the upper limit. There is no problem of running out in a short period of time.

また、本実施形態によると、いずれのデータファイルのどのブロック(クラスタ)までデータ書込を行ったかについては、メモリカード17のデータ領域中に格納された設定フ
ァイル46により管理しているが、設定ファイル46が予め2個用意され、それら設定ファイル46が交互に更新されるので、各設定ファイル46を記録しているブロック(クラスタ)の書込回数を半減でき、よって、当該ブロック(クラスタ)の書込回数上限に達するまでの時間を引き延ばすことができる。
Further, according to the present embodiment, up to which block (cluster) of which data file data has been written is managed by the setting file 46 stored in the data area of the memory card 17, Since two files 46 are prepared in advance and the setting files 46 are alternately updated, the number of times of writing of the block (cluster) in which each setting file 46 is recorded can be halved. The time until the upper limit of the number of writing times is reached can be extended.

また、本実施形態によると、図15のS103,図17のS301,図19のS503,図20のS605において図16の処理が実行されることにより、図21に示すように、あるデータファイル(data1.***)の途中のブロックまでデータ書込をした時点で異常
(リセット,RAM化け,イグニッションOFF,等)が生じることに因り、RAM21上の設定ファイル情報(A〜C)45が信用に足りなくなった場合であっても、図22に示すように、次回のデータ書込における書込対象データファイルを、次のデータファイル(data2.***)に切り替えて(S204)、その先頭からデータ書込を再開することがで
きる。
Further, according to the present embodiment, the processing of FIG. 16 is executed in S103 of FIG. 15, S301 of FIG. 17, S503 of FIG. 19, S605 of FIG. 20, and as shown in FIG. The setting file information (A to C) 45 on the RAM 21 is trusted due to the occurrence of an abnormality (reset, garbled RAM, ignition OFF, etc.) when data is written to the middle block of data1. ***). Even if it is insufficient, as shown in FIG. 22, the write target data file in the next data write is switched to the next data file (data2. ***) (S204), and the head Data writing can be resumed from

また、このように、異常発生時点で書込対象データファイルを切り替えることにより、異常発生時点までに書き込まれたデータが、異常発生直後のデータ書き込みによって上書きされて喪失してしまうことを防止できる。よって、異常発生時点までにデータが書き込まれたブロック(クラスタ)以外のブロック(クラスタ)にゴミデータが残存している可能性はあるものの、メモリカード17を検査装置(コンピュータ)に装填すれば、当該データファイル(data1.***)がデータ書込対象とされて以来異常発生時点までに書き込ま
れたデータを、読み出すことができるのである。
Further, by switching the write target data file at the time of occurrence of the abnormality in this way, it is possible to prevent the data written up to the time of occurrence of the abnormality from being overwritten and lost by data writing immediately after the occurrence of the abnormality. Therefore, although garbage data may remain in a block (cluster) other than the block (cluster) in which data has been written up to the time of occurrence of the abnormality, if the memory card 17 is loaded into the inspection device (computer), Since the data file (data1. ***) is targeted for data writing, data written up to the time of occurrence of an abnormality can be read.

1 データ記憶装置
14 マイクロコンピュータ
15 メモリカードスロット
17 メモリカード
21 RAM
22 ROM
23 入力情報監視部
24 電源電圧監視部
31 ECUシステム管理部
32 CAN通信制御部
34 メモリマネージャ
35 時刻情報作成部
36 異常検出部
33 記録データ生成部
45 設定ファイル情報
1 Data storage device 14 Microcomputer 15 Memory card slot 17 Memory card 21 RAM
22 ROM
23 Input Information Monitoring Unit 24 Power Supply Voltage Monitoring Unit 31 ECU System Management Unit 32 CAN Communication Control Unit 34 Memory Manager 35 Time Information Creation Unit 36 Abnormality Detection Unit 33 Record Data Generation Unit 45 Setting File Information

Claims (5)

記録対象データを不揮発性メモリに存在する複数のデータファイルに対して順番に情報記録を行う情報記録装置であって、
現在書込み対象として設定しているデータファイルと当該データファイルにおけるデータ書込み済みのブロックとを特定する特定情報を記憶する揮発性メモリと、
前記揮発性メモリに格納されている特定情報に基づき、次にデータ書込みを行うべきデータファイルにおけるブロックを特定して、前記記録対象データの前記不揮発性メモリへの書込み処理を実行する制御部と、を備え、
前記制御部は、前記書込み処理を、前記不揮発性メモリに存在する設定ファイルに、少なくとも現在書込対象として設定しているデータファイルを特定する特定情報を記録した状態で行うものであり、前記揮発性メモリに異常が発生したことを検出した場合には、前記不揮発性メモリに記録されている設定ファイルを読出し、当該設定ファイルにて現在書込み対象として設定されているデータファイルの次のデータファイルを書込み対象として書込み処理を実行することを特徴とする情報記録装置。
An information recording apparatus for recording information in order for a plurality of data files existing in a nonvolatile memory,
Volatile memory that stores specific information that identifies the data file that is currently set as the write target and the data-written block in the data file;
Based on the specific information stored in the volatile memory, a control unit that specifies a block in the data file to which data is to be written next, and executes a process of writing the recording target data to the nonvolatile memory; With
The control unit performs the writing process in a state where recording information specifying at least a data file currently set as a writing target is recorded in a setting file existing in the nonvolatile memory, and the volatile When a failure is detected in the volatile memory, the setting file recorded in the non-volatile memory is read, and the data file next to the data file currently set in the setting file is read. An information recording apparatus characterized by executing a writing process as a writing target.
前記制御部は、前回書込み処理実行時から書込み対象とするデータファイルに変更が発生していない場合には、前記不揮発性メモリに存在する設定ファイルに、データファイルにおけるデータ書込み済みのブロックとを特定する最新の特定情報を記録しない状態で、書込み処理を実行する
ことを特徴とする請求項1記載の情報記録装置。
When there is no change in the data file to be written since the previous execution of the write process, the control unit identifies a block in the data file where data has been written in the setting file existing in the nonvolatile memory. The information recording apparatus according to claim 1, wherein the writing process is executed without recording the latest specific information.
前記制御部は、前回書込み処理実行時から書込み対象とするデータファイルに変更が発生した場合に、前記不揮発性メモリに存在する設定ファイルに、最新の前記揮発性メモリ上の特定情報に基づいて、現在書込み対象として設定しているデータファイルと当該データファイルにおけるデータ書込み済みのブロックとを特定する特定情報を記録する処理を実行する
ことを特徴とする請求項1記載の情報記録装置。
The control unit, when a change has occurred in the data file to be written from the time of the previous write processing execution, based on the latest specific information on the volatile memory in the setting file present in the nonvolatile memory, 2. The information recording apparatus according to claim 1, wherein a process of recording specific information for specifying a data file currently set as a write target and a data-written block in the data file is executed.
前記制御部は、自己に投入される電源がオフされる場合に、前記不揮発性メモリに存在する設定ファイルに、最新の前記揮発性メモリ上の特定情報に基づいて、現在書込み対象として設定しているデータファイルと当該データファイルにおけるデータ書込み済みのブロックとを特定する特定情報を記録する処理を実行する
ことを特徴とする請求項1記載の情報記録装置。
When the power to be turned on is turned off, the control unit sets the current configuration target file in the nonvolatile memory as a current writing target based on the latest specific information on the volatile memory. 2. The information recording apparatus according to claim 1, wherein a process of recording specific information for identifying a data file and a data-written block in the data file is executed.
前記揮発性メモリの異常とは、前記揮発性メモリに供給される電源の電圧低下と、前記揮発性メモリに記憶したデータのデータ異常の、少なくとも一方であることを特徴とする請求項1から4のいずれか1項に記載の情報記録装置。   5. The abnormality of the volatile memory is at least one of a voltage drop of a power source supplied to the volatile memory and a data abnormality of data stored in the volatile memory. The information recording device according to any one of the above.
JP2010209029A 2010-09-17 2010-09-17 Information recording device Expired - Fee Related JP5485846B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010209029A JP5485846B2 (en) 2010-09-17 2010-09-17 Information recording device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010209029A JP5485846B2 (en) 2010-09-17 2010-09-17 Information recording device

Publications (2)

Publication Number Publication Date
JP2012064094A JP2012064094A (en) 2012-03-29
JP5485846B2 true JP5485846B2 (en) 2014-05-07

Family

ID=46059716

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010209029A Expired - Fee Related JP5485846B2 (en) 2010-09-17 2010-09-17 Information recording device

Country Status (1)

Country Link
JP (1) JP5485846B2 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101195041B1 (en) 2011-05-12 2012-10-31 고려대학교 산학협력단 Spin-transfer-torque magnetic random access memory using current-induced self-resonant switching
JP6443571B1 (en) * 2018-02-02 2018-12-26 富士通株式会社 Storage control device, storage control method, and storage control program
JP6443572B1 (en) * 2018-02-02 2018-12-26 富士通株式会社 Storage control device, storage control method, and storage control program
JP2024106650A (en) * 2023-01-27 2024-08-08 トヨタ自動車株式会社 Information processing device and information processing method

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005250831A (en) * 2004-03-04 2005-09-15 Matsushita Electric Ind Co Ltd Semiconductor memory device
JP2007133535A (en) * 2005-11-09 2007-05-31 Yaskawa Electric Corp File system in storage device
JP2008262574A (en) * 2008-05-07 2008-10-30 Sharp Corp High reliability file system

Also Published As

Publication number Publication date
JP2012064094A (en) 2012-03-29

Similar Documents

Publication Publication Date Title
EP2386921B1 (en) Method to separate and persist static and dynamic portions of a control application
JP5138760B2 (en) Information recording device
CN104360967B (en) The control method of accumulator system, console controller and DMA
US10222982B2 (en) Lifetime management device and lifetime management method
JP6585113B2 (en) Data storage device
US8819319B2 (en) Computer system and method for inheriting HBA identifier of PCI card
JP5445463B2 (en) Computer system, data storage method and program
JP5353545B2 (en) In-vehicle network device
US20100274986A1 (en) Control apparatus and control method therefor
US20200026457A1 (en) Reporting available physical storage space of non-volatile memory array
JP5485846B2 (en) Information recording device
CN118567692B (en) Basic input and output system firmware upgrade method, product, device and medium
CN116820898B (en) Method and system for monitoring running state of eMMC and computer readable storage medium
US20190265964A1 (en) Electronic apparatus, updating method, and recording medium
US8631166B2 (en) Storage devices with bi-directional communication techniques and method of forming bi-directional communication layer between them
US8321626B2 (en) Management of configuration data using persistent memories requiring block-wise erase before rewriting
US20070043903A1 (en) Data Processing Apparatus and Method, Control Program Therefor, and Recording Medium Having Program Recorded Thereon
JP5638892B2 (en) Information recording device
US9372700B2 (en) Network boot system
CN103116471A (en) Image processing apparatus
JP5279626B2 (en) Storage device control program
US8627157B2 (en) Storing apparatus
JP6555184B2 (en) In-vehicle control device
US20250028633A1 (en) Storage device and control method thereof
CN119718744A (en) Error management method and architecture of vehicle controller

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20130628

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20140220

R150 Certificate of patent or registration of utility model

Ref document number: 5485846

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees