JPH0973335A - Data processing device - Google Patents

Data processing device

Info

Publication number
JPH0973335A
JPH0973335A JP7251909A JP25190995A JPH0973335A JP H0973335 A JPH0973335 A JP H0973335A JP 7251909 A JP7251909 A JP 7251909A JP 25190995 A JP25190995 A JP 25190995A JP H0973335 A JPH0973335 A JP H0973335A
Authority
JP
Japan
Prior art keywords
status information
information
storage
data processing
unit
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.)
Pending
Application number
JP7251909A
Other languages
Japanese (ja)
Inventor
Shinichi Kawasumi
真一 川住
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.)
Toyo Communication Equipment Co Ltd
Original Assignee
Toyo Communication Equipment Co 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 Toyo Communication Equipment Co Ltd filed Critical Toyo Communication Equipment Co Ltd
Priority to JP7251909A priority Critical patent/JPH0973335A/en
Publication of JPH0973335A publication Critical patent/JPH0973335A/en
Pending legal-status Critical Current

Links

Landscapes

  • Power Sources (AREA)
  • Techniques For Improving Reliability Of Storages (AREA)

Abstract

(57)【要約】 【課題】 復帰情報を確実に保存し、誤動作のないデー
タ処理装置を提供すること。 【解決手段】 処理中断条件を満たす際に現時点におけ
る各種動作状態を示す複数のステータス情報を所定領域
に格納し、処理復帰時に当該所定領域に格納された複数
のステータス情報に基づいて処理中断前の状態を再現す
るデータ処理装置1であって、ステータス情報を格納す
る複数の格納ブロックを有する情報格納部2と、ステー
タス情報を、情報格納部2の各格納ブロックに対して同
一の書き込みを行うことにより格納する格納制御部3
と、処理復帰時に、情報格納部2における各格納ブロッ
ク内に格納されたステータス情報をそれぞれ読み出し、
読み出されたステータス情報の中で過半数となるステー
タス情報を選択する情報選択部4と、情報選択部4によ
り選択されたステータス情報に基づいて処理復帰時の動
作を決定する復帰動作決定部5とを備えるように構成す
る。
(57) [Abstract] [PROBLEMS] To provide a data processing device that reliably stores return information and does not malfunction. SOLUTION: A plurality of status information indicating various operating states at the present time when a processing interruption condition is satisfied is stored in a predetermined area, and before the processing interruption based on the plurality of status information stored in the predetermined area at the time of returning from the processing. A data processing device 1 that reproduces a state, in which the information storage unit 2 having a plurality of storage blocks for storing status information and the same writing of status information in each storage block of the information storage unit 2 are performed. Storage controller 3 for storing by
When the process returns, the status information stored in each storage block in the information storage unit 2 is read,
An information selecting unit 4 that selects a majority of the read status information, and a return operation determining unit 5 that determines an operation at the time of processing recovery based on the status information selected by the information selecting unit 4. To be provided.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、データ処理装置で
のデータ処理作業中断あるいは終了または停電時におけ
る各種ステータス情報をデータ格納装置内に格納し、こ
の格納された各種ステータス情報に基づいてデータ処理
復帰時に前回の動作状態を復元するデータ処理装置の分
野に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention stores various status information in a data storage device at the time of interruption or termination of data processing work in a data processing device or a power failure, and performs data processing based on the stored various status information. The present invention relates to the field of data processing devices that restore the previous operating state upon restoration.

【0002】[0002]

【従来の技術】近年、例えば、携帯型のパーソナルコン
ピュータ等のデータ処理装置では、データ処理作業中に
一時処理を中断し、再度処理を開始する際、中断したと
きの状態のままで作業が行える、いわゆる、レジューム
機能を備えたものが一般的となっている。また、停電等
によりデータ処理装置に供給される電源電圧が動作保障
値以下となるような場合、電源電圧の下降を検出して、
現在のデータ処理作業中で使用している各種情報を即座
に保管する機能を有するものも提供されている。
2. Description of the Related Art In recent years, for example, in a data processing device such as a portable personal computer, when a temporary processing is interrupted during a data processing operation and the processing is started again, the operation can be performed in the state of the interruption. Generally, a so-called resume function is provided. Also, if the power supply voltage supplied to the data processing device falls below the operation guarantee value due to a power failure, etc., a drop in the power supply voltage is detected,
There is also provided one having a function of immediately storing various information used in the current data processing work.

