JP2860990B2 - Data save / restore method for program re-execution - Google Patents

Data save / restore method for program re-execution

Info

Publication number
JP2860990B2
JP2860990B2 JP63149328A JP14932888A JP2860990B2 JP 2860990 B2 JP2860990 B2 JP 2860990B2 JP 63149328 A JP63149328 A JP 63149328A JP 14932888 A JP14932888 A JP 14932888A JP 2860990 B2 JP2860990 B2 JP 2860990B2
Authority
JP
Japan
Prior art keywords
execution
data
program
area
save
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 - Fee Related
Application number
JP63149328A
Other languages
Japanese (ja)
Other versions
JPH01316827A (en
Inventor
久 中田
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
Nippon Electric Co 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 Nippon Electric Co Ltd filed Critical Nippon Electric Co Ltd
Priority to JP63149328A priority Critical patent/JP2860990B2/en
Publication of JPH01316827A publication Critical patent/JPH01316827A/en
Application granted granted Critical
Publication of JP2860990B2 publication Critical patent/JP2860990B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Retry When Errors Occur (AREA)

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はプログラムの再実行用データ退避/復元方式
に関し、特にコンピュータの実行処理装置において利用
されるプログラムの再実行を行うための再実行用データ
の退避/復元方式に関する。
Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data saving / restoring method for re-executing a program, and more particularly to a re-executing method for re-executing a program used in an execution processing device of a computer. The present invention relates to a data save / restore method.

〔従来の技術〕[Conventional technology]

従来のプログラムの再実行処理における再実行用デー
タの退避/復元方式では、再実行点において実行プログ
ラムの実行に関する全てのデータを退避し、再実行時に
そのデータを復元することによりプログラムを再実行し
ていた。
In the conventional data saving / restoring method for re-execution in the re-execution processing of a program, the program is re-executed by saving all data related to the execution of the execution program at a re-execution point and restoring the data at the time of re-execution. I was

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

上述した従来のプログラムの再実行用データ退避/復
元方式では、再実行点において実行プログラムの実行に
関する全てのデータを退避し再実行時にそのデータを復
元するようになっているので、退避する再実行用データ
の量が増大して退避領域が多く必要になるという欠点が
ある。
In the above-mentioned conventional program re-execution data saving / restoring method, all data related to the execution of the execution program is saved at the re-execution point and the data is restored at the time of re-execution. There is a drawback that the amount of data for use increases and a lot of save areas are required.

また、再実行用データの退避および復元処理に時間が
かかるという欠点がある。
Further, there is a disadvantage that it takes time to save and restore the data for re-execution.

本発明の目的は、上述の点に鑑み、利用者が指定した
再実行に必要な退避用データと実行プログラムの制御デ
ータの内の再実行に必要な最小限の制御データのみを再
実行用データとして退避および復元するようにしたプロ
グラムの再実行用のデータ退避/復元方式を提供するこ
とにある。
In view of the above, an object of the present invention is to provide only the minimum control data necessary for re-execution of the evacuation data and control data of an execution program specified by a user for re-execution data, Another object of the present invention is to provide a data saving / restoring method for re-executing a program which is saved and restored.

〔課題を解決するための手段〕[Means for solving the problem]

本発明のプログラムの再実行用データ退避/復元方式
は、プログラムの実行時に再実行点を設定してこの再実
行点のデータを退避し必要に応じて先に退避したデータ
を復元することによりプログラムを再実行点から再実行
するプログラムの再実行処理方式において、プログラム
の再実行に必要な退避用データを記述する退避用データ
記述を翻訳する退避用データ記述翻訳手段と、この退避
用データ記述翻訳手段による翻訳結果の退避用データを
再実行用データ専用割付領域に割り付ける再実行用デー
タ割付手段と、プログラムの実行を制御する制御データ
の内の再実行に必要な制御データのみを前記再実行用デ
ータ専用割付領域に割り付ける再実行用制御データ選択
割付手段とを持つコンパイラと、プログラムの実行時に
再実行点において前記再実行用データ専用割付領域のデ
ータを退避領域に退避する再実行用データ退避手段と、
プログラムの再実行点からの再実行を行うために前記退
避領域に退避されたデータを前記再実行用データ専用割
付領域に復元する再実行用データ復元手段とを有する。
The data re-saving / restoring method for re-executing a program according to the present invention sets a re-executing point at the time of program execution, saves the data at the re-executing point, and restores the previously saved data as necessary. In a re-execution processing method of a program for re-executing from a re-execution point, a save data description translating means for translating a save data description describing save data required for re-execution of a program, and a save data description translation A re-execution data allocating means for allocating the save data of the translation result by the means to the re-execution data dedicated allocation area, and only the control data necessary for the re-execution of the control data for controlling the execution of the program for the re-execution. A compiler having control data selection and allocation means for re-execution allocated to the data dedicated allocation area, and a And Replay data saving means for saving the data of the re-execution data only allocation area in the save area,
Re-execution data restoring means for restoring the data saved in the save area to the re-execution data dedicated allocation area for re-execution from the re-execution point of the program.

〔作用〕[Action]

本発明のプログラムの再実行用データ退避/復元方式
では、退避用データ記述翻訳手段がプログラムの再実行
に必要な退避用データを記述する退避用データ記述を翻
訳し、再実行用データ割付手段が退避用データ記述翻訳
手段による翻訳結果の退避用のデータを再実行用データ
専用割付領域に割り付し、再実行用制御データ選択割付
手段がプログラムの実行を制御する制御データの内の再
実行に必要な制御データのみを再実行用データ専用割付
領域に割り付け、再実行用データ退避手段がプログラム
の実行時に再実行点において再実行用データ専用割付領
域のデータを退避領域に退避し、再実行用データ復元手
段がプログラムの再実行点からの再実行を行うために退
避領域に退避されたデータを再実行用データ専用割付領
域に復元する。
In the re-execution data saving / restoring method for a program according to the present invention, the evacuation data description translating means translates the evacuation data description describing the evacuation data necessary for re-executing the program, and the The data for evacuation of the translation result by the evacuation data description translating means is allocated to the re-execution data dedicated allocation area, and the re-execution control data selection allocation means is used for re-execution of the control data for controlling the execution of the program. Only the necessary control data is allocated to the re-execution data dedicated allocation area, and the re-execution data saving means saves the data in the re-execution data dedicated allocation area to the save area at the re-execution point when executing the program, and The data restoring means restores the data saved in the save area in order to execute the program again from the re-execution point in the dedicated data area for re-execution.

〔実施例〕〔Example〕

次に、本発明についてい図面を参照して詳細に説明す
る。
Next, the present invention will be described in detail with reference to the drawings.

第1図は、本発明の一実施例のプログラムの再実行用
データ退避/復元方式の構成を示すブロック図である。
本実施例のプログラムの再実行用データ退避/復元方式
は、コンパイラ1と、実行プログラム5と、OS(オペレ
ーティングシステム)モニタ8と、退避領域14と、ソー
スプログラム15とから、その主要部が構成されている。
FIG. 1 is a block diagram showing a configuration of a program re-execution data saving / restoring method according to an embodiment of the present invention.
The data resaving / restoring method for re-executing a program according to the present embodiment includes a compiler 1, an execution program 5, an OS (operating system) monitor 8, a save area 14, and a source program 15, the main part of which is constituted. Have been.

コンパイラ1は、退避用データ記述翻訳手段2と、再
実行用データ割付手段3と、再実行用制御データ選択割
付手段4とを含み、ソースプログラム15を読み込み、実
行プログラム5を作成し、実行プログラム5の再実行に
必要なデータを再実行用データ専用割付領域11の再実行
用データ領域12および再実行用制御データ領域13に割り
付ける。
The compiler 1 includes a save data description translating means 2, a re-execution data allocating means 3, and a re-execution control data selection allocating means 4, reads a source program 15, creates an execution program 5, and executes an execution program. Data necessary for the re-execution of Step 5 is allocated to the re-execution data area 12 and the re-execution control data area 13 of the re-execution data dedicated allocation area 11.

実行プログラム5は、再実行用データ領域12および再
実行用制御データ領域13からなる再実行用データ専用割
付領域11と、再実行点6と、再実行要求7とを含んでい
る。
The execution program 5 includes a re-execution data dedicated allocation area 11 composed of a re-execution data area 12 and a re-execution control data area 13, a re-execution point 6, and a re-execution request 7.

OSモニタ8は、再実行用データ退避手段9と、再実行
用データ復元手段10とを含み、実行プログラム5の再実
行点6および再実行要求7の実行に基づいて再実行用デ
ータ専用割付領域11および退避領域14を使用して実行プ
ログラム5の再実行用データの退避および復元ならびに
実行プログラム5の再実行を行う。
The OS monitor 8 includes a re-execution data saving unit 9 and a re-execution data restoring unit 10, and based on the re-execution point 6 of the execution program 5 and the execution of the re-execution request 7, the re-execution data dedicated allocation area. The saving and restoring of the data for re-execution of the execution program 5 and the re-execution of the execution program 5 are performed using the save area 11 and the save area 14.

次に、このように構成された本実施例のプログラムの
再実行用データ退避/復元方式の動作について説明す
る。
Next, the operation of the data resaving / restoring method for re-executing the program of the present embodiment configured as described above will be described.

コンパイラ1は、ソースプログラム15を読み込み、利
用者に実行プログラム5の再実行に必要な退避データを
記述するための言語仕様としてあらかじめ提供されてい
る退避用データ記述があると、退避用データ記述翻訳手
段2を呼ぶ。
The compiler 1 reads the source program 15 and, if there is a save data description provided in advance as a language specification for describing save data necessary for re-executing the execution program 5 to the user, translates the save data description. Means 2 is called.

退避用データ記述翻訳手段2は、ソースプログラム15
内の退避用データ記述を解析し、翻訳処理を行い、再実
行用データ割付手段3を呼ぶ。
The evacuation data description translating means 2 includes a source program 15
The evacuation data description is analyzed, translation processing is performed, and the re-execution data allocation means 3 is called.

再実行用データ割付手段3は、退避用データ記述翻訳
手段2の翻訳結果である退避用データを再実行用データ
専用割付領域11内の再実行用データ領域12にまとめ上げ
て割り付け、再実行用制御データ選択割付手段4を呼
ぶ。
The re-execution data allocating means 3 collectively allocates the evacuation data, which is the translation result of the evacuation data description translating means 2, to the re-execution data area 12 in the re-execution data dedicated allocation area 11, and The control data selection allocating means 4 is called.

再実行用制御データ選択割付手段4は、実行プログラ
ム5の実行を制御する制御データの内の再実行に必要な
制御データのみを選択し、再実行用データ専用割付領域
11内の再実行用制御データ領域13にまとめ上げて割り付
ける。
The re-execution control data selection allocating means 4 selects only the control data necessary for re-execution from among the control data for controlling the execution of the execution program 5, and allocates only the re-execution data dedicated area.
The data is collectively allocated to the re-execution control data area 13 in the area 11.

コンパイラ1は、上記翻訳処理により実行プログラム
5を作成する。
The compiler 1 creates the execution program 5 by the translation processing.

実行プログラム5の実行において再実行点6を実行す
ると、OSモニタ8内の再実行用データ退避手段9が呼ば
れる。
When the re-execution point 6 is executed in the execution of the execution program 5, the re-execution data saving means 9 in the OS monitor 8 is called.

再実行用データ退避手段9は、再実行用データ専用割
付領域11内の全ての再実行用データを読み込んでオペレ
ーティングシステム(図示せず)が用意した退避領域14
に格納した後に、再実行点6の次の命令に制御を戻して
実行プログラム5の処理を続行する。
The re-execution data saving means 9 reads all the re-execution data in the re-execution data dedicated allocation area 11 and saves the saving area 14 prepared by the operating system (not shown).
After that, control is returned to the next instruction after the re-execution point 6, and the processing of the execution program 5 is continued.

実行プログラム5の実行中に実行プログラム5の再実
行が必要になった場合には、再実行要求7が行われる。
When it is necessary to re-execute the execution program 5 during execution of the execution program 5, a re-execution request 7 is performed.

再実行要求7によりOSモニタ8内の再実行用データ復
元手段10が呼ばれる。
The re-execution request 7 calls the re-execution data restoration means 10 in the OS monitor 8.

再実行用データ復元手段10は、退避領域14内の全ての
再実行用データを読み込んで再実行用データ専用割付領
域11に書き戻し、制御を実行プログラム5の再実行点6
の次の命令に戻し、再実行用データ専用割付領域11に復
元された再実行用データを使用して実行プログラム5を
再実行点6の次の命令から再実行する。
The re-execution data restoring means 10 reads all the re-execution data in the save area 14, writes it back to the re-execution data dedicated allocation area 11, and controls the execution program 5 at the re-execution point 6.
Then, the execution program 5 is re-executed from the instruction next to the re-execution point 6 by using the re-execution data restored in the re-execution data dedicated allocation area 11.

〔発明の効果〕〔The invention's effect〕

以上説明したように本発明は、利用者が指定した再実
行に必要な退避用データおよび実行プログラムの制御デ
ータの内の再実行に必要な最小限の制御データのみを再
実行用データとして退避および復元することにより、再
実行に必要な退避データの量を少なくすることができ、
退避領域ならびに退避および復元処理時間を少なくする
ことができる効果がある。
As described above, the present invention saves only the minimum control data necessary for re-execution among the save data required for re-execution specified by the user and the control data of the execution program as the re-execution data. By restoring, the amount of saved data required for re-execution can be reduced,
There is an effect that the save area and the save and restore processing time can be reduced.

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

第1図は本発明の一実施例のプログラムの再実行用デー
タ退避/復元方式の構成を示すブロック図である。 図において、 1……コンパイラ、 2……退避用データ記述翻訳手段、 3……再実行用データ割付手段、 4……再実行用制御データ選択割付手段、 5……実行プログラム、 6……再実行点、 7……再実行要求、 8……OSモニタ、 9……再実行用データ退避手段、 10……再実行用データ復元手段、 11……再実行用データ専用割付領域、 12……再実行用データ領域、 13……再実行用制御データ領域、 14……退避領域、 15……ソースプログラムである。
FIG. 1 is a block diagram showing a configuration of a data re-saving / restoring method for re-executing a program according to an embodiment of the present invention. In the figure, 1... Compiler, 2... Save data description translating means, 3... Re-execution data allocation means, 4... Re-execution control data selection and allocation means, 5... Execution program, 6. Execution point, 7 ... re-execution request, 8 ... OS monitor, 9 ... re-execution data saving means, 10 ... re-execution data restoration means, 11 ... re-execution data dedicated allocation area, 12 ... Data area for re-execution, 13 ... Control data area for re-execution, 14 ... Save area, 15 ... Source program.

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】プログラムの実行時に再実行点を設定して
この再実行点のデータを退避し必要に応じて先に退避し
たデータを復元することによりプログラムを再実行点か
ら再実行するプログラムの再実行処理方式において、 プログラムの再実行に必要な退避用データを記述する退
避用データ記述を翻訳する退避用データ記述翻訳手段
と、この退避用データ記述翻訳手段による翻訳結果の退
避用データを再実行用データ専用割付領域に割り付ける
再実行用データ割付手段と、プログラムの実行を制御す
る制御データの内の再実行に必要な制御データのみを前
記再実行用データ専用割付領域に割り付ける再実行用制
御データ選択割付手段とを持つコンパイラと、 プログラムの実行時に再実行点において前記再実行用デ
ータ専用割付領域のデータを退避領域に退避する再実行
用データ退避手段と、 プログラムの再実行点からの再実行を行うために前記退
避領域に退避されたデータを前記再実行用データ専用割
付領域に復元する再実行用データ復元手段と を有することを特徴とするプログラムの再実行用データ
退避/復元方式。
A program for re-executing a program from a re-execution point by setting a re-execution point when executing the program, saving the data at the re-execution point, and restoring the previously saved data as needed. In the re-execution processing method, an evacuation data description translating means for translating evacuation data description describing evacuation data necessary for re-execution of a program, and evacuation data of a translation result by the evacuation data description translating means are regenerated. Re-execution data allocating means for allocating to the dedicated data for execution area, and re-execution control for allocating only control data necessary for re-execution of control data for controlling execution of the program to the dedicated data for re-execution area A compiler having a data selection allocating means; and Re-execution data saving means for saving in the save area, and re-execution data for restoring data saved in the save area to the re-execution data dedicated allocation area for re-execution from the re-execution point of the program And a restoring unit. A data save / restore method for re-executing a program, comprising:
JP63149328A 1988-06-17 1988-06-17 Data save / restore method for program re-execution Expired - Fee Related JP2860990B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63149328A JP2860990B2 (en) 1988-06-17 1988-06-17 Data save / restore method for program re-execution

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63149328A JP2860990B2 (en) 1988-06-17 1988-06-17 Data save / restore method for program re-execution

Publications (2)

Publication Number Publication Date
JPH01316827A JPH01316827A (en) 1989-12-21
JP2860990B2 true JP2860990B2 (en) 1999-02-24

Family

ID=15472710

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63149328A Expired - Fee Related JP2860990B2 (en) 1988-06-17 1988-06-17 Data save / restore method for program re-execution

Country Status (1)

Country Link
JP (1) JP2860990B2 (en)

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62133535A (en) * 1985-12-05 1987-06-16 Nec Corp Program check point processing system

Also Published As

Publication number Publication date
JPH01316827A (en) 1989-12-21

Similar Documents

Publication Publication Date Title
JP2860990B2 (en) Data save / restore method for program re-execution
JPH10187616A (en) State recording and reproducing method, computer system realising the same method, and memory device where the same method is programmed and stored
JP2836468B2 (en) Cooperative scheduling method for parallel jobs
JPS59180744A (en) System for managing working area of reentrant program
JPH04213733A (en) Virtual processor system
JPH01121932A (en) Program loading system
JPS62125437A (en) Control method for additional processor
JP2790472B2 (en) Multiple conversation processing control method
JPH0248766A (en) Processor interface controlling system
JPH03196228A (en) Saving/restoring system for re-execution data
JPH02253336A (en) Program starting system
Holm Real Time Programming in a Data Acquisition and Data Analysis System
JPH04346136A (en) Virtual instruction processor structure control method
JPH064306A (en) Method for dividing interruption processing
JPS60167037A (en) Emulation system
JPS62108335A (en) Input/output operation controlling system
JPS6121532A (en) Scheduling method
JPH0358116A (en) Computer input system
JPS6191742A (en) Swap area control system
JPS63311542A (en) Page fault control system in trace processing
JPS62232051A (en) Data saving and restoring system
JPH04155532A (en) Task switching system
JPH01185733A (en) Input/output emulation system
JPS6048559A (en) Initial program loading processor
JPS62171040A (en) Instruction reexecuting device

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees