JPH05113897A - Computer system - Google Patents

Computer system

Info

Publication number
JPH05113897A
JPH05113897A JP3274293A JP27429391A JPH05113897A JP H05113897 A JPH05113897 A JP H05113897A JP 3274293 A JP3274293 A JP 3274293A JP 27429391 A JP27429391 A JP 27429391A JP H05113897 A JPH05113897 A JP H05113897A
Authority
JP
Japan
Prior art keywords
process identifier
restart
identifier
file
checkpoint
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
JP3274293A
Other languages
Japanese (ja)
Inventor
Chieko Takahashi
千恵子 高橋
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 JP3274293A priority Critical patent/JPH05113897A/en
Publication of JPH05113897A publication Critical patent/JPH05113897A/en
Pending legal-status Critical Current

Links

Landscapes

  • Retry When Errors Occur (AREA)

Abstract

PURPOSE:To guarantee the identifier of process targeted as a restart object under environment in which a check point/re-start function is supplied. CONSTITUTION:A process identifier mapping table 103 in which Information being used to guarantee a process identifier when a re-start operation is performed is stored is provided, and control for the information is performed by a process identifier marking means 5 and a process identifier marking release means 7, also, a process identifier check means 6 is attached on a process generating means 2, and furthermore, a process identifier mapping file 104, a process identifier saving means 8, and a process identifier recovery means 9 to obtain guarantee in the completion/re-start of a system are provided, thereby, the identifier of the process targeted as the re-start object can be guaranteed. In such a manner, it is possible to attain the easy use of the check point/re-start function, the simplification and efficiency of system configuration.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、コンピュータシステム
におけるプロセス識別子の保証に利用する。本発明は、
チェックポイント/リスタート機能を提供する環境での
リスタート対象となったプロセスの識別子を保証するこ
とができるコンピュータシステムに関する。
BACKGROUND OF THE INVENTION The present invention is used for guaranteeing a process identifier in a computer system. The present invention is
The present invention relates to a computer system that can guarantee an identifier of a process targeted for restart in an environment that provides a checkpoint / restart function.

【0002】[0002]

【従来の技術】従来、プロセス識別子保証方式は、チェ
ックポイント/リスタート機能が提供されていないシス
テムにおいては特に確立されてなく、プロセス識別子自
体は新しいプロセスが生成されると、システムで用意し
ている最大プロセス識別子になるまで昇順にプロセス識
別子が割り当てられる仕組みになっていた。また、最大
プロセス識別子に到着すると、再度昇順に割り当てが再
開される仕組みになっていた。
2. Description of the Related Art Conventionally, a process identifier guarantee method has not been particularly established in a system that does not provide a checkpoint / restart function, and the process identifier itself is prepared by the system when a new process is created. The process identifiers were assigned in ascending order until the maximum process identifier was reached. Also, when the maximum process identifier is reached, the allocation is restarted in ascending order again.

【0003】[0003]

【発明が解決しようとする課題】上述した従来の方式
は、チェックポイント/リスタート機能が提供されてい
ないシステムにおいては特別な問題は発生しないが、チ
ェックポイント/リスタート機能を提供する場合には、
チェックポイント時にリスタートファイルへ格納したプ
ロセス識別子と、リスタート後のプロセス識別子とが同
じであることを保証しないと、リスタート後の該当プロ
セスの動作が保証されない問題がある。
The above-mentioned conventional method does not cause any special problem in the system which does not provide the checkpoint / restart function, but in the case of providing the checkpoint / restart function. ,
If it is not guaranteed that the process identifier stored in the restart file at the time of checkpoint is the same as the process identifier after restart, there is a problem that the operation of the corresponding process after restart cannot be guaranteed.

【0004】本発明はこのような問題を解決するもの
で、チェックポイント/リスタート機能を提供する環境
でのリスタート対象となったプロセスの識別子を保証す
ることができるシステムを提供することを目的とする。
The present invention solves such a problem, and an object thereof is to provide a system capable of guaranteeing the identifier of a process to be restarted in an environment providing a checkpoint / restart function. And

【0005】[0005]

