JPH08161202A - Program runaway detection method and program runaway detection device - Google Patents

Program runaway detection method and program runaway detection device

Info

Publication number
JPH08161202A
JPH08161202A JP6331746A JP33174694A JPH08161202A JP H08161202 A JPH08161202 A JP H08161202A JP 6331746 A JP6331746 A JP 6331746A JP 33174694 A JP33174694 A JP 33174694A JP H08161202 A JPH08161202 A JP H08161202A
Authority
JP
Japan
Prior art keywords
information
return information
unit
program
comparison
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
JP6331746A
Other languages
Japanese (ja)
Inventor
Takuya Sekiguchi
卓也 關口
Koichi Yasutake
剛一 安武
Kenji Ito
謙次 伊藤
Keiko Iwamoto
恵子 岩本
Wataru Uchiyama
亘 内山
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP6331746A priority Critical patent/JPH08161202A/en
Publication of JPH08161202A publication Critical patent/JPH08161202A/en
Pending legal-status Critical Current

Links

Landscapes

  • Power Sources (AREA)
  • Debugging And Monitoring (AREA)

Abstract

(57)【要約】 【目的】 元のプログラムへの復帰がなされない場合に
もプログラムの暴走を確実に検知しえ、これにより装置
の暴走を防止するプログラム暴走検知方法及び装置を提
供する。 【構成】 電源等、可能な限り低位レベルの事象を起因
として元のプログラムへの復帰がなされないこと等を検
知し、これにより暴走を検知する。 【効果】 プログラムの暴走の検知ミスを極力防止する
ことが可能となる。
(57) [Summary] [Purpose] To provide a program runaway detection method and device capable of surely detecting a program runaway even when the original program is not restored and thereby preventing the device runaway. [Configuration] Detects that the original program is not restored due to an event at the lowest possible level, such as the power supply, and detects runaway. [Effect] It becomes possible to prevent the program runaway detection error as much as possible.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、家電機器用のマイコン
プログラムの制御装置等に関し、特にその暴走検知に関
する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a microcomputer program control device for home electric appliances, and more particularly to detection of runaway.

【0002】[0002]

【従来の技術】近年のマイコン技術の発達のもと、家電
機器のような比較的小型、安価な機器にもその適切な機
能発揮のためマイコンが利用されている。例えば、電子
レンジのように一見指定された電磁波の強度と時間で食
品を加熱するだけというような単純な処理においても、
電磁波の強度の制御、食器台の回転の制御、指定時間の
計測と経過後にその旨を使用者に知らせるための終了音
の発生という発音等のためマイコンが装備され、更にそ
のマイコンにて各種のプログラム操作、例えばタスクの
切換えがなされている。
2. Description of the Related Art With the recent development of microcomputer technology, microcomputers have been used for relatively small and inexpensive devices such as home electric appliances in order to exert their proper functions. For example, even in a simple process such as heating a food with seemingly specified electromagnetic wave intensity and time, such as a microwave oven,
A microcomputer is equipped to control the intensity of electromagnetic waves, control the rotation of the tableware, and generate a termination sound to notify the user of the fact that the specified time has been measured and passed. Program operation, for example, task switching is being performed.

【0003】ところで、この従来のマイコン制御装置の
プログラム暴走検知方法及び装置としては、例えば、特
開平2―304635号にて開示されているものがあ
る。これは、実行中のプログラムから他のプログラムを
呼び出す際に、呼び出すプログラムはリターンアドレス
などの復帰情報を複写することにより複数保持するもの
とし、その処理終了後にこの保持した複数の復帰情報を
比較し、若し不一致であったときにはプログラムの暴走
と判定とするものである。
By the way, as a program runaway detection method and device of this conventional microcomputer control device, there is, for example, the one disclosed in Japanese Patent Laid-Open No. 2-304635. This means that when calling another program from a running program, the calling program retains a plurality of return information such as a return address, and after the processing ends, the retained return information is compared. If there is a discrepancy, it is determined that the program is out of control.

【0004】[0004]

【発明が解決しようとする課題】しかしながら、上記従
来の技術では、多重保持された情報の比較は呼び出され
た他のプログラムの処理が終了し、もとのプログラムへ
の復帰処理を行う際になされる。従って、落雷、近くに
存在する大容量電源のON、OFFに伴うノイズ等を原
因とする暴走により元のプログラムへの復帰処理が行わ
れない場合には、暴走検知が行えなず無意味となる。し
かも、特に家庭用機器がそうであるが、誤ってコンセン
トをはずす等の誤操作、コンセントを誤ってはずしたこ
とに気がついてあわててすぐ指し込んだりしがちである
がルームクーラーにあっては冷媒の状態が変化し、VT
Rにあってはテープが定常速度に達するまでにその位置
が変化する等機器によってはそのことが必ずしも適切な
対応措置でない等二次的な誤操作が生じることがある。
更には、子供のいたずら等もある。このため、それらを
直接、間接的な原因として、プログラムが、ひいてはそ
のプログラムにより制御されている機器が暴走すること
が少なからずある。
However, in the above-mentioned conventional technique, the comparison of the information held multiple times is performed when the processing of the called other program is completed and the return processing to the original program is performed. It Therefore, if the process of returning to the original program is not performed due to a runaway caused by a lightning strike, noise accompanying ON / OFF of a nearby large-capacity power supply, etc., runaway detection cannot be performed and is meaningless. . Moreover, especially for household appliances, it is easy to mistakenly operate the outlet such as accidentally disconnecting the outlet, or if you accidentally disconnect the outlet, you may rush to insert it immediately. The state changes, VT
In the case of R, the position of the tape may change before it reaches a steady speed. Depending on the device, a secondary error may occur, such as not necessarily an appropriate countermeasure.
Furthermore, there are mischiefs for children. For this reason, it is not uncommon for the program, and eventually the device controlled by the program, to run away with these as the direct and indirect causes.

【0005】そして、これらは直接的、間接に機器の故
障の原因ともなるだけでなく、電子レンジにおける食品
等機器の処理対象物が損なわれる等の二次的な不都合も
生じる。また、家電機器用のプログラムに限らず、プロ
グラム一般について言えることでもあるが、プログラム
ミスを完全に防止することは困難である旨前記特開平2
−304635号にても指摘されている。
Further, these not only directly or indirectly cause a failure of the equipment, but also cause a secondary inconvenience such as damage to a processing object of the equipment such as food in a microwave oven. Further, not only the program for home electric appliances but also the general program, it is difficult to completely prevent a program mistake.
It is also pointed out in No. 304635.

【0006】そして、これらのためいわゆるRAM化け
(RAMやレジスタ等の呼び出し先や呼び出し元のアド
レス等のデータが損なわれること)が生じ、プログラム
暴走が生じる。このため、プログラムの暴走を検知する
ことができる方法及び装置が望まれている。また、併せ
て万が一のプログラムの暴走においても、適切に対処し
える方法や装置が望まれている。
As a result, so-called garbled RAM (damage of data such as the call destination of the RAM and the register and the address of the call source) occurs, and program runaway occurs. Therefore, there is a demand for a method and apparatus that can detect runaway programs. In addition, there is also a demand for a method and a device that can appropriately cope with a program runaway in the unlikely event.

【0007】本発明は、かかる課題を解決することを目
的としてなされたものである。
The present invention has been made for the purpose of solving the above problems.

【0008】[0008]

【課題を解決するための手段】上記目的を達成するため
に、請求項1の発明においては、プログラムにのっとっ
て(従って)複数のタスクの処理が可能かつタスクを切
換える際に元のタスクへ復帰するために必要な情報を保
管し、該情報を比較する等使用してプログラムの暴走を
検知するプログラム暴走検知方法において、目下処理中
のタスク(含む、サブルーチン)から次のタスクへの処
理の切り換えを要求するタスク切り換え要求ステップ
と、実行中のタスクから異なるタスクへ切換えられた場
合に切り換え前のタスクへの復帰情報をプログラム用記
憶部等へ格納する復帰情報格納ステップと、前記復帰情
報格納ステップにて格納された復帰情報を複写して前記
復帰情報格納とステップとは異なる領域を使用する復帰
情報退避部へ記憶させる復帰情報退避処理ステップと、
交流電源の所定の電位を検知する電位検知ステップと、
前記電位検知ステップにて検知した所定の電位を起因と
して(含む、検知そのものにて)、前記復帰情報格納ス
テップにて格納された復帰情報と前記復帰情報退避処理
ステップにて格納された復帰情報とを比較する復帰情報
比較ステップと、前記復帰情報比較ステップの結果両情
報が一致しないならばプログラムの暴走が生じていると
判断してプログラム暴走に対するプログラム実行の中止
等所定の補償処理(プログラム暴走に対処する措置をと
る)をなすプログラム暴走対処ステップとを有している
ことを特徴としている。
In order to achieve the above object, in the invention of claim 1, a plurality of tasks can be processed according to a program (accordingly), and the task is returned to the original task when the task is switched. In order to detect a program runaway by storing the information necessary for doing so and comparing the information, etc., in the program runaway detection method, switching the process from the task currently being processed (including a subroutine) to the next task A task switching request step for requesting a return task, a return information storing step for storing return information to a task before switching to a task before switching when a task being executed is switched to a different task, and the return information storing step. The return information stored in step 1 is copied and stored in the return information save section that uses an area different from the step for storing the return information. And return information saving processing step that,
A potential detection step of detecting a predetermined potential of the AC power supply,
The restoration information stored in the restoration information storing step and the restoration information stored in the restoration information saving processing step are caused by the predetermined potential detected in the potential detecting step (including the detection itself). If both information do not match as a result of the return information comparing step of comparing the return information comparing step with the return information comparing step, it is determined that a program runaway has occurred, and predetermined compensation processing such as stop of program execution against the program runaway (program runaway The program has a program runaway coping step for taking a coping measure).

【0009】また、請求項2の発明においては、プログ
ラムにのっとって複数のタスクの処理が可能かつタスク
を切換える際に元のタスクへ復帰するために必要な情報
を保管し、該情報を使用してプログラムの暴走を検知す
るプログラム暴走検知装置において、目下処理中のタス
クから次のタスクの処理への切換えを要求するタスク切
換え要求部と、前記タスク切り換え要求部の要求により
処理中のタスクからあらかじめ定められる等した異なる
タスクへ切換えられた場合に切り換え前のタスクへの復
帰情報、例えば番地情報を格納する復帰情報格納部と、
前記復帰情報格納部とは異なる記憶領域を使用する復帰
情報退避部と、前記復帰情報格納部に格納された復帰情
報を複写して前記復帰情報退避部へ記憶させる復帰情報
退避処理部と、交流電源の所定の電位を検知する電位検
知部と、前記電位検知部の検知した電位を起因として前
記復帰情報格納部に格納されている復帰情報と前記復帰
情報退避部に格納されている復帰情報とを一致するか否
か比較する復帰情報比較部と、両情報の比較の結果若し
も一致しないならばプログラムの暴走が生じていると判
断して機器の停止等プログラム暴走に処する所定の補償
処理をなすプログラム暴走対処部とを有していることを
特徴としている。
According to the second aspect of the invention, a plurality of tasks can be processed according to a program, and the information necessary for returning to the original task when switching the tasks is stored and the information is used. In a program runaway detection device that detects program runaway, a task switching request unit requesting switching from the task currently being processed to the processing of the next task, and the task being processed in advance by a request from the task switching request unit. A return information storage unit that stores return information to the task before switching, for example, address information when switching to a different task such as defined,
A return information saving unit that uses a storage area different from that of the return information storing unit, a return information saving processing unit that copies the return information stored in the return information storing unit and stores it in the return information saving unit, and an alternating current A potential detection unit that detects a predetermined potential of the power supply, restoration information stored in the restoration information storage unit due to the potential detected by the potential detection unit, and restoration information stored in the restoration information saving unit. And a return information comparison unit that compares whether or not there is a match, and if there is no match as a result of the comparison of both information, it is determined that a program runaway has occurred and a predetermined compensation process for program runaway such as equipment stop It is characterized by having a program runaway coping unit that constitutes

【0010】また、請求項3の発明においては、前記電
位検知ステップに換えて若しくは併せての一定時間間隔
を測定する一定時間間隔測定ステップと、復帰情報比較
ステップが前記復帰情報格納ステップにて格納された復
帰情報と前記復帰情報退避ステップにて格納された復帰
情報とを比較する復帰情報比較小ステップと、前記一定
時間間隔測定ステップにおいて測定された時間間隔に同
期して(含む、一定の時間遅れ等)、前記復帰情報比較
小ステップを実際に行わせる復帰情報比較制御小ステッ
プとを有していることを特徴としている。
Further, in the invention of claim 3, a constant time interval measuring step for measuring a constant time interval in place of or in combination with the potential detecting step and a return information comparing step are stored in the return information storing step. The return information comparison small step of comparing the restored return information stored in the return information saving step and the restored return information stored in the return information saving step, and in synchronization with the time interval measured in the fixed time interval measuring step (including a fixed time Delay) and the return information comparison control small step for actually performing the return information comparison small step.

