JP3487337B2 - Memory inspection method, information storage medium, data processing device - Google Patents

Memory inspection method, information storage medium, data processing device

Info

Publication number
JP3487337B2
JP3487337B2 JP19606499A JP19606499A JP3487337B2 JP 3487337 B2 JP3487337 B2 JP 3487337B2 JP 19606499 A JP19606499 A JP 19606499A JP 19606499 A JP19606499 A JP 19606499A JP 3487337 B2 JP3487337 B2 JP 3487337B2
Authority
JP
Japan
Prior art keywords
memory
processor unit
data
processor
common memory
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
JP19606499A
Other languages
Japanese (ja)
Other versions
JP2001022652A (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.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP19606499A priority Critical patent/JP3487337B2/en
Publication of JP2001022652A publication Critical patent/JP2001022652A/en
Application granted granted Critical
Publication of JP3487337B2 publication Critical patent/JP3487337B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Techniques For Improving Reliability Of Storages (AREA)
  • Multi Processors (AREA)
  • For Increasing The Reliability Of Semiconductor Memories (AREA)

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、複数のプロセッサ
ユニットにより共有されている一個の共通メモリを検査
するメモリ検査方法、一個の共通メモリを複数のプロセ
ッサユニットで共有するデータ処理装置、プロセッサユ
ニットに各種の処理動作を実行させるためのプログラム
がソフトウェアとして格納されている情報記憶媒体とに
関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a memory inspection method for inspecting one common memory shared by a plurality of processor units, a data processing device and a processor unit in which one common memory is shared by a plurality of processor units. The present invention relates to an information storage medium in which programs for executing various processing operations are stored as software.

【0002】[0002]

【従来の技術】現在、各種分野で各種構造のデータ処理
装置が利用されており、例えば、プロセッサユニットが
複数のデータ処理装置もある。さらに、このようなデー
タ処理装置には、複数のプロセッサユニットの各々が個
別メモリを個々に占有しており、その複数のプロセッサ
ユニットが一個の共通メモリを共有するものもある。
2. Description of the Related Art At present, data processing devices having various structures are used in various fields, for example, there are data processing devices having a plurality of processor units. Further, in such a data processing device, there is also one in which each of the plurality of processor units individually occupies an individual memory, and the plurality of processor units share one common memory.

【0003】このようなデータ処理装置は、例えば、一
個のホストコンピュータに複数のワークステーションを
接続したクライアントサーバシステムのように機能する
ことができ、複数のプロセッサユニットは、その個別メ
モリに格納されているプログラムや処理データで各々固
有のデータ処理を実行することができ、複数のプロセッ
サユニットが共通メモリを介して各種データを共有する
こともできる。
Such a data processing apparatus can function like a client server system in which a plurality of workstations are connected to a single host computer, and a plurality of processor units are stored in their individual memories. Each program or processing data can perform its own data processing, and a plurality of processor units can share various data via a common memory.

【0004】このようなデータ処理装置では、例えば、
出荷直前の検査時やシステムのメンテナンス時などに共
通メモリを検査することがあり、その場合、複数のプロ
セッサユニットの一個から共通メモリに検査データをデ
ータ書込させてからデータ読出させることになる。
In such a data processing device, for example,
The common memory may be inspected at the time of inspection immediately before shipment or at the time of system maintenance. In that case, the inspection data is written from one of the plurality of processor units to the common memory and then read.

【0005】しかし、上述のようなデータ処理装置で
は、一般的に複数のプロセッサユニットが相互を意識す
ることなく共通メモリに定期的に非同期にアクセスする
ので、一個のプロセッサユニットがメモリ試験を実行中
に他のプロセッサユニットが共通メモリにデータ書込を
実行することが発生する。
However, in the above-described data processing apparatus, a plurality of processor units generally access the common memory asynchronously without being aware of each other, so that one processor unit is executing the memory test. Then, another processor unit may write data to the common memory.

【0006】この場合、メモリ検査にエラーが発生する
ことになるので、上述のように一個のプロセッサユニッ
トでメモリ検査を実行するときには、他のプロセッサユ
ニットを手動で強制的に停止させている。
In this case, since an error occurs in the memory inspection, when executing the memory inspection by one processor unit as described above, the other processor units are forcibly stopped manually.

【0007】[0007]

【発明が解決しようとする課題】上述のようなデータ処
理装置では、複数のプロセッサユニットに共有されてい
る一個の共通メモリを検査することができる。しかし、
前述のように一個のプロセッサユニットがメモリ検査を
実行するとき、他のプロセッサユニットを手動で停止さ
せる必要があるので、その作業が煩雑でデータ処理装置
の生産性が阻害されている。
In the data processing apparatus as described above, it is possible to inspect one common memory shared by a plurality of processor units. But,
As described above, when one processor unit executes the memory check, it is necessary to manually stop the other processor units, which complicates the work and hinders the productivity of the data processing device.

【0008】特に、このようにプロセッサユニットを手
動で停止させると、メモリ検査の完了後に停止させてい
るプロセッサユニットを手動で復帰させる必要もある。
このため、その作業が極めて煩雑であり、プロセッサユ
ニットの復帰を失念したままデータ処理装置のメモリ検
査を終了する懸念もある。
In particular, when the processor unit is manually stopped in this way, it is also necessary to manually restore the stopped processor unit after completion of the memory inspection.
For this reason, the work is extremely complicated, and there is a concern that the memory inspection of the data processing device will be terminated while forgetting to restore the processor unit.

【0009】例えば、複数のプロセッサユニットの一個
がメモリ検査を実行するとき、他のプロセッサユニット
を強制停止させる専用の回路を追加することも可能であ
る。しかし、これではデータ処理装置に専用の制御線な
どを増設する必要があり、その回路規模が増大するので
好ましくない。
For example, when one of the plurality of processor units executes the memory check, it is possible to add a dedicated circuit for forcibly stopping the other processor units. However, this is not preferable because it is necessary to add a dedicated control line or the like to the data processing device, which increases the circuit scale.

【0010】本発明は上述のような課題に鑑みてなされ
たものであり、複数のプロセッサユニットに共有されて
いる一個の共通メモリを簡単かつ確実に検査することが
できるメモリ検査方法、複数のプロセッサユニットで共
有している一個の共通メモリを簡単かつ確実に検査する
ことができるデータ処理装置、本発明のメモリ検査方法
の処理動作をプロセッサユニットに実行させるためのプ
ログラムがソフトウェアとして格納されている情報記憶
媒体、の少なくとも一つを提供することを目的とする。
The present invention has been made in view of the above problems, and a memory inspection method and a plurality of processors capable of easily and reliably inspecting one common memory shared by a plurality of processor units. A data processing device capable of easily and reliably inspecting one common memory shared by the units, information in which a program for causing the processor unit to execute the processing operation of the memory inspection method of the present invention is stored as software. It is intended to provide at least one of a storage medium.

【0011】[0011]

【課題を解決するための手段】本発明の情報記憶媒体
は、作業エリアと管理エリアとを具備している一個の共
通メモリを共有する複数のプロセッサユニットが読取自
在なソフトウェアが格納されている情報記憶媒体であっ
て、前記共通メモリに接続されている前記プロセッサユ
ニットが複数か単数かを前記プロセッサユニットが判断
し、前記プロセッサユニットは自身の一個しか存在しな
いと判断すると通常のメモリ検査を実行し、前記プロセ
ッサユニットは前記プロセッサユニットが複数であると
判断すると前記共通メモリの作業エリアに検査データを
データ書込してからデータ読出するメモリ検査を実行す
る一個の前記プロセッサユニットを選択すること、この
一個のプロセッサユニットから前記共通メモリの管理エ
リアに書込禁止要求をデータ書込させること、この共通
メモリの管理エリアにデータ書込された書込禁止要求を
メモリ検査を実行しない前記プロセッサユニットの全部
にデータ読出させること、この書込禁止要求をデータ読
出した前記プロセッサユニットのデータ書込を禁止状態
に設定すること、この禁止状態の設定が完了した前記プ
ロセッサユニットから前記共通メモリの管理エリアに設
定完了通知をデータ書込させること、この共通メモリの
管理エリアにデータ書込された設定完了通知をメモリ検
査を実行する前記プロセッサユニットにデータ読出させ
ること、この設定完了通知をデータ読出した前記プロセ
ッサユニットに前記共通メモリの作業エリアのメモリ検
査を実行させること、このメモリ検査を完了した前記プ
ロセッサユニットから前記共通メモリの管理エリアに禁
止解除要求をデータ書込させること、この共通メモリの
管理エリアにデータ書込された禁止解除要求をデータ書
込が禁止状態の前記プロセッサユニットにデータ読出さ
せること、この禁止解除要求をデータ読出した前記プロ
セッサユニットのデータ書込の禁止状態を解除させるこ
と、を前記プロセッサユニットに実行させるためのプロ
グラムが格納されている。
The information storage medium of the present invention stores information in which a plurality of processor units sharing a single common memory having a work area and a management area can read software. A storage medium, the processor unit being connected to the common memory.
The processor unit determines whether the knit is plural or single.
However, there is only one processor unit of its own.
If it is determined that the above, a normal memory inspection is executed and
If the processor unit has a plurality of processor units,
When it is judged, one of the processor units for executing the memory inspection of writing the inspection data in the working area of the common memory and then reading the data is selected, and the one processor unit is written in the management area of the common memory. The write prohibition request is written into the data, and the write inhibit request written in the management area of the common memory is read out to all the processor units which do not execute the memory inspection. Setting the read data write of the processor unit to a prohibited state; causing the processor unit, which has completed the setting of the prohibited state, to write a setting completion notification to the management area of the common memory; The setting completion notification written in the management area is used to execute the memory check. Causing the processor unit to read data, causing the processor unit that has read the setting completion notification to perform memory inspection of the working area of the common memory, and managing the common memory from the processor unit that has completed this memory inspection To write data to the prohibition release request, to cause the processor unit whose data writing is prohibited to read the prohibition release request written to the management area of the common memory, and to read the prohibition release request to data. Also, a program for causing the processor unit to execute the data write prohibition state of the processor unit is stored.

【0012】従って、本発明の情報記憶媒体に格納され
ているプログラムを複数のプロセッサユニットに読み取
らせて対応する処理動作を実行させると、その複数のプ
ロセッサユニットは、共通メモリの作業エリアにメモリ
検査を実行する一個のプロセッサユニットを選択し、こ
の一個のプロセッサユニットから共通メモリの管理エリ
アに書込禁止要求をデータ書込させる。この共通メモリ
の管理エリアにデータ書込された書込禁止要求をメモリ
検査を実行しないプロセッサユニットの全部にデータ読
出させ、この書込禁止要求をデータ読出したプロセッサ
ユニットのデータ書込を禁止状態に設定させる。この禁
止状態の設定が完了したプロセッサユニットから共通メ
モリの管理エリアに設定完了通知をデータ書込させ、こ
の共通メモリの管理エリアにデータ書込された設定完了
通知をメモリ検査を実行するプロセッサユニットにデー
タ読出させる。この設定完了通知をデータ読出したプロ
セッサユニットに共通メモリの作業エリアのメモリ検査
を実行させ、このメモリ検査を完了したプロセッサユニ
ットから共通メモリの管理エリアに禁止解除要求をデー
タ書込させる。この共通メモリの管理エリアにデータ書
込された禁止解除要求をデータ書込が禁止状態のプロセ
ッサユニットにデータ読出させ、この禁止解除要求をデ
ータ読出したプロセッサユニットのデータ書込の禁止状
態を解除させる。このため、複数のプロセッサユニット
の一個が共通メモリの作業エリアにメモリ検査を実行す
るとき、その最初から最後まで他のプロセッサユニット
が共通メモリの作業エリアにデータ書込を実行すること
がない。
Therefore, when a program stored in the information storage medium of the present invention is read by a plurality of processor units and the corresponding processing operation is executed, the plurality of processor units perform a memory check in a work area of a common memory. One processor unit that executes the above is selected, and the write prohibition request is written into the management area of the common memory from this one processor unit. The write prohibition request written in the management area of the common memory is read out to all the processor units that do not perform the memory inspection, and the data write of the processor unit that has read this write prohibition request is prohibited. Let it set. The setting completion notification written in the management area of the common memory is written from the processor unit in which the setting of the prohibited state is completed, and the setting completion notification written in the management area of the common memory is executed by the processor unit that executes the memory inspection. Read data. The processor unit that has read this setting completion notification data is caused to execute a memory inspection of the working area of the common memory, and the processor unit that has completed this memory inspection data-writes the prohibition release request to the management area of the common memory. The prohibition release request written in the management area of the common memory is read by the processor unit whose data writing is prohibited, and the prohibition request of the processor unit that read the data is released from the data writing prohibited state. . Therefore, when one of the plurality of processor units performs the memory check on the work area of the common memory, the other processor units do not write data to the work area of the common memory from the beginning to the end.

【0013】本発明の一のデータ処理装置は、作業エリ
アと管理エリアとを具備している一個の共通メモリと、
該共通メモリを共有している複数のプロセッサユニット
と、を具備しているデータ処理装置であって、前記共通
メモリの作業エリアに検査データをデータ書込してから
データ読出するメモリ検査を実行する一個の前記プロセ
ッサユニットを選択するプロセッサ選択手段と、このプ
ロセッサ選択手段により選択された一個のプロセッサユ
ニットから前記共通メモリの管理エリアに書込禁止要求
をデータ書込させる禁止要求書込手段と、前記共通メモ
リの管理エリアにデータ書込された書込禁止要求をメモ
リ検査を実行しない前記プロセッサユニットの全部にデ
ータ読出させる禁止要求読出手段と、書込禁止要求をデ
ータ読出した前記プロセッサユニットのデータ書込を禁
止状態に設定する禁止設定手段と、禁止状態の設定が完
了した前記プロセッサユニットから前記共通メモリの管
理エリアに設定完了通知をデータ書込させる設定完了書
込手段と、前記共通メモリの管理エリアにデータ書込さ
れた設定完了通知をメモリ検査を実行する前記プロセッ
サユニットにデータ読出させる設定完了読出手段と、設
定完了通知をデータ読出した前記プロセッサユニットに
メモリ検査を実行させる検査実行手段と、メモリ検査を
完了した前記プロセッサユニットから前記共通メモリの
管理エリアに禁止解除要求をデータ書込させる解除要求
書込手段と、前記共通メモリの管理エリアにデータ書込
された禁止解除要求をデータ書込が禁止状態の前記プロ
セッサユニットにデータ読出させる解除要求読出手段
と、禁止解除要求をデータ読出した前記プロセッサユニ
ットのデータ書込の禁止状態を解除させる設定解除手段
と、を具備しており、前記プロセッサユニットは、最初
に前記共通メモリに接続されている前記プロセッサユニ
ットが複数か単数かを判断し、前記プロセッサユニット
が自身の一個しか存在しないと判断すると通常のメモリ
検査を実行し、前記プロセッサユニットが複数であると
判断すると前記プロセッサ選択手段が一個の前記プロセ
ッサユニットを選択する
One data processing apparatus according to the present invention comprises a common memory having a work area and a management area,
A data processing device comprising: a plurality of processor units sharing the common memory, wherein a memory test is performed by writing test data in a work area of the common memory and then reading the data. Processor selecting means for selecting one of the processor units; prohibition request writing means for writing a write prohibition request to the management area of the common memory from one processor unit selected by the processor selecting means; A prohibition request reading means for reading out the write prohibition request written in the management area of the common memory to all of the processor units which do not execute the memory inspection, and the data write of the processor unit which has read out the write prohibition request. Prohibition setting means for setting the lock state to the prohibition state, and Setting completion writing means for writing a setting completion notification from the satellite unit to the management area of the common memory, and to the processor unit for executing the memory inspection of the setting completion notification written to the management area of the common memory. Setting completion reading means for reading data, inspection execution means for causing the processor unit that has read the setting completion notification to perform memory inspection, and a prohibition release request from the processor unit that has completed the memory inspection to the management area of the common memory. Release request writing means for writing data, release request reading means for causing the processor unit in the data write prohibited state to read the prohibition release request written in the management area of the common memory, and prohibition release request Of the processor unit that has read the data from the And setting cancellation unit that has provided the said processor unit, first
To the processor unit connected to the common memory.
The processor unit according to whether the unit number is plural or singular.
When it judges that there is only one of its own, normal memory
Performing an inspection and determining that the processor units are plural
If judged, the processor selection means is a single processor.
Select the unit .

【0014】従って、本発明のデータ処理装置によるメ
モリ検査方法では、共通メモリの作業エリアにメモリ検
査を実行する一個のプロセッサユニットをプロセッサ選
択手段が選択するので、この選択された一個のプロセッ
サユニットから共通メモリの管理エリアに禁止要求書込
手段が書込禁止要求をデータ書込させる。この共通メモ
リの管理エリアにデータ書込された書込禁止要求をメモ
リ検査を実行しないプロセッサユニットの全部に禁止要
求読出手段がデータ読出させるので、この書込禁止要求
をデータ読出したプロセッサユニットのデータ書込を禁
止設定手段が禁止状態に設定する。すると、この禁止状
態の設定が完了したプロセッサユニットから共通メモリ
の管理エリアに設定完了通知を設定完了書込手段がデー
タ書込させるので、この共通メモリの管理エリアにデー
タ書込された設定完了通知を設定完了読出手段がメモリ
検査を実行するプロセッサユニットにデータ読出させ
る。この設定完了通知をデータ読出したプロセッサユニ
ットに検査実行手段がメモリ検査を実行させるので、こ
のメモリ検査を完了したプロセッサユニットから共通メ
モリの管理エリアに禁止解除要求を解除要求書込手段が
データ書込させる。この共通メモリの管理エリアにデー
タ書込された禁止解除要求をデータ書込が禁止状態のプ
ロセッサユニットに解除要求読出手段がデータ読出させ
るので、この禁止解除要求をデータ読出したプロセッサ
ユニットのデータ書込の禁止状態を設定解除手段が解除
させる。このため、複数のプロセッサユニットの一個が
共通メモリの作業エリアにメモリ検査を実行するとき、
その最初から最後まで他のプロセッサユニットが共通メ
モリの作業エリアにデータ書込を実行することがない。
Therefore, in the memory inspection method by the data processing device of the present invention, the processor selecting means selects one processor unit for executing the memory inspection in the work area of the common memory. The prohibition request writing means causes the write prohibition request data to be written in the management area of the common memory. The write-prohibition request written in the management area of the common memory is read out by the prohibition request reading means to all the processor units that do not execute the memory inspection. The writing prohibition setting means sets the prohibition state. Then, since the setting completion writing means writes the setting completion notification to the management area of the common memory from the processor unit in which the setting of the prohibited state is completed, the setting completion notification written in the management area of the common memory is written. The setting completion reading means causes the processor unit that executes the memory check to read the data. The inspection execution means causes the processor unit that has read this setting completion notification to execute the memory inspection. Therefore, the release request writing means writes the prohibition release request from the processor unit that has completed the memory inspection to the management area of the common memory. Let The prohibition cancellation request written in the management area of the common memory is read out by the cancellation request reading means to the processor unit whose data writing is prohibited. The setting canceling means cancels the prohibition state of. Therefore, when one of the multiple processor units performs a memory test on the working area of the common memory,
From the beginning to the end, another processor unit does not execute data writing in the work area of the common memory.

【0015】上述のようなデータ処理装置において、デ
ータ書込の禁止状態を解除した前記プロセッサユニット
から前記共通メモリの管理エリアに解除完了通知をデー
タ書込させる解除完了書込手段と、前記共通メモリの管
理エリアにデータ書込された解除完了通知をメモリ検査
を実行する前記プロセッサユニットにデータ読出させる
解除完了読出手段と、この解除完了通知をデータ読出し
た前記プロセッサユニットにメモリ検査を終了させる検
査終了手段と、を具備していることも可能である。
In the data processing apparatus as described above, release completion writing means for causing the processor unit that has released the data write prohibition state to write a release completion notification to the management area of the common memory, and the common memory. Release completion reading means for causing the processor unit that executes the memory inspection to read the release completion notification written in the management area of the data, and the end of inspection for ending the memory inspection for the processor unit that has read the release completion notification. It is also possible to have means.

【0016】この場合、データ書込の禁止状態を解除し
たプロセッサユニットから共通メモリの管理エリアに解
除完了通知を解除完了書込手段がデータ書込させ、共通
メモリの管理エリアにデータ書込された解除完了通知を
メモリ検査を実行するプロセッサユニットに解除完了読
出手段がデータ読出させる。この解除完了通知をデータ
読出したプロセッサユニットのメモリ検査を検査終了手
段が終了させるので、一個のプロセッサユニットによる
メモリ検査が終了されるとき、メモリ検査を実行しない
他のプロセッサユニットのデータ書込が確実に復帰され
る。
In this case, the release completion writing means writes data to the management area of the common memory from the processor unit that has released the data write prohibition state, and the data is written to the management area of the common memory. The release completion read means causes the processor unit that executes the memory inspection to read the release completion notification. Since the inspection termination means terminates the memory inspection of the processor unit that has read this release completion notification data, when the memory inspection by one processor unit is completed, the data writing of the other processor unit that does not execute the memory inspection is surely performed. Will be returned to.

【0017】上述のようなデータ処理装置において、複
数の前記プロセッサユニットの全部で一個ずつ順番にメ
モリ検査を実行させる検査制御手段を具備していること
も可能である。この場合、複数のプロセッサユニットの
全部で一個ずつ順番に検査制御手段がメモリ検査を実行
させるので、全部のプロセッサユニットでメモリ検査が
順番に実行される。
In the data processing apparatus as described above, it is also possible to provide an inspection control means for sequentially executing the memory inspection one by one in all of the plurality of processor units. In this case, the inspection control means sequentially executes the memory inspection one by one in all of the plurality of processor units, so that the memory inspection is sequentially executed in all the processor units.

【0018】本発明の他のデータ処理装置は、作業エリ
アと管理エリアとを具備している一個の共通メモリと、
該共通メモリを共有している複数のプロセッサユニット
と、複数の前記プロセッサユニットに個々に占有されて
いる複数の個別メモリと、を具備しているデータ処理装
置であって、前記個別メモリに本発明の情報記憶媒体の
プログラムが格納されている。
Another data processing apparatus of the present invention is a common memory having a work area and a management area,
A data processing device comprising: a plurality of processor units sharing the common memory; and a plurality of individual memories individually occupied by the plurality of processor units, wherein The program of the information storage medium is stored.

【0019】従って、本発明のデータ処理装置によるメ
モリ検査方法では、複数のプロセッサユニットの一個が
共通メモリの作業エリアにメモリ検査を実行するとき、
その最初から最後まで他のプロセッサユニットが共通メ
モリの作業エリアにデータ書込を実行することがない。
Therefore, in the memory inspection method by the data processing device of the present invention, when one of the plurality of processor units executes the memory inspection on the work area of the common memory,
From the beginning to the end, another processor unit does not execute data writing in the work area of the common memory.

【0020】なお、本発明で云う各種手段は、その機能
を実現するように形成されていれば良く、例えば、所定
の機能を発生する専用のハードウェア、所定の機能がプ
ログラムにより付与されたプロセッサユニット、プログ
ラムによりプロセッサユニットの内部に実現された所定
の機能、これらの組み合わせ、等を許容する。
The various means referred to in the present invention may be formed so as to realize their functions. For example, dedicated hardware for generating a predetermined function, a processor to which a predetermined function is given by a program. The unit, a predetermined function realized in the processor unit by the program, a combination thereof, and the like are allowed.

【0021】また、本発明で云う情報記憶媒体とは、プ
ロセッサユニットに各種処理を実行させるためのプログ
ラムがソフトウェアとして事前に格納されたハードウェ
アであれば良く、例えば、プロセッサユニットを一部と
する装置に固定されているROM(Read Only Memory)や
HDD(Hard Disc Drive)、プロセッサユニットを一部
とする装置に着脱自在に装填されるCD−ROMやF
D、等を許容する。
The information storage medium referred to in the present invention may be hardware in which a program for causing the processor unit to execute various processes is stored in advance as software, for example, the processor unit is part. A ROM (Read Only Memory) or HDD (Hard Disc Drive) fixed to the device, a CD-ROM or an F that is removably loaded into the device including a processor unit
Allow D, etc.

【0022】また、本発明で云うプロセッサユニットと
は、ソフトウェアからなるプログラムを読み取って対応
する処理動作を実行できる装置であれば良く、例えば、
CPU(Central Processing Unit)を主体として、これ
にROMやRAM(Random Access Memory)やI/F(Int
erface)等の各種デバイスが必要により接続された装置
などを許容する。本発明でソフトウェアに対応した各種
動作をプロセッサユニットに実行させることは、各種デ
バイスをプロセッサユニットに動作制御させることなど
も許容する。
The processor unit referred to in the present invention may be any device capable of reading a program consisting of software and executing a corresponding processing operation.
Mainly a CPU (Central Processing Unit), a ROM, a RAM (Random Access Memory), an I / F (Int)
erface) and other devices are connected as necessary. Making the processor unit execute various operations corresponding to software in the present invention also allows the processor unit to perform operation control of various devices.