【課題を解決するための手段】本発明は、基本オペレー
ティングシステムが設けられ、中央処理装置割り当ての
対象であるプロセスを生成するプロセス生成手段と、プ
ロセス実行中にチェックポイント要求を受け付けたとき
にチェックポイント処理を実行するチェックポイント実
行手段と、その処理を実行するときにプロセスの状態を
再度実行可能な状態にフリーズして保持するリスタート
ファイルと、リスタート要求により前記リスタートファ
イルに格納された情報からプロセスの実行を再開するリ
スタート実行手段と、プロセス識別子格納領域を含みプ
ロセスの各種制御情報を保持するプロセス制御テーブル
とを備えたコンピュータシステムにおいて、プロセス識
別子のマッピングを行うプロセス識別子マッピングテー
ブルを設け、チェックポイント要求を受けたときに前記
リスタートファイルへ必要な情報を格納するとともに、
その該当プロセスのプロセス識別子を前記プロセス識別
子マッピングテーブル内の該当箇所にマーキングするプ
ロセス識別子マーキング手段と、マーキングが行われた
プロセス識別子について別のプロセス生成手段からの使
用要求に対しては使用を禁止するプロセス識別子チェッ
ク手段とを備えたことを特徴とする。
According to the present invention, a basic operating system is provided, and a process generation means for generating a process to which a central processing unit is assigned, and a checkpoint request when a process is executed are checked. Checkpoint execution means for executing point processing, a restart file that freezes and holds the process state in a re-executable state when executing that processing, and a restart file stored in the restart file by a restart request A process identifier mapping table for mapping process identifiers in a computer system provided with restart execution means for restarting the execution of a process from information, and a process control table that holds various control information of processes including a process identifier storage area. Set up, check Stores the necessary information to the restart file when receiving a breakpoint request,
A process identifier marking means for marking the process identifier of the corresponding process at a corresponding position in the process identifier mapping table, and the use of the marked process identifier in response to a use request from another process generating means is prohibited. And a process identifier checking means.

【0006】リスタート要求を受けたときに前記リスタ
ートファイルから必要な情報を再度実行できるように前
記プロセス制御テーブルを確保するとともに、前記リス
タートファイル内に格納されているプロセス識別子を前
記プロセス制御テーブル内に設定し、前記プロセス識別
子マッピングテーブルの該当箇所のマーキングを解除す
るプロセス識別子マーキング解除手段を備え、さらに、
前記プロセス識別子マッピングテーブルを退避させるプ
ロセス識別子マッピングファイルと、システム終了要求
時に、プロセスのチェックポイント要求を受けたときの
次のリスタート時のために必要となった情報が格納され
ている前記プロセス識別子マッピングテーブルを前記プ
ロセス識別子マッピングファイルに退避させるプロセス
識別子退避手段と、次のシステム立ち上げ時に、前記プ
ロセス識別子マッピングファイルの内容を前記プロセス
識別子マッピングテーブル内に復旧し、システム再立ち
上げ後も前回の前記リスタートファイルの内容をもとに
プロセスの実行再開をできるようにするプロセス識別子
復旧手段とを備えることができる。
When the restart request is received, the process control table is secured so that necessary information can be re-executed from the restart file, and the process identifier stored in the restart file is assigned to the process control. A process identifier marking cancellation means for canceling the marking of the corresponding part of the process identifier mapping table set in the table;
A process identifier mapping file for saving the process identifier mapping table, and the process identifier storing information necessary for the next restart when a process checkpoint request is received at the time of a system termination request A process identifier saving means for saving the mapping table in the process identifier mapping file, and the contents of the process identifier mapping file are restored in the process identifier mapping table at the next system startup, and the previous contents are retained even after the system is restarted. A process identifier recovery unit that enables restart of process execution based on the content of the restart file can be provided.

【0007】[0007]

【作用】チェックポイント要求が上がったときにリスタ
ートファイルへ必要な情報を格納するとともに、その該
当プロセスのプロセス識別子をプロセス識別子マッピン
グテーブル内の該当箇所にプロセス識別子マーキング手
段によりマーキングを行い、そのマーキングを行ったプ
ロセス識別子は別プロセス生成時にはプロセス識別子チ
ェック手段により使用しないようにし、該当プロセスの
リスタート要求があったときには、そのプロセス識別子
がチェックポイント時と同等に使用可能とすることを保
証する。
[Function] When a checkpoint request is issued, necessary information is stored in the restart file, and the process identifier of the corresponding process is marked at the corresponding position in the process identifier mapping table by the process identifier marking means, and the marking is performed. The process identifier used for performing the process is not used by the process identifier checking means when another process is generated, and when a restart request for the process is issued, the process identifier is guaranteed to be available at the same time as at the checkpoint.

【0008】これにより、チェックポイント/リスター
ト機能を使用するユーザがプロセス識別子に対して特別
に意識する必要がなく、また、システム構築側でもプロ
セス識別子の互換性を常に考慮する必要がなくなり、チ
ェックポイント/リスタート機能と他機能での設計段階
での簡素化をはかり、システム終了/再立ち上げに関し
ての特別な配慮を不要にすることができる。
As a result, the user who uses the checkpoint / restart function does not need to pay special attention to the process identifier, and the system construction side does not have to always consider the compatibility of the process identifier. By simplifying the point / restart function and other functions at the design stage, special consideration regarding system termination / restart can be eliminated.

【0009】また、リスタート要求が上がったときにリ
スタートファイルから必要な情報を再度実行可能なよう
にプロセス制御テーブル上に確保し、そのときリスター
トファイル内に格納されているプロセス識別子をプロセ
ス制御テーブル内に設定し、その後プロセス識別子マッ
ピングテーブルの該当箇所のマーキングをプロセス識別
子マーキング解除手段により解除することにより、該当
プロセス識別子をリスタート処理のために保存する必要
がなくなり、通常の処理を可能にすることができる。
Further, when a restart request is issued, necessary information is secured from the restart file in the process control table so that it can be executed again, and at that time, the process identifier stored in the restart file is processed. By setting it in the control table and then canceling the marking of the corresponding part of the process identifier mapping table by the process identifier marking cancellation means, it is not necessary to save the corresponding process identifier for restart processing, and normal processing is possible. Can be

【0010】さらに、システム終了要求時、プロセスの
チェックポイント要求時に次のリスタート時のために必
要となった情報を格納しているプロセス識別子マッピン
グテーブルをプロセス識別子マッピングファイルへプロ
セス識別子退避手段により退避し、次のシステム立ち上
げ時にプロセス識別子マッピングファイルの内容をプロ
セス識別子復旧手段によりプロセス識別子マッピングテ
ーブル内に復旧し、システム再立ち上げ後も前回のリス
タートファイルの内容をもとにプロセスの実行再開を可
能にすることができる。
Further, the process identifier saving table saves the process identifier mapping table storing the information required for the next restart at the time of the system termination request or the process checkpoint request to the process identifier mapping file by the process identifier saving means. Then, at the next system startup, the contents of the process identifier mapping file are restored in the process identifier mapping table by the process identifier recovery means, and after the system is restarted, the process execution is restarted based on the contents of the previous restart file. Can be enabled.

【0011】[0011]

【実施例】次に、本発明実施例を図面に基づいて説明す
る。図1は本発明実施例の構成を示すブロック図であ
る。
Embodiments of the present invention will now be described with reference to the drawings. FIG. 1 is a block diagram showing the configuration of the embodiment of the present invention.

【0012】本発明実施例は、基本オペレーティングシ
ステム1が設けられ、図外の中央処理装置割り当ての対
象であるプロセスを生成するプロセス生成手段2と、プ
ロセス実行中にチェックポイント要求を受け付けたとき
にチェックポイント処理を実行するチェックポイント実
行手段3と、その処理を実行するときにプロセスの状態
を再度実行可能な状態にフリーズして保持するリスター
トファイル101と、リスタート要求によりリスタート
ファイル101に格納された情報からプロセスの実行を
再開するリスタート実行手段4と、プロセス識別子格納
領域を含みプロセスの各種制御情報を保持するプロセス
制御テーブル102とを備え、さらに、本発明の特徴と
して、プロセス識別子のマッピングを行うプロセス識別
子マッピングテーブル103を設け、チェックポイント
要求を受けたときにリスタートファイル101へ必要な
情報を格納するとともに、その該当プロセスのプロセス
識別子をプロセス識別子マッピングテーブル103内の
該当個所にマーキングするプロセス識別子マーキング手
段5と、マーキングが行われたプロセス識別子が別プロ
セス生成時に使用されないようにし、該当リスタート要
求があったときに、そのプロセス識別子がチェックポイ
ント時と同等に使用できることを保証するプロセス識別
子チェック手段6と、リスタート要求を受けたときにリ
スタートファイル101から必要な情報を再度実行でき
るようにプロセス制御テーブル102を確保するととも
に、リスタートファイル101内に格納されているプロ
セス識別子をプロセス制御テーブル102内に設定し、
プロセス識別子マッピングテーブル103の該当箇所の
マーキングを解除するプロセス識別子マーキング解除手
段7と、プロセス識別子マッピングテーブル103を退
避させるプロセス識別子マッピングファイル104と、
システム終了要求時に、プロセスのチェックポイント要
求を受けたときの次のリスタート時のために必要となっ
た情報が格納されているプロセス識別子マッピングテー
ブル103をプロセス識別子マッピングファイル104
に退避させるプロセス識別子退避手段8と、次のシステ
ム立ち上げ時に、プロセス識別子マッピングファイル1
04の内容をプロセス識別子マッピングテーブル103
内に復旧し、システム再立ち上げ後も前回のリスタート
ファイル101の内容をもとにプロセスの実行再開をで
きるようにするプロセス識別子復旧手段9とを備える。
In the embodiment of the present invention, a basic operating system 1 is provided, and a process generation means 2 for generating a process which is a target of central processing unit allocation (not shown) and a checkpoint request during process execution are received. Checkpoint execution means 3 for executing a checkpoint process, a restart file 101 that freezes and holds the process state in a re-executable state when the process is executed, and a restart file 101 in response to a restart request. The process includes a restart execution unit 4 that restarts the execution of the process from the stored information, and a process control table 102 that holds various control information of the process including a process identifier storage area. Further, as a feature of the present invention, the process identifier is provided. Process identifier mapping table A process identifier marking means 5 is provided for storing the necessary information in the restart file 101 when a checkpoint request is received, and for marking the process identifier of the corresponding process at a corresponding point in the process identifier mapping table 103. And a process identifier check means 6 that prevents the marked process identifier from being used when another process is created and guarantees that the process identifier can be used at the same time as at the checkpoint when there is a corresponding restart request. The process control table 102 is secured so that necessary information can be executed again from the restart file 101 when a restart request is received, and the process identifier stored in the restart file 101 is used as the process control table. Set in the 02,
A process identifier marking canceling means 7 for canceling the marking of the corresponding part of the process identifier mapping table 103, a process identifier mapping file 104 for saving the process identifier mapping table 103,
The process identifier mapping file 104 stores the process identifier mapping table 103 in which the information required for the next restart when the process checkpoint request is received at the time of the system termination request is stored.
And the process identifier mapping file 1 for the next system startup.
The content of 04 is the process identifier mapping table 103
And a process identifier recovery unit 9 that enables the process to be restarted based on the contents of the previous restart file 101 even after the system is restarted.

