JP2008304973A - Data recording device, data recording method and cold storage with this data storage device - Google Patents

Data recording device, data recording method and cold storage with this data storage device Download PDF

Info

Publication number
JP2008304973A
JP2008304973A JP2007148946A JP2007148946A JP2008304973A JP 2008304973 A JP2008304973 A JP 2008304973A JP 2007148946 A JP2007148946 A JP 2007148946A JP 2007148946 A JP2007148946 A JP 2007148946A JP 2008304973 A JP2008304973 A JP 2008304973A
Authority
JP
Japan
Prior art keywords
data
recording
data management
recorded
area
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.)
Granted
Application number
JP2007148946A
Other languages
Japanese (ja)
Other versions
JP4660855B2 (en
Inventor
Hideya Sato
秀也 佐藤
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.)
Daiwa Industries Ltd
Original Assignee
Daiwa Industries 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 Daiwa Industries Ltd filed Critical Daiwa Industries Ltd
Priority to JP2007148946A priority Critical patent/JP4660855B2/en
Publication of JP2008304973A publication Critical patent/JP2008304973A/en
Application granted granted Critical
Publication of JP4660855B2 publication Critical patent/JP4660855B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Techniques For Improving Reliability Of Storages (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To manage an address of recorded data without limiting a data content to be recorded, and easily record the recording frequency of data. <P>SOLUTION: A plurality of data management areas 2 are provided in a part of a storage area of an EEPROM 1 to manage the use state of the data management area, the recording frequency of data, the identification number of EEPROM in use, and address information of an address in which the latest data is recorded in the data management area, and a data recording area 3 is provided in an area other than the recording area. Since the data management area and the data recording area are separately provided to record only data in the data recording area, the data content is never limited due to recording of data management information. Since the recording frequency is recorded in the data management area, a memory for recording it is dispensed with, and the device can be simplified. <P>COPYRIGHT: (C)2009,JPO&INPIT

Description

この発明は、書き換え自在にデータを記録するデータ記録装置、及び、このデータ記録装置に適用するデータ記録方法と、このデータ記録装置を搭載した保冷庫に関する。   The present invention relates to a data recording device that records data in a rewritable manner, a data recording method applied to the data recording device, and a cold storage equipped with the data recording device.

例えば、保冷庫のようにマイクロコンピュータにより種々の構成装置を制御する電気機器においては、この電気機器に故障が生じた際にこの電気機器を構成するどの構成装置に異常が生じたのか解析するために、故障に至るまでの運転状況(例えば、マイクロコンピュータからの出力信号、各構成装置の稼動状況等)を内蔵したメモリに記録する機能を備えたものがある。
このメモリとして、電源を切断した後もデータが記録保持されたままの状態を維持する不揮発性メモリ(例えば、EEPROM(電気的に一括消去・再書き込み可能な読み出し専用メモリ)等)が一般的に用いられる。
For example, in an electrical device that controls various component devices by a microcomputer such as a cold storage, in order to analyze which component device that constitutes the electrical device has an abnormality when the electrical device fails Some of them have a function of recording in a built-in memory an operation status (for example, an output signal from a microcomputer, an operation status of each component device, etc.) up to the failure.
As this memory, a non-volatile memory (for example, an EEPROM (electrically erasable and rewritable read-only memory) etc.) that maintains a state where data is recorded and retained even after the power is turned off is generally used. Used.

この電気機器の上記運転状況は、予め決められた時間間隔ごとにそのメモリ内に順次記録される。この記録されたデータがこのメモリの記録容量に達すると、既に記録されたデータに上書き記録される。   The operation status of the electric device is sequentially recorded in the memory at predetermined time intervals. When the recorded data reaches the recording capacity of this memory, the already recorded data is overwritten.

このデータの記録方式としては、限られたメモリ資源を無駄なく使用するため、前に記録されたデータの末尾に連続して、次のデータを記録するのが一般的である。
この記録方式においては、見かけ上は単なる数値データの羅列となるため、既に記録されたデータと新たに記録したデータとの区切りがはっきりしない。
As a recording method of this data, in order to use limited memory resources without waste, it is general to record the next data continuously at the end of the previously recorded data.
In this recording method, since it appears as just a list of numerical data, the separation between already recorded data and newly recorded data is not clear.

この場合、引き続いてデータを記録する際に、その次のデータをメモリ上のどのアドレスに記録すれば良いのか、又は、故障解析において、記録されたデータを読み込む際に、そのデータをどのアドレスから読み込めば良いのか分からないという問題がある。   In this case, when data is subsequently recorded, which address on the memory should be recorded next, or from which address when the recorded data is read in the failure analysis There is a problem that I do not know if it should be read.

このような問題を解決するため、例えば特許文献1に示す記録方法においては、各データをメモリに記録する際に、記録したデータの末尾に、末尾であることを示す識別子(例えば「00h」など。ここで識別子末尾の「h」は16進数であることを示す。以下同じ。)を追記して、記録したデータの末尾を明確にしている。この記録に続いて新たにデータを記録する際は、まず記録されたデータ列においてこの識別子「00h」を検索し、この識別子の属するアドレスを先頭アドレスとしてデータを記録する。   In order to solve such a problem, for example, in the recording method disclosed in Patent Document 1, when each data is recorded in the memory, an identifier (for example, “00h” or the like indicating the end is recorded at the end of the recorded data). Here, “h” at the end of the identifier indicates a hexadecimal number (the same applies hereinafter)) to clarify the end of the recorded data. When data is newly recorded following this recording, the identifier “00h” is first searched in the recorded data string, and the data is recorded with the address to which the identifier belongs as the head address.

また、このデータの記録に際しては、上記故障解析のために、データ記録回数をそのデータとともに記録する必要性があることもある。このデータ記録の書式の関係上、データとデータ記録回数を同じメモリに記録すると両者の区別が不明確となる恐れがあるので、このメモリには運転状況に関するデータ(及び、そのデータに付随する識別子)のみを記録して、上記データのデータ記録回数はこのメモリとは別に設けられたメモリに記録するようにする。   When recording this data, it may be necessary to record the number of data recordings together with the data for the failure analysis. Due to the format of this data recording, if the data and the number of data recordings are recorded in the same memory, there is a risk that the distinction between the two will be unclear, so this memory contains data relating to operating conditions (and identifiers associated with the data) ) Only, and the data recording frequency of the data is recorded in a memory provided separately from this memory.

特開平7−98992号公報JP 7-98992 A

特許文献1に示す方法においてデータの末尾を示すために用いる識別子は、メモリへのデータ記録の書式上、「00h」から「FFh」のいずれかで表記される2桁の16進数とする必要がある。そのため、例えばこの識別子を「00h」とすると、運転状況に関するデータ中に「00h」が含まれていると、この「00h」がデータなのか、あるいは、識別子なのか区別できないという問題がある。そのため、識別子として使用した値はデータとして用いない、という決まりを設ける必要があり、記録するデータ内容が制約される。   The identifier used to indicate the end of data in the method disclosed in Patent Document 1 must be a two-digit hexadecimal number represented by any one of “00h” to “FFh” in the format of data recording in the memory. is there. Therefore, if this identifier is “00h”, for example, if “00h” is included in the data related to the driving situation, there is a problem that it cannot be distinguished whether this “00h” is data or an identifier. Therefore, it is necessary to provide a rule that the value used as the identifier is not used as data, and the data content to be recorded is restricted.