【0023】[0023]

【発明の実施の形態】本発明の実施の一形態を図面を参
照して以下に説明する。なお、図1は本発明の実施の一
形態のデータ処理装置の論理構造を示す模式図、図2は
物理構造を示すブロック図、図3は本実施の形態のメモ
リ検査方法のメインルーチンを示すフローチャート、図
4はメモリ検査を実行するプロセッサユニットのサブル
ーチンを示すフローチャート、図5はメモリ検査を実行
しないプロセッサユニットのサブルーチンを示すフロー
チャート、である。
BEST MODE FOR CARRYING OUT THE INVENTION An embodiment of the present invention will be described below with reference to the drawings. 1 is a schematic diagram showing a logical structure of a data processing device according to an embodiment of the present invention, FIG. 2 is a block diagram showing a physical structure, and FIG. 3 shows a main routine of a memory inspection method according to the present embodiment. FIG. 4 is a flowchart showing a subroutine of the processor unit that executes the memory inspection, and FIG. 5 is a flowchart showing a subroutine of the processor unit that does not execute the memory inspection.

【0024】本実施の形態のデータ処理装置100は、
図1および図2に示すように、一個の共通メモリ20
0、第一第二のプロセッサユニット300,400、情
報記憶媒体である第一第二の個別メモリ500,60
0、等のハードウェアを具備している。
The data processing apparatus 100 of this embodiment is
As shown in FIGS. 1 and 2, one common memory 20
0, first and second processor units 300 and 400, first and second individual memories 500 and 60 which are information storage media
It has hardware such as 0.