【0013】図2は本発明実施例におけるプロセス識別
子マッピングテーブルの構成を示す図である。例えば、
プロセス識別子が「30」のプロセスに対してチェック
ポイント要求が上がった場合、このプロセス識別子「3
0」が保存されないとリスタート後の動作が保証されな
い。この場合は、最左端から0、1、2と識別子を認識
させるため、最左端から30番目のビットをオン状態に
し、その識別子は使用しない規則とする。この処理は、
プロセス識別子マーキング手段5により実施される。そ
の後オン状態のビットをプロセス識別子マーキング解除
手段7によりオフ状態にすることにより、その識別子は
通常の使用が可能な状態となる。
FIG. 2 is a diagram showing the structure of the process identifier mapping table in the embodiment of the present invention. For example,
If a checkpoint request is issued to a process whose process identifier is "30", this process identifier "3"
If "0" is not saved, the operation after restart is not guaranteed. In this case, in order to recognize the identifiers 0, 1, and 2 from the leftmost end, the 30th bit from the leftmost end is turned on, and the identifier is not used. This process is
It is carried out by the process identifier marking means 5. After that, the bit in the on state is turned off by the process identifier marking canceling means 7, so that the identifier can be used normally.

【0014】図3は本発明実施例におけるチェックポイ
ント実行手段からプロセス識別子マーキング手段による
処理の流れを示すフローチャート、図4は本発明実施例
における通常のプロセス生成手段からプロセス識別子チ
ェック手段による処理の流れを示すフローチャートであ
る。
FIG. 3 is a flow chart showing the flow of processing from the checkpoint executing means to the process identifier marking means in the embodiment of the present invention, and FIG. 4 is the flow of processing from the normal process generating means to the process identifier checking means in the embodiment of the present invention. It is a flowchart showing.

【0015】プロセス識別子「30」のプロセスに対し
て、チェックポイント要求が上がると(ステップ3−
1)、チェックポイント実行手段3が起動され、まず、
プロセス識別子「30」のプロセスの状態をフリーズす
る(ステップ3−2)。続いて、このプロセスの状態を
格納するリスタートファイル101を用意する(ステッ
プ3−3)。その後用意したリスタートファイル101
にプロセスリスタート時に必要な情報、例えば、プロセ
ス制御テーブル102やファイル管理テーブルなどを格
納する。
When a checkpoint request is issued to the process having the process identifier "30" (step 3-
1), the checkpoint execution means 3 is started, and first,
The state of the process with the process identifier “30” is frozen (step 3-2). Then, the restart file 101 which stores the state of this process is prepared (step 3-3). Restart file 101 prepared after that
The information necessary for the process restart, such as the process control table 102 and the file management table, is stored in the.

