JPS62256050A - Setting device for program execution monitoring time - Google Patents
Setting device for program execution monitoring timeInfo
- Publication number
- JPS62256050A JPS62256050A JP61097956A JP9795686A JPS62256050A JP S62256050 A JPS62256050 A JP S62256050A JP 61097956 A JP61097956 A JP 61097956A JP 9795686 A JP9795686 A JP 9795686A JP S62256050 A JPS62256050 A JP S62256050A
- Authority
- JP
- Japan
- Prior art keywords
- program
- time
- execution time
- program execution
- monitoring
- 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
Links
- 238000012544 monitoring process Methods 0.000 title claims abstract description 33
- 238000012806 monitoring device Methods 0.000 claims abstract description 7
- 238000012360 testing method Methods 0.000 abstract description 6
- 230000005856 abnormality Effects 0.000 abstract description 2
- 230000001105 regulatory effect Effects 0.000 abstract 1
- 238000000034 method Methods 0.000 description 4
- 230000006870 function Effects 0.000 description 3
- 241000282412 Homo Species 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000004364 calculation method Methods 0.000 description 1
- 230000001934 delay Effects 0.000 description 1
- 239000000284 extract Substances 0.000 description 1
- 230000004044 response Effects 0.000 description 1
Landscapes
- Testing And Monitoring For Control Systems (AREA)
- Debugging And Monitoring (AREA)
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明は、計算機に係り特に制御用計算機のプログラム
実行時間監視に好適なプログラム実行監視時間の設定装
置に関するものである。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to computers, and particularly to a program execution monitoring time setting device suitable for monitoring program execution time of a control computer.
従来のプログラム実行時間監視装置においては、監視時
間は人間が設定していた。この監視時間を自動的に設定
する機能については、従来の装置では配慮されていなか
った。尚、この技術に関連し特開昭52−58439号
公報が知られている。In conventional program execution time monitoring devices, the monitoring time is set by a human. Conventional devices have not taken into consideration the function of automatically setting the monitoring time. Incidentally, Japanese Patent Application Laid-Open No. 52-58439 is known in connection with this technique.
上記従来技術は、プログラム実行監視時間を人間が設定
するため設定時間が不適当である場合がある。監視時間
が短かい時は、該当制御機能を実行するプログラムが暴
走していると該認識して、該当機能を停止するためにシ
ステムダウンとなる可能性があり、監視時間が長い時は
、制御機能に遅れを生じ、プロセスに悪影響を及ぼして
いた。In the above-mentioned conventional technology, the program execution monitoring time is set by a human, so the set time may be inappropriate. When the monitoring time is short, the program that executes the control function may recognize that it is running out of control, and the system may go down as the function is stopped. When the monitoring time is long, the control This caused delays in functionality and negatively impacted processes.
制御用計算機は、近年ますます規模が増大しているため
、プログラムの個数も増加し、1000個を越すほどに
なっており、人間が全プログラムに対して、適格な監視
時間を設定する事が困難な状況となってきている0本発
明の目的は、プログラム実行時間監視装置において、監
視時間を自動的に設定することにある。As control computers have been increasing in size in recent years, the number of programs has also increased to over 1,000, making it difficult for humans to set appropriate monitoring times for all programs. The purpose of the present invention is to automatically set the monitoring time in a program execution time monitoring device.
上記目的は、プログラム実行時間統計装置と。 The above purpose is a program execution time statistics device.
この統計値をもとに、プログラム実行監視時間設定装置
を設ける事により達成される。This is achieved by providing a program execution monitoring time setting device based on this statistical value.
制御用計算機の応用プログラムは、メインメモリ常駐プ
ログラム又は、非常駐プログラムがありプログラムが使
用するフィルムも、メインメモリ常駐ファイル又は、非
常駐ファイルがあり、これらがプロセスからの割込みに
対応して、優先順に−抽のプログラムが動作しない状況
では、単体プログラムの動作時間を計算する事ができる
が、多重にプログラムが動作する場合は、不確定要素が
多く計算は不可能である。この様な計算機システムにお
いては1本稼動となる前に実プロセスに適用して、本稼
動時に問題がないかを試行するテスト期間がある。この
テスト期間を持たなければ本稼動に適用する事はできな
い、テスト期間中にプログラム実行時間装置において、
最大実行時間と、平均値と、標準偏差を計算する。この
統計値をもとに、人間が判断しやすいように、最大実行
時間と、平均値をクラシフアイし、異常に長いものを抽
出し、自動設定の対象から外す。自動設定の対象から外
すものは、−プログラムの製作上の問題か多重化による
ものであり、これを検討する必要がある。これを繰り返
す事によりプログラムの質が向上する。統計処理におい
ては、ある一定値以上の処理時間は、記憶するが、平均
、標準偏差に影響を及ぼさないように統計値からは除外
する。異2)常値を取り除いた値による統計値を用いて
、監視定値例である。The application program of the control computer has a main memory resident program or a non-resident program, and the film used by the program also has a main memory resident file or a non-resident file, and these are processed in priority order in response to interrupts from processes. In a situation where a single program does not run, it is possible to calculate the operating time of a single program, but when multiple programs run, there are many uncertainties and calculation is impossible. In such a computer system, there is a test period in which the system is applied to an actual process and tested to see if there are any problems during actual operation before it goes into full operation. Without this test period, it cannot be applied to actual operation.During the test period, the program execution time device
Calculate the maximum execution time, average value, and standard deviation. Based on these statistical values, the system classifies the maximum execution time and average value to make it easier for humans to judge, and extracts abnormally long execution times and excludes them from automatic settings. Items that are excluded from automatic settings are due to problems in program production or multiplexing, and this needs to be considered. By repeating this, the quality of the program will improve. In statistical processing, processing times exceeding a certain value are stored, but excluded from statistical values so as not to affect the average and standard deviation. Difference 2) This is an example of a fixed value for monitoring using statistical values obtained by removing normal values.
監視時間設定値=(平均(2)+3×標準偏差×k ・
・・・・・・・・・・・・・・ (1)kは安全率であ
り1以上の数値である。Monitoring time setting value = (average (2) + 3 x standard deviation x k ・
・・・・・・・・・・・・・・・ (1) k is a safety factor and is a value of 1 or more.
以下1本発明の一実施例を第1図により説明する。プロ
グラムには、常時動作して終了しないものがあるので、
プログラム実行監視指示装置lで。An embodiment of the present invention will be described below with reference to FIG. Some programs run all the time and never end, so
With program execution monitoring and instruction device l.
監視するか否かを、計算機技術者が指定する。ここで指
定されたものについて監視を行なう、プログラム実行監
視指示表[1、プログラム実行時間統計装置2、プログ
ラム実行監視時間記憶装置3、プログラム実行時間計数
装置14は、各プログラムに対応して持っているため、
各々nケースづつある。オペレーティングシステム6(
以下O8と略す)は、プログラムmを起動すると、プロ
グラム実行時間監視装置5を起動する。プログラム実行
時間監視装置5は、プログラム実行監視指示装置1に、
プログラムmの監視指示がある場合は、プログラム実行
時間計数装置14を起動する。プログ1、\ム実行時間
監視装!!5は、プログラム実行時間計数装置4の時間
がプログラム実行監視時間記憶装[3の監視時間を越え
ないかを監視する。A computer engineer specifies whether or not to monitor. The program execution monitoring instruction table [1, program execution time statistics device 2, program execution monitoring time storage device 3, and program execution time counting device 14 that monitor the items specified here are provided for each program. Because there are
There are n cases each. Operating System 6 (
When the program m (hereinafter abbreviated as O8) is started, the program execution time monitoring device 5 is started. The program execution time monitoring device 5 provides the program execution monitoring instruction device 1 with the following information:
If there is an instruction to monitor program m, program execution time counting device 14 is activated. Program 1, \mu execution time monitoring device! ! 5 monitors whether the time of the program execution time counting device 4 does not exceed the monitoring time of the program execution monitoring time storage device [3].
実行時間が越えた場合はプログラムmを停止する。プロ
グラムmが、監視時間内に終了した場合は、実行時間を
もとに、プログラム実行時間統計装置2で、最大実行時
間10.平均値11.標準偏差12、統計数13を更新
する。テスト期間中又は、システム稼動後一定時間経過
後に、プログラム実行時間統計装置2を動作させると、
最大実行時間、平均値をクラシフアイした結果を打ち出
し、計算機技術者の実行時間解析のツールとする。If the execution time is exceeded, program m is stopped. If program m ends within the monitoring time, the program execution time statistics device 2 calculates the maximum execution time as 10.0 based on the execution time. Average value 11. Update standard deviation 12 and statistical number 13. When the program execution time statistics device 2 is operated during the test period or after a certain period of time has passed after system operation,
The results of classifying the maximum execution time and average value are presented and used as a tool for computer engineers to analyze execution times.
この後、この打ち出した結果が良好な場合は、計算機技
術者は、プログラム実行監視時間設定装置7を起動する
。プログラム実行監視時間設定装置7は、(1)、式に
従ってプログラム実行時間統計装置i2から、平均値1
1と、標準偏差12を用いて、監視時間を計算してプロ
グラム実行監視時間記憶装!i!3に格納する6本実施
例では、安全係数には1.5である。Thereafter, if the set result is good, the computer engineer activates the program execution monitoring time setting device 7. The program execution monitoring time setting device 7 calculates the average value 1 from the program execution time statistics device i2 according to the formula (1).
1 and standard deviation 12, calculate the monitoring time and store the program execution monitoring time! i! In this example, the safety factor is 1.5.
本発明によれば、テスト段階においてプログラムの実行
時間の最大値を知る事ができるので、この値が異常に大
きい場合は、プログラムに異常がある事が推測され、早
期に発見する事ができ、プログラムの品質が向上する。According to the present invention, since the maximum value of the program execution time can be known at the testing stage, if this value is abnormally large, it is assumed that there is an abnormality in the program, and it can be detected early. Improved program quality.
第1図は、本発明のプログラム実行監視時間設定装置の
一実施例の概略図、第2図は、第1図のプログラム実行
時間統計装置1ケースの詳細内容説明図である。
3・・・プログラム実行監視時間記憶装置、4・・・プ
ログラム実行時間計数装置。FIG. 1 is a schematic diagram of an embodiment of the program execution monitoring time setting device of the present invention, and FIG. 2 is a detailed explanatory diagram of one case of the program execution time statistical device of FIG. 1. 3... Program execution monitoring time storage device, 4... Program execution time counting device.
Claims (1)
理時間計数装置より成る計算機のプログラム実行時間監
視装置において、プログラム実行時間統計記憶装置を設
けて、この統計値をもとにプログラムの実行監視時間を
自動的に設定する事を特徴とするプログラム実行監視時
間の設定装置。1. In the program execution time monitoring device of a computer, which consists of a program execution monitoring time storage device and a program processing time counting device, a program execution time statistics storage device is provided, and the program execution monitoring time is automatically calculated based on this statistical value. A device for setting a program execution monitoring time, which is characterized in that it can be set automatically.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP61097956A JPS62256050A (en) | 1986-04-30 | 1986-04-30 | Setting device for program execution monitoring time |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP61097956A JPS62256050A (en) | 1986-04-30 | 1986-04-30 | Setting device for program execution monitoring time |
Publications (1)
Publication Number | Publication Date |
---|---|
JPS62256050A true JPS62256050A (en) | 1987-11-07 |
Family
ID=14206117
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP61097956A Pending JPS62256050A (en) | 1986-04-30 | 1986-04-30 | Setting device for program execution monitoring time |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS62256050A (en) |
-
1986
- 1986-04-30 JP JP61097956A patent/JPS62256050A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4314463B2 (en) | Alarm management system | |
EP3703250A1 (en) | Servo driver and state change detecting method | |
JPS62154037A (en) | Virtual computer supervising and controlling system | |
JPS62256050A (en) | Setting device for program execution monitoring time | |
JP7368189B2 (en) | Analysis equipment | |
DE102016204965B4 (en) | Safety controller and method for operating a safety controller | |
JPH05224995A (en) | Information processor test system | |
JP2842748B2 (en) | Monitoring and control method for information processing equipment | |
JPH0683650A (en) | System resources monitoring method | |
JPS60251405A (en) | Group management control system of measuring instrument | |
CN108062075B (en) | Equipment safety monitoring system and method | |
JP2932507B2 (en) | Anomaly detection device | |
JPS61259302A (en) | Abnormal time disposing deciding device for plant | |
JPH04344544A (en) | Computer abnormal load detection system | |
JPH05241906A (en) | Programmable controller | |
JPH02310634A (en) | System for supervising runaway of program | |
JPH05322605A (en) | Abnormality diagnosis system for plant | |
JPH11136000A (en) | Data collecting method for mounting electronic component, electronic component mounting device, and a system for controlling mounting of electronic component | |
JPS6277612A (en) | Abnormality diagnosing method for plant | |
JPH05205074A (en) | Data collecting system for information processing system | |
JPS62271661A (en) | Post process step control type manufacturing plant managing system | |
JPH07295837A (en) | Plant monitor controller | |
JPH0830481A (en) | Race operation test system | |
JPH02170733A (en) | Testing device | |
JPH06168220A (en) | Method and device for detecting and recording facility abnormality |