JP2589403B2 - Information processing device - Google Patents
Information processing deviceInfo
- Publication number
- JP2589403B2 JP2589403B2 JP2227275A JP22727590A JP2589403B2 JP 2589403 B2 JP2589403 B2 JP 2589403B2 JP 2227275 A JP2227275 A JP 2227275A JP 22727590 A JP22727590 A JP 22727590A JP 2589403 B2 JP2589403 B2 JP 2589403B2
- Authority
- JP
- Japan
- Prior art keywords
- fault
- information processing
- input information
- failure
- information
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Lifetime
Links
Description
【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、情報処理装置のオペレーティング・システ
ムに利用する。特に、装置全体のn個の障害入力情報に
対する障害検出結果を決定する手段に関する。DETAILED DESCRIPTION OF THE INVENTION [Industrial Application Field] The present invention is used for an operating system of an information processing apparatus. In particular, the present invention relates to means for determining a failure detection result for n pieces of failure input information of the entire apparatus.
本発明は、情報処理装置上の複数個の障害入力情報に
対する検出結果を決定する手段において、 アプリケーション・プログラム上でタスクが共有する
カウンタを設けることにより、 検出結果をリアルタイムで出力することができるよう
にしたものである。The present invention provides a means for determining a detection result for a plurality of pieces of failure input information on an information processing apparatus, wherein a counter shared by a task on an application program is provided so that the detection result can be output in real time. It was made.
複数のアプリケーション・プログラムを時分割に実行
するオペレーティング・システムをもつ情報処理装置に
おいては、各アプリケーション・プログラムを複数のタ
スクに分けて実行させる。このような情報処理装置をマ
ルチタスク処理装置という。このとき、この情報処理装
置は障害の発生を各アプリケーション・プログラムご
と、すなわちタスクごとに監視して障害処理を行う必要
があり、各アプリケーション・プログラムに対応して障
害情報収集を行う障害情報処理タスクが設けられてい
る。この障害情報処理タスクにより収集された障害情報
はオペレータに出力されて通知される。In an information processing apparatus having an operating system that executes a plurality of application programs in a time-division manner, each application program is divided into a plurality of tasks and executed. Such an information processing device is called a multitask processing device. At this time, the information processing apparatus needs to monitor the occurrence of a failure for each application program, that is, for each task and perform failure processing, and perform a failure information processing task for collecting failure information corresponding to each application program. Is provided. The fault information collected by the fault information processing task is output to the operator and notified.
この従来のマルチタスク情報処理装置の障害情報の出
力方式は、第3図に示すように、n個のアプリケーショ
ン・プログラムに対応するn個の障害入力情報によるフ
ラグを1つのタスクで周期的にサンプリングし論理和を
求めることにより、障害情報の出力状態を決定してい
た。As shown in FIG. 3, this conventional multitask information processing apparatus outputs a failure information by periodically sampling flags of n pieces of failure input information corresponding to n application programs by one task. By calculating the logical sum, the output state of the fault information is determined.
従来例では、n個の障害入力情報の論理和を求める際
に、n個の障害入力情報を周期的にサンプリングし、か
つ論理計算をして出力する方式をとっていたので、サン
プリング周期により障害入力情報に対する障害検出結果
の出力の精度が決定し、リアルタイムな障害情報の入力
ができず、また障害検出結果の出力の精度を向上させる
ためにサンプリング周期を短くした場合には、処理全体
としての負荷が多くなる欠点があった。In the conventional example, when calculating the logical sum of the n pieces of fault input information, a method of periodically sampling the n pieces of fault input information and performing a logical calculation and outputting the same is adopted. If the accuracy of the output of the fault detection result with respect to the input information is determined and real-time fault information cannot be input, and if the sampling cycle is shortened to improve the accuracy of the output of the fault detection result, the overall processing There was a disadvantage that the load increased.
本発明は、このような欠点を除去するもので、障害情
報をリアルタイムで出力することができる手段を有する
情報処理装置を提供することを目的とする。An object of the present invention is to eliminate such a drawback and to provide an information processing apparatus having means capable of outputting fault information in real time.
本発明は、複数n個のアプリケーション・プログラム
を備え、このアプリケーションプログラムを時分割に実
行させる手段をもつオペレーティング・システムと、上
記アプリケーション・プログラム対応に設けられ、この
アプリケーション・プログラムの実行に伴う障害の発生
を知らせる障害入力情報の変化点をアプリケーション・
プログラムごとにそれぞれ同一のプライオリティで監視
するn個の障害情報処理タスクと、障害入力情報の有無
を示す障害検出結果を出力する出力手段とを備えた情報
処理装置において、上記出力手段は、上記障害情報処理
タクスのひとつが障害入力情報の変化点を検出したとき
に計数値が増減され、この計数値が所定値以外の値であ
るときに上記出力端子に障害入力情報の有を示す障害検
出結果を与えるカウンタを含むことを特徴とする。The present invention provides an operating system including a plurality of n application programs and having means for executing the application programs in a time-sharing manner, and an operating system provided corresponding to the application programs and having a failure caused by the execution of the application programs. The change point of the fault input information that informs the occurrence
An information processing apparatus comprising: n pieces of fault information processing tasks that are monitored with the same priority for each program; and output means that outputs a fault detection result indicating the presence or absence of fault input information. The count value is increased or decreased when one of the information processing tasks detects a change point of the fault input information. When the count value is a value other than a predetermined value, a fault detection result indicating the presence of fault input information at the output terminal. And a counter for giving
ここで、上記カウンタは、障害発生時に増計数し、障
害復旧時に減計数し、計数値がゼロ以外の値のときに上
記出力端子に障害入力情報の有を示す障害検出結果を与
える構成であっても良い。Here, the counter is configured to increment when a fault occurs, decrement when recovering from the fault, and provide a fault detection result indicating fault input information to the output terminal when the count value is a value other than zero. May be.
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 content of the counter with the current fault output state in real time. The output state of the fault information is converted only in the case.
以下、本発明の一実施例について図面を参照して説明
する。第1図は、この実施例のn個の障害情報収集タス
クが共有するカウンタを用いた障害情報出力手段を示
す。Hereinafter, an embodiment of the present invention will be described with reference to the drawings. FIG. 1 shows fault information output means using a counter shared by n fault information collecting tasks of this embodiment.
この実施例は、第1図に示すように、オペレーティン
グ・システムにより時分割に実行される複数n個のアプ
リケーション・プログラム対応に設けられ、このアプリ
ケーション・プログラムの実行に伴う障害入力情報の変
化点を互いに同一のプライオリティで監視するn個の障
害情報処理タスクA1ないしAnと、障害入力情報を有無を
示す障害検出結果を出力する出力端子Cとを備え、さら
に、本発明の特徴とする手段として、障害情報処理タス
クA1ないしAnのひとつが障害入力情報の変化点を検出し
たとき、障害発生時であれば増計数し、障害復旧時であ
れば減計数し、計数値がゼロ以外の値のときに出力端子
Cに障害入力情報を有を示す障害検出結果を与える構成
のカウンタである共有カウンタBを備える。As shown in FIG. 1, this embodiment is provided for a plurality of n application programs which are executed by the operating system in a time-division manner. It comprises n fault information processing tasks A1 to An that monitor with the same priority as each other, and an output terminal C that outputs a fault detection result indicating the presence or absence of fault input information. Further, as a feature of the present invention, When one of the fault information processing tasks A1 to An detects a change point in the fault input information, increments the count when a fault occurs, decrements the count when recovering from the fault, and when the count value is non-zero. A shared counter B, which is a counter configured to provide a failure detection result indicating that failure input information is present at the output terminal C.
次に、この実施例の動作を説明する。 Next, the operation of this embodiment will be described.
n個の障害情報処理タスクAn(n=1からn)が障害
入力情報の変化点を監視し、障害なしから障害発生への
変化があった場合に、共有カウンタBの値の加算を行
い、障害ありから障害復旧への変化でカウンタの値の減
算を行う。そして、個々の障害情報処理タスクが共有カ
ウンタBの値によって障害情報の出力状態を決定する。
すなわち、カウンタの値が「0」で障害なし、共有カウ
ンタBの値が「1」から「n」で障害ありの情報を出力
する。n fault information processing tasks An (n = 1 to n) monitor the change points of the fault input information, and when there is a change from no fault to fault occurrence, add the value of the shared counter B, The counter value is subtracted by the change from failure to recovery. Then, each failure information processing task determines the output state of the failure information based on the value of the shared counter B.
That is, information indicating 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 "n" is output.
複数のアプリケーション・タスクを時分割に実行する
環境を有するオペレーティング・システムではすべての
アプリケーション・タスクが時分割に処理の実行を行う
ので、障害入力情報に対してリアルタイムに障害情報の
出力を行うことができる。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 that fault information can be output in real time in response to fault input information. it can.
本発明は、以上説明したように、n個の障害情報処理
タスクが1個のカウンタを共有し、個々の障害情報処理
タスクが有するカウンタにもとづく障害情報の出力を行
うので、障害検出結果をリアルタイムに出力し、かつ他
のアプリケーション・タスクを早く実行できる効果があ
る。According to the present invention, as described above, n fault information processing tasks share one counter and output fault information based on the counters of each fault information processing task. And the other application tasks can be executed quickly.
【図面の簡単な説明】 第1図は本発明実施例の構成図。 第2図は実施例の動作を示す概念図。 第3図は従来例の構成図。 A1〜An……障害情報処理タスク、B……共有カウンタ、
C……出力端子。BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a block 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: Failure information processing task, B: Shared counter,
C: Output terminal.
Claims (2)
を備え、このアプリケーションプログラムを時分割に実
行させる手段をもつオペレーティング・システムと、 上記アプリケーション・プログラム対応に設けられ、こ
のアプリケーション・プログラムの実行に伴う障害の発
生を知らせる障害入力情報の変化点をアプリケーション
・プログラムごとにそれぞれ同一のプライオリティで監
視するn個の障害情報処理タスクと、 障害入力情報の有無を示す障害検出結果を出力する出力
手段と を備えた情報処理装置において、 上記出力手段は、上記障害情報処理タクスのひとつが障
害入力情報の変化点を検出したときに計数値が増減さ
れ、この計数値が所定値以外の値であるときに上記出力
端子に障害入力情報の有を示す障害検出結果を与えるカ
ウンタを含む ことを特徴とする情報処理装置。An operating system comprising a plurality of n application programs and means for executing the application programs in a time-sharing manner, and an obstacle provided for the application programs and associated with the execution of the application programs The system comprises: n fault information processing tasks for monitoring change points of fault input information for notifying the occurrence of the fault with the same priority for each application program; and output means for outputting a fault detection result indicating presence / absence of fault input information. In the information processing device, the output means increases or decreases the count value when one of the fault information processing tasks detects a change point of the fault input information, and outputs the count value when the count value is a value other than a predetermined value. Gives a fault detection result indicating the presence of fault input information to the output terminal An information processing device comprising a counter.
障害復旧時に減計数し、計数値がゼロ以外の値のときに
上記出力端子に障害入力情報の有を示す障害検出結果を
与える構成である請求項1記載の情報処理装置。2. The method according to claim 1, wherein the counter is incremented when a fault occurs.
2. The information processing apparatus according to claim 1, wherein the information processing apparatus is configured to count down at the time of recovery from the failure and to provide a failure detection result indicating presence of failure input information to the output terminal when the counted value is a value other than zero.
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 JPH04107641A (en) | 1992-04-09 |
JP2589403B2 true 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) |
-
1990
- 1990-08-28 JP JP2227275A patent/JP2589403B2/en not_active Expired - Lifetime
Also Published As
Publication number | Publication date |
---|---|
JPH04107641A (en) | 1992-04-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4034363B2 (en) | Performance monitoring method and system for operating system based program | |
JP4562568B2 (en) | Abnormality detection program and abnormality detection method | |
JP2020512613A5 (en) | ||
GB1420878A (en) | Data processing control system | |
JP3751466B2 (en) | Program response time prediction device | |
JP2589403B2 (en) | Information processing device | |
JPS63163932A (en) | System monitoring system for control computer | |
JP2715904B2 (en) | Computer system performance evaluation device | |
JP2665380B2 (en) | System error detection processing method | |
CN112540900B (en) | Real-time monitoring and analyzing method for large-scale parallel program | |
JPH0626807Y2 (en) | Measurement signal processor | |
JPS62147538A (en) | Reset system for watchdog timer for device using microcomputer | |
JPS63257041A (en) | Diagnosing system for system of real time os | |
JP2842748B2 (en) | Monitoring and control method for information processing equipment | |
JPS5834855B2 (en) | Computer monitoring method | |
JPS6358568A (en) | Monitor system for execution of decentralized computer | |
JPH04259045A (en) | Watchdog timer monitoring system | |
JPS63289654A (en) | Program branching instruction monitoring system | |
JPH0196752A (en) | Multi-processor device | |
JPH04349542A (en) | Diagnostic system for real time operating system | |
JPH02284238A (en) | Program debugging device | |
JPH04155543A (en) | Self detecting system for microcomputer malfunction | |
CN112948214A (en) | Software overload warning method and device | |
JPH06131205A (en) | Deadlock restart system | |
JPH04256036A (en) | Program analysis system |