【0016】このとき、そのプロセスのもつプロセス識
別子「30」は、プロセス制御テーブル102内プロセ
ス識別子格納領域にすでに格納されているため、自動的
にリスタートファイル101へ格納される(ステップ3
−4)。
At this time, since the process identifier "30" of the process is already stored in the process identifier storage area in the process control table 102, it is automatically stored in the restart file 101 (step 3).
-4).

【0017】次に、プロセス識別子マーキング手段5に
制御を渡し、プロセス識別子マーキング手段5によりプ
ロセス識別子マッピングテーブル103のプロセス識別
子「30」の該当箇所の状態をオン状態にする(ステッ
プ3−5)。これにより、チェックポイント処理におけ
るプロセス識別子の保存処理を終了する(ステップ3−
6)。
Next, control is passed to the process identifier marking means 5, and the process identifier marking means 5 turns on the state of the corresponding portion of the process identifier "30" in the process identifier mapping table 103 (step 3-5). As a result, the process identifier saving process in the checkpoint process ends (step 3-
6).

【0018】なお、通常のプロセス生成時には、図4に
示すように、まずプロセス生成手段2が呼び出され、プ
ロセス識別子を獲得する(ステップ4−1)。これはプ
ロセス識別子状態変数105に最近獲得されたプロセス
識別子が保存されているため、この変数から次の識別子
を判断し決定する(ステップ4−2)。
During normal process generation, as shown in FIG. 4, the process generation means 2 is first called to acquire a process identifier (step 4-1). Since the process identifier recently acquired is stored in the process identifier state variable 105, the next identifier is judged and determined from this variable (step 4-2).

【0019】プロセス識別子が最大プロセス識別子10
6を越える場合には再度若い識別子から取り直す(ステ
ップ4−3)。識別子が決定されるとプロセス識別子チ
ェック手段6により、プロセス識別子マッピングテーブ
ル103と比較してその識別子がチェックポイント時に
マーキング(オン状態)されていないか否かを検査する
(ステップ4−4)。マーキング(オン状態)されてい
れば、再度、別識別子をとる(ステップ4−3)。これ
によりマーキングされていないプロセス識別子を最終的
にとることができたならば(ステップ4−6)、プロセ
ス生成手段2は通常処理を継続して行う。
The process identifier is the maximum process identifier 10.
If the number exceeds 6, then the younger identifier is picked up again (step 4-3). When the identifier is determined, the process identifier checking means 6 compares it with the process identifier mapping table 103 to check whether the identifier is marked (on state) at the checkpoint (step 4-4). If it is marked (on state), another identifier is taken again (step 4-3). As a result, if the unmarked process identifier can be finally obtained (step 4-6), the process generation means 2 continues the normal processing.

【0020】図5は本発明実施例におけるリスタート実
行手段からプロセス識別子マーキング解除手段による処
理の流れを示すフローチャートである。
FIG. 5 is a flow chart showing the flow of processing from the restart execution means to the process identifier marking cancellation means in the embodiment of the present invention.

【0021】プロセス識別子「30」のプロセスに対し
て、リスタート要求が上がると(ステップ5−1)、リ
スタート実行手段4が起動され、該当要求のリスタート
ファイル101をオープンし(ステップ5−2)、リス
タートファイル101から順次プロセスの再実行に必要
な情報をメモリ上に用意する(ステップ5−3)。その
処理の一部として、プロセス制御テーブル102を復旧
する。プロセス識別子は、リスタートファイル101に
格納されていた識別子「30」がそのままプロセス制御
テーブル102上のプロセス識別子格納領域に復旧され
る(ステップ5−4)。
When a restart request is issued to the process with the process identifier "30" (step 5-1), the restart execution means 4 is activated to open the restart file 101 of the request (step 5-). 2) From the restart file 101, information necessary for re-execution of the processes is sequentially prepared in the memory (step 5-3). As a part of the processing, the process control table 102 is restored. As the process identifier, the identifier “30” stored in the restart file 101 is directly restored to the process identifier storage area on the process control table 102 (step 5-4).

【0022】この時点でそのプロセス識別子はリスター
ト要求対象のプロセスに割り当てられたため、プロセス
識別子マーキング解除手段7により、リスタート用に保
存していたプロセス識別子マッピングテーブル103の
該当箇所のフラグをオフ状態にする(ステップ5−
5)。
At this point in time, the process identifier has been assigned to the process for which the restart request has been made, so the process identifier marking canceling means 7 turns off the flag of the corresponding part of the process identifier mapping table 103 stored for restart. (Step 5-
5).

【0023】図6は本発明実施例におけるシステム終了
時のプロセス識別子退避手段の処理の流れを示すフロー
チャート、図7は本発明実施例におけるシステム再立ち
上げ時のプロセス識別子復旧手段の処理の流れを示すフ
ローチャートである。
FIG. 6 is a flow chart showing the processing flow of the process identifier saving means at the time of system termination in the embodiment of the present invention, and FIG. 7 shows the processing flow of the process identifier restoration means at the time of system restart in the embodiment of the present invention. It is a flowchart shown.

【0024】システム終了要求があげられると(ステッ
プ6−1)、システム運用中にまだリスタートされてい
ないチェックポイント要求があることを示すチェックポ
イント要求フラグ107がオン状態であるか否かを判断
し(ステップ6−2)、オン状態であればプロセス識別
子マッピングテーブル103の状態をシステム再立ち上
げ後も保証するためにプロセス識別子退避手段8により
プロセス識別子マッピングテーブル103の内容を立ち
上げ時に必要とするシステム環境ファイルの一部である
プロセス識別子マッピングファイル104を確保してそ
の中に退避する(ステップ6−3)。その後通常のシス
テム終了処理を行う。
When a system termination request is given (step 6-1), it is judged whether or not the checkpoint request flag 107 indicating that there is a checkpoint request that has not been restarted during system operation is in the on state. If it is on (step 6-2), the contents of the process identifier mapping table 103 are needed at the time of startup in order to guarantee the state of the process identifier mapping table 103 even after system restart. The process identifier mapping file 104, which is a part of the system environment file to be stored, is secured and saved therein (step 6-3). After that, normal system termination processing is performed.

【0025】続いて、システム再立ち上げされると(ス
テップ7−1)、立ち上げ時に参照するべきシステム環
境ファイル内にプロセス識別子マッピングファイル10
4があるか否かを判断し(ステップ7−2)、ある場合
にはプロセス識別子復旧手段9によりプロセス識別子マ
ッピングテーブル103を確保し、プロセス識別子マッ
ピングファイル104の内容を復旧する(ステップ7−
3)。これにより、システム再立ち上げ後もプロセス識
別子マッピングテーブル103により、前回のリスター
トファイル101内に格納した時点の環境と同様の環境
が復旧されたため、プロセス識別子を保証したかたちで
該当リスタートファイル101からのプロセス再実行が
可能となる。
Subsequently, when the system is restarted (step 7-1), the process identifier mapping file 10 is stored in the system environment file to be referenced at the time of startup.
4 is determined (step 7-2), and if there is, the process identifier restoring means 9 secures the process identifier mapping table 103 and restores the contents of the process identifier mapping file 104 (step 7-).
3). As a result, even after the system is restarted, the process identifier mapping table 103 restores the environment similar to the environment at the time of storing it in the previous restart file 101. Therefore, the process identifier is guaranteed and the corresponding restart file 101 is restored. It is possible to re-execute the process from.

【0026】[0026]

【発明の効果】以上説明したように本発明によれば、チ
ェックポイント/リスタート機能を提供する場合、プロ
セス識別子をチェックポイント時に採取したリスタート
ファイルの内容と、リスタート時に再設定する内容とが
同じであることを保証し、また、チェックポイント時と
リスタート時の間にシステムの終了、再立ち上げが行わ
れてもプロセス識別子を保証することにより、チェック
ポイント/リスタート機能を使用するユーザがプロセス
識別子に対しての特別な意識をする必要がなく、またシ
ステム構築側でのチェックポイント/リスタート機能の
構築においてプロセス識別子の互換性を常に考慮する必
要はなく、チェックポイント/リスタート機能と他機能
での設計段階での簡素化を図ることができ、システム終
了/再立ち上げに関しての特別な配慮を不要とすること
ができる。これにより、チェックポイント/リスタート
機能の使用上の簡便化、および効率の良いシステム構築
と運用を図ることができる効果がある。
As described above, according to the present invention, when the checkpoint / restart function is provided, the contents of the restart file in which the process identifier is collected at the checkpoint and the contents to be reset at the restart are set. Guarantees that the process IDs are the same and that the process identifier is guaranteed even if the system is shut down or restarted between the checkpoint and the restart, so that the user who uses the checkpoint / restart function can There is no need to pay special attention to the process identifier, and it is not necessary to always consider the compatibility of the process identifier when building the checkpoint / restart function on the system construction side. Other functions can be simplified at the design stage and can be used for system shutdown / restart Special consideration of and can be eliminated. As a result, there is an effect that the checkpoint / restart function can be easily used, and an efficient system construction and operation can be achieved.

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

【図1】本発明実施例の構成を示すブロック図。FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention.

【図2】本発明実施例におけるプロセス識別子マッピン
グテーブルの構成を示す図。
FIG. 2 is a diagram showing a configuration of a process identifier mapping table in the embodiment of the present invention.

【図3】本発明実施例におけるチェックポイント実行手
段からプロセス識別子マーキング手段による処理の流れ
を示すフローチャート。
FIG. 3 is a flowchart showing the flow of processing by the checkpoint executing means to the process identifier marking means in the embodiment of the present invention.

【図4】本発明実施例におけるプロセス生成手段からプ
ロセス識別子チェック手段による処理の流れを示すフロ
ーチャート。
FIG. 4 is a flow chart showing the flow of processing by the process identifier check means from the process generation means in the embodiment of the present invention.

【図5】本発明実施例におけるリスタート実行手段から
プロセス識別子マーキング解除手段による処理の流れを
示すフローチャート。
FIG. 5 is a flowchart showing the flow of processing from the restart execution means to the process identifier marking cancellation means in the embodiment of the present invention.

【図6】本発明実施例におけるシステム終了時のプロセ
ス識別子退避手段の処理の流れを示すフローチャート。
FIG. 6 is a flowchart showing a processing flow of a process identifier saving means at the time of system termination in the embodiment of the present invention.

【図7】本発明実施例におけるシステム再立ち上げ時の
プロセス識別子復旧手段の処理の流れを示すフローチャ
ート。
FIG. 7 is a flowchart showing a processing flow of a process identifier recovery unit at the time of restarting the system in the embodiment of the present invention.

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

1 基本オペレーティングシステム 2 プロセス生成手段 3 チェックポイント実行手段 4 リスタート実行手段 5 プロセス識別子マーキング手段 6 プロセス識別子チェック手段 7 プロセス識別子マーキング解除手段 8 プロセス識別子退避手段 9 プロセス識別子復旧手段 101 リスタートファイル 102 プロセス制御テーブル 103 プロセス識別子マッピングテーブル 104 プロセス識別子マッピングファイル 105 プロセス識別子状態変数 106 最大プロセス識別子 107 チェックポイント要求フラグ 1 Basic Operating System 2 Process Generation Means 3 Checkpoint Execution Means 4 Restart Execution Means 5 Process Identifier Marking Means 6 Process Identifier Checking Means 7 Process Identifier Marking Canceling Means 8 Process Identifier Saving Means 9 Process Identifier Restoring Means 101 Restart File 102 Processes Control table 103 Process identifier mapping table 104 Process identifier mapping file 105 Process identifier state variable 106 Maximum process identifier 107 Checkpoint request flag

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 基本オペレーティングシステムが設けら
れ、 中央処理装置割り当ての対象であるプロセスを生成する
プロセス生成手段と、 プロセス実行中にチェックポイント要求を受け付けたと
きにチェックポイント処理を実行するチェックポイント
実行手段と、 その処理を実行するときにプロセスの状態を再度実行可
能な状態にフリーズして保持するリスタートファイル
と、 リスタート要求により前記リスタートファイルに格納さ
れた情報からプロセスの実行を再開するリスタート実行
手段と、 プロセス識別子格納領域を含みプロセスの各種制御情報
を保持するプロセス制御テーブルとを備えたコンピュー
タシステムにおいて、 プロセス識別子のマッピングを行うプロセス識別子マッ
ピングテーブルを設け、 チェックポイント要求を受けたときに前記リスタートフ
ァイルへ必要な情報を格納するとともに、その該当プロ
セスのプロセス識別子を前記プロセス識別子マッピング
テーブル内の該当箇所にマーキングするプロセス識別子
マーキング手段と、 マーキングが行われたプロセス識別子について別のプロ
セス生成手段からの使用要求に対しては使用を禁止する
プロセス識別子チェック手段とを備えたことを特徴とす
るコンピュータシステム。
1. A basic operating system is provided, and a process generation means for generating a process to which a central processing unit is allocated, and a checkpoint execution for executing a checkpoint process when a checkpoint request is accepted during process execution. Means, a restart file that freezes and holds the process state in a re-executable state when executing the processing, and restarts the process execution from the information stored in the restart file by a restart request. In a computer system provided with a restart execution means and a process control table that holds various process control information including a process identifier storage area, a process identifier mapping table for mapping process identifiers is provided to receive checkpoint requests. In this case, the necessary information is stored in the restart file, and the process identifier marking means for marking the process identifier of the corresponding process in the corresponding portion in the process identifier mapping table and the process identifier for which marking has been performed are separated. And a process identifier checking means for prohibiting use of the process requesting means from the process generating means.
【請求項2】 リスタート要求を受けたときに前記リス
タートファイルから必要な情報を再度実行できるように
前記プロセス制御テーブルを確保するとともに、前記リ
スタートファイル内に格納されているプロセス識別子を
前記プロセス制御テーブル内に設定し、前記プロセス識
別子マッピングテーブルの該当箇所のマーキングを解除
するプロセス識別子マーキング解除手段を備えた請求項
1記載のコンピュータシステム。
2. The process control table is secured so that necessary information can be re-executed from the restart file when a restart request is received, and the process identifier stored in the restart file is stored in the process control table. The computer system according to claim 1, further comprising a process identifier marking canceling unit that is set in a process control table and cancels marking of a corresponding portion of the process identifier mapping table.
【請求項3】 前記プロセス識別子マッピングテーブル
を退避させるプロセス識別子マッピングファイルと、 システム終了要求時に、プロセスのチェックポイント要
求を受けたときの次のリスタート時のために必要となっ
た情報が格納されている前記プロセス識別子マッピング
テーブルを前記プロセス識別子マッピングファイルに退
避させるプロセス識別子退避手段と、 次のシステム立ち上げ時に、前記プロセス識別子マッピ
ングファイルの内容を前記プロセス識別子マッピングテ
ーブル内に復旧し、システム再立ち上げ後も前回の前記
リスタートファイルの内容をもとにプロセスの実行再開
をできるようにするプロセス識別子復旧手段とを備えた
請求項1記載のコンピュータシステム。
3. A process identifier mapping file for saving the process identifier mapping table and information required for the next restart when a process checkpoint request is received when a system termination request is stored. And a process identifier saving means for saving the process identifier mapping table in the process identifier mapping file, and at the next system startup, restore the contents of the process identifier mapping file into the process identifier mapping table and restart the system. The computer system according to claim 1, further comprising a process identifier recovery unit that enables execution of a process to be resumed based on the content of the restart file of the previous time even after the raising.
JP3274293A 1991-10-22 1991-10-22 Computer system Pending JPH05113897A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3274293A JPH05113897A (en) 1991-10-22 1991-10-22 Computer system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3274293A JPH05113897A (en) 1991-10-22 1991-10-22 Computer system

Publications (1)

Publication Number Publication Date
JPH05113897A true JPH05113897A (en) 1993-05-07

Family

ID=17539629

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3274293A Pending JPH05113897A (en) 1991-10-22 1991-10-22 Computer system

Country Status (1)

Country Link
JP (1) JPH05113897A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008043284A1 (en) * 2006-10-09 2008-04-17 Huawei Technologies Co., Ltd. Method, system and node device of establishing identifier mapping relationship
JP2009187171A (en) * 2008-02-05 2009-08-20 Nec Corp Checkpoint restart device and checkpoint restart method

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01205343A (en) * 1988-02-12 1989-08-17 Nec Corp System for resuming interruption of process in electronic computer system

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01205343A (en) * 1988-02-12 1989-08-17 Nec Corp System for resuming interruption of process in electronic computer system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008043284A1 (en) * 2006-10-09 2008-04-17 Huawei Technologies Co., Ltd. Method, system and node device of establishing identifier mapping relationship
JP2009187171A (en) * 2008-02-05 2009-08-20 Nec Corp Checkpoint restart device and checkpoint restart method

Similar Documents

Publication Publication Date Title
JPH03278126A (en) Computer system starting system
US6523133B2 (en) Information processing apparatus that can hold internal information
JPS59195749A (en) Non-synchronous check pointing system for recovery of errors
JPH05113897A (en) Computer system
US20020152424A1 (en) Computer system reinitiation method
JPH1124936A (en) Fast restart system of information processor
JPH06231036A (en) Recovery supporting method in shortage of memory
JP2003216449A (en) Patch processing system
CN110597563A (en) Container-based saving and restoring method, system and medium
JP2921480B2 (en) Method of starting maintenance mode in computer system
EP1313013A2 (en) Method and system of file protection
JPS63284617A (en) Automatic restarting method for computer
JP2009075992A (en) Method of collecting memory dump in information processor
JPH0816431A (en) Debugging process system for user program
JPH04218842A (en) Reexecution method for program
JP2500735B2 (en) Checkpoint / restart controller
JPH06202861A (en) Automatic application restarting device
JP2000242550A (en) Method for managing data operation
JPH07271611A (en) Automatic process restarting and processing system
JP2000259452A (en) Method and device for managing storage area
JP3263987B2 (en) Automatic IPL initial setting processing method
JPH11120016A (en) Device performing automatically performing system recovery in case of abnormal end and recording medium
JPH056302A (en) Memory management system
JPH0713862A (en) Starting method for application program
JPS6121532A (en) Scheduling method