また、上記データの記録回数のカウントのためには、その記録回数を記録するためのメモリが別途必要なので、部品数が増えて装置構成が複雑になりコストが嵩むという問題がある。   Further, in order to count the number of times of recording the data, a memory for recording the number of times of recording is separately required. Therefore, there is a problem that the number of parts increases, the apparatus configuration becomes complicated, and the cost increases.

そこで、この発明は、記録するデータ内容を制約することなく、記録したデータのアドレスを管理し得るようにするとともに、データの記録回数を簡便に記録し得るようにすることを課題とする。   SUMMARY OF THE INVENTION Accordingly, an object of the present invention is to be able to manage the address of recorded data without restricting the data content to be recorded and to easily record the number of times of data recording.

上記の課題を解決するため、この発明は、不揮発性メモリの記録領域の一部にデータ管理領域を設け、このデータ管理領域に記録回数情報やアドレス情報等のデータ管理情報を記録するようにしたのである。   In order to solve the above problems, the present invention provides a data management area in a part of the recording area of the nonvolatile memory, and records data management information such as recording count information and address information in this data management area. It is.

この発明の構成としては、不揮発性メモリに書き換え自在にデータを記録保持するデータ記録装置において、上記不揮発性メモリの記録領域の一部にデータ管理領域を設け、そのデータ管理領域に、上記不揮発性メモリにデータを記録した記録回数情報、及び、最新のデータの記録アドレスに関するアドレス情報のデータ管理情報を記録し、上記記録領域の上記データ管理領域以外に設けられたデータ記録領域には、上記データ管理領域に記録したアドレス情報に対応したアドレスにデータを記録するようにすることができる。
この不揮発性メモリは、停電等の電源遮断時においても記録されたデータが消えないので、これに記録されたアドレス情報とともに記録回数情報が確実に保持される。そのため、記録回数のカウントのためのメモリを別途備える必要がない。
As a configuration of the present invention, in a data recording apparatus that records and holds data in a rewritable manner in a nonvolatile memory, a data management area is provided in a part of the recording area of the nonvolatile memory, and the nonvolatile memory is provided in the data management area. The data management information of the address information relating to the recording address of the latest data and the recording address of the latest data is recorded in the memory, and the data recording area provided in the recording area other than the data management area includes the data Data can be recorded at an address corresponding to the address information recorded in the management area.
In this nonvolatile memory, recorded data is not erased even when the power is cut off, such as a power failure, so that the number-of-records information is securely held together with the address information recorded therein. Therefore, it is not necessary to separately provide a memory for counting the number of times of recording.

上記データ記録装置としては、異なる識別番号が付与された複数の不揮発性メモリを搭載し、それらの不揮発性メモリのうち少なくとも1つに上記データ管理領域を設け、上記データをいずれかの不揮発性メモリに記録する際に、そのデータを上記データ記録領域に記録するとともに、上記データ管理領域に、上記データ管理情報としてその記録がなされた上記不揮発性メモリの識別番号を併せて記録する構成とすることもできる。
このように各不揮発性メモリに識別番号を付与すれば、直近のデータがどの不揮発性メモリに保存されたのかについて容易に知ることができる。
As the data recording device, a plurality of nonvolatile memories assigned with different identification numbers are mounted, the data management area is provided in at least one of the nonvolatile memories, and the data is stored in any nonvolatile memory. When recording the data, the data is recorded in the data recording area, and the identification number of the nonvolatile memory recorded as the data management information is also recorded in the data management area. You can also.
Thus, by assigning an identification number to each nonvolatile memory, it is possible to easily know in which nonvolatile memory the most recent data is stored.

また、上記記録領域に複数のデータ管理領域を設け、そのうちの一のデータ管理領域に、上記データの記録の際に、上記データ管理情報をそのデータ管理領域に逐次上書き記録するとともに、上記上書き回数が上記不揮発性メモリの電気的性能の劣化によって決まる記録限度回数に達した際に、上記一のデータ管理領域に記録されていた上記データ管理情報を未使用のデータ管理領域に移し、上記一のデータ管理領域への上記上書き記録を停止するとともに、上記未使用のデータ管理領域において、継続してデータ管理情報の記録を行い得るようにすることもできる。
上記記録領域において、上記データ管理領域はデータの記録ごとにデータ管理情報の更新がなされるので、上記データ記録領域と比較して、上記記録限度回数に達するのが早い。そのため、データの記録頻度に対応して予め複数のデータ管理領域を設けておき、記録限度回数に達したデータ管理領域から未使用のデータ管理領域に記録されていたデータ管理情報をそのまま移し、新たに使用を開始したそのデータ管理領域でデータ管理情報を管理するようにする。
In addition, a plurality of data management areas are provided in the recording area, and when the data is recorded in one of the data management areas, the data management information is sequentially overwritten and recorded in the data management area, and the number of overwriting times When the recording limit number determined by the deterioration of the electrical performance of the nonvolatile memory is reached, the data management information recorded in the one data management area is transferred to an unused data management area, The overwrite recording to the data management area can be stopped, and the data management information can be continuously recorded in the unused data management area.
In the recording area, since the data management information is updated every time data is recorded in the recording area, the recording limit number of times is reached faster than the data recording area. For this reason, a plurality of data management areas are provided in advance corresponding to the data recording frequency, and the data management information recorded in the unused data management area is moved as it is from the data management area that has reached the recording limit number, and a new one is newly created. The data management information is managed in the data management area that has been used.

また、上記データ管理領域に、上記データ管理情報としてそのデータ管理領域の使用状態を示す識別子を併せて記録するようにすることもできる。
この識別子によって各データ管理領域の使用状況を明示するようにすれば、データ管理情報を読み込む際に、どのデータ管理領域から読み込めば良いのかはっきり分かるので、その読み込みが円滑になされる。
In addition, an identifier indicating the use status of the data management area can be recorded as the data management information in the data management area.
If the usage status of each data management area is clearly indicated by this identifier, when data management information is read, it can be clearly seen from which data management area the data management area should be read, so that the data can be read smoothly.

また、このデータ記録装置を保冷庫に搭載し、このデータ記録装置に用いた上記不揮発性メモリの記録容量に対応して、保冷庫の運転状況についてのデータを所定の時間間隔でこのデータ記録装置に記録するようにすることもできる。
上記運転状況についてのデータとして、マイクロコンピュータからの出力信号、コンプレッサーの出力データ等があり、このようなデータをデータ記録装置に記録して故障時にそのデータを解析すれば、その保冷庫の故障解析を容易に行い得る。
In addition, the data recording device is mounted on the cold storage, and the data about the operation status of the cold storage is stored at predetermined time intervals corresponding to the recording capacity of the nonvolatile memory used in the data recording device. Can also be recorded.
Data on the above operating conditions include output signals from microcomputers, compressor output data, etc. If such data is recorded in a data recording device and analyzed at the time of failure, failure analysis of that cold storage Can be easily performed.