【0011】また、請求項4の発明においては、前記電
位検知部に換えての若しくは併せての、一定時間間隔を
測定する一定時間間隔測定部と、前記復帰情報比較部
が、前記一定時間間隔測定部が測定した一定時間間隔毎
にその旨の通知を受ける同期信号受信部分と、前記同期
信号受信部分の受信した同期信号を起因として前記復帰
情報格納部に格納されている復帰情報と前記復帰情報退
避部に格納されている復帰情報とを取出して比較する復
帰情報比較部分とを有していることを特徴としている。
Further, in the invention of claim 4, a constant time interval measuring unit for measuring a constant time interval, in place of or in combination with the potential detecting unit, and the return information comparing unit, are provided with the constant time interval. A synchronization signal receiving portion that receives a notification to that effect at regular time intervals measured by the measuring unit, return information stored in the return information storage unit due to the synchronization signal received by the synchronization signal receiving portion, and the return It is characterized in that it has a return information comparison part for extracting and comparing the return information stored in the information saving part.

【0012】また、請求項5の発明においては、前記電
位検知ステップにて検出した所定の電位の時間間隔を別
途定められた規則により専用のプログラムにのっとる等
して分割する(交流の各周期を1周期毎に順に分割する
ため、分周とも言われる。)分割ステップと、前記分割
ステップにおいて分割された時間間隔に同期して前記復
帰情報比較ステップを実行させる復帰情報比較制御ステ
ップとを有していることを特徴としている。
Further, in the invention of claim 5, the time interval of the predetermined potential detected in the potential detecting step is divided by a special program according to a separately defined rule (each AC cycle is defined as Since it is divided in sequence for each cycle, it is also called frequency division.) A dividing step and a return information comparison control step for executing the return information comparing step in synchronization with the time interval divided in the dividing step. It is characterized by

【0013】また、請求項6の発明においては、電位検
知部にて検出した所定の電位の時間間隔を別途定められ
た規則により分割する分割部と、前記分割部において分
割された時間間隔に同期して前記復帰情報比較部を駆動
させる復帰情報比較制御部とを備えたことを特徴として
いる。また、請求項7の発明においては、各タスクに応
じて定まる比較情報(含む、一部タスクでの比較情報の
欠損)をROM等からなる耐プログラム暴走性を有する
比較情報記憶部にあらかじめ記憶させておく比較情報記
憶ステップと、前記切換え前のタスクへの復帰情報若し
くはその複写情報を格納する復帰情報格納ステップ及び
復帰情報退避処理ステップに換えて若しくは併せて、上
記比較情報記憶部から所定の比較情報を取り出し、複写
して記憶領域に格納して記憶させる比較情報格納ステッ
プと、前記復帰情報格納ステップと復帰情報退避処理ス
テップにて格納された情報を比較する復帰情報比較ステ
ップに換えて若しくは併せて前記比較情報格納ステップ
にて複写の上格納記憶された比較情報をもとの情報と比
較する比較情報比較ステップとを有していることを特徴
としている。
Further, according to the invention of claim 6, the division unit divides the time interval of the predetermined potential detected by the potential detection unit according to a separately defined rule, and the time interval divided by the division unit is synchronized. And a return information comparison control unit for driving the return information comparison unit. Further, in the invention of claim 7, the comparison information determined according to each task (including the lack of the comparison information in some tasks) is stored in advance in the comparison information storage section including the ROM or the like having the program runaway resistance. In place of or in addition to the comparison information storing step, the return information storing step for storing the return information to the task before switching or the copy information thereof and the return information saving processing step, a predetermined comparison is made from the comparison information storing section. In place of or in combination with a comparison information storing step of taking out information, copying it, and storing it in a storage area for storage, and a return information comparing step of comparing the information stored in the return information storing step and the return information saving processing step. The comparison information comparison step for comparing the comparison information stored and stored in the comparison information storage step with the original information. It is characterized by and a flop.

【0014】また、請求項8の発明においては、各タス
クに応じて定まる比較情報(含む、全タスクが同一の比
較情報を使用する場合等)をあらかじめ記憶しておく耐
プログラム暴走性を有する比較情報記憶部と、プログラ
ム実行中に比較情報を記憶する比較情報実行中記憶部
と、前記切換え前のタスクへの復帰情報若しくはその複
写情報を格納する復帰情報格納部及び復帰情報退避処理
部に換えて若しくは併せて前記比較情報記憶部から所定
の比較情報を取り出しこれを複写して前記比較情報実行
中記憶部に格納して記憶させる比較情報格納部と、前記
復帰情報格納部と復帰情報退避処理部にて格納された情
報を比較する復帰情報比較部に換えて若しくは併せて前
記比較情報格納部により複写して前記比較情報実行中記
憶部に格納記憶された比較情報をもとの情報と比較する
比較情報比較部とを有していることを特徴としている。
Further, in the invention of claim 8, comparison information having program runaway resistance in which comparison information determined according to each task (including, when all tasks use the same comparison information, etc.) is stored in advance. An information storage unit, a comparison information execution storage unit that stores comparison information during program execution, and a return information storage unit and a return information save processing unit that store return information to the task before switching or copy information thereof In addition to or in addition, a predetermined comparison information is taken out from the comparison information storage unit, is copied, is stored in the comparison information executing storage unit and is stored therein, the return information storage unit and the return information saving process. The information stored in the comparison section is copied in the comparison information storage section instead of or in combination with the return information comparison section and stored in the comparison information execution storage section. It is characterized by and a comparison information comparing unit for comparing the original information comparison information.

【0015】また、請求項9の発明においては、前記プ
ログラム暴走対処ステップは、前記復帰情報格納ステッ
プにて格納された復帰情報若しくはこれに併せてのプロ
グラムを装備した機器の運転状態と初期設定状態の少な
くも一方を乾電池、蓄電池等別の電源を使用したり、金
属箔で外界から電磁気的に密閉されている等のため耐プ
ログラム暴走性を有する(破壊されない)耐暴走記憶部
に記憶させる暴走対処復帰情報記憶小ステップと、各タ
スク毎にそのタスクが終了したところからあらためて次
のタスクを実行するのに必要な情報(含む、再起動用の
プログラムそのものや機器の保護のための情報)をプロ
グラム実行に先立ちあらかじめ耐暴走性を有する再起動
用記憶部に記憶させておく(含む、機器の製造時に記憶
させておく。)再起動用記憶小ステップと、前記暴走対
処復帰情報記憶小ステップと前記再起動用記憶小ステッ
プに記憶されている情報をもとに暴走したプログラムの
停止後あらためて次のタスクからプログラムを実行させ
る暴走終了後続行型再起動小ステップとを有しているこ
とを特徴としている。
Further, in the invention of claim 9, the program runaway coping step includes an operating state and an initial setting state of a device equipped with the return information stored in the return information storing step or a program associated therewith. Runaway to have program runaway resistance (not destroyed) because at least one side uses a different power source such as a dry battery or storage battery, or is electromagnetically sealed from the outside with a metal foil. Handling Recovery information storage Small steps and information necessary for executing the next task from the end of each task (including information for restart program itself and device protection) Prior to execution of the program, it is stored in advance in the memory unit for restart having runaway resistance (including, when the device is manufactured). After the stop of the program that has runaway based on the information stored in the memory storage small step and the runaway handling recovery information storage small step and the restart memory storage small step After the runaway that causes the next task to execute the program again It is characterized in that it has a continuous restart small step.

【0016】また、請求項10の発明においては、前記
プログラム暴走対処部は、前記復帰情報格納部にて格納
された復帰情報若しくはこれに併せてのプログラムを装
備した運転状態と初期設定状態の少なくも一方を記憶
し、また耐プログラム暴走性を有する(破壊されない)
耐暴走記憶部に記憶させる暴走対処復帰情報記憶部分
と、各タスク毎に、そのタスクが終了したところからあ
らためて次のタスクを実行するのに必要な情報をプログ
ラム実行に先立ちあらかじめ記憶しておく、そして耐暴
走性を有するROM等からなる再起動用記憶部分と、前
記暴走対処復帰情報記憶部分と前記再起動用記憶部分に
記憶されている情報をもとに次のタスクからプログラム
を実行させる暴走終了後続行型再起動部分とを有してい
ることを特徴としている。
Further, in the invention of claim 10, the program runaway coping unit is equipped with the restoration information stored in the restoration information storage unit or a program associated therewith, and the operating state and the initial setting state are small. Also remembers one side and has program runaway resistance (not destroyed)
A runaway handling return information storage part to be stored in the runaway resistant storage part and information necessary for executing the next task from the end of the task for each task are stored in advance before the program execution, Then, the restarting memory part comprising a ROM or the like having runaway resistance, the runaway for causing the program to be executed from the next task based on the information stored in the runaway handling recovery information memory part and the restarting memory part. It is characterized by having a continuous restart part after completion.

【0017】[0017]

【作用】上記構成により、請求項1の発明においては、
プログラムにのっとって複数のタスクの処理が可能かつ
タスクを切換える際に、元のタスクへ復帰するために必
要な情報を保管し、該情報を使用してプログラムの暴走
を検知するプログラム暴走検知方法において、以下の作
用がなされる。タスク切り換え要求ステップにて、目下
処理中のタスクから次のタスクへの処理の切り換えを要
求する。復帰情報格納ステップにて、実行中のタスクか
ら異なるタスクへ切換えられた場合に、切り換え前のタ
スクへの復帰情報をプログラム用の記憶部等へ格納す
る。電位検知ステップにて、交流電源の所定の電位を検
知する。復帰情報退避処理ステップにて、前記復帰情報
格納ステップにて格納された復帰情報を、複写して前記
復帰情報格納ステップとは異なる領域を使用する復帰情
報退避部へ記憶させる。復帰情報比較ステップにて、前
記電位検知ステップにて検知した所定の電位を起因とし
て、前記復帰情報格納ステップにて格納された復帰情報
と前記復帰情報退避処理ステップにて格納された復帰情
報とを比較する。プログラム暴走対処ステップにて、前
記復帰情報比較ステップの結果両情報が一致しないと判
断されたならばプログラムの暴走が生じていると判断し
て、プログラム暴走に対する所定の補償処理をなす。
With the above structure, in the invention of claim 1,
A program runaway detection method capable of processing a plurality of tasks according to a program and storing information necessary for returning to the original task when switching tasks, and using the information to detect runaway of the program The following actions are performed. In the task switching request step, switching of processing from the task currently being processed to the next task is requested. In the return information storing step, when the task being executed is switched to a different task, the return information to the task before the switching is stored in the program storage unit or the like. In the potential detecting step, a predetermined potential of the AC power supply is detected. In the restoration information saving processing step, the restoration information stored in the restoration information storing step is copied and stored in the restoration information saving unit which uses an area different from that in the restoration information storing step. In the restoration information comparing step, the restoration information stored in the restoration information storing step and the restoration information stored in the restoration information saving processing step are caused by the predetermined potential detected in the potential detecting step. Compare. If it is determined in the program runaway handling step that the two pieces of information do not match as a result of the return information comparing step, it is determined that a program runaway has occurred, and a predetermined compensation process for the program runaway is performed.

【0018】また、請求項2の発明においては、プログ
ラムにのっとって複数のタスクの処理が可能かつタスク
を切換える際に元のタスクへ復帰するために必要な情報
を保管し、該情報を使用してプログラムの暴走を検知す
るプログラム暴走検知装置において、以下の作用がなさ
れる。タスク切換え要求部が、プログラムにのっとっっ
て、目下処理中のタスクから次のタスクの処理への切換
えを要求する。復帰情報格納部が、前記タスク切り換え
要求部の要求により処理中のタスクから異なるタスクへ
切換えられた場合に、切り換え前のタスクへの復帰情報
を格納する。復帰情報退避部が前記復帰情報格納部とは
異なる記憶領域を使用して所定の記憶を行なう。復帰情
報退避処理部が、前記復帰情報格納部に格納された復帰
情報を電磁気的に読み取る等した上で複写して前記復帰
情報退避部へ記憶させる。電位検知部が、交流電源の所
定の電位を検知する。復帰情報比較部が、前記電位検知
部の検知した電位を起因として、前記復帰情報格納部に
格納されている復帰情報と前記復帰情報退避部に格納さ
れている復帰情報とを比較する。プログラム暴走対処部
にて、両情報の比較の結果若し一致しないと判断される
ならばプログラムの暴走が生じていると判断して、機器
の使用者への警告等プログラム暴走に処する所定の補償
処理をなす。
According to the second aspect of the present invention, a plurality of tasks can be processed according to a program, and the information necessary for returning to the original task when switching the tasks is stored and used. In the program runaway detection device that detects a program runaway, the following actions are performed. The task switching request unit requests switching from the task currently being processed to the processing of the next task according to the program. The return information storage unit stores return information to the task before switching when the task being processed is switched to a different task in response to a request from the task switching request unit. The restoration information saving unit uses a storage area different from that of the restoration information storage unit to perform predetermined storage. The restoration information saving processing unit electromagnetically reads the restoration information stored in the restoration information storage unit, and then copies it and stores it in the restoration information saving unit. The potential detector detects a predetermined potential of the AC power supply. The restoration information comparison unit compares the restoration information stored in the restoration information storage unit with the restoration information stored in the restoration information saving unit due to the potential detected by the potential detection unit. If the program runaway control unit determines that the two information do not match as a result of comparison, it is determined that a program runaway has occurred, and a predetermined compensation is given to the program runaway, such as a warning to the user of the device. Do the processing.