【0025】第一第二のプロセッサユニット300,4
00は、各々専用のシステムバス301,401で一個
の共通メモリ200に接続されるとともに、やはり専用
のシステムバス302,402で第一第二の個別メモリ
500,600に個々に接続されている。
First and second processor units 300, 4
00 is connected to one common memory 200 by dedicated system buses 301 and 401, and is also individually connected to the first and second individual memories 500 and 600 by dedicated system buses 302 and 402.

【0026】このため、本実施の形態のデータ処理装置
100では、一個の共通メモリ200は、第一第二のプ
ロセッサユニット300,400で共有されており、第
一第二の個別メモリ500,600は、第一第二のプロ
セッサユニット300,400で個々に占有されてい
る。
Therefore, in the data processing apparatus 100 of the present embodiment, one common memory 200 is shared by the first and second processor units 300 and 400, and the first and second individual memories 500 and 600 are shared. Are individually occupied by the first and second processor units 300 and 400.

【0027】一個の共通メモリ200は、例えば、DR
AM(Dynamic Random Access Memory)からなり、作業エ
リア201と管理エリア202とが確保されている。作
業エリア201は、第一第二のプロセッサユニット30
0,400が共有する処理データなどを一時保持し、管
理エリア202は、第一第二のプロセッサユニット30
0,400が相互通信する通知データなどを一時保持す
る。
One common memory 200 is, for example, DR
It is composed of AM (Dynamic Random Access Memory), and has a work area 201 and a management area 202. The work area 201 includes the first and second processor units 30.
The management area 202 temporarily stores processing data shared by the 0, 400, and the management area 202 includes the first and second processor units 30.
It temporarily holds notification data and the like for 0,400 to mutually communicate.

【0028】第一第二の個別メモリ500,600は、
例えば、フラッシュメモリからなり、第一第二のプロセ
ッサユニット300,400の制御プログラムなどのソ
フトウェアが事前に実装されており、各プロセッサユニ
ット300,400の動作モードの設定フラグなども一
時保持する。
The first and second individual memories 500 and 600 are
For example, it is composed of a flash memory, and software such as a control program for the first and second processor units 300 and 400 is installed in advance, and also temporarily holds setting flags for the operation modes of the processor units 300 and 400.

【0029】第一第二のプロセッサユニット300,4
00は、例えば、いわゆるワンチップマイコンからな
り、専用の個別メモリ500,600に実装されている
制御プログラムや一時保持された設定フラグなどに対応
して各種の処理動作を実行する。
First and second processor units 300, 4
Reference numeral 00 denotes, for example, a so-called one-chip microcomputer, which executes various processing operations corresponding to a control program installed in the dedicated individual memories 500 and 600, a temporarily stored setting flag, and the like.

【0030】このように第一第二のプロセッサユニット
300,400が個別メモリ500,600のメモリ検
査の制御プログラムに対応して各種の処理動作を実行す
ることにより、本実施の形態のデータ処理装置100に
は、図1に示すように、各種手段が各種機能として論理
的に実現されている。
As described above, the first and second processor units 300 and 400 execute various processing operations corresponding to the control programs for the memory inspection of the individual memories 500 and 600, whereby the data processing apparatus of the present embodiment is executed. In 100, various means are logically realized as various functions as shown in FIG.

【0031】つまり、第一のプロセッサユニット300
には、プロセッサ選択手段311、禁止要求書込手段3
12、設定完了読出手段313、検査実行手段314、
解除要求書込手段315、解除完了読出手段316、検
査終了手段317、検査制御手段318、等の各種手段
が各種機能として論理的に実現されている。
That is, the first processor unit 300
Includes processor selection means 311 and prohibition request writing means 3
12, setting completion reading means 313, inspection execution means 314,
Various units such as the release request writing unit 315, the release completion reading unit 316, the inspection ending unit 317, and the inspection control unit 318 are logically realized as various functions.

【0032】一方、第二のプロセッサユニット400に
は、禁止要求読出手段411、禁止設定手段412、設
定完了書込手段413、解除要求読出手段414、設定
解除手段415、解除完了書込手段416、等の各種手
段が各種機能として論理的に実現されている。
On the other hand, in the second processor unit 400, a prohibition request reading means 411, a prohibition setting means 412, a setting completion writing means 413, a cancellation request reading means 414, a setting cancellation means 415, a cancellation completion writing means 416, Various means such as are logically realized as various functions.

【0033】つまり、プロセッサ選択手段311は、第
一の個別メモリ500に保持されているメモリ検査プロ
グラムに対応して第一のプロセッサユニット300が所
定の処理動作を実行することにより、共通メモリ200
の作業エリア201にメモリ検査を実行するプロセッサ
ユニット300,400の一個として、第一のプロセッ
サユニット300を選択する。
In other words, the processor selection means 311 causes the first processor unit 300 to execute a predetermined processing operation in response to the memory inspection program held in the first individual memory 500, thereby causing the common memory 200 to operate.
The first processor unit 300 is selected as one of the processor units 300, 400 that executes the memory inspection in the work area 201.

【0034】つまり、本実施の形態のデータ処理装置1
00では、前述のように二個のプロセッサユニット30
0,400に第一第二なる順位が事前に設定されてお
り、これらのプロセッサユニット300,400の順位
が個別メモリ500,600にデータ記述されている。
That is, the data processing device 1 of the present embodiment
00, the two processor units 30 as described above.
The first and second ranks are preset to 0 and 400, and the ranks of these processor units 300 and 400 are described in the individual memories 500 and 600 as data.