また、上記保冷庫において、そのデータ記録装置に設けられたデータ管理領域の全てが書き換え回数の限度に達した際に、保冷庫に設けた表示部に、上記データ管理情報の記録ができなくなったことを表示するようにすることもできる。
この表示部に上記表示がされた際に、この保冷庫に設けられたデータ記録装置のメモリを交換するようにすれば、継続してこのデータ記録装置を使用することができる。
In addition, when all of the data management area provided in the data recording device reaches the limit of the number of rewrites in the cold storage, the data management information cannot be recorded on the display provided in the cold storage. Can also be displayed.
If the memory of the data recording device provided in the cold storage is replaced when the display is made on the display unit, the data recording device can be used continuously.

この発明によると、データの末尾を明示するための識別子を使用しないので、識別子とデータ自体との区別が付かなくなる恐れがない。そのため、識別子として使用した値はデータとして使用しない、といったデータ内容の制約を受けることなくデータを記録することができる。
また、データ管理領域内にデータの記録回数を記録する機能を設けたので、この記録のために別途メモリを必要としない。そのため、部品数を減らすことができこの装置構成を簡略なものとすることができる。
According to the present invention, since an identifier for clearly indicating the end of data is not used, there is no possibility that the identifier and the data itself cannot be distinguished from each other. Therefore, data can be recorded without being restricted by data content such that a value used as an identifier is not used as data.
In addition, since a function for recording the number of times of data recording is provided in the data management area, no separate memory is required for this recording. Therefore, the number of parts can be reduced, and this apparatus configuration can be simplified.

この発明の実施形態を図1から図4に示して説明する。
この実施形態に係るデータ記録装置は、保冷庫に搭載されてこの保冷庫の運転状況を記録するためのものであって、図1に示すように、不揮発性メモリの1種であるEEPROM1を2個備えている(EEPROM1a、1b)。
An embodiment of the present invention will be described with reference to FIGS.
The data recording device according to this embodiment is mounted on a cold storage and records the operation status of the cold storage. As shown in FIG. 1, two EEPROMs 1 as a kind of nonvolatile memory are provided. (EEPROM 1a, 1b).

各EEPROM1a、1bの記録容量はそれぞれ8キロバイトであって、EEPROM1aには、その先頭アドレスから4個のデータ管理領域2(同図中に示す太枠内の領域)が設けてあり、そのデータ管理領域2に続いてデータ記録領域3が設けてある。EEPROM1bはその全体がデータ記録領域3である。   Each EEPROM 1a, 1b has a recording capacity of 8 kilobytes, and the EEPROM 1a is provided with four data management areas 2 (areas within a thick frame shown in the figure) from its head address. A data recording area 3 is provided following the area 2. The entire EEPROM 1b is a data recording area 3.

各EEPROM1a、1bのアドレスは、左側に記載の4桁のアドレス(例えば0030h)と、上側に記載の末尾1桁のアドレス(例えばA)の組み合わせによって表現され、図1において、例えばEEPROM1aの左上隅のアドレスは0000h、右下隅のアドレスは1FFFhとなる。   The address of each EEPROM 1a, 1b is expressed by a combination of a 4-digit address (for example, 0030h) on the left side and a single-digit address (for example, A) on the upper side. In FIG. 1, for example, the upper left corner of the EEPROM 1a Address is 0000h, and the address in the lower right corner is 1FFFh.

EEPROM1aの1個目(先頭)のデータ管理領域2を図2に示して説明すると、このデータ管理領域2は8バイトのメモリ領域を占有し、このメモリ領域にデータ管理情報4が記録されている。
このデータ管理情報4として、この8バイトのうち1バイト目にこのデータ管理領域2の使用状況、2〜5バイト目に各メモリ1a、1bにデータを書き込んだ回数を記録するカウンター、6バイト目に各メモリ1a、1bのうちいずれに対してデータの書き込みを行ったのかを示す識別番号、7〜8バイト目に次に書き込むデータのアドレス情報、がそれぞれ記録されている。
The first data management area 2 of the EEPROM 1a will be described with reference to FIG. 2. The data management area 2 occupies an 8-byte memory area, and the data management information 4 is recorded in this memory area. .
As the data management information 4, a counter that records the usage status of the data management area 2 in the first byte of the 8 bytes, the number of times data is written in each of the memories 1 a and 1 b in the second to fifth bytes, and the sixth byte Are recorded with an identification number indicating to which of the memories 1a and 1b data has been written, and address information of data to be written next in the 7th to 8th bytes.

データ管理領域2の使用状況に関するアドレス4aには、このデータ管理領域2が未使用ならば00h、使用中ならば01h、使用済みならば02hのいずれかが記録される。この保冷庫の使用開始の時点(初期化後の時点)では、4個全てのデータ管理領域2において00h(未使用)が記録されている。   The address 4a relating to the usage status of the data management area 2 records 00h if the data management area 2 is not used, 01h if it is in use, and 02h if it is used. 00h (unused) is recorded in all four data management areas 2 at the start of use of the cool box (time after initialization).

上記カウンターに関するアドレス4bには、データ記録領域3にデータを一つ記録するごとに、このアドレス4bに記録されている数値を1hずつ増加して記録するようになっている。この数値は、使用中のデータ管理領域2が記録限度回数に達して他の新しいデータ管理領域2に更新された際にリセットされて、改めて1hから記録される。   Each time one piece of data is recorded in the data recording area 3, the numerical value recorded in the address 4b is incremented by 1h and recorded in the address 4b related to the counter. This numerical value is reset when the data management area 2 in use reaches the recording limit number and is updated to another new data management area 2, and is recorded again from 1h.

上記識別番号に関するアドレス4cには、直近のデータがEEPROM1aに記録された際には01h、EEPROM1bに記録された際には02hのいずれかが記録される。この識別番号に関するデータは、使用中のデータ管理領域2が記録限度回数に達して他の新しいデータ管理領域2に更新された際にそのまま引き継がれる。   In the address 4c relating to the identification number, either 01h is recorded when the latest data is recorded in the EEPROM 1a, and 02h is recorded when the latest data is recorded in the EEPROM 1b. The data relating to this identification number is inherited as it is when the data management area 2 in use reaches the recording limit number and is updated to another new data management area 2.

上記アドレス情報に関するアドレス4dには、データ記録領域3の先頭アドレス、つまり、EEPROM1aにあっては0020h以降のアドレス、EEPROM1bにあっては0000h以降のアドレスのいずれかのアドレスが記録される。このアドレスは、使用中のデータ管理領域2が記録限度回数に達して他の新しいデータ管理領域2に更新された際にそのまま引き継がれる。   In the address 4d related to the address information, a head address of the data recording area 3, that is, any one of addresses after 0020h in the EEPROM 1a and addresses after 0000h in the EEPROM 1b is recorded. This address is inherited as it is when the data management area 2 in use reaches the recording limit number and is updated to another new data management area 2.

データ管理領域2へのデータの記録はデータ更新ごとに逐次行ってもよいが、このデータ記録装置においては上記データを、このデータ記録装置に付属して設けられたマイコンRAM(書き換え可能メモリ)に一旦記録し、このマイコンRAMに記録されたデータを後でまとめてデータ管理領域に記録するようにしている。このマイコンRAMへの記録はデータ管理領域への記録の準備段階に相当するので、以下においては「記録準備」と表記する。   Data recording in the data management area 2 may be performed sequentially every time the data is updated. In this data recording apparatus, the data is stored in a microcomputer RAM (rewritable memory) provided with the data recording apparatus. Once recorded, the data recorded in the microcomputer RAM is collectively recorded in the data management area later. Since recording in the microcomputer RAM corresponds to a recording preparation stage in the data management area, it will be referred to as “recording preparation” below.