【0019】また、請求項3の発明においては、前記直
流電源等にあっては電位検知ステップに換えての、交流
電源にあっては換えての若しくは併せての一定時間間隔
測定ステップにてタイマー等を使用する等して一定時間
間隔を測定する、復帰情報比較ステップの復帰情報比較
小ステップにて、前記復帰情報格納ステップにて格納さ
れた復帰情報と前記復帰情報退避ステップにて格納され
た復帰情報とを比較する。同じく、復帰情報比較制御小
ステップにて前記一定時間間隔測定ステップにおいて測
定した時間間隔に同期して、前記復帰情報比較小ステッ
プを実際に行わせる。
Further, in the invention of claim 3, a timer is used at a fixed time interval measuring step in place of the potential detecting step in the case of the DC power source or the like, or in the case of the AC power source. Measure a certain time interval by using, etc., in the return information comparison small step of the return information comparison step, the return information stored in the return information storage step and the return information saved in the return information save step Compare with return information. Similarly, in the return information comparison control small step, the return information comparison small step is actually performed in synchronization with the time interval measured in the constant time interval measuring step.

【0020】また、請求項4の発明においては、直流電
源ならば前記電位検知部に換えての、交流電源にあって
は換えての若しくは併せての一定時間間隔測定部が、一
定時間間隔を測定する。前記復帰情報比較部の、同期信
号受信部分が、前記一定時間間隔測定部が測定した一定
時間間隔毎にその旨の通知を受ける、同じく、復帰情報
比較部分が、前記同期信号受信部分の受信した同期信号
を起因として、前記復帰情報格納部に格納されている復
帰情報と前記復帰情報退避部に格納されている復帰情報
とを取り出して比較する。
Further, in the invention of claim 4, the constant time interval measuring unit in place of the potential detecting unit in the case of a DC power source, or in the AC power source, or in combination with the electric potential detecting unit sets a constant time interval. taking measurement. The synchronization signal receiving part of the return information comparing part receives a notification to that effect at every constant time interval measured by the constant time interval measuring part. Similarly, the return information comparing part receives the synchronization signal receiving part. Due to the synchronization signal, the return information stored in the return information storage unit and the return information stored in the return information saving unit are extracted and compared.

【0021】また、請求項5の発明においては、分割ス
テップにて、前記電位検知ステップにて検出した所定の
電位の時間間隔、例えば交流の周波数周期を別途定めら
れた規則により分割する。復帰情報比較制御ステップ
が、前記分割ステップにおいて分割された時間間隔に同
期して前記復帰情報比較ステップを実行させる。また、
請求項6の発明においては、分割部が、電位検知部にて
検出した所定の電位の時間間隔を別途定められプログラ
ム化される等した規則により分割する。復帰情報比較制
御部が、前記分割部において分割された時間間隔に同期
して前記復帰情報比較部を駆動させる。
Further, in the invention of claim 5, in the dividing step, the time interval of the predetermined potential detected in the potential detecting step, for example, the frequency cycle of alternating current is divided according to a separately determined rule. The return information comparison control step causes the return information comparison step to be executed in synchronization with the time intervals divided in the division step. Also,
In the invention of claim 6, the dividing section divides the time interval of the predetermined potential detected by the potential detecting section according to a rule that is separately determined and programmed. The return information comparison control unit drives the return information comparison unit in synchronization with the time intervals divided by the division unit.

【0022】また、請求項7の発明においては、比較情
報記憶ステップにて、各タスクに応じて定まる比較情報
を耐プログラム暴走性を有する比較情報記憶部にあらか
じめ記憶させておく。比較情報格納ステップにて、前記
切換え前のタスクへの復帰情報若しくはその複写情報を
格納する復帰情報格納ステップ及び復帰情報退避処理ス
テップに換えて若しくは併せて、比較情報記憶部から所
定の比較情報を取り出し、複写して記憶領域に格納して
記憶させる。比較情報比較ステップにて、前記復帰情報
格納ステップと復帰情報退避処理ステップにて格納され
た情報を比較する復帰情報比較ステップに換えて若しく
は併せて、前記比較情報格納ステップにて複写の上格納
記憶された比較情報をもとの情報と比較する。
Further, in the invention of claim 7, in the comparison information storing step, the comparison information determined in accordance with each task is stored in advance in the comparison information storage section having the program runaway resistance. In the comparison information storage step, predetermined comparison information is stored from the comparison information storage unit in place of or in addition to the return information storage step of storing the return information to the task before switching or the copy information thereof and the return information saving processing step. It is taken out, copied and stored in the storage area for storage. In the comparison information comparing step, in place of or in addition to the return information comparing step of comparing the information stored in the return information storing step and the information stored in the return information saving processing step, in the comparison information storing step, it is copied and stored. Compare the given comparison information with the original information.

【0023】また、請求項8の発明においては、耐プロ
グラム暴走性を有する比較情報記憶部が、各タスクに応
じて定まる比較情報をあらかじめ記憶しておく。比較情
報実行中記憶部が、プログラム実行中に比較情報を記憶
する。比較情報格納部が、前記切換え前のタスクへの復
帰情報若しくはその複写情報を格納する復帰情報格納部
及び復帰情報退避処理部に換えて若しくは併せて、前記
比較情報記憶部から処理のタスクに応じる等の所定の比
較情報を取り出し、これを複写して前記比較情報実行中
記憶部に格納して記憶させる。比較情報比較部が、前記
復帰情報格納部と復帰情報退避処理部にて格納された情
報を比較する復帰情報比較部に換えて若しくは併せて前
記比較情報格納部により複写して前記比較情報実行中記
憶部に格納記憶された比較情報を比較情報記憶部にある
もとの情報と比較する。
Further, in the invention of claim 8, the comparison information storage section having the program runaway resistance stores in advance the comparison information determined according to each task. The comparison information executing storage unit stores the comparison information during execution of the program. The comparison information storage unit, in place of or in addition to the return information storage unit and the return information saving processing unit that stores the return information or the copy information thereof to the task before switching, responds to the processing task from the comparison information storage unit. Predetermined comparison information such as is taken out, copied and stored in the comparison information executing storage unit for storage. The comparison information comparison unit is copying in the comparison information storage unit instead of or in addition to the return information comparison unit that compares the information stored in the return information storage unit and the information stored in the return information save processing unit, and the comparison information is being executed. The comparison information stored and stored in the storage unit is compared with the original information in the comparison information storage unit.

【0024】また、請求項9の発明においては、前記プ
ログラム暴走対処ステップの暴走対処復帰情報記憶小ス
テップにて、前記復帰情報格納ステップにて格納された
復帰情報若しくはこれに併せてのプログラムを装備した
機器の運転状態と使用者による初期の運転についての設
定状態の少なくも一方をプログラム暴走が生じても破壊
されない耐暴走記憶部に記憶させる。同じく再起動用記
憶小ステップにて、各タスク毎にそのタスクが終了した
ところからあらためて次のタスクを実行するのに必要な
情報をプログラム実行に先立ちあらかじめ耐暴走性を有
する再起動用記憶部に記憶させておく。同じく、暴走終
了後続行型再起動小ステップにて、前記暴走対処復帰情
報記憶小ステップと前記再起動用記憶小ステップに記憶
されている情報をもとにコンセントの再挿入等により暴
走が一旦停止した後単にプログラムをリセットしたりせ
ず、次のタスクからプログラムを実行させる。
Further, in the invention of claim 9, the recovery information stored in the recovery information storing step or a program associated with the recovery information is installed in the small program recovery information storing step of the program malfunction handling step. At least one of the operating state of the device and the setting state of the initial operation by the user is stored in the runaway-resistant storage unit that is not destroyed even if a program runaway occurs. Similarly, in the small step for restart memory, the information necessary to execute the next task from the point where each task is completed is newly stored in the restart memory that has runaway resistance before executing the program. Remember. Similarly, in the continuous restart small step after the end of the runaway, the runaway is temporarily stopped by re-inserting the outlet etc. based on the information stored in the small step for storing the recovery information for recovery from the runaway and the small step for storing the memory for restart. After that, do not simply reset the program, but execute the program from the next task.

【0025】また、請求項10の発明においては、前記
プログラム暴走対処部の暴走対処復帰情報記憶部分が、
前記復帰情報格納部にて格納された復帰情報若しくはこ
れに併せてのプログラムを装備した機器の運転状態と初
期設定状態の少なくも一方を記憶し、またプログラム暴
走が生じても破壊されない耐暴走記憶部に記憶させる。
同じく、耐暴走性を有する再起動用記憶部分が、各タス
ク毎に、そのタスクが終了したところからあらためて次
のタスクを実行するのに必要な情報をプログラム実行に
先立ちあらかじめ記憶しておく。同じく、暴走終了後続
行型再起動部分が、前記暴走対処復帰情報記憶部分と前
記再起動用記憶部分に記憶されている情報をもとに次の
タスクからプログラムを実行させる。
Further, in the invention of claim 10, the runaway handling return information storage portion of the program runaway handling portion is
The recovery information stored in the recovery information storage section, or at least one of the operating state and the initial setting state of the equipment equipped with the program associated therewith, is stored, and the runaway resistant memory is not destroyed even if the program runs out of control. To be stored in the department.
Similarly, the restarting storage unit having runaway resistance stores, for each task, information necessary to execute the next task anew from the point where the task ends, before the program is executed. Similarly, after the runaway, the continuation-type restart part causes the program to be executed from the next task based on the information stored in the runaway handling return information storage part and the restart storage part.

【0026】[0026]

【実施例】以下、本発明を実施例に基づいて説明する。 (第1実施例)図1は、本発明に係るプログラム暴走検
知装置の第1実施例の構成図である。このプログラム暴
走検知装置は、復帰情報格納部101と、復帰情報退避
部102と、タスク切換え要求部103と、復帰情報退
避処理部104と、電位検知部105と、復帰情報比較
部106と、処理停止部107とを備えている。
EXAMPLES The present invention will be described below based on examples. (First Embodiment) FIG. 1 is a block diagram of a first embodiment of a program runaway detecting apparatus according to the present invention. This program runaway detection device includes a return information storage unit 101, a return information save unit 102, a task switching request unit 103, a return information save processing unit 104, a potential detection unit 105, a return information comparison unit 106, and a process. And a stop portion 107.

【0027】そして、これらは本来の機器制御用プログ
ラムといわば一体となって作成され、また機能発揮する
ようにしている。また、その少なからぬ部分はRAM、
ROM等にいわばプログラム的な形式で記憶されてい
る。しかも、プログラムの基本的な部分は不揮発性メモ
リ等に記憶され、耐暴走性をも有している。また、マイ
コンの装備される機器本体は、その種類、作用等に応じ
て異常時にも最低限の安全性を確保する等に必要な乾電
池、蓄電池等を有していたりもする。更に、マイコンも
それらの電源を使用可能とされている。ただし、これら
のことそのものはいわば周知の技術であるため、そのハ
ード的、ソフト的な面の説明は省略し、以下その機能を
中心に説明する。
Then, these are created so as to be integrated with the original device control program, so that the functions can be exerted. In addition, the considerable part is RAM,
It is stored in a ROM or the like in a program-like format. Moreover, the basic part of the program is stored in a non-volatile memory or the like, and is also runaway resistant. In addition, the device body equipped with the microcomputer may have a dry battery, a storage battery or the like necessary for ensuring the minimum safety in the event of an abnormality, depending on its type, action, etc. Further, the microcomputer can use those power sources. However, since these things are so-called well-known techniques, description of their hardware and software aspects will be omitted, and their functions will be mainly described below.

【0028】復帰情報格納部101は、タスクの復帰情
報を格納する。ここで、復帰情報を格納するようにして
いるのは、比較情報としてわざわざ別途のものを作成し
てROM等に記憶させておき、いちいち比較用に読み出
して記憶させるという煩雑さの回避を図ったことによ
る。また、プログラムの暴走は、タスクの切り換え時に
生じ易いのが経験からも判明しており、このため復帰情
報を使用するのがプログラム作成の面からも、暴走を検
知して後の処理の面からも便利なことにもよる。電位検
知部105は0ボルトの電位を検知する。ここで、0ボ
ルトの電位を検知するようにしているのは、RAM化け
の重要な原因の一である落雷においても確実にプログラ
ムの暴走を検知しえるようにしたこと、家電機器用の交
流電源は電圧、周波数については各国様々であるが必ず
0ボルトがあること、可能な限り低位レベルの事象を利
用する(故障等生じ難い。また、電源がなくなれば、プ
ログラム処理は無意味となる。)ことを考慮したもので
ある。復帰情報比較部106は、電位検知部105の検
知す0ボルトの電位に同期して、復帰情報格納部101
に格納されている情報と、復帰情報退避部102に格納
されている情報とを比較し、同一か否かを判断する。処
理停止部107は、復帰情報比較部106で復帰情報を
比較した結果、不一致であったならばプログラム暴走と
判断し、システムの暴走を防ぐためにプログラムを停止
する。これは、2つの記憶内容がRAM化けで全く同じ
に変化するということは通常ありえないからである。こ
のため、プログラム暴走が確実に検知される。
The return information storage unit 101 stores the return information of the task. Here, the return information is stored in order to avoid the complexity of separately creating comparison information and storing it in a ROM or the like, and reading and storing the comparison information for comparison. It depends. Experience has also shown that program runaway is likely to occur when tasks are switched. Therefore, using return information from the viewpoint of program creation and the processing after detecting runaway. Also depends on what is convenient. The potential detector 105 detects a potential of 0 volt. Here, the 0 volt potential is detected because the program runaway can be surely detected even in the case of lightning, which is one of the important causes of ramification, and the AC power supply for home appliances. The voltage and frequency vary from country to country, but there is always 0 volt, and the lowest level event is used as much as possible (it is difficult to cause a failure, etc. Moreover, if the power supply is lost, the program processing becomes meaningless). This is a consideration. The restoration information comparison unit 106 synchronizes with the potential of 0 volt detected by the potential detection unit 105, and the restoration information storage unit 101.
And the information stored in the return information saving unit 102 are compared to determine whether or not they are the same. As a result of the comparison of the return information by the return information comparing unit 106, the processing stopping unit 107 determines that the program is out of control if they do not match, and stops the program to prevent the system from running out of control. This is because it is usually impossible for the two stored contents to change in exactly the same way in RAM. Therefore, the program runaway is surely detected.