【0035】そこで、個別メモリ500,600のメモ
リ検査プログラムに対応してプロセッサユニット30
0,400がメモリ検査を実行する場合、メモリ検査を
実行する一個として最初に第一のプロセッサユニット3
00が選択されるように個別メモリ500,600のメ
モリ検査プログラムが記述されている。
Therefore, the processor unit 30 is associated with the memory inspection program for the individual memories 500 and 600.
When 0,400 performs the memory check, the first processor unit 3 is the first to perform the memory check.
A memory inspection program for the individual memories 500 and 600 is described so that 00 is selected.

【0036】禁止要求書込手段312は、第一のプロセ
ッサユニット300が第一の個別メモリ500のメモリ
検査プログラムに対応して共通メモリ200にアクセス
することにより、プロセッサ選択手段311により選択
された第一のプロセッサユニット300から共通メモリ
200の管理エリア202に書込禁止要求をデータ書込
させる。
The prohibition request writing means 312 is selected by the processor selecting means 311 when the first processor unit 300 accesses the common memory 200 corresponding to the memory inspection program of the first individual memory 500. The write prohibition request is written in the management area 202 of the common memory 200 from one processor unit 300.

【0037】第二のプロセッサユニット400の禁止要
求読出手段411は、第二のプロセッサユニット400
が第二の個別メモリ600のメモリ検査プログラムに対
応して共通メモリ200にアクセスすることにより、そ
の管理エリア202にデータ書込された書込禁止要求を
メモリ検査を実行しない第二のプロセッサユニット40
0にデータ読出させる。
The prohibition request reading means 411 of the second processor unit 400 is the second processor unit 400.
Accesses the common memory 200 in accordance with the memory inspection program of the second individual memory 600, so that the second processor unit 40 that does not execute the memory inspection for the write inhibit request written in the management area 202.
Let 0 read the data.

【0038】より具体的には、本実施の形態のデータ処
理装置100では、各プロセッサユニット300,40
0が通常状態には共通メモリ200の管理エリア202
の設定データを定期的にデータ読出するので、メモリ検
査を実行しない第二のプロセッサユニット400は定期
的な通常動作として共通メモリ200の管理エリア20
2から書込禁止要求をデータ読出する。
More specifically, in the data processing device 100 of the present embodiment, each processor unit 300, 40.
When 0 is the normal state, the management area 202 of the common memory 200
Since the setting data of the second processor unit 400 that does not perform the memory check is periodically read out, the management area 20 of the common memory 200 is used as a regular normal operation.
Data is read from the write inhibit request from 2.

【0039】禁止設定手段412は、第二のプロセッサ
ユニット400が第二の個別メモリ600に動作モード
の設定フラグをデータ設定することにより、書込禁止要
求がデータ読出されると第二のプロセッサユニット40
0のデータ書込を禁止状態に設定する。
The prohibition setting means 412 causes the second processor unit 400 to set the operation mode setting flag in the second individual memory 600 as data, and when the write prohibition request is read out, the second processor unit 412 is read. 40
Data write of 0 is prohibited.

【0040】設定完了書込手段413は、第二のプロセ
ッサユニット400が第二の個別メモリ600のメモリ
検査プログラムに対応して共通メモリ200にアクセス
することにより、禁止状態の設定が完了した第二のプロ
セッサユニット400から、共通メモリ200の管理エ
リア202に設定完了通知をデータ書込させる。
The setting completion writing unit 413 accesses the common memory 200 by the second processor unit 400 corresponding to the memory inspection program of the second individual memory 600, and the second setting unit 413 completes the setting of the prohibited state. The processor unit 400 causes the setting completion notification to be written in the management area 202 of the common memory 200.

【0041】第一のプロセッサユニット300の設定完
了読出手段313は、第一のプロセッサユニット300
が第一の個別メモリ500のメモリ検査プログラムに対
応して共通メモリ200にアクセスすることにより、共
通メモリ200の管理エリア202にデータ書込された
設定完了通知を第一のプロセッサユニット300にデー
タ読出させる。
The setting completion reading means 313 of the first processor unit 300 is the first processor unit 300.
Accesses the common memory 200 in accordance with the memory inspection program of the first individual memory 500 to read the setting completion notification written in the management area 202 of the common memory 200 to the first processor unit 300. Let

【0042】検査実行手段314は、上述のように第一
のプロセッサユニット300が設定完了通知をデータ読
出すると、その第一のプロセッサユニット300にメモ
リ検査を実行させる。このメモリ検査は第一の個別メモ
リ500のメモリ検査プログラムに対応して従来と同様
に実行されるので、共通メモリ200の作業エリア20
1に検査データをデータ書込してからデータ読出する動
作として実行される。
When the first processor unit 300 data-reads the setting completion notice as described above, the test execution means 314 causes the first processor unit 300 to execute the memory test. Since this memory inspection is executed in the same manner as the conventional one corresponding to the memory inspection program of the first individual memory 500, the work area 20 of the common memory 200 is
1 is executed as an operation of writing the inspection data into the data and then reading the data.

【0043】解除要求書込手段315は、第一のプロセ
ッサユニット300によるメモリ検査が完了すると、そ
の第一のプロセッサユニット300から共通メモリ20
0の管理エリア202に禁止解除要求をデータ書込させ
る。
When the memory inspection by the first processor unit 300 is completed, the release request writing means 315 moves from the first processor unit 300 to the common memory 20.
The prohibition cancellation request is written in the management area 202 of 0.

【0044】第二のプロセッサユニット400の解除要
求読出手段414は、共通メモリ200の管理エリア2
02にデータ書込された禁止解除要求を第二のプロセッ
サユニット400にデータ読出させ、設定解除手段41
5は、禁止解除要求がデータ読出されると第二のプロセ
ッサユニット400のデータ書込の禁止状態を解除させ
る。
The release request reading means 414 of the second processor unit 400 is the management area 2 of the common memory 200.
02, the second processor unit 400 is caused to read out the prohibition release request written in the data 02, and the setting release means 41
When the prohibition cancel request is read out, the data 5 cancels the prohibition state of data writing of the second processor unit 400.

【0045】解除完了書込手段416は、データ書込の
禁止状態を解除した第二のプロセッサユニット400か
ら共通メモリ200の管理エリア202に解除完了通知
をデータ書込させ、第一のプロセッサユニット300の
解除完了読出手段316は、共通メモリ200の管理エ
リア202にデータ書込された解除完了通知を第一のプ
ロセッサユニット300にデータ読出させる。
The release completion writing means 416 causes the release completion notice to be written in the management area 202 of the common memory 200 from the second processor unit 400 that has released the data write prohibition state, and the first processor unit 300. The cancellation completion reading means 316 causes the first processor unit 300 to read the cancellation completion notification written in the management area 202 of the common memory 200.

【0046】検査終了手段317は、解除完了通知をデ
ータ読出した第一のプロセッサユニット300によるメ
モリ検査を終了させ、検査制御手段318は、第一のプ
ロセッサユニット300によるメモリ検査が終了される
と、同様なメモリ検査を第二のプロセッサユニット40
0で開始させる。
The inspection terminating means 317 terminates the memory inspection by the first processor unit 300 which has read the release completion notice, and the inspection control means 318 terminates the memory inspection by the first processor unit 300. The same memory inspection is performed by the second processor unit 40.
Start with 0.

【0047】より具体的には、前述のように二個のプロ
セッサユニット300,400は、第一第二なる順位が
事前に設定されているので、これに対応して最初に第一
のプロセッサユニット300がメモリ検査を実行し、こ
れが完了すると第二のプロセッサユニット400がメモ
リ検査を実行する。
More specifically, the two processor units 300 and 400 have the first and second ranks set in advance as described above. 300 executes the memory check, and when this is completed, the second processor unit 400 executes the memory check.

【0048】つまり、第一第二のプロセッサユニット3
00,400は順位が設定されているが同様な構造に形
成されており、第一第二の個別メモリ500,600の
メモリ検査プログラムも、第一第二のプロセッサユニッ
ト300,400の順位のパラメータはデータ設定され
ているが、実装されているメモリ検査プログラムの記述
内容は同一である。
That is, the first and second processor units 3
00 and 400 are formed in the same structure although the order is set, and the memory inspection program of the first and second individual memories 500 and 600 is also a parameter of the order of the first and second processor units 300 and 400. Although the data is set, the description contents of the installed memory inspection program are the same.

【0049】上述のような各種手段は、必要により各種
のハードウェアを利用して実現されるが、その主体は情
報記憶媒体である個別メモリ500,600に実装され
たソフトウェアに対応して、ハードウェアである第一第
二のプロセッサユニット300,400が機能すること
により実現されている。
The various means as described above are realized by using various kinds of hardware as necessary, but the main body thereof corresponds to the software installed in the individual memories 500 and 600, which are information storage media, and the hardware is used. This is realized by the functions of the first and second processor units 300 and 400 that are wear.