なお、図1に示したように4個のデータ管理領域2を有する場合においては、それぞれのデータ管理領域2における各アドレス4a、4b、4c及び4dの具体的なアドレスは図3に示す通りである。   In the case where four data management areas 2 are provided as shown in FIG. 1, the specific addresses of the addresses 4a, 4b, 4c and 4d in each data management area 2 are as shown in FIG. is there.

この保冷庫の出荷段階において、上記データ記録装置の各記録内容は初期化されている。この初期化においては、図1で示したように、4個のデータ管理領域2のうちの1個目のデータ管理領域2におけるアドレス情報に関するアドレス4dに、0020hが記録(メモリ上の記録順序としては、20hと00h)されるとともに、データ管理領域のそれ以外の領域には00hが記録されている。
また、EEPROM1a、1bのデータ記録領域3には、初期化後において00hが記録されているが、新たにデータが記録されるにあたり既に記録されているデータが何であるかは特に意味がないので、図1においてはXX(不定データ)として表示している。
At the shipping stage of the cold storage, the recorded contents of the data recording device are initialized. In this initialization, as shown in FIG. 1, 0020h is recorded at the address 4d related to the address information in the first data management area 2 of the four data management areas 2 (as the recording order on the memory). 20h and 00h), and 00h is recorded in other areas of the data management area.
In addition, 00h is recorded in the data recording area 3 of the EEPROMs 1a and 1b after initialization, but it is not particularly meaningful what data is already recorded when new data is recorded. In FIG. 1, it is displayed as XX (indefinite data).

このデータ記録装置にデータを記録する際の処理の流れについて図4に示して説明する。このEEPROM1a、1bの書き換え可能回数は80万回、1データのデータサイズは20バイトとする。   The flow of processing when data is recorded in this data recording apparatus will be described with reference to FIG. The EEPROM 1a and 1b can be rewritten up to 800,000 times, and the data size of one data is 20 bytes.

(1)データ管理領域の選択
4個のデータ管理領域2に領域番号i(i=1〜4)をそれぞれ付与し、まず、領域番号i=1のデータ管理領域2において、そのデータ管理領域2の使用状況に関するアドレス4aを検索する(図4のS1及びS2)。そのアドレス4aに00h(未使用)が記録されている場合には、領域番号i=1が付与されたデータ管理領域2を使用することを決定し、このアドレス4aに01h(使用中)、及び、メモリの識別番号に関するアドレス4cに01h(EEPROM1aを使用)をそれぞれ記録準備する(同図のS3)。
(1) Selection of Data Management Area Each of the four data management areas 2 is assigned an area number i (i = 1 to 4). First, in the data management area 2 of the area number i = 1, the data management area 2 The address 4a relating to the usage status of the user is searched (S1 and S2 in FIG. 4). If 00h (unused) is recorded in the address 4a, it is decided to use the data management area 2 to which the area number i = 1 is assigned, 01h (in use) in the address 4a, and Then, 01h (using the EEPROM 1a) is prepared for recording at the address 4c relating to the memory identification number (S3 in the figure).

また、そのアドレス4aに01h(使用中)が記録されている場合には、その領域番号iが付与されたデータ管理領域2を使用することを決定する。
さらに、そのアドレス4aに02h(使用済み)が記録されており、かつ、i=4の場合(同図のS5)は使用可能なデータ管理領域2はないと判断し、保冷庫に設けられた表示部に、新たにデータを記録できない旨を表示する(同図のS6)。ここで、i<4の場合は領域番号iを一つ増加し(同図のS7)、次のデータ管理領域2において同様の判断を行う(同図のS4)。
If 01h (in use) is recorded in the address 4a, it is determined to use the data management area 2 to which the area number i is assigned.
Further, when 02h (used) is recorded in the address 4a and i = 4 (S5 in the figure), it is determined that there is no usable data management area 2 and is provided in the cold storage. A message indicating that new data cannot be recorded is displayed on the display unit (S6 in the figure). If i <4, the area number i is incremented by 1 (S7 in the figure), and the same determination is made in the next data management area 2 (S4 in the figure).

(2)データ書き込み回数のチェック
上記決定によって使用するデータ管理領域2(識別番号i)のカウンターに関するアドレス4bを検索し、そのカウント数が80万回未満の場合、そのデータ管理領域2を継続して使用する(同図のS8)。
一方、カウント数が80万回以上の場合、そのデータ管理領域2は使用限界に達してもう使用できないと判断し(同図のS8)、そのデータ管理領域2のデータ管理領域の使用状況に関するアドレス4aに02h(使用済み)を記録準備する(同図のS9)とともに、領域番号iを一つ増加し(同図のS10)、未使用のデータ管理領域2を使用するようにする。
(2) Checking the number of data writes The address 4b related to the counter of the data management area 2 (identification number i) to be used is searched by the above determination. If the count is less than 800,000, the data management area 2 is continued. (S8 in the figure).
On the other hand, if the count number is 800,000 times or more, it is determined that the data management area 2 has reached the use limit and can no longer be used (S8 in the figure), and an address relating to the use status of the data management area of the data management area 2 In addition to recording preparation of 02h (used) in 4a (S9 in the figure), the area number i is incremented by one (S10 in the figure), and the unused data management area 2 is used.

上記増加によってiが4を超えない場合は(同図のS11)、これまで使用していたデータ管理領域2(識別番号(i−1))のアドレス4c及び4dに記録されていたデータを、新たに使用するデータ管理領域(識別番号i)のアドレス4c及び4dにそのまま移す(同図のS12)とともに、アドレス4aに01h(使用中)を記録準備する(同図のS13)。
一方、上記増加によってiが4を超える場合(同図のS11)は使用可能なデータ管理領域2はないと判断し、保冷庫に設けられた表示部に、新たにデータを記録できない旨を表示する(同図のS6)。
If i does not exceed 4 due to the increase (S11 in the figure), the data recorded in the addresses 4c and 4d of the data management area 2 (identification number (i-1)) used so far are The data is transferred to the addresses 4c and 4d of the data management area (identification number i) to be newly used (S12 in the figure), and 01h (in use) is prepared for recording in the address 4a (S13 in the figure).
On the other hand, if i exceeds 4 due to the increase (S11 in the figure), it is determined that there is no usable data management area 2, and a message indicating that data cannot be newly recorded is displayed on the display unit provided in the cold storage. (S6 in the figure).

(3)次のデータの記録アドレスのチェック及びデータの記録
使用することを決定したデータ管理領域2(識別番号i)のアドレス4dにおいてアドレス情報を読み込み、その読み込んだアドレスに14h(データサイズが20バイトのため)を加える(同図のS14)。
その加えた結果が2000hよりも小さい場合(そのメモリの最大アドレス(1FFFh)を超えない場合)は、その直近に記録されたデータに続いてそのデータを記録するための領域があると判断できる。
その場合はメモリの識別番号に関するアドレス4cを検索し、このアドレス4cに01hが記録されている場合はEPPROM1aの、又は、02hが記録されている場合はEPPROM1bのアドレス4dに示されているアドレスに20バイトのデータを記録する(同図のS15)。
(3) Check of recording address of next data and recording of data Address information is read at address 4d of data management area 2 (identification number i) decided to be used, and 14h (data size is 20) is read. For the byte) (S14 in the figure).
When the added result is smaller than 2000h (when the maximum address (1FFFh) of the memory is not exceeded), it can be determined that there is an area for recording the data following the most recently recorded data.
In that case, the address 4c relating to the identification number of the memory is searched. If 01h is recorded in this address 4c, the address shown in the address 4d of the EPPROM 1a or in the case of 02h is recorded in the address 4d of the EPPROM 1b. 20-byte data is recorded (S15 in the figure).

一方、上記結果が2000h以上の場合は、そのデータ管理領域2のアドレス4cに記録されたメモリの識別番号の値が01h(EEPROM1aを使用)又は02h(EEPROM1bを使用)のいずれかによって記録手順が異なる。   On the other hand, when the result is 2000h or more, the recording procedure is performed depending on whether the value of the memory identification number recorded at the address 4c in the data management area 2 is 01h (using the EEPROM 1a) or 02h (using the EEPROM 1b). Different.

このアドレス4cによってEEPROM1aが選択されている場合(同図のS16)は、EEPROM1aにおけるデータ記録領域の記録容量が8160バイト(全容量8×1024バイトから、データ管理領域4×8バイトを除いた部分)なので、20バイトのデータがちょうど408個記録できる。
そのため、上記結果が2000h以上(実際にはちょうど2000h)であっても、20バイトのデータがあと一回だけ記録できる。そこで、EEPROM1aのアドレス4dの示すアドレスからデータを記録する(同図のS17)とともに、アドレス4cに02h(EEPROM1b)、アドレス4dに0000hをそれぞれ記録準備する(同図のS18)。
When the EEPROM 1a is selected by the address 4c (S16 in the figure), the recording capacity of the data recording area in the EEPROM 1a is 8160 bytes (a part obtained by excluding the data management area 4 × 8 bytes from the total capacity 8 × 1024 bytes). Therefore, 408 pieces of 20-byte data can be recorded.
Therefore, even if the result is 2000 h or more (actually just 2000 h), 20 bytes of data can be recorded only once more. Therefore, data is recorded from the address indicated by the address 4d of the EEPROM 1a (S17 in the figure), and 02h (EEPROM1b) is prepared for the address 4c and 0000h is prepared for the address 4d (S18 in the figure).

一方、アドレス4cによってEEPROM1bが選択されている場合(同図のS16)は、EEPROM1bにおけるデータ記録領域3の記録容量が8192バイトなので、20バイトのデータが409個記録でき、かつ、このEEPROM1bの末尾に12バイトの空き領域が残存している。
そのため、上記結果が2000h以上の場合は、EEPROM1bの末尾にデータを記録する領域が確保できない。そこで、この場合は記録先をEEPROM1aに変更して、EEPROM1aのアドレス0020h(データ記録領域3の先頭アドレス)から20バイトのデータを記録するようにする(同図のS19)。
この際、アドレス4cに01h(EEPROM1a)、アドレス4dに0020hをそれぞれ記録準備する(同図のS20)。
On the other hand, when the EEPROM 1b is selected by the address 4c (S16 in the figure), since the recording capacity of the data recording area 3 in the EEPROM 1b is 8192 bytes, 409 20-byte data can be recorded and the end of the EEPROM 1b is recorded. A 12-byte free area remains.
Therefore, when the result is 2000h or more, an area for recording data cannot be secured at the end of the EEPROM 1b. Therefore, in this case, the recording destination is changed to the EEPROM 1a, and 20-byte data is recorded from the address 0020h (the leading address of the data recording area 3) of the EEPROM 1a (S19 in the figure).
At this time, 01h (EEPROM 1a) is prepared for the address 4c, and 0020h is prepared for the address 4d (S20 in the figure).

(4)データ記録後の処理
上記(3)の処理によってデータの記録が完了したら、カウンターに関するアドレス4bの値に1hを加えてカウントアップするとともに、アドレス情報に関するアドレス4dの値に14h(データサイズが20バイトのため)を加えて次に記録するデータの先頭アドレスが分かるようにしておく(同図のS21)。
最後に、上記マイコンRAMに記録された(記録準備された)データを、アドレス4aを先頭アドレスとするデータ管理領域に記録する(同図のS22)。
(4) Processing after data recording When data recording is completed by the processing in (3) above, the value is incremented by adding 1h to the value of the address 4b related to the counter, and 14h (data size) is added to the value of the address 4d related to the address information. Is added so that the head address of the next data to be recorded can be known (S21 in the figure).
Finally, the data recorded (prepared for recording) in the microcomputer RAM is recorded in the data management area having the address 4a as the head address (S22 in the figure).

このデータが予め決めた時間間隔(例えば2分ごと)で出力され、その都度、このデータが記録される。   This data is output at a predetermined time interval (for example, every two minutes), and this data is recorded each time.

ここで、実際の記録作業における各EEPROM1a、1b中の数値データの変化を、実際の出力データを模擬した模擬データを用いて説明する。   Here, changes in numerical data in the respective EEPROMs 1a and 1b in an actual recording operation will be described using simulated data simulating actual output data.

上述したように、各EEPROM1a、1bの初期化後、これらは図1に示す数値データを記録している。この初期化後に1回目のデータ記録を行った後のEEPROM1a、1b内の記録状態を図5に示す。
この1回目のデータ記録では、1個目のデータ管理領域2(EEPROM1aのアドレス0000h〜0007h)を使用し、そのデータ管理領域2の使用状況に関するアドレス4a(0000h)に01h(使用中)を記録するとともに、識別番号に関するアドレス4c(0005h)に01h(EEPROM1aを使用)を記録する。
さらにアドレス情報4d(0006h〜0007h)で指定されていたアドレス(0020h)を先頭アドレスとしてデータ(図5における01h〜14hの20個のデータ)を記録する。
このデータの記録後、カウンターに関するアドレス4b(0001h〜0004h)の値を1h増加するとともに、アドレス情報に関するアドレス4d(0006h〜0007h)に記録したデータを14h(データサイズが20バイトのため)だけ増加して0034h(メモリ上の記録順序としては、34hと00h)とし、次のデータを記録する際の先頭アドレスが分かるようにしておく。
As described above, after the initialization of each of the EEPROMs 1a and 1b, they record the numerical data shown in FIG. FIG. 5 shows a recording state in the EEPROMs 1a and 1b after the first data recording is performed after the initialization.
In this first data recording, the first data management area 2 (the address 0000h to 0007h of the EEPROM 1a) is used, and 01h (in use) is recorded in the address 4a (0000h) relating to the usage status of the data management area 2. At the same time, 01h (using the EEPROM 1a) is recorded at the address 4c (0005h) relating to the identification number.
Further, data (20 data from 01h to 14h in FIG. 5) is recorded with the address (0020h) designated by the address information 4d (0006h to 0007h) as the head address.
After recording this data, the value of the address 4b (0001h to 0004h) related to the counter is increased by 1h, and the data recorded in the address 4d (0006h to 0007h) related to the address information is increased by 14h (because the data size is 20 bytes). Then, 0034h (34h and 00h as the recording order on the memory) is set so that the head address when the next data is recorded can be known.

このデータ記録を繰り返して、408回目のデータ記録を行った後のEEPROM1a、1b内の記録状態を図6に示す。
この408回目の記録によって、EEPROM1aの最終アドレスまでちょうど一杯データが記録された状態となる。このデータの記録とともに、識別番号に関するアドレス4c(0005h)に02h(EEPROM1bを使用)を記録する。
このデータの記録後、カウンターに関するアドレス4b(0001h〜0004h)の値を1h増加するとともに、アドレス情報に関するアドレス4d(0006h〜0007h)に0000hを記録して、次のデータをEEPROM1bの先頭アドレスから記録するようにしておく。
FIG. 6 shows a recording state in the EEPROMs 1a and 1b after the data recording is repeated and the 408th data recording is performed.
With this 408th recording, the data has been recorded completely up to the final address of the EEPROM 1a. Along with the recording of this data, 02h (using EEPROM 1b) is recorded at address 4c (0005h) relating to the identification number.
After recording this data, the value of the address 4b (0001h to 0004h) related to the counter is increased by 1h, 0000h is recorded to the address 4d (0006h to 0007h) related to the address information, and the next data is recorded from the top address of the EEPROM 1b. Make sure you do.

さらにデータ記録を繰り返して、817回目のデータ記録を行った後のEEPROM1a、1b内の記録状態を図7に示す。
この817回目の記録によって、EEPROM1bの末尾に12バイトの空き領域を残した状態となる。このデータの記録後において、識別番号に関するアドレス4cには02h(EEPROM1bを使用)が記録されるとともに、アドレス情報に関するアドレス4dには1FF4hが記録される。
Further, FIG. 7 shows a recording state in the EEPROMs 1a and 1b after the data recording is repeated and the 817th data recording is performed.
This 817th recording leaves a 12-byte free area at the end of the EEPROM 1b. After the recording of this data, 02h (using the EEPROM 1b) is recorded in the address 4c relating to the identification number, and 1FF4h is recorded in the address 4d relating to the address information.

これに引き続いて818回目のデータ記録を行う場合、アドレス4dに記録されているアドレス1FF4hに14hを加えると2000hを超え、この回のデータはEEPROM1bには記録できないことが分かる。
そこで、818回目のデータをEEPROM1aのアドレス0020h(データ記録領域3の先頭アドレス)から記録するとともに、アドレス4cに01h(EEPROM1aを使用)を、アドレス4dに0020hをそれぞれ記録準備する。
このデータの記録後、図8に示すように、カウンターに関するアドレス4b(0001h〜0004h)の値を1h増加するとともに、アドレス情報に関するアドレス4d(0006h〜0007h)に0034hを記録して、次のデータをEEPROM1aのアドレス4dから記録するようにしておく。
Subsequently, when data is recorded for the 818th time, if 14h is added to the address 1FF4h recorded at the address 4d, it exceeds 2000h, and it can be seen that the data at this time cannot be recorded in the EEPROM 1b.
Therefore, the 818th data is recorded from the address 0020h (start address of the data recording area 3) of the EEPROM 1a, and 01h (using the EEPROM 1a) is prepared for the address 4c, and 0020h is prepared for the address 4d.
After recording this data, as shown in FIG. 8, the value of the address 4b (0001h to 0004h) related to the counter is increased by 1h, and 0034h is recorded to the address 4d (0006h to 0007h) related to the address information. Are recorded from the address 4d of the EEPROM 1a.

さらにデータ記録を繰り返して、80万回目のデータ記録を行った後のEEPROM1a、1b内の記録状態を図9に示す。
この80万回目のデータが記録された際において、1個目のデータ管理領域2のアドレス4a(0000h)には01h(使用中)、アドレス4b(0001h〜0004h)には000C3500h(10進数で80万)、アドレス4c(0005h)には01h(EEPROM1a)、アドレス4d(0006h〜0007h)には0C78h(アドレス情報)がそれぞれ記録されている。
Further, FIG. 9 shows a recording state in the EEPROMs 1a and 1b after the data recording is repeated and the 800th data recording is performed.
When the 800th data is recorded, the address 4a (0000h) of the first data management area 2 is 01h (in use), and the address 4b (0001h to 0004h) is 000C3500h (80 decimal). 1), 01h (EEPROM 1a) is recorded at address 4c (0005h), and 0C78h (address information) is recorded at addresses 4d (0006h to 0007h).

これに引き続いて80万1回目のデータ記録を行う場合、アドレス4bに80万回以上である旨のデータが記録されているため、この1個目のデータ管理領域2の使用を中止することを決定し、そのアドレス4aに02h(使用済み)を記録準備する。
この記録準備とともに、1個目のデータ管理領域2のアドレス4c及び4dに記録されていたデータをそのまま2個目のデータ管理領域2の同アドレスに移動すべく記録準備する。さらに2個目のデータ管理領域2のアドレス4aに01h(使用中)を記録準備する。
Subsequently, when data recording is performed for the first time of 800,000 times, since the data indicating that the number of times is 800,000 times or more is recorded in the address 4b, the use of the first data management area 2 is stopped. Then, 02h (used) is prepared for recording at the address 4a.
Along with this recording preparation, the recording preparation is made so that the data recorded at the addresses 4c and 4d in the first data management area 2 is moved to the same address in the second data management area 2 as it is. Further, 01h (in use) is prepared for recording at address 4a of the second data management area 2.

この2個目のデータ管理領域2へのデータの記録準備が完了したら、図10に示すように、アドレス4dの示すアドレスへ20バイトのデータを記録する。この記録後、アドレス4b(0009h〜000Ch)の値を1h増加するとともに、アドレス4d(000Eh〜000Fh)を14hだけ増加して、次のデータを記録する際の先頭アドレスが分かるようにしておく。
最後に、上記のようにして記録準備されたデータをデータ管理領域に記録する。
When the preparation for recording data in the second data management area 2 is completed, as shown in FIG. 10, 20 bytes of data are recorded at the address indicated by the address 4d. After this recording, the value of the address 4b (0009h to 000Ch) is increased by 1h, and the address 4d (000Eh to 000Fh) is increased by 14h so that the head address when the next data is recorded can be known.
Finally, the data prepared for recording as described above is recorded in the data management area.

この実施形態のように2分ごとにデータを記録する場合においては、1個のデータ管理領域2によって約3年間(=2分×80万回÷60分÷24時間÷365日)記録の管理を行うことができる。このデータ管理領域2の個数を増やすことで、このデータ管理装置の使用可能期間をさらに延長することができる。
この延長は、高性能なEEPROM1を使用して、記録限度回数を伸ばすことによっても達成し得る。
When data is recorded every 2 minutes as in this embodiment, recording management is performed for about 3 years (= 2 minutes × 800,000 times ÷ 60 minutes ÷ 24 hours ÷ 365 days) by one data management area 2. It can be performed. By increasing the number of data management areas 2, the usable period of the data management apparatus can be further extended.
This extension can also be achieved by using the high-performance EEPROM 1 and increasing the recording limit number.

一実施形態においてEEPROM初期化後の記録内容を示す図The figure which shows the recorded content after EEPROM initialization in one Embodiment 同実施形態においてEEPROMのデータ管理領域の記録領域を示す図The figure which shows the recording area of the data management area of EEPROM in the embodiment 同実施形態において各データ管理領域のアドレスを示す図The figure which shows the address of each data management area | region in the same embodiment 同実施形態におけるデータ記録の処理手順を示す図The figure which shows the process sequence of the data recording in the embodiment 同実施形態において1回目のデータ記録後のEEPROMの記録内容を示す図The figure which shows the recording content of EEPROM after the data recording of the 1st time in the same embodiment 同実施形態において408回目のデータ記録後のEEPROMの記録内容を示す図The figure which shows the recording content of EEPROM after the 408th data recording in the same embodiment 同実施形態において817回目のデータ記録後のEEPROMの記録内容を示す図The figure which shows the recording content of EEPROM after the 817th data recording in the same embodiment 同実施形態において818回目のデータ記録後のEEPROMの記録内容を示す図The figure which shows the recording content of EEPROM after the 818th data recording in the same embodiment 同実施形態において80万回目のデータ記録後のEEPROMの記録内容を示す図The figure which shows the recording content of EEPROM after the 800,000th data recording in the same embodiment 同実施形態において80万1回目のデータ記録後のEEPROMの記録内容を示す図The figure which shows the recording content of EEPROM after the data recording of the 800th time in the same embodiment

符号の説明Explanation of symbols

1(1a、1b) EEPROM(不揮発性メモリ)
2 データ管理領域
3 データ記録領域
4 データ管理情報
4a データ管理領域の使用状況に関するアドレス
4b カウンターに関するアドレス
4c 識別番号に関するアドレス
4d アドレス情報に関するアドレス
1 (1a, 1b) EEPROM (nonvolatile memory)
2 Data management area 3 Data recording area 4 Data management information 4a Address related to usage status of data management area 4b Address related to counter 4c Address related to identification number 4d Address related to address information

Claims (10)

不揮発性メモリ(1)に書き換え自在にデータを記録保持するデータ記録装置において、
上記不揮発性メモリ(1)の記録領域の一部にデータ管理領域(2)を設け、そのデータ管理領域(2)に、上記不揮発性メモリ(1)にデータを記録した記録回数情報、及び、最新のデータの記録アドレスに関するアドレス情報のデータ管理情報(4)を記録し、上記記録領域の上記データ管理領域(2)以外に設けられたデータ記録領域(3)には、上記データ管理領域(2)に記録したアドレス情報に対応したアドレスに、そのデータを記録するようにしたことを特徴とするデータ記録装置。
In a data recording apparatus for recording and holding data in a rewritable manner in a nonvolatile memory (1),
A data management area (2) is provided in a part of the recording area of the non-volatile memory (1), the number of times of recording the data recorded in the non-volatile memory (1) in the data management area (2), and Data management information (4) of address information related to the recording address of the latest data is recorded, and the data management area (3) provided in the recording area other than the data management area (2) has the data management area ( 2. A data recording apparatus, wherein the data is recorded at an address corresponding to the address information recorded in 2).
上記データ記録装置に、異なる識別番号が付与された複数の不揮発性メモリ(1)を搭載し、それらの不揮発性メモリ(1)のうち少なくとも1つに上記データ管理領域(2)を設け、上記データをいずれかの不揮発性メモリ(1)に記録する際に、そのデータを上記データ記録領域(3)に記録するとともに、上記データ管理領域(2)に、上記データ管理情報(4)として、その記録がなされた上記不揮発性メモリ(1)の識別番号を併せて記録するようにしたことを特徴とする請求項1に記載のデータ記録装置。   A plurality of nonvolatile memories (1) to which different identification numbers are assigned are mounted on the data recording device, and the data management area (2) is provided in at least one of the nonvolatile memories (1), When data is recorded in any one of the non-volatile memories (1), the data is recorded in the data recording area (3), and in the data management area (2) as the data management information (4), 2. The data recording apparatus according to claim 1, wherein the identification number of the nonvolatile memory (1) on which the recording is performed is recorded together. 上記記録領域に複数のデータ管理領域(2)を設け、そのうちの一のデータ管理領域(2)に、上記データの記録の際に、上記データ管理情報(4)をそのデータ管理領域(2)に逐次上書き記録するとともに、上記上書き回数が上記不揮発性メモリ(1)の電気的性能によって決まる記録限度回数に達した際に、上記一のデータ管理領域(2)に記録されていた上記データ管理情報(4)を未使用のデータ管理領域(2)に移し、上記一のデータ管理領域(2)への上記上書き記録を停止し、上記未使用のデータ管理領域(2)には、継続してデータ管理情報(4)の記録を行い得るようにしたことを特徴とする請求項1又は2に記載のデータ記録装置。   A plurality of data management areas (2) are provided in the recording area, and the data management information (4) is stored in one of the data management areas (2) when the data is recorded. The data management recorded in the one data management area (2) when the number of overwriting reaches the recording limit number determined by the electrical performance of the nonvolatile memory (1). The information (4) is transferred to the unused data management area (2), the overwrite recording to the one data management area (2) is stopped, and the unused data management area (2) is continued. The data recording apparatus according to claim 1 or 2, wherein the data management information (4) can be recorded. 上記データ管理領域(2)に、上記データ管理情報(4)として、そのデータ管理領域(2)の使用状態を示す識別子を併せて記録するようにしたことを特徴とする請求項1から3のいずれかに記載のデータ記録装置。   4. The data management area (2) according to claim 1, wherein an identifier indicating a use state of the data management area (2) is recorded as the data management information (4). The data recording device according to any one of the above. 請求項1に記載のデータ記録装置に適用するデータ記録方法であって、上記不揮発性メモリ(1)の記録領域の一部にデータ管理領域(2)を設け、そのデータ管理領域(2)に、上記不揮発性メモリ(1)に上記データ管理情報(4)を記録するとともに、上記記録領域の上記データ管理領域(2)以外に設けられたデータ記録領域(3)において、上記データ管理領域(2)に記録したアドレス情報に対応したアドレスに、そのデータを記録するようにしたことを特徴とするデータ記録方法。   A data recording method applied to the data recording apparatus according to claim 1, wherein a data management area (2) is provided in a part of the recording area of the nonvolatile memory (1), and the data management area (2) is provided. The data management information (4) is recorded in the non-volatile memory (1), and in the data recording area (3) provided in the recording area other than the data management area (2), the data management area ( 2. A data recording method, wherein the data is recorded at an address corresponding to the address information recorded in 2). 請求項2に記載のデータ記録装置に適用するデータ記録方法であって、上記データ記録装置に、異なる識別番号が付与された複数の不揮発性メモリ(1)を搭載し、それらの不揮発性メモリ(1)のうち少なくとも1つに上記データ管理領域(2)を設け、上記データをいずれかの不揮発性メモリ(1)に記録する際に、そのデータを上記データ記録領域(3)に記録するとともに、上記データ管理領域(2)に、上記データ管理情報(4)として、その記録がなされた上記不揮発性メモリ(1)の識別番号を併せて記録するようにしたことを特徴とするデータ記録方法。   A data recording method applied to the data recording apparatus according to claim 2, wherein a plurality of nonvolatile memories (1) to which different identification numbers are assigned are mounted on the data recording apparatus, and the nonvolatile memories ( The data management area (2) is provided in at least one of 1), and when the data is recorded in any nonvolatile memory (1), the data is recorded in the data recording area (3) A data recording method characterized in that, in the data management area (2), the data management information (4) is recorded together with the identification number of the recorded nonvolatile memory (1). . 請求項3に記載のデータ記録装置に適用するデータ記録方法であって、上記記録領域に複数のデータ管理領域(2)を設け、そのうちの一のデータ管理領域(2)に、上記データの記録の際に、上記データ管理情報(4)をそのデータ管理領域(2)に逐次上書き記録するとともに、上記上書き回数が上記不揮発性メモリ(1)の電気的性能によって決まる記録限度回数に達した際に、上記一のデータ管理領域(2)に記録されていた上記データ管理情報(4)を未使用のデータ管理領域(2)に移し、上記一のデータ管理領域(2)への上記上書き記録を停止し、上記未使用のデータ管理領域(2)には、継続してデータ管理情報(4)の記録を行い得るようにしたことを特徴とするデータ記録方法。   4. A data recording method applied to the data recording apparatus according to claim 3, wherein a plurality of data management areas (2) are provided in the recording area, and the data is recorded in one of the data management areas (2). In this case, when the data management information (4) is sequentially overwritten and recorded in the data management area (2), the number of overwriting reaches the recording limit number determined by the electrical performance of the nonvolatile memory (1). In addition, the data management information (4) recorded in the one data management area (2) is transferred to an unused data management area (2), and the overwriting recording in the one data management area (2) is performed. The data recording method is characterized in that the data management information (4) can be continuously recorded in the unused data management area (2). 請求項4に記載のデータ記録装置に適用するデータ記録方法であって、上記データ管理領域(2)に、上記データ管理情報(4)として、そのデータ管理領域(2)の使用状態を示す識別子を併せて記録するようにしたことを特徴とするデータ記録方法。   5. A data recording method applied to the data recording apparatus according to claim 4, wherein the data management area (2) includes, as the data management information (4), an identifier indicating a use state of the data management area (2). A data recording method characterized in that recording is also performed. 請求項1から4に記載のデータ記録装置を搭載し、運転状況についてのデータを、設定した時間間隔でこのデータ記録装置に記録するようにしたことを特徴とする保冷庫。   5. A cool box equipped with the data recording device according to claim 1 to record data on operation status in the data recording device at set time intervals. 上記記録領域に設けたデータ管理領域(2)の全てが書き換え回数限度に達した際に、本体に設けた表示部に、上記データ管理情報(4)の記録ができなくなったことを表示するようにしたことを特徴とする請求項9に記載の保冷庫。   When all the data management areas (2) provided in the recording area have reached the limit of the number of rewrites, the fact that the data management information (4) can no longer be recorded is displayed on the display section provided in the main body. The cool box according to claim 9, wherein the cool box is made.
JP2007148946A 2007-06-05 2007-06-05 Data recording apparatus, data recording method, and cold storage equipped with the data recording apparatus Active JP4660855B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007148946A JP4660855B2 (en) 2007-06-05 2007-06-05 Data recording apparatus, data recording method, and cold storage equipped with the data recording apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007148946A JP4660855B2 (en) 2007-06-05 2007-06-05 Data recording apparatus, data recording method, and cold storage equipped with the data recording apparatus