【0029】次に、以上のように構成された本実施例の
プロブラム暴走検知装置の動作を図を参照しつつ説明す
る。図2は、その流れ図である。 (ステップS201)タスク1では処理1を行ってい
る。このときの復帰情報格納部101と復帰情報退避部
102の内容を図3に概念的に示す。 (ステップS202)タスク切換え要求部103からタ
スク切換え要求が発生する。これにより、タスク1から
タスク2に処理が切換えられる。このとき、復帰情報格
納部101に、タスク1への復帰位置を示すリターンア
ドレス(RET1)が格納される。なお、格納手段は、
従来のOS等にみられる既存の手法を用いる。このとき
の復帰情報格納部101と復帰情報退避部102の内容
を図4に概念的に示す。
Next, the operation of the program runaway detection device of the present embodiment constructed as described above will be described with reference to the drawings. FIG. 2 is a flowchart thereof. (Step S201) In task 1, processing 1 is performed. The contents of the return information storage unit 101 and the return information saving unit 102 at this time are conceptually shown in FIG. (Step S202) The task switching request unit 103 issues a task switching request. As a result, the processing is switched from task 1 to task 2. At this time, the return address (RET1) indicating the return position to the task 1 is stored in the return information storage unit 101. The storage means is
The existing method found in a conventional OS or the like is used. The contents of the return information storage unit 101 and the return information saving unit 102 at this time are conceptually shown in FIG.

【0030】(ステップS203)タスク2に処理が切
換わったときに、復帰情報退避処理部104が、復帰情
報格納部101に格納されているリターンアドレス(R
ET1)を、復帰情報退避部102に複写する。これを
リターンアドレス(RET2)とする。このときの復帰
情報格納部101と復帰情報退避部102の内容を図5
に概念的に示す。
(Step S203) When the process is switched to the task 2, the return information save processing unit 104 causes the return address (R) stored in the return information storage unit 101
ET1) is copied to the return information saving unit 102. This is the return address (RET2). The contents of the return information storage unit 101 and the return information saving unit 102 at this time are shown in FIG.
The concept is shown in.

【0031】(ステップS204)タスク2は、それ自
身の本来の処理を実行する。 (ステップS205)電位検知部105が、商用電源の
0ボルトの電位を検知する。 (ステップS206)復帰情報比較部106が、復帰情
報格納部101よりリターンアドレス(RET1)を取
り出す。
(Step S204) The task 2 executes its own original processing. (Step S205) The potential detection unit 105 detects the potential of 0 V of the commercial power supply. (Step S206) The return information comparison unit 106 retrieves the return address (RET1) from the return information storage unit 101.

【0032】(ステップS207)復帰情報比較部10
6が、復帰情報退避部102よりリターンアドレス(R
ET2)を取り出す。 (ステップS208)復帰情報比較部106が、(ステ
ップS206)において復帰情報格納部101より取り
出したリターンアドレス(RET1)と(ステップS2
07)において復帰情報退避部102より取り出したリ
ターンアドレス(RET2)とを比較する。その結果、
若し一致している場合には、(ステップS209)に進
む。不一致の場合には、(ステップS210)に進む。
(Step S207) Return information comparison unit 10
6 is the return address (R
Take out ET2). (Step S208) The return information comparison unit 106 compares the return address (RET1) retrieved from the return information storage unit 101 in (Step S206) with (Step S2).
In 07), the return address (RET2) retrieved from the return information saving unit 102 is compared. as a result,
If they match, the process proceeds to step S209. If they do not match, the process proceeds to (step S210).

【0033】(ステップS209)タスク2における処
理を続行する。そして、(ステップ204)に進む。 (ステップS210)不一致である場合、処理停止部1
07がプログラムを停止する。なお、本実施例において
(ステップ206)と(ステップ207)は、順序を逆
にしてもよいのは勿論である。
(Step S209) The processing in task 2 is continued. Then, the process proceeds to (step 204). (Step S210) If they do not match, the process stop unit 1
07 stops the program. In this embodiment, (step 206) and (step 207) may of course be reversed in order.

【0034】また、本実施例において、電位検知部10
5は0ボルトの電位だけを検知しているが、0ボルト以
外の電位を検知したり、2箇所以上の異なる電位を検知
してもよい。 (第2実施例)図6は、本発明に係るプログラム暴走検
知装置を備えた食器洗い機の本発明に関する部分を中心
とした構成を示すものである。なお、この食器洗い機そ
のものは従来のものと同じであるが、本実施例のプログ
ラム暴走検知装置そのものを説明するに先立って、この
食器洗い機について必要な部分につき概略説明する。
Further, in the present embodiment, the potential detecting section 10
Although 5 detects only the potential of 0 volt, it may detect a potential other than 0 volt, or may detect different potentials at two or more places. (Second Embodiment) FIG. 6 shows the construction of the dishwasher equipped with the program runaway detecting device according to the present invention, centering on the portion relating to the present invention. The dishwasher itself is the same as the conventional one, but prior to describing the program runaway detection device of this embodiment, a necessary part of the dishwasher will be briefly described.

【0035】図6において、601は食器類602を内
部に収納し併せて底部に洗浄水を溜める洗浄槽であり、
603は回転自在に支持され食器類602に向け洗浄水
を噴出する洗浄ノズルであり、604は洗浄水を前記洗
浄ノズル603に送り込む洗浄ポンプであり、前記洗浄
ポンプ604はモータ605によって駆動される。ま
た、606は前記洗浄槽601内の水位を検知して電気
信号として出力する水位検出端であり、607は前記洗
浄槽601の底部に装備されたヒータ(電熱器)であ
り、また、608は前記洗浄槽601の底部に外側より
密着するように取り付けられているサーミスタである。
また、609は、前記洗浄槽601内の蒸気を外部へ排
出する送風ファンであり、蒸気は排気口610より機外
へ排出される。また、611は、洗うべき食器を収納す
る食器用網箱である。
In FIG. 6, reference numeral 601 denotes a cleaning tank for accommodating the tableware 602 inside and also collecting cleaning water at the bottom.
A cleaning nozzle 603 is rotatably supported and ejects cleaning water toward the tableware 602, a cleaning pump 604 sends the cleaning water to the cleaning nozzle 603, and the cleaning pump 604 is driven by a motor 605. Further, 606 is a water level detecting end for detecting the water level in the cleaning tank 601 and outputting it as an electric signal, 607 is a heater (electric heater) equipped at the bottom of the cleaning tank 601, and 608 is The thermistor is attached to the bottom of the cleaning tank 601 so as to be in close contact with the outside.
A blower fan 609 discharges the steam in the cleaning tank 601 to the outside, and the steam is discharged to the outside of the machine through an exhaust port 610. Further, reference numeral 611 is a mesh box for tableware that stores the tableware to be washed.

【0036】次に、この食器洗い機の動作について説明
する。利用者が、食器類602を食器用網箱611に配
置し、洗浄槽601に収納し、併せて洗剤を入れた後運
転開始ボタン(図示せず)を押す。これにより、洗浄槽
601の底部に水位検出端606の作用のもと所定の給
水がなされる。次に、モータ605及びヒータ607に
通電される。次に、洗浄水は加熱されながら洗浄ポンプ
604により洗浄ノズル603から食器類602に向け
て噴出される。この際、制御手段612は、サーミスタ
608により洗浄水の温度を計測し、洗浄水の温度を常
に一定値となるように制御している。そして、洗浄水の
温度があらかじめ定められた所定の温度に到達してお
り、かつ、洗浄開始から所定時間経過したときには、制
御手段612は洗浄行程を終了し、洗浄水を一旦機
(槽)外へ排出する。次に、すすぎに入り、新たに給水
がなされ、洗剤こそ使用しないものの前述の洗浄行程と
同様の動作が数分間行われ、しかる後排水する。このす
すぎを数回繰り返した後、加熱すすぎと称される動作を
行い、洗浄水が別途定められた所定の高温に到達した時
点でこれを終了し、排水する。最後に、送風ファン60
9により洗浄槽601内の湿気を機外へ排出し、併せて
ヒータ607に間欠に通電して食器類602を加熱し、
付着している水滴を蒸発させ、乾燥させる。
Next, the operation of this dishwasher will be described. The user arranges the tableware 602 in the tableware net 611, stores it in the cleaning tank 601, puts the detergent together, and then presses the operation start button (not shown). As a result, predetermined water is supplied to the bottom of the cleaning tank 601 under the action of the water level detection end 606. Next, the motor 605 and the heater 607 are energized. Next, the washing water is jetted from the washing nozzle 603 toward the tableware 602 by the washing pump 604 while being heated. At this time, the control means 612 measures the temperature of the washing water by the thermistor 608 and controls the temperature of the washing water so as to be always a constant value. Then, when the temperature of the cleaning water has reached a predetermined temperature that has been determined in advance, and when a predetermined time has elapsed from the start of cleaning, the control means 612 ends the cleaning process, and once the cleaning water is removed from the machine (tank). To discharge. Next, a rinse is performed, water is newly supplied, and an operation similar to the above-described cleaning process is performed for a few minutes, although no detergent is used, and then the water is drained. After repeating this rinsing several times, an operation called heating rinsing is performed, and when the washing water reaches a predetermined high temperature separately determined, this is finished and the drainage is performed. Finally, blower fan 60
9, the moisture in the cleaning tank 601 is discharged to the outside of the machine, and at the same time, the heater 607 is intermittently energized to heat the tableware 602,
The attached water droplets are evaporated and dried.

【0037】次に、本発明に係るプログラム暴走検知装
置について説明する。本発明のプログラム暴走検知装置
は、図6で示すように、復帰情報格納部614と、復帰
情報退避部615と、タスク切換え要求部616と、復
帰情報退避処理部617と、電位検知部618と、復帰
情報比較部619と、処理停止部620とを備え、上述
の食器洗い機の制御手段612に接続されている。復帰
情報格納部614は、タスクの復帰情報を格納する。復
帰情報退避部615は、復帰情報格納部614に格納さ
れている情報の複写したものを格納する。タスク切換え
要求部616は、タスク切換えを要求する。復帰情報退
避処理部617は、復帰情報格納部614の情報を復帰
情報退避部615に複写する。電位検知部618は、0
ボルトの電位を検知する。復帰情報比較部619は、電
位検知部618より検知した0ボルトの電位に同期し
て、復帰情報格納部614に格納されている情報と、復
帰情報退避部615に格納されている情報とを比較し、
同一か否かを判断する。処理停止部620は、復帰情報
比較部619で復帰情報を比較した結果、若し不一致で
あった場合には、プログラム停止し、併せて利用者に所
定の警告音を発する。これによりシステムの暴走が防止
される。
Next, the program runaway detection device according to the present invention will be described. As shown in FIG. 6, the program runaway detection device of the present invention includes a return information storage unit 614, a return information save unit 615, a task switching request unit 616, a return information save processing unit 617, and a potential detection unit 618. A return information comparison unit 619 and a processing stop unit 620 are provided and are connected to the control unit 612 of the dishwasher described above. The return information storage unit 614 stores task return information. The return information save unit 615 stores a copy of the information stored in the return information storage unit 614. The task switching request unit 616 requests task switching. The return information saving processing unit 617 copies the information in the return information storage unit 614 to the return information saving unit 615. The potential detection unit 618 is 0
Detect the potential of the volt. The restoration information comparison unit 619 compares the information stored in the restoration information storage unit 614 with the information stored in the restoration information saving unit 615 in synchronization with the 0 volt potential detected by the potential detection unit 618. Then
Determine if they are the same. As a result of the comparison of the return information by the return information comparing unit 619, the process stopping unit 620 stops the program if there is a mismatch, and also issues a predetermined warning sound to the user. This prevents runaway of the system.

【0038】次に、この食器洗い機に適用したプログラ
ム暴走検知装置の動作を、図を参照しつつ説明する。な
お、この際タスク1の処理の一部である洗浄処理から、
タスク2の処理として給水処理へタスクが切換られた場
合を想定して説明する。図7は、この場合の前後におけ
る動作の流れ図である。本図において、 (ステップS701)タスク1では制御手段612の制
御により洗浄処理を行っている。このときの復帰情報格
納部614と復帰情報退避部615の内容を図8に概念
的に示す。
Next, the operation of the program runaway detecting device applied to this dishwasher will be described with reference to the drawings. At this time, from the cleaning process which is a part of the process of task 1,
Description will be made assuming that the task is switched to the water supply process as the process of the task 2. FIG. 7 is a flowchart of the operation before and after this case. In this figure, (step S701) in task 1, the cleaning process is performed under the control of the control means 612. The contents of the return information storage unit 614 and the return information saving unit 615 at this time are conceptually shown in FIG.

【0039】(ステップS702)食器洗い機用のプロ
グラムにのっとって、タスク切換え要求部616からタ
スク切換え要求が発生する。これにより、タスク1から
タスク2に処理が切換えられる。このとき、復帰情報格
納部614に、タスク1への復帰位置を示すリターンア
ドレスが格納されている。本実施例の場合には、0x3
0が格納されている。なお、格納手段は、従来のOS等
にみられる既存の手法を用いている。このときの復帰情
報格納部614と復帰情報退避部615の記憶している
内容を図9に概念的に示す。
(Step S702) Based on the program for the dishwasher, the task switching request unit 616 issues a task switching request. As a result, the processing is switched from task 1 to task 2. At this time, the return information storage unit 614 stores the return address indicating the return position to the task 1. In the case of this embodiment, 0x3
0 is stored. The storage means uses an existing method found in a conventional OS or the like. The contents stored in the return information storage unit 614 and the return information saving unit 615 at this time are conceptually shown in FIG.

【0040】(ステップS703)処理がタスク2に切
換わったときに、復帰情報退避処理部617は、復帰情
報格納部614に格納されているリターンアドレスであ
る0x30を復帰情報退避部615に複写する。このと
きの復帰情報格納部614と復帰情報退避部615の内
容を図10に概念的に示す。 (ステップS704)タスク2は、それ自身の本来の処
理の目的である洗浄槽601への給水を続行させる。
(Step S703) When the process is switched to the task 2, the return information save processing unit 617 copies the return address 0x30 stored in the return information storage unit 614 to the return information save unit 615. . The contents of the return information storage unit 614 and the return information saving unit 615 at this time are conceptually shown in FIG. (Step S704) The task 2 continues the water supply to the cleaning tank 601 which is the original purpose of its own treatment.

【0041】(ステップS705)電位検知部618
が、商用電源の0ボルトの電位を検知する。 (ステップS706)復帰情報比較部619が、復帰情
報格納部614よりリターンアドレス0x30を取り出
す。 (ステップS707)復帰情報比較部619が、復帰情
報退避部615よりリターンアドレス0x30を取り出
す。
(Step S705) Potential detection unit 618
Detects the 0 volt potential of the commercial power supply. (Step S706) The return information comparison unit 619 retrieves the return address 0x30 from the return information storage unit 614. (Step S707) The return information comparison unit 619 extracts the return address 0x30 from the return information saving unit 615.

【0042】(ステップS708)復帰情報比較部61
9が、(ステップS706)において復帰情報格納部6
14より取り出したリターンアドレスと(ステップS7
07)において復帰情報退避部615より取り出したリ
ターンアドレスとを比較する。その結果、若し一致して
いる場合には、(ステップS709)に進む。不一致の
場合には、(ステップS710)に進む。なお、一致し
ている場合の復帰情報格納部614と復帰情報退避部6
15の内容は、図10と同様である。また、不一致の場
合の復帰情報格納部614と復帰情報退避部615の内
容を図11に概念的に示す。
(Step S708) Return information comparison unit 61
9 in (step S706) the return information storage unit 6
And the return address fetched from 14 (step S7
In 07), the return address retrieved from the return information saving unit 615 is compared. As a result, if they match, the process proceeds to (step S709). If they do not match, the process proceeds to (step S710). The return information storage unit 614 and the return information saving unit 6 when they match
The content of 15 is the same as that of FIG. Further, the contents of the return information storage unit 614 and the return information saving unit 615 in the case of disagreement are conceptually shown in FIG.

【0043】(ステップS709)タスク2における給
水に必要な処理を続行する。そして、(ステップ70
4)に進む。 (ステップS710)不一致の場合には、処理停止部7
07がプログラムを停止する。なお、本実施例において
(ステップ706)と(ステップ707)は、実行順序
を逆にしてもよい。また、タスク切換え要求部616と
電位検知部618と処理停止部620とが制御手段61
2に含まれている場合、それを使用することも可能であ
る。
(Step S709) The process required for water supply in task 2 is continued. Then, (step 70
Proceed to 4). (Step S710) If they do not match, the processing stopping unit 7
07 stops the program. In addition, in this embodiment, the execution order of (step 706) and (step 707) may be reversed. Further, the task switching requesting unit 616, the potential detecting unit 618, and the processing stopping unit 620 are included in the control means 61.
If included in 2, it is also possible to use it.

【0044】さらに、本実施例において、電位検知部1
05は0ボルトの電位だけを検知しているが、0ボルト
以外の電位を検知したり、2箇所以上の異なる電位を検
知してもよい。以上のように本実施例によれば、実行中
のタスク1から異なるタスク2へ処理が切換えられた場
合に、確実に復帰情報の比較が行える。 (第3実施例)図12は、本発明に係るプログラム暴走
検知装置の第3実施例における構成図である。本実施例
のプログラム暴走検知装置は、先の第1実施例において
電位検知部105に代えて、クロックの一定間隔を検知
するクロック検知部1205を備えたものである。この
ため、同一の構成の部分には同一の符号を付すことによ
りその構成、動作等の説明は省略する。
Further, in the present embodiment, the potential detecting section 1
Although 05 detects only the potential of 0 V, it may detect a potential other than 0 V or detect different potentials at two or more places. As described above, according to the present embodiment, when the processing is switched from the task 1 being executed to a different task 2, the return information can be compared reliably. (Third Embodiment) FIG. 12 is a block diagram of a program runaway detecting apparatus according to the third embodiment of the present invention. The program runaway detecting apparatus of the present embodiment is provided with a clock detecting unit 1205 which detects a constant clock interval, instead of the potential detecting unit 105 in the first embodiment. Therefore, the same reference numerals are given to the same components, and the description of the configurations and operations will be omitted.

【0045】以下、本実施例固有の部分を主に説明す
る。先ず、構成であるが、クロック検知部1205は、
4msec間隔で経過時間を検知(測定)する。次に、
その動作を説明する。図13は、本実施例の動作流れ図
であるが、これは、図2におけるステップ205が、所
定のクロック間隔を検知するステップ1305に代わっ
た点が相違する。
The parts unique to this embodiment will be mainly described below. First, regarding the configuration, the clock detection unit 1205
The elapsed time is detected (measured) at intervals of 4 msec. next,
The operation will be described. FIG. 13 is an operation flow chart of this embodiment, except that step 205 in FIG. 2 is replaced with step 1305 of detecting a predetermined clock interval.

【0046】(ステップS201)から(ステップS2
04)までは、第1実施例と同じである。 (ステップS1305)クロック検知部1205が4m
sec間隔でクロックを検知する。以下、(ステップS
206)以降(ステップS210)までも第1実施例と
同じである。
From (step S201) to (step S2)
Up to 04), it is the same as in the first embodiment. (Step S1305) Clock detection unit 1205 is 4 m
The clock is detected at sec intervals. Hereafter, (step S
The steps after 206) (step S210) are the same as in the first embodiment.

【0047】なお、本実施例においても(ステップ20
6)と(ステップ207)は、実行順序を逆にしてもよ
い。また、本実施例において、クロック検知部1205
は4msec間隔で検知しているが、4msec以外の
時間間隔であってもよいのは勿論である。また、先の2
つの実施例と異なり電源は直流であってもよいのも勿論
である。 (第4実施例)図14に、本発明に係るプログラム暴走
検知装置を備えた食器洗い機を示す。本食器洗い機は、
図6に示す先の第2実施例の食器洗い機において、電位
検知部618に代えて、クロックの一定間隔を検知する
クロック検知部1418を備えた点が異なる。このた
め、同一の構成の部分には同一の符号を付すことによ
り、その構成、動作等の説明は省略する。
In this embodiment also (step 20
The execution order of 6) and (step 207) may be reversed. Further, in this embodiment, the clock detection unit 1205
Is detected at intervals of 4 msec, but it goes without saying that time intervals other than 4 msec may be detected. Also, the previous 2
It goes without saying that the power supply may be DC, unlike the two embodiments. (Fourth Embodiment) FIG. 14 shows a dishwasher equipped with a program runaway detecting device according to the present invention. This dishwasher
The dishwasher of the second embodiment shown in FIG. 6 is different in that a clock detection unit 1418 for detecting a constant clock interval is provided instead of the potential detection unit 618. Therefore, the same reference numerals are given to parts having the same configuration, and the description of the configuration, operation, etc. will be omitted.

【0048】以下、本実施例固有の部分を主に説明す
る。クロック検知部1418は、4msec間隔で検知
する。次に、その動作を説明する。図15は、その流れ
図であるが、図7と同じく、タスク1の処理の一部であ
る洗浄から、タスク2の処理としての給水へ切換られた
場合を想定したものである。(ステップS701)から
(ステップS704)までは第2実施例と同じである。
The parts unique to this embodiment will be mainly described below. The clock detection unit 1418 detects at 4 msec intervals. Next, the operation will be described. FIG. 15 is a flowchart thereof, but similar to FIG. 7, it is assumed that the cleaning, which is a part of the process of task 1, is switched to the water supply as the process of task 2. (Step S701) to (Step S704) are the same as those in the second embodiment.

【0049】(ステップS705)クロック検知部14
18が4msec間隔でクロックを検知する。以下、
(ステップS706)から(ステップS710)までも
第2実施例と同じである。なお、本実施例においても
(ステップ706)と(ステップ707)は、実行順序
を逆にしてもよい。
(Step S705) Clock detector 14
18 detects the clock at 4 msec intervals. Less than,
(Step S706) to (Step S710) are the same as those in the second embodiment. Note that the execution order of (step 706) and (step 707) may be reversed in this embodiment as well.

【0050】また、タスク切換え要求部616と電位検
知部618と処理停止部620とが制御手段612に含
まれている場合、それを使用することも可能である。さ
らに、本実施例において、クロック検知部1205は4
msec間隔で検知しているが、4msec以外の時間
間隔であってもよいのは勿論である。以上説明してきた
ように、本実施例によれば、実行中のタスク1から、タ
スク1とは異なるタスク2へ処理が切換えられた場合
に、クロックに同期して確実に復帰情報の比較が行え
る。
When the task switching requesting unit 616, the potential detecting unit 618, and the processing stopping unit 620 are included in the control means 612, they can be used. Further, in this embodiment, the clock detection unit 1205 has four
Although detection is performed at msec intervals, it goes without saying that time intervals other than 4 msec may be used. As described above, according to the present embodiment, when the processing is switched from the task 1 being executed to the task 2 different from the task 1, the return information can be reliably compared in synchronization with the clock. .

【0051】また、検知するクロック間隔は、プログラ
ム的に変更できるため、任意の間隔で暴走検知処理が可
能となる。 (第5実施例)図16は、本発明に係るプログラム暴走
検知装置の第5実施例の構成図である。本実施例のプロ
グラム暴走検知装置は、図11に示す先の第1実施例の
構成に加え、電位検知部105において検知した電位の
間隔で表される時間を、タイマなどにより、異なる時間
間隔に分割する分割部1601を備えた点が異なる。こ
のため、本実施例においても、主に固有の部分について
のみ、その構成、動作等を説明する。まず、構成である
が、電位検知部105は0ボルトの電位を検知する。6
0Hzの周波数帯である場合、一周期は約16msec
であるため、電位検知部105において検知する電位の
間隔は約8msecである。分割部1601は、電位検
知部105において検知した電位の間隔で表される時間
を、タイマを起動して約2msecごとに割り込みを発
生させることにより、4分割する。
Since the clock interval to be detected can be changed programmatically, the runaway detection process can be performed at any interval. (Fifth Embodiment) FIG. 16 is a block diagram of the fifth embodiment of the program runaway detecting apparatus according to the present invention. In addition to the configuration of the first embodiment shown in FIG. 11, the program runaway detection apparatus of the present embodiment changes the time represented by the potential interval detected by the potential detection unit 105 to a different time interval by a timer or the like. The difference is that a dividing unit 1601 for dividing is provided. Therefore, also in the present embodiment, the configuration, operation, and the like will be described mainly for the unique portion. First, regarding the configuration, the potential detection unit 105 detects a potential of 0 volt. 6
If the frequency band is 0 Hz, one cycle is about 16 msec.
Therefore, the potential interval detected by the potential detection unit 105 is about 8 msec. The dividing unit 1601 divides the time represented by the potential interval detected by the potential detecting unit 105 into four by activating a timer and generating an interrupt about every 2 msec.

【0052】次に、その動作を説明する。図17は、
(ステップS201)から(ステップS204)までの
動作は、第1実施例と同じである。 (ステップS1705)電位検知部105が商用電源の
0ボルトの電位を検知する、または分割部1601で起
動されたタイマによるタイマ割り込みを検知する。
Next, the operation will be described. Figure 17
The operation from (step S201) to (step S204) is the same as in the first embodiment. (Step S1705) The potential detection unit 105 detects the potential of 0 volt of the commercial power supply, or detects a timer interrupt by the timer activated by the division unit 1601.