【0050】このようなソフトウェアは、例えば、第一
第二のプロセッサユニット300,400からメモリ検
査を実行する一個を順番に選択すること、この選択され
たプロセッサユニット300(400)の一個から共通メ
モリ200の管理エリア202に書込禁止要求をデータ
書込させること、この共通メモリ200の管理エリア2
02にデータ書込された書込禁止要求を、メモリ検査を
実行しないプロセッサユニット400(300)にデータ
読出させること、この書込禁止要求をデータ読出したプ
ロセッサユニット400(300)のデータ書込を禁止状
態に設定すること、この禁止状態の設定が完了した第二
のプロセッサユニット400(300)から、共通メモリ
200の管理エリア202に設定完了通知をデータ書込
させること、この共通メモリ200の管理エリア202
にデータ書込された設定完了通知をメモリ検査を実行す
る一個のプロセッサユニット300(400)にデータ読
出させること、この設定完了通知をデータ読出したプロ
セッサユニット300(400)にメモリ検査を実行させ
ること、このメモリ検査を完了したプロセッサユニット
300(400)から共通メモリ200の管理エリア20
2に禁止解除要求をデータ書込させること、この共通メ
モリ200の管理エリア202にデータ書込された禁止
解除要求をメモリ検査を実行しないプロセッサユニット
400(300)にデータ読出させること、この禁止解除
要求をデータ読出したプロセッサユニット400(30
0)のデータ書込の禁止状態を解除させること、このデ
ータ書込の禁止状態を解除したプロセッサユニット40
0(300)から共通メモリ200の管理エリア202に
解除完了通知をデータ書込させること、この共通メモリ
200の管理エリア202にデータ書込された解除完了
通知をメモリ試験を実行するプロセッサユニット300
(400)にデータ読出させること、この解除完了通知を
データ読出したプロセッサユニット300(400)によ
るメモリ検査を終了させること、このメモリ検査が終了
されると同様なメモリ検査を他のプロセッサユニット4
00で開始させること、等の処理動作を第一第二のプロ
セッサユニット300,400等に実行させるためのメ
モリ検査プログラムとして個別メモリ500,600に
格納されている。
Such software may, for example, sequentially select one of the first and second processor units 300 and 400 to execute a memory check, and select a common memory from one of the selected processor units 300 (400). The write-protection request is written in the management area 202 of the common memory 200.
02, the processor unit 400 (300) which does not execute the memory check is caused to read the write prohibition request, and the processor unit 400 (300) which has read the write prohibition request performs the data write. Setting the prohibition state, causing the second processor unit 400 (300), which has completed the setting of the prohibition state, to write a setting completion notification to the management area 202 of the common memory 200, and managing the common memory 200. Area 202
Causing the processor unit 300 (400) that executes the memory check to read the setting completion notification written in the data, and causing the processor unit 300 (400) that has read the setting completion notification to perform the memory check. , The management area 20 of the common memory 200 from the processor unit 300 (400) that has completed this memory inspection
2 to cause the processor unit 400 (300) that does not execute the memory inspection to read the prohibition cancellation request written in the management area 202 of the common memory 200. The processor unit 400 (30 that read the request data)
0) The data write prohibition state is canceled, and the processor unit 40 that has released the data write prohibition state
0 (300) causes the release completion notice to be written in the management area 202 of the common memory 200 as data, and the release completion notice written in the management area 202 of the common memory 200 performs the memory test.
(400) read the data, terminate the memory inspection by the processor unit 300 (400) that has read the release completion notification, and execute the same memory inspection as the other processor units 4 when the memory inspection is completed.
It is stored in the individual memories 500 and 600 as a memory inspection program for causing the first and second processor units 300 and 400 to execute processing operations such as starting at 00.

【0051】上述のような構成において、まず、本実施
の形態のデータ処理装置100は、通常は第一第二のプ
ロセッサユニット300,400が第一第二の個別メモ
リ500,600を個々に占有しており、これらの個別
メモリ500,600に実装されている制御プログラム
や設定データに対応して第一第二のプロセッサユニット
300,400が個々にデータ処理を実行している。
In the configuration as described above, first, in the data processing device 100 of this embodiment, the first and second processor units 300 and 400 normally occupy the first and second individual memories 500 and 600, respectively. Therefore, the first and second processor units 300 and 400 individually execute data processing corresponding to the control programs and setting data mounted in the individual memories 500 and 600.

【0052】これら第一第二のプロセッサユニット30
0,400は、一個の共通メモリ200を共有している
ので、例えば、その管理エリア202を介して相互の状
態などを通知することができ、共有する各種の処理デー
タを作業エリア201にデータ読書することができる。
These first and second processor units 30
Since 0 and 400 share one common memory 200, for example, mutual statuses can be notified via the management area 202, and various processing data to be shared can be read into the work area 201. can do.

【0053】本実施の形態のデータ処理装置100で
は、図5に示すように、第一第二のプロセッサユニット
300,400は、上述のように通常は各種処理を実行
しているが(ステップS2)、例えば、所定操作によりメ
モリ検査の開始要求をデータ処理装置100にデータ入
力すると、これに対応して第一のプロセッサユニット3
00がメモリ検査を開始することになる(ステップS
1)。
In the data processing device 100 of the present embodiment, as shown in FIG. 5, the first and second processor units 300 and 400 normally execute various processes as described above (step S2). ), For example, when a memory inspection start request is input as data to the data processing device 100 by a predetermined operation, the first processor unit 3 is correspondingly responded to this.
00 will start the memory inspection (step S
1).

【0054】その場合、第一のプロセッサユニット30
0は第一の個別メモリ500からメモリ検査の制御プロ
グラムをデータ読出し、最初にデータ処理装置100に
存在するプロセッサユニットが複数か単数かを判断する
(ステップS3)。つまり、本実施の形態のメモリ検査プ
ログラムは、データ処理装置100に存在するプロセッ
サユニット300等が単数の場合と複数の場合との両方
に対応するように記述されており、プロセッサユニット
300等が自身の一個しか存在しないと判断されると、
従来どおりの通常のメモリ検査が実行される(ステップ
S4)。
In that case, the first processor unit 30
0 reads out the memory inspection control program from the first individual memory 500, and first determines whether the processor unit existing in the data processing device 100 is plural or single.
(Step S3). That is, the memory inspection program according to the present embodiment is written so as to correspond to both a single processor unit 300 and the like existing in the data processing device 100 and a plurality of processor units 300 and the like. If it is judged that there is only one,
The usual memory inspection as usual is executed (step S4).

【0055】一方、データ処理装置100に存在するプ
ロセッサユニット300,400が複数であると判断さ
れると(ステップS3)、その第一のプロセッサユニット
300は、最初にメモリ検査を実行する一個として自身
を選択し(ステップS5)、プロセッサユニット300,
400が複数であることに対応した専用のメモリ検査を
実行する(ステップS6)。
On the other hand, when it is determined that there are a plurality of processor units 300 and 400 existing in the data processing device 100 (step S3), the first processor unit 300 itself is the first one to execute the memory check. Is selected (step S5), the processor unit 300,
A dedicated memory inspection corresponding to the plurality of 400 is executed (step S6).

【0056】つまり、図1および図4に示すように、メ
モリ検査を実行する一個として自身を選択した第一のプ
ロセッサユニット300は、共通メモリ200の管理エ
リア202の所定アドレスに書込禁止要求を“55”な
どの所定コードでデータ書込し(ステップT1)、このデ
ータ書込が完了すると共通メモリ200の管理エリア2
02の所定アドレスから“CC”などの所定コードから
なる設定完了通知をデータ読出できるかを監視する(ス
テップT4)。
That is, as shown in FIGS. 1 and 4, the first processor unit 300, which has selected itself as one for executing the memory check, issues a write prohibition request to a predetermined address in the management area 202 of the common memory 200. Data is written with a predetermined code such as "55" (step T1). When this data writing is completed, the management area 2 of the common memory 200
It is monitored whether the setting completion notification including a predetermined code such as "CC" can be read out from the predetermined address 02 (step T4).

【0057】なお、共通メモリ200の管理エリア20
2に書込禁止要求をデータ書込してから所定の許容時間
が経過しても設定完了通知をデータ読出できない場合
(ステップT1〜T4)、第一のプロセッサユニット30
0はエラー発生を判定して処理動作を終了する。
The management area 20 of the common memory 200
When the setting completion notification cannot be read out even if the predetermined allowable time has passed after the write-protection request was written in 2
(Steps T1 to T4), first processor unit 30
0 determines that an error has occurred and ends the processing operation.

【0058】第二のプロセッサユニット400は、上述
のような第一のプロセッサユニット300の処理動作を
意識することなく通常の処理動作を実行しているが(ス
テップE6)、この通常処理の実行時も共通メモリ20
0の管理エリア202の書込データを定期的にデータ読
出している(ステップE1〜E4)。
The second processor unit 400 executes the normal processing operation without paying attention to the processing operation of the first processor unit 300 as described above (step E6). Common memory 20
The write data in the management area 202 of 0 is periodically read (steps E1 to E4).

【0059】そこで、この通常状態での定期動作で共通
メモリ200の管理エリア202から書込禁止要求がデ
ータ読出されると(ステップE4)、第二のプロセッサユ
ニット400は、共通メモリ200の作業エリア201
に対する自身のデータ書込を禁止状態に設定できるか確
認する(ステップE5)。
Therefore, when the write prohibition request is read from the management area 202 of the common memory 200 in the regular operation in this normal state (step E4), the second processor unit 400 determines that the work area of the common memory 200 is the same. 201
It is confirmed whether or not it is possible to set the own data writing to the (step E5).

【0060】例えば、他の処理の継続中などにはデータ
書込を禁止状態に設定できないので、この場合は他の処
理を実行する状態まで復帰するが(ステップE6)、可能
であるならば自身のデータ書込を禁止状態に設定するこ
とになる(ステップE7)。
For example, since it is not possible to set the data writing to the prohibited state while other processing is continued, in this case, the state is returned to the state in which other processing is executed (step E6), but if possible, the processing itself. The data writing is set to the prohibited state (step E7).

【0061】このように共通メモリ200の作業エリア
201へのデータ書込を禁止状態に設定した第二のプロ
セッサユニット400は、共通メモリ200の管理エリ
ア202に設定完了通知をデータ書込し(ステップE
8)、この管理エリア202から禁止解除要求をデータ
読出できるかを所定時間まで監視する(ステップE9〜
E12)。
As described above, the second processor unit 400, which sets the data writing to the work area 201 of the common memory 200 in the prohibited state, writes the setting completion notification to the management area 202 of the common memory 200 (step E
8) Monitor whether the prohibition cancellation request can be read out of data from this management area 202 for a predetermined time (step E9-).
E12).

【0062】第一のプロセッサユニット300は、前述
のように書込禁止要求をデータ書込してから(ステップ
T1)、共通メモリ200の管理エリア202から設定
完了通知をデータ読出できるかを監視しており(ステッ
プT4)、所定の許容時間が経過しても設定完了通知を
データ読出できないとエラー発生を判定する(ステップ
T2,T3)。
The first processor unit 300 monitors whether or not the setting completion notification can be read out from the management area 202 of the common memory 200 after writing the write-inhibit request as described above (step T1). (Step T4), if the setting completion notification cannot be read out in data even after the lapse of a predetermined allowable time, it is determined that an error has occurred (Steps T2 and T3).

【0063】一方、上述のように第二のプロセッサユニ
ット400がデータ書込した設定完了通知をデータ読出
すると(ステップT4)、共通メモリ200の作業エリア
201に検査データをデータ書込してからデータ読出す
るメモリ検査を実行する(ステップT5〜T7)。
On the other hand, when the setting completion notice written by the second processor unit 400 as described above is read out (step T4), the inspection data is written in the work area 201 of the common memory 200, and then the data is written. A memory check to be read is executed (steps T5 to T7).

【0064】このとき、第二のプロセッサユニット40
0は共通メモリ200の作業エリア201へのデータ書
込が禁止状態に設定されているので(ステップE7)、こ
のデータ書込の発生により第一のプロセッサユニット3
00のメモリ検査にエラーが発生することはない。
At this time, the second processor unit 40
0 indicates that the data writing to the work area 201 of the common memory 200 is prohibited (step E7).
No error occurs in the memory check of 00.