【0003】上記のようなデータ処理装置では、データ
処理中断時または停電検出時に、データ処理中断前また
は停電検出前の動作を保障するために、例えば、動作モ
ード,アドレス情報等の再動作に必要な情報をステータ
スフラグ情報としてEEPROM(Electrically Erasa
ble Programmable Read Only Memory )等の不揮発性メ
モリに書き込んで格納する。EEPROMは、電気的に
プログラミング可能なROMであり、データを消去して
再書き込みできる半導体メモリである。このため、停電
等により通電されなくても書き込まれたデータを保持す
ることができる。
In the above data processing device, in order to guarantee the operation before the data processing is interrupted or before the power failure is detected when the data processing is interrupted or the power failure is detected, for example, it is necessary for the re-operation of the operation mode and the address information. This information is used as status flag information in the EEPROM (Electrically Erasa
ble Programmable Read Only Memory). The EEPROM is an electrically programmable ROM, which is a semiconductor memory in which data can be erased and rewritten. Therefore, the written data can be held even if the power is not supplied due to a power failure or the like.

【0004】以下、動作モードの格納及び復帰動作を図
5,図6に基づいて説明する。図5,図6は、従来例の
動作例を説明するための図であり、図5は、情報格納エ
リアとなるEEPROMのメモリマップの概略図、図6
は、動作復帰時の動作モード判断例を示すフローチャー
トである。なお、図5及び図6でのデータ処理装置の動
作モードは、大別して2つの動作モードがあり、モード
0時には「00H」(2進数では「0000 0000B」)、モ
ード1時には「01H」(2進数では「0000 0001B」)
がEEPROM上の所定アドレスに格納されるものとす
る。また、図6における処理ステップはSで示す。
The operation mode storing and restoring operations will be described below with reference to FIGS. 5 and 6 are diagrams for explaining an operation example of a conventional example, and FIG. 5 is a schematic diagram of a memory map of an EEPROM serving as an information storage area.
6 is a flowchart showing an operation mode determination example at the time of operation recovery. The operation modes of the data processing device in FIGS. 5 and 6 are roughly divided into two operation modes, “00H” in mode 0 (“0000 0000B” in binary) and “01H” (2 in mode 1). "0000 0001B" in decimal)
Is stored at a predetermined address on the EEPROM. The processing step in FIG. 6 is indicated by S.

【0005】まず、EEPROMの所定アドレスに「0
0H」を書き込まれているため、データ処理装置はモー
ド0で動作する。その際、データ処理の中断または停電
が発生すると、その状態を維持する。そして、データ処
理の中断再開後または復電後のデータ処理装置の立ち上
げ時に、図6に示すように、動作モード情報の格納エリ
アであるEEPROM内の所定アドレスに格納されてい
る動作モードの値を読み出し、中断前または停電前の動
作モードはモード0であったか否か、すなわち、読み出
された値が「00H」であるか否かがチェックされる
(S1)。
First, "0" is stored in a predetermined address of the EEPROM.
Since "0H" has been written, the data processing device operates in mode 0. At that time, if the data processing is interrupted or a power failure occurs, the state is maintained. Then, when the data processing device is started up after the interruption of the data processing is resumed or after the power is restored, as shown in FIG. 6, the value of the operation mode stored in the predetermined address in the EEPROM which is the storage area of the operation mode information. Is read, and it is checked whether or not the operation mode before interruption or before power failure is mode 0, that is, whether or not the read value is "00H" (S1).

【0006】上記ステップS1の判断処理に基づいて、
読み出された値が「00H」であれば、中断前または停
電前の動作モードはモード0であると判断し(S2)、
一方、「01H」であれば、中断前または停電前の動作
モードはモード1であると判断する(S3)。そして、
判断された動作モードに基づいて環境が構築されること
で、データ処理中断前または停電検出前の動作状態が復
元される。
Based on the judgment processing in step S1 above,
If the read value is "00H", it is determined that the operation mode before interruption or before power failure is mode 0 (S2),
On the other hand, if "01H", it is determined that the operation mode before interruption or before power failure is mode 1 (S3). And
By constructing the environment based on the determined operation mode, the operation state before the data processing interruption or before the power failure detection is restored.

【0007】[0007]

【発明が解決しようとする課題】しかしながら、このよ
うな従来のデータ処理装置にあっては、データ処理中断
前または停電検出前のステータスフラグ情報(以下、復
帰情報という)をEEPROMに格納する際、メモリ消
費を少なく抑えるためにステータスフラグ情報をビット
単位に扱うことが一般的であったため、情報を書き込む
際に、何らかの原因で格納されるべき情報値が変化した
とき、誤動作を生じる原因となるという問題があった。
However, in such a conventional data processing apparatus, when the status flag information (hereinafter referred to as return information) before data processing interruption or before power failure detection is stored in the EEPROM, Since it was common to handle status flag information in bit units in order to keep memory consumption low, it may cause a malfunction when the information value to be stored changes for some reason when writing information. There was a problem.

【0008】すなわち、図7に示すように、本来、「0
0H」と書き込まれるべきはずのところに「08H」
(2進数では「0000 1000B」)と書き込まれた場合、図
6に示す復帰手順にしたがって動作モードを決定する
と、ステップS1の判断処理において、動作モードはモ
ード1であると誤って判断されることになる。このた
め、この判断結果が誤動作の原因となったり、最悪の場
合、他の動作情報との関係でハングアップしてしまうお
それがあるといった問題点がある。
That is, as shown in FIG.
"08H" is supposed to be written as "0H"
When the operation mode is determined according to the restoration procedure shown in FIG. 6 when written as (0000 1000B in binary), the operation mode may be erroneously determined to be mode 1 in the determination process of step S1. become. Therefore, there is a problem that the result of this determination may cause a malfunction or, in the worst case, cause a hang-up in relation to other motion information.

【0009】本発明の課題は、上記問題点を解消し、復
帰情報を確実に保存し、誤動作のないデータ処理装置を
提供することにある。
An object of the present invention is to solve the above-mentioned problems, provide a data processing device that surely stores return information, and has no malfunction.

【0010】[0010]

【課題を解決するための手段】本発明のデータ処理装置
は、処理中断条件を満たす際に現時点における各種動作
状態を示す複数のステータス情報を所定領域に格納し、
処理復帰時に当該所定領域に格納された複数のステータ
ス情報に基づいて処理中断前の状態を再現するデータ処
理装置であって、前記ステータス情報を格納する複数の
格納ブロックを有する情報格納部と、前記ステータス情
報を、前記情報格納部の各格納ブロックに対して同一の
書き込みを行うことにより格納する格納制御部と、処理
復帰時に、前記情報格納部における各格納ブロック内に
格納されたステータス情報をそれぞれ読み出し、読み出
されたステータス情報の中で過半数となるステータス情
報を選択する情報選択部と、前記情報選択部により選択
されたステータス情報に基づいて処理復帰時の動作を決
定する復帰動作決定部と、を備えるように構成してい
る。
A data processing apparatus of the present invention stores a plurality of status information indicating various operating states at the present time in a predetermined area when a processing interruption condition is satisfied,
A data processing device that reproduces a state before a process is interrupted based on a plurality of status information stored in the predetermined area at the time of process recovery, and an information storage unit having a plurality of storage blocks for storing the status information, The storage control unit that stores the status information by writing the same information to each storage block of the information storage unit, and the status information stored in each storage block of the information storage unit when the process returns. An information selection unit that selects the status information that is read out and becomes a majority of the read status information, and a restoration operation determination unit that determines the operation at the time of processing restoration based on the status information selected by the information selection unit. , Are provided.

【0011】この場合、請求項2に記載するように、前
記情報選択部により選択されたステータス情報を、選択
された以外のステータス情報を格納する格納ブロックに
それぞれコピーする情報修復部を有することが望まし
く、また、請求項3に記載するように、前記ステータス
情報は複数ビット長の規定値によりなり、当該ステータ
ス情報において各種状態を示す値は、少なくとも半分以
上のビット値が異なるものであることが有効である。
In this case, as described in claim 2, the information selecting section may have an information restoring section for copying the status information selected by the information selecting section to a storage block for storing status information other than the selected status information. Desirably, as described in claim 3, the status information is defined by a specified value having a plurality of bit lengths, and values indicating various states in the status information are different in at least half or more bit values. It is valid.

【0012】[0012]

【発明の実施の形態】以下、本願発明の一実施形態を図
面に基づいて説明する。図1は、本発明のデータ処理装
置の概略構成を示すブロック図である。本発明のデータ
処理装置1は、大別して、EEPROM等の書き込み可
能な不揮発性半導体メモリからなる情報格納部2と、情
報格納部2における各格納ブロックに対してステータス
情報の書き込みを行う格納制御部3と、処理復帰時に用
いるステータス情報を情報格納部2内の各格納ブロック
から選択する情報選択部4と、情報選択部4により選択
されたステータス情報に基づいて処理復帰時の動作状態
を決定する復帰動作決定部5と、情報選択部4により選
択されたステータス情報と異なる情報が格納された格納
ブロック内に正しいステータス情報をコピーする情報修
復部6とから構成されている。
BEST MODE FOR CARRYING OUT THE INVENTION An embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing a schematic configuration of a data processing device of the present invention. The data processing device 1 of the present invention is roughly classified into an information storage unit 2 including a writable nonvolatile semiconductor memory such as an EEPROM, and a storage control unit that writes status information to each storage block in the information storage unit 2. 3, an information selecting unit 4 for selecting status information used at the time of returning from the processing from each storage block in the information storing unit 2, and an operation state at the time of returning to the processing is determined based on the status information selected by the information selecting unit 4. The recovery operation determination unit 5 and the information restoration unit 6 that copies correct status information into a storage block that stores information different from the status information selected by the information selection unit 4 are included.

【0013】情報格納部2は、複数の格納ブロック(本
例では、第1ブロック,第2ブロック,第3ブロックの
3つのブロック)を有し、各格納ブロックには、それぞ
れステータス情報が格納される。なお、各格納ブロック
は、それぞれ従来例における情報格納エリアに相当す
る。格納制御部3は、データ処理の中断または停電を検
出すると、現在のステータス情報を格納ブロックに書き
込むための制御を行うものであり、具体的には、最初に
第1ブロックにステータス情報の書き込みを行い、次
に、第2ブロック,第3ブロック…と順次同一の書き込
みを行う。
The information storage unit 2 has a plurality of storage blocks (in this example, three blocks of a first block, a second block, and a third block), and each storage block stores status information. It Each storage block corresponds to an information storage area in the conventional example. The storage control unit 3 performs control for writing the current status information to the storage block when detecting interruption of data processing or power failure. Specifically, first, the storage control unit 3 first writes the status information to the first block. Then, the same writing is sequentially performed for the second block, the third block, ....

【0014】情報選択部4は、処理復帰時に、第1ブロ
ック,第2ブロック,第3ブロックの各格納ブロックに
格納されたステータス情報を読み出すことで処理復帰前
のステータス情報を得るためのものであるが、情報格納
部2に誤って書き込まれた場合のことを考慮して、上記
3つのブロック中の過半数である2ブロック以上から同
一のステータス情報が読み込まれた場合のみ、当該ステ
ータス情報を正しいステータス情報として選択する。復
帰動作決定部5は、情報選択部4により選択されたステ
ータス情報に基づいて復帰後の動作を決定するものであ
る。情報修復部6は、情報選択部4によって選択された
ステータス情報と異なるステータス情報を格納している
格納ブロックでは、情報が変化したものと判断し、選択
された正しいステータス情報をコピーすることにより格
納ブロック内の情報を修復するものである。
The information selecting unit 4 is for obtaining status information before the process is restored by reading the status information stored in each storage block of the first block, the second block and the third block when the process is restored. However, in consideration of the case where the status information is written in the information storage unit 2 by mistake, the status information is correct only when the same status information is read from two or more blocks, which is a majority of the three blocks. Select as status information. The return operation determining unit 5 determines the operation after the return based on the status information selected by the information selecting unit 4. The information restoration unit 6 determines that the information has changed in the storage block that stores the status information different from the status information selected by the information selection unit 4, and stores the selected correct status information by copying it. The information in the block is restored.

【0015】そして、本例では、ステータス情報を1ビ
ットずつの情報として取り扱うのではなく、複数ビット
(この場合、1バイト=8ビット)を意味のある情報と
して取り扱うようにしている。また、従来例と同様に、
動作モードとして2つのモード(モード0及びモード
1)がある場合を考えると、モード0時には「AAH」
(2進数では「1010 1010B」)、モード1時には「55
H」(2進数では「01010101B」)のように、少なくと
も半分(この場合、全ビット)のビット値が異なるよう
な組み合わせとなっている。このように、規定された値
としては、“1”または“0”のバイナリデータが少な
くとも4ビット程度あることが好ましく、さらに、前述
の「AAH」に対する「55H」、または、「99H」
(2進数では「1001 1001B」)に対する「66H」(2
進数では「0110 0110B」)のように、相反する値の組み
合わせとなっていることが好ましい。
In this example, the status information is not treated as information for each bit, but a plurality of bits (in this case, 1 byte = 8 bits) is treated as meaningful information. Also, similar to the conventional example,
Considering the case where there are two operation modes (mode 0 and mode 1), "AAH" is set at the time of mode 0.
("1010 1010B" in binary), "55" in mode 1
The combination is such that at least half (in this case, all bits) of the bit values are different, such as "H"("01010101B" in binary). As described above, as the specified value, it is preferable that binary data of "1" or "0" is at least about 4 bits, and further, "55H" or "99H" for "AAH" described above.
"66H" (2 for binary "1001 1001B")
It is preferable to have a combination of contradictory values such as "0110 0110B" in the base number.

【0016】次に上述実施形態の作用について、図2〜
図4を参照して説明する。図2〜図4は、本実施形態の
動作例を説明するための図であり、図2は、情報格納部
内の各格納ブロックに対する書き込み動作を説明するた
めの図、図3は、各格納ブロック内に格納されたステー
タス情報の更新動作を説明するための図、図4は、各格
納ブロック内に格納されたステータス情報が変化したと
きの動作を説明するための図である。まず、格納制御部
3により、データ処理の中断または停電を検出すると、
図2に示すように、現在のステータス情報を第1ブロッ
クに書き込み、次に、第2ブロック,第3ブロック…と
順次同一の書き込みを行う。ここで、第1〜第3の各ブ
ロックには、「AAH」,「66H」…と同一の書き込
みが行われるものとする。
Next, the operation of the above embodiment will be described with reference to FIGS.
This will be described with reference to FIG. 2 to 4 are diagrams for explaining an operation example of the present embodiment, FIG. 2 is a diagram for explaining a write operation to each storage block in the information storage unit, and FIG. 3 is each storage block. FIG. 4 is a diagram for explaining the operation of updating the status information stored in FIG. 4, and FIG. 4 is a diagram for explaining the operation when the status information stored in each storage block changes. First, when the storage control unit 3 detects interruption of data processing or power failure,
As shown in FIG. 2, the current status information is written in the first block, and then the same writing is sequentially performed in the second block, the third block, .... Here, it is assumed that the same writing as "AAH", "66H", ... Is performed in each of the first to third blocks.

【0017】処理復帰時には、第1ブロックを基準とし
て動作し、3つの格納ブロック内の内容が常に同じであ
ることを監視する。また、各種データ処理制御によって
ステータス情報が変化した場合には、図3に示すよう
に、基準となる第1ブロックの値を更新し、この値を他
のブロックにコピーする。ここで、何らかの原因により
基準となる第1ブロックに格納された値が変化したと
き、その変化した値が規定値でない(例えば、「56
H」)場合と、その変化した値がたまたま規定値となっ
た(例えば、「AAH」)場合とに分けて説明する。
At the time of returning from the processing, the operation is performed with the first block as a reference, and it is monitored that the contents in the three storage blocks are always the same. When the status information changes due to various data processing controls, as shown in FIG. 3, the value of the reference first block is updated, and this value is copied to another block. Here, when the value stored in the reference first block changes for some reason, the changed value is not a prescribed value (for example, “56
H ”) and the case where the changed value happens to be the specified value (for example,“ AAH ”) will be described separately.

【0018】変化した値が「56H」であった場合、こ
の「56H」は規定された値ではないため、書き込まれ
た情報に変化があった旨がすぐに認識され、図4に示す
ように、他の2つのブロックと照合することにより、正
しい値は「55H」であると判断し、基準となるブロッ
クを第2ブロックに移動して動作する。そして、第1ブ
ロックには、第2ブロック内のステータス情報がコピー
されることにより修復される。
When the changed value is "56H", this "56H" is not a prescribed value, so that it is immediately recognized that the written information has changed, and as shown in FIG. , By comparing with the other two blocks, the correct value is determined to be “55H” and the reference block is moved to the second block to operate. Then, the status information in the second block is copied to the first block and restored.

【0019】次に、変化した値が「AAH」であった場
合、この「AAH」は規定された値であるため、すぐに
は書き込まれた情報に変化があったか否かはわからない
が、本例では、常に3ブロックとも規定された同じ値が
書き込まれるようになっているため、この場合には、多
数決によって正しい値は「55H」であると判断し、基
準となるブロックを次の「55H」が格納されるブロッ
ク(この場合、第2ブロック)に移動して動作する。そ
して、第1ブロックには、正しいステータス情報が格納
されたブロック内のステータス情報がコピーされること
により修復される。これらの動作を繰り返すことによっ
て、常に3ブロックとも同じ規定値で保たれ、動作させ
ることができる。
Next, when the changed value is "AAH", since this "AAH" is a prescribed value, it is not known immediately whether there is a change in the written information, but in this example. In this case, since the same specified value is always written in all three blocks, in this case, the correct value is determined to be "55H" by the majority decision, and the reference block is changed to the next "55H". Moves to a block (in this case, the second block) in which is stored and operates. Then, in the first block, the status information in the block in which the correct status information is stored is copied and restored. By repeating these operations, all three blocks can always be maintained at the same specified value and operated.

【0020】以上説明したように、本発明では、ステー
タス情報を複数ビットとして取り扱うため、1ビット程
度のビット変化に対して、容易にビット変化があった旨
を検出することができる。また、情報格納部2内を複数
の格納ブロックに分割し、それぞれの格納ブロックにス
テータス情報を格納することにより、データ格納の信頼
性が向上し、ビット変化による動作情報の読み出しエラ
ー等を防止することができる。
As described above, according to the present invention, since the status information is handled as a plurality of bits, it is possible to easily detect that there is a bit change for a bit change of about 1 bit. Further, by dividing the information storage unit 2 into a plurality of storage blocks and storing status information in each of the storage blocks, reliability of data storage is improved and a read error of operation information due to a bit change is prevented. be able to.

【0021】なお、前述の実施形態では、情報格納部2
内を3つの格納ブロックに分割していたが、この分割数
は任意である。また、ステータス情報のビット数及び規
定も自由であることはいうまでもない。さらに、情報格
納部2としては、EEPROMに限らず、書き込み可能
な不揮発性記憶媒体であれば、例えば、HDD(Hard D
isk Drive )やMOD(Magneto Optical disk Drive)
等を用いても構わない。この場合、主電源とは異なる電
源によりバックアップされたものであれば、揮発性メモ
リを使用するものであってもよい。
In the above embodiment, the information storage unit 2
Although the inside is divided into three storage blocks, the number of divisions is arbitrary. Also, it goes without saying that the number of bits and the definition of the status information are free. Further, the information storage unit 2 is not limited to the EEPROM, and any writable nonvolatile storage medium, for example, an HDD (Hard D
isk Drive) and MOD (Magneto Optical disk Drive)
Etc. may be used. In this case, a volatile memory may be used as long as it is backed up by a power supply different from the main power supply.

【0022】[0022]

【発明の効果】ステータス情報を確実に格納し、ステー
タス情報の変化による装置の誤動作を防止することがで
きる。
EFFECTS OF THE INVENTION It is possible to reliably store status information and prevent malfunction of the device due to changes in status information.

【図面の簡単な説明】[Brief description of drawings]

【図1】本発明のデータ処理装置の概略構成を示すブロ
ック図。
FIG. 1 is a block diagram showing a schematic configuration of a data processing device of the present invention.

【図2】情報格納部内の各格納ブロックに対する書き込
み動作を説明するための図。
FIG. 2 is a diagram for explaining a write operation for each storage block in the information storage unit.

【図3】各格納ブロック内に格納されたステータス情報
の更新動作を説明するための図。
FIG. 3 is a diagram for explaining an update operation of status information stored in each storage block.

【図4】各格納ブロック内に格納されたステータス情報
が変化したときの動作を説明するための図。
FIG. 4 is a diagram for explaining an operation when status information stored in each storage block changes.

【図5】情報格納エリアとなるEEPROMのメモリマ
ップの概略図。
FIG. 5 is a schematic diagram of a memory map of an EEPROM serving as an information storage area.

【図6】動作復帰時の動作モード判断例を示すフローチ
ャート。
FIG. 6 is a flowchart showing an example of operation mode determination at the time of operation recovery.

【図7】従来例の問題点を説明するための図。FIG. 7 is a diagram for explaining a problem of a conventional example.

【符号の説明】[Explanation of symbols]

1 データ処理装置 2 情報格納部 3 格納制御部 4 情報選択部 5 復帰動作決定部 6 情報修復部 1 data processing device 2 information storage unit 3 storage control unit 4 information selection unit 5 return operation determination unit 6 information restoration unit

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】処理中断条件を満たす際に現時点における
各種動作状態を示す複数のステータス情報を所定領域に
格納し、処理復帰時に当該所定領域に格納された複数の
ステータス情報に基づいて処理中断前の状態を再現する
データ処理装置であって、 前記ステータス情報を格納する複数の格納ブロックを有
する情報格納部と、 前記ステータス情報を、前記情報格納部の各格納ブロッ
クに対して同一の書き込みを行うことにより格納する格
納制御部と、 処理復帰時に、前記情報格納部における各格納ブロック
内に格納されたステータス情報をそれぞれ読み出し、読
み出されたステータス情報の中で過半数となるステータ
ス情報を選択する情報選択部と、 前記情報選択部により選択されたステータス情報に基づ
いて処理復帰時の動作を決定する復帰動作決定部と、 を備えることを特徴とするデータ処理装置。
1. When a processing interruption condition is satisfied, a plurality of status information indicating various operating states at the present time are stored in a predetermined area, and before the processing interruption based on the plurality of status information stored in the predetermined area at the time of returning from the processing. A data processing device that reproduces the above state, the information storage unit having a plurality of storage blocks for storing the status information, and the same writing of the status information to each storage block of the information storage unit. The storage control unit that stores the information by reading the status information stored in each storage block in the information storage unit at the time of processing recovery, and the information that selects the status information that is the majority of the read status information. A selecting unit and an operation at the time of returning from the process are determined based on the status information selected by the information selecting unit. A data processing device comprising: a return operation determination unit.
【請求項2】前記情報選択部により選択されたステータ
ス情報を、選択された以外のステータス情報を格納する
格納ブロックにそれぞれコピーする情報修復部を有する
ことを特徴とする請求項1記載のデータ処理装置。
2. The data processing according to claim 1, further comprising an information restoration unit that copies status information selected by the information selection unit to a storage block that stores status information other than the selected status information. apparatus.
【請求項3】前記ステータス情報は複数ビット長の規定
値によりなり、当該ステータス情報において各種状態を
示す値は、少なくとも半分以上のビット値が異なるもの
であることを特徴とする請求項1または請求項2記載の
データ処理装置。
3. The status information according to claim 1, wherein the status information is a defined value having a plurality of bit lengths, and values indicating various states in the status information have different bit values of at least half or more. Item 2. The data processing device according to item 2.
JP7251909A 1995-09-05 1995-09-05 Data processing device Pending JPH0973335A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7251909A JPH0973335A (en) 1995-09-05 1995-09-05 Data processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7251909A JPH0973335A (en) 1995-09-05 1995-09-05 Data processing device

Publications (1)

Publication Number Publication Date
JPH0973335A true JPH0973335A (en) 1997-03-18

Family

ID=17229769

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7251909A Pending JPH0973335A (en) 1995-09-05 1995-09-05 Data processing device

Country Status (1)

Country Link
JP (1) JPH0973335A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2002006965A1 (en) * 2000-07-18 2002-01-24 Fujitsu Limited Data management method, electronic device and storage medium
US8103403B2 (en) 2007-11-15 2012-01-24 Denso Corporation Vehicular memory management apparatus
WO2013021423A1 (en) * 2011-08-10 2013-02-14 トヨタ自動車株式会社 Reprogramming system and reprogramming method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2002006965A1 (en) * 2000-07-18 2002-01-24 Fujitsu Limited Data management method, electronic device and storage medium
US8103403B2 (en) 2007-11-15 2012-01-24 Denso Corporation Vehicular memory management apparatus
WO2013021423A1 (en) * 2011-08-10 2013-02-14 トヨタ自動車株式会社 Reprogramming system and reprogramming method

Similar Documents

Publication Publication Date Title
US6154808A (en) Method and apparatus for controlling data erase operations of a non-volatile memory device
US6789158B2 (en) Method of rewriting program in a flash microcomputer
US6601132B2 (en) Nonvolatile memory and method of writing data thereto
US6405332B1 (en) Storage device and alternate processing method for defective sectors of the same
JP4722839B2 (en) MEMORY CONTROL CIRCUIT, NONVOLATILE MEMORY DEVICE, AND MEMORY CONTROL METHOD
US7240178B2 (en) Non-volatile memory and non-volatile memory data rewriting method
US20040139310A1 (en) Information processing apparatus, memory management apparatus, memory management method, and information processing method
JPWO2004031966A1 (en) Method for controlling nonvolatile memory device
KR20030043691A (en) Detecting partially erased units in flash devices
WO2001022232A1 (en) Storage where the number of error corrections is recorded
EP0398545A1 (en) Method and apparatus for storing data in a non-volatile memory
JP2005190288A (en) Memory controller, flash memory system therewith, and method for controlling flash memory
JPH09506460A (en) Safe updating method for EEPROM memory
US7558904B2 (en) Controller, data memory system, data rewriting method, and computer program product
WO2005109446A1 (en) Semiconductor memory device
US7657795B2 (en) Method and apparatus for writing to a target memory page of a memory
CN111124739A (en) Anti-tearing protection system for non-volatile memory
US20020027508A1 (en) Power failure managing device and method for managing a power failure
US6973014B1 (en) Methods for optical disc sector verification
US5657301A (en) Automatic changer system capable of rewriting a control program for controlling the system
JP3675375B2 (en) Nonvolatile memory and data rewriting method of nonvolatile memory
JP2003196165A (en) Nonvolatile memory and data updating method therefor
CN114115700A (en) Flash memory data read-write method and flash memory data read-write device
KR100206186B1 (en) Data recovering equipment of rewritable nonvolatile memory and method thereof
JP4060245B2 (en) MEMORY MANAGEMENT DEVICE AND IC CARD HAVING THE SAME