Publications (2)

Publication Number Publication Date
JP2008304973A true JP2008304973A (en) 2008-12-18
JP4660855B2 JP4660855B2 (en) 2011-03-30

Family

ID=40233684

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007148946A Active JP4660855B2 (en) 2007-06-05 2007-06-05 Data recording apparatus, data recording method, and cold storage equipped with the data recording apparatus

Country Status (1)

Country Link
JP (1) JP4660855B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014179131A (en) * 2014-06-05 2014-09-25 Aisin Aw Co Ltd Writing device, writing method, and writing program

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04165547A (en) * 1990-10-30 1992-06-11 Oki Electric Ind Co Ltd Memory area switching processing device
JPH05282880A (en) * 1992-01-10 1993-10-29 Toshiba Corp Semiconductor disk apparatus
JPH10312693A (en) * 1997-05-14 1998-11-24 Nec Corp Storage device
JP2002342164A (en) * 2001-05-22 2002-11-29 Hitachi Ltd Storage device, data processor, and method for controlling storing part

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04165547A (en) * 1990-10-30 1992-06-11 Oki Electric Ind Co Ltd Memory area switching processing device
JPH05282880A (en) * 1992-01-10 1993-10-29 Toshiba Corp Semiconductor disk apparatus
JPH10312693A (en) * 1997-05-14 1998-11-24 Nec Corp Storage device
JP2002342164A (en) * 2001-05-22 2002-11-29 Hitachi Ltd Storage device, data processor, and method for controlling storing part

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014179131A (en) * 2014-06-05 2014-09-25 Aisin Aw Co Ltd Writing device, writing method, and writing program

Also Published As

Publication number Publication date
JP4660855B2 (en) 2011-03-30

Similar Documents

Publication Publication Date Title
KR100531192B1 (en) Non-volatile memory control method
US9767035B2 (en) Pass-through tape access in a disk storage environment
US8234462B2 (en) Security erase of a delete file and of sectors not currently assigned to a file
US7725646B2 (en) Method of using a flash memory for a circular buffer
EP2180408A1 (en) Method for writing and reading data in an electrically erasable and programmable nonvolatile memory
JP4215746B2 (en) Information processing apparatus and life monitoring method
WO2009153982A1 (en) Plurally partitioned nonvolatile memory device and system
US20080201342A1 (en) Data storage device management system and method
US20040194114A1 (en) Method and system for managing the contents of an event log stored within a computer
KR101148097B1 (en) System and method for writing data and a time value to an addressable unit of a removable storage medium
KR100703680B1 (en) Flash file system
WO2019047901A1 (en) Data depositing method
JP2000222292A (en) Data managing method utilizing flash memory
US9971682B2 (en) Wear-leveling system and method for reducing stress on memory device using erase counters
JP2010009296A (en) Software operation monitoring device and method
JP4660855B2 (en) Data recording apparatus, data recording method, and cold storage equipped with the data recording apparatus
US10620867B2 (en) System and method for performing wear leveling at a non-volatile firmware memory
TWI453589B (en) A drive indicating mechanism for removable media
CN112181275A (en) Data processor and data processing method
JP2021515308A (en) Devices and methods for accessing metadata when debugging devices
JP2003036209A (en) Nonvolatile memory and data rewriting method thereof
Reddy et al. Solid state device (SSD) forensics
US20160275011A1 (en) Microcomputer with built-in flash memory, method for writing data to built-in flash memory of microcomputer, and program for writing data to flash memory
JPH06222985A (en) Memory controller
CN106844228B (en) Method and device for realizing partition management of lightweight SD card

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20100907

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100914

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20101111

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

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20101217

R150 Certificate of patent or registration of utility model

Ref document number: 4660855

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140114

Year of fee payment: 3

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250