【0065】そこで、メモリ検査を完了した第一のプロ
セッサユニット300は(ステップT7)、共通メモリ2
00の管理エリア202の所定アドレスに“AA”など
の所定コードで禁止解除要求をデータ書込し(ステップ
T8)、このデータ書込が完了すると共通メモリ200
の管理エリア202の所定アドレスから“C4”などの
所定コードの解除完了通知をデータ読出できるかを許容
時間まで監視する(ステップT9〜T11)。
Then, the first processor unit 300 which has completed the memory inspection (step T7), the common memory 2
00 is written in a predetermined address of the management area 202 of 00 with a predetermined code such as “AA” (step T8), and when this data writing is completed, the common memory 200
It is monitored up to a permissible time whether or not a cancellation completion notification of a predetermined code such as "C4" can be read from a predetermined address of the management area 202 of the above (steps T9 to T11).

【0066】一方、第二のプロセッサユニット400
は、前述のように設定完了通知をデータ書込してから
(ステップE7)、共通メモリ200の管理エリア202
から禁止解除要求をデータ読出できるかを監視している
ので(ステップE9〜E12)、これをデータ読出すると
自身のデータ書込の禁止状態の設定を解除する(ステッ
プE10,E13)。
On the other hand, the second processor unit 400
After writing the setting completion notification as described above,
(Step E7), management area 202 of common memory 200
Since it is monitored whether or not the prohibition cancellation request can be read out from the data (steps E9 to E12), when the data is read out, the setting of the prohibition state of the own data writing is canceled (steps E10 and E13).

【0067】なお、第二のプロセッサユニット400
は、禁止解除要求をデータ読出しない場合でも、所定の
許容時間が経過すると自身のデータ書込の禁止状態の設
定を解除する(ステップE12,E13)。このように共
通メモリ200の作業エリア201へのデータ書込を可
能に復帰させた第二のプロセッサユニット400は、共
通メモリ200の管理エリア202に解除完了通知をデ
ータ書込してから通常状態に復帰する(ステップE1
4)。
The second processor unit 400
Even if the prohibition cancellation request is not read out, the setting of the prohibition state of its own data writing is canceled when a predetermined allowable time elapses (steps E12 and E13). In this way, the second processor unit 400 that has restored the data writing to the work area 201 of the common memory 200 to the normal state after data writing the cancellation completion notification to the management area 202 of the common memory 200. Return (Step E1)
4).

【0068】第一のプロセッサユニット300は、前述
のように共通メモリ200の管理エリア202に禁止解
除要求をデータ書込してから(ステップT8)、その管理
エリア202から解除完了通知をデータ読出できるかを
監視しているので(ステップT9〜T11)、解除完了通
知をデータ読出すると通常状態に復帰する。
As described above, the first processor unit 300 can write the prohibition cancellation request in the management area 202 of the common memory 200 (step T8), and then read the cancellation completion notification from the management area 202. Since it is being monitored (steps T9 to T11), when the release completion notice is read out, the normal state is restored.

【0069】ただし、本実施の形態のデータ処理装置1
00では、図3に示すように、複数のプロセッサユニッ
ト300,400の全部でメモリ検査を実行するので
(ステップS5〜7)、上述のように第一のプロセッサユ
ニット300でのメモリ検査が完了すると、同様に第二
のプロセッサユニット400でのメモリ検査が実行され
る。
However, the data processing apparatus 1 of the present embodiment
In 00, as shown in FIG. 3, the memory inspection is executed in all of the plurality of processor units 300 and 400.
(Steps S5 to 7) When the memory inspection in the first processor unit 300 is completed as described above, the memory inspection in the second processor unit 400 is similarly executed.

【0070】本実施の形態のデータ処理装置100は、
上述のように一個の共通メモリ200のを複数のプロセ
ッサユニット300,400が共有している構造で、一
個の共通メモリ200の作業エリア201を複数のプロ
セッサユニット300,400で順番に検査することが
できる。
The data processing apparatus 100 of this embodiment is
As described above, in the structure in which one common memory 200 is shared by a plurality of processor units 300 and 400, the work area 201 of one common memory 200 can be sequentially inspected by the plurality of processor units 300 and 400. it can.

【0071】その場合、共通メモリ200の作業エリア
201に第一第二のプロセッサユニット300,400
の一方がメモリ検査を実行するとき、その最初から最後
まで他方のプロセッサユニット300,400が共通メ
モリ200の作業エリア201にデータ書込を実行する
ことがないので、メモリ検査をエラー無く実行すること
ができる。
In that case, the first and second processor units 300, 400 are provided in the work area 201 of the common memory 200.
When one executes the memory check, the other processor units 300 and 400 do not write data to the work area 201 of the common memory 200 from the beginning to the end, so that the memory check should be executed without error. You can

【0072】しかも、メモリ検査を実行しないプロセッ
サユニット300,400のデータ書込の禁止設定は自
動的に実行されるので、これを手動で設定する煩雑な操
作は必要なく、プロセッサユニット300,400の復
帰を失念したままメモリ検査が終了されることもない。
In addition, since the data write prohibition setting of the processor units 300 and 400 which does not execute the memory inspection is automatically executed, the complicated operation of manually setting this is not necessary, and the processor units 300 and 400 are not required to be manually set. The memory test is not terminated without forgetting to recover.

【0073】さらに、複数のプロセッサユニット30
0,400のメモリ検査を実行する一方がメモリ検査を
実行しない他方に自身のデータ書込の禁止設定を共通メ
モリ200の管理エリア202を介して依頼するので、
プロセッサユニット300,400の動作を外部から強
制停止する回路などをデータ処理装置100に増設する
必要がない。
Furthermore, a plurality of processor units 30
One of the memory checks of 0,400 does not execute the memory check, and the other requests the setting of prohibition of its own data writing via the management area 202 of the common memory 200.
It is not necessary to add a circuit or the like to the data processing device 100 to forcibly stop the operation of the processor units 300 and 400 from the outside.

【0074】また、データ書込の禁止設定が依頼された
プロセッサユニット300,400は、自身の状態を確
認しながらデータ書込を自身で禁止状態に設定するの
で、作業途中のプロセッサユニット300,400が外
部から強制停止されてエラーが発生することもない。
Further, the processor units 300, 400, which have been requested to set prohibition of data writing, set the data writing by themselves while confirming their own states. Will not be forcibly stopped from the outside and an error will not occur.

【0075】なお、本発明は上記形態に限定されるもの
ではなく、その要旨を逸脱しない範囲で各種の変形を許
容する。例えば、上記形態ではプロセッサユニット30
0,400が二個であることを例示したが、これを三個
以上とすることも可能である。
It should be noted that the present invention is not limited to the above embodiment, and various modifications are allowed without departing from the gist thereof. For example, in the above embodiment, the processor unit 30
Although it is illustrated that the number of 0,400 is two, the number of three or more is also possible.

【0076】また、上記形態では個別メモリ500,6
00にソフトウェアとして格納されているメモリ検査プ
ログラムに従って第一第二のプロセッサユニット30
0,400が動作することにより、データ処理装置10
0の各種機能として各種手段が論理的に実現されること
を例示した。しかし、このような各種手段の各々を固有
のハードウェアとして形成することも可能であり、一部
をソフトウェアとして個別メモリ500,600に格納
するとともに一部をハードウェアとして形成することも
可能である。
Further, in the above embodiment, the individual memories 500, 6
00 according to the memory inspection program stored as software in the first and second processor units 30
By operating 0,400, the data processing device 10
It has been illustrated that various means are logically realized as various functions of 0. However, each of these various means can be formed as unique hardware, and a part of them can be stored as software in the individual memories 500 and 600 and a part of them can be formed as hardware. .

【0077】[0077]

【発明の効果】本発明は以上説明したように構成されて
いるので、以下に記載するような効果を奏する。
Since the present invention is constructed as described above, it has the following effects.

【0078】本発明の情報記憶媒体に格納されているプ
ログラムを複数のプロセッサユニットに読み取らせて対
応する処理動作を実行させると、その複数のプロセッサ
ユニットは、共通メモリの作業エリアにメモリ検査を実
行する一個のプロセッサユニットを選択し、この一個の
プロセッサユニットから共通メモリの管理エリアに書込
禁止要求をデータ書込させる。この共通メモリの管理エ
リアにデータ書込された書込禁止要求をメモリ検査を実
行しないプロセッサユニットの全部にデータ読出させ、
この書込禁止要求をデータ読出したプロセッサユニット
のデータ書込を禁止状態に設定させ、この禁止状態の設
定が完了したプロセッサユニットから共通メモリの管理
エリアに設定完了通知をデータ書込させ、この共通メモ
リの管理エリアにデータ書込された設定完了通知をメモ
リ検査を実行するプロセッサユニットにデータ読出さ
せ、この設定完了通知をデータ読出したプロセッサユニ
ットに共通メモリの作業エリアのメモリ検査を実行さ
せ、このメモリ検査を完了したプロセッサユニットから
共通メモリの管理エリアに禁止解除要求をデータ書込さ
せ、この共通メモリの管理エリアにデータ書込された禁
止解除要求をデータ書込が禁止状態のプロセッサユニッ
トにデータ読出させ、この禁止解除要求をデータ読出し
たプロセッサユニットのデータ書込の禁止状態を解除さ
せることにより、複数のプロセッサユニットの一個が共
通メモリの作業エリアにメモリ検査を実行するとき、そ
の最初から最後まで他のプロセッサユニットが共通メモ
リの作業エリアにデータ書込を実行することがないの
で、共通メモリの作業エリアを複数のプロセッサユニッ
トの一個でエラーなく検査することができる。
When a program stored in the information storage medium of the present invention is read by a plurality of processor units and the corresponding processing operation is executed, the plurality of processor units execute a memory check in the work area of the common memory. One processor unit to be written is selected, and the write prohibition request is written in the management area of the common memory from this one processor unit. The write inhibit request written in the management area of the common memory is read out by all the processor units that do not execute the memory inspection.
This writing prohibition request is set to the data writing prohibition state of the processor unit that has read the data, and the setting completion notice is written to the management area of the common memory from the processor unit that has completed the setting of the prohibition state. The setting completion notification written in the management area of the memory is read by the processor unit that executes the memory check, and the setting completion notification is caused by the processor unit that reads the data to execute the memory check of the working area of the common memory. The processor unit that has completed the memory inspection writes data to the prohibition release request in the management area of the common memory, and the prohibition release request written in the management area of this common memory is written to the processor unit in which the data writing is in the disabled state. The processor unit that has been read and has read this prohibition cancellation request data By releasing the data write prohibition state, when one of the multiple processor units executes the memory check on the work area of the common memory, other processor units write data to the work area of the common memory from the beginning to the end. Since the integration is not executed, the work area of the common memory can be inspected by one of the plurality of processor units without error.

【0079】本発明のデータ処理装置によるメモリ検査
方法では、共通メモリの作業エリアにメモリ検査を実行
する一個のプロセッサユニットをプロセッサ選択手段が
選択するので、この選択された一個のプロセッサユニッ
トから共通メモリの管理エリアに禁止要求書込手段が書
込禁止要求をデータ書込させ、この共通メモリの管理エ
リアにデータ書込された書込禁止要求をメモリ検査を実
行しないプロセッサユニットの全部に禁止要求読出手段
がデータ読出させるので、この書込禁止要求をデータ読
出したプロセッサユニットのデータ書込を禁止設定手段
が禁止状態に設定し、この禁止状態の設定が完了したプ
ロセッサユニットから共通メモリの管理エリアに設定完
了通知を設定完了書込手段がデータ書込させるので、こ
の共通メモリの管理エリアにデータ書込された設定完了
通知を設定完了読出手段がメモリ検査を実行するプロセ
ッサユニットにデータ読出させ、この設定完了通知をデ
ータ読出したプロセッサユニットに検査実行手段がメモ
リ検査を実行させるので、このメモリ検査を完了したプ
ロセッサユニットから共通メモリの管理エリアに禁止解
除要求を解除要求書込手段がデータ書込させ、この共通
メモリの管理エリアにデータ書込された禁止解除要求を
データ書込が禁止状態のプロセッサユニットに解除要求
読出手段がデータ読出させるので、この禁止解除要求を
データ読出したプロセッサユニットのデータ書込の禁止
状態を設定解除手段が解除させることにより、複数のプ
ロセッサユニットの一個が共通メモリの作業エリアにメ
モリ検査を実行するとき、その最初から最後まで他のプ
ロセッサユニットが共通メモリの作業エリアにデータ書
込を実行することがないので、共通メモリの作業エリア
を複数のプロセッサユニットの一個でエラーなく検査す
ることができる。
In the memory inspection method by the data processing device of the present invention, the processor selecting means selects one processor unit for executing the memory inspection in the work area of the common memory. Therefore, the common memory is selected from the selected one processor unit. The prohibition request writing means causes the write prohibition request data to be written in the management area of the common memory, and the write prohibition request written in the management area of the common memory is read out to all processor units that do not execute the memory inspection. Since the means causes the data to be read out, the write prohibition request sets the data write prohibition means of the processor unit that has read the data to the prohibition state, and the processor unit in which the prohibition state has been set is transferred to the management area of the common memory. Since the setting completion writing means causes the setting completion writing means to write data, this common memory management Since the setting completion reading means causes the processor unit that executes the memory inspection to read the setting completion notification written in the area data, and the processor unit that has read the setting completion notification causes the inspection executing means to execute the memory inspection. The release request writing means causes the release request writing means to write data from the processor unit that has completed this memory inspection to the management area of the common memory, and the release request writing data is written to the management area of this common memory. Since the release request read means causes the processor unit in the prohibited state to read the data, the setting release means releases the data write prohibited state of the processor unit that has read this prohibition release request. When performing a memory check on the common memory work area, first Since Luo end until the other processor unit does not execute the data write in the work area of the common memory can be no error checking the working area of the common memory in one of a plurality of processor units.

【0080】また、上述のようなデータ処理装置におい
て、データ書込の禁止状態を解除したプロセッサユニッ
トから共通メモリの管理エリアに解除完了通知を解除完
了書込手段がデータ書込させ、共通メモリの管理エリア
にデータ書込された解除完了通知をメモリ検査を実行す
るプロセッサユニットに解除完了読出手段がデータ読出
させ、この解除完了通知をデータ読出したプロセッサユ
ニットのメモリ検査を検査終了手段が終了させることに
より、一個のプロセッサユニットによるメモリ検査が終
了されるとき、メモリ検査を実行しない他のプロセッサ
ユニットのデータ書込を確実に復帰させることができ
る。
Further, in the above-described data processing device, the release completion writing means causes the release completion writing means to write data to the management area of the common memory from the processor unit that has released the data write prohibition state, and The release completion notice written in the management area is made to be read by the release completion reading means to the processor unit which executes the memory inspection, and the inspection end means finishes the memory inspection of the processor unit which read the release completion data. Thus, when the memory inspection by one processor unit is completed, it is possible to reliably restore the data writing of the other processor unit that does not execute the memory inspection.

【0081】また、複数のプロセッサユニットの全部で
一個ずつ順番に検査制御手段がメモリ検査を実行させる
ことにより、全部のプロセッサユニットでメモリ検査を
順番に実行することができる。
Further, the inspection control means causes the memory inspection to be executed one by one in all of the plurality of processor units, whereby the memory inspection can be sequentially executed in all the processor units.

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

【図1】本発明の実施の一形態のデータ処理装置の論理
構造を示す模式図である。
FIG. 1 is a schematic diagram showing a logical structure of a data processing device according to an embodiment of the present invention.

【図2】物理構造を示すブロック図である。FIG. 2 is a block diagram showing a physical structure.

【図3】本実施の形態のメモリ検査方法のメインルーチ
ンを示すフローチャートである。
FIG. 3 is a flowchart showing a main routine of the memory inspection method of the present embodiment.

【図4】メモリ検査を実行するプロセッサユニットのサ
ブルーチンを示すフローチャートである。
FIG. 4 is a flowchart showing a subroutine of a processor unit that executes a memory check.

【図5】メモリ検査を実行しないプロセッサユニットの
サブルーチンを示すフローチャートである。
FIG. 5 is a flowchart showing a subroutine of a processor unit that does not execute a memory check.

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

100 データ処理装置 200 共通メモリ 201 作業エリア 202 管理エリア 300,400 プロセッサユニット 311 プロセッサ選択手段 312 禁止要求書込手段 313 設定完了読出手段 314 検査実行手段 315 解除要求書込手段 316 解除完了読出手段 317 検査終了手段 318 検査制御手段 411 禁止要求読出手段 412 禁止設定手段 413 設定完了書込手段 414 解除要求読出手段 415 設定解除手段 416 解除完了書込手段 500,600 個別メモリ 100 data processor 200 common memory 201 work area 202 management area 300,400 processor unit 311 processor selection means 312 Prohibition request writing means 313 Setting completion reading means 314 Inspection execution means 315 Release request writing means 316 Release completion reading means 317 Inspection ending means 318 Inspection control means 411 Prohibition request reading means 412 Prohibition setting means 413 setting completion writing means 414 Release request reading means 415 Setting cancellation means 416 Release completion writing means 500,600 Individual memory

