JPH04365140A - Restart system for information processor - Google Patents

Restart system for information processor

Info

Publication number
JPH04365140A
JPH04365140A JP3140496A JP14049691A JPH04365140A JP H04365140 A JPH04365140 A JP H04365140A JP 3140496 A JP3140496 A JP 3140496A JP 14049691 A JP14049691 A JP 14049691A JP H04365140 A JPH04365140 A JP H04365140A
Authority
JP
Japan
Prior art keywords
restart
information
fault
failure
processing program
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
JP3140496A
Other languages
Japanese (ja)
Inventor
Fumio Kaneko
文雄 金子
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP3140496A priority Critical patent/JPH04365140A/en
Publication of JPH04365140A publication Critical patent/JPH04365140A/en
Pending legal-status Critical Current

Links

Landscapes

  • Stored Programmes (AREA)
  • Retry When Errors Occur (AREA)

Abstract

PURPOSE:To prevent fault due to the same case from repeatedly occurring and to prevent restart of an application processing program accompanied with this repeated occurrence. CONSTITUTION:If fault occurs (step 102), fault information is acquired (step 201) and is outputted to a console (step 202) and is stored in a fault information storage file set in an external storage device (step 203). Fault information at the time of the occurrence of preceding fault is read out from the external storage device and is compared with present fault information (step 204). It is checked whether the date of the occurrence of present fault is within a certain time after that of preceding fault or not and whether their data classifications and fault classifications are equal or not (steps 205 to 207); and if repetition of the occurrence of fault and restart of the program is discriminated as the comparison result, the stop of application processing is determined (step 208). At this time, an operating system does not restart the application processing program but performs the stop processing (step 301).

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明は、情報処理装置で業務処
理プログラムを実行中に障害が発生したとき、所定の障
害処理の後、業務処理プログラムを再起動する方式に関
するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a system for restarting a business processing program after a predetermined troubleshooting process when a failure occurs while the business processing program is being executed in an information processing apparatus.

【0002】0002

【従来の技術】従来、計算機システムまたは端末で業務
処理プログラムを実行中に障害が発生したとき、その再
起動は図2に示すような手順で行われていた。すなわち
、業務処理プログラム10により業務処理を実行中(ス
テップ11)、障害が発生すると(ステップ12)、障
害処理20として、障害が発生した日時、業務処理プロ
グラムにより処理されるデータの種別、ならびに発生し
た障害の種別を含む障害情報が取得され(ステップ21
)、それらが操作卓に表示される(ステップ22)。そ
の後、制御はオペレーティングシステム30に渡され、
業務処理プログラムの再起動が行われて(ステップ31
)、業務処理プログラム10により業務処理が再開され
る(ステップ13)。
2. Description of the Related Art Conventionally, when a failure occurs while a business processing program is being executed on a computer system or a terminal, the system is restarted according to the procedure shown in FIG. That is, when a failure occurs (step 12) while business processing is being executed by the business processing program 10 (step 11), the failure processing 20 includes the date and time when the failure occurred, the type of data processed by the business processing program, and the occurrence of the failure. Fault information including the type of fault caused is obtained (step 21).
), they are displayed on the console (step 22). Control is then passed to the operating system 30,
The business processing program is restarted (step 31).
), the business processing is restarted by the business processing program 10 (step 13).

【0003】0003

【発明が解決しようとする課題】しかし、このような従
来の再起動方式では、再起動の後、業務処理プログラム
は障害発生時点のデータから処理を再開するため、同一
の原因で障害が再発することがあり、その場合には障害
の発生と業務処理プログラムの再起動が繰り返され、業
務処理が全く進行しない状態となってしまう。
[Problem to be Solved by the Invention] However, in such a conventional restart method, after the restart, the business processing program resumes processing from the data at the time of the failure, so the failure may occur again due to the same cause. In this case, the failure occurs and the business processing program is restarted repeatedly, resulting in a state where the business processing does not proceed at all.

【0004】このような問題を回避するため、障害発生
時のデータを処理しないで廃棄し、次のデータから処理
を再開するようにすることも可能であるが、その方式で
は、障害再発の原因とならない正常なデータが処理され
ない場合が生じ、また正常なデータを処理しないことに
よってその後の処理に悪影響を及ぼす可能性がある。
[0004] In order to avoid such problems, it is possible to discard data at the time of failure without processing it and restart processing from the next data. There may be cases where normal data that does not meet the above criteria is not processed, and failure to process normal data may adversely affect subsequent processing.

【0005】本発明の目的は、このような問題を解決し
、同一原因による障害の発生とそれに伴う業務処理プロ
グラムの再起動を繰り返さず、しかも正常なデータは確
実に処理されるようにする情報処理装置の再起動方式を
提供することにある。
An object of the present invention is to solve such problems by providing information that prevents the occurrence of failures due to the same cause and the subsequent restart of business processing programs, and also ensures that normal data is processed. The purpose of the present invention is to provide a method for restarting a processing device.

【0006】[0006]

【課題を解決するための手段】本発明は、業務処理プロ
グラムの実行中に障害が発生したとき、所定の障害処理
の後、前記プログラムを再起動する情報処理装置の再起
動方式において、業務処理プログラムの実行中に障害が
発生したとき、所定の障害情報を取得し、所定の記憶手
段に格納する情報収集手段と、この情報収集手段が取得
した前記障害情報と、前記記憶手段から読み出した前回
の障害発生時に格納された障害情報とを比較する情報比
較手段と、この情報比較手段による比較結果が所定の条
件を満たしたとき、前記業務処理プログラムの再起動を
決定する再起動決定手段と、この再起動決定手段が再起
動を決定した場合のみ、前記業務処理プログラムを再起
動するオペレーティングシステムとを設けることを特徴
とする。
[Means for Solving the Problems] The present invention provides a method for restarting an information processing device in which when a failure occurs during the execution of a business processing program, the program is restarted after predetermined failure handling. Information collection means that acquires predetermined failure information and stores it in a predetermined storage means when a failure occurs during execution of a program, and the failure information acquired by this information collection means and the previous time read from the storage means. information comparing means for comparing failure information stored when a failure occurs; and restart determining means for determining restart of the business processing program when a comparison result by the information comparing means satisfies a predetermined condition. The present invention is characterized by providing an operating system that restarts the business processing program only when the restart determining means determines the restart.

【0007】[0007]

【実施例】次に本発明の実施例について図面を参照して
説明する。図1に本発明の再起動方式にもとづく計算機
システムの処理の流れを示す。この計算機システムは業
務処理プログラム100によって業務処理を行い、障害
が発生した場合には障害処理200を実行し、その後、
オペレーティングシステム300により業務処理プログ
ラム100を再起動する。
Embodiments Next, embodiments of the present invention will be described with reference to the drawings. FIG. 1 shows the processing flow of a computer system based on the restart method of the present invention. This computer system performs business processing using a business processing program 100, and when a failure occurs, executes failure processing 200, and then
The business processing program 100 is restarted by the operating system 300.

【0008】さらに詳しく説明すると、業務処理プログ
ラム100が業務処理として入力されたデータを処理し
ているとき(ステップ101)、障害が発生すると(ス
テップ102)、まず障害情報が取得される(ステップ
201)。この障害情報としては具体的には、障害が発
生した日時、障害発生時にプログラム100により処理
されていたデータの種別、ならびに発生した障害の種別
が含まれている。これらの障害情報は操作卓に出力され
(ステップ202)、さらに外部記憶装置に設定された
障害情報格納ファイルに格納される(ステップ203)
。この障害情報格納ファイルは、複数組の障害情報を格
納できる容量を有し、ファイルがいっぱいになった場合
には、先頭に戻って上書きされる方式で管理される。
To explain in more detail, when a failure occurs (step 102) while the business processing program 100 is processing data input as a business process (step 101), failure information is first acquired (step 201). ). Specifically, this fault information includes the date and time when the fault occurred, the type of data being processed by the program 100 at the time of the fault, and the type of fault that occurred. This fault information is output to the operator console (step 202), and is further stored in a fault information storage file set in an external storage device (step 203).
. This failure information storage file has a capacity to store multiple sets of failure information, and is managed in such a way that when the file becomes full, it is overwritten by returning to the beginning.

【0009】次に、外部記憶装置から前回の障害発生時
に取得された障害情報が読み出され、ステップ201で
取得された今回の障害情報と比較される(ステップ20
4)。そして、今回の障害の発生日時が、前回の障害の
発生日時から一定の時間内にあるか、データの種別は同
一か、ならびに障害の種別は同一かが調べられ(ステッ
プ205〜207)、比較結果が一つでも否の場合には
、同一の原因による障害発生および業務処理プログラム
の再起動を繰り返さないと判断して、業務処理の再起動
が決定され(ステップ209)、比較結果がすべて正の
場合には業務処理の停止が決定される(ステップ208
)。
Next, the fault information obtained when the previous fault occurred is read from the external storage device and compared with the current fault information obtained in step 201 (step 20
4). Then, it is checked whether the date and time of the current failure is within a certain time from the date and time of the previous failure, whether the data types are the same, and whether the failure types are the same (steps 205 to 207) and compared. If even one of the results is negative, it is determined that failures due to the same cause and restarting of the business processing program will not be repeated, and a decision is made to restart the business processing (step 209), and all comparison results are correct. In this case, it is decided to stop the business process (step 208
).

【0010】その後、制御はオペレーティングシステム
300に渡され、オペレーティングシステム300は、
業務処理の再起動が決定された場合には、業務処理プロ
グラムを再起動させ(ステップ302)、その結果、業
務処理プログラムは障害が発生した時点のデータから処
理を再開する。一方、業務処理の停止が決定された場合
には、オペレーティングシステムは業務処理プログラム
の再起動は行わず、業務処理プログラムの停止に伴う後
処理を実行する(ステップ301)。
[0010] Control is then passed to operating system 300, which operates
If it is determined to restart the business process, the business process program is restarted (step 302), and as a result, the business process program resumes processing from the data at the time the failure occurred. On the other hand, if it is determined to stop the business processing, the operating system does not restart the business processing program, but executes post-processing associated with the suspension of the business processing program (step 301).

【0011】[0011]

【発明の効果】以上説明したように本発明の再起動方式
にもとづく情報処理装置では、業務処理プログラムの実
行中に障害が発生したとき、情報収集手段は、所定の障
害情報を取得して所定の記憶手段に格納し、情報比較手
段は、この情報収集手段が取得した障害情報と、記憶手
段から読み出した前回の障害発生時に格納された障害情
報とを比較する。そして、情報比較手段による比較結果
が所定の条件を満たしたとき、再起動決定手段は前記業
務処理プログラムの再起動を決定し、その場合にのみオ
ペレーティングシステムは、業務処理プログラムを再起
動する。すなわち、再起動決定手段は、同一の原因によ
って障害が再発したか否かを、情報比較手段による比較
結果にもとづいて識別でき、その結果、同一の原因で障
害が発生した場合には、オペレーティングシステムに業
務処理プログラムを再起動させないようにできる。従っ
て、同一の原因による障害の発生および再起動の繰り返
しを防止することが可能となる。また同一の原因による
障害の再発でない場合には、従来どおり、障害発生時に
処理されていたデータから処理が再開されるので、障害
再発の原因とならないデータは確実に処理される。
Effects of the Invention As explained above, in the information processing apparatus based on the restart method of the present invention, when a failure occurs during execution of a business processing program, the information collecting means acquires predetermined failure information and performs a predetermined The information comparison means compares the fault information acquired by the information collecting means with the fault information read from the storage means and stored at the time of the previous fault occurrence. Then, when the comparison result by the information comparing means satisfies a predetermined condition, the restart determining means decides to restart the business processing program, and only in that case, the operating system restarts the business processing program. In other words, the restart determining means can identify whether the failure has recurred due to the same cause based on the comparison result by the information comparing means, and as a result, if the failure has occurred due to the same cause, the operating system You can prevent business processing programs from restarting. Therefore, it is possible to prevent failures and repeated restarts due to the same cause. Furthermore, if the failure does not occur again due to the same cause, processing resumes from the data that was being processed when the failure occurred, as in the past, so that data that does not cause recurrence of the failure is reliably processed.

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

【図1】本発明の再起動方式にもとづく計算機システム
の一例における処理を示すフローチャートである。
FIG. 1 is a flowchart showing processing in an example of a computer system based on the restart method of the present invention.

【図2】従来の再起動方式にもとづく計算機システムの
一例における処理を示すフローチャートである。
FIG. 2 is a flowchart showing processing in an example of a computer system based on a conventional restart method.

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

100  業務処理プログラム 200  障害処理 300  オペレーティングシステム 100 Business processing program 200 Failure handling 300 Operating system

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】業務処理プログラムの実行中に障害が発生
したとき、所定の障害処理の後、前記プログラムを再起
動する情報処理装置の再起動方式において、業務処理プ
ログラムの実行中に障害が発生したとき、所定の障害情
報を取得し、所定の記憶手段に格納する情報収集手段と
、この情報収集手段が取得した前記障害情報と、前記記
憶手段から読み出した前回の障害発生時に格納された障
害情報とを比較する情報比較手段と、この情報比較手段
による比較結果が所定の条件を満たしたとき、前記業務
処理プログラムの再起動を決定する再起動決定手段と、
この再起動決定手段が再起動を決定した場合にのみ、前
記業務処理プログラムを再起動するオペレーティングシ
ステムとを設けることを特徴とする情報処理装置の再起
動方式。
Claim 1: When a failure occurs during the execution of a business processing program, the restart method of an information processing device restarts the program after predetermined failure handling, wherein the failure occurs during the execution of the business processing program. information collection means for acquiring predetermined failure information and storing it in a predetermined storage means; the failure information acquired by the information collection means; and the failure stored at the time of the previous failure read out from the storage means; information comparing means for comparing the information, and restart determining means for determining restart of the business processing program when the comparison result by the information comparing means satisfies a predetermined condition;
A method for restarting an information processing apparatus, comprising: an operating system that restarts the business processing program only when the restart determining means determines to restart.
【請求項2】前記障害情報は、障害が発生した日時、前
記業務処理プログラムにより処理されるデータの種別、
ならびに発生した障害の種別を含むことを特徴とする請
求項1記載の情報処理装置の再起動方式。
2. The failure information includes the date and time when the failure occurred, the type of data processed by the business processing program,
2. The method for restarting an information processing apparatus according to claim 1, further comprising: a type of failure that has occurred;
【請求項3】前記再起動決定手段は、発生した障害の日
時が前回の障害発生日時から一定の時間内にあり、前記
データの種別および前記発生した障害の種別が同一であ
るとき、前記業務処理プログラムの再起動を決定するこ
とを特徴とする請求項2記載の情報処理装置の再起動方
式。
3. The restart determining means is configured to restart the business when the date and time of the fault that has occurred is within a certain time from the date and time of the previous fault, and the type of data and the type of the fault that has occurred are the same. 3. The method for restarting an information processing apparatus according to claim 2, further comprising determining whether to restart a processing program.
JP3140496A 1991-06-13 1991-06-13 Restart system for information processor Pending JPH04365140A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3140496A JPH04365140A (en) 1991-06-13 1991-06-13 Restart system for information processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3140496A JPH04365140A (en) 1991-06-13 1991-06-13 Restart system for information processor

Publications (1)

Publication Number Publication Date
JPH04365140A true JPH04365140A (en) 1992-12-17

Family

ID=15269982

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3140496A Pending JPH04365140A (en) 1991-06-13 1991-06-13 Restart system for information processor

Country Status (1)

Country Link
JP (1) JPH04365140A (en)

Similar Documents

Publication Publication Date Title
US7908521B2 (en) Process reflection
US4797885A (en) Distributed processing system and method
JP2006031109A (en) Management system and management method
US8290992B2 (en) File management method, file management device, and program
CN111324423A (en) Method and device for monitoring processes in container, storage medium and computer equipment
JP3117958B2 (en) Server setting device
CN110647463A (en) Method and device for restoring test breakpoint and electronic equipment
CN108241543B (en) Method, service server and system for executing service operation breakpoint
CN109359093B (en) Rule file updating method and system
CN111694724A (en) Testing method and device of distributed table system, electronic equipment and storage medium
JPH04365140A (en) Restart system for information processor
JPH0594353A (en) Database management system
JP2004185345A (en) Debug method and system
CN112328423A (en) Processing method, device and storage medium for search service loophole
CN111444033A (en) Springbatch-based task fault-tolerant processing method and related equipment
JP2812037B2 (en) Restart control method for business processing programs
CN113613063B (en) Application anomaly reduction method, device and storage medium
CN113204360B (en) System upgrading method and device
CN116991710B (en) Automatic test method and system, electronic equipment and storage medium thereof
CN115934402A (en) Fault site reservation method and device and server
CN107679161B (en) File processing method of electronic terminal and electronic terminal
CN116302825A (en) Processing method and device for abnormal container
JPS59163663A (en) Detecting method of breakdown of simple file
JP3037012B2 (en) Database monitoring mechanism
JPH09198325A (en) High speed starting system for information processor