【0053】(ステップS1701)電位検知部105
が0ボルトを検知した場合、(ステップS1702)に
進む。また、分割部1601によるタイマ割り込みであ
る場合、(ステップS206)に進む。 (ステップS1702)分割部1601が2msecご
とにタイマ割り込みを発生させるために、タイマを起動
する。起動後、(ステップS206)に進む。
(Step S1701) Potential detecting section 105
Detects 0 volt, the process proceeds to step S1702. If it is a timer interrupt by the dividing unit 1601, the process proceeds to (step S206). (Step S1702) The dividing unit 1601 activates a timer in order to generate a timer interrupt every 2 msec. After activation, the process proceeds to (step S206).

【0054】以下、(ステップS206)から(ステッ
プS210)までも、第1実施例と同じである。なお、
本実施例においても(ステップ206)と(ステップ2
07)は、実行順序を逆にしてもよい。また、電位検知
部105は0ボルトの電位だけを検知しているが、0ボ
ルト以外の電位を検知したり、2箇所以上の異なる電位
を検知してもよいのも勿論である。
Hereinafter, (step S206) to (step S210) are the same as in the first embodiment. In addition,
Also in this embodiment (step 206) and (step 2)
In 07), the execution order may be reversed. Further, the potential detection unit 105 detects only the potential of 0 volt, but it goes without saying that it may detect a potential other than 0 volt or detect different potentials at two or more locations.

【0055】さらに、本実施例において、分割部160
1は2msec間隔でタイマを検知していたが、1ms
ec間隔、4msec間隔、12msec間隔などの2
msecとは異なる間隔としてもよい。 (第6実施例)図18に、本発明に係るプログラム暴走
検知装置を備えた食器洗い機を示す。本食器洗い機は、
図6に示した先の第2実施例の食器洗い機において、電
位検知部105において検知した電位の間隔で表される
時間を、タイマなどにより異なる時間間隔に分割する分
割部1601を備えた点が異なる。このため、第4実施
例等と同じく固有の部分についてのみ説明する。
Further, in this embodiment, the dividing unit 160
1 detected the timer at 2msec intervals, but 1ms
ec interval, 4 msec interval, 12 msec interval, etc. 2
The interval may be different from msec. (Sixth Embodiment) FIG. 18 shows a dishwasher equipped with a program runaway detecting device according to the present invention. This dishwasher
The point that the dishwasher of the second embodiment shown in FIG. 6 is provided with a dividing unit 1601 that divides the time represented by the interval of the potential detected by the potential detecting unit 105 into different time intervals by a timer or the like. different. Therefore, like the fourth embodiment and the like, only the unique parts will be described.

【0056】まず、構成であるが、電位検知部105は
0ボルトの電位を検知する。60Hzの周波数帯である
場合には、一周期は約16msecであるため、電位検
知部105において検知する電位の間隔は約8msec
である。分割部1601は、電位検知部105において
検知した電位の間隔で表される時間をタイマを起動して
約2msecごとにタイマ割り込みを発生させることに
より、4分割する。
First, with the configuration, the potential detecting section 105 detects a potential of 0 volt. In the case of the frequency band of 60 Hz, one cycle is about 16 msec, and therefore the potential interval detected by the potential detection unit 105 is about 8 msec.
Is. The dividing unit 1601 divides the time represented by the potential interval detected by the potential detecting unit 105 into four by activating a timer and generating a timer interrupt about every 2 msec.

【0057】次に、本実施例の動作を説明する。図19
は、その流れ図であるが、図11と同じくタスク1の処
理の一部である洗浄から、タスク2の処理としての給水
へ切換られた場合を想定したものであり、(ステップS
701)から(ステップS704)までは第2実施例と
同じである。
Next, the operation of this embodiment will be described. FIG.
11 is a flow chart thereof, and it is assumed that the cleaning, which is a part of the process of task 1 as in FIG. 11, is switched to the water supply as the process of task 2, (step S
The steps from 701) to (step S704) are the same as in the second embodiment.

【0058】(ステップS1705)電位検知部618
が、商用電源の0ボルトの電位を検知する。または、分
割部1801で起動されたタイマによるタイマ割り込み
を検知する。 (ステップS1701)電位検知部105が0ボルトを
検知した場合、(ステップS1702)に進む。また、
分割部1801によるタイマ割り込みである場合、(ス
テップS706)に進む。
(Step S1705) Potential detector 618
Detects the 0 volt potential of the commercial power supply. Alternatively, a timer interrupt by the timer activated by the dividing unit 1801 is detected. (Step S1701) When the electric potential detection part 105 detects 0 volt, it progresses to (step S1702). Also,
If it is a timer interrupt by the dividing unit 1801, the process proceeds to (step S706).

【0059】(ステップS1702)分割部1801
が、2msecごとにタイマ割り込みを発生させるため
に、タイマを起動する。起動後、(ステップS706)
に進む。 以下、(ステップS706)から(ステップ
S710)までも、第2実施例と同じである。なお、本
実施例においても(ステップ706)と(ステップ70
7)とは、実行順序を逆にしてもよい。
(Step S1702) Dividing Unit 1801
Activates the timer in order to generate a timer interrupt every 2 msec. After startup (step S706)
Proceed to. Hereinafter, the steps (Step S706) to (Step S710) are the same as those in the second embodiment. In addition, also in the present embodiment, (step 706) and (step 70
The execution order of 7) may be reversed.

【0060】また、タスク切換え要求部616と電位検
知部618と処理停止部620とが制御手段612に含
まれている場合に、それを使用することも可能である。
さらに、本実施例においても、電位検知部105は0ボ
ルトの電位だけを検知しているが、0ボルト以外の電位
を検知したり、2箇所以上の異なる電位を検知するよう
にしてもよい。
If the task switching requesting unit 616, the potential detecting unit 618, and the processing stopping unit 620 are included in the control means 612, they can be used.
Further, in the present embodiment as well, the potential detection unit 105 detects only the potential of 0 volt, but it may detect a potential other than 0 volt or detect different potentials at two or more places.

【0061】以上のように本実施例によれば、実行中の
タスク1から、タスク1とは異なるタスク2へ処理が切
換えられた場合に、確実に復帰情報の比較が行え、か
つ、プログラム暴走検知間隔を任意の時間間隔に容易に
変更できる。このため、従来の問題を良好に低減でき、
かつ、検知間隔を容易に変更することができ、信頼性の
高いプログラム暴走検知装置となる。 (第7実施例)本実施例は基本的には先の第1実施例と
同じである。ただ、比較情報記憶部と比較情報実行中記
憶部と比較情報格納部と比較情報比較部を有しているの
が異なる。このため、これら固有の構成についてのみ説
明し、また内容が簡単なこともあり構成図は省略する。
As described above, according to the present embodiment, when the processing is switched from the task 1 being executed to the task 2 different from the task 1, the return information can be surely compared and the program runaway can be performed. The detection interval can be easily changed to any time interval. Therefore, the conventional problems can be reduced well,
In addition, the detection interval can be easily changed, and a highly reliable program runaway detection device can be obtained. (Seventh Embodiment) This embodiment is basically the same as the first embodiment. However, it is different in that it has a comparison information storage unit, a comparison information execution storage unit, a comparison information storage unit, and a comparison information comparison unit. Therefore, only these specific configurations will be described, and the configuration diagrams are omitted because the contents are simple.

【0062】比較情報記憶部は、各ステップに対応し
た、そして復帰情報に比べて量の多い比較情報をプログ
ラム本体作成時に併せて作成された上、不揮発性メモリ
に記憶している。比較情報実行中記憶部は、プログラム
本体実行中に使用される揮発性メモリに、各タスクに対
応した比較情報を記憶しえるように作製されている。
The comparison information storage unit stores, in the non-volatile memory, the comparison information corresponding to each step and having a larger amount than the return information, which is created at the time of creating the program main body. The comparison information executing storage unit is made so that the comparison information corresponding to each task can be stored in the volatile memory used during execution of the program body.

【0063】比較情報格納部は、タスク切り換え毎に、
切り換え前のタスクに対応する比較情報を比較情報記憶
部から取り出して複写し、これを比較情報実行中記憶部
の所定番地に格納記憶させる。比較情報比較部は、交流
電源が0ボトルになるごとに、比較情報格納部の切り換
え前のタスクに対応する比較情報と記憶情報実行中記憶
部の記憶情報とを比較し、若し両者に不一致があるなら
ば、プログラム暴走と判断する。
The comparison information storage unit stores the
The comparison information corresponding to the task before switching is taken out from the comparison information storage unit and copied, and stored and stored in a predetermined address of the comparison information executing storage unit. The comparison information comparison unit compares the comparison information corresponding to the task before the switching of the comparison information storage unit with the storage information in the storage information execution storage unit each time the AC power source becomes 0 bottle, and if they do not match each other. If there is, it is judged as a program runaway.

【0064】さて、復帰情報よりも量の多い比較情報が
完全に同一に変化する確率はより低い。このため、業務
用の洗濯機等、通常家庭で使用されるのに比較して重要
な機器の暴走、そしてそれに伴う絹織物等非常に高価か
つ傷み易い衣類の洗い過ぎや加熱過ぎによる損傷等の二
次的な損害発生防止の確実化が図れる。 (第8実施例)本実施例も、基本的には先の第1実施例
と同じである。ただ、暴走対処復帰情報記憶部と再起動
用記憶部と暴走終了後続行型再起動部とを有しているの
が異なる。このため、これら固有の構成についてのみ説
明する。
Now, the probability that the comparison information, which is larger than the return information, changes completely the same is lower. For this reason, runaway of equipment that is more important than those usually used at home, such as a washing machine for business use, and the accompanying damage such as excessive washing and excessive heating of very expensive and easily damaged clothes such as silk fabric. It is possible to ensure the prevention of secondary damage. (Eighth Embodiment) This embodiment is basically the same as the first embodiment. However, it is different in that it has a recovery information recovery information storage unit, a restart storage unit, and a restart type restarting unit after the runaway. Therefore, only these specific configurations will be described.

【0065】暴走対処復帰情報記憶部は、不揮発性メモ
リからなり、家電機器の現在の運転状態及び前のタスク
への復帰情報を記憶する。再起動用記憶部は、各タスク
毎に、そのタスクが終了したところからあらためて次の
タスクを実行するのに必要な情報、プログラム等を、プ
ログラム本体作成時に併せて作成され、これを、不揮発
性メモリに記憶している。
The runaway countermeasure return information storage unit is composed of a non-volatile memory and stores the current operating state of the home electric appliance and return information to the previous task. The memory for restart is created for each task together with the information, program, etc. necessary for executing the next task from the point where the task is finished, when the program itself is created. It is stored in memory.

【0066】暴走終了後続行型再起動部は、プログラム
暴走と判断されれば、プログラムを一旦停止後リセット
し、この上で暴走対処復起情報記憶部の記憶する情報か
ら暴走発生時のタスク及び使用者の初期設定値を知得
し、再起動用記憶部から必要な情報を読み出し、暴走発
生時のタスクを再度続行させる。これにより、家電機器
における何等かの理由による電源停止等に有効に対処し
うる。具体的には、VTRにおいては、電源再開後、記
録テープのプリロールやそれに伴う記憶位置の補償が自
動的になされ、コンセントがはずれる直前の場面からの
シーンがCRTに表示されることとなる。
When it is judged that the program is in a runaway state, the continuation-type restart section after the runaway is reset by temporarily stopping the program, and then, based on the information stored in the runaway handling recovery information storage section, The user's initial setting value is acquired, necessary information is read from the restart storage unit, and the task when the runaway occurs is restarted. As a result, it is possible to effectively deal with a power supply stoppage or the like in a home electric appliance for some reason. Specifically, in the VTR, after the power is restarted, the pre-roll of the recording tape and the accompanying storage position compensation are automatically performed, and the scene from the scene immediately before the outlet is disconnected is displayed on the CRT.

【0067】なお、本実施例では、暴走発生時のタスク
の暴走発生時点までの経過時間を考慮するようにしては
いないが、別途タイマによりこれを絶えず知得して不揮
発性メモリに記憶させることにより、既になされた時間
分は省略するようにしてもよい。これにより、電子レン
ジ等においては、食品に対する過度の加熱の防止が図れ
る。
In the present embodiment, the elapsed time until the runaway occurrence time of the task at the time of the runaway occurrence is not taken into consideration, but this must be continuously known by a separate timer and stored in the non-volatile memory. Therefore, the time already spent may be omitted. Thereby, in a microwave oven or the like, excessive heating of food can be prevented.

【0068】また、空調機器等では、コンセントの再挿
入、電源復帰による機器の再起動にあたり、冷媒の定常
化のため数分間停止を続行する等の機器の保護措置がプ
ログラム的に組み込まれてもよい。以上、本発明を実施
例にもとづいて説明してきたが、本発明は何も上記実施
例に限定されないのは勿論である。すなわち、以下のよ
うにしてもよい。
In the case of an air conditioner or the like, even when the re-insertion of the outlet and the restart of the device due to the restoration of the power supply, the protective measures of the device such as continuing the stop for several minutes to make the refrigerant steady are incorporated programmatically. Good. Although the present invention has been described above based on the embodiments, it goes without saying that the present invention is not limited to the above embodiments. That is, you may do as follows.

【0069】(1)製造等の都合で、本発明の必要不可
欠の構成要素(要件、事項)を物理的、機械的に複数の
ものとしたり、逆に複数のものを一体としたり、あるい
は適宜これらを組み合わせている。 (2)全実施例においては、タスクの切換が1つの場合
を示したが、複数のタスク切換が行われた場合には、複
数の比較すべき復帰情報が存在することとなるが、これ
らは、全て比較するようにしている。また、任意の復帰
情報を比較したり、順次比較するなどしている。
(1) For the convenience of manufacturing or the like, a plurality of essential components (requirements, matters) of the present invention may be physically or mechanically composed, or conversely, a plurality of components may be integrated, or appropriately. Combining these. (2) In all the embodiments, the case where one task is switched is shown. However, when a plurality of task switches are performed, there are a plurality of pieces of return information to be compared. , I try to compare all. Further, arbitrary return information is compared, or sequentially compared.

【0070】(3)各請求項の発明の作用が同時になさ
れる様にしている。
(3) The operations of the inventions of the claims are made at the same time.

【0071】[0071]

【発明の効果】以上説明してきたように、本発明によれ
ば、電源の所定の電位を検知し、これに同期して復帰情
報の比較を行うようにしているため、プログラムの動作
状態に関係なく確実に暴走の検知をなしえる。更に、交
流電源の所定の電位を検知するようにしているため、暴
走検知を行う周期を容易に設定等可能となる。従って、
プログラム暴走検知の信頼性が向上する。
As described above, according to the present invention, the predetermined potential of the power source is detected and the return information is compared in synchronization therewith, so that it is related to the operating state of the program. It can detect runaway without fail. Further, since the predetermined potential of the AC power supply is detected, it is possible to easily set the cycle for performing the runaway detection. Therefore,
The reliability of program runaway detection is improved.

【0072】また、クロック(時計、時信号)に同期し
て復帰情報の比較を行う場合には、電源の所定の電位を
検知する必要がなくなるため、比較間隔を任意に変更可
能としえる。従って、プログラム暴走検知間隔をプログ
ラム上で任意の時間間隔に修正可能となり、プログラム
暴走検知の信頼性が向上する。また、交流電源の所定の
電位を検知し、併せてタイマ(計時手段)等を用いて、
検知した電位の間隔で表される時間間隔と異なる時間間
隔に分割し、これに同期しての復帰情報の比較をも行う
場合には、暴走検知の周期が密となり、勿論プログラム
の動作状態に関係なく暴走検知を行える。
Further, when the return information is compared in synchronization with the clock (clock, hour signal), it is not necessary to detect a predetermined potential of the power source, so the comparison interval can be arbitrarily changed. Therefore, the program runaway detection interval can be corrected to an arbitrary time interval on the program, and the reliability of the program runaway detection is improved. In addition, a predetermined potential of the AC power supply is detected, and a timer (time measuring means) or the like is also used,
When dividing into time intervals different from the time interval represented by the interval of the detected potential and comparing the return information in synchronization with this, the runaway detection cycle becomes dense and, of course, the operating state of the program Runaway detection can be performed regardless.

【0073】このため、プログラム暴走検知の信頼性が
更に向上する。また、比較情報を使用することにより、
プログラム暴走の検知の確実性が向上する。また、家電
機器においては、使用者の誤操作に有効に対応しえる。
以上の効果のため、実用的な価値や効果は極めて大き
い。
Therefore, the reliability of program runaway detection is further improved. Also, by using the comparison information,
The reliability of program runaway detection is improved. In addition, in household electric appliances, it is possible to effectively deal with erroneous operation by the user.
Due to the above effects, the practical value and effect are extremely large.

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

【図1】本発明に係るプログラム暴走検知装置の第1実
施例の構成図である。
FIG. 1 is a configuration diagram of a first embodiment of a program runaway detection device according to the present invention.

【図2】上記実施例のプログラム暴走検知装置の動作流
れ図である。
FIG. 2 is an operation flow chart of the program runaway detection apparatus of the above embodiment.

【図3】同じく、タスク切換え前における復帰情報格納
部の内容と復帰情報退避部の内容の概念図である。
FIG. 3 is a conceptual diagram of the contents of a return information storage unit and the contents of a return information save unit before switching tasks.

【図4】同じく、タスク切換え直後における復帰情報格
納部の内容と復帰情報退避部の内容の概念図である。
FIG. 4 is a conceptual diagram of the contents of the return information storage unit and the contents of the return information save unit immediately after the task switching.

【図5】同じく、復帰情報退避処理部によって、復帰情
報格納部の内容を復帰情報退避部に複写した直後におけ
る復帰情報格納部の内容と復帰情報退避部の内容の概念
図である。
FIG. 5 is a conceptual diagram of the contents of the restoration information storage unit and the contents of the restoration information saving unit immediately after copying the contents of the restoration information storage unit to the restoration information saving unit by the restoration information saving processing unit.

【図6】上記第1実施例のプログラム暴走検知装置を採
用した食器洗い機の構成図である(第2実施例)。
FIG. 6 is a block diagram of a dishwasher adopting the program runaway detection device of the first embodiment (second embodiment).

【図7】上記第2実施例としてのプログラム暴走検知装
置の動作流れ図である。
FIG. 7 is an operation flow chart of the program runaway detection apparatus as the second embodiment.

【図8】同じく、タスク切換え前における復帰情報格納
部の内容と復帰情報退避部の内容の概念図である。
FIG. 8 is a conceptual diagram of the contents of the return information storage unit and the contents of the return information save unit before the task switching.

【図9】同じく、タスク切換え直後における復帰情報格
納部の内容と復帰情報退避部の内容の概念図である。
FIG. 9 is a conceptual diagram of the contents of the return information storage unit and the contents of the return information save unit immediately after switching tasks.

【図10】同じく、復帰情報退避処理部によって、復帰
情報格納部の内容を復帰情報退避部に複写した直後にお
ける復帰情報格納部の内容と復帰情報退避部の内容の概
念図である。
FIG. 10 is a conceptual diagram of the contents of the return information storage unit and the contents of the return information saving unit immediately after copying the contents of the return information storage unit to the return information saving unit by the return information saving processing unit.

【図11】同じく、復帰情報比較部が、不一致と判断す
る場合の、復帰情報格納部の内容と復帰情報退避部の内
容との概念図である。
FIG. 11 is a conceptual diagram of the contents of the restoration information storage unit and the contents of the restoration information saving unit when the restoration information comparison unit determines that they do not match.

【図12】本発明に係るプログラム暴走検知装置の第3
実施例の構成図である。
FIG. 12 is a third program runaway detecting device according to the present invention.
It is a block diagram of an Example.

【図13】上記実施例のプログラム暴走検知の動作流れ
図である。
FIG. 13 is a flowchart showing the operation of program runaway detection in the above embodiment.

【図14】上記第3実施例のプログラム暴走検知装置を
採用した食器洗い機の構成図である(第4実施例)。
FIG. 14 is a block diagram of a dishwasher adopting the program runaway detection device of the third embodiment (fourth embodiment).

【図15】上記第4実施例としてのプログラム暴走検知
装置の動作流れ図である。
FIG. 15 is an operation flow chart of the program runaway detection apparatus as the fourth embodiment.

【図16】本発明に係るプログラム暴走検知装置の第5
実施例の構成図である。
FIG. 16 is a fifth example of the program runaway detection device according to the present invention.
It is a block diagram of an Example.

【図17】上記実施例のプログラム暴走検知の動作流れ
図である。
FIG. 17 is an operation flow chart of program runaway detection of the above-described embodiment.

【図18】上記第5実施例としてのプログラム暴走検知
装置を採用した食器洗い機の構成図である(第6実施
例)。
FIG. 18 is a configuration diagram of a dishwasher adopting the program runaway detection device as the fifth embodiment (sixth embodiment).

【図19】上記第6実施例としてのプログラム暴走検知
装置の動作流れ図である。
FIG. 19 is an operation flowchart of the program runaway detection device as the sixth embodiment.

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

101 復帰情報格納部 102 復帰情報退避部 103 タスク切換え要求部 104 復帰情報退避処理部 105 電位検知部 106 復帰情報比較部 107 処理停止部 601 洗浄槽 602 食器類 603 洗浄ノズル 604 洗浄ポンプ 605 モータ 606 水位センサ 607 ヒータ 608 サーミスタ 609 送風ファン 610 排気口 611 カゴ 612 制御手段 613 演算手段 614 復帰情報格納部 615 復帰情報退避部 616 タスク切換え要求部 617 復帰情報退避処理部 618 電位検知部 619 復帰情報比較部 620 処理停止部 1205 クロック検知部 1418 クロック検知部 1601 分割部 1801 分割部 101 Recovery Information Storage Section 102 Recovery Information Saving Section 103 Task Switching Request Section 104 Recovery Information Saving Processing Section 105 Potential Detection Section 106 Recovery Information Comparison Section 107 Processing Stopping Section 601 Cleaning Tank 602 Dishware 603 Cleaning Nozzle 604 Cleaning Pump 605 Motor 606 Water Level Sensor 607 Heater 608 Thermistor 609 Blower fan 610 Exhaust outlet 611 Basket 612 Control means 613 Calculation means 614 Return information storage section 615 Return information save section 616 Task switching request section 617 Return information save processing section 618 Potential detection section 619 Return information comparison section 620 Processing stop unit 1205 Clock detection unit 1418 Clock detection unit 1601 Dividing unit 1801 Dividing unit

───────────────────────────────────────────────────── フロントページの続き (72)発明者 岩本 恵子 大阪府門真市大字門真1006番地 松下電器 産業株式会社内 (72)発明者 内山 亘 大阪府門真市大字門真1006番地 松下電器 産業株式会社内 ─────────────────────────────────────────────────── ─── Continuation of the front page (72) Inventor Keiko Iwamoto 1006 Kadoma, Kadoma, Osaka Prefecture Matsushita Electric Industrial Co., Ltd. (72) Wataru Uchiyama 1006 Kadoma, Kadoma City, Osaka Matsushita Electric Industrial Co., Ltd.

Claims (10)

【特許請求の範囲】[Claims] 【請求項1】 プログラムにのっとって複数のタスクの
処理が可能かつタスクを切換える際に元のタスクへ復帰
するために必要な情報を保管し、該情報を使用してプロ
グラムの暴走を検知するプログラム暴走検知方法におい
て、 目下処理中のタスクから次のタスクへの処理の切り換え
を要求するタスク切り換え要求ステップと、 処理中のタスクから異なるタスクへ切換えられた場合
に、切り換え前のタスクへの復帰情報を格納する復帰情
報格納ステップと、 前記復帰情報格納ステップにて格納された復帰情報を複
写して、前記復帰情報格納ステップとは異なる領域を使
用する復帰情報退避部へ記憶させる復帰情報退避処理ス
テップと、 交流電源の所定の電位を検知する電位検知ステップと、 前記電位検知ステップにて検知した所定の電位を起因と
して、前記復帰情報格納ステップにて格納された復帰情
報と前記復帰情報退避処理ステップにて格納された復帰
情報とを比較する復帰情報比較ステップと、 前記復帰情報比較ステップでの比較の結果、両情報が一
致しないならばプログラムの暴走が生じていると判断し
て、プログラム暴走に対する所定の補償処理をなすプロ
グラム暴走対処ステップとを有していることを特徴とす
るプログラム暴走検知方法。
1. A program capable of processing a plurality of tasks according to a program, storing information necessary for returning to the original task when switching the tasks, and detecting runaway of the program by using the information. In the runaway detection method, the task switching request step that requests switching of processing from the task currently being processed to the next task and the return information to the task before switching when the task being processed is switched to a different task. And a return information saving processing step of copying the return information stored in the return information storing step and storing it in a return information saving unit that uses an area different from that of the return information storing step. And a potential detection step of detecting a predetermined potential of the AC power source, and a predetermined potential detected in the potential detection step. As a cause, a return information comparison step of comparing the return information stored in the return information storing step with the return information stored in the return information saving processing step, and the result of the comparison in the return information comparing step, A program runaway detection method comprising: a program runaway handling step of determining that a program runaway has occurred if the two pieces of information do not match and performing a predetermined compensation process for the program runaway.
【請求項2】 プログラムにのっとって複数のタスクの
処理が可能かつタスクを切換える際に元のタスクへ復帰
するために必要な情報を保管し、該情報を使用してプロ
グラムの暴走を検知するプログラム暴走検知装置におい
て、 目下処理中のタスクから次のタスクへの処理の切換えを
要求するタスク切換え要求部と、 前記タスク切り換え要求部の要求により実行中のタスク
から異なるタスクへ切換えられた場合に、切り換え前の
タスクへの復帰情報を格納する復帰情報格納部と、 前記復帰情報格納部とは異なる記憶領域を使用する復帰
情報退避部と、 前記復帰情報格納部に格納された復帰情報を複写して前
記復帰情報退避部へ記憶させる復帰情報退避処理部と、 交流電源の所定の電位を検知する電位検知部と、 前記電位検知部の検知した電位を起因として、前記復帰
情報格納部に格納されている復帰情報と前記復帰情報退
避部に格納されている復帰情報とを比較する復帰情報比
較部と、 前記復帰情報比較部による両情報の比較の結果、一致し
ないならばプログラムの暴走が生じていると判断して、
プログラム暴走に処する所定の補償処理をなすプログラ
ム暴走対処部とを有していることを特徴とするプログラ
ム暴走検知装置。
2. A program capable of processing a plurality of tasks according to a program, storing information necessary for returning to the original task when switching the tasks, and detecting runaway of the program using the information. In the runaway detection device, a task switching request unit requesting switching of processing from a task currently being processed to a next task, and when a task being executed is switched to a different task by a request of the task switching request unit, A return information storage unit that stores return information to the task before switching, a return information save unit that uses a storage area different from the return information storage unit, and copy the return information stored in the return information storage unit. The recovery information saving processing unit for storing the recovery information in the recovery information saving unit, the potential detecting unit for detecting a predetermined potential of the AC power supply, and the voltage detected by the potential detecting unit. A return information comparison unit that compares the return information stored in the return information storage unit with the return information stored in the return information saving unit, and a comparison of both information by the return information comparison unit. If the results do not match, it is judged that a program runaway has occurred,
A program runaway detection device comprising: a program runaway handling unit that performs a predetermined compensation process for a program runaway.
【請求項3】 前記電位検知ステップに換えての若しく
は併せての一定時間間隔を測定する一定時間間隔測定ス
テップを有し、また前記復帰情報比較ステップが、 前記復帰情報格納ステップにて格納された復帰情報と前
記復帰情報退避ステップにて格納された復帰情報とを比
較する復帰情報比較小ステップと、 前記一定時間間隔測定ステップにおいて測定された時間
間隔に同期して、前記復帰情報比較小ステップを実際に
行わせる復帰情報比較制御小ステップとを有しているこ
とを特徴とする請求項1記載のプログラム暴走検知方
法。
3. A constant time interval measuring step for measuring a constant time interval in place of or in addition to the potential detecting step, and the return information comparing step is stored in the return information storing step. The return information comparison small step of comparing the return information and the return information stored in the return information saving step, and the return information comparison small step in synchronization with the time interval measured in the constant time interval measurement step. 2. The program runaway detection method according to claim 1, further comprising a small step of return information comparison control that is actually performed.
【請求項4】 前記電位検知部に換えての若しくは併せ
ての一定時間間隔を測定する一定時間間隔測定部を有
し、 前記復帰情報比較部が、 前記一定時間間隔測定部が測定した一定時間間隔毎にそ
の旨の通知を受ける同期信号受信部分と、 前記同期信号受信部分の受信した同期信号を起因とし
て、前記復帰情報格納部に格納されている復帰情報と前
記復帰情報退避部に格納されている復帰情報とを取出し
て比較する復帰情報比較部分とを有していることを特徴
とする請求項2記載のプログラム暴走検知装置。
4. A constant time interval measuring unit for measuring a constant time interval in place of or in addition to the potential detecting unit, wherein the return information comparing unit is configured to measure the constant time interval measured by the constant time interval measuring unit. The synchronization signal receiving portion that receives a notification to that effect at each interval, and the restoration information stored in the restoration information storage portion and stored in the restoration information saving portion due to the synchronization signal received by the synchronization signal receiving portion. 3. The program runaway detecting device according to claim 2, further comprising a return information comparing portion for extracting and comparing the present return information.
【請求項5】 前記電位検知ステップにて検出した所定
の電位の時間間隔を別途定められた規則により分割する
分割ステップと、 前記分割ステップにおいて分割された時間間隔に同期し
て前記復帰情報比較ステップを実行させる復帰情報比較
制御ステップとを有していることを特徴とする請求項1
記載のプログラム暴走検知方法。
5. A division step of dividing a time interval of a predetermined potential detected in the potential detection step according to a separately determined rule, and the return information comparing step in synchronization with the time interval divided in the division step. And a return information comparison control step for executing.
The program runaway detection method described.
【請求項6】 電位検知部にて検出した所定の電位の時
間間隔を別途定められた規則により分割する分割部と、 前記分割部において分割された時間間隔に同期して前記
復帰情報比較部を駆動させる復帰情報比較制御部とを備
えたことを特徴とする請求項2記載のプログラム暴走検
知装置。
6. A division unit that divides a time interval of a predetermined potential detected by the potential detection unit according to a separately determined rule, and the return information comparison unit in synchronization with the time interval divided by the division unit. 3. The program runaway detection device according to claim 2, further comprising a return information comparison control unit to be driven.
【請求項7】 各タスクに応じて定まる比較情報を耐プ
ログラム暴走性を有する比較情報記憶部にあらかじめ記
憶させておく比較情報記憶ステップと、 前記切換え前のタスクへの復帰情報若しくはその複写情
報を格納する復帰情報格納ステップ及び復帰情報退避処
理ステップに換えて若しくは併せて、上記比較情報記憶
部から所定の比較情報を取り出し、複写して記憶領域に
格納して記憶させる比較情報格納ステップと、 前記復帰情報格納ステップと復帰情報退避処理ステップ
にて格納された情報を比較する復帰情報比較ステップに
換えて若しくは併せて前記比較情報格納ステップにて複
写の上格納記憶された比較情報をもとの情報と比較する
比較情報比較ステップとを有していることを特徴とする
請求項1若しくは請求項3若しくは請求項5記載のプロ
グラム暴走検知方法。
7. A comparison information storage step of pre-storing comparison information determined according to each task in a comparison information storage section having program runaway resistance, and return information to the task before switching or copy information thereof. In place of or in addition to the return information storing step to store and the return information saving processing step, predetermined comparison information is taken out from the comparison information storage unit, copied, stored in a storage area, and stored, The original information based on the comparison information stored after copying in the comparison information storing step instead of or in addition to the return information comparing step for comparing the information stored in the return information storing step and the return information saving processing step And a comparison information comparing step of comparing with (1), (3) or (3). Program runaway detection method described.
【請求項8】 各タスクに応じて定まる比較情報をあら
かじめ記憶しておく耐プログラム暴走性を有する比較情
報記憶部と、 プログラム実行中に比較情報を記憶する比較情報実行中
記憶部と、 前記切換え前のタスクへの復帰情報若しくはその複写情
報を格納する復帰情報格納部及び復帰情報退避処理部に
換えて若しくは併せて、前記比較情報記憶部から所定の
比較情報を取り出し、これを複写して前記比較情報実行
中記憶部に格納して記憶させる比較情報格納部と、 前記復帰情報格納部と復帰情報退避処理部にて格納され
た情報を比較する復帰情報比較部に換えて若しくは併せ
て、前記比較情報格納部により複写して前記比較情報実
行中記憶部に格納記憶された比較情報をもとの情報と比
較する比較情報比較部とを有していることを特徴とする
請求項2若しくは請求項4若しくは請求項6記載のプロ
グラム暴走検知装置。
8. A comparison information storage section having program runaway resistance for storing comparison information determined in accordance with each task in advance, a comparison information execution storage section for storing comparison information during program execution, and the switching. In place of or in addition to the return information storage unit and the return information save processing unit for storing the return information to the previous task or the copy information thereof, predetermined comparison information is taken out from the comparison information storage unit, copied, and copied. Instead of or in addition to the comparison information storage unit for storing and storing the comparison information in progress storage unit and the return information comparison unit for comparing the information stored in the return information storage unit and the return information save processing unit, And a comparison information comparison unit for comparing the comparison information stored in the comparison information execution storage unit and copied and stored in the comparison information storage unit with the original information. 7. The program runaway detection device according to claim 2, claim 4, or claim 6.
【請求項9】 前記プログラム暴走対処ステップは、 前記復帰情報格納ステップにて格納された復帰情報若し
くはこれに併せてのプログラムを装備した機器の運転状
態と初期設定状態の少なくも一方を耐プログラム暴走性
を有する耐暴走記憶部に記憶させる暴走対処復帰情報記
憶小ステップと、 各タスク毎に、そのタスクが終了したところからあらた
めて次のタスクを実行するのに必要な情報をプログラム
実行に先立ちあらかじめ耐暴走性を有する再起動用記憶
部に記憶させておく再起動用記憶小ステップと、 前記暴走対処復帰情報記憶小ステップと前記再起動用記
憶小ステップに記憶されている情報をもとに次のタスク
からプログラムを実行させる暴走終了後続行型再起動小
ステップとを有していることを特徴とする請求項1若し
くは請求項2若しくは請求項5記載のプログラム暴走検
知方法。
9. The program runaway countermeasure step includes program runaway resistance for at least one of an operation state and an initial setting state of a device equipped with the return information stored in the return information storing step or a program associated therewith. The small step for storing the reckless run-away recovery information stored in the run-away-resistant storage unit and the information necessary for executing the next task from the point where the task is completed for each task are stored in advance in advance. Based on the information stored in the restart storage small step to be stored in the restart storage unit having runaway property, the runaway handling recovery information storage small step and the restart storage small step, The method further comprises a small step of continuous restart after the runaway for executing a program from a task. The program runaway detection method according to claim 2 or claim 5.
【請求項10】 前記プログラム暴走対処部は、 前記復帰情報格納部にて格納された復帰情報若しくはこ
れに併せてのプログラムを装備した機器の運転状態と初
期設定状態の少なくも一方を記憶し、また耐プログラム
暴走性を有する耐暴走記憶部に記憶させる暴走対処復帰
情報記憶部分と、 各タスク毎に、そのタスクが終了したところからあらた
めて次のタスクを実行するのに必要な情報をプログラム
実行に先立ちあらかじめ記憶しておく、そして耐暴走性
を有する再起動用記憶部分と、 前記暴走対処復帰情報記憶部分と前記再起動用記憶部分
に記憶されている情報をもとに次のタスクからプログラ
ムを実行させる暴走終了後続行型再起動部分とを有して
いることを特徴とする請求項2若しくは請求項4若しく
は請求項6記載のプログラム暴走検知方法。
10. The program runaway coping unit stores at least one of an operation state and an initial setting state of a device equipped with the return information stored in the return information storage unit or a program associated therewith, In addition, the runaway handling return information storage part to be stored in the runaway resistant storage part having program runaway resistance and the information necessary for executing the next task for each task from the point where the task is completed are stored in the program execution. A program is stored from the next task based on information stored in advance in advance, which has a runaway-resistant storage part for restart, and the runaway-handling recovery information storage part and the restart storage part. 7. The program runaway according to claim 2, claim 4 or claim 6, further comprising: a continuous restarting part after the runaway to be executed. Running detection method.
JP6331746A 1994-12-09 1994-12-09 Program runaway detection method and program runaway detection device Pending JPH08161202A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6331746A JPH08161202A (en) 1994-12-09 1994-12-09 Program runaway detection method and program runaway detection device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6331746A JPH08161202A (en) 1994-12-09 1994-12-09 Program runaway detection method and program runaway detection device

Publications (1)

Publication Number Publication Date
JPH08161202A true JPH08161202A (en) 1996-06-21

Family

ID=18247155

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6331746A Pending JPH08161202A (en) 1994-12-09 1994-12-09 Program runaway detection method and program runaway detection device

Country Status (1)

Country Link
JP (1) JPH08161202A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5461850A (en) * 1977-10-27 1979-05-18 Toshiba Corp Electronic computer
JPS5877684A (en) * 1981-11-04 1983-05-11 Mitsubishi Electric Corp clock circuit
JPS6464043A (en) * 1987-09-03 1989-03-09 Nec Corp Microcomputer with abnormal action monitoring device
JPH02304635A (en) * 1989-05-19 1990-12-18 Pfu Ltd Program runaway detection method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5461850A (en) * 1977-10-27 1979-05-18 Toshiba Corp Electronic computer
JPS5877684A (en) * 1981-11-04 1983-05-11 Mitsubishi Electric Corp clock circuit
JPS6464043A (en) * 1987-09-03 1989-03-09 Nec Corp Microcomputer with abnormal action monitoring device
JPH02304635A (en) * 1989-05-19 1990-12-18 Pfu Ltd Program runaway detection method

Similar Documents

Publication Publication Date Title
US6684111B2 (en) Apparatus for power failure identification in a programmable household appliance and method for identifying power failure
US5449884A (en) Overheating prevention apparatus of a boiling clothes washing machine and method thereof
JPH063586B2 (en) How to monitor the calculation module
CN104790169A (en) Washing machine control method and washing machine
JP2018514306A (en) Failure detection and processing method of washing machine
CN111820781B (en) Abnormal operation detection method, device, food processor and readable storage medium
CN110495831B (en) Dish washing machine control method and device, storage medium and dish washing machine
JPH08161202A (en) Program runaway detection method and program runaway detection device
CN112783354A (en) Control method, device and equipment of touch device and storage medium
CN117071243B (en) Touch key control method, controller and clothes treatment equipment
CN111166204B (en) Cleaning method of food processing device
CN110514688A (en) Boiling point detecting method, device, storage medium
CN110623616B (en) Dishwasher control method and device, storage medium and dishwasher
JP3901230B2 (en) Pachinko game machine
KR970015902A (en) How to detect filter clogging in the washing machine
KR20000068286A (en) Slave DSP reboots stalled master CPU
CN114645430A (en) Laundry treating apparatus, control method thereof, and storage medium
CN120918539A (en) Dishwasher abnormality monitoring method, controller and dishwasher
KR890003479B1 (en) How to Prepare for Micom's Power Failure
JPS63171112A (en) control circuit
KR950030982A (en) How to dry dishes in the dishwasher
JP4523698B2 (en) Dishwasher switch circuit
JP3545317B2 (en) dishwasher
KR950001919Y1 (en) Multifunctional control device for single drying operation of dishwasher
JPH01138364U (en)