Claims (8)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 作業エリアと管理エリアとを具備してい
て複数のプロセッサユニットにより共有されている一個
の共通メモリを検査するメモリ検査方法であって、前記共通メモリに接続されている前記プロセッサユニッ
トが複数か単数かを前記プロセッサユニットが判断し、 前記プロセッサユニットは自身の一個しか存在しないと
判断すると通常のメモリ検査を実行し、 前記プロセッサユニットは前記プロセッサユニットが複
数であると判断すると 前記共通メモリの作業エリアに検
査データをデータ書込してからデータ読出するメモリ検
査を実行する一個の前記プロセッサユニットを選択し、 この一個のプロセッサユニットから前記共通メモリの管
理エリアに書込禁止要求をデータ書込させ、 この共通メモリの管理エリアにデータ書込された書込禁
止要求をメモリ検査を実行しない前記プロセッサユニッ
トの全部にデータ読出させ、 この書込禁止要求をデータ読出した前記プロセッサユニ
ットのデータ書込を禁止状態に設定し、 この禁止状態の設定が完了した前記プロセッサユニット
から前記共通メモリの管理エリアに設定完了通知をデー
タ書込させ、 この共通メモリの管理エリアにデータ書込された設定完
了通知をメモリ検査を実行する前記プロセッサユニット
にデータ読出させ、 この設定完了通知をデータ読出した前記プロセッサユニ
ットに前記共通メモリの作業エリアのメモリ検査を実行
させ、 このメモリ検査を完了した前記プロセッサユニットから
前記共通メモリの管理エリアに禁止解除要求をデータ書
込させ、 この共通メモリの管理エリアにデータ書込された禁止解
除要求をデータ書込が禁止状態の前記プロセッサユニッ
トにデータ読出させ、 この禁止解除要求をデータ読出した前記プロセッサユニ
ットのデータ書込の禁止状態を解除させるようにしたメ
モリ検査方法。
1. A memory inspection method for inspecting a single common memory, which comprises a work area and a management area and is shared by a plurality of processor units, the processor unit being connected to the common memory.
The processor unit determines whether there is a plurality or a single number, and the processor unit has only one
If so, a normal memory check is performed and the processor unit is
If the number is judged to be a number, one of the processor units for executing the memory inspection of writing the inspection data into the work area of the common memory and then reading the data is selected, and the management of the common memory is performed from the one processor unit. The write prohibition request is written in the area, and the write prohibition request written in the management area of the common memory is read out to all the processor units that do not execute the memory inspection. The data writing of the processor unit that has read the data is set to the prohibited state, and the setting completion notice is written to the management area of the common memory from the processor unit that has completed the setting of the prohibited state. The setting completion notification written in the area is sent to the processor unit that executes the memory check. The processor unit that has read the setting completion notification to perform a memory inspection of the work area of the common memory, and the processor unit that has completed the memory inspection sends a prohibition release request to the management area of the common memory. Data is written into the management area of the common memory, and the prohibition release request written in the management area of the common memory is read out by the processor unit whose data writing is in the prohibition state. A memory inspection method that cancels the write-protected state.
【請求項2】 作業エリアと管理エリアとを具備してい
る一個の共通メモリを共有する複数のプロセッサユニッ
トが読取自在なソフトウェアが格納されている情報記憶
媒体であって、前記共通メモリに接続されている前記プロセッサユニッ
トが複数か単数かを判断すること、 前記プロセッサユニットが自身の一個しか存在しないと
判断すると通常のメモリ検査を実行すること、 前記プロセッサユニットが複数であると判断すると 前記
共通メモリの作業エリアに検査データをデータ書込して
からデータ読出するメモリ検査を実行する一個の前記プ
ロセッサユニットを選択すること、 この一個のプロセッサユニットから前記共通メモリの管
理エリアに書込禁止要求をデータ書込させること、 この共通メモリの管理エリアにデータ書込された書込禁
止要求をメモリ検査を実行しない前記プロセッサユニッ
トの全部にデータ読出させること、 この書込禁止要求をデータ読出した前記プロセッサユニ
ットのデータ書込を禁止状態に設定すること、 この禁止状態の設定が完了した前記プロセッサユニット
から前記共通メモリの管理エリアに設定完了通知をデー
タ書込させること、 この共通メモリの管理エリアにデータ書込された設定完
了通知をメモリ検査を実行する前記プロセッサユニット
にデータ読出させること、 この設定完了通知をデータ読出した前記プロセッサユニ
ットに前記共通メモリの作業エリアのメモリ検査を実行
させること、 このメモリ検査を完了した前記プロセッサユニットから
前記共通メモリの管理エリアに禁止解除要求をデータ書
込させること、 この共通メモリの管理エリアにデータ書込された禁止解
除要求をデータ書込が禁止状態の前記プロセッサユニッ
トにデータ読出させること、 この禁止解除要求をデータ読出した前記プロセッサユニ
ットのデータ書込の禁止状態を解除させること、を前記
プロセッサユニットに実行させるためのプログラムが格
納されていることを特徴とする情報記憶媒体。
2. An information storage medium storing software readable by a plurality of processor units sharing a single common memory having a work area and a management area, the information storage medium being connected to the common memory. The processor unit
Whether there is only one processor unit, if there is only one processor unit
If it is determined that a normal memory test is to be executed , and if it is determined that there are a plurality of processor units, one of the processor units that performs a memory test of writing test data in the work area of the common memory and then reading the data is read. Selecting the write inhibit request from this one processor unit to write data to the management area of the common memory, and executing a memory check on the write inhibit request written to the management area of the common memory. Not setting all of the processor units to read the data, setting the write prohibition request to the data writing of the processor unit that has read the data, and setting the prohibition state to the common state from the processor unit. Data writing of setting completion notification in the management area of the memory, A setting completion notice written in the management area of the common memory of the common memory is read by the processor unit that executes the memory check; Performing an inspection, causing the processor unit that has completed the memory inspection to write a prohibition release request to the management area of the common memory, and writing the prohibition release request to the management area of the common memory. A program is stored for causing the processor unit to execute the data reading by the processor unit in the write prohibited state, and release the data write prohibited state of the processor unit that has read the data from the prohibition release request. Information storage medium characterized by being .
【請求項3】 作業エリアと管理エリアとを具備してい
る一個の共通メモリと、該共通メモリを共有している複
数のプロセッサユニットと、を具備しているデータ処理
装置であって、 前記共通メモリの作業エリアに検査データをデータ書込
してからデータ読出するメモリ検査を実行する一個の前
記プロセッサユニットを選択するプロセッサ選択手段
と、 このプロセッサ選択手段により選択された一個のプロセ
ッサユニットから前記共通メモリの管理エリアに書込禁
止要求をデータ書込させる禁止要求書込手段と、 前記共通メモリの管理エリアにデータ書込された書込禁
止要求をメモリ検査を実行しない前記プロセッサユニッ
トの全部にデータ読出させる禁止要求読出手段と、 書込禁止要求をデータ読出した前記プロセッサユニット
のデータ書込を禁止状態に設定する禁止設定手段と、 禁止状態の設定が完了した前記プロセッサユニットから
前記共通メモリの管理エリアに設定完了通知をデータ書
込させる設定完了書込手段と、 前記共通メモリの管理エリアにデータ書込された設定完
了通知をメモリ検査を実行する前記プロセッサユニット
にデータ読出させる設定完了読出手段と、 設定完了通知をデータ読出した前記プロセッサユニット
にメモリ検査を実行させる検査実行手段と、 メモリ検査を完了した前記プロセッサユニットから前記
共通メモリの管理エリアに禁止解除要求をデータ書込さ
せる解除要求書込手段と、 前記共通メモリの管理エリアにデータ書込された禁止解
除要求をデータ書込が禁止状態の前記プロセッサユニッ
トにデータ読出させる解除要求読出手段と、 禁止解除要求をデータ読出した前記プロセッサユニット
のデータ書込の禁止状態を解除させる設定解除手段と、
を具備しており、 前記プロセッサユニットは、最初に前記共通メモリに接
続されている前記プロ セッサユニットが複数か単数かを
判断し、前記プロセッサユニットが自身の一個しか存在
しないと判断すると通常のメモリ検査を実行し、前記プ
ロセッサユニットが複数であると判断すると前記プロセ
ッサ選択手段が一個の前記プロセッサユニットを選択す
データ処理装置。
3. A data processing apparatus comprising: one common memory having a work area and a management area; and a plurality of processor units sharing the common memory, Processor selection means for selecting one of the processor units for executing the memory inspection of writing inspection data in the work area of the memory and then reading the data, and one processor unit selected by the processor selection means for the common A prohibition request writing means for writing a write prohibition request to the management area of the memory, and a write prohibition request written to the management area of the common memory is written to all of the processor units that do not execute a memory check. Read prohibition request read means, and data of the processor unit that has read the write prohibition request data Prohibition setting means for setting the lock state to a prohibition state, setting completion writing means for writing a setting completion notice to the management area of the common memory from the processor unit which has completed the setting of the prohibition state, and management of the common memory Setting completion reading means for causing the processor unit that executes the memory inspection to read the setting completion notification written in the area data, and inspection executing means for causing the processor unit that has read the setting completion notification to perform the memory inspection. Release request writing means for writing the prohibition release request to the management area of the common memory from the processor unit which has completed the memory inspection, and data writing the prohibition release request written to the management area of the common memory. And a release request reading means for causing the processor unit in the prohibited state to read data, Setting canceling means for canceling the data write prohibition state of the processor unit that has read the cancel request data,
And comprising, said processor unit, first contact to the common memory
The processor unit being continued is whether more or singular
Judge that only one processor unit exists
If you decide not to do so, a normal memory inspection is executed and
If it is determined that there are multiple processor units, the processor
Server selecting means selects one of the processor units.
That the data processing device.
【請求項4】 データ書込の禁止状態を解除した前記プ
ロセッサユニットから前記共通メモリの管理エリアに解
除完了通知をデータ書込させる解除完了書込手段と、 前記共通メモリの管理エリアにデータ書込された解除完
了通知をメモリ検査を実行する前記プロセッサユニット
にデータ読出させる解除完了読出手段と、 この解除完了通知をデータ読出した前記プロセッサユニ
ットにメモリ検査を終了させる検査終了手段と、も具備
している請求項3記載のデータ処理装置。
4. A release completion writing unit for writing a release completion notification to the management area of the common memory from the processor unit that has released the data write prohibition state, and data writing to the management area of the common memory. Also provided are release completion reading means for causing the processor unit that executes the memory inspection to read the released release completion notification, and inspection ending means for ending the memory inspection by the processor unit that has read the release completion notification. The data processing device according to claim 3,
【請求項5】 複数の前記プロセッサユニットの全部で
一個ずつ順番にメモリ検査を実行させる検査制御手段も
具備している請求項3または4記載のデータ処理装置。
5. The data processing apparatus according to claim 3, further comprising an inspection control unit that sequentially executes a memory inspection for each of the plurality of processor units.
【請求項6】 複数の前記プロセッサユニットに順位が
事前に設定されており、 前記プロセッサユニットが前記順位に対応して順番にメ
モリ検査を実行する請求項5記載のデータ処理装置。
6. The plurality of processor units are ranked in order.
It is preset and the processor units sequentially
The data processing device according to claim 5, which executes a memory test.
【請求項7】 複数の前記プロセッサユニットが複数の
個別メモリを個々に占有しており、 前記順位が前記個別メモリにデータ記述されている請求
項6記載のデータ処理装置。
7. A plurality of processor units are provided.
An individual memory is individually occupied, and the order is described in the individual memory as data.
Item 6. The data processing device according to item 6.
【請求項8】 作業エリアと管理エリアとを具備してい
る一個の共通メモリと、該共通メモリを共有している複
数のプロセッサユニットと、複数の前記プロセッサユニ
ットに個々に占有されている複数の個別メモリと、を具
備しているデータ処理装置であって、 前記個別メモリに請求項2記載の発明の情報記憶媒体の
プログラムが格納されているデータ処理装置。
8. A single common memory having a work area and a management area, a plurality of processor units sharing the common memory, and a plurality of processor units individually occupied by the plurality of processor units. A data processing device comprising an individual memory, wherein the program of the information storage medium of the invention according to claim 2 is stored in the individual memory.
JP19606499A 1999-07-09 1999-07-09 Memory inspection method, information storage medium, data processing device Expired - Fee Related JP3487337B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP19606499A JP3487337B2 (en) 1999-07-09 1999-07-09 Memory inspection method, information storage medium, data processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP19606499A JP3487337B2 (en) 1999-07-09 1999-07-09 Memory inspection method, information storage medium, data processing device

Publications (2)

Publication Number Publication Date
JP2001022652A JP2001022652A (en) 2001-01-26
JP3487337B2 true JP3487337B2 (en) 2004-01-19

Family

ID=16351607

Family Applications (1)

Application Number Title Priority Date Filing Date
JP19606499A Expired - Fee Related JP3487337B2 (en) 1999-07-09 1999-07-09 Memory inspection method, information storage medium, data processing device

Country Status (1)

Country Link
JP (1) JP3487337B2 (en)

Also Published As

Publication number Publication date
JP2001022652A (en) 2001-01-26

Similar Documents

Publication Publication Date Title
US7650467B2 (en) Coordination of multiprocessor operations with shared resources
US7490179B2 (en) Device for, method of, and program for dynamically switching modes for writing transaction data into disk
US6845470B2 (en) Method and system to identify a memory corruption source within a multiprocessor system
JP4863765B2 (en) Storage control method and system for performing backup and / or restore
US20090094478A1 (en) Recovery of application faults in a mirrored application environment
US20050283673A1 (en) Information processing apparatus, information processing method, and program
JP2006344119A (en) Storage device, and configuration information management method and program
GB2317034A (en) Control of data storage and loading of an operating system
CN112486694B (en) Redis-based network lock processing method and device
JP2009176146A (en) Multi-processor system, failure detecting method and failure detecting program
JP3487337B2 (en) Memory inspection method, information storage medium, data processing device
JP4920567B2 (en) Equipment network system and data access control method
JP2685530B2 (en) How to manage shared data
JP6677021B2 (en) Information processing apparatus, information processing method, and program
US7555614B1 (en) Methods, systems, and computer program products for preventing concurrent execution of conflicting software operations on the same and different storage processors having access to a common storage medium while avoiding deadlocks
JPH02130666A (en) System reconstituting system for multiprocessor system
CN109358903A (en) Data access equipment and access errors notification method
KR102284952B1 (en) Dynamic saving of registers in transactions
JPH0424838A (en) Fault control system for multiprocessor
US20210373975A1 (en) Workgroup synchronization and processing
JP2937857B2 (en) Lock flag release method and method for common storage
JP2008242592A (en) Memory monitoring circuit, information processing apparatus and memory monitoring method
JPH02264335A (en) Method and device for fault processing
JPH11237959A (en) Multiple writing storage device
CN113703978A (en) Vehicle-mounted instrument multi-core CPU serial port debugging method and device

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees