JPH04107641A - Information processor - Google Patents

Information processor

Info

Publication number
JPH04107641A
JPH04107641A JP2227275A JP22727590A JPH04107641A JP H04107641 A JPH04107641 A JP H04107641A JP 2227275 A JP2227275 A JP 2227275A JP 22727590 A JP22727590 A JP 22727590A JP H04107641 A JPH04107641 A JP H04107641A
Authority
JP
Japan
Prior art keywords
fault
value
failure
information
counter
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2227275A
Other languages
Japanese (ja)
Other versions
JP2589403B2 (en
Inventor
Akihiko Kunihara
國原 昭彦
Katsuya Sato
勝也 佐藤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
NEC Miyagi Ltd
Original Assignee
NEC Corp
NEC Miyagi 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 NEC Corp, NEC Miyagi Ltd filed Critical NEC Corp
Priority to JP2227275A priority Critical patent/JP2589403B2/en
Publication of JPH04107641A publication Critical patent/JPH04107641A/en
Application granted granted Critical
Publication of JP2589403B2 publication Critical patent/JP2589403B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)
  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

PURPOSE:To output the fault detecting result in real time by providing a shared counter whose count value is increased or decreased when one of fault information processing tasks detects the changing point of the fault input information. CONSTITUTION:Plural (n) pieces of application programs are provided opposite to (n) pieces of fault information processing tasks An (n = 1 - n) and carried out in time division by an operating system. The tasks A1 - An monitor the changing point of the fault input information and adds together the value of a shared counter B when a fault occurs. Then the information showing the absence of a fault with the value of the counter B equal to '0' and the presence of the fault with the value of the counter B equal to '1 - n' respectively are outputted. Thus the fault information is outputted in real time to the fault input information.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、情報処理装置のオペレーティング・システム
に利用する。特に、装置全体のn個の障害入力情報に対
する障害検出結果を決定する手段に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention is used in an operating system for an information processing device. In particular, the present invention relates to means for determining fault detection results for n pieces of fault input information for the entire device.

〔概要〕〔overview〕

本発明は、情報処理装置上の複数個の障害入力情報に対
する検出結果を決定するにおいて、アプリケーション・
プログラム上でタスクが共有するカウンタを設けること
により、 検出結果をリアルタイムで出力することができるように
したものである。
The present invention provides an application for determining detection results for multiple fault input information on an information processing device.
By providing a counter shared by tasks in the program, detection results can be output in real time.

〔従来の技術〕[Conventional technology]

従来は、第2図に示すように、n個の障害入力情報によ
るフラグを1つのタスクで周期的にサンプリングし論理
和を求めることにより、障害情報の出力状態を決定して
いた。
Conventionally, as shown in FIG. 2, the output state of fault information was determined by periodically sampling flags based on n pieces of fault input information in one task and calculating the logical sum.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

従来例では、n個の障害入力情報の論理和を求める際に
、n個の障害入力情報を周期的にサンプリングし、かつ
論理計算をし出力する方式をとっていたので、サンプリ
ング周期により障害入力情報に対する障害検出結果の出
力の精度が決定し、リアルタイムな障害情報の出力がで
きず、また障害検出結果の出力の精度を向上させるため
にサンプリング周期を短くした場合には、処理全体とし
ての負荷が多くなる欠点があった。
In the conventional example, when calculating the logical sum of n pieces of fault input information, a method was adopted in which the n pieces of fault input information were periodically sampled, logical calculations were performed, and output. The accuracy of outputting fault detection results for information is determined, and if real-time fault information cannot be output, and if the sampling period is shortened to improve the accuracy of outputting fault detection results, the overall processing load will increase. There was a drawback that there were a lot of

本発明は、このような欠点を除去するもので、障害情報
をリアルタイムで出力することができる手段を有する情
報処理装置を提供することを目的とする。
SUMMARY OF THE INVENTION The present invention aims to eliminate such drawbacks and to provide an information processing device having means capable of outputting fault information in real time.

〔課題を解決するための手段〕 本発明は、複数n個のアプリケーション・プログラムを
備え、このアプリケーションプログラムを時分割に実行
させる環境をもつオペレーティング・システムと、上記
アプリケーション・プログラム対応に設けられ、このア
プリケーション・プログラムの実行に伴う障害入力情報
の変化点を互いに同一のプライオリティで監視するn個
の障害情報処理タスクと、障害入力情報の有無を示す障
害検出結果を出力する出力端子とを備えた情報処理装置
において、上記障害情報処理タスクのひとつが障害入力
情報の変化点を検出したときに計数値が増減され、この
計数値が所定値以外の値であるときに上記出力端子に障
害入力情報の有を示す障害検出結果をを与えるカウンタ
を備えたことを特徴とする。
[Means for Solving the Problems] The present invention provides an operating system which is provided with a plurality of n application programs and has an environment for executing the application programs in a time-sharing manner, and which is provided to correspond to the above application programs. Information that includes n fault information processing tasks that monitor changes in fault input information as the application program is executed, each with the same priority, and an output terminal that outputs a fault detection result indicating the presence or absence of fault input information. In the processing device, when one of the fault information processing tasks detects a change point in the fault input information, the count value is increased or decreased, and when this count value is a value other than a predetermined value, the fault input information is output to the output terminal. The present invention is characterized in that it includes a counter that provides a fault detection result indicating that there is a fault.

ここで、上記カウンタは、障害発生時に増計数し、障害
復旧時に減計数し、計数値がゼロ以外の値のときに上記
出力端子に障害入力情報の有を示す障害検出結果を与え
る構成であっても良い。
Here, the counter is configured to increase the count when a failure occurs, decrement the count when the failure is recovered, and to provide a failure detection result indicating the presence of failure input information to the output terminal when the count value is a value other than zero. It's okay.

〔作用〕[Effect]

n個の障害情報処理タスクが障害入力情報の変化点をも
とにカウンタの内容を増減し、個々の障害情報処理タス
クがリアルタイムにカウンタの内容と現在の障害出力状
態の比較を行い、不一致の場合にのみ障害情報の出力状
態を変換させる。
The n fault information processing tasks increase or decrease the content of the counter based on the change point of the fault input information, and each fault information processing task compares the counter content and the current fault output state in real time, and detects discrepancies. The output state of fault information is changed only when the error occurs.

〔実施例〕〔Example〕

以下、本発明の一実施例について図面を参照して説明す
る。第1図は、この実施例のn個の障害情報収集タスク
が共有するカウンタを用いた障害情報出力手段を示す。
An embodiment of the present invention will be described below with reference to the drawings. FIG. 1 shows fault information output means using a counter shared by n fault information collection tasks in this embodiment.

この実施例は、第1図に示すように、オペレーティング
・システムにより時分割に実行される複数n個のアプリ
ケーション・プログラム対応に設けられ、このアプリケ
ーション・プログラムの実行に伴う障害入力情報の変化
点を互いに同一のプライオリティで監視するn個の障害
情報処理タスクA1ないしAnと、障害入力情報の有無
を示す障害検出結果を出力する出力端子Cとを備え、さ
らに、本発明の特徴とする手段として、障害情報処理タ
スクAIないしAnのひとつが障害入力情報の変化点を
検出したときに、障害発生時であれば増計数し、障害復
旧時であれば減計数し、計数値がゼロ以外の値のときに
出力端子Cに障害入力情報の有を示す障害検出結果を与
える構成であるカウンタである共有カウンタBを備える
As shown in FIG. 1, this embodiment is provided for a plurality of n application programs that are executed in a time-sharing manner by an operating system, and detects the change points of failure input information accompanying the execution of these application programs. The present invention is characterized by comprising n failure information processing tasks A1 to An that are monitored with the same priority, and an output terminal C that outputs a failure detection result indicating the presence or absence of failure input information. When one of the failure information processing tasks AI or An detects a change point in the failure input information, it increments the count if the failure has occurred, decrement the count if the failure has been recovered, and returns the count value to a value other than zero. A shared counter B is provided as a counter configured to sometimes provide an output terminal C with a fault detection result indicating the presence of fault input information.

次に、この実施例の動作を説明する。Next, the operation of this embodiment will be explained.

n個の障害情報処理タスクAn(n=lからn)が障害
入力情報の変化点を監視し、障害なしから障害発生への
変化があった場合に、共有カウンタBの値を加算を行い
、障害ありから障害復旧への変化でカウンタの値の減算
を行う。そして、個々の障害情報処理タスクが共有カウ
ンタBの値によって障害情報の出力状態を決定する。す
なわち、カウンタの値が「0」で障害なし、共有カウン
タBの値が「1」からrn」で障害ありの情報を出力す
る。
n failure information processing tasks An (n = l to n) monitor the change point of failure input information, and when there is a change from no failure to failure occurrence, increment the value of the shared counter B, The counter value is decremented when there is a change from failure to failure recovery. Then, each fault information processing task determines the output state of the fault information based on the value of the shared counter B. That is, information is output that there is no failure when the value of the counter is "0" and that there is a failure when the value of the shared counter B is "1" to "rn".

複数のアプリケーション・タスクを時分割に実行する環
境を有するオペレーティング・システムではすべてのア
プリケーション・タスクが時分割に処理の実行を行うの
で、障害入力情報に対してリアルタイムに障害情報の出
力を行うことができる。
In an operating system that has an environment in which multiple application tasks are executed in a time-sharing manner, all application tasks execute processing in a time-sharing manner, so failure information can be output in real time in response to failure input information. can.

〔発明の効果〕〔Effect of the invention〕

本発明は、以上説明したように、n個の障害情報処理タ
スクが1個のカウンタを共有し、個々の障害情報処理タ
スクが有するカウンタにもとづく障害情報の出力を行う
ので、障害検出結果をリアルタイムに出力し、かつ他の
アプリケーション・タスクを早く実行できる効果がある
As explained above, the present invention allows n fault information processing tasks to share one counter and output fault information based on the counter of each fault information processing task. This has the effect of allowing other application tasks to be executed quickly.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明実施例の構成図。 第2図は実施例の動作を示す概念図。 第3図は従来例の構成図。 A1〜An・・・障害情報処理タスク、B・・・共有カ
ウンタ、C・・・出力端子。
FIG. 1 is a configuration diagram of an embodiment of the present invention. FIG. 2 is a conceptual diagram showing the operation of the embodiment. FIG. 3 is a configuration diagram of a conventional example. A1 to An...fault information processing task, B...shared counter, C...output terminal.

Claims (1)

【特許請求の範囲】 1、複数n個のアプリケーション・プログラムを備え、
このアプリケーションプログラムを時分割に実行させる
手段をもつオペレーティング・システムと、 上記アプリケーション・プログラム対応に設けられ、こ
のアプリケーション・プログラムの実行に伴う障害入力
情報の変化点を互いに同一のプライオリティで監視する
n個の障害情報処理タスクと、 障害入力情報の有無を示す障害検出結果を出力する出力
端子と を備えた情報処理装置において、 上記障害情報処理タスクのひとつが障害入力情報の変化
点を検出したときに計数値が増減され、この計数値が所
定値以外の値であるときに上記出力端子に障害入力情報
の有を示す障害検出結果を与えるカウンタ を備えたことを特徴とする情報処理装置。 2、上記カウンタは、障害発生時に増計数し、障害復旧
時に減計数し、計数値がゼロ以外の値のときに上記出力
端子に障害入力情報の有を示す障害検出結果を与える構
成である特許請求項1記載の情報処理装置。
[Claims] 1. A plurality of n application programs,
An operating system having a means for executing this application program in a time-sharing manner; and n operating systems that are provided corresponding to the above application program and monitor changes in fault input information accompanying the execution of this application program with the same priority. In an information processing device equipped with a fault information processing task of An information processing device comprising: a counter that increases or decreases a count value and provides a failure detection result indicating the presence of failure input information to the output terminal when the count value is a value other than a predetermined value. 2. The above-mentioned counter is configured to increase the count when a failure occurs, decrement the count when the failure is recovered, and to provide a failure detection result indicating the presence of failure input information to the output terminal when the count value is a value other than zero. The information processing device according to claim 1.
JP2227275A 1990-08-28 1990-08-28 Information processing device Expired - Lifetime JP2589403B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2227275A JP2589403B2 (en) 1990-08-28 1990-08-28 Information processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2227275A JP2589403B2 (en) 1990-08-28 1990-08-28 Information processing device

Publications (2)

Publication Number Publication Date
JPH04107641A true JPH04107641A (en) 1992-04-09
JP2589403B2 JP2589403B2 (en) 1997-03-12

Family

ID=16858268

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2227275A Expired - Lifetime JP2589403B2 (en) 1990-08-28 1990-08-28 Information processing device

Country Status (1)

Country Link
JP (1) JP2589403B2 (en)

Also Published As

Publication number Publication date
JP2589403B2 (en) 1997-03-12

Similar Documents

Publication Publication Date Title
GB1420878A (en) Data processing control system
JPH04107641A (en) Information processor
JPH03145894A (en) Trend display system
JPS6115239A (en) Processor diagnosis system
JPS62147538A (en) Reset system for watchdog timer for device using microcomputer
JPH0196752A (en) Multi-processor device
JPS5856152A (en) Program converting device
JPS61120211A (en) Accuracy monitor method of sampling cycle
JPH04259045A (en) Watchdog timer monitoring system
JPH0795294B2 (en) Information processing equipment
JPH01185738A (en) Address trace circuit
JPS5983438A (en) Program failure detecting system
JPH01243132A (en) System for processing trouble
JPH02126342A (en) Method for detecting runaway of microcomputer
JPS6358544A (en) Electronic computer system
JPS63226745A (en) Processor system
JPH0329857A (en) Automatic analytical network apparatus
JPS59188709A (en) Plant diagnosing device
JPS5834855B2 (en) Computer monitoring method
JPH01154258A (en) Malfunction detecting device using watchdog timer
JPH10161908A (en) Detection of run-away of microcomputer
JPS616722A (en) Method for calculating execution cost of sentence
JPH0448342A (en) Interface fault processing system
JPH04256036A (en) Program analysis system
JPH0795293B2 (en) Information processing equipment